/* ================================================
   CIAO SPRITZ — HLAVNÍ STYLESHEET
   ================================================ */

/* Performance: respektovat preferenci uživatele */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    --orange: #E8631A;
    --orange-dark: #c4521a;
    --green: #2D7A3A;
    --black: #111111;
    --gray: #888888;
    --gray-dark: #444444;
    --gray-light: #f5f5f5;
    --border: #e0e0e0;
    --radius: 8px;
    --radius-lg: 16px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--black);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; }
input, select, textarea { font-family: var(--font-body); }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   TOPBAR
   ================================================ */
.topbar {
    background: var(--black);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar a { color: #ccc; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 20px; align-items: center; }
.topbar-lang { display: flex; gap: 8px; }
.topbar-lang a { padding: 2px 8px; border-radius: 4px; }
.topbar-lang a.active { background: var(--orange); color: #fff; }

/* ================================================
   HEADER / NAVIGACE
   ================================================ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.logo span { color: var(--orange); }

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-dark);
    transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active {
    background: var(--gray-light);
    color: var(--black);
}

.header-icons { display: flex; gap: 8px; align-items: center; }
.icon-btn {
    position: relative;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--black);
    font-size: 1.1rem;
    transition: background .2s;
    border: none;
}
.icon-btn:hover { background: var(--border); }
.cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    display: none;
}
.cart-badge.has-items { display: flex; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
    border-radius: var(--radius);
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all .3s;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 200;
    padding: 24px 20px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: right .3s ease;
    overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 199;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu .logo { margin-bottom: 32px; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    color: var(--gray-dark);
    transition: background .2s;
}
.mobile-nav a:hover { background: var(--gray-light); color: var(--black); }
.mobile-close {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--gray-light);
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ================================================
   HERO SEKCE
   ================================================ */
.hero {
    background: linear-gradient(135deg, #fff8f3 0%, #fff 60%, #f0faf2 100%);
    padding: 80px 0;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-label {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 .accent { color: var(--orange); }
.hero-desc {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 420px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img {
    position: relative;
    text-align: center;
}
.hero-img img {
    max-height: 480px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
}

/* ================================================
   TLAČÍTKA
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all .2s;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232,99,26,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--black);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--black);
    background: var(--gray-light);
}
.btn-green {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.btn-green:hover {
    background: #245f2e;
    border-color: #245f2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45,122,58,0.3);
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ================================================
   PRODUKTY — GRID
   ================================================ */
.products-section { padding: 60px 0; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 8px;
}
.section-subtitle { color: var(--gray); margin-bottom: 32px; }

/* Filtr kategorií */
.category-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all .2s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* Grid produktů */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Karta produktu */
.product-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.product-img-wrap {
    position: relative;
    background: #fff;
    aspect-ratio: 1;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img-wrap img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    transform: none;
}
.product-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}
.product-badge {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 2.6em;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-desc {
    color: var(--gray);
    font-size: 0.82rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.product-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}
.product-price .old-price {
    font-size: 0.82rem;
    color: var(--gray);
    text-decoration: line-through;
    font-family: var(--font-body);
    font-weight: 400;
    display: block;
}
.product-price .sale-price { color: var(--orange); }
.btn-cart {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .2s, transform .2s;
    white-space: nowrap;
    cursor: pointer;
}
.btn-cart:hover { background: #245f2e; transform: scale(1.03); }
.btn-cart svg { width: 14px; height: 14px; }

/* ================================================
   DETAIL PRODUKTU
   ================================================ */
.product-detail { padding: 56px 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Galerie sloupec — stejná výška jako info sloupec */
.product-detail-grid > div:first-child {
    position: sticky;
    top: 100px;
}

/* Galerie */

.gallery-main {
    aspect-ratio: 1 !important;
    background: #fff !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: unset !important;
    max-height: unset !important;
    height: auto !important;
}
.gallery-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    transition: opacity .2s;
}
.gallery-main:hover { border-color: var(--orange); }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 80px; height: 80px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, transform .15s;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.gallery-thumb:hover { transform: scale(1.04); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--orange); }

.product-detail-info { }
.product-catchline {
    color: var(--orange);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 20px;
}
.product-detail-name {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
}
.product-detail-desc {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 32px;
    line-height: 1.75;
}
.detail-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.detail-price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
}
.detail-price-sale { color: var(--orange); }
.detail-price-old {
    font-size: 1.1rem;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 400;
}

/* Varianta + množství */
.add-to-cart-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 500; font-size: 0.9rem; }
.form-row select {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.qty-input {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 42px;
}
.qty-btn {
    width: 36px; height: 42px;
    background: var(--gray-light);
    border: none;
    font-size: 1.15rem;
    font-weight: 400;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: var(--border); }
.qty-num {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}

/* Grid výhod */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-dark);
}
.benefit-item span { font-size: 1.1rem; }

/* Sdílení produktu - decentní */
.product-share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}
.product-share-label {
    font-size: 0.7rem;
    color: var(--gray);
    margin-right: 2px;
}
.product-share a,
.product-share button {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    color: #888;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s;
    padding: 0;
}
.product-share a svg,
.product-share button svg {
    width: 10px;
    height: 10px;
}
.product-share a:hover,
.product-share button:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-1px);
}

/* O produktu - v4 (jemné béžové pozadí, italský feeling) */
body .long-desc-section,
.product-detail .long-desc-section,
section .long-desc-section {
    background: #faf7f2 !important;
    background-image: none !important;
    border: 1px solid #ebe4d8 !important;
    border-left: 4px solid var(--orange) !important;
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin: 48px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
body .long-desc-section h2,
.product-detail .long-desc-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
body .long-desc-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}
body .long-desc-section p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 0.98rem;
}
body .long-desc-section p:last-child { margin-bottom: 0; }

/* ================================================
   KOŠÍK
   ================================================ */
.cart-section { padding: 48px 0; }
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}
.cart-table {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--gray-light);
    padding: 14px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cart-table td {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    vertical-align: middle;
}
.cart-item-img {
    width: 60px; height: 60px;
    object-fit: contain;
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 4px;
}
.cart-item-name { font-weight: 600; font-size: 0.95rem; }
.cart-item-variant { font-size: 0.8rem; color: var(--gray); }
.cart-remove {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px 8px;
    border-radius: var(--radius);
    transition: background .2s, color .2s;
}
.cart-remove:hover { background: #fdecea; color: #dc3545; }

.cart-summary {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 100px;
}
.cart-summary h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-weight: 700;
    font-size: 1.1rem;
}
.summary-total span:last-child {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--orange);
}

/* ================================================
   CHECKOUT / POKLADNA
   ================================================ */
.checkout-section { padding: 48px 0; }
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}
.checkout-form {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.checkout-form h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: border-color .2s;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-section-title {
    font-weight: 600;
    font-size: 1rem;
    margin: 24px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Doprava + platba */
.shipping-options, .payment-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.radio-card:has(input:checked) {
    border-color: var(--orange);
    background: #fff8f3;
}
.radio-card input { accent-color: var(--orange); }
.radio-card-label { flex: 1; font-weight: 500; font-size: 0.95rem; }
.radio-card-price { font-weight: 600; color: var(--orange); }

/* ================================================
   GALERIE
   ================================================ */
.gallery-section { padding: 60px 0; }
.gallery-albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.album-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.album-card:hover img { transform: scale(1.05); }
.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
}
.album-overlay h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.album-overlay span { font-size: 0.85rem; opacity: 0.8; }

.photos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-item:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border: none;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border: none;
    line-height: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(0,0,0,0.8); }
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 1.8rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ================================================
   BLOG / NOVINKY
   ================================================ */
.news-section { padding: 60px 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px; }
.news-card-date { font-size: 0.8rem; color: var(--gray); margin-bottom: 8px; }
.news-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.news-card-perex {
    color: var(--gray-dark);
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.read-more {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 4px;
}
.read-more:hover { color: var(--orange-dark); }

/* ================================================
   STÁNEK
   ================================================ */
.stanek-section { padding: 60px 0; }
.stanek-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.stanek-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.stanek-img img { width: 100%; object-fit: cover; }
.stanek-form-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

/* ================================================
   KONTAKT
   ================================================ */
.contact-section { padding: 60px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info { }
.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 24px;
}
.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-icon {
    width: 44px; height: 44px;
    background: #fff8f3;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--orange);
}
.contact-item-content { }
.contact-item-label { font-size: 0.8rem; color: var(--gray); margin-bottom: 2px; }
.contact-item-value { font-weight: 500; }

/* Sociální sítě */
.social-cards { display: flex; gap: 16px; margin-top: 32px; }
.social-card {
    flex: 1;
    padding: 20px;
    border-radius: var(--radius-lg);
    color: #fff;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    align-items: center;
    gap: 12px;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.social-card.facebook { background: #1877F2; }
.social-card.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-card svg { width: 32px; height: 32px; flex-shrink: 0; }
.social-card-name { font-weight: 700; font-size: 0.95rem; }
.social-card-handle { font-size: 0.8rem; opacity: 0.85; }

/* ================================================
   ZÁKAZNICKÝ ÚČET
   ================================================ */
.account-section { padding: 48px 0; }
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}
.account-sidebar {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.account-user {
    background: var(--black);
    color: #fff;
    padding: 20px;
    text-align: center;
}
.account-avatar {
    width: 56px; height: 56px;
    background: var(--orange);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 10px;
}
.account-name { font-weight: 600; font-size: 0.95rem; }
.account-email { font-size: 0.8rem; color: #aaa; }
.account-nav { padding: 8px; }
.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-dark);
    transition: background .2s, color .2s;
}
.account-nav a:hover, .account-nav a.active {
    background: var(--gray-light);
    color: var(--black);
}
.account-nav a.active { color: var(--orange); }
.account-content {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: var(--black);
    color: #fff;
    padding: 60px 0 0;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #999; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

/* ================================================
   UTILITIES
   ================================================ */
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-gray { color: var(--gray); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.alert-success { background: #e8f5e9; color: #2D7A3A; border: 1px solid #c3e6cb; }
.alert-error { background: #fdecea; color: #dc3545; border: 1px solid #f5c6cb; }
.alert-info { background: #e8f0fe; color: #007bff; border: 1px solid #b8d4fd; }

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray);
    padding: 16px 0;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--border); }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state .emoji { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--gray); margin-bottom: 24px; }

/* Toast notifikace */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--black);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--green); }
.toast.error { background: #dc3545; }

/* Pagination */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 40px;
}
.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all .2s;
}
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ================================================
   BADGE BARVY
   ================================================ */
.badge-novinka { background: #e8f5e9; color: #2D7A3A; }
.badge-akce { background: #fdecea; color: #dc3545; }
.badge-doprodej { background: #fff3ee; color: #E8631A; }
.badge-bestseller { background: #f3eeff; color: #6f42c1; }
.badge-doporucujeme { background: #e8f0fe; color: #007bff; }
.badge-limitovana { background: #fff8e1; color: #9a6c00; }
.badge-vyprodano { background: #efefef; color: #444444; }
.badge-vyhodne-baleni { background: #e0f7fa; color: #006064; }
.badge-letni-hit { background: #fff9c4; color: #f57f17; }

/* ================================================
   RESPONZIVITA — MOBIL
   ================================================ */
@media (max-width: 768px) {
    .topbar .topbar-contact span:not(.topbar-phone) { display: none; }

    .main-nav { display: none; }
    .hamburger { display: flex; }

    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-img { order: -1; }
    .hero-img img { max-height: 260px; }
    .hero { padding: 40px 0; }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-img-wrap { padding: 10px; }
    .product-img-wrap img { max-height: 140px; }
    .product-body { padding: 8px 10px 12px; }
    .product-name { font-size: 0.8rem; }
    .product-price { font-size: 1rem; }
    .btn-cart { font-size: 11px; padding: 7px 6px; flex: 1; }
    .product-footer { flex-direction: column; align-items: stretch; gap: 6px; }

    .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-detail { padding: 32px 0; }
    .gallery-thumb { width: 64px; height: 64px; }
    .detail-price { font-size: 1.8rem; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .gallery-albums { grid-template-columns: 1fr; }
    .photos-grid { grid-template-columns: repeat(2, 1fr); }
    .stanek-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
    .benefits-grid { grid-template-columns: 1fr; }
    .social-cards { flex-direction: column; }
    .form-row-2 { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .products-grid { gap: 8px; }
    .product-card { border-radius: 12px; }
    .container { padding: 0 12px; }
}

/* ================================================
   TABLET (max 1024px)
   ================================================ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.4rem; }
    .product-detail-grid { gap: 40px; }
    .checkout-layout { grid-template-columns: 1fr 320px; }
}

/* ================================================
   MOBIL — doplnění chybějících stylů
   ================================================ */
@media (max-width: 768px) {
    /* Header */
    .header-inner { padding: 12px 0; }
    .logo { font-size: 1.4rem; }

    /* Hero */
    .hero-label { font-size: 11px; padding: 5px 12px; }
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 0.95rem; }
    .btn-lg { padding: 12px 22px; font-size: 0.95rem; }

    /* Výhody pruh */
    .benefits-strip-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

    /* Produkt detail */
    .detail-price-wrap { margin-bottom: 20px; padding-bottom: 20px; }
    .add-to-cart-form { gap: 14px; }

    .gallery-thumbs { gap: 8px; }
    .gallery-thumb { width: 60px; height: 60px; }
    .long-desc-section { padding: 24px; margin: 32px 0; }

    /* Košík */
    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) { display: none; } /* skrýt množství sloupec na mob */
    .cart-section { padding: 32px 0; }

    /* Pokladna */
    .checkout-section { padding: 32px 0; }
    .checkout-form { padding: 20px; }
    .checkout-form h2 { font-size: 1.2rem; margin-bottom: 16px; }
    .radio-card { padding: 12px; }

    /* Novinky */
    .news-card-title { font-size: 1rem; }

    /* Stánek */
    .stanek-form-card { padding: 20px; }

    /* Kontakt */
    .social-cards { gap: 10px; }

    /* Účet */
    .account-content { padding: 20px; }

    /* Footer */
    .site-footer { margin-top: 48px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-brand p { font-size: 0.85rem; }
    .footer-col a { font-size: 0.88rem; padding: 3px 0; }

    /* Breadcrumb */
    .breadcrumb { font-size: 0.8rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

    /* Toasty */
    .toast { left: 12px; right: 12px; bottom: 16px; font-size: 0.85rem; }

    /* Lightbox */
    .lightbox-close { top: 12px; right: 12px; font-size: 1.6rem; }
}

@media (max-width: 480px) {
    /* Ještě menší mobily */
    .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .product-img-wrap { padding: 8px; }
    .product-name { font-size: 0.78rem; }
    .product-price { font-size: 0.95rem; }

    /* Produkt detail — plná šířka thumbnailů */
    .gallery-thumbs { gap: 6px; }
    .gallery-thumb { width: 56px; height: 56px; }

    /* Hero */
    .hero { padding: 32px 0; }
    .hero h1 { font-size: 1.75rem; }

    /* Kategorie filter */
    .category-filter { gap: 6px; }
    .filter-btn { padding: 6px 14px; font-size: 0.82rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) { display: none; } /* skrýt méně důležité sekce na malých mob */

    /* Checkout summary sticky jen na větším */
    .cart-summary { position: static !important; }

    /* Lightbox */
    .lightbox img { max-width: 95vw; max-height: 80vh; }
}

/* ================================================
   FINÁLNÍ OPRAVY v1777403854
   ================================================ */

/* Košík tlačítko na detailu — o 30% menší */
.product-detail-info .btn-green.btn-lg {
    padding: 10px 18px;
    font-size: 0.88rem;
}

/* Odstranit number input šipky */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* Icon btn barva */
.icon-btn { color: var(--black); }
.icon-btn svg { stroke: var(--black); display: block; }
.icon-btn:hover { background: var(--border); }
.icon-btn:hover svg { stroke: var(--orange); }

/* Badge na detailu — odsazení */
.product-detail-info > div[style*="flex-wrap:wrap"] {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Badge odsazení od názvu */
.product-detail-info > div:has(> span[style*="border-radius:20px"]) {
    margin-top: 16px !important;
    margin-bottom: 20px !important;
}

@media (max-width: 768px) {
    .stanek-form-grid { grid-template-columns: 1fr !important; }
    .stanek-form-grid > div:last-child { order: -1; }
}

/* ================================================
   MOBILNÍ OPRAVY — kritické
   ================================================ */
@media (max-width: 768px) {
    /* Hamburger musí být viditelný */
    .hamburger { display: flex !important; cursor: pointer; border: none; }

    /* Navigace schovaná na mobilu */
    .main-nav { display: none !important; }

    /* Header layout */
    .header-inner { padding: 10px 0; }

    /* Košík tlačítko na mobilu */
    .btn-cart { padding: 8px 12px; font-size: 0.8rem; }

    /* Products grid */
    .products-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

    /* Hero */
    .hero-fullwidth { min-height: 400px !important; }
    #hero-slider { min-height: 400px !important; }
    .hero-slide { min-height: 400px !important; }

    /* Stánek form grid */
    div[style*="grid-template-columns:1fr 1fr"] {
        /* Nelze přepsat inline style, musí být class */
    }

    /* Galerie thumbnaily na mobilu */
    .sg-thumb { width: 48px !important; height: 36px !important; }

    /* Qty input */

    /* Footer grid */
    .footer-grid { grid-template-columns: 1fr 1fr !important; }

    /* Formuláře */
    .form-row-2 { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; }
    .topbar-contact a:first-child { display: none; } /* skryj email na malých mobilech */
}

/* Lightbox globální styly */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute;
    top: 16px; right: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    z-index: 9998;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    white-space: nowrap;
}
.toast.show { opacity: 1; }

/* ================================================
   MOBILNÍ FIX — produkt galerie + menu
   ================================================ */
@media (max-width: 768px) {
    /* Galerie produktu — zruš sticky, omez výšku */
    .product-detail-grid > div:first-child {
        position: static !important;
        top: auto !important;
    }
    
    
    .gallery-thumbs {
        gap: 6px !important;
    }
    .gallery-thumb {
        width: 52px !important;
        height: 52px !important;
    }

    /* Header — zajisti správné z-index pořadí */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
        box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    }
    .topbar { position: relative; z-index: 101; }
    .mobile-menu { z-index: 200; }
    .mobile-menu-overlay { z-index: 199; }

    /* Stánek formulář — 1 sloupec */
    .stanek-form-grid {
        grid-template-columns: 1fr !important;
    }

    /* Breadcrumb na mobilu */
    .breadcrumb { font-size: 0.8rem; padding: 8px 0; }

    /* Qty tlačítka */
    .qty-wrap { gap: 4px; }

    /* Add to cart tlačítko */
    #add-to-cart-form .btn-lg {
        width: 100%;
        justify-content: center;
    }

    /* Produkt detail info */
    .product-detail-name { font-size: 1.6rem !important; }
    .detail-price { font-size: 1.6rem !important; }

    /* Benefits grid v detailu produktu */
    .product-benefits { grid-template-columns: 1fr 1fr !important; }

    /* Košík tabulka */
    .cart-table { font-size: 0.82rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

@media (max-width: 480px) {
    
    .product-detail-name { font-size: 1.4rem !important; }
    .detail-price { font-size: 1.4rem !important; }
    .benefits-strip-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ===== MOBILNÍ FIX — produkty přes celý display ===== */
@media (max-width: 480px) {
    .container { padding: 0 10px; }
    .products-grid { 
        grid-template-columns: 1fr 1fr !important; 
        gap: 8px !important;
    }
    .products-section { padding: 24px 0; }
    .product-section .section-title { font-size: 1.4rem; }
}

/* ===== MOBILNÍ FIX — ikony headeru menší ===== */
@media (max-width: 768px) {
    .icon-btn { width: 32px; height: 32px; }
    .icon-btn svg { width: 16px; height: 16px; }
    .cart-badge { width: 15px; height: 15px; font-size: 8px; top: -3px; right: -3px; }
    .header-icons { gap: 4px; }
    .hamburger { padding: 4px; }
}

/* ===== HERO TLAČÍTKA NA MOBILU ===== */
@media (max-width: 768px) {
    .hero-btns {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }
    .hero-btns .btn {
        padding: 10px 16px !important;
        font-size: 0.82rem !important;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    .hero-btns .btn-lg {
        padding: 10px 16px !important;
        font-size: 0.82rem !important;
    }
}

/* ===== GALERIE PRODUKTU NA MOBILU ===== */
@media (max-width: 768px) {
    
    
    .gallery-thumbs { gap: 6px; }
    .gallery-thumb { width: 56px !important; height: 56px !important; }
}

/* ===== POKLADNA + GALERIE MOBIL FIX ===== */
@media (max-width: 768px) {
    /* Pokladna — 1 sloupec */
    .checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .checkout-form {
        padding: 18px !important;
    }
    .form-row-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    /* Galerie produktu — přes celý display */
    
    
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .product-detail-grid > div:first-child {
        position: static !important;
    }
}

/* ===== IKONY HEADER OPRAVA ===== */
@media (max-width: 768px) {
    .icon-btn { width: 36px !important; height: 36px !important; }
    .icon-btn svg { width: 18px !important; height: 18px !important; }
}

/* ===== IKONY HEADER +30% ===== */
@media (max-width: 768px) {
    .icon-btn { width: 44px !important; height: 44px !important; }
    .icon-btn svg { width: 22px !important; height: 22px !important; }
    .cart-badge { width: 18px !important; height: 18px !important; font-size: 10px !important; }
}

/* ===== FOOTER MOBIL + GALERIE FIX ===== */
@media (max-width: 768px) {
    /* Footer - 2 sloupce */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
        padding-bottom: 32px !important;
    }
    .site-footer { padding-top: 40px !important; }
    .footer-col h4 { font-size: 0.82rem !important; }
    .footer-col a { font-size: 0.82rem !important; }

    /* Galerie - žádné ořezání */
    
    
}

@media (max-width: 400px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== THUMBNAILY GALERIE VĚTŠÍ ===== */
@media (max-width: 768px) {
    .gallery-thumbs { gap: 8px !important; margin-top: 10px !important; }
    .gallery-thumb { width: 72px !important; height: 72px !important; }
    .gallery-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
}

/* ===== FINÁLNÍ OPRAVY ===== */

/* Footer - zobraz všechny sloupce na mobilu */
.footer-col:nth-child(3),
.footer-col:nth-child(4) { display: block !important; }

@media (max-width: 768px) {
    .site-footer { display: block !important; margin-top: 40px !important; }
    .footer-grid { 
        grid-template-columns: 1fr 1fr !important; 
        gap: 20px !important;
        display: grid !important;
    }
    .footer-col { display: block !important; }
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) { display: block !important; }
}

/* Miniatury galerie na PC - větší */
.gallery-thumbs { gap: 12px !important; margin-top: 14px !important; }
.gallery-thumb { width: 88px !important; height: 88px !important; }
.gallery-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* ===== HEADER IKONY ODSAZENÍ ===== */
@media (max-width: 768px) {
    .header-icons { gap: 10px !important; padding-right: 4px; }
    .icon-btn { width: 44px !important; height: 44px !important; }
}

/* ===== QTY VĚTŠÍ NA MOBILU ===== */
@media (max-width: 768px) {
    .qty-wrap { gap: 0 !important; display: flex !important; align-items: center !important; }
    #add-to-cart-form { display: flex !important; gap: 10px !important; align-items: center !important; flex-wrap: wrap !important; }
    #add-to-cart-form .btn { height: 44px !important; }
}
