/* Customer shopping flow: flatter, denser cards inspired by the supplied mobile references. */
.customer-mobile-nav{display:none}
.customer-mobile-nav .ui-icon{display:block;margin:auto;width:21px;height:21px}
.customer-mobile-nav button[aria-current="page"]>span{display:grid;place-items:center}
.customer-mobile-nav button:active,.customer-more-menu button:active{transform:scale(.98)}
.cart-back-btn,.cart-close-btn,.product-detail-close,.product-detail-cart{min-width:44px;min-height:44px;display:inline-grid;place-items:center}
.cart-item-select{min-width:44px}
.cart-item-select input,.cart-select-all input{min-width:20px;min-height:20px}
.shopping-orders-panel .customer-order-card{animation:ui-enter .22s ease both}
.shopping-orders-panel .customer-order-card:nth-child(2){animation-delay:45ms}
.shopping-orders-panel .customer-order-card:nth-child(3){animation-delay:90ms}
@keyframes ui-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.customer-orders-skeleton{display:grid;gap:10px;padding:2px 0 12px}
.customer-orders-skeleton>div{height:112px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:#f0ebf3;position:relative;overflow:hidden}
.customer-orders-skeleton>div::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#fff9,transparent);animation:ui-shimmer 1.25s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.shopping-orders-panel .customer-order-card{animation:none}}
.customer-more-menu,.customer-more-backdrop{display:none}
.customer-more-menu[hidden],.customer-more-backdrop[hidden]{display:none!important}
#page-packages .pkg-badge{background:#5a3574!important;color:#fff}
@media(max-width:900px){
  #navShoppingButton{display:none}
  body[data-customer-page="checkout"] #navShoppingButton{display:inline-flex}
  /* left buttons · DIY · right buttons: equal side columns keep DIY in the middle (guests have no Cart) */
  .customer-mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:210;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,2fr);background:#fff;border-top:1px solid #e9e2ee;padding:7px 4px max(7px,env(safe-area-inset-bottom))}
  .customer-mobile-nav .mnav-side{display:flex;min-width:0}
  .customer-mobile-nav .mnav-side>button{flex:1 1 0;min-width:0}
  /* signed out (no Cart): drop Shop too, so it is Home · DIY · More, one on each side (Shop stays in More) */
  body.is-guest .customer-mobile-nav [data-mobile-destination="shop"]{display:none}
  body[data-customer-page="checkout"] .customer-mobile-nav,body[data-customer-page="invoice"] .customer-mobile-nav{display:none}
  .customer-mobile-nav button{border:0;background:transparent;color:#6d5d79;font:600 .66rem 'DM Sans',sans-serif;min-width:50px;display:grid;justify-items:center;gap:2px;padding:3px}
  .customer-mobile-nav button span{font-size:1.3rem;line-height:1.1}
  .customer-mobile-nav button[aria-current="page"]{color:#4e307c;font-weight:700}
  .customer-mobile-nav button[aria-current="page"] span{background:#f0e8fa;border-radius:10px}
  .customer-mobile-nav button{min-height:49px;min-width:56px}
  .customer-mobile-nav button>span{min-width:32px;min-height:25px;position:relative}
  #mobileCartCount{position:absolute;top:-5px;right:-8px;min-width:16px;min-height:16px;border-radius:999px;background:#5c387f;color:#fff;font:700 .57rem 'DM Sans',sans-serif;display:grid;place-items:center;padding:1px 3px}
  #mobileCartCount[hidden]{display:none}
  .customer-more-backdrop{display:block;position:fixed;inset:0;background:rgba(28,17,43,.35);z-index:211}
  nav.customer-more-menu{position:fixed;top:auto;left:12px;right:12px;bottom:calc(64px + env(safe-area-inset-bottom));width:auto;height:auto;z-index:212;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#fff;border:1px solid #e9e2ee;border-radius:16px;padding:14px;box-shadow:0 14px 45px rgba(35,19,50,.18)}
  .customer-more-menu .customer-more-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin:0 0 4px;color:#28163c}
  .customer-more-menu button{min-height:44px;text-align:left;border:1px solid #e9e2ee;border-radius:9px;background:#faf8fc;color:#402459;padding:10px 13px;font:600 .87rem 'DM Sans',sans-serif}
  .customer-more-menu .customer-more-heading button{min-height:32px;border:0;background:transparent;font-size:1.4rem;padding:0 8px}
  body[data-customer-page="packages"],body[data-customer-page="gallery"]{padding-bottom:70px}
}
.product-card{border:1px solid #e9e2ee;border-radius:14px;box-shadow:none;transition:border-color .18s ease,transform .18s ease}
.product-card:hover{transform:translateY(-2px);box-shadow:none;border-color:#bca5d5}
.product-name{font-family:'DM Sans',sans-serif;font-size:.96rem}
.product-detail-link{display:block;border:0;background:transparent;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.product-detail-link:hover,.product-detail-link:focus-visible{text-decoration:underline;text-underline-offset:3px}
.product-price{font-size:1.06rem;color:#38204d}
.add-btn{border-radius:10px;width:36px;height:36px;transform:none;box-shadow:none}
.add-btn:hover{transform:none}
.cart-drawer{width:min(480px,100vw)}
.nav-shopping-btn{position:relative;display:inline-flex;align-items:center;gap:8px}
.nav-shopping-btn .cart-badge{position:static;display:inline-grid;place-items:center;min-width:18px;height:18px;width:auto;padding:0 4px;font-size:.65rem}
.nav-shopping-btn .cart-badge[hidden]{display:none}
.cart-item-select input:focus-visible,.cart-select-all input:focus-visible{outline:2px solid #6545a3;outline-offset:2px}
.shopping-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.shopping-cart-panel{padding:16px 0 12px}
.shopping-scroll .cart-items-list{flex:none;overflow:visible;padding:8px 16px 0}
.shopping-section-title{font:700 1rem 'DM Sans',sans-serif;color:#322044;margin:0 16px 6px}
.shopping-orders-panel{border-top:1px solid #e9e2ee;padding:18px 16px 28px}
.shopping-orders-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:14px}
.shopping-orders-heading .shopping-section-title{margin:0 0 4px}
.shopping-orders-heading p{font-size:.74rem;line-height:1.4;color:#81738b;margin:0}
.shopping-orders-heading .customer-orders-toggle{padding:3px 0}
.shopping-orders-panel .customer-orders-list{gap:10px}
.shopping-orders-panel .customer-order-card{padding:14px}
.shopping-orders-panel .customer-order-bottom{flex-wrap:wrap;gap:10px}
.shopping-orders-panel .customer-order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
.shopping-orders-panel .customer-order-actions .btn-primary{grid-column:1/-1;text-align:center}
.shopping-orders-panel .customer-order-actions .btn-outline,.shopping-orders-panel .customer-order-cancel{text-align:center}
.cart-select-all{display:flex;align-items:center;gap:9px;padding:12px 22px 8px;color:#39234e;font:700 .82rem 'DM Sans',sans-serif;cursor:pointer}
.cart-select-all[hidden]{display:none}
.cart-select-all span{margin-left:auto;color:#82728c;font-size:.73rem;font-weight:500}
.cart-item-select{display:grid;place-items:center;align-self:stretch;cursor:pointer}
.cart-item-select input,.cart-select-all input{width:18px;height:18px;accent-color:#6545a3;cursor:pointer}
.cart-drawer-footer .btn-primary:disabled{opacity:.5;cursor:not-allowed}
.cart-drawer-header{gap:13px}
.cart-back-btn{border:0;background:transparent;color:#493073;font-size:1.55rem;line-height:1;cursor:pointer}
.cart-header-count{font-size:.75rem;color:#82728c;margin-left:auto}
.cart-item{border:1px solid #e6dfeb;border-radius:12px;padding:14px;margin:0 0 12px;align-items:flex-start}
.cart-item-emoji{height:90px;width:90px;border-radius:9px}
.cart-item-name{font-family:'DM Sans',sans-serif;font-size:.92rem;white-space:normal;line-height:1.35}
.cart-item-sub{font-size:.78rem;line-height:1.45;margin-top:5px}
.cart-item-price{color:#38204d;font-size:.95rem}
.cart-item-remove{font-family:'DM Sans',sans-serif;font-size:.76rem;color:#74657d;text-decoration:underline;text-underline-offset:2px}
.cart-qty-ctrl{gap:0}
.qty-btn{width:31px;height:31px;border-radius:0;border-color:#dcd4e5}
.cart-qty-ctrl .qty-btn:first-child{border-radius:7px 0 0 7px}
.cart-qty-ctrl .qty-btn:last-child{border-radius:0 7px 7px 0}
.qty-num{min-width:34px;height:31px;display:grid;place-items:center;border-top:1px solid #dcd4e5;border-bottom:1px solid #dcd4e5}
.cart-subtotal{align-items:baseline}
.cart-drawer-footer .btn-primary{border-radius:10px;box-shadow:none}
.checkout-wrap{max-width:790px}
.checkout-layout{display:block}
.checkout-form-box{padding:25px 28px}
.checkout-summary-box{position:static;margin:25px 0;padding:20px;box-shadow:none}
.checkout-account-email{font-size:.8rem;color:#776985;margin:-6px 0 20px}
.checkout-order-item{align-items:center;gap:13px;padding:13px 0}
.checkout-order-image{display:grid;place-items:center;width:64px;height:64px;border-radius:9px;overflow:hidden;background:#f7f2fa;flex:none;font-size:1.8rem}
.checkout-order-image img{width:100%;height:100%;object-fit:cover}
.checkout-order-item-name{min-width:0;display:grid;gap:5px;line-height:1.3}
.checkout-order-item-name strong{font-size:.88rem}
.checkout-order-item-name small{font-size:.75rem;color:#796b86;line-height:1.4}
.checkout-order-item-price{font-size:.89rem;color:#38204d}
.checkout-due-row{font-weight:700;color:#493073}
.checkout-actions{border-top:1px solid #e9e2ee;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.checkout-pay-now{display:grid;gap:2px;color:#493073}
.checkout-pay-now small{font-size:.68rem;color:#81738b}
.checkout-pay-now strong{font-size:1.27rem;white-space:nowrap}
.checkout-actions .co-submit-btn{width:auto;min-width:190px;margin:0}
.co-back-btn{margin-top:12px}
.co-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#checkoutPaymentMethods{grid-template-columns:repeat(3,minmax(0,1fr))}
.co-option{min-height:58px;flex-direction:row;justify-content:center;gap:9px;text-align:left}
.co-option-icon{font-size:1.15rem}
.co-datetime-row{grid-template-columns:1fr}
.product-detail-dialog{width:min(640px,calc(100vw - 24px));max-height:min(92vh,900px);border:1px solid #e2d9eb;border-radius:16px;padding:0;background:#fff;color:#2d1e40;box-shadow:0 16px 55px #2b18382b;overflow:auto}
.product-detail-dialog::backdrop{background:#24172e99}
.product-detail-header{position:sticky;top:0;z-index:2;background:#fff;display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid #eee8f2;font-size:.92rem;font-weight:700}
.product-detail-close,.product-detail-cart{border:0;background:transparent;color:#4e307c;cursor:pointer;font-size:1.35rem}
.product-detail-cart{margin-left:auto;font-size:1.1rem}
.product-detail-image{height:min(340px,42vh);background:#f7f4f8;display:grid;place-items:center;overflow:hidden}
.product-detail-image img{width:100%;height:100%;object-fit:cover}
.product-detail-emoji{font-size:5rem}
.product-detail-body{padding:21px 24px 12px}
.product-detail-heading{display:flex;justify-content:space-between;gap:10px;align-items:start}
.product-detail-heading h2{font:700 1.35rem 'DM Sans',sans-serif;margin:0}
.product-detail-heading strong{font-size:1.13rem;color:#493073;white-space:nowrap}
.product-detail-body p{font-size:.86rem;line-height:1.55;color:#6e607a;margin:8px 0 18px}
.product-detail-body label{display:block;font-size:.78rem;font-weight:700;margin:17px 0 7px}
.product-detail-select{width:100%;border:1px solid #dcd3e8;background:#fff;border-radius:9px;padding:11px;color:#38204d;font:inherit}
.product-detail-quantity{display:flex;align-items:center;justify-content:space-between;margin:20px 0}
.product-detail-quantity span{font-size:.83rem;font-weight:700}
.product-detail-body .product-detail-description{border-top:1px solid #eee8f2;padding-top:17px;margin-bottom:3px}
.product-detail-footer{position:sticky;bottom:0;display:flex;gap:10px;background:#fff;padding:13px 24px;border-top:1px solid #eee8f2}
.product-detail-footer button{flex:1;border-radius:9px;box-shadow:none}
@media(max-width:700px){
  body{background:#fff}
  #page-shop .shop-carousel{display:none}
  #page-shop .shop-wrapper{display:flex;flex-direction:column;gap:12px;padding:84px 16px 80px}
  #page-shop .shop-wrapper>div{display:contents}
  #page-shop .shop-search-wrap{order:1}
  #page-shop .sidebar{order:2;margin:0;padding:0}
  #page-shop .products-top{order:3}
  #page-shop .products-grid{order:4}
  #page-shop .shop-wrapper>div>div:last-child{order:5}
  #page-shop .sidebar{width:100%;padding:0;background:transparent;border:0;margin:0 0 17px}
  #page-shop .sidebar-section{margin:0}
  #page-shop .sidebar-section:not(:first-child){display:none}
  #page-shop .sidebar-title{display:none}
  #page-shop .filter-list{display:flex;flex-direction:row;gap:7px;overflow-x:auto;padding:0 0 7px;scrollbar-width:none}
  #page-shop .filter-list li{flex:none;list-style:none}
  #page-shop .filter-item{white-space:nowrap;border:1px solid #e4daee;border-radius:999px;padding:8px 11px;font-size:.75rem;background:#fff}
  #page-shop .filter-item.active{background:#efe6fa;color:#4e307c;border-color:#d5c4e9}
  .shop-search-wrap{margin-bottom:15px}
  .shop-search-wrap label{font-size:1.35rem;color:#28163c;margin-bottom:11px}
  .shop-search-line{min-height:46px}
  .products-top{margin:0 0 4px}
  .products-grid{display:grid;grid-template-columns:1fr;gap:9px}
  .product-card{display:grid;grid-template-columns:106px minmax(0,1fr);min-height:116px;border-radius:11px}
  .product-img{height:100%;min-height:116px;aspect-ratio:auto}
  .product-info{padding:11px 12px}
  .product-name{font-size:.85rem;line-height:1.25;margin:0 0 4px}
  .product-desc{font-size:.72rem;margin:0 0 6px;line-height:1.35}
  .product-badge{font-size:.48rem;top:5px;right:5px}
  .size-select{max-width:100%;font-size:.68rem}
  .product-footer{margin-top:7px}
  .product-price{font-size:.94rem}
  .cart-drawer{width:100vw;height:100dvh}
  .cart-drawer-header{padding:16px}
  .cart-close-btn{display:none}
  .cart-items-list{padding:16px;min-height:0}
  .cart-item-emoji{height:86px;width:86px}
  .cart-drawer-footer[style*="display: block"]{padding:14px 16px max(14px,env(safe-area-inset-bottom));display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:3px 12px}
  .cart-drawer-footer .cart-subtotal{display:grid;gap:2px;margin:0}
  .cart-drawer-footer .cart-subtotal span:first-child{font-size:.74rem;font-weight:400;color:#7c6c87}
  .cart-drawer-footer .cart-subtotal span:last-child{font-size:1.2rem}
  .cart-drawer-footer .cart-note{grid-column:1/-1;grid-row:2;margin:0;font-size:.68rem}
  .cart-drawer-footer .btn-primary{grid-column:2;grid-row:1;width:auto!important;padding:12px 16px;font-size:.76rem}
  .checkout-wrap{padding:88px 14px 100px}
  .checkout-title{font-size:1.55rem}
  .checkout-intro{font-size:.8rem}
  .checkout-form-box{border:0;padding:0;border-radius:0}
  .checkout-section-head{font-size:1rem}
  .checkout-summary-box{padding:15px;border-radius:11px;margin:20px 0}
  .co-field-group{margin-bottom:19px}
  .co-label{font-size:.77rem;letter-spacing:0;text-transform:none;color:#31203e}
  .co-input,.co-datetime-btn{min-height:46px}
  .checkout-actions{position:sticky;bottom:0;z-index:10;background:#fff;margin:12px -14px 0;padding:12px 14px max(12px,env(safe-area-inset-bottom));box-shadow:0 -5px 17px #2b18380d}
  .checkout-actions .co-submit-btn{min-width:150px;font-size:.76rem;padding:13px 11px}
  .checkout-pay-now strong{font-size:1.1rem}
  .product-detail-dialog{inset:0;width:100vw;min-width:100vw;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;box-sizing:border-box;overflow-y:auto}
  .product-detail-image{height:min(42vh,370px)}
  .product-detail-footer{padding-bottom:max(13px,env(safe-area-inset-bottom))}
  .product-detail-footer button{text-transform:none;font-size:.88rem;white-space:nowrap}
}

/* One compact customer language across browsing, cart, checkout and account. */
.customer-order-card{box-shadow:none;border-color:#e8e2ee;border-radius:12px}
.customer-order-card .customer-order-actions .btn-primary,.customer-order-card .customer-order-actions button{min-height:42px}
.customer-order-more{border-top:1px solid #ece7f1;margin-top:14px;padding-top:10px}
.auth-card{background:#fff}
.auth-input{border-radius:9px;background:#fff}
.auth-btn{border-radius:10px;box-shadow:none;min-height:46px}
@media(max-width:900px){
  body[data-customer-page="home"],body[data-customer-page="shop"],body[data-customer-page="orders"],body[data-customer-page="login"],body[data-customer-page="register"]{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  .customer-mobile-nav{backdrop-filter:blur(12px)}
  .customer-mobile-nav button:focus-visible,.customer-more-menu button:focus-visible{outline:2px solid #6545a3;outline-offset:2px}
  .customer-order-card{padding:15px}
  .customer-orders-wrap{padding-bottom:90px}
  .auth-form-side{min-height:calc(100dvh - 70px);padding:82px 20px 94px}
  .auth-card{max-width:430px}
}
@media(max-width:700px){
  .cart-item{gap:9px;padding:11px}
  .cart-item-emoji{width:68px;height:68px}
  .shopping-orders-panel .customer-order-actions a,.shopping-orders-panel .customer-order-actions button{min-height:38px}
}
@media(max-width:700px){
  .customer-mobile-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .customer-orders-wrap{padding-top:86px}
  .customer-orders-heading{margin-bottom:16px}
  .customer-orders-heading h1{font-family:'DM Sans',sans-serif;font-size:1.5rem}
  .customer-orders-heading p{margin:5px 0 0}
  .customer-orders-tools{gap:12px}
  .customer-order-card{padding:15px;border-radius:11px}
  .customer-order-card .customer-order-bottom{gap:12px}
  .customer-order-card .customer-order-actions{width:100%}
  .customer-order-card .customer-order-actions .btn-primary{flex:1;justify-content:center;text-align:center}
  .cart-drawer{box-shadow:none}
  .cart-item{border-radius:10px;gap:12px;padding:11px}
  .cart-item-emoji{width:76px;height:76px;flex:none}
  .cart-item-info{min-width:0}
  .cart-item-remove{min-height:31px}
  .cart-drawer-footer .btn-primary{min-height:45px}
  #page-shop .shop-wrapper{padding-top:80px}
  #page-shop .product-card{border-radius:10px}
  #page-shop .add-btn{min-width:40px;min-height:40px}
  .checkout-wrap{padding:82px 14px 22px}
  .checkout-wrap>.breadcrumb{display:block;margin-bottom:12px;font-size:.78rem}
  .checkout-title{font-family:'DM Sans',sans-serif;font-size:1.45rem}
  .checkout-intro{margin-bottom:18px}
  .checkout-form-box{padding:0}
  .checkout-section-head{margin:20px 0 13px}
  .checkout-summary-box{border-color:#e8e2ee;background:#faf8fc;margin:20px 0}
  .co-field-group{margin-bottom:16px}
  .co-input,.co-datetime-btn,.co-option{font-size:1rem;min-height:48px}
  .co-option{padding:11px}
  .co-payment-hint{font-size:.78rem}
  .checkout-actions{bottom:0;margin:18px -14px 0;padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .checkout-pay-now small{font-size:.72rem}
  .checkout-actions .co-submit-btn{min-height:46px;min-width:155px;font-size:.83rem}
  .co-back-btn{display:block;width:100%;min-height:44px;margin:12px 0 0}
  .product-detail-dialog{box-shadow:none}
  .product-detail-footer button{min-height:48px}
}
.customer-chat-shortcut{position:fixed;right:22px;bottom:22px;z-index:190;display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 17px;border:1px solid #7450c8;border-radius:24px;background:#7450c8;color:white;text-decoration:none;font:700 13px 'DM Sans',sans-serif;box-shadow:0 5px 16px #241a3822}.customer-chat-shortcut:hover{background:#6240b0}.customer-chat-shortcut:focus-visible{outline:3px solid #9272db;outline-offset:3px}@media(max-width:700px){.customer-chat-shortcut{right:14px;bottom:calc(76px + env(safe-area-inset-bottom));padding:9px 12px;min-height:42px}body:has(#page-checkout.active) .customer-chat-shortcut{bottom:calc(95px + env(safe-area-inset-bottom))}}

/* Predictable navigation and finger-sized controls throughout the customer flow. */
.checkout-back-link{display:inline-flex;align-items:center;min-height:44px;margin:0 0 12px;padding:4px 10px 4px 0;border:0;background:transparent;color:#573587;font:700 .84rem 'DM Sans',sans-serif;cursor:pointer}
.checkout-back-link:hover{text-decoration:underline;text-underline-offset:3px}
.checkout-back-link:focus-visible,.cart-back-btn:focus-visible,.dt-modal-back:focus-visible{outline:3px solid #a482d1;outline-offset:2px}
.cart-back-btn,.product-detail-close,.product-detail-cart{display:inline-grid;place-items:center;flex:none;min-width:44px;min-height:44px;border-radius:9px}
.cart-back-btn:hover,.product-detail-close:hover,.product-detail-cart:hover{background:#f2edf8}
.cart-item-select{min-width:44px;min-height:44px;margin:-8px -5px -8px -8px}
.cart-select-all{min-height:44px}
.cart-qty-ctrl .qty-btn{min-width:42px;min-height:42px}
.cart-qty-ctrl .qty-num{height:42px}
.cart-item-remove{min-height:44px;padding:8px 4px;border-radius:6px}
.dt-modal-heading{display:flex;align-items:center;gap:8px;margin:-8px 0 8px}
.dt-modal-heading .dt-modal-title{flex:1;text-align:left;margin:0}
.dt-modal-back{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:9px;background:transparent;color:#573587;font:700 1.35rem 'DM Sans',sans-serif;cursor:pointer}
.dt-modal-back:hover{background:#f2edf8}
.dt-cal-nav,.dt-btn-cancel,.dt-btn-confirm,.dt-slot{min-height:44px}
.dt-legend-closed{background:#777089}
.shopping-orders-heading .customer-orders-toggle{min-height:44px;padding:8px 6px}
.customer-review-cta{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.co-option{font-family:'DM Sans',sans-serif;cursor:pointer}
@media(max-width:700px){
  .checkout-wrap>.breadcrumb{display:none}
  .checkout-back-link{margin-bottom:6px}
  .dt-modal{width:100vw;max-height:100dvh;overflow-y:auto;border-radius:0;padding:16px 16px max(18px,env(safe-area-inset-bottom))}
  .dt-modal-heading{position:sticky;top:-16px;z-index:3;background:#fff;padding:7px 0}
  .dt-modal-heading .dt-modal-title{font:700 1.1rem 'DM Sans',sans-serif}
  .shopping-orders-panel .customer-order-actions a,.shopping-orders-panel .customer-order-actions button{min-height:44px}
  .customer-more-menu .customer-more-heading button{min-width:44px;min-height:44px}
}
/* Storefront skeletons use the same responsive containers as the real content. */
#productsGrid .product-card-skeleton{pointer-events:none}#productsGrid .product-card-skeleton .product-img{padding:0!important;aspect-ratio:4/3;height:auto;background:#eee8f2}#productsGrid .product-card-skeleton .product-info{display:grid;gap:11px}#productsGrid .product-card-skeleton .skel-button{justify-self:end}
.pkg-card-skeleton{min-height:290px;display:grid;align-content:start;gap:16px;pointer-events:none}.pkg-card-skeleton .skel-value{width:55%}.pkg-card-skeleton .skel-button{width:100%}
.gallery-item-skeleton{min-height:235px;pointer-events:none}.gallery-item-skeleton .skel-image{height:100%;min-height:235px;aspect-ratio:auto;border-radius:inherit}
.customer-orders-skeleton{display:grid;gap:12px}.customer-orders-skeleton .customer-order-card{display:grid;gap:12px;min-height:178px;pointer-events:none}.customer-orders-skeleton .skel-badge{justify-self:end}.customer-orders-skeleton .skel-button{width:150px}
.cart-skeleton-row{display:flex;align-items:center;gap:12px;min-height:96px;padding:12px;border:1px solid var(--ui-border);border-radius:10px}.cart-skeleton-row .skel-image{width:72px;height:72px;aspect-ratio:1;flex:none}.cart-skeleton-row .skel-stack{flex:1}
.checkout-method-skeleton{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.checkout-method-skeleton .skel-panel{height:56px;padding:12px}
.dt-cal-skeleton{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.dt-cal-skeleton .skel{height:40px;width:100%}.dt-slot-skeleton{display:grid;gap:8px}.dt-slot-skeleton .skel{height:50px;width:100%}
.t-card-skeleton{display:grid;gap:16px;min-height:160px;pointer-events:none}.t-card-skeleton .skel-list-row{margin-top:auto}
.product-img img,.product-detail-image img,.cart-item-emoji img,.gallery-item img,.admin-product img{background:#eee8f2;object-fit:cover}.product-detail-image{background:#eee8f2}
.product-detail-image{position:relative;overflow:hidden}.product-detail-image img{opacity:0;transition:opacity .2s ease}.product-detail-image img.is-loaded{opacity:1}.product-detail-image-skeleton{position:absolute;inset:0;border-radius:0}
@media(max-width:600px){.checkout-method-skeleton{grid-template-columns:1fr}.pkg-card-skeleton{min-height:250px}.gallery-item-skeleton{min-height:190px}.gallery-item-skeleton .skel-image{min-height:190px}}

/* Phones: the bottom navigation floats as a rounded bar (inset from the edges, soft shadow);
   the More menu and the Chat button sit above it, and Chat hides while the More menu is open. */
@media(max-width:900px){
  .customer-mobile-nav{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));padding:6px 4px;border:1px solid rgba(117,81,170,.14);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 10px 30px rgba(40,20,60,.16),0 2px 6px rgba(40,20,60,.06)}
  nav.customer-more-menu{bottom:calc(86px + env(safe-area-inset-bottom))}
  body #customer-chat-toggle{bottom:calc(88px + env(safe-area-inset-bottom))}
  body.customer-more-open #customer-chat-toggle{display:none}
  body[data-customer-page="home"],body[data-customer-page="shop"],body[data-customer-page="orders"],body[data-customer-page="login"],body[data-customer-page="register"],body[data-customer-page="packages"],body[data-customer-page="gallery"],body[data-customer-page="fresh"]{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
}

/* Review sheet (My Orders → Rate your treats) */
.rv-dialog{margin:auto;width:min(520px,calc(100vw - 24px));max-height:min(92vh,860px);padding:0;border:0;border-radius:20px;background:#fff;color:#2a1d3d;box-shadow:0 24px 70px rgba(40,20,60,.28);overflow:hidden}
.rv-dialog::backdrop{background:rgba(32,18,46,.55);backdrop-filter:blur(3px)}
.rv-form{display:flex;flex-direction:column;max-height:inherit;font-family:'DM Sans',system-ui,sans-serif}
.rv-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 12px}
.rv-head h2{margin:0;font:700 1.35rem/1.2 'Playfair Display',Georgia,serif;color:#3a2160}
.rv-head p{margin:4px 0 0;color:#7a6e88;font-size:.86rem}
.rv-close{flex:none;width:36px;height:36px;border:1px solid #e7def2;border-radius:50%;background:#fff;color:#5a4475;font-size:1.3rem;line-height:1;cursor:pointer}
.rv-close:hover{background:#f6f1fc}
.rv-body{display:grid;gap:16px;padding:4px 20px 18px;overflow-y:auto}
.rv-order{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #eee5f7;border-radius:14px;background:#faf7fd}
.rv-order img,.rv-order-ph{flex:none;width:52px;height:52px;border-radius:11px;object-fit:cover;display:grid;place-items:center;background:#efe6fa;font-size:1.4rem}
.rv-order span{display:grid;min-width:0}
.rv-order strong{font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rv-order small{color:#7a6e88;font-size:.8rem}
.rv-stars{margin:0;padding:0;border:0;text-align:center}
.rv-stars legend{margin:0 auto 6px;font-weight:700;font-size:.95rem;color:#3a2160}
.rv-star-row{display:flex;justify-content:center;gap:6px}
.rv-star{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:12px;cursor:pointer}
.rv-star input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.rv-star svg{width:36px;height:36px;fill:#ece4f4;stroke:#d8cbe8;stroke-width:1;transition:fill .15s ease,stroke .15s ease,scale .15s ease}
.rv-star.is-on svg{fill:#f5b731;stroke:#e3a21a}
.rv-star:has(input:focus-visible){outline:2px solid #7a52c8;outline-offset:2px}
.rv-star.is-pop svg{animation:mo-bump 260ms cubic-bezier(.22,1,.36,1)}
@media(hover:hover){.rv-star:hover svg{scale:1.08}}
.rv-star-word{min-height:1.2em;margin:4px 0 0;color:#8a5a00;font-weight:700;font-size:.88rem}
.rv-field{display:grid;gap:6px}
.rv-field>span{font-weight:700;font-size:.86rem;color:#3a2160}
.rv-field em{font-style:normal;font-weight:500;color:#8a7d99}
.rv-field textarea,.rv-field input:not([type=file]){width:100%;box-sizing:border-box;padding:12px 14px;border:1.5px solid #e2d8ee;border-radius:12px;background:#fff;color:#2a1d3d;font:inherit;font-size:.95rem;resize:vertical}
.rv-field textarea{min-height:110px;line-height:1.5}
.rv-field textarea:focus,.rv-field input:focus{outline:none;border-color:#8a63d2;box-shadow:0 0 0 3px #ece3fb}
.rv-field small{color:#8a7d99;font-size:.76rem}
.rv-count{justify-self:end}
.rv-photo-add{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1.5px dashed #cdb9ea;border-radius:12px;background:#fbf8fe;color:#4b2f84;text-align:left;cursor:pointer;font:inherit}
.rv-photo-add:hover{background:#f5effd;border-color:#a685df}
.rv-photo-add svg{flex:none;width:26px;height:26px;fill:none;stroke:#7a52c8;stroke-width:1.8;stroke-linejoin:round}
.rv-photo-add span{display:grid}
.rv-photo-add strong{font-size:.92rem}
.rv-photo-preview:not([hidden]){display:grid;grid-template-columns:64px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:8px;border:1px solid #e2d8ee;border-radius:12px;background:#faf7fd;animation:mo-scale-in 240ms cubic-bezier(.16,1,.3,1) both}
.rv-photo-preview img{width:64px;height:64px;border-radius:9px;object-fit:cover}
.rv-photo-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem}
.rv-photo-preview button{border:0;background:none;color:#5a3a99;font:700 .82rem inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.rv-note{margin:0;padding:10px 12px;border-radius:10px;background:#f4f0fa;color:#5d5170;font-size:.82rem}
.rv-error{margin:0;padding:10px 12px;border:1px solid #f1c4cf;border-radius:10px;background:#fff5f7;color:#a3324b;font-size:.85rem}
.rv-foot{display:flex;gap:10px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #f0e9f7;background:#fff}
.rv-cancel{flex:0 0 auto;min-height:48px;padding:0 20px;border:1.5px solid #ddd1ec;border-radius:999px;background:#fff;color:#4b2f84;font:700 .9rem inherit;cursor:pointer}
.rv-submit{flex:1;min-height:48px;padding:0 20px;border:0;border-radius:999px;background:#5b2d7a;color:#fff;font:700 .95rem inherit;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 20px rgba(91,45,122,.25)}
.rv-submit:hover:not(:disabled){background:#4a2266}
.rv-submit:disabled{background:#cfc3dd;box-shadow:none;cursor:not-allowed}
.rv-done{padding:30px 24px 26px}
.rv-done h2{margin:6px 0 0;font:700 1.4rem 'Playfair Display',Georgia,serif;color:#3a2160}
.rv-done p{margin:4px 0 14px;color:#5d5170;line-height:1.5}
.rv-done .rv-submit{flex:none;width:100%;max-width:280px}
@media(max-width:600px){
  .rv-dialog{width:100vw;max-width:none;max-height:92dvh;margin:auto 0 0;border-radius:22px 22px 0 0}
  dialog.rv-dialog[open]{animation:rv-sheet .32s cubic-bezier(.16,1,.3,1) both!important}
  .rv-star{width:44px;height:44px}.rv-star svg{width:34px;height:34px}
  .rv-photo-preview:not([hidden]){grid-template-columns:56px minmax(0,1fr)}.rv-photo-preview img{width:56px;height:56px}
}
@keyframes rv-sheet{from{transform:translateY(40px);opacity:0}}
@media(prefers-reduced-motion:reduce){.rv-star.is-pop svg,.rv-dialog[open]{animation:none}}
.rv-photo-add[hidden]{display:none}

/* Admin view of the Updates page (index.html?fresh=1&embed=admin inside Admin → Updates & reviews) */
html.admin-embed #mainNav,html.admin-embed .customer-mobile-nav,html.admin-embed .customer-more-menu,html.admin-embed .customer-more-backdrop,
html.admin-embed #customer-chat-toggle,html.admin-embed #customer-chat-ui{display:none!important}
html.admin-embed body{padding-bottom:0!important}
html.admin-embed .fresh-wrap{padding-top:20px!important}
html.admin-embed .fresh-bar.is-stuck{top:0!important}
html.admin-embed{--fresh-top:0px}

/* Admin → View in 3D (index.html?…&embed=viewer): only the designer's 3D stage, filling the window */
html.design-viewer,html.design-viewer body{height:100%;overflow:hidden;background:#f6eefb}
html.design-viewer .bd-head,html.design-viewer .bd-panel,html.design-viewer .bd-hint,html.design-viewer .bd-arrange,html.design-viewer .bd-arrange-bar,
html.design-viewer .bd-expand,html.design-viewer [data-bd-resetview],html.design-viewer #toast,html.design-viewer .mo-toasts,html.design-viewer footer{display:none!important}
html.design-viewer .bd-wrap{max-width:none!important;margin:0!important;padding:0!important}
html.design-viewer .bd-layout{display:block!important}
html.design-viewer .bd-stage{position:fixed!important;inset:0!important;z-index:50;display:flex;flex-direction:column;border:0!important;border-radius:0!important}
html.design-viewer .bd-canvas-box,html.design-viewer .cd-box{flex:1 1 auto;min-height:0;height:auto!important;max-height:none!important;aspect-ratio:auto!important}
html.design-viewer .bd-stage-bar{flex:none}

/* Phones: DIY customization is the highlighted button in the middle of the bottom bar */
@media(max-width:900px){
  .customer-mobile-nav{overflow:visible}
  .customer-mobile-nav .mobile-diy{position:relative;color:#5a2bbf;font-weight:800}
  .customer-mobile-nav .mobile-diy>span{display:grid;place-items:center;width:52px;height:52px;min-height:52px;margin-top:-26px;border-radius:50%;
    background:linear-gradient(140deg,#8f5cf0 0%,#6033dd 55%,#d9468f 120%);color:#fff;border:3px solid #fff;
    box-shadow:0 8px 18px rgba(96,51,221,.38),0 0 0 4px rgba(143,92,240,.14)}
  .customer-mobile-nav .mobile-diy .ui-icon{width:24px;height:24px;stroke:#fff}
  .customer-mobile-nav .mobile-diy>span::after{content:'';position:absolute;inset:-6px;border-radius:50%;border:2px solid rgba(143,92,240,.35);animation:diy-glow 2.4s ease-out infinite}
  .customer-mobile-nav .mobile-diy[aria-current]>span{box-shadow:0 8px 18px rgba(96,51,221,.45),0 0 0 4px rgba(217,70,143,.25)}
  .customer-mobile-nav .mobile-diy:focus-visible{outline:none}.customer-mobile-nav .mobile-diy:focus-visible>span{outline:3px solid #b9a1f0;outline-offset:3px}
}
@keyframes diy-glow{0%{transform:scale(.92);opacity:.9}70%,100%{transform:scale(1.22);opacity:0}}
@media (prefers-reduced-motion:reduce){.customer-mobile-nav .mobile-diy>span::after{animation:none;opacity:0}}

/* guests (no account): no cart */
body.is-guest #navShoppingButton,body.is-guest [data-mobile-destination="shopping"]{display:none!important}

/* ---- Sign-up steps: details → terms → email code ---- */
.reg-steps{display:flex;gap:6px;margin:0 0 14px;padding:0;list-style:none;counter-reset:reg}
.reg-steps li{flex:1;padding:6px 4px;border-radius:999px;background:#f3eef9;color:#7c6d91;font-size:12px;font-weight:700;text-align:center}
.reg-steps li.is-on{background:#6033dd;color:#fff}.reg-steps li.is-done{background:#e3f5ec;color:#1f7a50}
.reg-title{margin:0 0 10px;font-size:1.1rem;color:#2c1a47}
.reg-terms{max-height:220px;overflow:auto;padding:12px 14px;border:1px solid #e3d9f0;border-radius:12px;background:#fbf9fe;font-size:13.5px;line-height:1.5;color:#3d3150}
.reg-terms p{margin:0 0 8px}
.reg-agree{display:flex;align-items:flex-start;gap:8px;margin:12px 0;font-size:14px;color:#3d3150;cursor:pointer}
.reg-agree input{width:18px;height:18px;margin-top:1px;accent-color:#6033dd}
.reg-back{margin-top:8px;border:0;background:none;color:#5a32b8;font:inherit;font-weight:700;cursor:pointer}
.reg-code{letter-spacing:.5em;font-size:1.3rem;text-align:center}
.reg-resend{margin:10px 0 0;font-size:13px;color:#7c6d91}
.reg-resend button{border:0;background:none;color:#5a32b8;font:inherit;font-weight:700;cursor:pointer;padding:0}
.reg-resend button:disabled{color:#a99bbd;cursor:default}
.reg-mail{font-size:2.4rem;text-align:center;margin:4px 0 6px}

/* ---- Log in / sign-up: "or" divider + Continue with Google (GitHub placement), 6-digit code, success screens ---- */
.auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:7px}
.auth-label-row .auth-label{margin-bottom:0}
.auth-or{display:flex;align-items:center;gap:12px;margin:2px 0 14px;color:#7d7089;font-size:.8rem}
.auth-or::before,.auth-or::after{content:'';flex:1;height:1px;background:#e7def0}
.auth-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;padding:11px 16px;margin-bottom:1.2rem;border:1px solid #ddd3e8;border-radius:10px;background:#fff;color:#2c1a47;font:600 .9rem 'DM Sans',sans-serif;cursor:pointer;transition:background .2s,border-color .2s}
.auth-google:hover{background:#faf7fd;border-color:#c9b9dc}
.auth-google:focus-visible,.auth-inline-link:focus-visible,.auth-back:focus-visible{outline:2px solid #6545a3;outline-offset:2px}
.auth-google svg{width:18px;height:18px;flex:none}
.auth-or[hidden],.auth-google[hidden],.auth-legal[hidden],.auth-switch[hidden]{display:none}
.auth-legal{margin:-6px 0 14px;text-align:center;font-size:.76rem;line-height:1.5;color:#7d7089}
.auth-inline-link{border:0;background:none;padding:0;font:inherit;color:#5c3d6e;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.auth-back{display:block;margin:2px auto 0;padding:8px;border:0;background:none;color:#5c3d6e;font:600 .85rem 'DM Sans',sans-serif;cursor:pointer}
.auth-back:hover{text-decoration:underline}
.auth-resend{margin:-4px 0 8px;text-align:center;font-size:.8rem;color:#7d7089}
.auth-resend button{border:0;background:none;padding:0;color:#5c3d6e;font:inherit;font-weight:700;cursor:pointer}
.auth-resend button:disabled{color:#a99bbd;cursor:default}
.auth-btn:disabled{opacity:.7;cursor:default;transform:none}
.otp{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 18px}
.otp input{width:100%;min-width:0;height:54px;padding:0;border:1.5px solid rgba(195,178,215,.7);border-radius:10px;background:#fff;color:#2c1a47;text-align:center;font:700 1.35rem 'DM Sans',sans-serif;outline:none;transition:border-color .15s,box-shadow .15s}
.otp input:focus{border-color:#5c3d6e;box-shadow:0 0 0 3px rgba(92,61,110,.12)}
.otp.is-bad input{border-color:#e39aa4}
.auth-done{text-align:center}
.auth-done .auth-sub{margin-bottom:1.4rem}
.reg-agree .auth-inline-link{font-weight:700}
.reg-terms-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;overflow:auto;padding:20px;border:0;border-radius:16px;background:#fff;color:#3d3150;box-shadow:0 20px 60px rgba(92,61,110,.22)}
.reg-terms-dialog::backdrop{background:rgba(30,18,24,.45)}
.reg-terms-dialog .reg-terms{max-height:min(55vh,420px)}
.reg-terms-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:14px}
.reg-terms-actions .auth-btn{width:auto;margin:0;padding:10px 24px}
.reg-terms-actions .auth-back{margin:0}
@media(max-width:360px){.otp{gap:5px}.otp input{height:46px;font-size:1.15rem}}

/* ---- My Profile ---- */
.pf-wrap{max-width:640px;margin:0 auto;padding:84px 16px 110px;color:#2c1a47}
.pf-head{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;background:linear-gradient(135deg,#6033dd,#8f5cf0);color:#fff}
.pf-head h1{flex:1;margin:0;font-size:1.25rem;color:#fff}
.pf-round{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#5a32b8;cursor:pointer}
.pf-round .ui-icon{width:20px;height:20px}
.pf-hero{display:grid;justify-items:center;gap:4px;margin:18px 0 14px;text-align:center}
.pf-photo{position:relative;width:132px;height:132px;border-radius:50%;padding:4px;background:#fff;box-shadow:0 0 0 1px #e6dcf3,0 10px 26px rgba(76,40,160,.16)}
.pf-photo img,.pf-photo>span{width:100%;height:100%;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#efe7fb;color:#5a32b8;font-size:2.4rem;font-weight:800}
.pf-photo-btn{position:absolute;right:2px;bottom:6px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#6033dd;color:#fff;border:3px solid #fff;cursor:pointer}
.pf-photo-btn .ui-icon{width:18px;height:18px}
.pf-hero h2{margin:10px 0 0;font-size:1.6rem}.pf-hero p{margin:0;color:#6d5c86}
.pf-badge{margin-top:6px;padding:5px 14px;border-radius:999px;background:#efe7fb;color:#5a32b8;font-size:.85rem;font-weight:700}
.pf-card{margin:0 0 14px;padding:16px 18px;border:1px solid #e9e1f5;border-radius:16px;background:#fff}
.pf-card h3{margin:0 0 8px;font-size:1.1rem}
.pf-row{display:grid;grid-template-columns:40px 120px minmax(0,1fr);align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f1ebf8}
.pf-row:last-of-type{border-bottom:0}
.pf-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f1ebfb;color:#5a32b8}
.pf-ic .ui-icon{width:19px;height:19px}
.pf-label{color:#7c6d91;font-size:.9rem}.pf-value{overflow-wrap:anywhere}.pf-value.is-empty{color:#a99bbd;font-style:italic}
.pf-input{width:100%;box-sizing:border-box;min-height:42px;padding:9px 11px;border:1.5px solid #ded3ec;border-radius:10px;font:inherit;resize:vertical}
.pf-input:focus{outline:none;border-color:#8a63d2;box-shadow:0 0 0 3px #ece3fb}
.pf-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.pf-btn{min-height:42px;padding:0 18px;border:0;border-radius:11px;background:#6033dd;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.pf-btn--quiet{background:#fff;color:#5a32b8;border:1.5px solid #ddd0f1}
.pf-error{margin:8px 0 0;color:#a3324b;font-size:.88rem}
.pf-actions{border:1px solid #efe8f8;border-radius:14px;overflow:hidden}
.pf-action{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;border:0;border-bottom:1px solid #f1ebf8;background:#fff;color:inherit;font:inherit;font-size:1rem;text-align:left;cursor:pointer}
.pf-action:last-child{border-bottom:0}.pf-action:hover{background:#faf7fe}
.pf-action>span:nth-child(2){flex:1}.pf-action small{display:block;color:#7c6d91;font-size:.8rem}
.pf-action>.ui-icon{width:18px;height:18px;color:#7c6d91}
.pf-pays{display:grid;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.pf-pays li{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #efe8f8;border-radius:12px}
.pf-pays small{display:block;color:#7c6d91;font-size:.8rem}
.pf-pays em{font-style:normal;font-size:.78rem;font-weight:700;padding:3px 9px;border-radius:999px;background:#f3eef9;color:#5b3a99}
.pf-pays em.is-paid{background:#e3f5ec;color:#1f7a50}.pf-pays em.is-rejected{background:#f8e7ea;color:#a3324b}
.pf-empty{color:#7c6d91;text-align:center;margin:12px 0}
.pf-logout{display:block;width:100%;min-height:46px;border:1.5px solid #e6b9c4;border-radius:12px;background:#fff;color:#a3324b;font:inherit;font-weight:700;cursor:pointer}
.pf-loading{display:grid;justify-items:center;gap:10px;padding:40px 0}
@media(max-width:520px){.pf-row{grid-template-columns:40px minmax(0,1fr);row-gap:2px;padding:9px 0}.pf-row .pf-ic{grid-row:span 2}.pf-row .pf-label{grid-column:2;font-size:.8rem}.pf-row .pf-value,.pf-row .pf-input{grid-column:2}}

/* profile: pastel header (no gradient), transactions card */
.pf-head{background:#efe7fb;color:#3b2160;border:1px solid #e3d6f5}
.pf-head h1{color:#3b2160}
.pf-round{background:#fff;color:#5a32b8;box-shadow:0 1px 0 #e3d6f5}
.pf-photo-btn{background:#8a6fd1}
.pf-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pf-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e3d9f0;border-radius:50%;background:#fff;color:#5a32b8;font-size:20px;line-height:1;cursor:pointer}
.pf-pay-card .pf-pays{margin-top:6px}

/* profile: phones stack (log out last); desktop shows two columns */
.pf-grid{display:flex;flex-direction:column}
.pf-side{display:contents}.pf-side .pf-logout{order:3}.pf-main{order:2}.pf-side .pf-hero{order:1}
@media(min-width:900px){
  .pf-wrap{max-width:1080px;padding:100px 24px 60px}
  .pf-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start;margin-top:18px}
  .pf-side{display:block;position:sticky;top:96px;padding:22px 20px;border:1px solid #e9e1f5;border-radius:16px;background:#fff}
  .pf-side .pf-hero{margin:0 0 16px}
  .pf-main .pf-card{margin-bottom:18px;padding:20px 22px}
  .pf-main .pf-actions{display:grid;grid-template-columns:1fr 1fr}
  .pf-main .pf-action{border-right:1px solid #f1ebf8}
  .pf-main .pf-action:nth-child(2n){border-right:0}
  .pf-main .pf-action:nth-last-child(-n+2){border-bottom:0}
  .pf-row{grid-template-columns:40px 150px minmax(0,1fr)}
}

/* profile: compact lists for order history, cancelled orders and payments */
.pf-mini{display:grid;gap:0;margin:6px 0 0;padding:0;list-style:none;border:1px solid #efe8f8;border-radius:12px;overflow:hidden}
.pf-mini li,.pf-mini li>a{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px}
.pf-mini li{border-bottom:1px solid #f3eefa}.pf-mini li:last-child{border-bottom:0}
.pf-mini li:not(:has(a)),.pf-mini li>a{padding:8px 12px}
.pf-mini li>a{grid-column:1/-1;color:inherit;text-decoration:none}.pf-mini li>a:hover{background:#faf7fe}
.pf-mini-main strong{display:block;font-size:.92rem}.pf-mini-main small{display:block;color:#7c6d91;font-size:.76rem}
.pf-mini b{font-size:.9rem;white-space:nowrap}
.pf-pill{font-style:normal;font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:999px;white-space:nowrap}
.pf-pill.is-ok{background:#e6f5ed;color:#1f7a50}.pf-pill.is-bad{background:#f8e9ec;color:#a3324b}.pf-pill.is-wait{background:#f1ebfb;color:#5b3a99}
.pf-panel .pf-card-head h3{margin:0}

/* profile: pen at the end of each detail; floating minimal lists */
.pf-row.has-pen{grid-template-columns:40px 120px minmax(0,1fr) 34px}
.pf-pen{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#8a7aa3;cursor:pointer}
.pf-pen:hover{background:#f3edfc;color:#5a32b8}.pf-pen .ui-icon{width:16px;height:16px}
.pf-float{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:16px;background:rgba(44,26,71,.28)}
.pf-panel{width:min(440px,100%);max-height:min(560px,80vh);overflow:auto;padding:16px 16px 12px;border-radius:20px;background:#fff;box-shadow:0 24px 60px rgba(44,26,71,.22)}
.pf-panel .pf-card-head{margin-bottom:6px}.pf-panel h3{font-size:1rem}
.pf-panel .pf-close{border:0;background:#f5f1fb}
.pf-panel .pf-mini{border:0;gap:6px;margin:0}
.pf-panel .pf-mini li{border:0;border-radius:12px;background:#faf8fd}
.pf-panel .pf-mini li>a:hover{background:#f3eefb;border-radius:12px}
@media(min-width:900px){.pf-row.has-pen{grid-template-columns:40px 150px minmax(0,1fr) 34px}}
@media(max-width:520px){.pf-row.has-pen{grid-template-columns:40px minmax(0,1fr) 34px}.pf-row.has-pen .pf-pen{grid-column:3;grid-row:1 / span 2}
  .pf-float{place-items:end stretch;padding:0}.pf-panel{width:100%;max-height:75vh;border-radius:20px 20px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom))}}
/* profile on phones: smaller, tighter, lighter */
@media(max-width:600px){
  .pf-wrap{padding:72px 12px 96px}
  .pf-head{padding:8px 10px;border-radius:14px;gap:8px}
  .pf-head h1{font-size:1.02rem}
  .pf-round{width:34px;height:34px}.pf-round .ui-icon{width:16px;height:16px}
  .pf-hero{margin:12px 0 10px;gap:2px}
  .pf-photo{width:84px;height:84px;padding:3px}
  .pf-photo img,.pf-photo>span{font-size:1.5rem}
  .pf-photo-btn{width:28px;height:28px;right:0;bottom:2px;border-width:2px}.pf-photo-btn .ui-icon{width:14px;height:14px}
  .pf-hero h2{margin-top:6px;font-size:1.15rem}.pf-hero p{font-size:.82rem}
  .pf-badge{margin-top:4px;padding:3px 10px;font-size:.72rem}
  .pf-card{margin-bottom:10px;padding:10px 12px;border-radius:14px}
  .pf-card h3{font-size:.92rem;margin-bottom:4px}
  .pf-row,.pf-row.has-pen{grid-template-columns:30px minmax(0,1fr) 30px;column-gap:10px;row-gap:0;padding:7px 0}
  .pf-row:not(.has-pen){grid-template-columns:30px minmax(0,1fr)}
  .pf-ic{width:30px;height:30px}.pf-ic .ui-icon{width:15px;height:15px}
  .pf-row .pf-label{font-size:.7rem}.pf-value,.pf-input{font-size:.86rem}
  .pf-input{min-height:36px;padding:7px 9px}
  .pf-pen{width:30px;height:30px}.pf-pen .ui-icon{width:14px;height:14px}
  .pf-btn{min-height:36px;padding:0 14px;font-size:.85rem}
  .pf-actions{border-radius:12px}
  .pf-action{gap:10px;padding:7px 10px;font-size:.88rem}
  .pf-action small{font-size:.7rem}.pf-action>.ui-icon{width:15px;height:15px}
  .pf-logout{min-height:38px;font-size:.86rem;border-radius:10px}
  .pf-panel{padding:12px 12px 10px}.pf-panel h3{font-size:.92rem}
  .pf-mini li:not(:has(a)),.pf-mini li>a{padding:7px 10px;gap:8px}
  .pf-mini-main strong{font-size:.84rem}.pf-mini-main small{font-size:.7rem}
  .pf-mini b{font-size:.82rem}.pf-pill{font-size:.66rem;padding:2px 7px}
}

/* next-day rush fee */
.dt-rush{display:block;margin-top:6px;padding:6px 10px;border-radius:10px;background:#fff4e0;color:#8a4b12;font-weight:700;font-size:.82rem}
.checkout-rush-row{color:#8a4b12;font-weight:700}

/* profile: password row */
.pf-row.pf-pass{grid-template-columns:40px 120px minmax(0,1fr) auto}
.pf-forgot{border:1.5px solid #ddd0f1;border-radius:999px;background:#fff;color:#5a32b8;font:inherit;font-size:.8rem;font-weight:700;padding:5px 12px;cursor:pointer;white-space:nowrap}
.pf-forgot:disabled{opacity:.6;cursor:default}
@media(min-width:900px){.pf-row.pf-pass{grid-template-columns:40px 150px minmax(0,1fr) auto}}
@media(max-width:600px){.pf-row.pf-pass{grid-template-columns:30px minmax(0,1fr) auto}.pf-row.pf-pass .pf-forgot{grid-column:3;grid-row:1 / span 2;align-self:center;font-size:.72rem;padding:4px 9px}}

.lx-pw{width:min(400px,calc(100vw - 32px));border:0;border-radius:18px;padding:0;box-shadow:0 24px 60px rgba(32,18,60,.28)}
.lx-pw::backdrop{background:rgba(26,18,48,.45)}
.lx-pw form{display:grid;gap:10px;padding:22px}
.lx-pw h2{margin:0;color:#2c1a47;font-size:1.2rem}.lx-pw-sub{margin:0;color:#6d5c86;font-size:.9rem}
.lx-pw label{display:grid;gap:4px;font-size:.85rem;font-weight:700;color:#3a2160}
.lx-pw input{min-height:42px;padding:9px 11px;border:1.5px solid #ded3ec;border-radius:10px;font:inherit}
.lx-pw [role=alert]{margin:0;color:#a3324b;font-size:.85rem}.lx-pw [role=alert]:empty{display:none}
.lx-pw button{min-height:44px;border:0;border-radius:12px;background:#6033dd;color:#fff;font:inherit;font-weight:700;cursor:pointer}
/* booking time cards: light tiles like the calendar days */
.dt-slots-list{gap:6px!important}
.dt-slots-list .dt-slot{min-height:52px!important;padding:6px 4px!important;gap:2px!important;border-radius:10px!important;border:1px solid transparent!important;background:#faf8fd!important;box-shadow:none!important;transition:background .15s,border-color .15s,transform .15s}
.dt-slots-list .dt-slot .dt-slot-time{font-size:.82rem!important;font-weight:700!important;color:#3a2a4d!important}
.dt-slots-list .dt-slot .dt-slot-status{padding:0!important;background:none!important;border:0!important;font-size:.6rem!important;font-weight:700!important;color:#35a96b!important}
.dt-slots-list .dt-slot:hover:not(:disabled){background:#f2ecff!important;border-color:#b79aff!important;transform:translateY(-1px)}
.dt-slots-list .dt-slot.selected{background:#d9c9f3!important;border-color:transparent!important}
.dt-slots-list .dt-slot.selected .dt-slot-time{color:#3b2160!important}
.dt-slots-list .dt-slot.selected .dt-slot-status{color:#3b2160!important}
.dt-slots-list .dt-slot:disabled{opacity:.5;cursor:not-allowed}
.dt-slots-list .dt-slot:disabled .dt-slot-status{color:#bd4b58!important}

.reg-hint{display:block;margin-top:4px;color:#7c6d91;font-size:.75rem}

/* profile: change password without email */
.pf-pwform{display:grid;gap:8px;padding:10px 0 12px 50px;border-bottom:1px solid #f1ebf8}
.pf-pwform label{display:grid;gap:4px;font-size:.82rem;font-weight:700;color:#3a2160}
.pf-pwform input{min-height:40px;padding:8px 11px;border:1.5px solid #ded3ec;border-radius:10px;font:inherit}
.pf-pwform input:focus{outline:none;border-color:#8a63d2;box-shadow:0 0 0 3px #ece3fb}
.pf-pwform small{color:#7c6d91;font-size:.75rem}
.pf-pwform .pf-form-actions{margin-top:2px}
.pf-pw-forgot{margin:0;font-size:.8rem;color:#7c6d91}.pf-pw-forgot button{border:0;background:none;padding:0;color:#5a32b8;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:600px){.pf-pwform{padding-left:0}}

/* live password checklist */
.pw-checks{display:grid;gap:3px;margin:4px 0 2px;padding:0;list-style:none;font-size:.78rem;color:#8a7aa3}
.pw-checks li{display:flex;align-items:center;gap:6px}
.pw-checks li::before{content:'';flex:none;width:14px;height:14px;border-radius:50%;border:1.5px solid #cbbde3;box-sizing:border-box}
.pw-checks li.is-ok{color:#1f7a50}.pw-checks li.is-ok::before{border:0;background:#2fa36b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.pw-checks li.is-bad{color:#a3324b}.pw-checks li.is-bad::before{border-color:#e3a2b1;background:#fbecef}

/* Order cards: progress track, product row with total, payment line with state dot */
.co-card{position:relative;display:grid;gap:14px;padding:18px!important;border:1px solid #ebe3f3!important;border-radius:18px!important;background:#fff;box-shadow:0 1px 2px rgba(60,35,90,.04),0 10px 26px rgba(92,61,110,.07)!important;transition:box-shadow .2s ease,transform .2s ease}
.co-card:hover{box-shadow:0 1px 2px rgba(60,35,90,.05),0 14px 32px rgba(92,61,110,.12)!important}
.co-card.is-focused{border-color:#b9a1dc!important;box-shadow:0 0 0 3px #efe6fb,0 12px 28px rgba(92,61,110,.12)!important}
.co-card.is-cancelled{opacity:.78;background:#fbfafc}
.co-card .customer-order-top{align-items:flex-start}
.co-card .customer-order-number{font-size:1.02rem;letter-spacing:-.01em}
.co-card .customer-order-pills{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.co-track{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;margin:0;padding:0;font-size:.64rem;color:#9a8ea6;text-align:center}
.co-track li{position:relative;display:grid;justify-items:center;gap:5px}
.co-track li span{position:relative;z-index:1;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid #ddd2ea;box-sizing:border-box;transition:background .25s,border-color .25s}
.co-track li:not(:last-child)::after{content:'';position:absolute;top:5px;left:calc(50% + 8px);right:calc(-50% + 8px);height:2px;border-radius:2px;background:#ece5f4}
.co-track li.is-done{color:#6b5487}.co-track li.is-done span{background:#8a6cc4;border-color:#8a6cc4}
.co-track li.is-done::after{background:#b9a1dc}
.co-track li.is-now{color:#3f2873;font-weight:700}.co-track li.is-now span{border-color:#6545a3;box-shadow:0 0 0 4px #efe7fb;background:#6545a3}
.co-main{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}
.co-thumb{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#f4ecff,#fce9f2);color:#6a4a9c;font:700 1.15rem 'Playfair Display',serif}
.co-card .customer-order-product{margin:0 0 3px;font-size:.95rem;line-height:1.3}
.co-card .customer-order-schedule{display:flex;align-items:center;gap:5px;margin:0;font-size:.78rem}
.co-card .customer-order-schedule svg,.co-card .customer-order-actions svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.co-count{display:inline-block;margin-top:5px;font-size:.68rem;color:#8a7d96;background:#f6f2fa;border-radius:999px;padding:2px 8px}
.co-amount{display:grid;justify-items:end;gap:1px}
.co-amount small{font-size:.66rem;color:#8a7d96;text-transform:uppercase;letter-spacing:.06em}
.co-amount strong{font-size:1.05rem;color:#3f2873;white-space:nowrap}
.co-pay{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:#f7f4fb}
.co-pay div{display:grid;gap:1px;min-width:0}
.co-pay strong{font-size:.82rem;color:#2f2440}
.co-pay span:not(.co-pay-dot){font-size:.72rem;color:#7d7089}
.co-pay-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#a99bbb;box-shadow:0 0 0 4px #ece6f3}
.co-pay.is-due{background:#f4eefc}.co-pay.is-due .co-pay-dot{background:#6545a3;box-shadow:0 0 0 4px #e3d8f6}
.co-pay.is-wait .co-pay-dot{background:#b49ad6;animation:co-pulse 1.8s ease-in-out infinite}
.co-pay.is-review{background:#fff6e6}.co-pay.is-review .co-pay-dot{background:#d99a2b;box-shadow:0 0 0 4px #fde8c4}
.co-pay.is-ok,.co-pay.is-part{background:#eef9f3}.co-pay.is-ok .co-pay-dot,.co-pay.is-part .co-pay-dot{background:#2f9b67;box-shadow:0 0 0 4px #d3efdf}
.co-pay.is-issue{background:#fff1f4}.co-pay.is-issue .co-pay-dot{background:#c23a56;box-shadow:0 0 0 4px #fbd6de}
@keyframes co-pulse{50%{box-shadow:0 0 0 7px #ece3f8}}
.co-card .customer-order-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;width:100%}
.co-card .customer-order-actions .btn-primary{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:12px;letter-spacing:.06em}
.co-card .customer-order-actions .btn-outline,.co-card .customer-order-cancel{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:12px;text-align:center}
.co-card .customer-order-actions>:nth-child(2):last-child{grid-column:1/-1}
.co-card .customer-order-more{margin:0;padding-top:10px;border-top:1px dashed #e6ddef}
.co-card .customer-order-more summary{cursor:pointer;font-size:.78rem;font-weight:700;color:#5c3d6e;min-height:32px;display:flex;align-items:center}
.co-card .customer-order-details{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin-top:8px;font-size:.78rem;color:#2f2440}
.co-card .customer-order-details span{display:grid;gap:1px}
.co-card .customer-order-details span:nth-last-child(-n+2){grid-column:1/-1}
.co-card .customer-order-details em{font-style:normal;font-size:.66rem;text-transform:uppercase;letter-spacing:.05em;color:#8a7d96}
@media(max-width:380px){.co-main{grid-template-columns:auto 1fr}.co-amount{grid-column:1/-1;grid-auto-flow:column;justify-content:space-between;align-items:baseline}}
@media(prefers-reduced-motion:reduce){.co-pay.is-wait .co-pay-dot{animation:none}.co-card{transition:none}}

/* Empty cart */
.cart-empty{display:grid;justify-items:center;gap:10px;padding:34px 20px;text-align:center}
.cart-empty-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(145deg,#f4ecff,#fce9f2);font-size:1.7rem}
.cart-empty p{margin:0;color:#7d7089;font-size:.86rem;line-height:1.5}
.cart-empty p strong{display:block;color:#3f2873;font-size:1rem;margin-bottom:2px}
.cart-empty .btn-primary{margin-top:4px;min-height:44px;padding:0 22px;display:inline-flex;align-items:center;border-radius:12px}
