/* Collection slideshow */
.hero-slider { position: relative; min-height: 510px; background: #eeeae3; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; filter: blur(15px); transform: scale(1.035); visibility: hidden; pointer-events: none; transition: opacity .75s ease, filter .85s ease, transform 1.15s ease, visibility 0s .85s; }
.hero-slide.is-active { opacity: 1; filter: blur(0); transform: scale(1); visibility: visible; pointer-events: auto; transition-delay: 0s; z-index: 1; }
.hero-slide .slide-media { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: #f2eee8; }
.slide-caption { position: absolute; left: 25px; right: 25px; bottom: 24px; display: flex; align-items: center; gap: 20px; padding: 17px 20px; background: #fffdf8ed; border: 1px solid #ffffff8c; border-radius: 8px; box-shadow: 0 5px 22px #33271812; backdrop-filter: blur(10px); color: var(--ink); }
.slide-caption > span:first-child { flex: 1; min-width: 0; }
.slide-caption small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: #8a7150; margin-bottom: 3px; }
.slide-caption strong { display: block; font-size: 18px; line-height: 1.4; font-weight: 600; }
.slide-caption .slide-price { white-space: nowrap; font-size: 22px; font-weight: 750; color: #783f2c; }
.slide-link-icon { height: 36px; width: 36px; border-radius: 50%; background: var(--ink); color: white; display: inline-grid; place-items: center; }
.slider-controls { position: absolute; right: 22px; top: 20px; display: flex; gap: 4px; align-items: center; z-index: 3; padding: 5px; border-radius: 24px; background: #fffdf8ed; border: 1px solid #ffffff9c; box-shadow: 0 3px 12px #3327180c; }
.slider-controls[hidden] { display: none !important; }
.slider-controls > button { border: 0; border-radius: 50%; background: transparent; color: #3e362b; height: 32px; min-width: 32px; display: grid; place-items: center; font-size: 24px; }
.slider-controls > button:hover { background: #ebe2d4; }
.slider-controls .slide-pause { font-size: 13px; min-width: 32px; margin-left: 2px; border-left: 1px solid #ddd3c4; border-radius: 0 20px 20px 0; }
.slider-progress { display: flex; align-items: center; gap: 6px; }
.slide-dot { width: 7px; height: 7px; padding: 0; border-radius: 10px; border: 0; background: #c6baaa; transition: width .3s, background .3s; }
.slide-dot.is-current { width: 23px; background: #76533b; }
.slider-counter { font-size: 10px; color: #6b5d4b; padding-left: 5px; font-variant-numeric: tabular-nums; }

/* Item-added confirmation */
.cart-popup-open { overflow: hidden; }
dialog.elara-cart-popup { width: min(620px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 29px; border: 1px solid #e1d7c8; border-radius: 14px; background: #fffdf9; color: var(--ink); overflow-y: auto; box-shadow: 0 25px 100px #201a1250; }
dialog.elara-cart-popup:not([open]) { display: none; }
.elara-cart-popup::backdrop { background: #17161199; backdrop-filter: blur(3px); }
.added-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 24px; }
.added-heading h2 { font-family: var(--sans); font-size: 23px; font-weight: 650; letter-spacing: -.6px; margin: 0; }
.added-close { width: 38px; height: 38px; font-size: 27px; line-height: 1; border: 0; background: #eee8de; border-radius: 50%; color: #514333; }
.added-product { display: grid; grid-template-columns: 140px 1fr; gap: 23px; align-items: center; }
.added-product > img { width: 140px; height: 155px; object-fit: contain; border: 1px solid #eee6dc; border-radius: 8px; background: #f4f0e9; }
.added-product-name { font-size: 18px; font-weight: 600; margin: 0 0 8px; line-height: 1.5; }
.added-product-options, .added-product-colour, .added-product-qty { font-size: 13px; color: #726551; margin-bottom: 7px; }
.added-product-options:empty { display: none; }
.added-product-options dl { margin: 0; }
.added-product-price { font-size: 23px; font-weight: 750; color: #783f2c; margin-bottom: 8px; }
.added-bag-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 18px 0 15px; margin-top: 22px; font-size: 14px; }
.added-bag-total > strong { font-size: 18px; }
.added-actions { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.added-actions > a { justify-content: center; font-size: 14px; gap: 14px; }
.button-outline { border: 1px solid #66543c; background: transparent; border-radius: 6px; min-height: 52px; padding: 13px 17px; display: inline-flex; align-items: center; justify-content: center; color: #413425; font-size: 14px; font-weight: 600; }
.button-outline:hover { background: #f0e8dc; }
.added-demo { color: #8a7250; font-size: 11px; line-height: 1.7; text-align: center; margin: 13px 0 0; }
.added-recommendations { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 19px; }
.added-recommendations h3 { font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.bag-recommendation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.added-recommendations .bag-recommendation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bag-recommendation { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; min-width: 0; }
.bag-recommendation > img { aspect-ratio: 4/3; width: 100%; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: #f3efe8; }
.bag-recommendation > span { font-weight: 500; }
.bag-recommendation > strong { font-size: 16px; color: #783f2c; }
.added-continue { display: block; border: 0; border-bottom: 1px solid #9a876a; background: transparent; padding: 0 0 4px; margin: 23px auto 0; font-size: 13px; color: #6c5840; }
.elara-add-error { font-size: 14px; background: #f6e7dc; padding: 15px; border-left: 3px solid #9e5535; }
.elara-add-error a { text-decoration: underline; font-weight: 600; }

/* Bottom purchase bar; native product form owns every option and validation. */
.has-elara-sticky { padding-bottom: 92px; }
.elara-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fffdf9f7; border-top: 1px solid #ddd1bd; box-shadow: 0 -5px 28px #35261412; backdrop-filter: blur(12px); }
.elara-sticky[hidden] { display: none !important; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 86px; padding: 11px 0; }
.sticky-product { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sticky-product > img { height: 61px; width: 61px; border: 1px solid #e6ddcf; border-radius: 6px; object-fit: contain; background: #f5f0e7; }
.sticky-product strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.sticky-selection { display: block; font-size: 12px; line-height: 1.5; color: #817158; margin-top: 4px; }
.sticky-purchase { display: flex; gap: 24px; align-items: center; }
.sticky-price { font-size: 24px; color: #783f2c; font-weight: 750; line-height: 1.4; white-space: nowrap; }
.sticky-add { min-height: 49px; padding: 13px 26px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; }
.sticky-add:hover { background: #5c4631; }
.sticky-add:disabled { opacity: .5; cursor: wait; }

/* Delivery-only shopping bag */
.woocommerce-cart .page-main { width: min(1360px,calc(100% - 80px)); }
.woocommerce-cart .page-heading { margin-bottom: 32px; }
.elara-bag-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(300px,1fr); gap: 28px; align-items: start; }
.bag-service { display: flex; gap: 14px; align-items: center; background: #eee8dc; border: 1px solid #e1d7c5; padding: 19px 23px; border-radius: 9px; margin-bottom: 22px; }
.bag-service > span { width: 36px; height: 36px; border-radius: 50%; background: #e2d7c2; display: grid; place-items: center; flex: 0 0 auto; }
.bag-service strong { font-size: 15px; font-weight: 600; }
.bag-service p { font-size: 12px; color: #77664c; margin: 3px 0 0; line-height: 1.7; }
.elara-bag-form { border: 1px solid #e5dccd; border-radius: 10px; background: #fffefa; padding: 22px; }
.bag-items-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.bag-items-heading h2 { font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -.4px; margin: 0; }
.bag-items-heading h2 span { color: #84745d; font-weight: 400; }
.bag-items-heading > span { background: #f0e9dd; padding: 4px 10px; border-radius: 20px; font-size: 10px; color: #80684a; white-space: nowrap; }
.bag-item { display: grid; grid-template-columns: 115px minmax(0,1fr) auto; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.bag-item-photo { display: block; }
.bag-item-photo img { width: 115px; height: 145px; object-fit: contain; background: #f3eee6; border: 1px solid #eae1d4; border-radius: 7px; }
.bag-item-name { font-size: 17px; font-weight: 600; line-height: 1.5; }
.bag-item-meta, .bag-item-meta dl, .bag-item-meta p { font-size: 12px; margin: 8px 0 0; color: #82725a; line-height: 1.7; }
.bag-item-meta strong { font-weight: 500; }
.bag-unit-price { font-size: 16px; font-weight: 600; color: #71432c; margin: 10px 0; }
.bag-unit-price > span { color: #8d7c62; font-size: 11px; font-weight: 400; }
.bag-quantity-row { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.bag-quantity-row > label { font-size: 12px; color: #6c5b43; }
.woocommerce .bag-quantity-row .quantity .qty { min-height: 39px; height: 39px; width: 66px; padding: 7px 5px; font-size: 14px; }
.bag-item-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.bag-item-actions a, .bag-item-actions button { font-size: 11px; color: #735d3c; text-decoration: underline; text-underline-offset: 3px; border: 0; border-radius: 0; padding: 3px 0; background: transparent; line-height: 1.7; }
.bag-line-total { text-align: right; }
.bag-line-total small { display: block; font-size: 10px; color: #958064; margin-bottom: 6px; }
.bag-line-total strong { font-size: 21px; color: #713f2b; font-weight: 750; white-space: nowrap; }
.bag-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; }
.bag-form-actions .coupon { display: flex; gap: 8px; flex: 1; }
.woocommerce .bag-form-actions .coupon .input-text { width: 145px; min-width: 0; font-size: 13px; border-radius: 5px; padding: 10px; }
.woocommerce .bag-form-actions .button { padding: 12px 17px; font-size: 13px; min-height: 42px; border-radius: 5px; line-height: 1.4; }
.woocommerce .bag-form-actions .bag-update { background: #66503a; color: #fff; }
.woocommerce .bag-form-actions .bag-update:disabled { opacity: .4; }
.bag-save-form { display: none; }
.bag-summary { background: #fffefa; border: 1px solid #e5dccd; border-radius: 10px; padding: 26px; position: sticky; top: 50px; }
.bag-summary .cart_totals { float: none !important; width: 100% !important; }
.bag-summary .eyebrow { font-size: 9px; color: #98805c; margin-bottom: 11px; }
.bag-summary h2 { font-family: var(--sans); font-size: 23px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 22px; }
.woocommerce .bag-summary table.shop_table { border: 0; margin: 0; border-collapse: collapse; }
.woocommerce .bag-summary table.shop_table th, .woocommerce .bag-summary table.shop_table td { padding: 13px 0; border: 0; font-size: 14px; vertical-align: top; }
.woocommerce .bag-summary table.shop_table th { width: 35%; font-weight: 400; color: #78684f; }
.woocommerce .bag-summary table.shop_table td { text-align: right; }
.woocommerce .bag-summary .shipping td { font-size: 12px; color: #77684f; }
.woocommerce .bag-summary .shipping p { font-size: 11px; margin-bottom: 9px; }
.woocommerce .bag-summary .shipping ul { margin-bottom: 8px; }
.woocommerce .bag-summary table.shop_table .order-total th, .woocommerce .bag-summary table.shop_table .order-total td { border-top: 1px solid #dcd1be; padding-top: 21px; font-weight: 600; color: #3f3323; }
.woocommerce .bag-summary .order-total .amount { font-size: 27px; font-weight: 750; }
.woocommerce .bag-summary .wc-proceed-to-checkout { padding: 22px 0 0; }
.woocommerce .bag-summary .wc-proceed-to-checkout .checkout-button { display: block; text-align: center; min-height: 53px; font-size: 16px !important; padding: 17px 15px !important; margin: 0; }
.bag-summary-note { font-size: 11px; color: #9a8160; line-height: 1.8; margin: 16px 0 0; }
.bag-summary .woocommerce-shipping-calculator { margin-top: 10px; }
.bag-summary .shipping-calculator-form .form-row { padding: 0 !important; }
.bag-summary .shipping-calculator-form input, .bag-summary .shipping-calculator-form select { font-size: 12px; }
.saved-bags { margin-top: 23px; background: #fffefa; border: 1px solid #e5dccd; border-radius: 10px; padding: 23px; }
.saved-bags > h2 { font-size: 20px; font-family: var(--sans); font-weight: 600; letter-spacing: -.3px; margin-bottom: 15px; }
.saved-bags > h2 span { color: #907b5d; font-weight: 400; }
.saved-bags > p { color: #8d7b5f; font-size: 13px; margin-bottom: 0; }
.saved-bag { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.saved-image { width: 85px; flex: 0 0 85px; }
.saved-image img { width: 85px; height: 95px; object-fit: contain; border-radius: 6px; border: 1px solid #e8dece; }
.saved-bag-detail { min-width: 0; }
.saved-bag-detail > a { font-size: 15px; font-weight: 600; }
.saved-bag-detail > p { margin: 5px 0; font-size: 14px; color: #78472e; }
.saved-bag-detail > .fine-print { font-size: 11px; color: #8d7b5f; }
.saved-bag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 10px; }
.saved-action-form { display: inline-block; margin: 0; }
.saved-action-form button { border: 0; background: transparent; padding: 4px 0; font-size: 12px; color: #7e613b; text-decoration: underline; text-underline-offset: 3px; }
.saved-move button { border: 1px solid #bba381; border-radius: 5px; padding: 7px 11px; text-decoration: none; background: #f4ecdf; }
.bag-keep-shopping { display: inline-block; font-size: 13px; margin-top: 23px; color: #715634; border-bottom: 1px solid #baa485; }
.bag-cart-recommendations { margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--line); }
.bag-cart-recommendations > h2 { font-size: 34px; margin-bottom: 23px; }
.bag-cart-recommendations > .eyebrow { color: #917956; font-size: 10px; }
.bag-cart-recommendations .bag-recommendation-grid { max-width: 850px; }
.woocommerce-cart .cart-empty { background: #efe9de; border-radius: 7px; }
.woocommerce-cart .return-to-shop .button { font-size: 14px; padding: 14px 21px; }
.woocommerce-cart .page-content .saved-bags { margin-bottom: 25px; }

@media(max-width:1000px) {
  .elara-bag-layout { grid-template-columns: minmax(0,1.5fr) minmax(280px,1fr); gap: 20px; }
  .bag-item { grid-template-columns: 90px minmax(0,1fr); gap: 15px; position: relative; }
  .bag-item-photo img { width: 90px; height: 120px; }
  .bag-line-total { grid-column: 2; text-align: left; display: flex; align-items: center; gap: 10px; }
  .bag-line-total small { margin: 0; }
  .bag-line-total strong { font-size: 19px; }
  .bag-summary { padding: 21px; }
}
@media(max-width:800px) {
  .woocommerce-cart .page-main { width: calc(100% - 36px); }
  .elara-bag-layout { grid-template-columns: 1fr; }
  .bag-summary { position: static; }
  .bag-item { grid-template-columns: 115px minmax(0,1fr) auto; gap: 18px; }
  .bag-item-photo img { width: 115px; height: 145px; }
  .bag-line-total { grid-column: auto; display: block; text-align: right; }
}
@media(max-width:600px) {
  .hero-slider { min-height: 280px; height: 280px; }
  .hero-slide .slide-media { padding-bottom: 24px; }
  .slide-caption { left: 13px; right: 13px; bottom: 12px; padding: 10px 12px; gap: 10px; border-radius: 6px; }
  .slide-caption small { font-size: 7px; letter-spacing: 1.1px; margin-bottom: 2px; }
  .slide-caption strong { font-size: 13px; line-height: 1.4; }
  .slide-caption .slide-price { font-size: 17px; }
  .slide-link-icon { height: 29px; width: 29px; flex: 0 0 29px; }
  .slide-link-icon svg { width: 17px; height: 17px; }
  .slider-controls { right: 12px; top: 11px; gap: 2px; padding: 3px; }
  .slider-controls > button { min-width: 29px; height: 29px; font-size: 22px; }
  .slider-controls .slide-pause { font-size: 11px; min-width: 28px; }
  .slide-dot { width: 5px; height: 5px; }
  .slide-dot.is-current { width: 17px; }
  .slider-counter { font-size: 9px; }
  dialog.elara-cart-popup { padding: 20px; max-height: calc(100dvh - 24px); width: calc(100% - 24px); border-radius: 11px; }
  .added-heading { margin-bottom: 20px; }
  .added-heading h2 { font-size: 20px; }
  .added-close { width: 34px; height: 34px; }
  .added-product { grid-template-columns: 105px minmax(0,1fr); gap: 15px; }
  .added-product > img { width: 105px; height: 135px; }
  .added-product-name { font-size: 16px; }
  .added-product-price { font-size: 21px; }
  .added-product-options, .added-product-colour, .added-product-qty { font-size: 12px; }
  .added-actions { grid-template-columns: 1fr; gap: 9px; }
  .added-actions > a { min-height: 47px; font-size: 14px; padding: 12px; }
  .added-recommendations { padding-top: 16px; margin-top: 18px; }
  .added-recommendations .bag-recommendation { font-size: 11px; }
  .added-continue { font-size: 12px; margin-top: 18px; }
  .has-elara-sticky { padding-bottom: 99px; }
  .sticky-inner { min-height: 89px; gap: 11px; padding: 10px 0; }
  .sticky-product { flex: 1; gap: 9px; }
  .sticky-product > img { width: 44px; height: 51px; flex: 0 0 44px; }
  .sticky-product strong { font-size: 12px; line-height: 1.4; }
  .sticky-selection { font-size: 10px; margin-top: 3px; }
  .sticky-purchase { flex-direction: column; align-items: stretch; gap: 4px; }
  .sticky-price { font-size: 17px; text-align: right; line-height: 1.3; }
  .sticky-add { min-height: 40px; padding: 9px 13px; font-size: 12px; gap: 6px; }
  .sticky-add svg { width: 16px; height: 16px; }
  .woocommerce-cart .page-main { width: calc(100% - 28px); }
  .woocommerce-cart .page-heading { margin-bottom: 24px; }
  .bag-service { padding: 15px; gap: 11px; margin-bottom: 16px; }
  .bag-service strong { font-size: 14px; }
  .bag-service p { font-size: 11px; }
  .elara-bag-form { padding: 16px; }
  .bag-items-heading h2 { font-size: 19px; }
  .bag-items-heading > span { font-size: 9px; }
  .bag-item { grid-template-columns: 87px minmax(0,1fr); gap: 13px; padding: 22px 0; }
  .bag-item-photo img { width: 87px; height: 115px; }
  .bag-item-name { font-size: 15px; }
  .bag-unit-price { font-size: 16px; margin: 8px 0; }
  .bag-quantity-row { gap: 9px; margin-top: 12px; }
  .bag-quantity-row > label { font-size: 11px; }
  .bag-item-actions { gap: 7px 13px; margin-top: 12px; }
  .bag-item-actions a, .bag-item-actions button { font-size: 11px; }
  .bag-line-total { grid-column: 2; display: flex; align-items: center; gap: 8px; text-align: left; }
  .bag-line-total strong { font-size: 20px; }
  .bag-form-actions { gap: 13px; padding-top: 18px; }
  .bag-form-actions .coupon { width: 100%; flex-basis: 100%; }
  .woocommerce .bag-form-actions .coupon .input-text { width: auto; flex: 1; }
  .woocommerce .bag-form-actions .bag-update { width: 100%; }
  .bag-summary { padding: 22px; }
  .bag-summary h2 { font-size: 22px; }
  .woocommerce .bag-summary table.shop_table_responsive tr { display: table-row; }
  .woocommerce .bag-summary table.shop_table_responsive tr th { display: table-cell; }
  .woocommerce .bag-summary table.shop_table_responsive tr td { display: table-cell; text-align: right !important; }
  .woocommerce .bag-summary table.shop_table_responsive tr td::before { display: none; }
  .woocommerce .bag-summary table.shop_table_responsive tr:nth-child(2n) td { background: transparent; }
  .woocommerce .bag-summary table.shop_table th, .woocommerce .bag-summary table.shop_table td { font-size: 13px; }
  .woocommerce .bag-summary table.shop_table .shipping td { font-size: 12px; }
  .saved-bags { padding: 18px; }
  .saved-bags > h2 { font-size: 19px; }
  .saved-bags > p { font-size: 12px; }
  .saved-bag { gap: 13px; }
  .saved-image { width: 72px; flex-basis: 72px; }
  .saved-image img { width: 72px; height: 90px; }
  .saved-bag-detail > a { font-size: 14px; }
  .bag-cart-recommendations { margin-top: 32px; }
  .bag-cart-recommendations > h2 { font-size: 29px; }
  .bag-cart-recommendations .bag-recommendation-grid { gap: 11px; }
  .bag-recommendation { font-size: 11px; }
  .bag-recommendation > strong { font-size: 15px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-slide, .hero-slide.is-active { filter: none; transform: none; transition: none; }
  .slide-dot { transition: none; }
}
