:root {
    color-scheme: light;
    --brand-blue: #0878bd;
    --brand-yellow: #ffd10a;
    --brand-red: #e51f2b;
    --ink: #3e3b3c;
    --muted: #777275;
    --line: #e6e6e8;
    --surface: #fff;
    --background: #f3f4f7;
    --shell: 1320px;
}

.settings-form { max-width: 900px; margin-bottom: 40px; }
.settings-form fieldset { min-width: 0; border: 1px solid var(--line); padding: 20px; margin: 16px 0; border-radius: 8px; }
.settings-form h2 { margin-top: 28px; }
.settings-form input[type="color"] { min-height: 48px; padding: 4px; }
.settings-form .admin-check input { width: auto; }

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--background); font-family: Arial, "Helvetica Neue", sans-serif; line-height: 1.45; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.store-shell, .container-wide { width: min(var(--shell), calc(100% - 32px)); margin-inline: auto; }

.social-bar { height: 36px; color: #fff; background: #3e3b3c; }
.social-row { height: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 18px; font-size: .78rem; }
.social-row span { opacity: .72; }
.social-row a { color: #fff; text-decoration: none; font-weight: 900; }
.site-header { background: #fff; }
.header-main { min-height: 218px; display: grid; grid-template-columns: 330px minmax(330px,1fr) 245px; align-items: center; gap: 28px; }
.store-brand { display: block; width: 330px; max-width: 34vw; text-decoration: none; }
.store-brand img { display: block; width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.product-search { display: flex; align-items: center; min-width: 0; height: 50px; border: 2px solid #4b4748; border-radius: 28px; overflow: hidden; background: #fff; }
.product-search input { width: 100%; height: 46px; padding: 0 20px; border: 0; outline: 0; background: transparent; }
.product-search button { width: 64px; height: 40px; margin-right: 4px; border: 0; border-radius: 22px; color: #fff; background: #484445; font-size: 1.65rem; line-height: 1; }
.cart-area { position: relative; min-width: 0; }
.cart-summary { position: relative; min-height: 50px; display: flex; align-items: center; gap: 7px; padding: 4px 18px; border: 2px solid #4b4748; border-radius: 28px; text-decoration: none; background: #fff; }
.cart-icon { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: #484445; border-radius: 50%; font-size: 1rem; }
.cart-summary strong { position: absolute; left: 26px; top: -11px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; color: #fff; background: #484445; border-radius: 50%; font-size: .7rem; }
.cart-summary small { font-size: .9rem; }
.mini-cart-panel { position: absolute; z-index: 250; top: calc(100% + 20px); right: 0; width: min(500px,calc(100vw - 32px)); padding: 24px; color: #fff; background: #282727; box-shadow: 0 16px 36px rgba(0,0,0,.3); }
.mini-cart-panel[hidden] { display: none; }
.mini-cart-panel::before { content: ""; position: absolute; right: 54px; top: -10px; width: 20px; height: 20px; background: #282727; transform: rotate(45deg); }
.mini-cart-items { display: grid; }
.mini-cart-item { display: grid; grid-template-columns: 24px 92px minmax(0,1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.mini-cart-remove { margin: 0; }
.mini-cart-remove button { width: 24px; padding: 0; border: 0; color: #ff2738; background: transparent; font-size: 1.35rem; line-height: 1; }
.mini-cart-image { display: grid; place-items: center; width: 92px; height: 82px; overflow: hidden; background: #fff; text-decoration: none; }
.mini-cart-image img { width: 100%; height: 100%; object-fit: contain; }
.mini-cart-image span { color: #7b7778; font-size: .7rem; }
.mini-cart-item>div { display: grid; gap: 5px; min-width: 0; }
.mini-cart-item>div a { color: #fff; text-decoration: none; font-size: 1rem; line-height: 1.3; }
.mini-cart-item>div span { font-size: .92rem; }
.mini-cart-subtotal { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 1.05rem; }
.mini-cart-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; padding-top: 26px; }
.mini-cart-actions a { padding: 14px 12px; color: #fff; background: #444142; text-align: center; text-decoration: none; text-transform: uppercase; font-size: .82rem; font-weight: 900; }
.mini-cart-actions a:hover { background: #555152; }
.mini-cart-empty { margin: 0; padding: 18px; text-align: center; }
.cart-notice { position: fixed; z-index: 1000; top: 22px; left: 50%; max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 4px; color: #fff; background: #21864a; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%,-18px); transition: opacity .2s ease,transform .2s ease; }
.cart-notice.is-visible { opacity: 1; transform: translate(-50%,0); }
.cart-notice.is-error { background: #b92632; }
.category-nav { color: #fff; background: #3e3b3c; }
.category-scroll { min-height: 52px; display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: thin; }
.category-scroll a { flex: 0 0 auto; color: #fff; text-decoration: none; text-transform: uppercase; font-size: .83rem; font-weight: 800; }
.category-item { position: relative; flex: 0 0 auto; }
.category-item.has-children>a::after { content: "⌄"; margin-left: 5px; color: #aaa; }
.category-scroll a:hover { color: var(--brand-yellow); }
.category-submenu { position: absolute; left: 0; top: 100%; z-index: 100; min-width: 220px; display: none; padding: 8px 0; color: var(--ink); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.category-item:hover .category-submenu,.category-item:focus-within .category-submenu { display: grid; }
.category-submenu a { padding: 10px 16px; color: var(--ink); text-transform: none; }
.category-submenu a:hover { color: var(--brand-blue); background: #f3f6f9; }

main { min-height: 420px; }
.home-banner { min-height: 360px; margin-top: 48px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; color: #fff; background: linear-gradient(115deg,#061326 0%,#06274b 62%,#0878bd 100%); }
.banner-copy { padding: 54px 64px; }
.eyebrow { display: block; margin-bottom: 12px; color: #22a9ee; font-size: .78rem; letter-spacing: .22em; font-weight: 900; text-transform: uppercase; }
.banner-copy h1 { max-width: 590px; margin: 0; font-size: clamp(2.6rem,5vw,4.4rem); line-height: .98; letter-spacing: -.04em; }
.banner-copy p { max-width: 560px; margin: 22px 0 28px; color: #d8e7f3; font-size: 1.08rem; }
.banner-copy a { display: inline-block; padding: 13px 24px; border-radius: 4px; color: #18202b; background: var(--brand-yellow); text-decoration: none; font-weight: 900; }
.banner-visual { position: relative; display: grid; align-content: center; gap: 14px; padding: 44px; isolation: isolate; }
.banner-visual::before,.banner-visual::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 22px solid rgba(255,255,255,.08); }
.banner-visual::before { width: 290px; height: 290px; right: 18px; top: 25px; }
.banner-visual::after { width: 170px; height: 170px; right: 78px; top: 85px; border-color: rgba(255,209,10,.25); }
.banner-visual span { margin-left: auto; padding: 8px 14px; color: #fff; background: rgba(0,0,0,.3); font-weight: 900; letter-spacing: .12em; }
.benefits-strip { min-height: 115px; margin-top: 40px; display: grid; grid-template-columns: repeat(3,1fr); color: #fff; background: #3e3b3c; }
.benefits-strip div { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; font-weight: 900; font-size: .9rem; }
.benefits-strip b { font-size: 1.6rem; }
.home-section { margin-top: 64px; }
.home-section-title { min-height: 88px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; background: #3e3b3c; }
.home-section-title h2 { margin: 0; font-size: clamp(2rem,4vw,3.25rem); letter-spacing: .12em; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.offers-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.compact-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e5e5e5; }
.sale-badge { position: absolute; right: -1px; top: 10px; z-index: 2; padding: 5px 10px; border-radius: 18px 0 0 18px; color: #fff; background: #ed1724; font-size: .78rem; }
.product-image { height: 320px; display: grid; place-items: center; overflow: hidden; padding: 14px; text-decoration: none; background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.image-placeholder { color: var(--muted); }
.product-copy { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 20px 22px 28px; border-top: 1px solid #eee; text-align: center; }
.product-copy h2 { min-height: 48px; margin: 0 0 15px; font-size: 1rem; line-height: 1.45; font-weight: 400; }
.product-copy h2 a { text-decoration: none; }
.price-row { min-height: 28px; display: flex; align-items: baseline; justify-content: center; gap: 5px; margin-bottom: 17px; }
.price-row del { color: #e2ad08; font-size: .82rem; font-weight: 800; }
.price { color: #444; font-size: 1rem; }
.product-copy form { width: 100%; margin-top: auto; }
.product-copy button { min-height: 48px; width: 100%; border: 0; color: #fff; background: #3e3b3c; font-size: .78rem; font-weight: 900; }
.product-copy button:hover { background: #222; }

.catalog-section,.product-detail,.product-description,.cart-page,.checkout-page,.message-page { padding-top: 54px; padding-bottom: 64px; }
.section-title h1,.section-title h2,.message-page h1,.cart-page h1 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3rem); }
.section-title p { color: var(--muted); }
.catalog-section .product-grid { margin-top: 28px; }
.category-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.category-heading>img { width: 230px; height: 150px; object-fit: contain; background: #fff; }
.category-search { display: flex; width: min(760px,100%); height: 54px; margin-top: 30px; border: 2px solid #4b4748; border-radius: 28px; overflow: hidden; background: #fff; }
.category-search input { min-width: 0; flex: 1; padding: 0 22px; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.category-search button { min-width: 118px; margin: 4px; padding: 0 22px; border: 0; border-radius: 24px; color: #fff; background: #484445; font-weight: 800; cursor: pointer; }
.category-search button:hover,.category-search button:focus-visible { background: #262425; }
.category-search-result { display: flex; align-items: center; gap: 6px; margin: 15px 0 0; color: #5f5b5d; }
.category-search-result a { margin-left: 8px; color: #087bbd; font-weight: 700; }
.category-search-empty { margin-top: 28px; padding: 42px 24px; border: 1px solid var(--line); background: #fff; text-align: center; }
.category-search-empty h2 { margin: 0 0 8px; }
.category-search-empty a { display: inline-block; margin-top: 12px; color: #087bbd; font-weight: 800; }
.subcategory-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 28px 0 36px; }
.subcategory-grid a { min-height: 120px; display: grid; grid-template-columns: 72px 1fr; align-content: center; gap: 4px 14px; padding: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.subcategory-grid img { grid-row: 1/span 2; width: 72px; height: 72px; object-fit: contain; }
.subcategory-grid span { color: var(--muted); font-size: .82rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-detail { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 18px; align-items: start; margin-top: 54px; margin-bottom: 20px; padding-top: 0; padding-bottom: 0; overflow: visible; background: transparent; border: 0; }
.product-gallery { position: relative; min-width: 0; padding: 18px; border: 1px solid #e2e3e6; background: #fff; }
.detail-sale-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 8px; border-radius: 3px; color: #fff; background: #e31d2b; font-size: .68rem; font-weight: 900; }
.gallery-main { min-height: 430px; display: grid; place-items: center; overflow: hidden; background: #fff; }
.gallery-main img { width: 100%; height: 430px; object-fit: contain; padding: 16px; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumbnail { aspect-ratio: 1; overflow: hidden; padding: 5px; border: 2px solid transparent; background: #fff; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbnail:hover,.gallery-thumbnail:focus-visible { border-color: #8c898a; outline: 0; }
.gallery-thumbnail.is-active { border-color: var(--brand-blue); box-shadow: 0 0 0 1px var(--brand-blue); }
.product-info { align-self: start; padding: 28px 30px; border: 1px solid #e2e3e6; background: #fff; }
.product-info h1 { margin: 8px 0 14px; font-size: clamp(1.35rem,2.4vw,2.2rem); line-height: 1.2; font-weight: 500; }
.detail-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.detail-price del { color: #e2ad08; font-size: .9rem; font-weight: 800; }
.detail-price strong { color: #383536; font-size: 1.35rem; }
.detail-stock { margin: 0 0 14px; color: #e15920; font-size: .82rem; font-weight: 800; }
.detail-stock.is-out { color: #d61f2c; }
.short-description { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.short-description p { margin: 0 0 .8em; }
.short-description>:last-child { margin-bottom: 0; }
.add-form { display: grid; grid-template-columns: 110px 1fr; gap: 12px; margin-top: 20px; }
.add-form label { display: grid; gap: 5px; }
.add-form input { width: 100%; padding: 11px; border: 1px solid #ccc; }
.add-form button,.primary-link { border: 0; padding: 13px 20px; color: #fff; background: #3e3b3c; text-decoration: none; font-weight: 900; }
.product-description { display: block; margin-top: 0; padding: 20px 22px 28px; background: #fff; border: 1px solid #e2e3e6; }
.product-description-tab { padding: 10px 12px; border: 1px solid #dfe1e5; color: #393637; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.product-description>h2 { margin: 24px 0 14px; color: #302e2f; font-size: .85rem; line-height: 1.15; text-transform: uppercase; }
.product-description>h2::after { display: none; }
.product-description-content { min-width: 0; color: #504d4f; font-size: .9rem; line-height: 1.55; }
.product-description-content>:first-child { margin-top: 0; }
.product-description-content>:last-child { margin-bottom: 0; }
.product-description-content p { margin: 0 0 1em; }
.product-description-content h2,.product-description-content h3,.product-description-content h4 { margin: 1.5em 0 .6em; color: #302e2f; line-height: 1.2; }
.product-description-content h2 { font-size: 1.45rem; }
.product-description-content h3 { font-size: 1.2rem; }
.product-description-content ul,.product-description-content ol { margin: .7em 0 1.2em; padding-left: 1.35em; }
.product-description-content li { margin: .3em 0; }
.product-description-content table { width: 100%; margin: .8em 0 1em; border-collapse: collapse; background: #fff; }
.product-description-content th,.product-description-content td { padding: 9px 10px; border: 1px solid #dfe1e5; text-align: left; vertical-align: top; }
.product-description-content th { width: 32%; color: #302e2f; background: #fff; font-weight: 500; }
.related-products { padding-top: 28px; padding-bottom: 64px; }
.related-products>h2 { margin: 0 0 18px; color: #353233; font-size: .82rem; text-transform: uppercase; }
.related-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.cart-list { display: grid; gap: 10px; }
.cart-list article { display: grid; grid-template-columns: 1fr auto auto; gap: 22px; align-items: center; padding: 18px; background: #fff; }
.cart-list small { display: block; color: var(--muted); }
.cart-list button { border: 0; background: transparent; color: var(--brand-red); }
.cart-total { display: flex; justify-content: space-between; margin: 20px 0; padding: 20px; background: #fff; font-size: 1.3rem; }
.cart-page { min-height: 540px; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 34px; align-items: start; }
.cart-products-card,.cart-totals-card,.cart-empty-card { padding: 32px; border: 1px solid #e2e4e8; background: #fff; }
.cart-table-scroll { overflow-x: auto; }
.cart-products-table { width: 100%; table-layout: fixed; border-collapse: collapse; color: #302e2f; }
.cart-products-table th,.cart-products-table td { padding: 14px 11px; border: 1px solid #e1e3e6; text-align: left; vertical-align: middle; }
.cart-products-table th { background: #f5f5f6; font-weight: 500; }
.cart-products-table th:first-child,.cart-products-table td:first-child { width: 42px; text-align: center; }
.cart-products-table th:nth-child(2),.cart-products-table td:nth-child(2) { width: 70px; padding-inline: 6px; }
.cart-products-table th:nth-child(4),.cart-products-table td:nth-child(4) { width: 120px; white-space: nowrap; }
.cart-products-table th:nth-child(5),.cart-products-table td:nth-child(5) { width: 98px; }
.cart-products-table th:nth-child(6),.cart-products-table td:nth-child(6) { width: 130px; white-space: nowrap; }
.cart-products-table td:nth-child(4),.cart-products-table td:nth-child(6) { font-size: .9rem; }
.cart-product-image { display: grid; place-items: center; width: 58px; height: 58px; }
.cart-product-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-product-name { text-decoration: none; line-height: 1.4; }
.cart-remove-button { padding: 4px; border: 0; color: #d90016; background: transparent; font-size: 1.2rem; }
.cart-products-table input[type="number"] { width: 72px; padding: 11px 7px; border: 1px solid #dfe1e5; text-align: center; }
.cart-products-table tfoot td { text-align: right; }
.cart-products-table tfoot button { padding: 13px 20px; border: 0; color: #fff; background: #a5a3a4; text-transform: uppercase; font-size: .78rem; font-weight: 900; }
.cart-totals-card { padding: 34px; }
.cart-totals-card h2 { margin: 0 0 30px; padding-bottom: 10px; border-bottom: 1px solid #e4e5e8; font-size: 1.2rem; text-transform: uppercase; }
.cart-totals-box { border: 1px solid #e1e3e6; }
.cart-total-row,.cart-shipping-row { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 14px; padding: 24px 16px; border-bottom: 1px solid #e1e3e6; }
.cart-total-row:last-child { border-bottom: 0; }
.cart-shipping-row>span,.cart-total-row>span { font-weight: 700; }
.cart-shipping-options { display: grid; gap: 11px; }
.cart-shipping-options label { display: flex; align-items: flex-start; gap: 7px; cursor: pointer; }
.cart-shipping-options input { margin-top: 4px; }
.cart-shipping-options label>span { display: grid; gap: 2px; }
.cart-shipping-options strong { font-weight: 500; }
.cart-shipping-options small { color: #5e5a5c; line-height: 1.35; }
.cart-grand-total { font-size: 1.05rem; }
.cart-checkout-button { display: block; margin-top: 34px; padding: 17px 18px; color: #fff; background: #454243; text-align: center; text-decoration: none; text-transform: uppercase; font-size: .82rem; font-weight: 900; }
.cart-checkout-button:hover { background: #292728; }
.cart-empty-card { text-align: center; }
.cart-empty-card h1 { margin-bottom: 24px; }
.notice { padding: 13px 15px; margin: 15px 0; border-radius: 4px; }
.notice.error { color: #981b2b; background: #fff0f1; border: 1px solid #efc4ca; }
.notice.success { color: #176136; background: #e9f8ef; border: 1px solid #bce2c9; }

.checkout-form { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 20px; align-items: start; }
.checkout-form fieldset,.checkout-summary { margin: 0; border: 1px solid var(--line); background: #fff; padding: 22px; }
.checkout-form fieldset { grid-column: 1; }
.checkout-form legend { padding: 0 8px; font-weight: 900; }
.checkout-form label:not(.shipping-option) { display: grid; gap: 7px; margin: 14px 0; font-weight: 700; }
.checkout-form input,.checkout-form textarea { width: 100%; border: 1px solid #cfd3d8; padding: 11px 12px; }
.shipping-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); margin: 10px 0; cursor: pointer; }
.shipping-option input { width: auto; margin-top: 5px; }
.shipping-option span { display: grid; gap: 3px; }
.shipping-option small { color: var(--muted); }
.checkout-summary { grid-column: 2; grid-row: 1/span 3; position: sticky; top: 20px; }
.checkout-summary>span,.checkout-summary>strong { display: block; }
.checkout-summary>strong { font-size: 1.45rem; margin: 6px 0 18px; }
.checkout-summary button { width: 100%; border: 0; background: var(--brand-blue); color: #fff; padding: 14px; font-weight: 900; }

.site-footer { margin-top: 72px; color: #fff; background: #3e3b3c; }
.footer-grid { min-height: 170px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 35px; align-items: center; }
.site-footer a { color: #fff; }
.site-footer p { margin: 7px 0; color: #e0ddde; }

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 8px 17px 8px 10px;
    border-radius: 999px;
    color: #fff;
    background: #25d366;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    text-decoration: none;
    font-size: .88rem;
}
.whatsapp-float span { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; }
.whatsapp-float img { width: 21px; height: 21px; filter: brightness(0) invert(1); }

.admin-body { background: #f3f5f8; color: #172033; min-height: 100vh; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-card { width: min(430px,100%); background: #fff; border: 1px solid #dde2ea; border-radius: 12px; padding: 32px; box-shadow: 0 20px 50px rgba(17,28,50,.1); }
.admin-card label { display: grid; gap: 7px; margin: 18px 0; font-weight: 700; }
.admin-card input { border: 1px solid #cbd3df; padding: 12px; }
.admin-card button,.admin-topbar button { border: 0; background: #1465c0; color: #fff; padding: 11px 18px; font-weight: 700; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; background: #111927; color: #fff; padding: 14px clamp(18px,4vw,60px); }
.admin-topbar nav { margin-left: auto; margin-right: 22px; }
.admin-topbar nav { display: flex; align-items: center; gap: 22px; }
.admin-topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.admin-topbar form { margin: 0; }
.admin-panel { padding-top: 42px; padding-bottom: 70px; }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.admin-page-heading h1 { margin: 0; }
.admin-primary,.admin-secondary,.admin-edit { display: inline-block; border-radius: 5px; text-decoration: none; font-weight: 800; }
.admin-primary { padding: 13px 18px; color: #fff; background: #1465c0; }
.admin-secondary { padding: 10px 15px; color: #26364d; border: 1px solid #cdd5df; background: #fff; }
.admin-edit { padding: 7px 12px; color: #1465c0; background: #eaf3ff; }
.admin-status { display: inline-block; padding: 4px 9px; border-radius: 999px; background: #eef1f5; font-size: .78rem; font-weight: 800; text-transform: capitalize; }
.admin-status-publicado { color: #176136; background: #e9f8ef; }
.admin-status-agotado { color: #981b2b; background: #fff0f1; }
.admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.admin-stats article,.admin-table-wrap,.order-admin-card { background: #fff; border: 1px solid #e0e5ec; padding: 22px; }
.admin-stats article { display: grid; gap: 8px; }
.admin-stats strong { font-size: 2rem; }
.admin-table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,.admin-table td { text-align: left; border-bottom: 1px solid #e7ebf0; padding: 12px 10px; }
.admin-table th { font-size: .82rem; text-transform: uppercase; color: #697386; }
.order-admin-list { display: grid; gap: 14px; }
.order-admin-card { display: grid; grid-template-columns: 160px minmax(260px,1fr) 180px minmax(240px,.8fr); gap: 18px; align-items: center; }
.order-admin-card>div { display: grid; gap: 3px; }
.order-admin-card small { color: #697386; }
.quote-form { display: flex; gap: 8px; align-items: end; }
.quote-form label { display: grid; gap: 5px; font-size: .86rem; font-weight: 700; }
.quote-form input { width: 145px; border: 1px solid #cbd3df; padding: 9px; }
.quote-form button { border: 0; background: #009ee3; color: #fff; padding: 10px 13px; font-weight: 800; }
.product-admin-form { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 22px; align-items: start; }
.admin-form-main,.admin-form-sidebar { display: grid; gap: 22px; }
.admin-form-sidebar { position: sticky; top: 18px; }
.admin-form-card { padding: 24px; border: 1px solid #dfe5ed; border-radius: 8px; background: #fff; }
.admin-form-card h2 { margin: 0 0 18px; font-size: 1.15rem; }
.admin-form-card label:not(.admin-check) { display: grid; gap: 7px; margin: 15px 0; color: #26364d; font-size: .9rem; font-weight: 800; }
.admin-form-card input:not([type="checkbox"]),.admin-form-card textarea,.admin-form-card select { width: 100%; padding: 11px 12px; border: 1px solid #cbd3df; border-radius: 4px; color: #172033; background: #fff; }
.admin-form-card textarea { resize: vertical; }
.admin-form-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.admin-check { display: flex; align-items: center; gap: 9px; margin: 16px 0; font-weight: 700; }
.admin-help { margin: -8px 0 18px; color: #697386; font-size: .87rem; }
.admin-field-hint { color: #697386; font-size: .78rem; font-weight: 500; line-height: 1.4; }
.admin-upload { padding: 20px; border: 2px dashed #b8c4d4; border-radius: 7px; background: #f8faff; }
.admin-image-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.admin-image-grid label { overflow: hidden; margin: 0 !important; border: 1px solid #dde3eb; border-radius: 6px; }
.admin-image-grid label:has(input[name="imagen_principal"]:checked) { border-color: #1465c0; box-shadow: 0 0 0 2px #d8eaff; }
.admin-image-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f5f6f8; }
.admin-image-grid span { padding: 6px 8px; font-size: .78rem; }
.category-admin-layout { display: grid; grid-template-columns: 380px minmax(0,1fr); gap: 22px; align-items: start; }
.category-current-image { display: grid; gap: 8px; margin: 14px 0; }
.category-current-image img { width: 100%; height: 170px; object-fit: contain; border: 1px solid #dde3eb; background: #f7f8fa; }
.admin-row-detail { display: block; margin-top: 3px; color: #788397; }
.admin-save { width: 100%; margin-top: 8px; padding: 14px 18px; border: 0; border-radius: 5px; color: #fff; background: #1465c0; font-weight: 900; }

/* Portada alineada con la tienda activa de multiserv.uy */
.home-slider { position: relative; width: min(1120px,calc(100% - 32px)); margin-top: 48px; overflow: hidden; background: #07172b; }
.home-slides { position: relative; aspect-ratio: 1600 / 665; }
.home-slide { position: absolute; inset: 0; display: block; width: 100%; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.home-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.home-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-arrow { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.5); font-size: 2rem; line-height: 1; transform: translateY(-50%); }
.banner-prev { left: 14px; }
.banner-next { right: 14px; }
.banner-dots { position: absolute; z-index: 3; left: 50%; bottom: 12px; display: flex; gap: 7px; padding: 6px 9px; border-radius: 20px; background: rgba(0,0,0,.35); transform: translateX(-50%); }
.banner-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; }
.banner-dots button.is-active { background: #fff; }
.banner-admin-layout { display: grid; grid-template-columns: 430px minmax(0,1fr); gap: 22px; align-items: start; }
.admin-banner-size { display: grid; gap: 5px; padding: 14px; border-left: 4px solid #1465c0; background: #eaf3ff; }
.admin-banner-size span { color: #5f6e82; font-size: .85rem; }
.admin-banner-preview { display: block; width: 100%; aspect-ratio: 1600 / 665; object-fit: cover; border: 1px solid #dce2ea; }
.admin-banner-list { display: grid; gap: 14px; }
.admin-banner-list article { display: grid; grid-template-columns: 210px minmax(0,1fr) auto; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #e2e6ec; }
.admin-banner-list img { width: 210px; aspect-ratio: 1600 / 665; object-fit: cover; }
.admin-banner-list div { display: grid; gap: 5px; }
.admin-banner-list small { color: #697386; }
.admin-delete { width: 100%; margin-top: 10px; padding: 12px 18px; border: 1px solid #dfb1b6; border-radius: 5px; color: #981b2b; background: #fff0f1; font-weight: 800; }
.benefits-strip { width: min(870px,calc(100% - 32px)); min-height: 90px; margin-top: 50px; }
.benefits-strip div { gap: 6px; font-size: .78rem; }
.benefits-strip b { font-size: 1.25rem; }
.home-section { margin-top: 82px; }
.home-section-title { width: min(1220px,100%); min-height: 82px; margin: 0 auto 22px; }
.home-section-title h2 { padding: 12px; text-align: center; font-size: clamp(1.85rem,4vw,3rem); line-height: 1.05; letter-spacing: .08em; }
.home-category-grid { width: min(1220px,100%); margin-inline: auto; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 28px; }
.home-category-grid .product-image { height: 230px; padding: 12px; }
.home-category-grid .product-copy { padding: 16px 12px 22px; }
.home-category-grid .product-copy h2 { min-height: 62px; margin-bottom: 12px; font-size: .98rem; line-height: 1.35; }
.home-category-grid .price-row { min-height: 34px; margin-bottom: 12px; flex-wrap: wrap; }
.home-section .product-copy form { width: auto; }
.home-section .product-copy button { min-width: 140px; padding-inline: 14px; }
.home-section-more { display: flex; justify-content: center; width: min(1220px,100%); margin: 30px auto 0; }
.home-section-more a { min-width: 230px; padding: 15px 24px; color: #fff; background: #3e3b3c; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .84rem; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.home-section-more a:hover,.home-section-more a:focus-visible { background: #1f1e1e; transform: translateY(-2px); }
.stock-badge { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 6px 12px; border-radius: 999px; color: #fff; background: #f10016; font-size: .75rem; }
.sale-badge + .stock-badge { top: 43px; }
.home-location { margin-top: 78px; }
.home-location iframe { display: block; width: 100%; height: 300px; border: 0; }
.home-location h2 { margin: 12px 0 0; padding: 15px 22px; color: #fff; background: #3e3b3c; text-align: center; font-size: clamp(1.2rem,2.7vw,2rem); line-height: .95; letter-spacing: .12em; }
.google-reviews { margin-top: 14px; padding: 22px; border: 1px solid #dfe1e5; background: #fff; }
.google-reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.google-reviews-heading span { color: #6b6769; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.google-reviews-heading h3 { margin: 3px 0 0; font-size: 1.35rem; }
.google-reviews-summary { margin: 6px 0 0; color: #5d595b; font-size: .82rem; }
.google-reviews-heading>a { padding: 9px 12px; border-radius: 3px; color: #fff; background: #168447; text-decoration: none; font-size: .78rem; font-weight: 800; }
.google-reviews-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.google-reviews-grid article { min-width: 0; padding: 16px; border: 1px solid #e1e3e6; background: #fff; }
.google-reviews-grid article header { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: 9px; align-items: center; }
.review-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: #3d586d; font-weight: 800; }
.review-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review-avatar-orange { background: #f05b24; }
.review-avatar-green { background: #0c7650; }
.review-avatar-purple { background: #6871ba; }
.google-reviews-grid header>div { display: grid; min-width: 0; }
.google-reviews-grid header strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .82rem; }
.google-reviews-grid header small { color: #777; font-size: .68rem; }
.google-mark { color: #4285f4; font-size: .95rem; }
.review-stars { margin: 10px 0 7px; color: #f6aa00; font-size: .85rem; letter-spacing: .08em; }
.review-stars span { color: #c9c9c9; }
.google-reviews-grid p { display: -webkit-box; min-height: 72px; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; color: #4e4a4c; font-size: .78rem; line-height: 1.45; }
.review-google-link { display: inline-block; margin-top: 10px; color: #1967d2; font-size: .72rem; font-weight: 700; text-decoration: none; }
.site-header,.category-nav { position: relative; z-index: 50; }
.category-scroll { justify-content: safe center; gap: clamp(16px,1.55vw,28px); overflow: visible; }
.category-scroll a { font-size: .78rem; }
.category-item { align-self: stretch; display: flex; align-items: center; }
.category-submenu { top: 100%; max-height: min(520px,70vh); overflow-y: auto; overscroll-behavior: contain; }
.contact-menu { margin-left: 0; }
#ofertas .home-section-title { margin-bottom: 50px; }
#ofertas .offers-grid { width: min(1220px,100%); margin-inline: auto; }

@media (max-width: 1000px) {
    .header-main { grid-template-columns: 240px 1fr; min-height: 175px; }
    .store-brand { width: 240px; max-width: 36vw; }
    .cart-area { grid-column: 2; justify-self: end; width: 230px; }
    .cart-summary { width: 100%; }
    .product-search { grid-column: 2; grid-row: 1; }
    .product-grid,.compact-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .order-admin-card { grid-template-columns: 1fr; }
    .product-admin-form { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .category-admin-layout { grid-template-columns: 1fr; }
    .admin-form-sidebar { position: static; }
    .home-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .social-bar { display: none; }
    .store-shell,.container-wide { width: min(100% - 22px,var(--shell)); }
    .header-main { min-height: auto; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 16px; }
    .store-brand { width: 210px; max-width: 42vw; }
    .product-search { grid-column: 1/-1; grid-row: 2; height: 46px; }
    .cart-area { grid-column: 2; grid-row: 1; width: 55px; }
    .cart-summary { width: 55px; min-height: 46px; padding: 3px; }
    .cart-summary small { display: none; }
    .cart-summary strong { left: 30px; }
    .mini-cart-panel { position: fixed; top: 76px; right: 11px; left: 11px; width: auto; max-height: calc(100vh - 92px); overflow-y: auto; padding: 18px; }
    .mini-cart-panel::before { display: none; }
    .mini-cart-item { grid-template-columns: 22px 72px minmax(0,1fr); gap: 10px; }
    .mini-cart-image { width: 72px; height: 66px; }
    .mini-cart-actions { gap: 10px; }
    .category-scroll { gap: 20px; }
    .category-scroll { overflow-x: auto; overflow-y: hidden; }
    .category-submenu { display: none !important; }
    .home-banner { min-height: 480px; grid-template-columns: 1fr; margin-top: 22px; }
    .home-slider { margin-top: 22px; }
    .banner-copy { padding: 38px 26px 12px; }
    .banner-copy h1 { font-size: 3rem; }
    .banner-visual { min-height: 150px; padding: 20px 30px; }
    .benefits-strip { grid-template-columns: 1fr; padding: 20px; gap: 22px; }
    .benefits-strip div { flex-direction: row; justify-content: flex-start; text-align: left; }
    .home-section { margin-top: 36px; }
    .home-section-title { min-height: 68px; }
    .offers-grid,.product-grid,.compact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .home-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-category-grid .product-image { height: 205px; }
    .benefits-strip { width: min(100% - 22px,870px); }
    .home-location iframe { height: 250px; }
    .google-reviews-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .google-reviews-heading { align-items: flex-start; flex-direction: column; }
    .product-image { height: 205px; }
    .product-copy { padding: 14px 12px 18px; }
    .product-copy h2 { font-size: .9rem; }
    .product-detail { grid-template-columns: 1fr; margin-top: 24px; gap: 12px; }
    .product-gallery { padding: 14px; }
    .gallery-main { min-height: 390px; }
    .gallery-main img { height: 390px; padding: 14px; }
    .gallery-thumbnails { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .product-info { padding: 30px 22px; }
    .product-description { padding: 16px 16px 24px; }
    .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cart-products-card,.cart-totals-card { padding: 16px; }
    .cart-totals-card { width: 100%; }
    .add-form,.cart-list article,.checkout-form { grid-template-columns: 1fr; }
    .checkout-form fieldset,.checkout-summary { grid-column: 1; }
    .checkout-summary { grid-row: auto; position: static; }
    .footer-grid,.admin-stats { grid-template-columns: 1fr; padding-block: 32px; }
    .whatsapp-float { right: 12px; bottom: 12px; padding-right: 10px; }
    .admin-table { min-width: 720px; }
    .admin-topbar { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
    .admin-topbar nav { order: 3; width: 100%; overflow-x: auto; margin: 0; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
    .admin-form-columns { grid-template-columns: 1fr; }
    .admin-image-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .banner-admin-layout { grid-template-columns: 1fr; }
    .admin-banner-list article { grid-template-columns: 120px minmax(0,1fr) auto; }
    .admin-banner-list img { width: 120px; }
    .category-heading { align-items: flex-start; flex-direction: column; }
    .subcategory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
    .cart-products-table { min-width: 650px; table-layout: fixed; }
    .category-search button { min-width: 88px; padding-inline: 14px; }
    .category-search-result { align-items: flex-start; flex-wrap: wrap; }
}

@media (max-width: 430px) {
    .store-brand { width: 175px; max-width: 52vw; }
    .offers-grid,.product-grid,.compact-grid { grid-template-columns: 1fr; }
    .product-image { height: 300px; }
    .subcategory-grid { grid-template-columns: 1fr; }
    .google-reviews { padding: 14px; }
    .google-reviews-grid { grid-template-columns: 1fr; }
}

/* Compra en pasos */
.compra-pasos { grid-template-columns: minmax(0,760px); }
.compra-pasos [hidden] { display: none !important; }
.compra-pasos [data-compra-navegacion] { grid-column: 1; }
.compra-pasos .shipping-option input { width: auto; }

.checkout-page button,.message-page button { padding: 12px 20px; border: 0; border-radius: 5px; background: var(--brand-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.compra-pasos [data-compra-atras] { background: #e3e7ed; color: #242c36; }
