@font-face {
  font-family: "Cerezimmo Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-variable.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Cerezimmo Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2-variations");
}

:root {
  --wine: #58101b;
  --wine-bright: #711426;
  --ivory: #f5f2eb;
  --cream: #e8ded0;
  --gold: #c6a15b;
  --charcoal: #251e1b;
  --muted: #8e8175;
  --font-display: "Cerezimmo Fraunces", Georgia, serif;
  --font-sans: "Cerezimmo Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--font-sans); font-synthesis: none; }
h1, h2, h3, .menu-category-links strong, .other-collections a, .admin-topbar strong, .product-list-scroll strong { font-family: var(--font-display) !important; }
body.cerezimmo-no-scroll { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.cerezimmo-site-shell { min-height: 100vh; overflow-x: clip; }

.promo-carousel { min-height: 48px; padding: 10px clamp(14px, 4vw, 52px); background: var(--ivory); color: var(--wine); border-bottom: 1px solid #d8cec1; display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; position: relative; z-index: 31; }
.promo-carousel > div { min-width: 0; display: flex; justify-content: center; align-items: center; gap: 11px; text-align: center; }
.promo-carousel > div > span { color: var(--gold); font-size: 12px; }
.promo-carousel p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; letter-spacing: .055em; animation: promo-arrive .45s ease both; }
.promo-carousel button { width: 32px; height: 28px; border: 0; background: transparent; color: var(--wine); font: 24px/1 var(--font-display); opacity: .7; }
.promo-carousel button:hover { opacity: 1; }

.site-header-group {
  position: sticky; top: 0; z-index: 30; background: var(--wine);
  box-shadow: 0 9px 26px rgba(37,30,27,.1);
}
.site-header {
  height: 92px; padding: 0 clamp(24px, 4.8vw, 76px); display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(350px, 1fr);
  align-items: center; background: var(--wine); color: var(--ivory); position: relative; z-index: 1;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.brand { width: 230px; height: 44px; display: flex; align-items: center; justify-self: center; overflow: hidden; }
.brand img { display: block; width: 100%; height: auto; }
.menu-trigger { justify-self: start; display: inline-flex; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--ivory); padding: 11px 0; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 750; }
.menu-trigger svg { width: 21px; height: 21px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(4px, 1.2vw, 16px); }
.header-action { min-height: 44px; border: 0; background: transparent; color: var(--ivory); padding: 9px 8px; display: inline-flex; align-items: center; gap: 7px; position: relative; text-decoration: none; font-size: 11px; transition: color .2s ease, opacity .2s ease; }
.header-action:hover, .header-action.active { color: var(--gold); }
.header-action > svg { width: 18px; height: 18px; }
.header-action-label { white-space: nowrap; }
.header-count { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--ivory); color: var(--wine); font-size: 9px; font-weight: 800; }
.header-action.favorites-trigger.receiving-favorite > svg { animation: favorite-receive .86s cubic-bezier(.22,.72,.24,1); }
.header-action.favorites-trigger.receiving-favorite .header-count { animation: favorite-count-pop .86s cubic-bezier(.22,.72,.24,1); }
.header-action.favorites-trigger.receiving-favorite::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--gold); border-radius: 999px; pointer-events: none; animation: favorite-target-halo .86s ease-out both; }
.cart-trigger { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--ivory); padding: 10px 0 10px 8px; position: relative; }
.bag-icon { width: 24px; height: 23px; display: inline-block; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.bag-icon::before { content: ""; position: absolute; width: 10px; height: 8px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; left: 5px; top: -8px; }
.bag-icon.large { width: 34px; height: 32px; }
.bag-icon.large::before { width: 14px; height: 10px; left: 8px; top: -10px; }
.cart-count { width: 25px; height: 25px; border-radius: 50%; background: var(--ivory); color: var(--wine); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.cart-trigger.receiving .bag-icon { animation: cart-receive .82s cubic-bezier(.22,.72,.24,1); }
.cart-trigger.receiving .cart-count { animation: count-pop .82s cubic-bezier(.22,.72,.24,1); }
.cart-trigger.receiving::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--gold); border-radius: 999px; pointer-events: none; animation: cart-halo .82s ease-out both; }
.header-category-nav { overflow-x: auto; overflow-y: hidden; background: rgba(245,242,235,.042); color: var(--ivory); border-top: 1px solid rgba(245,242,235,.12); border-bottom: 1px solid rgba(37,30,27,.12); backdrop-filter: blur(12px); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
.header-category-nav::-webkit-scrollbar { display: none; }
.header-category-track { width: max-content; min-width: 100%; min-height: 43px; padding: 0 clamp(16px, 4vw, 58px); display: flex; align-items: stretch; justify-content: center; }
.header-category-track a { min-height: 43px; padding: 0 clamp(17px, 2.3vw, 34px); color: rgba(245,242,235,.82); display: inline-flex; align-items: center; justify-content: center; position: relative; flex: 0 0 auto; scroll-snap-align: start; text-decoration: none; white-space: nowrap; font-size: 11px; font-weight: 650; letter-spacing: .035em; transition: color .22s ease, background .22s ease; }
.header-category-track a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--gold); transition: left .25s ease, right .25s ease; }
.header-category-track a:hover, .header-category-track a:focus-visible, .header-category-track a[aria-current="page"] { color: var(--ivory); background: rgba(245,242,235,.045); outline: none; }
.header-category-track a:hover::after, .header-category-track a:focus-visible::after, .header-category-track a[aria-current="page"]::after { left: 20%; right: 20%; }
.fly-to-cart { position: fixed; z-index: 120; margin: 0; padding: 4px; border: 1px solid var(--gold); border-radius: 7px; background: var(--ivory); pointer-events: none; box-shadow: 0 0 0 1px rgba(255,255,255,.72), 0 22px 46px rgba(37,30,27,.3), 0 0 30px rgba(198,161,91,.22); will-change: transform, opacity; }
.fly-to-cart img { display: block; width: 100%; height: 100%; border-radius: 3px; object-fit: cover; }
.fly-to-cart::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(198,161,91,.45); border-radius: 11px; animation: flight-halo 1.18s ease-out both; }
.fly-to-cart span { position: absolute; right: -13px; top: -13px; width: 31px; height: 31px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: var(--gold); font-size: 13px; box-shadow: 0 7px 18px rgba(37,30,27,.22); animation: flight-sparkle 1.18s ease-in-out both; }
.fly-to-favorites { position: fixed; z-index: 122; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--wine); color: var(--ivory); pointer-events: none; box-shadow: 0 0 0 1px rgba(255,255,255,.72), 0 15px 34px rgba(37,30,27,.3), 0 0 28px rgba(198,161,91,.35); will-change: transform, opacity; }
.fly-to-favorites svg { width: 45%; height: 45%; fill: currentColor; }
.fly-to-favorites::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(198,161,91,.55); border-radius: 50%; animation: favorite-flight-ring 1.08s ease-out both; }
.fly-to-favorites::after { content: "✦"; position: absolute; right: -10px; top: -11px; color: var(--gold); font-size: 16px; text-shadow: 0 3px 10px rgba(37,30,27,.25); animation: favorite-flight-sparkle 1.05s ease-in-out both; }

.menu-backdrop { position: fixed; inset: 0; z-index: 44; border: 0; background: rgba(37,30,27,.58); opacity: 0; backdrop-filter: blur(0); transition: opacity .46s ease, backdrop-filter .46s ease; }
.menu-backdrop.visible { opacity: 1; backdrop-filter: blur(4px); }
.menu-drawer { position: fixed; inset: 0 auto 0 0; z-index: 45; width: min(470px, 94vw); background: var(--ivory); color: var(--charcoal); box-shadow: 24px 0 70px rgba(37,30,27,.22); opacity: .72; transform: translateX(-108%) scale(.985); transform-origin: left center; transition: transform .52s cubic-bezier(.2,.78,.2,1), opacity .42s ease, box-shadow .52s ease; display: flex; flex-direction: column; overflow: hidden; will-change: transform, opacity; }
.menu-drawer.open { opacity: 1; transform: translateX(0) scale(1); box-shadow: 30px 0 90px rgba(37,30,27,.27); }
.menu-drawer-header { min-height: 94px; padding: 24px 30px; border-bottom: 1px solid #d8cec1; display: flex; align-items: center; justify-content: space-between; }
.menu-drawer-header img { width: 210px; max-height: 42px; object-fit: contain; object-position: left center; }
.menu-drawer-header button { width: 42px; height: 42px; border: 1px solid #d8cec1; border-radius: 50%; background: transparent; color: var(--wine); display: grid; place-items: center; transition: color .25s ease, background .25s ease, transform .38s cubic-bezier(.22,.72,.24,1); }
.menu-drawer-header button:hover { color: var(--ivory); background: var(--wine); transform: rotate(90deg); }
.menu-drawer-header button svg { width: 19px; height: 19px; }
.menu-drawer-body { flex: 1; padding: 32px 30px 24px; overflow-y: auto; }
.menu-kicker { display: block; margin-bottom: 16px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.menu-category-links { border-top: 1px solid #d8cec1; }
.menu-category-links button, .menu-category-links a { width: 100%; min-height: 62px; padding: 12px 2px; border: 0; border-bottom: 1px solid #d8cec1; background: transparent; color: var(--wine); display: grid; grid-template-columns: 1fr 18px; align-items: center; gap: 12px; text-align: left; text-decoration: none; transition: padding .25s ease, background .25s ease, color .25s ease; }
.menu-category-links button:hover, .menu-category-links a:hover { padding-left: 10px; background: rgba(88,16,27,.035); }
.menu-category-links button strong, .menu-category-links a strong { font: 400 20px/1.08 var(--font-display); }
.menu-category-links button svg, .menu-category-links a svg { width: 12px; height: 12px; color: var(--gold); }
.menu-drawer.open .menu-drawer-header { animation: drawer-detail-in .55s .08s cubic-bezier(.22,.72,.24,1) both; }
.menu-drawer.open .menu-kicker { animation: drawer-detail-in .5s .14s cubic-bezier(.22,.72,.24,1) both; }
.menu-drawer.open .menu-category-links a { animation: menu-link-in .48s cubic-bezier(.22,.72,.24,1) both; }
.menu-drawer.open .menu-category-links a:nth-child(1) { animation-delay: .17s; }
.menu-drawer.open .menu-category-links a:nth-child(2) { animation-delay: .22s; }
.menu-drawer.open .menu-category-links a:nth-child(3) { animation-delay: .27s; }
.menu-drawer.open .menu-category-links a:nth-child(4) { animation-delay: .32s; }
.menu-drawer.open .menu-secondary-links { animation: drawer-detail-in .5s .35s cubic-bezier(.22,.72,.24,1) both; }
.menu-drawer.open .menu-drawer-footer { animation: drawer-detail-in .5s .4s cubic-bezier(.22,.72,.24,1) both; }
.menu-secondary-links { margin-top: 27px; display: grid; gap: 4px; }
.menu-secondary-links a, .menu-secondary-links button { width: 100%; min-height: 49px; padding: 11px 13px; border: 0; background: transparent; color: var(--charcoal); text-decoration: none; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; text-align: left; }
.menu-secondary-links a:hover, .menu-secondary-links button:hover { background: #ece4d9; color: var(--wine); }
.menu-secondary-links svg { width: 15px; height: 15px; color: var(--wine); }
.menu-secondary-links small { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--wine); color: var(--ivory); display: grid; place-items: center; font-size: 9px; }
.menu-drawer-footer { padding: 20px 30px 25px; background: #ece4d9; border-top: 1px solid #d8cec1; }
.menu-drawer-footer > span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.menu-drawer-footer p, .menu-drawer-footer strong { display: block; margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }

.hero { min-height: calc(100vh - 92px); max-width: 1500px; margin: 0 auto; padding: clamp(50px, 7vw, 100px) clamp(24px, 5vw, 82px) 46px; display: grid; grid-template-columns: .85fr 1.35fr; align-items: center; gap: clamp(34px, 5vw, 82px); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; animation: reveal-up .65s ease both; }
.eyebrow { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 700; margin-bottom: 18px; }
.hero h1, .section-heading h2, .story h2, .cart-header h2 { font-family: var(--font-display); font-weight: 400; }
.hero h1 { color: var(--wine); font-size: clamp(58px, 6.8vw, 105px); line-height: .91; letter-spacing: -.045em; margin: 0; }
.gold-line { display: block; width: 64px; height: 1px; background: var(--gold); margin: 34px 0 27px; }
.hero-copy p { color: var(--muted); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.7; max-width: 430px; margin: 0 0 34px; }
.primary-button { display: inline-flex; justify-content: center; border: 0; color: var(--ivory); background: var(--wine); padding: 20px 34px; min-width: 230px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.primary-button:hover { background: var(--wine-bright); transform: translateY(-2px); }
.hero-photo-wrap { min-height: 620px; position: relative; animation: photo-reveal .75s .12s ease both; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; z-index: 1; }
.wine-block { position: absolute; width: 120px; height: 170px; background: var(--wine); left: -38px; bottom: -34px; z-index: 0; }

.category-rail { max-width: 1400px; margin: 0 auto 70px; padding: 0 clamp(24px, 5vw, 82px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #d8cec1; border-bottom: 1px solid #d8cec1; }
.category-rail button, .category-rail a { border: 0; border-right: 1px solid #d8cec1; background: transparent; color: var(--charcoal); padding: 26px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; text-align: left; text-decoration: none; transition: color .2s ease, background .2s ease; }
.category-rail button:first-child, .category-rail a:first-child { border-left: 1px solid #d8cec1; }
.category-rail button:hover, .category-rail a:hover { color: var(--wine); background: rgba(88,16,27,.035); }
.category-symbol { width: 28px; height: 28px; border: 1.5px solid var(--gold); border-radius: 50%; display: block; }
.symbol-2 { border-radius: 45%; transform: scaleY(.55); }
.symbol-3 { width: 12px; height: 26px; border-radius: 50%; box-shadow: 16px 0 0 -1px var(--ivory), 16px 0 0 0 var(--gold); margin-right: 16px; }
.symbol-4 { width: 22px; height: 22px; border-radius: 0 50% 50%; transform: rotate(45deg) scale(.7); }

.collection { padding: 92px clamp(24px, 5vw, 82px) 120px; background: #fffdf8; }
.section-heading { max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2, .story h2 { color: var(--wine); font-size: clamp(42px, 5vw, 70px); line-height: 1.03; letter-spacing: -.035em; margin: 0; }
.search-field { width: min(350px, 100%); border-bottom: 1px solid #cfc3b6; display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--muted); font-size: 13px; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--charcoal); }
.filters { max-width: 1320px; margin: 50px auto 38px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.filters button { border: 1px solid #d8cec1; border-radius: 999px; background: transparent; padding: 10px 20px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.filters button svg { width: 12px; height: 12px; }
.filters button.active { color: var(--ivory); background: var(--wine); border-color: var(--wine); }
.catalog-summary { max-width: 1320px; margin: -18px auto 28px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.catalog-summary span:first-child { color: var(--wine); font-weight: 700; }
.category-page { background: var(--ivory); }
.category-hero { min-height: 390px; padding: clamp(52px, 7vw, 92px) clamp(24px, 8vw, 135px) 58px; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(circle at 88% 16%, rgba(198,161,91,.17), transparent 27%), linear-gradient(135deg, #f5f2eb, #eee5d9); border-bottom: 1px solid #d8cec1; }
.category-hero nav { display: flex; align-items: center; gap: 9px; margin-bottom: auto; color: var(--muted); font-size: 11px; }
.category-hero nav a { color: var(--wine); text-decoration: none; border-bottom: 1px solid rgba(88,16,27,.35); }
.category-hero .eyebrow { margin-top: 42px; }
.category-hero h1 { max-width: 880px; margin: 0; color: var(--wine); font: 400 clamp(58px, 7vw, 96px)/.92 var(--font-display); letter-spacing: -.045em; }
.category-hero > p { max-width: 570px; margin: 22px 0 26px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.category-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 34px; color: var(--wine); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.category-hero-meta span + span::before { content: "✦"; margin-right: 34px; color: var(--gold); }
.category-filter-heading { max-width: 1320px; margin: 0 auto 42px; display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.category-filter-heading h2 { margin: 0; color: var(--wine); font: 400 clamp(38px, 4vw, 58px)/1 var(--font-display); letter-spacing: -.03em; }
.category-filter-panel { max-width: 1320px; margin: 0 auto 48px; padding: 22px; border: 1px solid #d8cec1; background: var(--ivory); display: grid; grid-template-columns: minmax(260px, 1.4fr) minmax(170px, .8fr) minmax(190px, .9fr) auto; align-items: end; gap: 18px; }
.category-filter-panel > label > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.category-filter-panel select { width: 100%; height: 46px; border: 1px solid #cfc3b6; border-radius: 0; background: #fffdf8; color: var(--wine); padding: 0 12px; outline: 0; }
.price-range-filter > span { display: flex !important; justify-content: space-between; gap: 15px; align-items: center; }
.price-range-filter > span strong { font: inherit; }
.price-range-filter output { color: var(--wine); font-size: 12px; letter-spacing: 0; }
.price-range-filter input { width: 100%; height: 22px; margin: 10px 0 5px; accent-color: var(--wine); }
.cerezimmo-clear-filters { height: 46px; border: 1px solid var(--wine); background: transparent; color: var(--wine); padding: 0 18px; white-space: nowrap; transition: color .22s ease, background .22s ease; }
.cerezimmo-clear-filters:hover { color: var(--ivory); background: var(--wine); }
.other-collections { padding: 95px clamp(24px, 8vw, 135px) 120px; text-align: center; background: var(--ivory); }
.other-collections h2 { margin: 0 0 42px; color: var(--wine); font: 400 clamp(42px, 5vw, 66px)/1 var(--font-display); letter-spacing: -.035em; }
.other-collections nav { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d8cec1; border-left: 1px solid #d8cec1; }
.other-collections a { min-height: 88px; padding: 22px; border-right: 1px solid #d8cec1; border-bottom: 1px solid #d8cec1; color: var(--wine); display: flex; align-items: center; justify-content: space-between; text-decoration: none; font: 400 21px var(--font-display); transition: color .22s ease, background .22s ease; }
.other-collections a:hover { color: var(--ivory); background: var(--wine); }
.product-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 46px 22px; }
.category-product-grid { grid-auto-flow: row; }
.cerezimmo-theme .category-product-grid { display: grid; align-items: stretch; font-family: var(--font-sans); }
.cerezimmo-theme .category-product-grid > .product-card { width: 100%; max-width: none; margin: 0; align-self: stretch; font-family: var(--font-sans); }
.cerezimmo-theme .category-product-grid .product-image { width: 100%; flex: 0 0 auto; }
.cerezimmo-theme .category-product-grid .product-info { width: 100%; flex: 1 1 auto; font-family: var(--font-sans); }
.cerezimmo-theme .category-product-grid .product-info h3 { font-family: var(--font-display) !important; font-weight: 400; }
.cerezimmo-theme .category-product-grid .product-info p, .cerezimmo-theme .category-product-grid .product-info strong, .cerezimmo-theme .category-product-grid .add-button { font-family: var(--font-sans); }
.cerezimmo-theme .category-product-grid .add-button { margin: 0; align-self: flex-end; }
.product-card { min-width: 0; height: 100%; display: flex; flex-direction: column; }
.product-image { aspect-ratio: 1 / 1; overflow: hidden; position: relative; background: var(--cream); }
.carousel-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge { position: absolute; left: 14px; top: 14px; background: rgba(245,242,235,.88); backdrop-filter: blur(8px); color: var(--wine); padding: 7px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; pointer-events: none; }
.product-favorite { position: absolute; right: 13px; top: 13px; z-index: 3; width: 42px; height: 42px; border: 1px solid rgba(245,242,235,.72); border-radius: 50%; background: rgba(245,242,235,.9); color: var(--wine); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37,30,27,.12); backdrop-filter: blur(8px); transition: transform .22s ease, background .22s ease, color .22s ease; }
.product-favorite:hover { transform: scale(1.07); background: var(--wine); color: var(--ivory); }
.product-favorite.active { color: var(--wine); background: var(--ivory); animation: heart-pop .38s cubic-bezier(.22,.72,.24,1); }
.product-favorite.active svg { fill: currentColor; }
.product-favorite svg { width: 17px; height: 17px; }
.product-favorite.favorite-adding { animation: favorite-source-pop .68s cubic-bezier(.2,.78,.18,1); }
.product-favorite.favorite-adding::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; animation: favorite-source-halo .68s ease-out both; }
.product-favorite.favorite-removing svg { animation: favorite-remove .36s ease both; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(245,242,235,.9); color: var(--wine); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; line-height: 1; opacity: 0; transition: opacity .2s ease, background .2s ease; }
.product-image:hover .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-arrow.previous { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-arrow:hover { background: var(--ivory); }
.carousel-dots { position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%); display: flex; gap: 7px; padding: 7px 9px; border-radius: 999px; background: rgba(88,16,27,.4); backdrop-filter: blur(5px); }
.carousel-dots button { width: 6px; height: 6px; border: 0; border-radius: 50%; padding: 0; background: rgba(255,255,255,.55); }
.carousel-dots button.active { background: #fff; transform: scale(1.25); }
.product-info { flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 19px 2px 16px; }
.product-info > div { min-width: 0; }
.product-info h3 { min-height: 2.3em; font-family: var(--font-display); color: var(--wine); font-size: 23px; font-weight: 400; line-height: 1.15; margin: 0 0 6px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.product-info p { min-height: 18px; color: var(--muted); font-size: 12px; margin: 0; line-height: 1.5; }
.product-info strong { min-height: 34px; margin-top: auto; padding-top: 13px; color: var(--wine); font-size: 14px; line-height: 1.35; white-space: nowrap; display: flex; align-items: flex-end; }
.product-info strong.pending { max-width: none; color: var(--muted); font-size: 11px; white-space: nowrap; text-align: left; }
.modal-info strong.pending { max-width: 110px; white-space: normal; text-align: right; color: var(--muted); font-size: 11px; line-height: 1.35; }
.product-code { display: block; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .16em; margin-bottom: 5px; }
.add-button, .woocommerce a.button.add-button { width: 100%; min-height: 54px; padding: 14px 15px; border: 1px solid rgba(88,16,27,.36); border-radius: 0; background: rgba(88,16,27,.035); color: var(--wine); display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; font-weight: 650; line-height: 1.2; letter-spacing: .025em; text-decoration: none; transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease; }
.add-button .add-button-label { flex: 1 1 auto; width: auto; height: auto; min-width: 0; border: 0; border-radius: 0; display: block; color: inherit; font-size: inherit; line-height: 1.2; text-align: left; white-space: nowrap; }
.add-button > span:last-child { flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; }
.add-button:hover { color: var(--ivory); background: var(--wine); border-color: var(--wine); transform: translateY(-2px); }
.add-button:active { transform: translateY(0); }
.add-button.added { color: var(--ivory); background: var(--wine); border-color: var(--wine); box-shadow: 0 10px 25px rgba(88,16,27,.16); }
.add-button.added > span:last-child { color: var(--gold); border-color: var(--gold); animation: added-check .58s cubic-bezier(.22,.72,.24,1) both; }
.add-button:disabled { color: var(--muted); background: transparent; border-color: #d8cec1; cursor: not-allowed; transform: none; }
.product-card.unavailable .product-image img { filter: saturate(.55); }
.no-results { max-width: 1320px; margin: 70px auto; text-align: center; color: var(--muted); }
.favorites-empty { max-width: 560px; margin: 55px auto 20px; padding: 58px 30px; border: 1px solid #d8cec1; text-align: center; background: var(--ivory); }
.favorites-empty > span { width: 64px; height: 64px; margin: 0 auto 25px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--wine); }
.favorites-empty > span svg { width: 25px; height: 25px; }
.favorites-empty h3 { margin: 0 0 12px; color: var(--wine); font: 400 31px/1.1 var(--font-display); }
.favorites-empty p { max-width: 430px; margin: 0 auto 27px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.favorites-empty a, .favorites-empty button { display: inline-block; border: 0; background: var(--wine); color: var(--ivory); padding: 15px 24px; text-decoration: none; }

.story { padding: 120px 24px; text-align: center; background: var(--ivory); }
.story h2 { max-width: 700px; margin: 0 auto 24px; }
.story p { color: var(--muted); font-size: 17px; margin: 0 0 30px; }
.story button, .story a { display: inline-block; border: 0; background: transparent; color: var(--wine); border-bottom: 1px solid var(--wine); padding: 8px 0; text-decoration: none; }
footer { min-height: 260px; background: var(--wine); color: var(--ivory); padding: 55px clamp(24px, 5vw, 82px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.footer-brand img { width: 250px; }
.footer-brand p { margin: 18px 0 0; color: #dfd3c7; }
.footer-contact { text-align: center; }
.footer-contact > span { display: block; color: #d5c3b6; margin-bottom: 15px; font-size: 9px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.social-links a { width: 50px; height: 50px; border: 1px solid rgba(198,161,91,.72); border-radius: 50%; color: var(--ivory); background: rgba(245,242,235,.035); text-decoration: none; display: grid; place-items: center; position: relative; isolation: isolate; box-shadow: inset 0 0 0 5px rgba(245,242,235,.018), 0 8px 24px rgba(24,4,8,.12); transition: background .28s ease, border-color .28s ease, color .28s ease, transform .28s cubic-bezier(.22,.72,.24,1), box-shadow .28s ease; }
.social-links a::before { content: ""; position: absolute; inset: 5px; z-index: -1; border: 1px solid rgba(245,242,235,.11); border-radius: inherit; transition: border-color .28s ease, transform .28s ease; }
.social-links a:hover, .social-links a:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--wine); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(24,4,8,.22); outline: none; }
.social-links a:hover::before, .social-links a:focus-visible::before { border-color: rgba(88,16,27,.2); transform: scale(.94); }
.social-links a svg { width: 21px; height: 21px; position: relative; transition: transform .28s cubic-bezier(.22,.72,.24,1); }
.social-links a:hover svg, .social-links a:focus-visible svg { transform: scale(1.08); }
.footer-top-link { justify-self: end; color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(245,242,235,.5); padding: 8px 0; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 29; min-width: 58px; height: 58px; border: 1px solid rgba(245,242,235,.65); border-radius: 50%; background: var(--wine); color: var(--ivory); box-shadow: 0 10px 30px rgba(37,30,27,.2); display: grid; place-items: center; align-content: center; gap: 0; animation: back-button-in .25s ease both; }
.back-to-top span { font: 22px/1 var(--font-display); }
.back-to-top small { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.back-to-top:hover { background: var(--wine-bright); transform: translateY(-2px); }
.favorite-notice { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translateX(-50%); padding: 13px 18px; border: 1px solid rgba(198,161,91,.55); background: var(--wine); color: var(--ivory); box-shadow: 0 14px 35px rgba(37,30,27,.22); font-size: 11px; animation: notice-in .3s ease both; }

.auth-prompt, .favorites-popup { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .38s ease; }
.auth-prompt.visible, .favorites-popup.visible { opacity: 1; pointer-events: auto; }
.auth-prompt-backdrop, .favorites-popup-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(37,30,27,.66); backdrop-filter: blur(5px); }
.auth-prompt-card { position: relative; width: min(820px, 100%); max-height: calc(100vh - 48px); background: var(--ivory); box-shadow: 0 28px 90px rgba(0,0,0,.28); display: grid; grid-template-columns: minmax(250px, .78fr) minmax(360px, 1.22fr); overflow: hidden; opacity: .75; transform: translateY(24px) scale(.965); transition: transform .46s cubic-bezier(.22,.72,.24,1), opacity .36s ease; }
.auth-prompt.visible .auth-prompt-card { opacity: 1; transform: translateY(0) scale(1); }
.auth-prompt-close { position: absolute; right: 16px; top: 16px; z-index: 2; width: 38px; height: 38px; border: 1px solid #d8cec1; border-radius: 50%; background: rgba(245,242,235,.9); color: var(--wine); display: grid; place-items: center; transition: color .25s ease, background .25s ease, transform .35s ease; }
.auth-prompt-close:hover, .favorites-popup-close:hover { color: var(--ivory); background: var(--wine); transform: rotate(90deg); }
.account-popup-heading { padding: 58px 40px; background: #ece4d9; display: flex; flex-direction: column; justify-content: center; }
.auth-heart { width: 64px; height: 64px; margin: 0 0 27px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--wine); }
.auth-heart svg { width: 25px; height: 25px; }
.account-popup-heading .eyebrow { margin-bottom: 12px; }
.account-popup-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-popup-form { min-width: 0; padding: 58px 48px 46px; background: #fffdf8; overflow-y: auto; }
.account-popup-form .cerezimmo-login-form h2 { font-size: 36px; }
.account-popup-form .cerezimmo-login-account h2 { margin: 0 0 8px; }
.account-popup-form .cerezimmo-login-account > p { margin: 8px 0; }
.account-popup-fallback { display: block; padding: 16px 20px; background: var(--wine); color: var(--ivory); text-align: center; text-decoration: none; }

.favorites-popup { z-index: 71; }
.favorites-popup-card { position: relative; width: min(1050px, 100%); max-height: calc(100vh - 48px); background: #fffdf8; box-shadow: 0 28px 90px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; opacity: .75; transform: translateY(24px) scale(.97); transition: transform .48s cubic-bezier(.22,.72,.24,1), opacity .36s ease; }
.favorites-popup.visible .favorites-popup-card { opacity: 1; transform: translateY(0) scale(1); }
.favorites-popup-card > header { flex: 0 0 auto; padding: 27px 30px 23px; border-bottom: 1px solid #d8cec1; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--ivory); }
.favorites-popup-card > header .eyebrow { margin-bottom: 7px; }
.favorites-popup-card > header h2 { margin: 0; color: var(--wine); font: 400 40px/1 var(--font-display); }
.favorites-popup-close { width: 42px; height: 42px; border: 1px solid #d8cec1; border-radius: 50%; background: transparent; color: var(--wine); display: grid; place-items: center; transition: color .25s ease, background .25s ease, transform .35s ease; }
.favorites-popup-close svg { width: 18px; height: 18px; }
.favorites-popup-stage { min-height: 240px; padding: 26px 30px 34px; overflow-y: auto; transition: opacity .2s ease; }
.favorites-popup-stage.loading { opacity: .45; pointer-events: none; }
.favorites-popup-summary { margin-bottom: 22px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.favorites-popup-summary strong { color: var(--wine); }
.favorites-popup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 17px; }
.favorites-popup-grid .product-info { padding-top: 15px; }
.favorites-popup-grid .product-info h3 { font-size: 20px; }
.favorites-popup-grid .add-button { min-height: 48px; padding: 11px 12px; font-size: 11px; }
.favorites-popup-empty { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.favorites-popup-empty > span { width: 66px; height: 66px; margin-bottom: 24px; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); display: grid; place-items: center; }
.favorites-popup-empty > span svg { width: 26px; height: 26px; }
.favorites-popup-empty h3 { margin: 0 0 10px; color: var(--wine); font: 400 30px/1.1 var(--font-display); }
.favorites-popup-empty p { max-width: 410px; margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.favorites-popup-explore { border: 0; background: var(--wine); color: var(--ivory); padding: 15px 23px; }

.logout-confirmation { position: fixed; inset: 0; z-index: 73; padding: 24px; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .34s ease; }
.logout-confirmation.visible { opacity: 1; pointer-events: auto; }
.logout-confirm-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(37,30,27,.67); backdrop-filter: blur(5px); }
.logout-confirm-card { position: relative; width: min(450px, 100%); padding: 48px 42px 40px; background: #fffdf8; border: 1px solid rgba(198,161,91,.42); box-shadow: 0 28px 90px rgba(0,0,0,.3); text-align: center; opacity: .72; transform: translateY(22px) scale(.965); transition: transform .44s cubic-bezier(.22,.72,.24,1), opacity .32s ease; }
.logout-confirmation.visible .logout-confirm-card { opacity: 1; transform: translateY(0) scale(1); }
.logout-confirm-close { position: absolute; right: 15px; top: 15px; width: 38px; height: 38px; border: 1px solid #d8cec1; border-radius: 50%; background: transparent; color: var(--wine); display: grid; place-items: center; transition: color .22s ease, background .22s ease, transform .3s ease; }
.logout-confirm-close:hover, .logout-confirm-close:focus-visible { color: var(--ivory); background: var(--wine); transform: rotate(90deg); outline: none; }
.logout-confirm-close svg { width: 16px; height: 16px; }
.logout-confirm-icon { width: 62px; height: 62px; margin: 0 auto 24px; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); background: rgba(198,161,91,.08); display: grid; place-items: center; }
.logout-confirm-icon svg { width: 24px; height: 24px; }
.logout-confirm-card .eyebrow { margin-bottom: 11px; }
.logout-confirm-card h2 { margin: 0; color: var(--wine); font: 400 37px/1.08 var(--font-display); letter-spacing: -.025em; }
.logout-confirm-card > p { max-width: 340px; margin: 17px auto 29px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.logout-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.logout-confirm-actions button, .logout-confirm-actions a { min-height: 49px; padding: 13px 17px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 12px; font-weight: 700; transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease; }
.logout-confirm-cancel { border: 1px solid #cfc3b6; background: transparent; color: var(--wine); }
.logout-confirm-cancel:hover, .logout-confirm-cancel:focus-visible { border-color: var(--wine); background: rgba(88,16,27,.045); outline: none; }
.logout-confirm-submit { border: 1px solid var(--wine); background: var(--wine); color: var(--ivory); }
.logout-confirm-submit:hover, .logout-confirm-submit:focus-visible { border-color: var(--wine-bright); background: var(--wine-bright); color: var(--ivory); transform: translateY(-1px); outline: none; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 39; border: 0; background: rgba(37,30,27,.52); opacity: 0; backdrop-filter: blur(0); transition: opacity .46s ease, backdrop-filter .46s ease; }
.drawer-backdrop.visible { opacity: 1; backdrop-filter: blur(4px); }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); z-index: 40; background: var(--ivory); box-shadow: -20px 0 50px rgba(37,30,27,.16); opacity: .7; transform: translateX(110%) scale(.985); transform-origin: right center; transition: transform .52s cubic-bezier(.2,.78,.2,1), opacity .42s ease, box-shadow .52s ease; display: flex; flex-direction: column; will-change: transform, opacity; }
.cart-drawer.open { opacity: 1; transform: translateX(0) scale(1); box-shadow: -30px 0 90px rgba(37,30,27,.27); }
.cart-drawer.open .cart-header { animation: drawer-detail-in .55s .08s cubic-bezier(.22,.72,.24,1) both; }
.cart-drawer.open .cart-item { animation: cart-item-in .48s cubic-bezier(.22,.72,.24,1) both; }
.cart-drawer.open .cart-item:nth-child(1) { animation-delay: .15s; }
.cart-drawer.open .cart-item:nth-child(2) { animation-delay: .2s; }
.cart-drawer.open .cart-item:nth-child(3) { animation-delay: .25s; }
.cart-drawer.open .cart-item:nth-child(4) { animation-delay: .3s; }
.cart-drawer.open .cart-footer { animation: drawer-detail-in .5s .25s cubic-bezier(.22,.72,.24,1) both; }
.cart-header { padding: 36px 30px 26px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid #d8cec1; }
.cart-header h2 { color: var(--wine); font-size: 40px; margin: 0; }
.cart-header h2 small { font: 500 13px var(--font-geist-sans); }
.cart-header > button { border: 0; background: transparent; color: var(--wine); font-size: 32px; line-height: 1; }
.cart-body { padding: 16px 30px; overflow: visible; }
.empty-cart { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.empty-cart h3 { color: var(--wine); font-family: var(--font-display); font-size: 26px; font-weight: 400; margin: 28px 0 6px; }
.empty-cart p { max-width: 250px; line-height: 1.6; font-size: 13px; }
.cart-item { display: grid; grid-template-columns: 95px 1fr; gap: 17px; padding: 18px 0; border-bottom: 1px solid #d8cec1; }
.cart-item img { width: 95px; height: 112px; object-fit: cover; }
.cart-item h3 { font-family: var(--font-display); font-weight: 400; color: var(--wine); margin: 4px 0 5px; font-size: 20px; }
.cart-item p { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.quantity { display: inline-grid; grid-template-columns: 28px 32px 28px; align-items: center; text-align: center; border: 1px solid #d8cec1; }
.quantity button { border: 0; background: transparent; color: var(--wine); height: 28px; }
.quantity span { font-size: 12px; }
.cart-footer { padding: 21px 30px 25px; border-top: 1px solid #d8cec1; background: #fffdf8; overflow: visible; }
.cart-delivery { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.cart-delivery legend { margin: 0 0 5px; color: var(--wine); font: 400 20px var(--font-display); }
.cart-delivery > p { margin: 0 0 13px; color: var(--muted); font-size: 10px; }
.delivery-options { display: grid; grid-template-columns: 1fr; gap: 7px; }
.delivery-options label { min-width: 0; min-height: 48px; padding: 9px 12px; border: 1px solid #d8cec1; background: var(--ivory); cursor: pointer; display: flex; align-items: center; gap: 9px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.delivery-options label:hover { border-color: var(--gold); transform: translateY(-1px); }
.delivery-options label.selected { border-color: var(--wine); background: rgba(88,16,27,.05); box-shadow: inset 0 0 0 1px var(--wine); }
.delivery-options input { flex: 0 0 auto; margin: 0; accent-color: var(--wine); }
.delivery-options span { min-width: 0; width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.delivery-options strong { display: block; color: var(--wine); font-size: 10px; line-height: 1.35; }
.delivery-options small { flex: 0 0 auto; display: block; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; text-align: right; white-space: nowrap; }
.cart-totals { padding-top: 14px; border-top: 1px solid #d8cec1; margin-bottom: 17px; }
.cart-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.cart-totals strong, .cart-totals .woocommerce-Price-amount, .cart-totals bdi { display: inline-flex; align-items: baseline; white-space: nowrap; }
.cart-totals .woocommerce-Price-currencySymbol { flex: 0 0 auto; margin-right: 2px; }
.cart-totals > .cart-grand-total { margin: 13px 0 0; padding-top: 12px; border-top: 1px solid #d8cec1; color: var(--wine); font-size: 15px; }
.cart-footer strong { color: var(--wine); }
.cart-footer a { display: block; background: var(--wine); color: var(--ivory); text-align: center; padding: 17px; text-decoration: none; }
.cart-footer small { display: block; color: var(--muted); text-align: center; margin-top: 10px; font-size: 10px; }
.cart-footer .delivery-options small { margin-top: 0; text-align: right; }
.cart-footer .cart-persistence-note { color: var(--wine); }

.product-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 30px; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(37,30,27,.7); backdrop-filter: blur(5px); }
.modal-content { position: relative; width: min(1080px, 100%); max-height: calc(100vh - 60px); background: var(--ivory); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-close { position: absolute; right: 18px; top: 14px; z-index: 3; border: 0; background: rgba(245,242,235,.88); color: var(--wine); border-radius: 50%; width: 38px; height: 38px; font-size: 26px; line-height: 1; }
.modal-gallery { min-height: 650px; position: relative; background: var(--cream); }
.modal-gallery img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.modal-gallery > span { position: absolute; right: 20px; bottom: 18px; color: var(--ivory); background: rgba(88,16,27,.72); padding: 7px 10px; font-size: 11px; }
.modal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(245,242,235,.9); color: var(--wine); font: 32px var(--font-display); }
.modal-arrow.previous { left: 18px; }
.modal-arrow.next { right: 18px; }
.modal-info { padding: 70px 38px 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.modal-info h2 { margin: 4px 0 14px; color: var(--wine); font: 400 40px/1.05 var(--font-display); }
.modal-info p { margin: 0 0 26px; color: var(--muted); }
.modal-info strong { color: var(--wine); font-size: 18px; margin-bottom: 28px; }
.modal-info strong.pending { text-align: left; max-width: none; }
.modal-info > button, .modal-info > a { width: 100%; border: 0; background: var(--wine); color: var(--ivory); padding: 17px 20px; text-align: center; text-decoration: none; }
.modal-info > button:disabled { background: var(--muted); cursor: not-allowed; }

/* Administrador */
.admin-shell { --admin-bg: #f3efe8; --admin-panel: #fffdf9; min-height: 100vh; background: var(--admin-bg); color: var(--charcoal); display: grid; grid-template: 78px 1fr / 260px 1fr; }
.admin-topbar { grid-column: 1 / -1; position: sticky; top: 0; z-index: 80; height: 78px; padding: 0 28px; background: var(--wine); color: var(--ivory); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 18px rgba(30,10,12,.12); }
.admin-topbar > div { display: flex; align-items: center; gap: 13px; }
.admin-mark { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; font: 26px var(--font-display); }
.admin-topbar strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 400; }
.admin-topbar small { display: block; margin-top: 3px; color: #d9c8c7; font-size: 10px; }
.admin-actions a { color: var(--ivory); text-decoration: none; font-size: 12px; padding: 10px; }
.admin-user { color: #d9c8c7; font-size: 11px; border-left: 1px solid rgba(255,255,255,.2); padding-left: 18px; }
.admin-save { border: 0; background: var(--ivory); color: var(--wine); padding: 13px 20px; min-width: 150px; font-weight: 700; }
.admin-save:disabled { opacity: .45; cursor: default; }
.admin-sidebar { grid-row: 2; position: sticky; top: 78px; height: calc(100vh - 78px); padding: 34px 18px 24px; background: #eee7dd; border-right: 1px solid #ddd1c4; display: flex; flex-direction: column; justify-content: space-between; }
.admin-sidebar > div > span { display: block; padding: 0 13px 12px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.admin-sidebar button { width: 100%; border: 0; border-radius: 6px; background: transparent; color: #5f514b; padding: 14px 13px; display: flex; align-items: center; gap: 10px; text-align: left; margin-bottom: 4px; }
.admin-sidebar button em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--muted); }
.admin-sidebar button.active { background: var(--wine); color: var(--ivory); }
.admin-sidebar button.active em { color: #dec9cb; }
.admin-sidebar p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 0; padding: 15px 12px; border-top: 1px solid #dacfc2; }
.admin-workspace { min-width: 0; min-height: calc(100vh - 78px); position: relative; }
.admin-page { max-width: 1080px; margin: 0 auto; padding: 50px 42px 90px; }
.admin-page.narrow { max-width: 980px; }
.admin-section-title { display: flex; align-items: start; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.admin-section-title > div > span, .editor-heading > div > span { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .17em; font-size: 9px; font-weight: 800; margin-bottom: 8px; }
.admin-section-title h1 { margin: 0; color: var(--wine); font: 400 44px/1 var(--font-display); }
.admin-section-title p { margin: 11px 0 0; color: var(--muted); font-size: 13px; }
.admin-section-title > button { border: 0; background: var(--wine); color: var(--ivory); padding: 13px 17px; white-space: nowrap; }
.admin-card { background: var(--admin-panel); border: 1px solid #ded4c9; padding: 27px; margin-bottom: 22px; box-shadow: 0 5px 20px rgba(60,40,30,.025); }
.admin-card h2 { color: var(--wine); font: 400 25px var(--font-display); margin: 0 0 22px; }
.card-help { color: var(--muted); font-size: 12px; margin: -13px 0 20px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-field { min-width: 0; display: block; }
.admin-field.wide { grid-column: 1 / -1; }
.admin-field > span { display: block; color: #6e5e55; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.admin-field input, .admin-field textarea, .admin-field select, .category-admin-list input, .admin-search { width: 100%; border: 1px solid #d9cec2; background: #fff; color: var(--charcoal); padding: 12px 13px; outline: none; border-radius: 3px; }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus, .category-admin-list input:focus, .admin-search:focus { border-color: var(--wine); box-shadow: 0 0 0 2px rgba(88,16,27,.08); }
.admin-field textarea { resize: vertical; line-height: 1.5; }
.price-input { display: grid; grid-template-columns: 38px 1fr; }
.price-input > span { display: grid; place-items: center; background: #eee7dd; color: var(--wine); border: 1px solid #d9cec2; border-right: 0; }
.price-input input { border-radius: 0 3px 3px 0; }
.admin-notice { position: sticky; top: 92px; z-index: 70; width: min(650px, calc(100% - 40px)); margin: 14px auto -54px; padding: 14px 42px 14px 17px; box-shadow: 0 10px 30px rgba(30,20,10,.12); font-size: 12px; }
.admin-notice.ok { background: #e6f3e9; color: #245e31; border: 1px solid #bcdcc3; }
.admin-notice.error { background: #fae9e7; color: #842c24; border: 1px solid #e9bcb7; }
.admin-notice button { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; color: inherit; font-size: 20px; }
.product-admin-layout { height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(320px, 38%) 1fr; }
.product-admin-list { min-width: 0; padding: 34px 22px 0; border-right: 1px solid #ddd1c4; display: flex; flex-direction: column; overflow: hidden; background: #f7f3ed; }
.product-admin-list .admin-section-title { margin-bottom: 18px; }
.product-admin-list .admin-section-title h1 { font-size: 36px; }
.product-admin-list .admin-section-title > button { padding: 11px 13px; font-size: 11px; }
.admin-search { margin-bottom: 15px; }
.product-list-scroll { overflow-y: auto; margin: 0 -5px; padding: 0 5px 35px; }
.product-list-scroll > button { width: 100%; display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; border: 1px solid transparent; background: transparent; padding: 8px; text-align: left; margin-bottom: 4px; }
.product-list-scroll > button.active { background: #fff; border-color: #d8cbc0; box-shadow: 0 4px 13px rgba(50,30,20,.04); }
.product-thumb { width: 58px; height: 63px; display: grid; place-items: center; background: var(--cream); color: var(--gold); font-size: 24px; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-list-scroll strong { display: block; color: var(--wine); font: 400 15px var(--font-display); margin-bottom: 4px; }
.product-list-scroll small { color: var(--muted); font-size: 9px; }
.product-list-scroll i { color: #9b4b42; font-size: 8px; font-style: normal; text-transform: uppercase; }
.product-editor { overflow-y: auto; background: var(--admin-panel); }
.product-editor-inner { max-width: 780px; margin: 0 auto; padding: 42px 38px 80px; }
.editor-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 24px; margin-bottom: 27px; border-bottom: 1px solid #e0d7ce; }
.editor-heading h2 { margin: 0; color: var(--wine); font: 400 35px/1.1 var(--font-display); }
.danger-text { border: 0 !important; background: transparent !important; color: #a33d35 !important; padding: 8px !important; font-size: 10px; }
.availability-row, .toggle-grid { display: flex; flex-wrap: wrap; gap: 25px; margin: 26px 0; padding: 20px 0; border-top: 1px solid #e0d7ce; border-bottom: 1px solid #e0d7ce; }
.switch-label { display: inline-flex; align-items: center; gap: 9px; color: #66564d; font-size: 11px; cursor: pointer; }
.switch-label input { position: absolute; opacity: 0; pointer-events: none; }
.switch-label > span { width: 35px; height: 20px; padding: 2px; border-radius: 999px; background: #cfc4b9; transition: background .2s; }
.switch-label > span::after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch-label input:checked + span { background: var(--wine); }
.switch-label input:checked + span::after { transform: translateX(15px); }
.image-editor-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 28px 0 16px; }
.image-editor-head h3 { margin: 0 0 5px; color: var(--wine); font: 400 23px var(--font-display); }
.image-editor-head p { margin: 0; color: var(--muted); font-size: 10px; }
.upload-button { display: inline-block; border: 1px solid var(--wine); color: var(--wine); background: transparent; padding: 11px 14px; font-size: 10px; cursor: pointer; }
.upload-button input, .empty-upload input { display: none; }
.image-editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.image-editor-grid > div { position: relative; aspect-ratio: 4/5; background: var(--cream); overflow: hidden; }
.image-editor-grid img { width: 100%; height: 100%; object-fit: cover; }
.image-editor-grid > div > span { position: absolute; left: 7px; top: 7px; background: rgba(245,242,235,.9); color: var(--wine); padding: 5px 7px; font-size: 8px; }
.image-editor-grid > div > div { position: absolute; left: 7px; right: 7px; bottom: 7px; display: flex; justify-content: center; }
.image-editor-grid button { width: 30px; height: 30px; border: 0; border-right: 1px solid #d5c9bd; background: rgba(245,242,235,.95); color: var(--wine); }
.empty-upload { aspect-ratio: 4/5; border: 1px dashed #c9bbae; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--gold); cursor: pointer; }
.empty-upload span { color: var(--muted); font-size: 10px; }
.empty-editor, .admin-loading, .admin-denied { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 15px; text-align: center; color: var(--muted); }
.admin-loading { background: var(--ivory); }
.admin-spinner { width: 32px; height: 32px; border: 2px solid #d8cec1; border-top-color: var(--wine); border-radius: 50%; animation: admin-spin .8s linear infinite; }
.admin-denied h1 { margin: 0; color: var(--wine); font: 400 48px var(--font-display); }
.admin-denied a { color: var(--wine); }
.category-admin-list { background: var(--admin-panel); border: 1px solid #ded4c9; }
.category-admin-list > div { display: grid; grid-template-columns: 38px minmax(180px, 1fr) 120px auto; align-items: center; gap: 14px; padding: 14px 17px; border-bottom: 1px solid #e5dcd3; }
.category-admin-list > div:last-child { border-bottom: 0; }
.drag-order { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #eee7dd; color: var(--wine); font-size: 10px; }
.row-actions { display: flex; align-items: center; gap: 3px; }
.row-actions button { border: 1px solid #d8cec1; background: transparent; color: var(--wine); padding: 7px 9px; }
.row-actions button:disabled { opacity: .3; }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.asset-field { border: 1px solid #ddd1c5; background: #fff; }
.asset-preview { aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; background: #eee7dd; color: var(--muted); font-size: 10px; }
.asset-preview img { width: 100%; height: 100%; object-fit: contain; }
.asset-field > div:last-child { padding: 14px; }
.asset-field strong { display: block; color: var(--wine); font: 400 14px var(--font-display); margin-bottom: 10px; }
.color-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 24px; }
.color-grid > label > span { display: block; color: #6e5e55; font-size: 10px; font-weight: 700; margin-bottom: 7px; }
.color-grid > label > div { display: grid; grid-template-columns: 42px 1fr; }
.color-grid input[type="color"] { width: 42px; height: 42px; border: 1px solid #d9cec2; padding: 3px; background: #fff; }
.color-grid input[type="text"], .color-grid input:not([type]) { min-width: 0; border: 1px solid #d9cec2; border-left: 0; padding: 0 10px; }
@keyframes admin-spin { to { transform: rotate(360deg); } }

@keyframes reveal-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes photo-reveal { from { opacity: 0; transform: scale(.985); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes promo-arrive { from { opacity: 0; transform: translateY(7px); } }
@keyframes cart-receive { 30% { transform: translateY(3px) scale(.84); } 62% { transform: translateY(-5px) scale(1.16); } 82% { transform: translateY(0) scale(.98); } }
@keyframes count-pop { 38% { transform: scale(1.5); background: var(--gold); color: var(--wine); box-shadow: 0 0 0 7px rgba(198,161,91,.2); } 75% { transform: scale(.94); box-shadow: 0 0 0 0 rgba(198,161,91,0); } }
@keyframes cart-halo { from { opacity: .9; transform: scale(.72); } to { opacity: 0; transform: scale(1.45); } }
@keyframes flight-halo { 0% { opacity: 0; transform: scale(.88); } 20% { opacity: 1; } 75% { opacity: .65; } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes flight-sparkle { 0% { opacity: 0; transform: scale(.45) rotate(-28deg); } 18% { opacity: 1; transform: scale(1.08) rotate(0); } 60% { transform: scale(.92) rotate(18deg); } 100% { opacity: 0; transform: scale(.35) rotate(65deg); } }
@keyframes favorite-source-pop { 0% { transform: scale(.82); } 34% { transform: scale(1.2); background: var(--wine); color: var(--ivory); } 68% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes favorite-source-halo { from { opacity: .95; transform: scale(.72); } to { opacity: 0; transform: scale(1.55); } }
@keyframes favorite-remove { 38% { opacity: .35; transform: scale(.62) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes favorite-flight-ring { 0% { opacity: 0; transform: scale(.72); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(1.65); } }
@keyframes favorite-flight-sparkle { 0% { opacity: 0; transform: scale(.4) rotate(-35deg); } 22% { opacity: 1; transform: scale(1.1) rotate(0); } 70% { opacity: .85; transform: scale(.9) rotate(25deg); } 100% { opacity: 0; transform: scale(.35) rotate(78deg); } }
@keyframes favorite-receive { 28% { transform: translateY(2px) scale(.78); fill: var(--gold); } 58% { transform: translateY(-4px) scale(1.28); fill: currentColor; } 82% { transform: scale(.94); } }
@keyframes favorite-count-pop { 36% { transform: scale(1.55); background: var(--gold); box-shadow: 0 0 0 7px rgba(198,161,91,.22); } 76% { transform: scale(.94); box-shadow: 0 0 0 0 rgba(198,161,91,0); } }
@keyframes favorite-target-halo { from { opacity: .95; transform: scale(.7); } to { opacity: 0; transform: scale(1.5); } }
@keyframes added-check { 0% { transform: scale(.55) rotate(-18deg); } 55% { transform: scale(1.18) rotate(3deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes back-button-in { from { opacity: 0; transform: translateY(12px) scale(.9); } }
@keyframes backdrop-in { from { opacity: 0; } }
@keyframes heart-pop { 45% { transform: scale(1.18); } }
@keyframes notice-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes auth-card-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes drawer-detail-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes menu-link-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes cart-item-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .header-action-label { display: none; }
  .hero { grid-template-columns: .8fr 1.2fr; }
  .hero-photo-wrap { min-height: 520px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-filter-panel { grid-template-columns: 1fr 1fr; }
  .cerezimmo-clear-filters { width: 100%; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; grid-template-columns: 38px minmax(104px, 1fr) auto; gap: 8px; padding: 0 14px; }
  .header-category-nav { scroll-snap-type: x proximity; }
  .header-category-track { min-height: 42px; padding: 0 5px; justify-content: flex-start; }
  .header-category-track a { min-height: 42px; padding: 0 16px; font-size: 10.5px; }
  .promo-carousel { min-height: 44px; padding: 8px 9px; grid-template-columns: 28px minmax(0, 1fr) 28px; }
  .promo-carousel p { font-size: 11px; letter-spacing: .035em; }
  .menu-trigger { width: 38px; padding: 8px; }
  .menu-trigger span { display: none; }
  .brand { width: min(150px, 100%); }
  .header-actions { gap: 0; }
  .header-action { width: 38px; min-height: 40px; padding: 8px; justify-content: center; }
  .header-count { position: absolute; right: 0; top: 1px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 8px; }
  .cart-trigger { padding: 8px 0 8px 5px; gap: 5px; }
  .bag-icon { width: 21px; height: 20px; }
  .bag-icon::before { left: 4px; }
  .cart-count { width: 21px; height: 21px; font-size: 10px; }
  .menu-drawer-header { min-height: 78px; padding: 18px 20px; }
  .menu-drawer-header img { width: 185px; }
  .menu-drawer-body { padding: 27px 20px 21px; }
  .menu-category-links button, .menu-category-links a { min-height: 56px; grid-template-columns: 1fr 15px; }
  .menu-category-links button strong, .menu-category-links a strong { font-size: 18px; }
  .menu-drawer-footer { padding: 18px 20px 21px; }
  .hero { min-height: auto; padding: 54px 20px 34px; display: flex; flex-direction: column; align-items: stretch; gap: 42px; }
  .hero h1 { font-size: clamp(58px, 18vw, 82px); }
  .hero-copy p { font-size: 16px; }
  .hero-photo-wrap { min-height: 0; width: 100%; aspect-ratio: 3 / 2; }
  .wine-block { width: 58px; height: 72px; left: -6px; bottom: -12px; }
  .category-rail { grid-template-columns: repeat(2, 1fr); margin-bottom: 30px; padding: 0 20px; border: 0; }
  .category-rail button, .category-rail button:first-child, .category-rail a, .category-rail a:first-child { border: 1px solid #d8cec1; margin: -1px 0 0 -1px; padding: 18px 12px; }
  .category-rail button > span:last-child, .category-rail a > span:last-child { display: none; }
  .collection { padding: 72px 20px 90px; }
  .category-hero { min-height: 330px; padding: 38px 20px 46px; }
  .category-hero .eyebrow { margin-top: 38px; }
  .category-hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .category-hero > p { margin: 24px 0 28px; font-size: 15px; }
  .category-hero-meta { display: grid; gap: 9px; }
  .category-hero-meta span + span::before { margin-right: 12px; }
  .category-filter-heading { display: block; margin-bottom: 30px; }
  .category-filter-heading .search-field { margin-top: 30px; }
  .search-field input[type="search"] { font-size: 16px; }
  .category-filter-panel { grid-template-columns: 1fr; padding: 17px; margin-bottom: 38px; }
  .other-collections { padding: 75px 20px 90px; }
  .other-collections nav { grid-template-columns: 1fr; }
  .other-collections a { min-height: 70px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 48px; }
  .search-field { margin-top: 35px; }
  .filters { margin-top: 30px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; }
  .catalog-summary { margin-top: -10px; align-items: flex-end; }
  .catalog-summary span:last-child { max-width: 170px; text-align: right; }
  .carousel-arrow { opacity: 1; width: 32px; height: 32px; font-size: 23px; }
  .product-info { display: flex; flex-direction: column; }
  .product-info strong { margin-top: auto; padding-top: 10px; }
  .product-info h3 { font-size: 19px; }
  .product-info p { min-height: 36px; }
  .add-button, .woocommerce a.button.add-button { min-height: 44px; padding: 9px 8px; gap: 6px; font-size: 10px; }
  .add-button .add-button-label, .woocommerce a.button.add-button .add-button-label { font-size: 10px; letter-spacing: 0; }
  .add-button > span:last-child, .woocommerce a.button.add-button > span:last-child { flex-basis: 20px; width: 20px; height: 20px; font-size: 13px; }
  .cart-footer { padding: 18px 18px 22px; }
  .delivery-options { grid-template-columns: 1fr; }
  .product-favorite { width: 38px; height: 38px; right: 10px; top: 10px; }
  .favorites-empty { margin-top: 36px; padding: 45px 20px; }
  .favorites-empty h3 { font-size: 27px; }
  .story { padding: 85px 20px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 65px; padding-bottom: 65px; }
  .footer-top-link { justify-self: center; }
  .social-links { max-width: 330px; }
  .back-to-top { right: 15px; bottom: 15px; min-width: 52px; height: 52px; }
  .favorite-notice { bottom: 18px; width: calc(100% - 36px); text-align: center; }
  .auth-prompt, .favorites-popup { padding: 0; }
  .auth-prompt-card { width: 100%; max-height: 100vh; grid-template-columns: 1fr; overflow-y: auto; }
  .account-popup-heading { padding: 32px 24px 25px; }
  .auth-heart { width: 50px; height: 50px; margin-bottom: 18px; }
  .auth-heart svg { width: 21px; height: 21px; }
  .account-popup-heading p { padding-right: 34px; font-size: 12px; }
  .account-popup-form { padding: 34px 22px 36px; overflow: visible; }
  .account-popup-form .cerezimmo-login-form h2 { font-size: 31px; }
  .favorites-popup-card { width: 100%; height: 100%; max-height: none; }
  .favorites-popup-card > header { padding: 21px 18px 18px; }
  .favorites-popup-card > header h2 { font-size: 33px; }
  .favorites-popup-stage { padding: 19px 18px 28px; }
  .favorites-popup-summary { margin-bottom: 17px; }
  .favorites-popup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px 12px; }
  .favorites-popup-grid .product-info h3 { font-size: 18px; }
  .favorites-popup-grid .product-info p { min-height: 36px; }
	.favorites-popup-grid .add-button { min-height: 45px; padding: 10px 9px; font-size: 10px; }
	.favorites-popup-empty { min-height: 65vh; padding: 30px 18px; }
	.logout-confirmation { padding: 18px; }
	.logout-confirm-card { padding: 43px 22px 27px; }
	.logout-confirm-card h2 { font-size: 33px; }
	.logout-confirm-card > p { margin-bottom: 24px; font-size: 12px; }
	.logout-confirm-actions button, .logout-confirm-actions a { min-height: 47px; padding: 12px 10px; font-size: 11px; }
	.product-modal { padding: 0; }
  .modal-content { width: 100%; height: 100%; max-height: none; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; overflow-y: auto; }
  .modal-gallery { min-height: 58vh; }
  .modal-info { padding: 28px 24px 30px; }
  .modal-info h2 { font-size: 30px; }
  .admin-shell { display: block; padding-top: 66px; }
  .admin-topbar { height: 66px; padding: 0 14px; position: fixed; inset: 0 0 auto; }
  .admin-topbar .admin-user, .admin-topbar a, .admin-topbar > div:first-child div { display: none; }
  .admin-save { min-width: 125px; padding: 11px; font-size: 11px; }
  .admin-sidebar { position: sticky; top: 66px; z-index: 50; width: 100%; height: auto; padding: 7px; overflow-x: auto; display: block; border-right: 0; border-bottom: 1px solid #d8cec1; }
  .admin-sidebar > div { display: flex; min-width: max-content; }
  .admin-sidebar > div > span, .admin-sidebar p { display: none; }
  .admin-sidebar button { width: auto; margin: 0 3px 0 0; padding: 10px 12px; font-size: 10px; white-space: nowrap; }
  .admin-workspace { min-height: auto; }
  .admin-page { padding: 32px 16px 70px; }
  .admin-section-title h1 { font-size: 36px; }
  .admin-section-title { display: block; }
  .admin-section-title > button { margin-top: 16px; }
  .admin-card { padding: 20px 15px; }
  .admin-form-grid, .color-grid { grid-template-columns: 1fr; }
  .admin-field.wide { grid-column: auto; }
  .asset-grid { grid-template-columns: 1fr; }
  .product-admin-layout { height: auto; grid-template-columns: 1fr; }
  .product-admin-list { height: 390px; border-right: 0; border-bottom: 1px solid #ddd1c4; padding: 25px 14px 0; }
  .product-editor { overflow: visible; }
  .product-editor-inner { padding: 30px 16px 70px; }
  .image-editor-grid { grid-template-columns: repeat(2, 1fr); }
  .category-admin-list > div { grid-template-columns: 34px 1fr; }
  .category-admin-list .switch-label, .category-admin-list .row-actions { grid-column: 2; }
}

@media (max-width: 355px) {
  .delivery-options { grid-template-columns: 1fr; }
  .favorites-popup-grid { grid-template-columns: 1fr; }
  .logout-confirm-actions { grid-template-columns: 1fr; }
  .add-button, .woocommerce a.button.add-button { padding-inline: 7px; gap: 5px; font-size: 9px; }
  .add-button .add-button-label, .woocommerce a.button.add-button .add-button-label { font-size: 9px; }
}

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

/* WordPress and WooCommerce integration */
.admin-bar .site-header-group { top: 32px; }
.product-card[hidden] { display: none; }
.cerezimmo-cart-drawer-content { min-height: 0; flex: 1; display: block; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.cerezimmo-cart-drawer-content[aria-busy="true"] { cursor: wait; }
.cerezimmo-cart-drawer-content > .cart-body { min-height: 0; }
.cart-item .woocommerce-Price-amount { color: var(--wine); }
.added_to_cart.wc-forward { display: none !important; }
.header-action.logout-action .header-action-label { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.modal-add.loading, .add-button.loading { opacity: .62; pointer-events: none; }
.modal-add.added::after, .add-button.added::after { display: none !important; }
.modal-info .woocommerce-Price-currencySymbol, .product-info .woocommerce-Price-currencySymbol { margin-right: 2px; }
.product-favorite:disabled { opacity: .55; cursor: wait; }
.header-action.account-trigger .header-action-label { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }

.cerezimmo-content-page, .cerezimmo-commerce-page {
  width: min(1180px, calc(100% - 40px));
  min-height: 62vh;
  margin: 0 auto;
  padding: 74px 0 110px;
}
.cerezimmo-content-card {
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid #d8cec1;
  background: #fffdf8;
}
.cerezimmo-content-card > h1, .cerezimmo-commerce-page .page-title {
  margin: 0 0 32px;
  color: var(--wine);
  font: 400 clamp(42px, 6vw, 72px)/1 var(--font-display);
}
.cerezimmo-commerce-page a { color: var(--wine); }
.cerezimmo-commerce-page .woocommerce-message,
.cerezimmo-commerce-page .woocommerce-info {
  border-top-color: var(--wine);
  background: #fffdf8;
}
.cerezimmo-commerce-page .woocommerce-message::before,
.cerezimmo-commerce-page .woocommerce-info::before { color: var(--wine); }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 0;
  background: var(--wine);
  color: var(--ivory);
  font-weight: 650;
  padding: 14px 18px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--wine-bright);
  color: var(--ivory);
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty {
  border: 1px solid #d8cec1;
  border-radius: 0;
  background: #fff;
  padding: 12px;
}
.woocommerce table.shop_table { border-radius: 0; border-color: #d8cec1; }
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 { width: 48%; }

.cerezimmo-login-page {
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
  padding: clamp(60px, 9vw, 130px) clamp(24px, 8vw, 130px);
  background:
    radial-gradient(circle at 12% 15%, rgba(198,161,91,.13), transparent 28%),
    var(--ivory);
}
.cerezimmo-login-brand h1 {
  max-width: 700px;
  margin: 0 0 26px;
  color: var(--wine);
  font: 400 clamp(55px, 7vw, 96px)/.94 var(--font-display);
  letter-spacing: -.04em;
}
.cerezimmo-login-brand p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.cerezimmo-login-panel {
  min-height: 430px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid #d8cec1;
  background: #fffdf8;
  box-shadow: 0 30px 80px rgba(37,30,27,.08);
}
.cerezimmo-login-form h2 {
  margin: 0 0 12px;
  color: var(--wine);
  font: 400 37px/1.08 var(--font-display);
}
.cerezimmo-login-form > p { margin: 0 0 27px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.cerezimmo-login-field { display: block; margin: 0 0 19px; }
.cerezimmo-login-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.cerezimmo-login-field input {
  width: 100%;
  height: 54px;
  border: 1px solid #cfc3b6;
  border-radius: 0;
  background: #fff;
  color: var(--charcoal);
  padding: 0 15px;
  outline: none;
}
.cerezimmo-login-field input:focus { border-color: var(--wine); box-shadow: 0 0 0 2px rgba(88,16,27,.08); }
.cerezimmo-code-input { font-size: 25px; letter-spacing: .35em; text-align: center; }
.cerezimmo-login-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: var(--wine);
  color: var(--ivory);
  padding: 14px 20px;
  font-weight: 700;
}
.cerezimmo-login-submit:hover { background: var(--wine-bright); }
.cerezimmo-login-submit:disabled { opacity: .55; cursor: wait; }
.cerezimmo-login-status { min-height: 21px; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cerezimmo-login-status.error { color: #9b2f2a; }
.cerezimmo-login-status.success { color: #2d6b3e; }
.cerezimmo-login-back {
  margin-top: 18px;
  border: 0;
  border-bottom: 1px solid var(--wine);
  background: transparent;
  color: var(--wine);
  padding: 5px 0;
  font-size: 11px;
}
.cerezimmo-login-account { text-align: center; }
.cerezimmo-login-account .auth-heart { margin-bottom: 22px; }
.cerezimmo-login-account h2 { color: var(--wine); font: 400 36px var(--font-display); }
.cerezimmo-login-account a {
  display: inline-block;
  margin-top: 20px;
  background: var(--wine);
  color: var(--ivory);
  padding: 15px 23px;
  text-decoration: none;
}

@media (max-width: 782px) {
  .admin-bar .site-header-group { top: 46px; }
}

@media (max-width: 760px) {
  .cerezimmo-login-page { grid-template-columns: 1fr; padding: 55px 18px 80px; gap: 40px; }
  .cerezimmo-login-brand h1 { font-size: clamp(50px, 15vw, 72px); }
  .cerezimmo-login-panel { min-height: 0; padding: 34px 22px; }
  .cerezimmo-content-page, .cerezimmo-commerce-page { width: calc(100% - 28px); padding: 48px 0 80px; }
  .woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
  .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 { width: 100%; }
}
