:root {
  --editorial-paper: #fbf8f3;
  --editorial-sand: #eee4db;
  --editorial-ink: #321722;
  --editorial-muted: #6f555d;
  --editorial-rule: #dfd0c8;
  --editorial-display: "Playfair Display", Georgia, serif;
}

html:lang(ar) { --editorial-display: "Cairo", Tahoma, sans-serif; }
html:lang(he) { --editorial-display: Arial, sans-serif; }
html { scroll-padding-top: 118px; }
body.espoza-editorial { background: var(--editorial-paper) !important; color: var(--editorial-ink); }
.espoza-editorial [hidden] { display: none !important; }
.espoza-editorial :focus-visible { outline: 2px solid #8d6b36; outline-offset: 4px; }
.espoza-editorial .store-skip { position: fixed; inset-block-start: 8px; inset-inline-start: 12px; z-index: 30000; padding: 12px; color: white; background: var(--wine); transform: translateY(-150%); }
.espoza-editorial .store-skip:focus { transform: translateY(0); }
.espoza-editorial .top-note, .espoza-editorial #espozaSplash { display: none !important; }

.espoza-editorial header { background: var(--editorial-paper) !important; border-bottom: 1px solid var(--editorial-rule); box-shadow: none !important; backdrop-filter: none !important; }
.espoza-editorial header .nav { min-height: 82px !important; max-width: 1440px !important; padding: 12px clamp(16px, 4vw, 64px) !important; display: grid !important; grid-template-columns: 1fr auto 1fr !important; gap: 14px !important; }
.espoza-editorial .store-head-links { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); font-size: 13px; font-weight: 700; color: var(--wine); }
.espoza-editorial .store-head-links a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.espoza-editorial .store-head-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.espoza-editorial header .brand { grid-column: 2; grid-row: 1; position: static !important; transform: none !important; align-self: center; justify-self: center; padding: 0 !important; }
.espoza-editorial header .brand-main { color: var(--wine) !important; font: 600 clamp(24px, 3.25vw, 47px)/.9 "Playfair Display", Georgia, serif !important; letter-spacing: .1em !important; }
.espoza-editorial header .brand-sub { margin-top: 8px; color: #805a28 !important; letter-spacing: .32em !important; font-size: 9px !important; }
.espoza-editorial header .nav-side:not(.end) { grid-column: 3; grid-row: 1; align-self: center; justify-self: start; z-index: 1; }
.espoza-editorial header .nav-side.end { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; padding-inline-start: 55px; gap: 5px !important; }
.espoza-editorial header .icon-btn { min-height: 44px; min-width: 44px; padding: 8px !important; background: none !important; color: var(--wine) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.espoza-editorial header .icon-btn:hover { transform: none !important; background: var(--editorial-sand) !important; }
.espoza-editorial header .wish-btn-label, .espoza-editorial header .cart-btn-label, .espoza-editorial header #whatsappHeader { display: none !important; }
.espoza-editorial #storeAnnouncement { background: var(--wine); color: #fffdf8; }

.espoza-editorial main .store-hero { max-width: 1440px !important; width: 100% !important; margin: 0 auto !important; padding: 26px clamp(16px, 4vw, 64px) 0 !important; display: grid !important; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: stretch; gap: 0; }
.espoza-editorial .store-hero-intro { display: flex; align-items: stretch; max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.espoza-editorial .store-hero-intro .intro-card { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 5vw, 78px) !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--editorial-sand) !important; box-shadow: none !important; text-align: start !important; }
.espoza-editorial .store-hero-kicker { color: var(--wine) !important; font-weight: 800; font-size: 12px !important; letter-spacing: .14em; margin: 0 0 18px !important; }
.espoza-editorial #introTitle { color: var(--wine); font-family: var(--editorial-display) !important; font-size: clamp(35px, 4.9vw, 74px) !important; font-weight: 650 !important; line-height: 1.13 !important; margin: 0 !important; max-width: 11ch; }
.espoza-editorial #introText { color: var(--editorial-muted) !important; margin: 24px 0 0 !important; font-size: clamp(14px, 1.2vw, 17px) !important; line-height: 1.8 !important; max-width: 37ch !important; }
.espoza-editorial .store-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.espoza-editorial .store-action, .espoza-editorial .store-quiet-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; font-size: 13px; font-weight: 800; }
.espoza-editorial .store-action { padding: 0 23px; background: var(--wine); color: #fffaf3; }
.espoza-editorial .store-action:hover { background: var(--dark); }
.espoza-editorial .store-quiet-link { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }
.espoza-editorial .store-hero-meta { margin-top: 28px; padding-top: 15px; border-top: 1px solid #cdbab0; color: var(--editorial-muted); font-size: 12px; }
.espoza-editorial #productTotal { color: var(--wine); font-weight: 800; }
.espoza-editorial .store-hero-gallery { position: relative; min-width: 0; min-height: 0; background: #dec9bb; }
.espoza-editorial .store-hero-gallery #hero { height: 100% !important; min-height: 540px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #dec9bb url("./images/shop-categories/dresses.webp") center 36% / cover no-repeat !important; }
.espoza-editorial .store-hero-gallery #slidesTrack { position: absolute; inset: 0; height: 100% !important; }
.espoza-editorial .store-hero-gallery .hero-slide { min-height: 0 !important; height: 100% !important; background: #d7c2b4 !important; }
.espoza-editorial .store-hero-gallery .hero-slide img { object-fit: cover !important; object-position: center 35% !important; }
.espoza-editorial .store-hero-gallery .hero-overlay { align-items: end !important; justify-content: start !important; padding: 24px 18px 18px !important; background: linear-gradient(0deg, #321722bf, transparent 62%) !important; }
.espoza-editorial .store-hero-gallery .hero-copy { direction: rtl !important; text-align: start !important; margin: 0 !important; width: auto !important; max-width: calc(100% - 115px) !important; display: block !important; }
html:lang(en) .espoza-editorial .store-hero-gallery .hero-copy { direction: ltr !important; }
.espoza-editorial .store-hero-gallery .hero-copy h2 { font: 650 clamp(16px, 2vw, 26px)/1.4 var(--editorial-display); margin: 0 !important; }
.espoza-editorial .store-hero-gallery .hero-copy p { margin: 2px 0; font-size: 12px; color: #fffaf3; line-height: 1.4; overflow-wrap: anywhere; }
.espoza-editorial .store-hero-gallery .hero-copy a { display: inline-flex; align-items: center; color: #fffaf3; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; pointer-events: auto; }
.espoza-editorial .store-hero-gallery .hero-copy :is(h2,a) { overflow-wrap: anywhere; }
.espoza-editorial main .store-hero:has(#storeHeroGallery[hidden]) { grid-template-columns: minmax(0, 1fr); }
.espoza-editorial #storeHeroGallery[hidden], .espoza-editorial #storeCarouselControls[hidden] { display: none; }
.espoza-editorial .store-carousel-controls { position: absolute; inset-block-end: 18px; inset-inline-end: 18px; display: flex; align-items: center; gap: 6px; color: #fffaf3; font-size: 11px; }
.espoza-editorial .store-carousel-controls button { border: 1px solid #fff9; background: #32172270; color: #fffaf3; width: 36px; min-height: 44px; font-size: 24px; line-height: 1; }

.espoza-editorial #shopCatalogue, .espoza-editorial .home-editorial, .espoza-editorial #story, .espoza-editorial #feedback, .espoza-editorial .wishlist-section, .espoza-editorial #publicWishesSection, .espoza-editorial .quick-links, .espoza-editorial #trust {
  box-sizing: border-box; width: min(100%, 1440px) !important; max-width: none !important; margin: 0 auto !important; padding: clamp(38px, 6vw, 82px) clamp(16px, 4vw, 64px) 0 !important;
}
.espoza-editorial .store-catalog-top .toolbar { width: 100% !important; max-width: none !important; margin: 0 0 17px !important; padding: 0 !important; position: static !important; background: none !important; box-shadow: none !important; }
.espoza-editorial .store-catalog-top .search-row { width: min(100%, 30rem); margin-inline-start: auto; }
.espoza-editorial .store-catalog-top .search { min-height: 48px; background: transparent !important; border: 1px solid #bca9a1 !important; border-radius: 0 !important; box-shadow: none !important; width: 100%; }
.espoza-editorial #shopSectionHead { border: 0 !important; border-bottom: 1px solid var(--editorial-rule) !important; padding: 0 0 14px !important; margin: 0 0 20px !important; background: transparent !important; box-shadow: none !important; }
.espoza-editorial #shopSectionHead h2, .espoza-editorial .home-editorial h2, .espoza-editorial #story h2, .espoza-editorial #feedback h2, .espoza-editorial #publicWishesSection h2, .espoza-editorial .wishlist-section h2 { font: 650 clamp(27px, 3.2vw, 46px)/1.25 var(--editorial-display) !important; color: var(--wine) !important; margin-block: 0 10px !important; }
.espoza-editorial .feedback-gallery-nav { display: flex; justify-content: end; gap: 8px; }
.espoza-editorial .feedback-gallery-nav[hidden], .espoza-editorial #feedbackShowcase[hidden] { display: none; }
.espoza-editorial .feedback-gallery-nav button { width: 44px; min-height: 44px; border: 1px solid var(--editorial-rule); background: var(--editorial-paper); color: var(--wine); font-size: 24px; line-height: 1; }
.espoza-editorial .feedback-gallery-nav button:disabled { opacity: .4; }
[dir="rtl"] .feedback-gallery-nav button span { display: inline-block; transform: scaleX(-1); }
.espoza-editorial #feedbackShowcase { direction: inherit; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scroll-padding-inline: 8px; touch-action: pan-x pan-y; cursor: auto; mask-image: none; margin-top: 0; }
.espoza-editorial #feedbackShowcaseTrack { direction: inherit; min-width: 100%; padding-inline: 8px; animation: none; will-change: auto; }
.espoza-editorial #feedbackShowcaseTrack .iphone-frame { scroll-snap-align: start; border: 0; }
.espoza-editorial #feedbackShowcaseTrack .iphone-frame:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.espoza-editorial #feedbackShowcaseTrack .iphone-screen { display: block; background: var(--editorial-sand); }
.espoza-editorial #feedbackShowcaseTrack img:not([src]) { visibility: hidden; }
.espoza-editorial .shop-category-grid { gap: clamp(9px, 1.5vw, 22px) !important; }
.espoza-editorial .shop-category-card { background: var(--editorial-paper) !important; color: var(--wine) !important; border: 1px solid var(--editorial-rule) !important; border-radius: 0 !important; box-shadow: none !important; }
.espoza-editorial .shop-category-photo { aspect-ratio: 4 / 3 !important; background: var(--editorial-sand) !important; }
.espoza-editorial .shop-category-photo img { object-fit: cover !important; object-position: center 32% !important; }
.espoza-editorial .shop-category-card-title { display: flex !important; justify-content: space-between; padding: 12px 14px !important; color: var(--wine) !important; background: none !important; border-top: 0 !important; font-family: var(--editorial-display) !important; min-height: 44px !important; }
.espoza-editorial .shop-category-card-title::after { content: "↗"; color: #825f30; margin-inline-start: 6px; }
.espoza-editorial .shop-filters { gap: 12px; padding: 14px; margin: 0 0 18px; background: var(--editorial-sand); }
.espoza-editorial .shop-filters .field { border-radius: 0 !important; border: 1px solid #bfaaa1 !important; min-height: 42px; }

.espoza-editorial #productsGrid { gap: clamp(10px, 1.55vw, 24px) !important; }
.espoza-editorial #productsGrid .product-card, .espoza-editorial .wishlist-grid .product-card { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
.espoza-editorial .product-card .product-img { display: block; width: 100%; border: 0 !important; padding: 0 !important; background: var(--editorial-sand) !important; border-radius: 0 !important; aspect-ratio: 3 / 4; overflow: hidden; transform: none !important; }
.espoza-editorial .product-card .product-img img { width: 100%; height: 100%; object-fit: cover !important; object-position: center 38% !important; }
.espoza-editorial .product-card .product-info { background: transparent !important; padding: 11px 1px 16px !important; text-align: start; }
.espoza-editorial .product-card .product-name, .espoza-editorial .home-demo-info h3 { color: var(--editorial-ink) !important; font-size: clamp(13px, 1.2vw, 17px) !important; }
.espoza-editorial .product-card .product-meta { color: var(--editorial-muted); font-size: 11px; }
.espoza-editorial .heart-btn { width: 44px !important; height: 44px !important; border: 0 !important; color: var(--wine) !important; background: var(--editorial-paper) !important; border-radius: 50% !important; }
.espoza-editorial .marquee-divider { display: none !important; }
.espoza-editorial .home-editorial, .espoza-editorial .home-motion-panel { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; animation: none !important; }
.espoza-editorial .home-motion-panel { padding: 0 !important; }
.espoza-editorial .home-motion-panel::before, .espoza-editorial .home-motion-panel::after { display: none !important; }
.espoza-editorial .home-editorial .home-demo-grid, .espoza-editorial .home-editorial .home-new-tiles { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: clamp(10px, 1.6vw, 23px) !important; }
.espoza-editorial .home-editorial .home-demo-card, .espoza-editorial .home-new-tile { box-shadow: none !important; border-radius: 0 !important; border: 0 !important; background: var(--editorial-sand) !important; }
.espoza-editorial .home-editorial .home-demo-image, .espoza-editorial .home-new-tile { aspect-ratio: 3 / 4 !important; min-height: 0 !important; height: auto !important; }
.espoza-editorial .home-editorial .home-demo-image img, .espoza-editorial .home-new-tile img { width: 100%; height: 100%; object-fit: cover !important; object-position: center 35%; }
.espoza-editorial .home-demo-card .home-demo-image::after { display: none; }
.espoza-editorial .home-new-tile span { inset: auto 0 0 !important; padding: 12px 9px; background: #321722dd; font-size: 12px; color: #fffaf3; }
.espoza-editorial .home-new-tile:nth-child(1) { grid-column: auto !important; grid-row: auto !important; }

.espoza-editorial #story { display: grid !important; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: stretch; background: none !important; border: 0 !important; box-shadow: none !important; }
.espoza-editorial #story.hidden { display: none !important; }
.espoza-editorial #story .store-story-photo { margin: 0; min-width: 0; min-height: 340px; background: var(--editorial-sand); }
.espoza-editorial .store-story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.espoza-editorial #story .story-inner { width: auto !important; max-width: none !important; margin: 0 !important; padding: clamp(24px,5vw,64px) !important; text-align: start !important; background: var(--editorial-sand) !important; border: 0 !important; border-radius: 0 !important; }
.espoza-editorial #story p { color: var(--editorial-muted) !important; line-height: 1.9; }
.espoza-editorial .customer-reviews-card, .espoza-editorial .feedback-head { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--editorial-sand) !important; }
.espoza-editorial .quick-links { padding-block-end: 35px !important; }
.espoza-editorial .quick-links-inner { border-top: 1px solid var(--editorial-rule); padding-top: 12px; }
.espoza-editorial footer { background: var(--wine) !important; color: #fff8ef !important; border-top: 0 !important; padding: 45px clamp(16px, 4vw, 64px) !important; }
.espoza-editorial .footer-premium { max-width: 1312px !important; margin: auto !important; gap: 40px !important; }

.espoza-editorial .modal { background: #3217229e; backdrop-filter: blur(3px); }
.espoza-editorial #productModal .modal-box, .espoza-editorial #cartModal .modal-box, .espoza-editorial #orderModal .modal-box, .espoza-editorial #customerAccountModal .modal-box, .espoza-editorial dialog.receipt-card { border: 1px solid var(--editorial-rule) !important; border-radius: 4px !important; background: var(--editorial-paper) !important; color: var(--editorial-ink); }
.espoza-editorial #productModal .modal-box { width: min(1050px,100%); padding: clamp(14px, 3vw, 34px) !important; }
.espoza-editorial #productModal .detail-main { border-radius: 0 !important; background: var(--editorial-sand) !important; }
.espoza-editorial #productModal .detail-info { padding: clamp(8px, 2vw, 18px); }
.espoza-editorial #detailName, .espoza-editorial #cartHeading, .espoza-editorial #orderHeading { color: var(--wine); font: 650 clamp(24px,3vw,42px)/1.2 var(--editorial-display) !important; }
.espoza-editorial .modal .field, .espoza-editorial dialog .field { border-radius: 0 !important; border: 1px solid #bea99f !important; background: #fffdf8 !important; color: var(--editorial-ink); }
.espoza-editorial .modal .total-box, .espoza-editorial .modal .order-cart-summary, .espoza-editorial .receipt-meta { background: var(--editorial-sand) !important; border-radius: 0 !important; }
.espoza-editorial .modal .send-btn, .espoza-editorial .modal .order-btn, .espoza-editorial .receipt-actions button { min-height: 46px; border-radius: 0 !important; }
.espoza-editorial .modal .close-btn { left: auto !important; inset-inline-end: 10px; min-height: 44px; min-width: 44px; color: var(--wine); background: var(--editorial-sand); }
.espoza-editorial .mobile-store-nav { box-shadow: none !important; border-color: var(--editorial-rule); }

@media (max-width: 950px) {
  .espoza-editorial .store-head-links { display: none; }
  .espoza-editorial header .nav-side:not(.end) { grid-column: 1; padding-inline-start: 0; }
  .espoza-editorial header .nav-side.end { padding-inline-start: 0; }
  .espoza-editorial .store-hero-gallery #hero { min-height: 440px !important; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .espoza-editorial header .nav { min-height: 62px !important; gap: 4px !important; padding: 6px 12px !important; }
  .espoza-editorial header .nav-side.end { gap: 0 !important; }
  .espoza-editorial header .wish-header-btn { display: none !important; }
  .espoza-editorial main .store-hero { grid-template-columns: minmax(0,1fr); padding: 0 !important; }
  .espoza-editorial .store-hero-intro .intro-card { padding: 25px 20px 27px !important; }
  .espoza-editorial #introTitle { font-size: clamp(33px,9vw,52px) !important; max-width: none; }
  .espoza-editorial #introText { margin-top: 10px !important; max-width: 44ch !important; }
  .espoza-editorial .store-hero-kicker { margin-bottom: 9px !important; }
  .espoza-editorial .store-hero-actions { margin-top: 16px; }
  .espoza-editorial .store-hero-meta { margin-top: 14px; padding-top: 8px; }
  .espoza-editorial .store-hero-gallery #hero { min-height: 0 !important; height: clamp(255px,76vw,415px) !important; }
  .espoza-editorial .store-carousel-controls { inset-block-end: 12px; inset-inline-end: 12px; }
  .espoza-editorial .store-carousel-controls button { width: 44px; }
  .espoza-editorial .shop-category-grid, .espoza-editorial .home-editorial .home-demo-grid, .espoza-editorial .home-editorial .home-new-tiles { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .espoza-editorial .shop-category-card-title { font-size: 13px !important; padding: 9px 10px !important; }
  .espoza-editorial #story { grid-template-columns: 1fr; }
  .espoza-editorial #story .store-story-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .espoza-editorial #productModal .modal-box, .espoza-editorial #cartModal .modal-box { border-radius: 15px 15px 0 0 !important; }
  .espoza-editorial .modal .product-purchase-actions { background: var(--editorial-paper); }
}

@media (prefers-reduced-motion: reduce) {
  .espoza-editorial *, .espoza-editorial *::before, .espoza-editorial *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

html[dir="rtl"] .espoza-editorial .store-hero-gallery .hero-overlay { direction: rtl; }
html[dir="ltr"] .espoza-editorial .store-hero-gallery .hero-overlay { direction: ltr; }
.espoza-editorial .store-hero-gallery .hero-slide { background: transparent !important; }
.espoza-editorial .store-hero-gallery .hero-slide img { display: block !important; position: static !important; width: 100% !important; height: 100% !important; }
.espoza-editorial .store-hero-gallery .hero-slide img:not([src]) { visibility: hidden; }
.espoza-editorial .store-hero-gallery .hero-copy { max-width: calc(100% - 135px) !important; }
.espoza-editorial #floatingCartBtn { display: none !important; }
.espoza-editorial #searchInput { padding-inline: 16px !important; }
.espoza-editorial #searchInput::placeholder { color: var(--editorial-muted); }

@media (max-width: 640px) {
  .espoza-editorial .store-hero-gallery .hero-overlay { padding: 14px 13px !important; }
  .espoza-editorial #cartModal .modal-box, .espoza-editorial #orderModal .modal-box { padding: 20px 16px max(20px,env(safe-area-inset-bottom)); }
}

.espoza-editorial .store-menu-mark {
  display: block;
  width: 19px;
  height: 12px;
  border-block: 1.5px solid currentColor;
  position: relative;
}
.espoza-editorial .store-menu-mark::after { content: ""; position: absolute; inset: 4px 3px auto 0; border-top: 1.5px solid currentColor; }
.espoza-editorial #menuBtn { display: grid !important; place-items: center; }
.espoza-editorial #storeNavTrack { color: #704a29; }
.espoza-editorial .store-hero-meta { display: none; }

.espoza-editorial #orderModal .checkout-flow { width: min(820px, 100%); max-width: none; padding: clamp(17px, 3vw, 34px); }
.checkout-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.checkout-steps li { border-bottom: 2px solid #dfd0c8; color: #6f555d; padding-block: 7px 10px; font-size: 12px; }
.checkout-steps li[aria-current=step] { border-color: #641f34; color: #641f34; font-weight: 800; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(12px, 3vw, 26px); }
.checkout-layout h3 { margin: 0 0 12px; color: #641f34; font-size: 17px; }
.checkout-form .field { min-height: 44px; }
.checkout-form textarea.field { min-height: 72px; resize: vertical; }
.checkout-phone { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 6px; }
.checkout-summary { background: #f2e8e0; padding: 14px; border: 1px solid #dfd0c8; min-width: 0; align-self: start; }
.checkout-summary .order-cart-summary, .checkout-summary .total-box { padding: 5px 0; background: transparent !important; border: 0; }
.checkout-summary .order-cart-summary { border-block: 1px solid #dfd0c8; margin: 0 0 8px; }
.checkout-summary .order-summary-line { overflow-wrap: anywhere; }
.checkout-summary .order-summary-line b, .checkout-summary .total-line b { flex-shrink: 0; }
.checkout-summary .cod-note { text-align: start; line-height: 1.6; }
.checkout-buttons { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 9px; margin-top: 17px; }
.checkout-buttons .send-btn { margin: 0; width: 100%; }
.checkout-back { min-height: 46px; border: 1px solid #a77e75; background: transparent; color: #641f34; font-weight: 800; }
#checkoutFlowIssue { margin: 10px 0 0; color: #861f33; background: #f7e5e6; padding: 8px 11px; font-size: 13px; }

.espoza-editorial dialog.order-service-dialog { padding: 0; margin: auto; width: min(610px, calc(100% - 20px)); max-height: min(91dvh, 800px); overscroll-behavior: contain; }
.espoza-editorial dialog.order-service-dialog:not([open]) { display: none; }
.espoza-editorial dialog.order-service-dialog::backdrop { background: #24121bb0; backdrop-filter: blur(3px); }
body:has(dialog.order-service-dialog[open]) { overflow: hidden; }
.order-service-content { padding: clamp(16px, 4vw, 29px); min-width: 0; }
.order-service-heading, .order-receipt-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order-service-content h2 { margin: 0; color: #641f34; font: 650 clamp(22px,4.5vw,34px)/1.25 var(--editorial-display); }
.order-service-close { width: 44px; height: 44px; flex: 0 0 44px; background: transparent; color: #641f34; border: 1px solid #dfd0c8; font-size: 24px; line-height: 1; }
.order-service-close:hover { background: #eee4db; }
.order-service-intro { margin: 10px 0 19px; color: #6f555d; font-size: 14px; line-height: 1.6; }
.order-confirm-summary { display: grid; border-block: 1px solid #dfd0c8; margin: 14px 0 0; }
.order-confirm-summary > div, .receipt-totals > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; }
.order-confirm-summary dd, .receipt-meta dd, .receipt-totals dd { margin: 0; overflow-wrap: anywhere; }
.order-confirm-summary dd { text-align: end; color: #321722; font-weight: 750; }
.order-confirm-summary > div:last-child { border-top: 1px solid #dfd0c8; color: #641f34; font-weight: 800; }
#trackOrderForm label { display: block; color: #641f34; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.track-order-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.track-order-fields input { flex: 1 1 190px; width: auto; min-height: 46px; min-width: 0; font: 13px ui-monospace, monospace; }
.order-service-primary { flex: 1 0 auto; min-height: 46px; border: 1px solid #641f34; background: #641f34; color: #fffdf8; padding: 8px 13px; font-weight: 800; }
.order-service-primary:disabled { opacity: .75; }
.track-order-message { background: #efe5de; border-inline-start: 3px solid #8d6b36; padding: 10px 12px; margin: 14px 0 0; color: #641f34; font-size: 13px; }
.tracking-overview { margin: 16px 0; padding: 14px 16px; background: #eee4db; border-inline-start: 3px solid #641f34; }
.tracking-overview.tracking-cancelled { background: #f3e1e4; }
.tracking-overview span { color: #6f555d; font-size: 12px; }
.tracking-overview h3 { margin: 4px 0 0; color: #641f34; font-size: 19px; }
.tracking-history-title { margin: 18px 0 9px; font-size: 14px; color: #641f34; }
.tracking-timeline { margin: 0 7px 0; padding: 0; list-style: none; }
.tracking-timeline li { position: relative; border-inline-start: 1px solid #bfa79a; padding: 0 15px 17px; }
.tracking-timeline li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a48247; position: absolute; inset-inline-start: -5px; inset-block-start: 8px; }
.tracking-timeline li:first-child::before { background: #641f34; }
.tracking-timeline li:last-child { border-color: transparent; padding-block-end: 0; }
.tracking-timeline time, .tracking-timeline p { display: block; font-size: 12px; margin: 3px 0 0; color: #6f555d; overflow-wrap: anywhere; }
.tracking-timeline p { white-space: pre-wrap; }

.order-receipt-bar { border-bottom: 1px solid #dfd0c8; padding-bottom: 10px; }
.receipt-wordmark { color: #641f34; font: 600 23px/1 Georgia, serif; letter-spacing: .1em; }
.receipt-wordmark small { color: #805a28; font: 650 8px/1 sans-serif; letter-spacing: .18em; }
.receipt-success-heading { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.receipt-success-heading > span { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 50%; color: #2e6049; background: #e5eee5; font-weight: 800; }
.receipt-success-heading p { color: #6f555d; margin: 4px 0 0; font-size: 13px; }
.receipt-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 14px; margin: 0 0 13px; padding: 11px 12px; }
.receipt-meta div:last-child { grid-column: 1 / -1; }
.receipt-meta dt { color: #6f555d; font-size: 11px; }
.receipt-meta dd { color: #321722; font-size: 13px; text-align: start; }
.receipt-meta dd[dir=ltr] { text-align: match-parent; }
.receipt-items { border-collapse: collapse; width: 100%; font-size: 12px; }
.receipt-items th, .receipt-items td { text-align: start; padding: 8px 3px; vertical-align: top; border-bottom: 1px solid #dfd0c8; }
.receipt-items th:last-child, .receipt-items td:last-child { text-align: end; }
.receipt-items thead, .receipt-items tbody th { color: #641f34; }
.receipt-items tbody th { overflow-wrap: anywhere; }
.receipt-items small { display: block; margin-top: 2px; color: #6f555d; }
.receipt-totals { margin: 8px 0 0; font-size: 13px; }
.receipt-totals dd { font-weight: 750; }
.receipt-totals > div:last-child { border-top: 1px solid #bfa79a; color: #641f34; font-size: 16px; font-weight: 800; }
.receipt-tracking { border: 1px solid #dfd0c8; margin-top: 9px; padding: 10px 12px; background: #f3ebe3; }
.receipt-tracking h3 { margin: 0 0 3px; font-size: 13px; color: #641f34; }
.receipt-tracking code { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; font-size: 12px; color: #321722; }
.receipt-tracking .receipt-actions { margin-top: 9px; }
.receipt-bar-actions { display: flex; align-items: center; gap: 6px; }
.receipt-print-control, .receipt-share { min-height: 44px; border: 1px solid #dfd0c8; background: transparent; color: #641f34; padding-inline: 8px; font-size: 12px; font-weight: 800; }
.receipt-print-control:hover, .receipt-share:hover { background: #eee4db; }
.receipt-share { margin-top: 10px; }

#receiptCopyStatus { margin: 7px 0 0; color: #641f34; font-size: 12px; }

@media (max-width: 640px) {
  .espoza-editorial .store-hero-gallery { grid-row: 1; }
  .espoza-editorial .store-hero-gallery #hero { height: clamp(230px,65vw,350px) !important; }
  .espoza-editorial .store-hero-intro .intro-card { padding: 19px 18px 22px !important; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { padding: 10px; }
  .checkout-steps { margin-bottom: 13px; }
}

@media print {
  @page { size: A4; margin: 13mm; }
  body:has(#orderReceiptModal[open]) { background: white !important; padding: 0 !important; overflow: visible; }
  body:has(#orderReceiptModal[open]) > :not(#orderReceiptModal), #orderReceiptModal::backdrop { display: none !important; }
  .espoza-editorial #orderReceiptModal { position: static; width: 100%; max-width: none; max-height: none; overflow: visible; box-shadow: none; background: white !important; border: 0 !important; }
  #orderReceiptModal .order-service-content { padding: 0; }
  #orderReceiptModal .receipt-actions, .receipt-bar-actions, .receipt-share, #receiptCopyStatus { display: none !important; }
  #orderReceiptModal .receipt-meta, #orderReceiptModal .receipt-tracking, #orderReceiptModal .receipt-totals, #orderReceiptModal tr { break-inside: avoid; }
}

.order-review-items { margin-top: 14px; }
.checkout-progress {
  color: #641f34;
  font-size: 13px;
  margin: 15px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-progress::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #dfd0c8;
  border-inline-end-color: #641f34;
  border-radius: 50%;
  animation: checkout-spin .8s linear infinite;
}
@keyframes checkout-spin { to { transform: rotate(360deg); } }

.espoza-editorial[data-store-view="collection"] #storeMain > :not(#shopCatalogue) { display: none !important; }
.espoza-editorial[data-store-view="collection"] #shopCatalogue { min-height: 64vh; padding-block-end: 44px !important; }
.store-collection-home { display: none; }
.espoza-editorial[data-store-view="collection"] .store-collection-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--wine);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.store-globe-icon,.store-bag-icon { position: relative; display: inline-block; flex-shrink: 0; color: inherit; }
.store-globe-icon { width: 19px; height: 19px; border: 1.5px solid currentColor; border-radius: 50%; }
.store-globe-icon::before { content: ""; position: absolute; inset: -1.5px 4px; border: 1px solid currentColor; border-radius: 50%; }
.store-globe-icon::after { content: ""; position: absolute; inset: 7px 0 auto; border-top: 1px solid currentColor; }
.store-bag-icon { width: 17px; height: 15px; margin-top: 4px; border: 1.5px solid currentColor; border-radius: 2px; }
.store-bag-icon::before { content: ""; position: absolute; top: -6px; left: 3.5px; width: 7px; height: 7px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }
.espoza-editorial .store-language-dialog { max-width: 365px; }
.store-language-options { display: grid; gap: 7px; margin-top: 14px; }
.store-language-options button { min-height: 44px; padding-inline: 14px; text-align: start; border: 1px solid #dfd0c8; background: #fffdf8; color: var(--wine); font-weight: 700; }
.store-language-options button[aria-pressed=true] { background: #eee4db; border-color: var(--wine); }

.product-fabric-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 7px;
  margin-top: 9px;
}
.product-fabric-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee4db; }

.standalone-tracking { --wine: #641f34; margin: 0; background: #fbf8f3; color: #321722; font: 16px/1.55 system-ui, sans-serif; }
.standalone-tracking *, .standalone-tracking *::before, .standalone-tracking *::after { box-sizing: border-box; }
.standalone-tracking [hidden] { display: none !important; }
.standalone-tracking :focus-visible { outline: 2px solid #8d6b36; outline-offset: 3px; }
.track-page-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #dfd0c8; padding: 14px clamp(16px, 5vw, 58px); }
.track-page-header a { display: inline-flex; align-items: center; min-height: 44px; color: #641f34; }
.track-brand { gap: 7px; text-decoration: none; font: 600 25px/1 Georgia, serif; letter-spacing: .1em; }
.track-brand small { font: 650 8px/1 sans-serif; letter-spacing: .14em; }
.track-page-main { padding: clamp(22px, 8vw, 90px) 14px; }
.track-page-card { width: min(100%, 590px); margin: auto; padding: clamp(15px, 4vw, 31px); background: #fffdfa; border: 1px solid #dfd0c8; }
.track-page-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 7px 13px; }
.track-page-heading h1 { color: #641f34; font-size: clamp(23px, 5vw, 36px); margin: 0; }
.track-page-card > p { color: #6f555d; margin: 9px 0 18px; }
.track-language { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.track-language select, .standalone-tracking #trackOrderCode { border: 1px solid #bfa79a; background: #fffdf8; color: #321722; padding: 7px 9px; min-height: 44px; }

.customer-order-card [data-customer-receipt] { display: block; min-height: 42px; margin-top: 8px; }
#customerOrderStatus:empty { display: none; }
