:root {
    --primary: #c80815;
    --primary-dark: #a00612;
    --accent: #118821;
    --ink: #222;
    --muted: #6b7783;
    --line: #e6eaed;
    --soft: #f5f7f8;
    --cream: #f7f4ef;
    --white: #fff;
    --danger: #d64545;
    --shadow: 0 12px 35px rgba(24, 35, 45, .08);
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 15px/1.6 Inter, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, .btn { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.topbar { color: #444; background: #f3f3f3; font-size: 12px; }
.topbar-inner { display: flex; gap: 18px; align-items: center; min-height: 36px; }
.topbar-phone { font-weight: 700; color: var(--primary); white-space: nowrap; }
.topbar-text { flex: 1; color: var(--muted); }
.topbar-link { margin-left: auto; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.topbar-link:hover { color: var(--primary); }
.header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: 160px 1fr auto auto; gap: 25px; align-items: center; min-height: 96px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 78px; object-fit: contain; }
.brand-footer .brand-logo { height: 72px; background: #fff; border-radius: 8px; padding: 4px; }
.logo { display: inline-block; color: #14261f; font-size: 25px; font-weight: 800; letter-spacing: -1.2px; }
.logo span { color: var(--primary); }
.logo.light { color: #fff; }
.search { display: flex; height: 46px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; }
.search:focus-within { border-color: var(--primary); background: #fff; }
.search input { width: 100%; padding: 0 17px; background: transparent; border: 0; outline: 0; }
.search button { min-width: 110px; padding: 0 18px; color: #fff; background: var(--accent); border: 0; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.account-link, .cart-link { display: flex; align-items: center; justify-self: end; gap: 9px; font-weight: 700; white-space: nowrap; }
.account-link > span:first-child { display: grid; width: 38px; height: 38px; place-items: center; background: var(--soft); border-radius: 50%; }
.account-link small, .cart-link small { display: block; max-width: 125px; overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 500; text-overflow: ellipsis; }
.cart-icon { display: grid; width: 42px; height: 42px; place-items: center; background: #fdecee; border-radius: 50%; }
.cart-link { color: var(--primary); }
.nav { background: var(--primary); border-top: 0; }
.nav .container { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; min-height: 48px; }
.nav a { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.nav a:hover { color: #fff; opacity: .85; }
.hero { overflow: hidden; background: var(--cream); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.hero-content { align-self: center; max-width: 560px; padding: 55px 70px 55px 0; }
.eyebrow { display: block; margin-bottom: 9px; color: var(--primary-dark); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -2.8px; }
h2 { margin-bottom: 12px; font-size: 32px; line-height: 1.2; letter-spacing: -1.2px; }
.hero-content p { max-width: 510px; margin-bottom: 30px; color: #53615b; font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 43px; padding: 0 22px; color: #fff; background: var(--primary); border: 0; border-radius: 7px; font-weight: 700; transition: .2s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .5; }
.btn-large { min-height: 52px; padding-inline: 27px; }
.btn-secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn-secondary:hover { color: var(--primary-dark); background: var(--soft); }
.hero-visual { position: relative; align-self: stretch; margin-right: calc((1180px - 100vw) / 2); }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; }
.hero-circle { position: absolute; z-index: 1; top: -90px; left: -80px; width: 210px; height: 210px; border: 35px solid rgba(255,255,255,.42); border-radius: 50%; }
.hero-note { position: absolute; bottom: 35px; left: 30px; padding: 15px 22px; background: rgba(255,255,255,.93); border-radius: 9px; box-shadow: var(--shadow); }
.hero-note b, .hero-note span { display: block; }
.hero-note b { color: var(--primary-dark); font-size: 18px; }
.hero-note span { color: var(--muted); font-size: 11px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px; border-bottom: 1px solid var(--line); }
.trust-row div { padding-left: 25px; border-left: 1px solid var(--line); }
.trust-row div:first-child { padding-left: 0; border: 0; }
.trust-row b, .trust-row span { display: block; }
.trust-row b { margin-bottom: 2px; font-size: 13px; }
.trust-row span { color: var(--muted); font-size: 11px; }
.section { padding-block: 68px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: 34px; letter-spacing: -1.3px; }
.section-heading > a { color: var(--primary-dark); font-weight: 700; }
.section-heading > span { color: var(--muted); font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.category-grid a { position: relative; min-height: 145px; padding: 32px; overflow: hidden; background: var(--soft); border-radius: var(--radius); transition: .2s; }
.category-grid a:nth-child(2) { background: #edf5f1; }
.category-grid a:nth-child(3) { background: #f6f0e7; }
.category-grid span, .category-grid small { display: block; }
.category-grid span { margin-bottom: 5px; font-size: 21px; font-weight: 800; }
.category-grid small { color: var(--muted); }
.category-grid b { position: absolute; right: 28px; bottom: 23px; color: var(--primary); font-size: 22px; }
.category-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.home-welcome { padding-bottom: 20px; }
.home-welcome h1 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; }
.home-offer { padding-top: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.contact-card { padding: 24px; background: var(--soft); border-radius: var(--radius); }
.contact-card h2 { margin-bottom: 14px; font-size: 20px; }
.contact-card p { margin: 0 0 14px; }
.contact-card a:not(.btn) { color: var(--primary); font-weight: 700; }
.product-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 11px; transition: .22s; }
.product-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.product-image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: .4s; }
.product-card:hover .product-image img:not(.image-zoom) { transform: scale(1.035); }
.image-zoom { transform: scale(2.15); }
.product-card:hover .product-image img.image-zoom { transform: scale(2.2); }
.badge-stack { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.badge { padding: 4px 8px; color: #fff; background: #ec755a; border-radius: 4px; font-size: 9px; letter-spacing: .5px; }
.badge.flag_action { background: #d64545; }
.badge.flag_new { background: #1f8f6a; }
.badge.flag_tip { background: #c9851a; }
.badge.flag_sale { background: #6b4bb3; }
.detail-badges { position: static; margin-bottom: 10px; flex-direction: row; flex-wrap: wrap; }
.product-body { padding: 18px; }
.product-body > small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.product-body h3 { min-height: 43px; margin: 5px 0 7px; font-size: 15px; line-height: 1.4; }
.product-body h3 a:hover { color: var(--primary-dark); }
.product-body p { height: 38px; margin-bottom: 13px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.55; }
.product-buy { display: flex; align-items: center; justify-content: space-between; }
.product-buy strong { font-size: 18px; }
.icon-btn { min-width: 38px; min-height: 36px; padding: 0; font-size: 21px; }
.availability { display: block; margin-top: 9px; color: var(--primary-dark); font-size: 10px; font-weight: 700; }
.availability.ok { color: #187154; }
.availability.out { color: var(--danger); }
.newsletter { margin-top: 30px; color: #fff; background: #2a1012; }
.newsletter .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; min-height: 240px; }
.newsletter h2 { margin-bottom: 5px; }
.newsletter p { margin: 0; color: #f0c9cd; }
.newsletter-form { display: grid; gap: 12px; }
.newsletter-form input[type="email"] { width: 100%; min-height: 52px; padding: 0 17px; border: 0; border-radius: 7px; outline: 0; }
.newsletter-form .btn { width: 100%; border-radius: 7px; }
.newsletter-consent { display: flex; gap: 10px; align-items: flex-start; color: #d5e6e0; font-size: 12px; line-height: 1.4; }
.newsletter-consent a { color: #fff; text-decoration: underline; }
.newsletter-consent input { width: auto; margin-top: 2px; }
.newsletter-preview { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; white-space: normal; }
.marketing-consent-form { margin-top: 14px; display: grid; gap: 8px; }
.footer { padding-top: 55px; color: #d7d0d1; background: #1c1415; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-grid p { max-width: 330px; font-size: 13px; }
.footer h3 { margin: 0 0 12px; color: #fff; font-size: 13px; }
.footer-grid > div > a:not(.logo):not(.brand) { display: block; margin: 5px 0; font-size: 13px; }
.copyright { margin-top: 45px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.alert { margin-top: 18px; padding: 13px 17px; border: 1px solid #bce7d7; color: #146a4d; background: #edf9f4; border-radius: 7px; }
.alert.error { color: #9c3030; background: #fff0f0; border-color: #f1c5c5; }
.breadcrumbs { padding-top: 24px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--primary-dark); }
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 75px; padding-block: 45px 75px; }
.product-gallery { min-width: 0; }
.detail-image { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.detail-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 12px; }
.gallery-thumb { width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: var(--soft); border: 2px solid transparent; border-radius: 7px; opacity: .7; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--primary); opacity: 1; }
.detail-info { align-self: center; }
.detail-info h1 { margin-bottom: 15px; font-size: 43px; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.8; }
.detail-price { margin: 24px 0 17px; font-size: 31px; font-weight: 800; }
.stock-box { display: flex; gap: 18px; padding: 13px 0; border-block: 1px solid var(--line); }
.stock-box b { color: var(--primary-dark); }
.stock-box span { color: var(--muted); }
.add-form { display: flex; gap: 10px; margin: 22px 0; }
.add-form input[type=number], .cart-row input { width: 76px; text-align: center; border: 1px solid var(--line); border-radius: 7px; }
.benefits-mini { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 11px; }
.booking-picker { margin-top: 18px; padding: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.booking-calendar-head { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; margin-bottom: 10px; text-align: center; }
.booking-calendar-head button { width: 34px; height: 34px; padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 21px; }
.booking-weekdays, .booking-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.booking-weekdays { margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.booking-days > button, .booking-days > span { display: grid; aspect-ratio: 1; padding: 0; place-items: center; border: 0; border-radius: 50%; font-size: 11px; }
.booking-days > button { color: #a4adb4; background: transparent; cursor: default; }
.booking-days > button.available { color: var(--primary-dark); background: #dff4ec; cursor: pointer; font-weight: 800; }
.booking-days > button.available:hover, .booking-days > button.active { color: #fff; background: var(--primary); }
.booking-days > button.occupied-day { color: #9b4545; background: #fde3e3; cursor: pointer; font-weight: 800; }
.booking-days > button.occupied-day:hover, .booking-days > button.occupied-day.active { color: #fff; background: #b95656; }
.booking-times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.booking-times > b { width: 100%; font-size: 12px; }
.booking-time { display: flex; padding: 8px 11px; flex-direction: column; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; text-align: left; }
.booking-time strong { font-size: 12px; }
.booking-time small { color: var(--muted); font-size: 8px; }
.booking-time:hover, .booking-time.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.booking-time.active small { color: #eafff7; }
.booking-time.occupied { color: #8d5555; background: #fff1f1; border-color: #efcaca; cursor: not-allowed; opacity: .8; }
.booking-time.occupied:hover { color: #8d5555; background: #fff1f1; border-color: #efcaca; }
.booking-add-form { align-items: end; }
.booking-add-form label { width: 90px; flex: 0 0 90px; }
.booking-add-form label input { height: 52px; margin: 0; }
.booking-add-form .btn { flex: 1; }
.cart-booking { display: block; margin-top: 5px; color: var(--primary-dark); font-size: 11px; font-weight: 700; }
.summary span small { display: block; margin-top: 3px; color: var(--primary-dark); }
.description-tabs { border-block: 1px solid var(--line); background: var(--soft); }
.description-tabs .container { display: flex; gap: 25px; align-items: center; min-height: 58px; }
.description-tabs b { color: var(--primary-dark); border-bottom: 2px solid var(--primary); align-self: stretch; display: flex; align-items: center; }
.description-tabs span { color: var(--muted); font-size: 12px; }
.description { max-width: 900px; border: 0; }
.description-content { color: #4e5b65; font-size: 15px; line-height: 1.9; }
.empty { padding: 70px 20px; text-align: center; background: var(--soft); border-radius: var(--radius); }
.empty-icon { margin-bottom: 8px; font-size: 38px; }
.empty h2 { margin-bottom: 7px; }
.empty p { color: var(--muted); }
.empty.compact { padding: 30px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 35px; align-items: start; }
.cart-table { min-width: 0; }
.cart-row { display: grid; grid-template-columns: 90px 1fr 75px 110px; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 90px; height: 75px; object-fit: cover; background: var(--soft); border-radius: 7px; }
.cart-row small { display: block; margin-top: 5px; color: var(--muted); }
.cart-row > strong { text-align: right; }
.cart-table > .btn { margin-top: 20px; }
.summary { padding: 25px; background: var(--soft); border-radius: var(--radius); }
.summary h2 { margin-bottom: 20px; font-size: 21px; }
.summary > div { display: flex; gap: 20px; justify-content: space-between; margin: 11px 0; font-size: 13px; }
.summary-total { padding-top: 15px; border-top: 1px solid var(--line); font-size: 17px !important; }
.summary .btn { width: 100%; margin-top: 15px; text-align: center; }
.summary > small { display: block; margin-top: 12px; color: var(--muted); font-size: 10px; text-align: center; }
.discount-line { color: var(--primary-dark); }
.coupon-box { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.coupon-box p, .checkout-coupon p { margin: 0; color: var(--muted); font-size: 11px; }
.coupon-box a, .checkout-coupon a { color: var(--primary-dark); font-weight: 700; }
.coupon-box form > div, .checkout-coupon form > div { display: flex; gap: 7px; }
.coupon-box input, .checkout-coupon input { min-width: 0; margin: 5px 0 0; text-transform: uppercase; }
.coupon-box form > div .btn, .checkout-coupon form > div .btn { width: auto; min-height: 42px; margin-top: 5px; padding-inline: 15px; }
.coupon-box form > button, .checkout-coupon > form > button { padding: 0; color: var(--danger); background: none; border: 0; font-size: 11px; font-weight: 700; }
.checkout-coupon { display: flex; margin-bottom: 22px; padding: 16px 20px; align-items: center; justify-content: space-between; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; }
.checkout-coupon > form { width: min(430px, 100%); }
.checkout-coupon > span { color: var(--primary-dark); font-size: 12px; }
.sticky { position: sticky; top: 20px; }
.checkout-form fieldset { margin: 0 0 22px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; }
.checkout-form legend { padding: 0 8px; font-size: 17px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .wide { grid-column: 1 / -1; }
/* display:grid/flex nesmie prebiť native [hidden] */
[hidden] { display: none !important; }
label { display: block; color: #4b5861; font-size: 12px; font-weight: 600; }
input, textarea, select { width: 100%; margin-top: 6px; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #d9dfe3; border-radius: 6px; outline: 0; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(25,169,116,.1); }
textarea { resize: vertical; }
label.check, .check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}
label.check input[type="checkbox"],
.check input[type="checkbox"] {
    width: auto;
    min-width: 16px;
    height: 16px;
    margin: 2px 0 0;
    padding: 0;
    flex-shrink: 0;
    accent-color: var(--primary);
    border-radius: 3px;
    box-shadow: none;
}
label.check > span,
.check > span {
    flex: 1;
    min-width: 0;
}
.radio-card { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; }
.radio-card:has(input:checked) { border-color: var(--primary); background: #f3fbf8; }
.radio-card input { width: auto; margin: 0; accent-color: var(--primary); }
.radio-card span { flex: 1; }
.radio-card b, .radio-card small { display: block; }
.radio-card small { margin-top: 2px; color: var(--muted); font-weight: 400; }
.radio-card > strong { color: var(--ink); }
.success-page { max-width: 760px; margin-block: 70px; background: #f1faf6; }
.success-check { display: grid; width: 64px; height: 64px; margin: 0 auto 20px; place-items: center; color: #fff; background: var(--primary); border-radius: 50%; font-size: 28px; }
.payment-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px 0 18px; padding: 16px; background: #fafaf8; border: 1px solid var(--line); border-radius: 12px; }
.payment-qr img { width: 220px; height: 220px; display: block; }
.payment-qr small { color: var(--muted); text-align: center; line-height: 1.4; }
.auth-page { display: grid; place-items: center; }
.auth-card { width: min(480px, 100%); padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-card h1 { margin-bottom: 8px; font-size: 36px; }
.auth-card p { color: var(--muted); }
.auth-card label { margin-top: 15px; }
.auth-card label.check {
    font-size: 11.5px;
    line-height: 1.35;
}
.auth-card form > .btn,
.auth-card > .btn { width: 100%; margin-top: 22px; }
.auth-card > small { display: block; margin-top: 16px; color: var(--muted); text-align: center; }
.auth-card > small a { color: var(--primary-dark); font-weight: 700; }
.otp-input { font-size: 24px; font-weight: 800; letter-spacing: 8px; text-align: center; }
.account-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px; align-items: start; }
.account-card { padding: 24px; border: 1px solid var(--line); border-radius: 10px; }
.account-card h2 { font-size: 20px; }
.account-card > small { color: var(--primary-dark); }
.account-order { display: flex; padding: 12px 0; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
a.account-order:hover { color: var(--primary); }
.account-order span > * { display: block; }
.account-order small { color: var(--muted); }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #1c1c1c; color: #f5f5f5; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.cookie-banner-inner { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 16px 0; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.45; }
.cookie-banner a { color: #fff; text-decoration: underline; }

/* Administration */
.login-body { display: grid; min-height: 100vh; place-items: center; padding: 25px; background: var(--soft); }
.login-card { width: min(440px, 100%); padding: 42px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.login-card .logo, .login-card .brand { margin-bottom: 36px; }
.login-card .brand-logo { height: 96px; }
.admin-sidebar .brand { display: block; margin: 0 0 28px; }
.admin-sidebar .brand-logo { height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.login-card h1 { margin-bottom: 8px; font-size: 32px; letter-spacing: -1px; }
.login-card > p { color: var(--muted); }
.login-card label { margin-top: 15px; }
.login-card .btn { width: 100%; margin: 22px 0 16px; }
.login-card > a:last-child { display: block; color: var(--muted); font-size: 12px; text-align: center; }
.admin-body { min-height: 100vh; background: #f4f6f7; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; display: flex; width: 235px; padding: 28px 20px; flex-direction: column; color: #e8d9db; background: #1c1415; }
.admin-sidebar .logo { margin: 0 12px 35px; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav a { padding: 10px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.admin-sidebar form { margin-top: auto; }
.admin-sidebar button { width: 100%; padding: 10px; color: #c6d4cf; background: transparent; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; }
.admin-main { margin-left: 235px; }
.admin-main > header { display: flex; height: 70px; padding: 0 32px; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.admin-main > header small, .admin-main > header b { display: block; }
.admin-main > header small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.admin-main > header > span { color: var(--muted); font-size: 12px; }
.admin-content { width: min(1250px, calc(100% - 56px)); margin: auto; padding-block: 35px; }
.admin-content > .alert { margin: 0 0 20px; }
.admin-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.admin-title h1 { margin: 3px 0; font-size: 32px; letter-spacing: -1px; }
.admin-title p, .admin-title a { margin: 0; color: var(--muted); font-size: 12px; }
.admin-title .btn { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stats > div { padding: 21px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.stats span, .stats b, .stats a, .stats small { display: block; }
.stats span { color: var(--muted); font-size: 11px; }
.stats b { margin: 6px 0 13px; font-size: 25px; }
.stats a, .stats small { color: var(--primary-dark); font-size: 10px; }
.stats small { color: var(--muted); }
.admin-panel { margin-bottom: 22px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.admin-panel h2 { font-size: 18px; }
.golive-list { list-style: none; margin: 0; padding: 0; }
.golive-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.golive-item:first-child { border-top: 0; padding-top: 0; }
.golive-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.golive-ok .golive-mark { color: #187154; background: #e7f7f1; }
.golive-warn .golive-mark { color: #87650c; background: #fff7dc; }
.golive-fail .golive-mark { color: #9c3030; background: #ffebeb; }
.golive-item b { display: block; font-size: 13px; }
.golive-item small { display: block; margin-top: 3px; color: var(--muted); line-height: 1.45; }
.golive-item a { display: inline-block; margin-top: 6px; color: var(--primary-dark); font-size: 11px; font-weight: 700; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.panel-head a { color: var(--primary-dark); font-size: 11px; font-weight: 700; }
.recent-order { display: flex; padding: 13px 0; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.recent-order span > * { display: block; }
.recent-order small { color: var(--muted); }
.table-wrap { padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 13px 16px; color: var(--muted); background: #fafbfb; font-size: 9px; text-align: left; text-transform: uppercase; }
td { padding: 13px 16px; border-top: 1px solid var(--line); }
td small { display: block; color: var(--muted); }
.table-product { display: flex; gap: 10px; align-items: center; min-width: 220px; }
.table-product img { width: 42px; height: 42px; object-fit: cover; border-radius: 5px; }
.products-overview th { white-space: nowrap; }
.flag-cell { text-align: center; }
.flag-toggle { width: 28px; height: 28px; padding: 0; color: #b7c0c6; background: #f3f5f6; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; line-height: 1; transition: .15s; }
.flag-toggle.on { color: #fff; background: var(--primary); border-color: var(--primary); }
.flag-toggle:hover { transform: scale(1.06); }
.js-ajax-product.is-busy { opacity: .55; pointer-events: none; }
.visibility-inline select { min-width: 170px; margin: 0; padding: 7px 8px; font-size: 11px; }
.admin-toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 12px 16px; color: #fff; background: #152a24; border-radius: 8px; box-shadow: var(--shadow); font-size: 12px; font-weight: 700; }
.admin-toast.error { background: #9c3030; }
.product-gallery-admin { display: flex; flex-direction: column; gap: 10px; }
.product-gallery-admin > span { color: #4b5861; font-size: 12px; font-weight: 600; }
.product-gallery-admin > small { color: var(--muted); line-height: 1.45; }
.gallery-keep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.gallery-keep-item { display: flex; flex-direction: column; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfb; }
.gallery-keep-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #fff; }
.gallery-keep-item .check { margin: 0; font-size: 11px; }
.product-flags-edit { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; padding: 12px 0; }
.product-flags-edit > span { width: 100%; color: #4b5861; font-size: 12px; font-weight: 600; }
.actions { display: flex; gap: 12px; justify-content: flex-end; }
.actions a { color: var(--primary-dark); font-weight: 700; }
.actions form { display: inline; }
.actions button { padding: 0; color: var(--danger); background: none; border: 0; font-size: 11px; }
.status { padding: 4px 8px; color: #87650c; background: #fff7dc; border-radius: 20px; font-size: 9px; font-weight: 700; }
.status.processing { color: #285e9b; background: #eaf3ff; }
.status.shipped { color: #6847a4; background: #f0eaff; }
.status.completed,
.status.paid { color: #187154; background: #e7f7f1; }
.status.cancelled,
.status.failed { color: #9c3030; background: #ffebeb; }
.status.pending { color: #87650c; background: #fff7dc; }
.admin-form label { margin-bottom: 13px; }
.admin-form .btn { margin-top: 5px; }
.admin-form .check { display: flex; gap: 8px; align-items: center; }
.admin-form .check input { width: auto; margin: 0; accent-color: var(--primary); }
.settings-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.settings-tabs a { padding: 9px 14px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; font-weight: 700; }
.settings-tabs a.active, .settings-tabs a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.settings-form > .muted { margin-top: 0; margin-bottom: 18px; }
.settings-secret-meta { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 500; }
.settings-secret-meta .check { margin: 0; }
.admin-columns { display: grid; grid-template-columns: 1fr 1.55fr; gap: 22px; align-items: start; }
.order-line { display: flex; padding: 12px 0; justify-content: space-between; border-top: 1px solid var(--line); }
.order-line.total { margin-top: 10px; font-size: 17px; }
.muted { color: var(--muted); }
.operator-calendar-panel { padding: 0; overflow: hidden; }
.operator-calendar-nav { display: grid; grid-template-columns: 42px 1fr 42px; gap: 12px; padding: 17px 20px; align-items: center; border-bottom: 1px solid var(--line); text-align: center; }
.operator-calendar-nav h2 { margin: 0; }
.operator-calendar-nav a { display: grid; width: 38px; height: 38px; place-items: center; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 7px; font-size: 22px; }
.operator-calendar-nav a:last-child { justify-self: end; }
.operator-calendar-summary { padding: 10px 20px; color: var(--muted); background: #fafbfb; border-bottom: 1px solid var(--line); font-size: 11px; }
.operator-calendar-summary b { color: var(--primary-dark); }
.operator-calendar-wrap { overflow-x: auto; }
.operator-calendar { display: grid; min-width: 980px; grid-template-columns: repeat(7, minmax(130px, 1fr)); background: var(--line); gap: 1px; }
.operator-weekday { padding: 9px; color: var(--muted); background: #f8faf9; font-size: 9px; text-align: center; text-transform: uppercase; }
.operator-day { min-height: 145px; padding: 9px; background: #fff; }
.operator-day.empty { background: #f8faf9; }
.operator-day.has-events { background: #fbfffd; }
.operator-day-number { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; text-align: right; }
.operator-event { display: block; margin-top: 6px; padding: 8px; color: var(--ink); background: #e7f7f1; border-left: 3px solid var(--primary); border-radius: 5px; }
.operator-event > * { display: block; }
.operator-event > b { color: var(--primary-dark); font-size: 10px; }
.operator-event > strong { margin: 2px 0; font-size: 10px; }
.operator-event span { font-size: 9px; }
.operator-event small { color: var(--muted); font-size: 8px; }
.operator-event:hover { background: #d7f1e7; }
.booking-filter { max-width: 480px; }
.booking-settings { grid-template-columns: 1fr 1fr; }
.booking-rule-row { display: flex; padding: 11px 0; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.booking-rule-row span > * { display: block; }
.booking-rule-row small { color: var(--muted); }
.booking-rule-row button { padding: 0; color: var(--danger); background: none; border: 0; }
.admin-booking-calendar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; align-items: start; }
.booking-day-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.booking-day-card > header { display: flex; gap: 10px; padding: 12px 15px; align-items: center; background: #f8faf9; border-bottom: 1px solid var(--line); }
.booking-day-card > header b { color: var(--primary-dark); font-size: 10px; text-transform: uppercase; }
.admin-slot { display: grid; grid-template-columns: 1fr 65px auto; gap: 8px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.admin-slot.disabled { opacity: .55; }
.admin-slot > div b, .admin-slot > div small, .admin-slot details small { display: block; }
.admin-slot > div small { color: var(--muted); font-size: 8px; }
.admin-slot label { margin: 0; }
.admin-slot label input { margin: 0; padding: 6px; }
.admin-slot .check { grid-column: 1 / 2; display: flex; gap: 6px; align-items: center; }
.admin-slot .check input { width: auto; }
.admin-slot > button { color: var(--primary-dark); background: none; border: 0; font-size: 10px; font-weight: 700; }
.slot-occupancy { padding: 4px 7px; color: var(--primary-dark); background: #e7f7f1; border-radius: 20px; font-size: 9px; font-weight: 700; }
.admin-slot details { grid-column: 1 / -1; color: var(--muted); font-size: 9px; }

@media (max-width: 950px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-inner { min-height: 470px; }
    .hero-content { padding-right: 35px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr 310px; }
    .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1180px); }
    .topbar-text { display: none; }
    .header-main { grid-template-columns: 1fr auto auto; gap: 12px; min-height: 70px; }
    .brand-logo { height: 58px; }
    .search { grid-column: 1 / -1; order: 5; }
    .product-grid-3 { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 14px; }
    .account-link > span:last-child { display: none; }
    .cart-link > span:last-child { display: none; }
    .nav { overflow-x: auto; }
    .nav .container { width: max-content; min-width: 100%; padding-inline: 14px; gap: 24px; }
    .hero-inner { display: block; min-height: 0; }
    .hero-content { padding: 55px 0; }
    .hero-visual { height: 330px; margin: 0 -14px; }
    h1 { font-size: 42px; }
    .trust-row { grid-template-columns: 1fr 1fr; gap: 18px 0; }
    .trust-row div:nth-child(3) { padding-left: 0; border: 0; }
    .section { padding-block: 48px; }
    .category-grid, .product-grid { grid-template-columns: 1fr 1fr; }
    .newsletter .container { grid-template-columns: 1fr; gap: 22px; padding-block: 45px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .product-detail { grid-template-columns: 1fr; gap: 35px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .sticky { position: static; }
    .admin-sidebar { position: static; width: 100%; padding: 16px; }
    .admin-sidebar .logo { margin: 0 0 15px; }
    .admin-sidebar nav { display: flex; overflow-x: auto; }
    .admin-sidebar nav a { flex: 0 0 auto; }
    .admin-sidebar form { display: none; }
    .admin-main { margin: 0; }
    .admin-content { width: calc(100% - 28px); }
    .admin-columns { grid-template-columns: 1fr; }
    .admin-booking-calendar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .product-grid, .category-grid, .stats, .form-grid { grid-template-columns: 1fr; }
    .trust-row { grid-template-columns: 1fr; }
    .trust-row div { padding-left: 0; border: 0; }
    .section-heading { align-items: start; flex-direction: column; gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .cart-row { grid-template-columns: 65px 1fr 60px; gap: 10px; }
    .cart-row img { width: 65px; height: 60px; }
    .cart-row > strong { grid-column: 2 / -1; }
    .detail-info h1 { font-size: 34px; }
    .add-form .btn { flex: 1; padding-inline: 12px; }
    .login-card { padding: 30px 23px; }
    .admin-main > header { padding-inline: 16px; }
    .admin-main > header > span { display: none; }
    .admin-booking-calendar { grid-template-columns: 1fr; }
    .booking-add-form { flex-wrap: wrap; }
    .booking-add-form label, .booking-add-form .btn { width: 100%; flex-basis: 100%; }
    .checkout-coupon { align-items: stretch; flex-direction: column; gap: 10px; }
    .auth-card { padding: 26px 20px; }
}

.otp-resend { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; margin-top: 16px; width: 100%; }
.otp-resend .btn { width: auto; min-width: 200px; margin-top: 0; }
.otp-countdown { color: var(--muted); text-align: center; width: 100%; }
.coupon-scope { display: block; margin: -4px 0 10px; color: var(--muted); }
.account-delete { margin-top: 16px; display: grid; gap: 10px; }
.privacy-card { max-width: 720px; margin: 0 auto; }
.privacy-card h2 { margin: 22px 0 8px; font-size: 18px; }
.admin-scope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; max-height: 180px; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-scope-list label { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 12px; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-family: ui-monospace, monospace; }
.totp-setup { display: grid; gap: 14px; }
.totp-setup img { width: 180px; height: 180px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
