/* Experience module. Imported before the core rules in app.css, so overrides use a `body` prefix for specificity. */

/* Header actions (Sections 1.2–1.4, 14.4) */
.business-inquiry-button{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;padding:8px 14px;border:1px solid var(--line);border-radius:30px;white-space:nowrap;color:var(--green-dark);line-height:1.2}
.business-inquiry-button .icon{width:18px;height:18px;color:var(--green)}
.business-inquiry-button:hover{border-color:var(--green);color:var(--green)}
.account-button{display:none;align-items:center;gap:7px;font-size:13px;font-weight:500;padding:9px 6px;white-space:nowrap;border-radius:30px}
.account-button .icon{width:20px;height:20px;color:var(--green)}
body[data-identified="1"] .header-actions .account-button{display:inline-flex}
body[data-identified="1"] .header-actions>.account-link{display:none!important}
body.xp-callback-open .site-header{z-index:90}
.menu-drawer nav>a.drawer-account{background:var(--green);color:var(--paper);border:0;border-radius:5px;padding:12px 16px;margin-bottom:10px;font-weight:500}
@media(max-width:1150px){.business-inquiry-button{font-size:11px;padding:7px 11px;gap:6px}.account-button{font-size:11px}}
@media(max-width:900px){
 body .menu-toggle{display:flex;width:36px;height:40px}
 body .nav-line{display:none}
 body .header-actions>.mobile-top-whatsapp{display:inline-flex!important;color:var(--green)}
 body .business-inquiry-button{width:40px;height:40px;padding:0;justify-content:center;border-radius:50%}
 body .business-inquiry-button span,body .account-button span{display:none}
}
@media(max-width:700px){
 body .business-inquiry-button{width:32px;height:36px;border:0;border-radius:6px}
 body .business-inquiry-button .icon{width:19px;height:19px}
 body[data-identified="1"] .header-actions .account-button{display:none}
 body .header-actions>.business-inquiry-button{order:2}
 /* Callback pop-up: fixed to the visual viewport so it fits with the on-screen keyboard open (values set by JS). */
 body .callback-panel{position:fixed;left:12px;right:12px;width:auto;top:var(--xp-callback-top,92px);max-height:var(--xp-callback-max,calc(100dvh - 104px));overflow-y:auto;overscroll-behavior:contain;z-index:80}
 body .callback-panel .country-options{width:min(260px,calc(100vw - 72px))}
}

/* Multi-step inquiry dialog (Section 12) */
body .inquiry-dialog{width:min(520px,calc(100% - 24px));padding:34px 34px 28px}
body .inquiry-dialog h2{font-size:26px;margin-bottom:6px}
.inquiry-dialog h3{font-size:17px;letter-spacing:-.02em;margin:18px 0 14px}
.inquiry-dialog .eyebrow{margin-bottom:8px}
.inquiry-bar{height:5px;background:var(--line);border-radius:5px;overflow:hidden;margin-bottom:18px}
.inquiry-bar span{display:block;height:100%;width:25%;background:var(--green);border-radius:5px;transition:width .3s ease}
.inquiry-context{font-size:14px;color:var(--muted);margin:0}
.inquiry-field-label{font-size:14px;font-weight:500;margin-bottom:7px}
body .inquiry-dialog .identity-field{margin-top:0}
.inquiry-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
body .inquiry-dialog .inquiry-actions .button{width:auto;flex:1}
.inquiry-actions .text-button{color:var(--muted)}
.inquiry-done{text-align:center;padding:12px 0 4px;outline:none}
.inquiry-done .dialog-mark{margin:0 auto 18px}
.inquiry-done h3{font-size:24px;margin:0 0 10px}
.inquiry-done p{color:var(--muted);margin-bottom:22px}
.inquiry-dialog .form-note{display:block;margin-top:12px;font-size:12px}
@media(max-width:700px){body .inquiry-dialog{padding:28px 20px 22px;max-height:calc(100dvh - 24px)}body .inquiry-dialog h2{font-size:23px}}

/* Wishlist hearts (product page + product cards) */
.product-card{position:relative}
.wishlist-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--ink)}
.wishlist-toggle .icon{width:20px;height:20px}
.wishlist-toggle:hover{border-color:var(--danger);color:var(--danger)}
.wishlist-toggle[aria-pressed=true]{color:var(--danger);border-color:var(--danger)}
.wishlist-toggle[aria-pressed=true] path{fill:currentColor}
.card-heart{position:absolute;top:10px;right:10px;z-index:3;width:36px;height:36px;box-shadow:0 2px 8px #26311d14}
.card-heart .icon{width:17px;height:17px}

/* Product page (Sections 17.1–17.3, 5.2, 15.2) */
.product-title-row{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}
.product-title-row h1{flex:1;min-width:0}
.product-inquiry-button{width:100%;margin-top:10px;font-size:13px}
.product-inquiry-button .icon{width:18px;height:18px;color:var(--green)}
.gallery-dots{display:none}
body .gallery-thumbnails button.active{border-color:var(--green)}
.gallery-thumbnails .video-thumb{position:relative;display:flex;align-items:center;justify-content:center;background:var(--soft)}
.gallery-thumbnails .video-thumb .play-mark{width:26px;height:26px;font-size:11px}
.gallery-video{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:var(--ink);cursor:default;position:relative}
.gallery-video video,.gallery-video iframe{width:100%;height:100%;border:0;display:block;object-fit:contain}
.hero-video-play{position:relative;display:block;width:100%;height:100%;padding:0;cursor:pointer}
.hero-video-play img{width:100%;height:100%;object-fit:cover}
.play-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:var(--paper);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:22px;box-shadow:var(--shadow);padding-left:4px}
.hero-video-play:hover .play-mark{background:var(--gold);color:var(--ink)}
.specification-table{width:100%;border-collapse:collapse;font-size:13px;margin:4px 0 12px}
.specification-table th,.specification-table td{text-align:left;padding:10px 0;border-bottom:1px solid var(--line);vertical-align:top}
.specification-table th{font-weight:500;width:42%;padding-right:16px}
.specification-table td{color:var(--muted)}
.spec-ingredients{font-size:13px;color:var(--muted)}
.delivery-info ul{list-style:none;padding:0;margin:0 0 14px}
.delivery-info li{display:flex;gap:10px;align-items:flex-start;margin-bottom:9px}
.delivery-info li .icon{width:18px;height:18px;color:var(--green);margin-top:3px}
.sticky-product-bar .container>span{margin-right:auto;min-width:0}
.sticky-checkout{flex-shrink:0}
body.xp-sticky-keep .sticky-product-bar[hidden]{display:block!important}
body.xp-sticky-keep{padding-bottom:76px}
body.has-sticky-product .floating-whatsapp,body.xp-sticky-keep .floating-whatsapp{bottom:92px}
body.has-sticky-product .toast,body.xp-sticky-keep .toast{bottom:92px}
@media(max-width:700px){
 .gallery-dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
 .gallery-dots span{width:6px;height:6px;border-radius:6px;background:var(--line);transition:width .2s}
 .gallery-dots span.active{background:var(--green);width:16px}
 .product-title-row .wishlist-toggle{width:38px;height:38px}
 body.xp-sticky-keep{padding-bottom:calc(125px + env(safe-area-inset-bottom))}
 body.xp-sticky-keep .cookie-notice{bottom:calc(139px + env(safe-area-inset-bottom))}
 body.has-sticky-product .toast,body.xp-sticky-keep .toast{bottom:calc(136px + env(safe-area-inset-bottom))}
 body .sticky-product-bar .sticky-checkout{font-size:11px;min-height:38px;padding:9px 12px}
}

/* Home hero / campaign banner (Sections 3, 7) */
.hero-slide-video .hero-video{aspect-ratio:1922/801;background:var(--ink)}
.hero-video iframe,.hero-video video{width:100%;height:100%;border:0;display:block;object-fit:cover}
.hero-video.playing~.campaign-caption{display:none}
.campaign-caption .offer-badge{display:inline-block;background:var(--gold);color:var(--ink);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:5px 11px;border-radius:30px;margin-bottom:12px}
body .campaign-caption{border-radius:7px;box-shadow:var(--shadow)}
body .campaign-caption h2{font-size:clamp(22px,2.3vw,34px);margin-bottom:8px}
.campaign-caption p{font-size:14px;color:var(--muted)}
.hero-ctas{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hero-ctas .button{min-height:42px;padding:10px 18px;font-size:13px}
.hero-ctas .icon{width:16px;height:16px}
.hero-products{display:flex;align-items:center;gap:20px;padding:16px 22px;background:var(--cream);border:1px solid var(--line);border-radius:6px;margin-top:16px}
.hero-products>p{margin:0;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--green);max-width:120px}
.hero-products-track{display:flex;flex:1;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;outline-offset:2px}
.hero-products-track::-webkit-scrollbar{display:none}
.hero-product{flex:0 0 100%;display:flex;align-items:center;gap:16px;scroll-snap-align:start;padding-right:2px}
.hero-product-image img{width:64px;height:64px;object-fit:contain;border-radius:4px;background:var(--paper)}
.hero-product>div{flex:1;min-width:0}
.hero-product h3{font-size:15px;margin-bottom:5px;font-weight:500;letter-spacing:-.02em}
.hero-product .button{font-size:12px;min-height:40px;padding:10px 15px}
.hero-products-dots{display:flex;gap:6px}
.hero-products-dots button{width:7px;height:7px;padding:0;border-radius:7px;background:var(--line)}
.hero-products-dots button[aria-pressed=true]{background:var(--green);width:18px}
@media(max-width:700px){
 body .campaign-caption{position:static;max-width:none;padding:16px;border-radius:0;box-shadow:none;background:var(--cream)}
 body .campaign-caption h2{font-size:21px}
 body [data-hero-slider] .slider-controls{top:8px;bottom:auto;right:8px}
 .hero-slide-video .hero-video.playing~.campaign-caption{display:block}
 .campaign-caption p{font-size:13px}
 .hero-ctas .button{flex:1;font-size:12px;min-height:40px;padding:9px 12px}
 body .hero-image-link img.has-mobile{aspect-ratio:auto;height:auto}
 .hero-slide-video .hero-video{aspect-ratio:16/9}
 .hero-products{flex-wrap:wrap;gap:10px;padding:14px;margin-top:12px}
 .hero-products>p{max-width:none;width:100%;font-size:9px}
 .hero-product{gap:10px}
 .hero-product-image img{width:48px;height:48px}
 .hero-product h3{font-size:12px;line-height:1.45;margin-bottom:3px}
 .hero-product .button{font-size:10px;min-height:34px;padding:8px 10px;gap:6px}
 .hero-products-dots{width:100%;justify-content:center}
}

/* Standalone callback page */
.callback-page{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.callback-page-copy h1{margin-bottom:18px}
.callback-page-copy p:not(.eyebrow){color:var(--muted)}
.callback-page .form-card .button{width:100%}
@media(max-width:900px){.callback-page{grid-template-columns:1fr;gap:30px}}

/* Customer dashboard (Sections 14.5–14.6) */
.account-menu-toggle{display:none}
.account-nav>a>span{display:flex;align-items:center;gap:9px}
.nav-badge{background:var(--gold);color:var(--ink);font-size:11px;font-weight:600;min-width:20px;height:20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}
.account-logout{margin-top:14px;padding:0 10px}
.section-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}
body .section-title-row h1{margin-bottom:0}
.dashboard-completion{display:block;margin-top:20px}
.completion-missing{font-size:13px;color:var(--green-dark);margin:10px 0 0}
.completion-missing a{text-decoration:underline}
.dashboard-quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}
.dashboard-quick-links>a,.dashboard-quick-links>button{display:flex;align-items:center;gap:9px;padding:13px 14px;border:1px solid var(--line);border-radius:6px;font-size:13px;text-align:left}
.dashboard-quick-links .icon{width:18px;height:18px;color:var(--green)}
.dashboard-quick-links>a:hover,.dashboard-quick-links>button:hover{border-color:var(--green);color:var(--green)}
.dashboard-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;margin-top:10px}
.dashboard-columns h2{font-size:21px;margin:26px 0 14px}
.mini-record{display:block;padding:16px 18px;margin-bottom:10px}
.mini-record h3{font-size:15px}
.reorder-button{margin-left:auto}
.reorder-button .icon{width:16px;height:16px}
.inquiry-details-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px 18px;margin:14px 0 0;font-size:13px}
.inquiry-details-list dt{color:var(--muted);font-size:12px}
.inquiry-details-list dd{margin:2px 0 0}
.inquiry-thread .thread{margin-top:6px}
.inquiry-thread .customer-reply{background:var(--soft)}
.inquiry-reply-form{margin-top:12px}
.inquiry-reply-form label{margin-bottom:10px}
.address-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:20px 0}
.address-card.is-default{border-color:var(--green)}
.address-card p{color:var(--ink)}
.address-actions{display:flex;gap:16px;margin-top:8px}
.address-actions .danger{color:var(--danger)}
.address-edit{margin-top:8px;font-size:14px}
.address-edit summary,.address-new summary{cursor:pointer;color:var(--green)}
.address-edit form,.address-new form{margin-top:16px}
.notification-item{display:flex;gap:14px;align-items:flex-start}
.notification-item.unread{border-color:var(--green);background:var(--green-light)}
.notification-icon{display:flex;width:38px;height:38px;flex-shrink:0;border-radius:50%;align-items:center;justify-content:center;background:var(--paper);color:var(--green);border:1px solid var(--line)}
.notification-icon .icon{width:18px;height:18px}
.notification-item p{margin-top:6px}
.account-contact{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.account-contact .icon{width:18px;height:18px}
.account-category-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.account-category-links a{border:1px solid var(--line);border-radius:30px;padding:7px 14px;font-size:13px}
body .account-product-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}
.profile-phone-change,.profile-email-change,.profile-form{margin-top:22px;max-width:610px}
.profile-phone-change .identity-field{margin-bottom:16px}
.saved-address-picker select{margin-top:7px}
@media(max-width:900px){.dashboard-columns{grid-template-columns:1fr;gap:0}.address-grid{grid-template-columns:1fr}}
@media(max-width:700px){
 .account-menu-toggle{display:flex;width:100%;align-items:center;gap:10px;margin-top:16px;border:1px solid var(--line);border-radius:5px;padding:11px 14px;background:var(--paper);font-size:14px;font-weight:500}
 .account-menu-toggle>span{flex:1;text-align:left}
 .account-menu-toggle .icon{width:18px;height:18px}
 .account-menu-toggle[aria-expanded=true]>.icon:last-child{transform:rotate(180deg)}
 body .account-sidebar nav.account-nav{display:none;flex-direction:column;overflow:visible;margin:8px 0 0;padding:0;gap:0}
 body .account-sidebar nav.account-nav.open{display:flex}
 body .account-sidebar nav.account-nav>a{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:12px 4px;font-size:14px;white-space:normal;color:var(--ink)}
 body .account-sidebar nav.account-nav>a.active{background:var(--green-light);color:var(--green);padding-left:10px}
 body .account-sidebar nav.account-nav .icon{display:inline-block;width:16px;height:16px}
 body .account-sidebar .account-logout{text-align:left;margin-top:10px;padding:0}
 body .account-sidebar .account-logout .text-button{font-size:13px}
 .dashboard-quick-links{grid-template-columns:repeat(2,1fr)}
 .dashboard-quick-links>a,.dashboard-quick-links>button{font-size:12px;padding:12px 10px}
 body .account-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .record-footer{flex-wrap:wrap}
}
