:root {
    --ink: #182b40;
    --navy: #1f3044;
    --muted: #58718a;
    --line: #e1e8ed;
    --paper: #f5f8f8;
    --tint: #edf6f1;
    --accent: #f28a00;
    --fresh: #2f8b57;
    --white: #fff;
}

body { background: var(--paper); color: var(--ink); }
.announcement { display: none; }
.site-header { position: fixed; top: 40px; right: 0; left: 0; z-index: 20; width: 100%; background: var(--navy); border: 0; box-shadow: 0 2px 9px rgba(15, 28, 42, .15); }
.site-header .header-main { min-height: 74px; display: grid; grid-template-columns: auto minmax(300px, 1fr) auto auto; align-items: center; gap: 26px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; width: auto; color: #fff; font-size: 24px; font-weight: 900; line-height: 1; white-space: nowrap; }
.site-header .brand-logo { display: block; flex: none; width: 38px; height: 38px; border-radius: 50%; background: transparent; padding: 0; }
.site-header .search { width: 100%; max-width: none; height: 40px; display: flex; align-items: center; margin: 0; border: 1px solid #aebbc5; border-radius: 5px; background: #dce4e9; }
.site-header .search input { width: 100%; height: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 0 12px; font: 14px inherit; }
.site-header .search input::placeholder { color: #5d6d79; opacity: 1; }
.site-header .search button { width: 50px; height: 100%; display: grid; place-items: center; border: 0; border-left: 1px solid #aebbc5; background: #c7d1d8; color: var(--navy); padding: 0; cursor: pointer; }
.search-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.site-header .search:focus-within { border-color: #8d9da9; background: #e7ecef; }
.site-header .search:focus-within button { background: #b8c5ce; }
.header-whatsapp { display: flex; align-items: center; gap: 9px; color: #fff; white-space: nowrap; }
.header-whatsapp > img { width: 28px; height: 28px; display: block; }
.header-whatsapp > span { display: flex; flex-direction: column; gap: 1px; }
.header-whatsapp small { color: #b9cbd8; font-size: 11px; }
.header-whatsapp strong { font-size: 14px; font-weight: 700; }
.site-header .cart-link { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; white-space: nowrap; }
.site-header .cart-link small { display: block; color: #d7e2eb; font-size: 10px; }
.cart-icon { font-size: 19px; }
.header-nav-row { border-top: 1px solid rgba(255, 255, 255, .13); }
.header-nav-row .nav { display: flex; align-items: stretch; gap: 34px; min-height: 48px; overflow: visible; white-space: nowrap; }
.header-nav-row .nav a { display: flex; align-items: center; color: #fff; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; padding: 0; }
.header-nav-row .nav a:hover, .header-nav-row .nav a.active { color: #fff; border-bottom-color: #8bc34a; }
.mobile-header, .mobile-bottom-nav { display: none; }

main { padding-top: 162px; background: var(--paper); }
.hero { background: linear-gradient(135deg, #edf6f1 0%, #f7faf8 100%); }
.hero h1, .page-intro h1 { color: var(--navy); font-weight: 900; }
.hero-lead, .page-intro > p:last-child { color: var(--muted); }
.eyebrow { color: #3c8b5c; font-weight: 900; }
.button-dark { background: var(--navy); border-radius: 6px; }
.button-light { background: #fff; border-radius: 6px; }
.section-heading h2 { color: var(--navy); font-weight: 900; }
.text-link { color: var(--navy); font-weight: 700; }
.category-grid { gap: 18px; }
.category-tile { min-height: 170px; border: 1px solid #e3eaee; border-radius: 18px; box-shadow: 0 7px 18px rgba(25, 45, 61, .07); }
.category-tile:hover { box-shadow: 0 13px 28px rgba(25, 45, 61, .12); }
.category-icon { background: #e4f3e8; color: #27804a; }
.category-tile small { color: var(--muted); }
.product-grid { gap: 20px; }
.product-card { overflow: hidden; background: #fff; border: 1px solid #e2e9ed; border-radius: 20px; box-shadow: 0 7px 19px rgba(25, 45, 61, .08); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(25, 45, 61, .14); }
.product-image { height: 270px; background: #f0f6f2; }
.product-image > span { color: #7aa588; font-size: 90px; }
.product-info { padding: 17px 18px 19px; }
.product-info > small { color: #3c8b5c; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.product-info h3 { color: var(--navy); font-size: 18px; line-height: 1.25; margin: 7px 0; }
.product-info p { min-height: 39px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.sale-badge { top: 14px; left: 14px; background: var(--accent); border-radius: 4px; font-weight: 700; padding: 6px 9px; }
.price-row strong { color: var(--navy); font-size: 16px; }
.price-row del { color: #9aa8b3; }
.card-actions { margin-top: 17px; }
.quick-add { border: 0; border-radius: 6px; background: var(--fresh); color: #fff; padding: 9px 13px; font-weight: 700; }
.quick-add:hover { background: #237445; }
.card-actions .text-link { border: 0; color: #2e6e99; font-size: 12px; }
.promise { gap: 20px; }
.promise-icon { background: #e5f3e8; color: #2f8b57; }
.promise h3 { color: var(--navy); }
.detail-description h2, .detail-description h3 { color: var(--ink); font-family: inherit; }
.detail-description ul, .detail-description ol { padding-left: 22px; }
.detail-description a { color: #2e6e99; text-decoration: underline; }
.product-size { color: var(--muted); font-size: 13px; }
.product-gallery-section { padding-top: 0; }
.product-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.product-gallery-grid img { width: 100%; height: 180px; object-fit: cover; background: var(--tint); }
.site-footer { background: #252525; color: #e7e7e7; padding: 0; }
.footer-one-line { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 25px; font-size: 12px; }
.footer-one-line a { color: #fff; }
.footer-one-line a:hover { color: #9bd064; }
.footer-one-line-brand { font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.footer-one-line > span { color: #bfc3c5; }
.floating-whatsapp { background: var(--fresh); }

@media (max-width: 1050px) {
    .site-header .header-main { grid-template-columns: auto minmax(220px, 1fr) auto auto; gap: 16px; }
    .header-whatsapp { gap: 5px; }
    .header-whatsapp strong { font-size: 12px; }
    .header-nav-row .nav { gap: 21px; }
    .header-nav-row .nav a { font-size: 13px; }
    .footer-one-line { gap: 16px; }
}

@media (max-width: 800px) {
    .site-header { position: static; top: auto; right: auto; left: auto; width: auto; margin-top: 38px; z-index: 10; }
    .site-header .header-main, .header-nav-row { display: none; }
    .mobile-header { min-height: 62px; position: relative; display: flex; align-items: center; justify-content: space-between; }
    .mobile-search-link { display: none !important; }
    .mobile-brand { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex !important; align-items: center; gap: 10px; color: #fff !important; font-size: 24px !important; font-weight: 900 !important; line-height: 1; white-space: nowrap; background: transparent !important; }
    .mobile-brand .brand-logo { width: 38px; height: 38px; background: transparent; padding: 0; }
    .mobile-menu summary { width: 42px; height: 42px; display: grid; place-items: center; list-style: none; border: 1px solid rgba(255, 255, 255, .22); border-radius: 9px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .menu-lines, .menu-lines::before, .menu-lines::after { background: #fff; }
    .mobile-menu-panel { border-radius: 8px; box-shadow: 0 12px 24px rgba(15, 28, 42, .2); }
    .mobile-menu-panel a { color: var(--navy); font-weight: 700; }

    .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: 70px; display: flex; align-items: stretch; background: var(--navy); border-top: 3px solid #8bc34a; color: #fff; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -5px 18px rgba(15, 28, 42, .16); }
    .mobile-bottom-link, .mobile-search-control { flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #dce8ef; font-size: 11px; font-weight: 700; text-decoration: none; }
    .mobile-bottom-link:hover, .mobile-bottom-link.is-active, .mobile-search-control[open] > summary { color: #fff; background: rgba(255, 255, 255, .08); }
    .mobile-bottom-link.is-active::after { content: ''; position: absolute; left: 25%; right: 25%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #9bd064; }
    .mobile-bottom-link .bottom-icon, .mobile-search-control .bottom-icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .mobile-search-control { list-style: none; }
    .mobile-search-control > summary { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; list-style: none; cursor: pointer; }
    .mobile-search-control > summary::-webkit-details-marker { display: none; }
    .mobile-search-box { position: absolute; left: 50%; bottom: 78px; transform: translateX(-50%); width: min(335px, calc(100vw - 28px)); height: 46px; display: flex; align-items: center; padding: 4px; border: 1px solid #b8c8d2; border-radius: 9px; background: #fff; box-shadow: 0 8px 24px rgba(15, 28, 42, .2); }
    .mobile-search-box input { width: 100%; height: 100%; border: 0; outline: 0; padding: 0 11px; background: transparent; color: var(--ink); font: 14px inherit; }
    .mobile-search-box button { width: 39px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--navy); color: #fff; cursor: pointer; }
    .mobile-search-box .search-icon { width: 17px; height: 17px; }
    .mobile-whatsapp-link { background: #1d744a; color: #fff; }
    .mobile-whatsapp-link img { width: 24px; height: 24px; display: block; }
    .mobile-whatsapp-link:hover { background: #238a57; }
    .floating-whatsapp { display: none !important; }

    .footer-one-line { min-height: 58px; gap: 12px; flex-wrap: wrap; padding: 12px 15px; font-size: 11px; }
    .footer-one-line a { display: none; }
    .footer-one-line > span { display: block; color: #d7d7d7; text-align: center; }
    .product-grid, .catalog-main .product-grid { gap: 14px; }
    .product-card { border-radius: 15px; }
    .product-image { height: 220px; }
    .product-info { padding: 14px; }
    .product-info h3 { font-size: 17px; }
    .product-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .product-gallery-grid img { height: 150px; }
    main { padding-top: 0; }
}

@media (max-width: 480px) {
    .mobile-brand { font-size: 22px !important; }
    .footer-one-line { min-height: 52px; }
    .product-image { height: 190px; }
    .quick-add { font-size: 11px; padding: 8px 9px; }
}
