/* ================================================================
   BAGIT — Modern Theme (new/)
   Neutrálna beige/cream paleta + Cormorant Garamond headings
   ================================================================ */

:root {
    --color-bg: #fbf9f6;
    --color-surface: #ffffff;
    --color-border: #e6e2db;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6b6b;
    --color-accent: #6b4e3a;     /* warm brown */
    --color-accent-dark: #4a3425;
    --color-danger: #c1362f;
    --color-success: #3b7a4d;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
    --shadow-md: 0 4px 14px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.10);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;

    --header-h: 120px;
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
h3 { font-size: 20px; }
h4 { font-size: 16px; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1em; }
a { color: var(--color-text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   Utility helpers (mini Bootstrap-like)
   ═══════════════════════════════════════════════════════════════════ */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 2rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 2rem; }

.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
@media (min-width: 768px) {
    .d-md-flex { display: flex !important; }
    .d-md-block { display: block !important; }
    .d-md-none { display: none !important; }
}
@media (min-width: 992px) {
    .d-lg-flex { display: flex !important; }
    .d-lg-block { display: block !important; }
    .d-lg-none { display: none !important; }
}

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 8px;
    background: #000; color: #fff; padding: 8px 12px;
    border-radius: 4px; z-index: 2000;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   Announcement bar (info chip hore)
   ═══════════════════════════════════════════════════════════════════ */
.announce-bar {
    background: var(--color-accent);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    text-align: center;
}
.announce-bar .container { padding: 0 24px; }

/* ═══════════════════════════════════════════════════════════════════
   Header
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(8px);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; height: var(--header-h);
}
.site-header__logo { display: inline-flex; align-items: center; padding: 8px 0; }
.site-header__logo img { height: 100px; width: auto; display: block; }

.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 28px; }
.site-nav a {
    font-size: 14px; font-weight: 500; letter-spacing: .02em;
    text-transform: uppercase; padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .15s, color .15s;
}
.site-nav a:hover, .site-nav a.is-active { border-color: var(--color-accent); color: var(--color-accent); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.site-search {
    display: flex; align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 2px 2px 2px 14px;
    transition: border-color .15s;
}
.site-search:focus-within { border-color: var(--color-accent); }
.site-search input {
    border: 0; background: transparent; outline: 0;
    font-size: 14px; min-width: 180px; color: var(--color-text);
}
.site-search button {
    border: 0; background: var(--color-text); color: #fff;
    width: 34px; height: 34px; border-radius: 999px;
    cursor: pointer; font-size: 13px;
}
.site-search button:hover { background: var(--color-accent); }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    color: var(--color-text);
    background: transparent;
    border: 0; cursor: pointer;
    position: relative;
    transition: background .15s;
}
.icon-btn:hover { background: #eee8de; }
.cart-badge {
    position: absolute; top: 2px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px;
    background: var(--color-accent); color: #fff;
    font-size: 10px; font-weight: 700; line-height: 18px; text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   Mobile menu
   ═══════════════════════════════════════════════════════════════════ */
.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
    background: var(--color-surface);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 200;
    display: flex; flex-direction: column;
    padding: 16px;
    overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
    z-index: 150;
}
.mobile-menu__backdrop.is-visible { opacity: 1; pointer-events: auto; }
.mobile-menu__head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-serif); font-size: 20px;
    padding: 4px 0 14px;
    border-bottom: 1px solid var(--color-border);
}
.mobile-menu__head button { border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.mobile-menu__search {
    display: flex; gap: 6px; margin: 16px 0;
    border: 1px solid var(--color-border); border-radius: 999px; padding: 2px 2px 2px 14px;
}
.mobile-menu__search input { flex: 1; border: 0; outline: 0; font-size: 14px; background: transparent; }
.mobile-menu__search button { border: 0; background: var(--color-text); color: #fff; width: 34px; height: 34px; border-radius: 999px; }
.mobile-menu nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu nav a {
    display: block; padding: 10px 0; font-size: 15px;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase; letter-spacing: .02em;
}
.mobile-menu__footer {
    margin-top: auto; padding-top: 20px;
    border-top: 1px solid var(--color-border);
    display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu__footer a { padding: 8px 0; font-size: 14px; }
.mobile-menu__footer i { margin-right: 8px; color: var(--color-text-muted); }

/* ═══════════════════════════════════════════════════════════════════
   Main
   ═══════════════════════════════════════════════════════════════════ */
.site-main { min-height: 60vh; padding: 32px 0 80px; }

/* ═══════════════════════════════════════════════════════════════════
   Breadcrumb
   ═══════════════════════════════════════════════════════════════════ */
.breadcrumb {
    font-size: 12.5px; color: var(--color-text-muted);
    padding: 16px 0;
    letter-spacing: .02em; text-transform: uppercase;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { margin: 0 8px; opacity: .4; }

/* ═══════════════════════════════════════════════════════════════════
   Alerts
   ═══════════════════════════════════════════════════════════════════ */
.alert {
    padding: 12px 16px; border-radius: var(--radius-md);
    margin: 14px 0; border: 1px solid transparent;
    font-size: 14px;
}
.alert-info,
.alert-success { background: #edf7ee; border-color: #c3e2c9; color: var(--color-success); }
.alert-warning { background: #fff5e1; border-color: #f3d892; color: #8a5a00; }
.alert-danger,
.alert-error   { background: #fdecea; border-color: #f1b6b1; color: var(--color-danger); }

/* ═══════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 6px; justify-content: center;
    padding: 11px 22px;
    font-family: var(--font-sans); font-size: 14px; font-weight: 500;
    letter-spacing: .03em; text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer; border: 1px solid transparent;
    transition: all .2s ease;
    text-decoration: none;
}
.btn-primary { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.btn-primary:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn-outline:hover { background: var(--color-text); color: #fff; }
.btn-danger { background: var(--color-danger); color: #fff; border-color: var(--color-danger); }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 56px 0 24px;
    margin-top: 80px;
    font-size: 14px;
}
.site-footer__grid {
    display: grid; gap: 32px;
    grid-template-columns: 1fr;
    padding-bottom: 32px;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__col h4 { color: #fff; margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin: 0 0 8px; }
.site-footer__col a { color: #ccc; }
.site-footer__col a:hover { color: #fff; }
.site-footer__brand {
    font-family: var(--font-serif) !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
    margin: 0 0 10px !important;
    color: #fff !important;
}
.site-footer__social { display: flex; gap: 12px; margin-top: 12px; }
.site-footer__social a {
    width: 36px; height: 36px; border-radius: 999px;
    background: #2a2a2a; color: #ccc;
    display: inline-flex; align-items: center; justify-content: center;
}
.site-footer__social a:hover { background: var(--color-accent); color: #fff; }
.site-footer__bar {
    border-top: 1px solid #2a2a2a;
    padding-top: 24px;
    font-size: 12px; color: #888; text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   Section headings + layout primitives
   ═══════════════════════════════════════════════════════════════════ */
.section { padding: 56px 0; }
.section__heading { text-align: center; margin-bottom: 40px; }
.section__heading h2 { margin: 0 0 6px; }
.section__heading p { color: var(--color-text-muted); margin: 0; }

.eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 600;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   Product cards (used in shop listing, home featured)
   ═══════════════════════════════════════════════════════════════════ */
.product-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .product-grid { gap: 24px; } }
@media (min-width: 992px) { .product-grid { gap: 28px; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.product-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #f2efe9;
    overflow: hidden;
    display: block;
}
.product-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--color-accent); color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .05em;
}
.product-card__body {
    padding: 12px 12px 16px;
    display: flex; flex-direction: column; flex: 1;
}
@media (min-width: 640px) { .product-card__body { padding: 16px 18px 20px; } }
.product-card__cat {
    font-size: 10px; color: var(--color-text-muted);
    letter-spacing: .05em; text-transform: uppercase;
    margin-bottom: 4px;
}
@media (min-width: 640px) { .product-card__cat { font-size: 11px; } }
.product-card__title {
    font-family: var(--font-serif);
    font-size: 17px; font-weight: 500;
    margin: 0 0 6px;
    line-height: 1.2;
}
@media (min-width: 640px) { .product-card__title { font-size: 20px; } }
.product-card__title a { color: var(--color-text); }
.product-card__price {
    margin-top: auto;
    font-weight: 600; font-size: 14px;
}
@media (min-width: 640px) { .product-card__price { font-size: 16px; } }
.product-card__price del {
    color: var(--color-text-muted);
    font-weight: 400;
    margin-right: 6px;
}

/* ═══════════════════════════════════════════════════════════════════
   Hero (home)
   ═══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 65vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8ddd0 100%);
    margin-bottom: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.hero--with-bg { min-height: 72vh; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right,
        rgba(251,249,246,.88) 0%,
        rgba(251,249,246,.65) 45%,
        rgba(251,249,246,.1) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}
.hero--with-bg .hero__overlay { opacity: 1; }

/* Banner hero — text cez celú šírku, bez filtrov, iba biely nadpis */
.hero--banner { min-height: 58vh; margin-bottom: 0; padding-bottom: 160px; }
.hero--banner .hero__overlay { display: none; }
.hero--banner .hero__inner {
    padding: 40px 0 90px;          /* text posunutý kúsok vyššie od spodku */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 58vh;
}

/* Benefits — biela karta ktorá prekrýva spodok hero */
.benefit-block {
    margin-top: -150px;           /* väčšie overlap = box je vyššie */
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}
.our-benefits {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    padding: 36px 24px;
}
.benefit-grid {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-detail {
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 18px 22px;
    border-right: 1px solid var(--color-border);
}
.benefit-detail:last-child { border-right: 0; }
@media (max-width: 767px) {
    .benefit-detail { border-right: 0; border-bottom: 1px solid var(--color-border); }
    .benefit-detail:last-child { border-bottom: 0; }
}

.benefit-img {
    width: 64px; height: 64px;
    object-fit: contain;
    margin-bottom: 14px;
}
.benefit-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--color-text);
}
.benefit-describle {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 280px;
}
.hero__title-centered {
    font-family: 'Playfair Display', var(--font-serif);
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin: 0;
    font-size: clamp(28px, 5.4vw, 104px);
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
    /* Výrazný čierny tieň — kombinácia tvrdej kontúry + mäkkého ambientu */
    text-shadow:
        /* Tvrdá kontúra (okraj textu) */
        -1px -1px 0 rgba(0,0,0,.85),
         1px -1px 0 rgba(0,0,0,.85),
        -1px  1px 0 rgba(0,0,0,.85),
         1px  1px 0 rgba(0,0,0,.85),
        /* Blízky ostrý tieň */
         0 2px 4px rgba(0,0,0,.85),
         0 3px 6px rgba(0,0,0,.75),
        /* Stredný rozostrený */
         0 6px 16px rgba(0,0,0,.7),
        /* Široký ambient glow */
         0 14px 36px rgba(0,0,0,.55);
    max-width: none;
}
.hero__inner { padding: 48px 0; position: relative; z-index: 1; }
.hero__eyebrow {
    display: inline-block; font-size: 12px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--color-accent);
    margin-bottom: 12px;
}
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.05; margin: 0 0 18px; max-width: 700px; }
.hero p { font-size: 17px; color: var(--color-text); max-width: 560px; margin-bottom: 28px; }

/* ═══════════════════════════════════════════════════════════════════
   Category strip (home)
   ═══════════════════════════════════════════════════════════════════ */
.cat-strip {
    display: grid; gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .cat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-strip { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg); overflow: hidden;
    background: #e6ded0;
    display: flex; align-items: flex-end;
    text-decoration: none; color: #fff;
}
.cat-tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.cat-tile::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
}
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__label {
    position: relative; z-index: 1;
    padding: 16px 20px;
    font-family: var(--font-serif);
    font-size: 22px; font-weight: 500;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   Shop — filter sidebar + listing
   ═══════════════════════════════════════════════════════════════════ */
.shop-layout { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 260px 1fr; } }

.shop-filters {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    /* sám si určuje výšku, nečahá sa na výšku produktovej mriežky */
    align-self: start;
    /* Pri scrollovaní zostáva vľavo (pod sticky hlavičkou) */
    position: sticky;
    top: calc(var(--header-h) + 20px);
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow-y: auto;
}
.shop-filters h3 {
    font-family: var(--font-sans); font-size: 12px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--color-text-muted);
    padding-bottom: 10px; margin: 0 0 14px;
    border-bottom: 1px solid var(--color-border);
}
.shop-filters ul { list-style: none; padding: 0; margin: 0 0 24px; }
.shop-filters li { margin: 0 0 6px; }
.shop-filters a { font-size: 14px; color: var(--color-text); }
.shop-filters a:hover { color: var(--color-accent); }

.shop-topbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}
.shop-topbar h1 { margin: 0; font-size: 26px; }
.shop-topbar select {
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    background: var(--color-surface);
}

/* Pagination */
.pager { display: flex; justify-content: center; gap: 4px; margin: 40px 0 0; }
.pager a, .pager span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px;
    border: 1px solid var(--color-border); border-radius: 999px;
    font-size: 14px; color: var(--color-text);
    background: var(--color-surface);
    padding: 0 12px;
}
.pager a:hover { border-color: var(--color-text); color: var(--color-text); }
.pager .is-active { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.pager .is-disabled { opacity: .4; }

/* ═══════════════════════════════════════════════════════════════════
   Product detail
   ═══════════════════════════════════════════════════════════════════ */
.product-detail { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .product-detail { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

.pd-gallery { max-width: 560px; width: 100%; }
@media (min-width: 992px) {
    .pd-gallery { position: sticky; top: 100px; align-self: start; }
}
.pd-gallery__main { aspect-ratio: 4 / 5; background: #f2efe9; border-radius: var(--radius-lg); overflow: hidden; }
.pd-gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pd-gallery__thumbs {
    display: flex; gap: 8px; margin-top: 12px;
    overflow-x: auto; padding: 2px 0 6px;
}
.pd-gallery__thumbs a {
    flex: 0 0 auto; width: 88px; height: 88px;
    border: 2px solid transparent; border-radius: var(--radius-sm);
    overflow: hidden; background: #f2efe9;
}
.pd-gallery__thumbs a:hover { border-color: var(--color-accent); }
.pd-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-info .eyebrow { margin-bottom: 4px; }
.pd-info h1 { font-size: clamp(28px, 3.5vw, 42px); margin: 0 0 16px; }
.pd-info__price { font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.pd-info__price del { color: var(--color-text-muted); font-weight: 400; margin-right: 8px; }
.pd-info__teaser { color: var(--color-text-muted); margin-bottom: 20px; font-size: 15px; }

.pd-info__desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 28px;
}
.pd-info__desc img,
.pd-info__desc figure { max-width: 100% !important; height: auto !important; margin: 12px 0; }
.pd-info__desc p { margin: 0 0 .9em; }
.pd-info__desc p:last-child { margin-bottom: 0; }
.pd-info__desc h2, .pd-info__desc h3 { margin-top: 1.2em; }

.pd-variants {
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    overflow: hidden;
}
.pd-variants__head {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    background: #f5f0e4;
    border-bottom: 1px solid var(--color-border);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-text);
}
.pd-variants__head i {
    font-size: 13px;
    color: var(--color-accent);
}
.pd-variants__body {
    padding: 16px 18px 18px;
}
.pd-variants__row { margin-bottom: 12px; }
.pd-variants__row:last-child { margin-bottom: 0; }
.pd-variants__label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--color-text-muted);
    margin-bottom: 6px; display: block;
}
.pd-variants select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14.5px;
    background-color: #fff;
    color: var(--color-text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23414258' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color .15s, box-shadow .15s;
}
.pd-variants select:focus {
    outline: 0;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(65, 66, 88, .12);
}

.pd-buy { display: flex; gap: 10px; align-items: stretch; margin-bottom: 20px; }
.pd-buy__qty {
    display: inline-flex; align-items: center;
    border: 1px solid var(--color-border); border-radius: var(--radius-md);
    background: #fff;
    height: 48px;
    padding: 0 6px;
    flex: 0 0 auto;
}
.pd-buy__qty input,
.pd-buy__qty input[type="number"] {
    width: 54px;
    height: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: transparent;
    text-align: center;
    font-size: 15px; font-weight: 600;
}
.pd-buy .btn {
    flex: 1 1 auto;
    height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
}

/* Search input v headeri — zruš duplikovaný border z globálneho input stylu */
.site-search input,
.site-search input[type="text"],
.mobile-menu__search input,
.mobile-menu__search input[type="text"] {
    border: 0 !important;
    background: transparent !important;
    padding: 6px 0;
}

/* Stock line */
.pd-stock {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.pd-stock i { color: var(--color-success); margin-right: 4px; }

/* Stacked content sections in right column */
.pd-section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
}
.pd-section__title {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 14px;
}
.pd-section__body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-text);
}
.pd-section__body img,
.pd-section__body figure { max-width: 100% !important; height: auto !important; margin: 12px 0; }
.pd-section__body p { margin: 0 0 .9em; }
.pd-section__body h2, .pd-section__body h3 { margin-top: 1.2em; }

/* Spec list */
.pd-spec {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pd-spec li {
    display: grid;
    grid-template-columns: 160px 1fr;
    column-gap: 24px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}
.pd-spec li:last-child { border-bottom: 0; }
.pd-spec li strong {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
}
.pd-spec li span { color: var(--color-text); text-align: left; }

/* ═══════════════════════════════════════════════════════════════════
   Article / page detail
   ═══════════════════════════════════════════════════════════════════ */
.article {
    max-width: 800px; margin: 0 auto;
}
.article__header { text-align: center; margin-bottom: 40px; }
.article__date { font-size: 12px; color: var(--color-text-muted); letter-spacing: .08em; text-transform: uppercase; }
.article__content { font-size: 16px; line-height: 1.75; }
.article__content img, .article__content figure {
    max-width: min(100%, 520px) !important;
    height: auto !important;
    margin: 20px auto;
    border-radius: var(--radius-md);
    display: block;
}
/* Galerijné obrázky (v .gallery mriežke) si riešia veľkosť sami */
.article__content .gallery img, .article__content .gallery figure {
    max-width: 100% !important;
    margin: 0 !important;
}
.article__content p { margin-bottom: 1.2em; }
.article__content h2, .article__content h3 { margin-top: 1.8em; }
.article__content a { color: var(--color-accent); text-decoration: underline; }

/* WordPress gallery — konvertujeme starú float-based mriežku na CSS grid */
.article__content .gallery {
    display: grid !important;
    gap: 10px;
    margin: 20px 0;
    clear: both;
}
.article__content .gallery::after { content: ''; display: block; clear: both; }
.article__content .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.article__content .gallery-columns-3 { grid-template-columns: repeat(2, 1fr); }
.article__content .gallery-columns-4 { grid-template-columns: repeat(2, 1fr); }
.article__content .gallery-columns-5,
.article__content .gallery-columns-6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px) {
    .article__content .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
    .article__content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
    .article__content .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
    .article__content .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
}
.article__content .gallery-item {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    display: block;
    text-align: center;
}
.article__content .gallery-icon {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #efeae1;
}
.article__content .gallery-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 0 !important;
}
.article__content .gallery-caption { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }

/* Generic clearfix pre float-based obsah z WP */
.article__content::after { content: ''; display: block; clear: both; }
.article__content .alignleft, .article__content .alignright, .article__content .aligncenter {
    float: none !important;
    margin: 20px auto !important;
    display: block !important;
}

/* ═══════════════════════════════════════════════════════════════════
   Blog listing
   ═══════════════════════════════════════════════════════════════════ */
.blog-grid {
    display: grid; gap: 28px;
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card__media {
    aspect-ratio: 4 / 3;
    background: #eee;
    overflow: hidden;
    position: relative;
}
.blog-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__media > img { transform: scale(1.04); }

/* Placeholder — ak článok nemá obrázok, ukážeme logo s nízkou opacity na jemnom pozadí */
.blog-card--no-image .blog-card__media {
    background:
        radial-gradient(circle at 30% 30%, #faf6ee 0%, #f4eee2 55%, #ede6d5 100%);
}
.blog-card__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.blog-card__placeholder img {
    width: 50%; max-width: 160px;
    height: auto;
    opacity: .18;
    filter: grayscale(.5);
    transition: opacity .3s, transform .4s;
}
.blog-card--no-image:hover .blog-card__placeholder img {
    opacity: .3;
    transform: scale(1.06);
}
.blog-card__body { padding: 18px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__title { font-family: var(--font-serif); font-size: 22px; font-weight: 500; margin: 0 0 8px; line-height: 1.3; }
.blog-card__teaser { color: var(--color-text-muted); font-size: 14px; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__footer {
    margin-top: auto;
    padding-top: 14px; border-top: 1px solid var(--color-border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px;
}
.blog-card__date { color: var(--color-text-muted); letter-spacing: .05em; text-transform: uppercase; }
.blog-card__cta { font-weight: 600; color: var(--color-text); display: inline-flex; align-items: center; gap: 4px; transition: gap .15s; }
.blog-card__cta:hover { gap: 8px; color: var(--color-accent); }

/* ═══════════════════════════════════════════════════════════════════
   Cart / Checkout
   ═══════════════════════════════════════════════════════════════════ */
.cart-steps { display: flex; gap: 24px; margin: 8px 0 32px; padding: 0; list-style: none; justify-content: center; flex-wrap: wrap; }
.cart-steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text-muted); }
.cart-steps li.is-active { color: var(--color-text); font-weight: 600; }
.cart-steps li span.num {
    width: 28px; height: 28px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #e9e3d8; font-weight: 600; font-size: 13px;
}
.cart-steps li.is-active span.num { background: var(--color-text); color: #fff; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 14px; vertical-align: middle; }
.cart-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 500; }
.cart-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }

.cart-summary {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px;
}
.cart-summary h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-muted); font-family: var(--font-sans); margin-bottom: 14px; }
.cart-summary table { width: 100%; }
.cart-summary td { padding: 6px 0; font-size: 14px; }
.cart-summary .total { font-weight: 700; font-size: 17px; border-top: 1px solid var(--color-border); padding-top: 12px; }

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }
.form-control, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], textarea, select {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--color-border); border-radius: var(--radius-md);
    font-size: 14px; font-family: inherit;
    background: #fff;
    transition: border-color .15s;
}
.form-control:focus, input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--color-accent); }
textarea { resize: vertical; min-height: 90px; }

/* Tiny helpers */
.required { color: var(--color-danger); }
.divider { height: 1px; background: var(--color-border); margin: 16px 0; }
