:root {
    --bg: #080b14;
    --bg-alt: #0d1220;
    --card: #111726;
    --card-alt: #151c2e;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #ffffff;
    --text-muted: #9ca3b5;
    --text-faint: #6b7280;
    --grad-1: #ef4ca6;
    --grad-2: #b05cff;
    --grad-3: #8157ff;
    --gradient: linear-gradient(120deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
    --star: #fbbf24;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1280px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Standard WP a11y utility — WooCommerce's own markup (and core) relies on this class existing
 * in the theme; without it, screen-reader-only text (e.g. "out of 5" on star ratings) renders
 * as visible stray text/characters instead of staying invisible-but-accessible. */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
}

.text-gradient {
    background-image: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background-image: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 20px rgba(176, 92, 255, 0.28);
}
.btn-primary:hover { opacity: 0.92; }
.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: var(--border-strong);
    backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grad-1);
    margin-bottom: 6px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.section-heading h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--grad-1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 40; }

.topbar { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    font-size: 12px;
    color: var(--text-muted);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item .icon { width: 13px; height: 13px; }
.topbar-phone { color: var(--text); font-weight: 600; }

.main-header { background: var(--bg); border-bottom: 1px solid var(--border); }
.main-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 76px;
}

.site-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.site-logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.custom-logo { max-height: 44px; width: auto; }

.site-search {
    flex: 1;
    max-width: 520px;
    position: relative;
    display: flex;
    align-items: center;
}
.site-search-input {
    width: 100%;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--card);
    color: var(--text);
    padding: 0 52px 0 20px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.site-search-input::placeholder { color: var(--text-faint); }
.site-search-input:focus { border-color: var(--grad-2); }
.site-search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 36px;
    border: none;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    position: relative;
    transition: background 0.2s, color 0.2s;
}
.header-action:hover { background: var(--card); color: var(--text); }
.header-action .icon { width: 20px; height: 20px; }
.header-action-label { font-size: 11px; font-weight: 500; }
.header-action-cart { color: var(--text); }
.cart-badge, .wishlist-badge {
    position: absolute;
    top: 2px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 999px;
    background-image: var(--gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.main-nav { background: var(--bg); border-bottom: 1px solid var(--border); }
.main-nav-inner { height: 48px; display: flex; align-items: center; overflow-x: auto; }
.main-nav-list { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.main-nav-list a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}
.main-nav-list a:hover { color: var(--text); }
.main-nav-list a.nav-highlight,
.main-nav-list li:last-child a { color: var(--grad-1); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 0; }
.hero-card {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    min-height: 300px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 8, 16, 0.88) 0%, rgba(6, 8, 16, 0.55) 45%, rgba(6, 8, 16, 0.1) 75%);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 40px;
    max-width: 560px;
}
.hero-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}
.hero-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #fff;
}
.hero-subtitle {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 420px;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 22px; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background 0.2s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, 0.22); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}
.hero-dot { width: 6px; height: 6px; padding: 0; border: none; border-radius: 999px; background: rgba(255, 255, 255, 0.4); transition: all 0.2s; cursor: pointer; }
.hero-dot.is-active { width: 22px; background: #fff; }

/* ---------- Categories ---------- */
.categories { padding: 40px 0 0; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 10px;
    border-radius: var(--radius-md);
    background: var(--card);
    border: 1px solid var(--border);
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.category-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.category-card-media {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--card-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.category-card-media img { width: 100%; height: 100%; object-fit: cover; }
.category-card-label { font-size: 12.5px; font-weight: 600; color: var(--text); }

/* ---------- Benefits ---------- */
.benefits { padding: 32px 0 0; }
.benefits-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.benefit { display: flex; align-items: center; gap: 12px; }
.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--card-alt);
    color: var(--grad-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.benefit-icon svg { width: 18px; height: 18px; }
.benefit-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.benefit-text strong { font-size: 13px; font-weight: 700; color: var(--text); }
.benefit-text span { font-size: 12px; color: var(--text-muted); }

/* ---------- Product sections ---------- */
.product-section { padding: 44px 0 0; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.product-card-media { position: relative; aspect-ratio: 1 / 1; background: var(--card-alt); }
.product-card-media-link { position: absolute; inset: 0; display: block; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: rgba(8, 11, 20, 0.55);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.product-wishlist svg { width: 14px; height: 14px; }
.product-wishlist:hover { color: var(--grad-1); }
.product-wishlist.is-active { color: var(--grad-1); background: rgba(239, 76, 166, 0.16); }
.product-wishlist.is-active svg { fill: currentColor; }

/* WooCommerce's [add_to_cart] shortcode wraps the real <a class="add_to_cart_button"> in a
   <p class="product-add-btn"> container — style ONLY the outer wrapper as the positioned circle,
   and make the inner link fill it completely (no separate offset), otherwise both elements end up
   independently absolutely-positioned with the same right/bottom values and visually misalign,
   so clicks land on the wrapper's dead space instead of the actual link. */
.product-card-media .product-add-btn {
    position: absolute !important;
    right: 8px;
    bottom: -14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(176, 92, 255, 0.4);
}
.product-card-media .product-add-btn a.button,
.product-card-media .product-add-btn a.add_to_cart_button {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 999px !important;
    background-image: var(--gradient) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px;
    border: 3px solid var(--bg);
}
.product-card-media .product-add-btn a.button::before,
.product-card-media .product-add-btn a.add_to_cart_button::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    text-indent: 0;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6 4.5 2H2'/%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6 4.5 2H2'/%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.product-card-body { display: flex; flex-direction: column; gap: 5px; padding: 12px; }
.product-name {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    line-height: 1.3;
}
.product-rating { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-muted); }
.imprezuj-stars {
    display: inline-block;
    width: 56px;
    height: 10px;
    position: relative;
    background: linear-gradient(90deg, var(--text-faint) 0 100%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cg fill='black'%3E%3Cpath d='M5 0l1.4 3.4L10 3.9 7.3 6.2 8 9.8 5 8 2 9.8l.7-3.6L0 3.9l3.6-.5z'/%3E%3Cpath d='M16.4 0l1.4 3.4 3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6-2.7-2.3 3.6-.5z'/%3E%3Cpath d='M27.8 0l1.4 3.4 3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6-2.7-2.3 3.6-.5z'/%3E%3Cpath d='M39.2 0l1.4 3.4 3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6-2.7-2.3 3.6-.5z'/%3E%3Cpath d='M50.6 0 52 3.4l3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6L45.6 3.9l3.6-.5z'/%3E%3C/g%3E%3C/svg%3E") left center / 56px 10px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cg fill='black'%3E%3Cpath d='M5 0l1.4 3.4L10 3.9 7.3 6.2 8 9.8 5 8 2 9.8l.7-3.6L0 3.9l3.6-.5z'/%3E%3Cpath d='M16.4 0l1.4 3.4 3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6-2.7-2.3 3.6-.5z'/%3E%3Cpath d='M27.8 0l1.4 3.4 3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6-2.7-2.3 3.6-.5z'/%3E%3Cpath d='M39.2 0l1.4 3.4 3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6-2.7-2.3 3.6-.5z'/%3E%3Cpath d='M50.6 0 52 3.4l3.6.5-2.7 2.3.7 3.6-3-1.8-3 1.8.7-3.6L45.6 3.9l3.6-.5z'/%3E%3C/g%3E%3C/svg%3E") left center / 56px 10px repeat-x;
}
.imprezuj-stars::before {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--fill, 0%);
    background: var(--star);
}
.product-rating-value { font-weight: 600; color: var(--text); }
.product-price { font-size: 15px; font-weight: 700; color: var(--text); margin-top: 2px; }
.product-price ins { text-decoration: none; }
.product-price del { color: var(--text-faint); font-weight: 500; font-size: 12px; margin-right: 4px; }

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 20px;
    padding-top: 20px;
}
.trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.trust-badge svg { width: 14px; height: 14px; color: var(--grad-1); }

/* ---------- Occasions ---------- */
.occasions { padding: 44px 0 0; }
.occasion-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.occasion-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}
.occasion-card-media { position: absolute; inset: 0; }
.occasion-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.occasion-card:hover .occasion-card-media img { transform: scale(1.06); }
.occasion-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 16, 0) 45%, rgba(6, 8, 16, 0.85) 100%);
}
.occasion-card-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #fff;
}

/* ---------- Inspiration ---------- */
.inspiration { padding: 44px 0 0; }
.inspiration-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    min-height: 260px;
}
.inspiration-text { display: flex; flex-direction: column; justify-content: center; padding: 36px; gap: 12px; }
.inspiration-text h2 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.inspiration-text p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; max-width: 340px; }
.inspiration-text .btn { align-self: flex-start; margin-top: 8px; }
.inspiration-media { position: relative; }
.inspiration-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats { padding: 44px 0 0; }
.stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.stat {
    padding: 26px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value { font-size: 26px; font-weight: 800; background-image: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 12px; color: var(--text-muted); }

/* ---------- Newsletter ---------- */
.newsletter { padding: 44px 0 0; }
.newsletter-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
}
.newsletter-text h2 { font-size: 22px; font-weight: 700; }
.newsletter-text p { margin-top: 8px; font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-input {
    flex: 1;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    padding: 0 18px;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
}
.newsletter-input::placeholder { color: var(--text-faint); }
.newsletter-submit { flex-shrink: 0; }
.newsletter-promise { margin-top: 10px; font-size: 12px; color: var(--text-faint); text-align: right; }
.newsletter-promise.is-error { color: #f87171; }
.newsletter-promise.is-success { color: #34d399; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--border); }
.footer-strip { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.footer-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    padding: 14px 0;
    font-size: 12px;
    color: var(--text-muted);
}
.footer-strip-inner span { display: inline-flex; align-items: center; gap: 6px; }
.footer-strip-inner .icon { color: var(--grad-1); }

.footer-main { padding: 44px 0; }
.footer-columns { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 24px; }
.footer-col h3 { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 12.5px; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-col-brand p { margin-top: 10px; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social-icon {
    width: 32px; height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.footer-social-icon svg { width: 14px; height: 14px; }
.footer-social-icon:hover { color: var(--grad-1); border-color: var(--grad-1); }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.payment-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.payment-icons span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-faint);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
}
.copyright { font-size: 12px; color: var(--text-faint); }

/* ---------- WooCommerce archive/shop generic ---------- */
.imprezuj-shop-main { padding: 32px 0 60px; }
.shop-archive-header { margin-bottom: 24px; }
.shop-archive-header h1 { font-size: 26px; font-weight: 800; }
ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination { margin-top: 28px; text-align: center; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.woocommerce-pagination .page-numbers {
    display: flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 8px;
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    color: var(--text-muted); font-size: 13px; font-weight: 600;
}
.woocommerce-pagination .page-numbers.current { background-image: var(--gradient); color: #fff; border-color: transparent; }
.woocommerce-ordering { margin-bottom: 20px; }
.woocommerce-ordering select,
.woocommerce-result-count { font-size: 13px; color: var(--text-muted); }
.woocommerce-ordering select {
    height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
    background: var(--card); color: var(--text); padding: 0 10px; font-family: inherit;
}

/* The hamburger-menu close button only makes sense inside the open mobile drawer —
   hidden everywhere else (fixes it rendering as a small unstyled stray square on desktop). */
.mobile-nav-close { display: none; }

/* ---------- Single product page ---------- */
.woocommerce-breadcrumb {
    font-size: 12.5px; color: var(--text-muted); margin-bottom: 20px;
}
.woocommerce-breadcrumb a { color: var(--text-muted); }
.woocommerce-breadcrumb a:hover { color: var(--text); }

.product_title.entry-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; }

p.price, span.price {
    font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; display: block;
}
p.price del, span.price del { color: var(--text-faint); font-weight: 500; font-size: 15px; margin-right: 6px; text-decoration: line-through; }
p.price ins, span.price ins { text-decoration: none; }

p.stock { font-size: 13px; font-weight: 600; margin-bottom: 16px; }
p.stock.in-stock { color: #34d399; }
p.stock.out-of-stock { color: #f87171; }

form.cart {
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap;
}
form.cart .quantity { display: block; }
form.cart .qty {
    width: 64px; height: 46px; text-align: center;
    border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
    background: var(--card); color: var(--text); font-family: inherit; font-size: 14px;
}
form.cart .single_add_to_cart_button {
    height: 46px; padding: 0 26px; border: none; border-radius: 999px;
    background-image: var(--gradient); color: #fff; font-weight: 600; font-size: 14px;
    cursor: pointer; transition: opacity 0.2s;
}
form.cart .single_add_to_cart_button:hover { opacity: 0.92; }
form.cart .single_add_to_cart_button.loading { opacity: 0.6; pointer-events: none; }

.product_meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 32px; }
.product_meta a { color: var(--grad-1); }

.woocommerce-product-gallery { position: relative; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 24px; }
.woocommerce-product-gallery img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.woocommerce-product-gallery__trigger {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 34px; height: 34px; border-radius: 999px;
    background: rgba(8, 11, 20, 0.55); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
}
.woocommerce-product-gallery__trigger img { width: 14px; height: 14px; }
.woocommerce-product-gallery__thumbnails { display: flex; gap: 8px; margin-top: 8px; }
.woocommerce-product-gallery__thumbnails .woocommerce-product-gallery__image {
    width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
    border: 1px solid var(--border);
}
.woocommerce-product-gallery__thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.flex-control-thumbs { display: flex; gap: 8px; margin-top: 8px; list-style: none; padding: 0; }
.flex-control-thumbs li { width: 64px; height: 64px; }
.flex-control-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); cursor: pointer; }

.woocommerce-tabs { margin-top: 40px; }
.woocommerce-tabs ul.tabs {
    display: flex; gap: 24px; list-style: none; margin: 0 0 24px; padding: 0;
    border-bottom: 1px solid var(--border);
}
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a {
    display: inline-block; padding: 12px 0; font-size: 14px; font-weight: 600;
    color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--text); border-bottom-color: var(--grad-1); }
.woocommerce-tabs .panel { display: none; }
.woocommerce-tabs .panel.active-tab,
.woocommerce-tabs .panel:first-of-type:not(.wc-tab-hidden) { }
.woocommerce-Tabs-panel { display: none; }
.woocommerce-Tabs-panel.active-tab { display: block; }
.woocommerce-tabs .panel h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.woocommerce-tabs .panel p { color: var(--text-muted); line-height: 1.7; font-size: 14px; }

.star-rating { display: inline-block; position: relative; width: 84px; height: 16px; font-size: 14px; }
.star-rating::before {
    content: "★★★★★"; color: var(--text-faint); letter-spacing: 3px; position: absolute; inset: 0;
}
.star-rating span { position: absolute; inset: 0; overflow: hidden; }
.star-rating span::before { content: "★★★★★"; color: var(--star); letter-spacing: 3px; }

.comment-form-rating select { display: none; }
#reviews .comment-text { border-bottom: 1px solid var(--border); padding: 16px 0; }
#reviews .comment-text p.meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }
#reviews .description p { font-size: 14px; color: var(--text); line-height: 1.6; }
#reviews .comment-form label { display: block; font-size: 13px; color: var(--text-muted); margin: 12px 0 4px; }
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea {
    width: 100%; max-width: 480px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
    background: var(--card); color: var(--text); padding: 10px 14px; font-family: inherit; font-size: 14px;
}
#reviews .comment-form #submit {
    margin-top: 14px; height: 44px; padding: 0 24px; border: none; border-radius: 999px;
    background-image: var(--gradient); color: #fff; font-weight: 600; cursor: pointer;
}

/* ---------- Notices / form messages (cart, checkout, my-account, reviews) ---------- */
.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-noreviews {
    list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-sm);
    font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.woocommerce-message { background: rgba(52, 211, 153, 0.1); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.25); }
.woocommerce-error { background: rgba(248, 113, 113, 0.1); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.25); list-style: none; }
.woocommerce-error li { list-style: none; }
.woocommerce-info { background: var(--card); color: var(--text-muted); border: 1px solid var(--border); }
.woocommerce-message a.button, .woocommerce-error a.button {
    border-radius: 999px; background-image: var(--gradient); color: #fff; padding: 8px 18px; font-weight: 600; font-size: 12.5px;
}

/* ---------- Cart / checkout tables & forms ---------- */
table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 13.5px; }
table.shop_table th { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
table.shop_table td { padding: 14px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.shop_table img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.product-remove a { color: var(--text-faint); font-size: 18px; }
.product-remove a:hover { color: #f87171; }
td.actions .button, .checkout-button {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 24px; border: none; border-radius: 999px;
    background-image: var(--gradient); color: #fff !important; font-weight: 600; font-size: 13.5px; cursor: pointer;
}
.cart-collaterals, .cart_totals { max-width: 420px; margin-left: auto; }
.cart_totals h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.cart_totals table { width: 100%; }
.cart_totals table th, .cart_totals table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.cart_totals .order-total .amount { font-weight: 700; font-size: 16px; color: var(--text); }
input.qty, input[type="number"] {
    background: var(--card); color: var(--text); border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm); padding: 8px; font-family: inherit;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
    width: 100%; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
    background: var(--card); color: var(--text); padding: 0 14px; font-family: inherit; font-size: 14px; margin-bottom: 4px;
}
.woocommerce-checkout textarea { height: auto; padding: 10px 14px; }
.woocommerce-checkout label, .woocommerce-form-login label, .woocommerce-form-register label {
    display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; margin-top: 12px;
}
.woocommerce-form-login__rememberme {
    display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: 13px; color: var(--text-muted);
}
.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 16px; height: 16px; margin: 0; accent-color: var(--grad-2);
}
.woocommerce-checkout #place_order,
.woocommerce-form-login button[type="submit"],
.woocommerce-form-register button[type="submit"] {
    height: 48px; padding: 0 28px; border: none; border-radius: 999px;
    background-image: var(--gradient); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; margin-top: 16px;
}
#order_review_heading, .woocommerce-checkout h3 { font-size: 18px; font-weight: 700; margin: 24px 0 14px; }
.woocommerce-billing-fields__field-wrapper > p, .form-row { margin-bottom: 14px; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
    color: var(--text-muted); font-size: 13px; font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background-image: var(--gradient); color: #fff; border-color: transparent; }
.woocommerce-account .addresses .title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }

/* ---------- select2 (WooCommerce's enhanced country/state dropdowns on checkout) ----------
 * This widget's JS is still enqueued by WC even with woocommerce_enqueue_styles disabled, but
 * its CSS was part of the bundle that got turned off, leaving it in the browser's stock white
 * dropdown styling — jarring against the dark theme. */
.select2-container--default .select2-selection--single {
    height: 44px !important; border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-strong) !important; background: var(--card) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text); line-height: 42px !important; padding-left: 14px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px !important; }
.select2-dropdown {
    background: var(--card) !important; border: 1px solid var(--border-strong) !important;
    border-radius: var(--radius-sm) !important; overflow: hidden;
}
.select2-search--dropdown .select2-search__field {
    background: var(--bg) !important; color: var(--text) !important;
    border: 1px solid var(--border-strong) !important; border-radius: var(--radius-sm) !important;
}
.select2-results__option { color: var(--text); font-size: 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-image: var(--gradient) !important; color: #fff !important;
}
.select2-container--default .select2-results__option[aria-selected="true"] { background: var(--bg-alt); }

/* ---------- Checkout payment methods ---------- */
ul.wc_payment_methods { list-style: none; margin: 20px 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
ul.wc_payment_methods li.wc_payment_method { padding: 14px 16px; border-bottom: 1px solid var(--border); }
ul.wc_payment_methods li.wc_payment_method:last-child { border-bottom: none; }
ul.wc_payment_methods input.input-radio { accent-color: var(--grad-2); width: 16px; height: 16px; margin-right: 8px; vertical-align: middle; }
ul.wc_payment_methods label { font-size: 14px; font-weight: 600; color: var(--text); }
.payment_box { margin-top: 10px; padding: 12px 14px; background: var(--card); border-radius: var(--radius-sm); font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.woocommerce-privacy-policy-text { margin-top: 16px; font-size: 12px; color: var(--text-faint); line-height: 1.6; }
.woocommerce-privacy-policy-text a { color: var(--grad-1); }

/* WooCommerce's password-visibility toggle — meant to sit as a small icon inside the field;
 * without WC's default CSS it fell into normal flow as an empty, unstyled circular button. */
.password-input { position: relative; display: block; }
.password-input input[type="password"], .password-input input[type="text"] { padding-right: 42px; }
.show-password-input {
    position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
    width: 32px; height: 32px; border: none; background: transparent; cursor: pointer;
    color: var(--text-muted); border-radius: 999px;
}
.show-password-input::before {
    content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.show-password-input:hover { color: var(--text); }
