/* OMENAL retail system: quiet, legible, product-first styling. */
:root {
  --pine: #174a35;
  --pine-deep: #103b2b;
  --leaf: #2d7049;
  --leaf-soft: #edf2e9;
  --gold: #a8873f;
  --gold-pale: #f4efdf;
  --ink: #252a25;
  --muted: #687067;
  --line: #e3e3d9;
  --paper: #fffefa;
  --surface: #f5f5ee;
  --shadow: 0 5px 18px rgba(31, 48, 34, .07);
  --radius: 8px;
  --display: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

html { background: var(--paper); }
body { color: var(--ink); background: var(--paper); font-family: var(--sans); }
.site-wrap { width: min(1480px, calc(100% - 64px)); }
.announcement { background:linear-gradient(105deg,#e7f2e7 0%,#f7f3e6 52%,#e2f1e7 100%); color:#174a35; border-bottom:1px solid #d8cca4; font-size:12px; }
.announcement .site-wrap { min-height:44px; display:flex; align-items:center; justify-content:center; gap:12px; font-weight:600; }
.announcement strong { padding:6px 13px; border:1px solid #d7c58c; border-radius:999px; background:rgba(255,254,250,.82); color:#176241; font-weight:700; }
.announcement-divider { color:#ae914c; font-weight:700; }
.site-header { background: #fffefa; }
.header-main { min-height: 112px; grid-template-columns: 260px minmax(260px, 1fr) auto auto auto; gap: 30px; }
.brand { max-width: 255px; }
.header-search { height: 48px; border-color: #c9d1c6; border-radius: 5px; }
.header-search button { background: var(--pine); }
.contact-shortcut strong { color: var(--pine); }
.header-account, .header-cart, .wishlist-open { color: #34473a; }
.nav-shell { border-top-color: #eeeee6; }
.nav-row { min-height: 54px; justify-content: flex-start; gap: 8px; }
.nav-row > a, .nav-dropdown > summary { color: #35473a; font-size: 13px; }
.nav-row > a { padding-inline: 14px; }
.nav-row .nav-contact { margin-left: auto; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { min-height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 12px; cursor: pointer; list-style: none; white-space: nowrap; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 0 0 2px; }
.nav-dropdown[open] > summary { color: var(--leaf); }
.nav-dropdown[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
.mega-menu { position: absolute; top: 100%; left: 0; z-index: 50; width: min(850px, calc(100vw - 64px)); background: #fffefa; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(25, 40, 29, .12); }
.mega-menu-inner { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 25px; padding: 24px 28px; }
.mega-menu-group h2 { margin: 0 0 13px; color: var(--pine); font: 600 21px/1.2 var(--display); }
.mega-menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; }
.mega-menu-links a, .mega-menu-all { color: #4e5c50; font-size: 13px; }
.mega-menu-links a:hover, .mega-menu-all:hover { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.mega-menu-all { align-self: end; color: var(--pine); font-weight: 700; white-space: nowrap; }

.home-hero { min-height: 460px; margin: 28px auto 24px; grid-template-columns: .95fr 1.05fr; border: 0; background: #f1f0e7; }
.home-copy { padding: clamp(34px, 5vw, 76px); }
.eyebrow { color: #806a37; font-size: 10px; letter-spacing: .14em; }
.home-copy h1, .catalog-heading h1, .product-summary h1, .section-top h2, .related-products h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; }
.home-copy h1 { max-width: 560px; font-size: clamp(39px, 4.5vw, 60px); line-height: 1.08; }
.home-copy p { max-width: 450px; color: #586257; font-size: 16px; line-height: 1.7; }
.button-primary, .button-secondary { min-height: 46px; border-radius: 4px; font-size: 13px; }
.button-primary { background: var(--pine); border-color: var(--pine); }
.button-secondary { border-color: #aeb9aa; background: transparent; }
.button-primary:hover { background: var(--pine-deep); }
.home-art { background-color: #e7e7d9; }
.home-art::after { background: linear-gradient(90deg, rgba(241,240,231,.18), transparent 40%); }
.trust-strip { margin-bottom: 54px; border-color: var(--line); }
.trust-item { padding: 18px 20px; }
.trust-item strong { color: var(--pine); }
.trust-icon { color: var(--leaf); border-color: #d5dccf; border-radius: 4px; }

.page-main { padding: 22px 0 64px; }
.breadcrumbs { color: #7b8179; }
.catalog-heading { align-items: center; padding: 12px 0 20px; border-color: var(--line); }
.catalog-heading h1 { font-size: clamp(34px, 4vw, 48px); }
.catalog-heading p { color: var(--muted); }
.catalog-result-count { padding: 0; color: #687067; }
.catalog-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 26px; padding-top: 22px; }
.catalog-filters { border-color: var(--line); border-radius: 6px; }
.catalog-filters > summary { min-height: 50px; }
.filter-summary-icon { font-size: 15px; }
.filter-count { border-radius: 3px; background: var(--leaf-soft); }
.filter-group { border-top-color: #ecece5; }
.filter-group > summary { color: #38483b; }
.filter-apply { background: var(--pine); }
.catalog-toolbar { margin-bottom: 16px; }
.catalog-search { max-width: none; height: 44px; border-color: #d9ddd4; border-radius: 4px; }
.catalog-search button { background: var(--pine); }
.catalog-sort select, .filter-group select { border-color: #d9ddd4; border-radius: 4px; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shop-card { border-color: #e8e8df; border-radius: 5px; box-shadow: none; }
.shop-card:hover { border-color: #cbd4c7; box-shadow: var(--shadow); }
.shop-card-image { height: 245px; background: #f7f7f2; }
.shop-card-image img { padding: 20px; }
.shop-card-body { padding: 14px; }
.shop-category { color: #82703e; font-size: 9px; letter-spacing: .09em; }
.shop-card-title { color: #2f3e32; font-size: 14px; font-weight: 600; }
.shop-price { color: var(--pine); }
.delivery-chips span { background: #f1f2ec; color: #697269; border-radius: 2px; }
.shop-add { border-radius: 3px; border-color: var(--pine); color: var(--pine); }
.shop-add:hover { background: var(--pine); }
.favorite-button, .product-favorite { box-shadow: none; }

.product-detail { gap: clamp(30px, 6vw, 82px); }
.product-media { min-height: 490px; border: 0; background: #f6f6f0; }
.product-summary h1 { color: var(--pine-deep); }
.product-summary .shop-price { font-family: var(--sans); }
.product-reviews, .related-products { max-width: 1480px; }
.related-products h2 { font-size: 30px; }
.site-footer { background: #f2f2eb; border-top-color: #e5e5dc; }
.footer-main h2 { color: var(--pine); }
.feedback-tab { background: #d7c794; color: var(--pine-deep); box-shadow: none; }
.impact-hero { border-radius: 5px; border-color: #dedfd5; background: #f1f0e7; }
.impact-hero h1, .blog-heading h1, .blog-article-head h1 { color: var(--pine-deep); font-family: var(--display); font-weight: 500; }
.impact-card { border-radius: 4px; background: #fff; }
.impact-card h2 { color: var(--pine); font-family: var(--display); font-weight: 500; }
.impact-note { background: #f2f2eb; }
.terms-contact { border-radius: 4px; background: #f1f2eb; }
.blog-heading { margin-inline: 0; text-align: left; }
.blog-card { border-radius: 4px; box-shadow: none; }
.blog-card-image { background: #f2f2eb; }
.blog-card-copy h2 { color: var(--pine); font-family: var(--display); font-weight: 500; }
.blog-empty { border-radius: 4px; background: #f2f2eb; }
.blog-article-image { border-radius: 4px; }

/* Shared forms and informational pages */
.section, .terms-page, .impact-page, .account-page { color: var(--ink); }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 42px 0 68px; }
.account-card, .cart-panel, .terms-index, .terms-body, .impact-card { border: 1px solid var(--line); border-radius: 5px; box-shadow: none; }
.account-card { margin: 20px 0; padding: clamp(18px, 3vw, 28px); background: #fff; }
.account-card h2, .cart-summary-box h2 { margin: 0 0 16px; color: var(--pine); font: 500 25px/1.2 var(--display); }
.account-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 7px; margin: 15px 0; color: #3d4a3f; font-size: 13px; font-weight: 600; }
input:not([type=checkbox]):not([type=radio]), textarea, select { border: 1px solid #d8dbd1; border-radius: 4px; background: #fff; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid #9ab7a1; outline-offset: 1px; }
.btn { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid #bdc8bb; border-radius: 4px; background: #fff; color: var(--pine); font-size: 13px; font-weight: 700; cursor: pointer; }
.btn-primary { border-color: var(--pine); background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-deep); }
.btn-secondary { border-color: #bdc8bb; background: #fff; color: var(--pine); }
.text-link { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.alert { margin: 14px 0; padding: 12px 14px; border: 1px solid #d9e4d7; border-radius: 4px; background: #f0f5ed; color: #36533e; font-size: 13px; }
.alert-error { border-color: #e8d1c8; background: #fbf0ec; color: #7c3829; }
.alert-success { border-color: #cddfca; background: #edf5e9; color: #305d38; }
.auth-layout { width: min(1000px, calc(100% - 48px)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin: 46px auto 64px; align-items: stretch; }
.auth-intro { min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 54px); background: #f1f0e7; }
.auth-intro h1 { margin: 0; color: var(--pine-deep); font: 500 clamp(36px, 4vw, 52px)/1.07 var(--display); letter-spacing: -.025em; }
.auth-intro p { max-width: 360px; margin: 17px 0 0; color: #5b655b; font-size: 15px; line-height: 1.7; }
.auth-form { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); background: #fff; }
.auth-form h2 { margin: 0 0 23px; color: var(--pine-deep); font: 500 31px/1.15 var(--display); }
.auth-form form > .btn { width: 100%; margin: 9px 0 15px; }
.auth-form > .text-link { display: inline-block; margin-top: 10px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 10px 0 22px; }
.section-head h1 { margin: 0; color: var(--pine-deep); font: 500 clamp(32px, 4vw, 44px)/1.1 var(--display); }
.cart-list { display: grid; }
.cart-line { display: grid; grid-template-columns: 82px minmax(0, 1fr) 110px 100px; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-line-image { width: 82px; height: 82px; display: grid; place-items: center; background: #f6f6f1; }
.cart-line-image img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-line-main { display: grid; gap: 5px; }
.cart-line-main strong { color: #344438; font-size: 14px; }
.cart-line-main span { color: var(--pine); font-weight: 700; }
.cart-line-main small { color: var(--muted); font-size: 11px; }
.cart-line label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.cart-line label input { width: 100%; min-height: 38px; padding: 7px; }
.cart-line-total { color: var(--pine); text-align: right; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 22px; }
.cart-summary-box { align-self: start; padding: 22px; border: 1px solid var(--line); background: #f7f7f1; }
.cart-summary-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e4e5dc; color: #5e685e; font-size: 13px; }
.cart-summary-box .row.total { color: var(--pine); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; text-align: left; }
.cart-table th, .cart-table td { padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cart-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.order-page { max-width: 850px; }
.order-confirmed h1 { color: var(--pine-deep); font: 500 clamp(32px, 4vw, 45px)/1.1 var(--display); }
.order-receipt > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.order-total-row { color: var(--pine); font-weight: 700; }
.empty-state { border-radius: 5px; }

@media (min-width: 1500px) {
  .site-wrap { width: min(1600px, calc(100% - 96px)); }
  .header-main { grid-template-columns: 285px minmax(300px, 1fr) auto auto auto; }
  .brand { max-width: 280px; }
  .catalog-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 32px; }
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 1180px) {
  .site-wrap { width: calc(100% - 44px); }
  .header-main { grid-template-columns: 205px minmax(180px, 1fr) auto auto auto; gap: 16px; }
  .brand { max-width: 205px; }
  .header-account span, .header-cart span, .wishlist-open span { display: none; }
  .nav-row { gap: 0; }
  .nav-row > a, .nav-dropdown > summary { padding-inline: 8px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .nav-row { justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; }
  .nav-row > a, .nav-dropdown > summary { flex: 0 0 auto; }
  .nav-dropdown:nth-of-type(1) .mega-menu, .nav-dropdown:nth-of-type(2) .mega-menu { left: 0; right: auto; width: min(560px, calc(100vw - 44px)); }
  .nav-dropdown:nth-of-type(n+3) .mega-menu { left: auto; right: 0; width: min(560px, calc(100vw - 44px)); }
}
@media (max-width: 760px) {
  .site-wrap { width: calc(100% - 32px); }
  .announcement .site-wrap { width:calc(100% - 20px); min-height:0; display:grid; grid-template-columns:1fr 1fr; gap:5px 8px; padding:7px 0; font-size:10px; line-height:1.3; text-align:center; }
  .announcement-wellness { grid-column:1; grid-row:2; }
  .announcement-shipping { grid-column:1/-1; grid-row:1; justify-self:center; padding:5px 13px; }
  .announcement-support { grid-column:2; grid-row:2; }
  .announcement-divider { display:none; }
  .header-main { min-height: 72px; grid-template-columns: 38px minmax(0, 1fr) repeat(3, 38px); gap: 8px; }
  .header-main > .brand { width: min(44vw, 180px); }
  .header-search { height: 44px; margin-bottom: 11px; }
  .nav-shell { background: #fffefa; overscroll-behavior: contain; touch-action: pan-y; }
  .nav-row { align-items: stretch; overflow: visible; }
  .nav-dropdown { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-dropdown > summary { min-height: 54px; padding-inline: 3px; font-size: 15px; }
  .nav-dropdown[open] > summary { border-bottom: 0; }
  .nav-row > a { min-height: 54px; font-size: 15px; }
  .mega-menu { position: static; width: 100%; border: 0; border-top: 1px solid #e8e9df; box-shadow: none; background: #f6f6ef; }
  .mega-menu-inner { padding: 15px 12px; grid-template-columns: 1fr; gap: 12px; }
  .mega-menu-group h2 { font-size: 18px; }
  .mega-menu-links { grid-template-columns: 1fr; gap: 10px; }
  .mega-menu-all { padding-top: 8px; border-top: 1px solid #e0e2d8; }
  .home-hero { display: flex; flex-direction: column; min-height: 0; align-items: stretch; margin: 14px auto 18px; }
  .home-copy { order: 1; }
  .home-art { order: 2; width: 100%; height: 220px; min-height: 0; flex: 0 0 220px; }
  .home-copy { padding: 29px 23px 26px; }
  .home-copy h1 { font-size: clamp(36px, 9vw, 46px); }
  .home-copy p { margin: 15px 0 20px; font-size: 14px; }
  .trust-strip { grid-template-columns: 1fr; margin-bottom: 38px; }
  .trust-item { padding: 12px 2px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .page-main { padding: 17px 0 44px; }
  .catalog-heading { padding: 8px 0 15px; }
  .catalog-heading h1 { font-size: 34px; }
  .catalog-layout { display: flex; flex-direction: column; gap: 13px; padding-top: 14px; }
  .catalog-filters { width: 100%; }
  .catalog-filters:not([open]) { border-color: #d5dacf; }
  html.catalog-drawer-enhanced .catalog-filters[open] { position: fixed; inset: 0; z-index: 1200; width: 100%; max-height: 100vh; max-height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 0; background: #fffefa; box-shadow: 0 0 0 100vmax rgba(18, 28, 20, .48); }
  html.catalog-drawer-enhanced .catalog-filters[open] > summary { position: sticky; top: 0; z-index: 2; min-height: 64px; padding-inline: 22px; border-bottom: 1px solid var(--line); background: #fffefa; font-size: 17px; }
  html.catalog-drawer-enhanced .catalog-filters[open] > summary::after { content: "×"; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #d7ddd4; border-radius: 50%; color: var(--pine); font-size: 23px; font-weight: 400; }
  html.catalog-drawer-enhanced .catalog-filters[open] .catalog-filter-form { padding: 0 22px 115px; }
  html.catalog-drawer-enhanced .catalog-filters[open] .filter-group { padding: 18px 0; }
  html.catalog-drawer-enhanced .catalog-filters[open] .filter-group > summary { font-size: 14px; }
  html.catalog-drawer-enhanced .catalog-filters[open] .filter-check { min-height: 40px; font-size: 14px; }
  html.catalog-drawer-enhanced .catalog-filters[open] .filter-check input { width: 21px; height: 21px; }
  html.catalog-drawer-enhanced .catalog-filters[open] .price-fields { gap: 12px; }
  html.catalog-drawer-enhanced .catalog-filters[open] .price-fields input { min-height: 43px; }
  html.catalog-drawer-enhanced .catalog-filters[open] .filter-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 3; grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px 18px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffefa; }
  html.catalog-drawer-enhanced .catalog-filters[open] .filter-apply { min-height: 48px; grid-column: 2; grid-row: 1; }
  html.catalog-drawer-enhanced .catalog-filters[open] .filter-reset { min-height: 48px; display: grid; place-items: center; grid-column: 1; grid-row: 1; border: 1px solid #d9ddd4; color: #34473a; text-decoration: none; }
  .catalog-toolbar { gap: 9px; }
  .catalog-search { flex-basis: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shop-card-image { height: clamp(145px, 46vw, 205px); }
  .shop-card-image img { padding: 10px; }
  .shop-card-body { padding: 10px; }
  .shop-card-title { min-height: 48px; font-size: 12px; }
  .shop-add { min-height: 38px; font-size: 11px; }
  .product-media { min-height: 300px; }
  .footer-main { gap: 22px 16px; }
  .wrap { width: calc(100% - 32px); }
  .section { padding: 24px 0 44px; }
  .auth-layout { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 12px; margin: 20px auto 42px; }
  .auth-intro { min-height: auto; padding: 24px 22px; }
  .auth-intro h1 { font-size: 36px; }
  .auth-intro p { margin-top: 10px; font-size: 14px; }
  .auth-form { padding: 23px 20px; }
  .auth-form h2 { margin-bottom: 18px; font-size: 28px; }
  .account-forms, .checkout-grid { grid-template-columns: 1fr; gap: 12px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr) 74px; gap: 10px; }
  .cart-line-image { width: 64px; height: 64px; }
  .cart-line-total { grid-column: 2 / 4; text-align: right; }
  .cart-summary-box { padding: 18px; }
  .order-confirmed { padding: 20px; }
  .order-receipt > div { font-size: 13px; }
  .impact-hero h1, .blog-heading h1, .blog-article-head h1 { font-size: 35px; }
}
@media (max-width: 380px) {
  .site-wrap { width: calc(100% - 24px); }
  .header-main { grid-template-columns: 34px minmax(0, 1fr) repeat(3, 34px); gap: 6px; }
  .header-main > .brand { width: min(42vw, 155px); }
  .product-grid { gap: 8px; }
  .home-art { height: 185px; flex-basis: 185px; }
}

/* Keep the intro first and prevent the mobile hero photo from creating a tall blank block. */
@media (max-width: 760px) {
  body.market main#contenido > .site-wrap > .home-hero { display: flex; flex-direction: column; min-height: 0; }
  body.market main#contenido > .site-wrap > .home-hero > .home-copy { order: 1; flex: 0 0 auto; }
  body.market main#contenido > .site-wrap > .home-hero > .home-art { order: 2; flex: 0 0 220px; height: 220px; min-height: 0; }
}
@media (max-width: 380px) {
  body.market main#contenido > .site-wrap > .home-hero > .home-art { flex-basis: 185px; height: 185px; }
}

/* Mobile homepage: explicitly size both hero rows so no desktop height can leave a blank lead-in. */
@media (max-width: 760px) {
  body.market main#contenido > .site-wrap > .home-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 220px !important;
    align-content: start !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  body.market main#contenido > .site-wrap > .home-hero > .home-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start !important;
    min-height: 0 !important;
  }
  body.market main#contenido > .site-wrap > .home-hero > .home-art {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 0 !important;
    max-height: 220px !important;
  }
}
@media (max-width: 380px) {
  body.market main#contenido > .site-wrap > .home-hero { grid-template-rows: auto 185px !important; }
  body.market main#contenido > .site-wrap > .home-hero > .home-art { height: 185px !important; max-height: 185px !important; }
}

/* Homepage v2 uses a fresh layout class to avoid the legacy hero's fixed-height cascade. */
.home-feature { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; min-height:0; margin:28px auto 24px; background:#f1f0e7; }
.home-feature > .home-copy { align-self:center; min-width:0; padding:clamp(30px,5vw,68px); }
.home-feature > .home-art { min-width:0; min-height:390px; background:#e7e7d9 url('../img/tienda-omenal.webp') center/cover no-repeat; }
@media (max-width:760px) {
  .home-feature { display:block; width:100%; height:auto; min-height:0; margin:12px auto 16px; }
  .home-feature > .home-copy { display:block; width:100%; height:auto; min-height:0; padding:28px 21px 24px; }
  .home-feature > .home-art { display:block; width:100%; height:200px; min-height:0; max-height:200px; }
}

/* Responsive coverage for narrow catalog, account, product and content layouts. */
@media (min-width:761px) and (max-width:1000px) {
  .catalog-layout { grid-template-columns:210px minmax(0,1fr); gap:18px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .shop-card-image { height:clamp(180px,27vw,245px); }
  .footer-main { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-about { grid-column:1/-1; }
}
@media (max-width:760px) {
  body, #contenido, main { min-width:0; }
  img, video, iframe { max-width:100%; }
  .site-wrap, .wrap { min-width:0; }
  /* The off-canvas navigation must not reserve a full viewport in document flow. */
  .site-header > .nav-shell { position:fixed; inset:0 auto 0 0; z-index:1001; width:min(88vw,380px); height:100vh; height:100dvh; overflow-x:hidden; overflow-y:auto; transform:translateX(-105%); transition:transform .22s ease; }
  .site-header > .nav-shell.is-open { transform:translateX(0); }
  .button-row { display:flex; flex-wrap:wrap; gap:9px; }
  .button-row > a { min-width:0; }
  .home-feature { overflow:hidden; }
  .home-feature > .home-copy h1 { font-size:clamp(34px,9vw,46px); line-height:1.08; }
  .home-feature > .home-copy .button-row > a { flex:1 1 175px; }
  .catalog-heading { display:flex; align-items:flex-start; gap:8px; }
  .catalog-heading > div { min-width:0; }
  .catalog-result-count { flex:0 0 auto; }
  .catalog-sort { min-width:0; }
  .catalog-sort select { min-width:0; }
  .product-grid > * { min-width:0; }
  .shop-card-title { overflow-wrap:anywhere; }
  .delivery-chips { flex-wrap:wrap; }
  .product-detail, .product-summary { min-width:0; }
  .product-summary h1 { overflow-wrap:anywhere; font-size:clamp(28px,8vw,35px); }
  .product-buy { align-items:center; }
  .product-buy button { min-width:100%; }
  .product-cta { display:flex; width:100%; justify-content:center; }
  .product-reviews, .related-products { width:calc(100% - 32px); min-width:0; }
  .cart-line-main { min-width:0; overflow-wrap:anywhere; }
  .cart-line label { min-width:0; }
  .checkout-grid > *, .account-forms > * { min-width:0; }
  .cart-summary-box .row { align-items:flex-start; }
  .cart-summary-box .row > * { min-width:0; overflow-wrap:anywhere; }
  .order-receipt { padding-inline:10px; }
  .order-receipt > div { align-items:flex-start; font-size:12px; }
  .order-receipt > div > :first-child { min-width:0; overflow-wrap:anywhere; }
  .order-confirmed .button-row > a { flex:1 1 180px; justify-content:center; }
  .auth-intro h1 { overflow-wrap:anywhere; }
  .auth-form, .account-card { min-width:0; }
  .form-field input, .form-field textarea, .form-field select { max-width:100%; }
  .terms-index { grid-template-columns:1fr; }
  .terms-index strong { grid-column:auto; }
  .terms-body a, .terms-contact a { overflow-wrap:anywhere; }
  .blog-article { width:calc(100% - 32px); }
  .blog-article-head, .blog-article-content { width:100%; min-width:0; }
  .blog-card-copy h2, .blog-card-copy p { overflow-wrap:anywhere; }
  .impact-note { min-width:0; }
}
@media (max-width:430px) {
  .site-wrap, .wrap { width:calc(100% - 24px); }
  .announcement .site-wrap { width:calc(100% - 16px); }
  .header-main { grid-template-columns:32px minmax(0,1fr) repeat(3,32px); gap:5px; }
  .header-main > .brand { width:min(39vw,150px); }
  .menu-toggle, .header-account, .header-cart, .wishlist-open { width:32px; min-width:32px; }
  .catalog-heading { display:block; }
  .catalog-result-count { display:block; margin-top:6px; }
  .shop-card-image { height:clamp(138px,44vw,185px); }
  .shop-card-body { padding:9px 8px; }
  .shop-card-title { min-height:0; font-size:12px; }
  .delivery-chips span { font-size:8px; }
  .shop-add { padding-inline:6px; font-size:10px; }
  .cart-line { grid-template-columns:52px minmax(0,1fr) 58px; gap:7px; }
  .cart-line-image { width:52px; height:58px; }
  .cart-line label { font-size:10px; }
  .cart-line input { padding-inline:4px; }
  .cart-line-total { grid-column:2/4; }
  .auth-layout { width:calc(100% - 24px); }
  .auth-intro, .auth-form { padding-inline:17px; }
  .terms-page { padding-inline:12px; }
  .terms-page > .impact-hero { padding:22px 17px; }
  .blog-article, .product-reviews, .related-products { width:calc(100% - 24px); }
}
