/* ============================================================
   DZIEŁO SMAKU — Dark Premium Design System v3
   ============================================================ */

:root {
    /* Brand — berry/burgundy */
    --ds-berry:        #9B1C2E;
    --ds-berry-dark:   #78152A;

    /* Gold */
    --ds-gold:         #c9944a;
    --ds-gold-soft:    #E2C17A;
    --ds-gold-dark:    #8E6730;
    --ds-gold-dim:     rgba(201, 148, 74, 0.18);
    --ds-gold-glow:    rgba(201, 148, 74, 0.12);

    /* Dark surfaces */
    --ds-bg:           #07100B;
    --ds-surface:      #0F1A12;
    --ds-surface-2:    #172019;
    --ds-surface-3:    #1F2B22;

    /* Cream text (warm white, not cold white) */
    --ds-cream:        #F7F0E4;
    --ds-cream-muted:  #CFC2AE;
    --ds-muted:        #B8AD9E;

    /* Text — kept as aliases for backward-compat with existing classes */
    --ds-text:         rgba(247, 240, 228, 0.94);
    --ds-text-soft:    rgba(247, 240, 228, 0.68);
    --ds-text-muted:   rgba(184, 173, 158, 0.70);

    /* Borders */
    --ds-line:         rgba(255, 255, 255, 0.08);
    --ds-line-gold:    rgba(201, 148, 74, 0.30);
    --ds-border:       rgba(199, 154, 75, 0.32);
    --ds-border-soft:  rgba(247, 240, 228, 0.10);

    /* Shadows */
    --ds-shadow:       0 20px 60px rgba(0, 0, 0, 0.60);
    --ds-shadow-soft:  0 6px 22px rgba(0, 0, 0, 0.42);
    --ds-shadow-lg:    0 32px 90px rgba(0, 0, 0, 0.70);

    /* Shape */
    --ds-radius:       26px;
    --ds-radius-lg:    32px;
}

/* ================================================================
   BASE
   ================================================================ */

body.premium-site {
    background-color: var(--ds-bg);
    color: var(--ds-text);
    font-family: 'Cause', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* Subtle film-grain overlay — adds premium tactile depth */
body.premium-site::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    background-repeat: repeat;
    mix-blend-mode: overlay;
}

.premium-site a { color: inherit; }
.premium-site img { max-width: 100%; }
.premium-site .container { max-width: 1180px; }

.premium-site a:focus-visible,
.premium-site button:focus-visible,
.premium-site .form-control:focus,
.premium-site .form-select:focus {
    outline: 2px solid rgba(201, 148, 74, 0.55);
    outline-offset: 3px;
    box-shadow: none;
}

/* Bootstrap utility overrides for dark theme */
.premium-site .text-muted { color: var(--ds-text-muted) !important; }

/* ================================================================
   NAVBAR
   ================================================================ */

.premium-navbar {
    min-height: 88px;
    background: rgba(7, 16, 11, 0.95);
    border-bottom: 1px solid rgba(199, 154, 75, 0.14);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.4rem 0;
}

.premium-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.premium-brand-title {
    display: block;
    color: var(--ds-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.05;
}

.premium-brand-subtitle {
    display: block;
    color: var(--ds-text-muted);
    font-size: 0.77rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.premium-nav-main { gap: 0.5rem; }

.premium-navbar .nav-link {
    color: var(--ds-text-soft);
    border-radius: 999px;
    font-size: 0.91rem;
    font-weight: 700;
    padding: 0.46rem 0.78rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.premium-navbar .nav-link:hover,
.premium-navbar .nav-link:focus {
    background: rgba(201, 148, 74, 0.1);
    color: var(--ds-gold);
}

.premium-nav-actions {
    align-items: center;
    gap: 0.28rem;
}

.premium-header-cta {
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 700;
    background: var(--ds-berry) !important;
    border: 1.5px solid var(--ds-berry) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(155, 28, 46, 0.30) !important;
    letter-spacing: 0;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-header-cta:hover,
.premium-header-cta:focus {
    background: var(--ds-berry-dark) !important;
    border-color: var(--ds-berry-dark) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(155, 28, 46, 0.40) !important;
}

.premium-toggler {
    border: none;
    background: transparent;
    padding: 0.4rem 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 40px;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
}

.toggler-bar {
    display: block;
    background: var(--ds-gold);
    border-radius: 2px;
    align-self: center;
    transition: transform 0.40s cubic-bezier(0.23, 1, 0.32, 1),
                opacity   0.30s ease;
    transform-origin: center;
}

/* górny i dolny — grube, pełna szerokość */
.toggler-bar:nth-child(1),
.toggler-bar:nth-child(4) {
    width: 100%;
    height: 2px;
}

/* środkowe — cienkie, krótsze, wycentrowane */
.toggler-bar:nth-child(2),
.toggler-bar:nth-child(3) {
    width: calc(100% - 8px);
    height: 1px;
}

/* Animacja otwarcia */
.premium-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.premium-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.premium-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    opacity: 0;
    transform: scaleX(0);
}

.premium-toggler[aria-expanded="true"] .toggler-bar:nth-child(4) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.premium-cart-count {
    min-width: 1.15rem;
    background: var(--ds-berry);
    color: #fff;
    font-size: 0.67rem;
    font-weight: 800;
}

.premium-site .dropdown-menu {
    background: var(--ds-surface-2);
    border: 1px solid var(--ds-line);
    border-radius: 18px;
    box-shadow: var(--ds-shadow);
    color: var(--ds-text);
}

.premium-site .dropdown-item {
    color: var(--ds-text-soft);
}

.premium-site .dropdown-item:hover,
.premium-site .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ds-text);
}

.premium-site .dropdown-divider {
    border-color: var(--ds-line);
}

/* ================================================================
   BUTTONS
   ================================================================ */

.premium-site .btn {
    border-radius: 999px;
    font-weight: 800;
}

.premium-site .btn-primary,
.premium-site .btn-success {
    background: linear-gradient(160deg, #b82235 0%, var(--ds-berry) 100%);
    border-color: var(--ds-berry);
    color: #fff;
    box-shadow: 0 4px 18px rgba(155, 28, 46, 0.28);
}

.premium-site .btn-primary:hover,
.premium-site .btn-primary:focus,
.premium-site .btn-success:hover,
.premium-site .btn-success:focus {
    background: linear-gradient(160deg, #8f1828 0%, var(--ds-berry-dark) 100%);
    border-color: var(--ds-berry-dark);
    color: #fff;
    box-shadow: 0 6px 24px rgba(155, 28, 46, 0.38);
}

.premium-site .btn-outline-primary,
.premium-site .btn-outline-success {
    border-color: rgba(155, 28, 46, 0.45);
    color: var(--ds-berry);
    background: rgba(155, 28, 46, 0.08);
}

.premium-site .btn-outline-primary:hover,
.premium-site .btn-outline-primary:focus,
.premium-site .btn-outline-success:hover,
.premium-site .btn-outline-success:focus {
    background: var(--ds-berry);
    border-color: var(--ds-berry);
    color: #fff;
}

.btn-premium {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.62);
    color: rgba(255, 255, 255, 0.92);
    padding: 0.9rem 1.5rem;
    transition: all 0.22s ease;
}

.btn-premium:hover,
.btn-premium:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.90);
    color: #fff;
    transform: translateY(-1px);
}

.btn-premium-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: rgba(255, 255, 255, 0.60);
    padding: 0.9rem 1.5rem;
    transition: all 0.22s ease;
}

.btn-premium-outline:hover,
.btn-premium-outline:focus {
    border-color: rgba(255, 255, 255, 0.50);
    color: rgba(255, 255, 255, 0.85);
}

/* ================================================================
   HERO
   ================================================================ */

.premium-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-color: #050D08;
}

.premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 54% 78% at 70% 50%, rgba(199, 154, 75, 0.12) 0%, transparent 58%),
        linear-gradient(90deg,
            rgba(5, 13, 8, 0.99) 0%,
            rgba(5, 13, 8, 0.97) 20%,
            rgba(5, 13, 8, 0.82) 36%,
            rgba(5, 13, 8, 0.28) 50%,
            rgba(5, 13, 8, 0.05) 62%,
            rgba(5, 13, 8, 0.30) 78%,
            rgba(5, 13, 8, 0.88) 92%,
            rgba(5, 13, 8, 0.98) 100%),
        linear-gradient(180deg,
            rgba(5, 13, 8, 0.72) 0%,
            rgba(5, 13, 8, 0.18) 16%,
            transparent 32%,
            transparent 62%,
            rgba(5, 13, 8, 0.50) 82%,
            rgba(5, 13, 8, 0.96) 100%);
}

.premium-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(
        ellipse 46% 80% at 72% 52%,
        transparent 28%,
        rgba(9, 9, 8, 0.55) 50%,
        rgba(9, 9, 8, 0.88) 68%,
        rgba(9, 9, 8, 0.98) 82%
    );
}

/* ---- Hero Carousel layers ---- */

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.hero-bg-layer.is-active { opacity: 1; }

.hero-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: 3;
    pointer-events: none;
}

.hero-panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-panel .container {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ---- Hero Panel Image (mobile only) ---- */

.hero-panel-img {
    display: none;
}

/* ---- Hero Arrow navigation ---- */

/* ---- Hero slide numbered nav ---- */

.hero-slide-nav {
    position: absolute;
    right: max(1.2rem, calc(50% - 660px));
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}

.hero-slide-dot {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: none;
    border: none;
    padding: 0.15rem 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.28);
    transition: color 0.28s ease;
}

.hero-slide-dot.is-active { color: var(--ds-gold); }

.hero-slide-dot:hover:not(.is-active) { color: rgba(255, 255, 255, 0.62); }

.hero-slide-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    min-width: 1.55rem;
    text-align: right;
}

.hero-slide-bar {
    display: block;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: width 0.32s ease;
}

.hero-slide-dot.is-active .hero-slide-bar { width: 28px; }

/* ---- Hero Typography ---- */

.hero-kicker,
.section-eyebrow {
    color: var(--ds-gold);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero-kicker {
    display: block;
    margin-bottom: 0.9rem;
}

.section-eyebrow {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-kicker::before,
.section-eyebrow::before {
    content: "";
    display: inline-block;
    width: 1.3rem;
    height: 1px;
    margin-right: 0.6rem;
    vertical-align: middle;
    background: currentColor;
}

.hero-title,
.premium-section-title,
.premium-category-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
}

.hero-title {
    max-width: 560px;
    margin: 0 0 1.1rem;
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.0;
    color: #fff;
}

.hero-accent {
    color: var(--ds-gold);
    font-style: normal;
}

.hero-copy {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.07rem;
    font-weight: 600;
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.1rem;
}

/* ---- Hero Trust Badges ---- */

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2.4rem;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-trust i {
    color: var(--ds-gold);
    font-size: 0.78rem;
}

/* ================================================================
   SECTIONS — general
   ================================================================ */

.premium-section {
    padding: 5.5rem 0;
}

.premium-section-soft {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(201, 148, 74, 0.05), transparent 40%),
        var(--ds-surface);
}

.premium-section-title {
    margin: 0.3rem 0 0;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.04;
    color: var(--ds-text);
}

.premium-section-copy {
    color: var(--ds-text-muted);
    font-size: 1rem;
    font-weight: 600;
    max-width: 680px;
    line-height: 1.72;
}

/* ================================================================
   FLOATING STATS ROW
   ================================================================ */

.premium-stat-row {
    position: relative;
    z-index: 4;
    margin-top: -58px;
    background: transparent;
}

.premium-stat-row .row {
    overflow: hidden;
    max-width: 960px;
    margin-inline: auto;
    border: 1px solid var(--ds-line);
    border-top: 2px solid var(--ds-gold);
    border-radius: 24px;
    background: rgba(22, 29, 22, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.premium-stat {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 1.1rem;
    padding: 1.75rem 2.4rem;
    text-align: left;
}

.premium-stat + .premium-stat {
    border-left: 1px solid var(--ds-line);
}

.premium-stat-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    grid-row: span 2;
    place-items: center;
    border-radius: 50%;
    background: rgba(201, 148, 74, 0.12);
    color: var(--ds-gold);
    font-size: 1.05rem;
    box-shadow: inset 0 0 0 1px rgba(201, 148, 74, 0.2);
}

.premium-stat strong {
    display: block;
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.35rem;
    line-height: 0.94;
    letter-spacing: -0.02em;
}

.premium-stat span {
    color: var(--ds-text-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

/* ================================================================
   GRIDS — layout tokens
   ================================================================ */

.occasion-grid,
.premium-category-grid,
.premium-product-grid,
.premium-step-grid {
    display: grid;
    gap: 1.1rem;
}

.occasion-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.occasion-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.occasion-decor {
    display: block;
    margin-top: 1.75rem;
    width: 128px;
    opacity: 0.55;
}

.premium-category-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 230px;
    gap: 0.9rem;
}

.premium-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

/* ================================================================
   OCCASION TILES
   ================================================================ */

.occasion-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    background: linear-gradient(170deg, var(--ds-surface-2) 0%, var(--ds-surface) 60%);
    padding: 2.4rem 1.8rem 1.8rem;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    cursor: default;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.30);
}

.occasion-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--ds-gold);
    border-radius: 0 0 3px 3px;
    opacity: 0.55;
    transition: width 0.32s ease, opacity 0.32s ease;
}

.occasion-tile:hover {
    transform: translateY(-7px);
    border-color: var(--ds-line-gold);
    box-shadow: 0 0 0 1px var(--ds-line-gold), 0 20px 60px rgba(0, 0, 0, 0.45);
}

.occasion-tile:hover::before {
    width: 60px;
    opacity: 1;
}

.occasion-icon,
.occasion-tile > i {
    display: inline-grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 50%;
    background: rgba(201, 148, 74, 0.10);
    color: var(--ds-gold);
    font-size: 1.35rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(201, 148, 74, 0.22);
    transition: background 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease;
}

.occasion-tile:hover > i,
.occasion-tile:hover .occasion-icon {
    background: rgba(201, 148, 74, 0.18);
    box-shadow: 0 0 28px rgba(201, 148, 74, 0.22);
    transform: scale(1.08);
}

.occasion-tile h3 {
    color: var(--ds-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.occasion-tile p {
    color: var(--ds-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.62;
}

.occasion-link {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--ds-gold);
    font-size: 0.82rem;
    font-weight: 800;
    margin-top: auto;
    padding-top: 1.2rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.occasion-link:hover {
    gap: 0.62rem;
    color: var(--ds-berry);
}

/* ================================================================
   CATEGORY TILES — masonry editorial
   ================================================================ */

.premium-category-tile {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.32s ease;
}

.premium-category-tile.is-featured {
    grid-column: span 4;
    grid-row: span 2;
}

.premium-category-tile:not(.is-featured) {
    grid-column: span 4;
}

.premium-category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.premium-category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.0)  0%,
            rgba(0, 0, 0, 0.28) 40%,
            rgba(0, 0, 0, 0.92) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.30) 55%,
            rgba(0, 0, 0, 0.0)  100%
        );
}

.premium-category-tile:hover img,
.premium-category-tile:focus img {
    transform: scale(1.07);
}

.premium-category-tile:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
}

.premium-category-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    max-width: 62%;
}

.premium-category-content h3 {
    margin: 0;
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.04;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5);
}

.premium-category-tile.is-featured .premium-category-content h3 {
    font-size: 2.4rem;
    line-height: 1.02;
}

.premium-category-content p {
    max-width: 360px;
    min-height: 0;
    margin: 0.55rem 0 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.premium-category-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.3rem 0.68rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 800;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ================================================================
   FEATURED SHOWCASE + PRODUCT CARDS
   ================================================================ */

.featured-showcase {
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.7fr);
    gap: 2.3rem;
    align-items: end;
}

.featured-showcase .premium-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-product-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    background: var(--ds-surface);
    box-shadow: var(--ds-shadow-soft);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.premium-product-card:hover {
    transform: translateY(-7px);
    border-color: var(--ds-line-gold);
    box-shadow:
        0 0 0 1px var(--ds-line-gold),
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 44px rgba(201, 148, 74, 0.07);
}

/* Magic gradient border that glows on hover */
.premium-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(201, 148, 74, 0.55) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(184, 46, 80, 0.35) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.premium-product-card:hover::after {
    opacity: 1;
}

.premium-product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--ds-surface-2);
}

.premium-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.premium-product-card:hover .premium-product-media img {
    transform: scale(1.07);
}

/* Gold price badge — main "magic" element */
.premium-price-badge {
    position: absolute;
    top: 0.82rem;
    right: 0.82rem;
    max-width: calc(100% - 1.6rem);
    border-radius: 999px;
    background: linear-gradient(135deg, #d4a050, var(--ds-gold));
    color: #0e1410;
    padding: 0.44rem 0.76rem;
    font-size: 0.82rem;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(201, 148, 74, 0.35);
}

.premium-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.1rem 1.15rem 1.25rem;
}

.premium-product-body h3,
.premium-product-body h2 {
    color: var(--ds-text);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 0.45rem;
    overflow-wrap: anywhere;
}

.premium-product-body p {
    display: -webkit-box;
    min-height: 3.9em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--ds-text-muted);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.48;
    margin-bottom: 0.9rem;
}

.premium-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: auto;
    margin-bottom: 0.9rem;
}

.premium-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--ds-line);
    color: var(--ds-text-soft);
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
}

/* ================================================================
   TOOLBAR (listing pages)
   ================================================================ */

.premium-toolbar {
    border: 1px solid var(--ds-line);
    border-radius: 22px;
    background: var(--ds-surface);
    box-shadow: var(--ds-shadow-soft);
    padding: 1.05rem;
}

.premium-site .form-control,
.premium-site .form-select,
.premium-toolbar .form-select {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--ds-line);
    border-radius: 14px;
    color: var(--ds-text);
}

.premium-site .form-control::placeholder {
    color: var(--ds-text-muted);
}

.premium-site .form-control:focus,
.premium-site .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 148, 74, 0.45);
    color: var(--ds-text);
    box-shadow: 0 0 0 3px rgba(201, 148, 74, 0.12);
}

.premium-site .form-label,
.premium-site label {
    color: var(--ds-text-soft);
}

.premium-category-description {
    width: min(100%, 820px);
    margin-bottom: 2.1rem;
}

.premium-category-description h2 {
    margin: 0.5rem 0 0.85rem;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.premium-category-description p {
    margin: 0;
    color: var(--ds-cream-muted);
    font-size: 1.02rem;
    line-height: 1.78;
}

.premium-pagination {
    margin-top: 3rem;
}

.premium-pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
}

.premium-pagination-summary {
    margin: 0;
    color: var(--ds-cream-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.premium-site .pagination {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
}

.premium-site .page-item .page-link {
    min-width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 154, 75, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--ds-cream);
    font-weight: 800;
    box-shadow: none;
}

.premium-site .page-item:first-child .page-link,
.premium-site .page-item:last-child .page-link {
    padding-inline: 1rem;
}

.premium-site .page-item.active .page-link {
    border-color: var(--ds-gold-soft);
    background: var(--ds-gold);
    color: #07100B;
}

.premium-site .page-item:not(.active):not(.disabled) .page-link:hover,
.premium-site .page-item:not(.active):not(.disabled) .page-link:focus {
    border-color: rgba(226, 193, 122, 0.72);
    background: rgba(201, 148, 74, 0.16);
    color: var(--ds-gold-soft);
}

.premium-site .page-item.disabled .page-link {
    opacity: 0.42;
    color: var(--ds-muted);
}

.premium-site .page-link svg {
    width: 1rem;
    height: 1rem;
}

/* ================================================================
   CART PAGE
   ================================================================ */

.premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    color: var(--ds-gold-soft);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.premium-cart-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 8%, rgba(201, 148, 74, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(7, 18, 12, 0.98), rgba(3, 12, 8, 1));
}

.premium-cart-heading {
    margin-bottom: 2rem;
}

.premium-cart-heading h1 {
    margin: 0;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.45rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.premium-cart-delivery {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
    gap: 1.4rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.25rem;
    border: 1px solid rgba(199, 154, 75, 0.28);
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 0%, rgba(201, 148, 74, 0.13), transparent 40%),
        rgba(255, 255, 255, 0.045);
    box-shadow: var(--ds-shadow-soft);
}

.premium-cart-delivery-copy h2,
.premium-cart-summary h2,
.premium-cart-section-title h2 {
    margin: 0;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: 0;
}

.premium-cart-delivery-copy h2 {
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.premium-cart-delivery-copy p {
    max-width: 620px;
    margin: 0.65rem 0 0;
    color: var(--ds-cream-muted);
    line-height: 1.65;
}

.premium-cart-delivery-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.premium-cart-field {
    min-width: 0;
}

.premium-cart-field-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ds-cream-muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.premium-cart-date-button,
.premium-cart-time-select {
    width: 100%;
    min-height: 3.05rem;
    border: 1px solid rgba(199, 154, 75, 0.36);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--ds-cream);
    font-weight: 900;
}

.premium-cart-date-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
}

.premium-cart-date-button i {
    color: var(--ds-gold-soft);
}

.premium-cart-date-button:hover,
.premium-cart-date-button:focus,
.premium-cart-time-select:hover,
.premium-cart-time-select:focus {
    border-color: rgba(226, 193, 122, 0.72);
    background: rgba(201, 148, 74, 0.13);
    color: var(--ds-cream);
}

.premium-cart-time-select option,
.premium-checkout-panel .form-select option {
    background-color: #0b1710;
    color: var(--ds-cream);
}

.premium-cart-time-select option:checked,
.premium-cart-time-select option:hover,
.premium-checkout-panel .form-select option:checked,
.premium-checkout-panel .form-select option:hover {
    background-color: #223126;
    color: var(--ds-gold-soft);
}

.premium-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 1.35rem;
    align-items: start;
}

.premium-cart-items {
    display: grid;
    gap: 1rem;
}

.premium-cart-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.premium-cart-section-title h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.premium-cart-section-title span {
    color: var(--ds-cream-muted);
    font-weight: 800;
}

.premium-cart-item,
.premium-cart-summary {
    border: 1px solid rgba(199, 154, 75, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
    box-shadow: var(--ds-shadow-soft);
}

.premium-cart-item {
    padding: 1.15rem;
}

.premium-cart-item-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(199, 154, 75, 0.16);
}

.premium-cart-item-main h3 {
    margin: 0;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.45rem;
    letter-spacing: 0;
}

.premium-cart-item-main p {
    margin: 0.35rem 0 0;
    color: var(--ds-cream-muted);
}

.premium-cart-item-main strong {
    flex: 0 0 auto;
    color: var(--ds-gold-soft);
    font-size: 1.1rem;
}

.premium-cart-item-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.premium-cart-quantity-form label,
.premium-cart-note-form label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ds-cream-muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.premium-cart-quantity-form > div,
.premium-cart-note-form > div {
    display: flex;
    gap: 0.6rem;
}

.premium-cart-quantity-form .form-control {
    width: 5.5rem;
}

.premium-cart-remove-form {
    margin: 0;
}

.premium-cart-note-form {
    padding: 1rem;
    border: 1px solid rgba(199, 154, 75, 0.18);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.16);
}

.premium-cart-note-form label span {
    display: block;
    margin-top: 0.2rem;
    color: var(--ds-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.premium-cart-note-form textarea {
    min-height: 4.6rem;
    resize: vertical;
}

.premium-cart-note-form .btn {
    align-self: stretch;
    white-space: nowrap;
}

.premium-cart-summary {
    position: sticky;
    top: 104px;
    padding: 1.2rem;
}

.premium-cart-summary h2 {
    font-size: 2rem;
}

.premium-cart-summary dl {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0;
}

.premium-cart-summary dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(199, 154, 75, 0.16);
}

.premium-cart-summary dt {
    color: var(--ds-cream-muted);
    font-weight: 800;
}

.premium-cart-summary dd {
    margin: 0;
    color: var(--ds-cream);
    font-weight: 900;
}

.premium-cart-summary .premium-cart-summary-total {
    padding: 0.95rem;
    border: 1px solid rgba(199, 154, 75, 0.3);
    border-radius: 16px;
    background: rgba(201, 148, 74, 0.12);
}

.premium-cart-summary-total dd {
    color: var(--ds-gold-soft);
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .premium-cart-delivery,
    .premium-cart-layout {
        grid-template-columns: 1fr;
    }

    .premium-cart-summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .premium-cart-delivery-controls,
    .premium-cart-item-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .premium-cart-item-main,
    .premium-cart-section-title,
    .premium-cart-note-form > div {
        flex-direction: column;
        align-items: stretch;
    }

    .premium-cart-note-form .btn {
        width: 100%;
    }
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */

.premium-checkout-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% 8%, rgba(201, 148, 74, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(7, 18, 12, 0.98), rgba(3, 12, 8, 1));
}

.premium-checkout-heading {
    max-width: 820px;
    margin-bottom: 2rem;
}

.premium-checkout-heading h1 {
    margin: 0;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.premium-checkout-heading p {
    max-width: 700px;
    margin: 0.85rem 0 0;
    color: var(--ds-cream-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.premium-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
    gap: 1.35rem;
    align-items: start;
}

.premium-checkout-main {
    display: grid;
    gap: 1rem;
}

.premium-checkout-panel,
.premium-checkout-summary {
    border: 1px solid rgba(199, 154, 75, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
    box-shadow: var(--ds-shadow-soft);
}

.premium-checkout-panel {
    padding: 1.15rem;
}

.premium-checkout-panel-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(199, 154, 75, 0.16);
}

.premium-checkout-panel-header span {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 154, 75, 0.32);
    border-radius: 999px;
    background: rgba(201, 148, 74, 0.12);
    color: var(--ds-gold-soft);
    font-size: 0.78rem;
    font-weight: 900;
}

.premium-checkout-panel-header h2,
.premium-checkout-summary h2 {
    margin: 0;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: 0;
}

.premium-checkout-panel-header h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.premium-checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.premium-checkout-grid-full {
    grid-column: 1 / -1;
}

.premium-checkout-panel .form-label {
    margin-bottom: 0.45rem;
    color: var(--ds-cream-muted);
    font-size: 0.84rem;
    font-weight: 900;
}

.premium-checkout-panel .form-control,
.premium-checkout-panel .form-select {
    min-height: 3.05rem;
    border-color: rgba(199, 154, 75, 0.34);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--ds-cream);
}

.premium-checkout-panel textarea.form-control {
    min-height: 7rem;
    resize: vertical;
}

.premium-checkout-panel .form-control:focus,
.premium-checkout-panel .form-select:focus {
    border-color: rgba(226, 193, 122, 0.78);
    background-color: rgba(255, 255, 255, 0.09);
    color: var(--ds-cream);
    box-shadow: 0 0 0 3px rgba(201, 148, 74, 0.15);
}

.premium-checkout-panel .form-control::placeholder {
    color: rgba(247, 240, 228, 0.42);
}

.premium-checkout-panel #delivery_date.form-control,
.premium-checkout-panel #delivery_date.form-control:valid,
.premium-checkout-panel #delivery_date.form-control:invalid {
    border-color: rgba(199, 154, 75, 0.34) !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: var(--ds-cream);
    box-shadow: none;
}

.premium-checkout-panel #delivery_date.invalid-date {
    border-color: rgba(199, 154, 75, 0.75) !important;
    background-color: rgba(201, 148, 74, 0.14) !important;
}

.premium-checkout-panel #delivery_date::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(86%) sepia(21%) saturate(718%) hue-rotate(356deg) brightness(94%);
}

.premium-checkout-panel .form-text,
.premium-checkout-panel .calendar-info {
    color: var(--ds-cream-muted);
}

.premium-checkout-alert,
.premium-checkout-login {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.95rem;
    border: 1px solid rgba(199, 154, 75, 0.26);
    border-radius: 18px;
    background: rgba(201, 148, 74, 0.1);
    color: var(--ds-cream-muted);
}

.premium-checkout-alert i {
    margin-top: 0.15rem;
    color: var(--ds-gold-soft);
}

.premium-checkout-alert strong,
.premium-checkout-login strong {
    display: block;
    color: var(--ds-cream);
}

.premium-checkout-alert span,
.premium-checkout-login span {
    display: block;
    margin-top: 0.15rem;
}

.premium-checkout-alert ul {
    margin: 0.45rem 0 0;
}

.premium-checkout-alert-danger {
    border-color: rgba(197, 37, 78, 0.42);
    background: rgba(197, 37, 78, 0.12);
}

.premium-checkout-alert-warning {
    border-color: rgba(201, 148, 74, 0.42);
    background: rgba(201, 148, 74, 0.14);
}

.premium-checkout-login {
    align-items: center;
    justify-content: space-between;
}

.premium-checkout-login > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.premium-checkout-login .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.premium-payment-options {
    display: grid;
    gap: 0.75rem;
}

.premium-payment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0.9rem;
    border: 1px solid rgba(199, 154, 75, 0.24);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.12);
    color: var(--ds-cream);
    cursor: pointer;
}

.premium-payment-option:hover,
.premium-payment-option:focus-within {
    border-color: rgba(226, 193, 122, 0.6);
    background: rgba(201, 148, 74, 0.12);
}

.premium-payment-option .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}

.premium-payment-option span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 900;
}

.premium-payment-option span span {
    display: grid;
    gap: 0.18rem;
}

.premium-payment-option small {
    color: var(--ds-cream-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.premium-payment-option i {
    color: var(--ds-gold-soft);
}

.calendar-warning {
    margin-top: 0.7rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(199, 154, 75, 0.42);
    border-radius: 14px;
    background: rgba(201, 148, 74, 0.14);
    color: var(--ds-gold-soft);
    font-size: 0.88rem;
    font-weight: 800;
}

.premium-checkout-summary {
    position: sticky;
    top: 104px;
    padding: 1.2rem;
}

.premium-checkout-summary h2 {
    font-size: 2rem;
}

.premium-checkout-summary-items {
    display: grid;
    gap: 0.75rem;
    margin: 1.15rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(199, 154, 75, 0.16);
}

.premium-checkout-summary-items > div,
.premium-checkout-summary dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.premium-checkout-summary-items span,
.premium-checkout-summary dt {
    color: var(--ds-cream-muted);
    font-weight: 800;
}

.premium-checkout-summary-items strong,
.premium-checkout-summary dd {
    margin: 0;
    color: var(--ds-cream);
    font-weight: 900;
    text-align: right;
}

.premium-checkout-summary dl {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.2rem;
}

.premium-checkout-summary dl > div {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(199, 154, 75, 0.16);
}

.premium-checkout-summary .premium-checkout-summary-total {
    align-items: center;
    padding: 0.95rem;
    border: 1px solid rgba(199, 154, 75, 0.3);
    border-radius: 16px;
    background: rgba(201, 148, 74, 0.12);
}

.premium-checkout-summary-total dd {
    color: var(--ds-gold-soft);
    font-size: 1.28rem;
}

.premium-checkout-actions {
    display: grid;
    gap: 0.65rem;
}

.premium-checkout-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

@media (max-width: 991.98px) {
    .premium-checkout-layout {
        grid-template-columns: 1fr;
    }

    .premium-checkout-summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .premium-checkout-grid {
        grid-template-columns: 1fr;
    }

    .premium-checkout-login {
        align-items: stretch;
        flex-direction: column;
    }

    .premium-checkout-login > div:last-child {
        justify-content: stretch;
    }

    .premium-checkout-login .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.premium-contact-page {
    min-height: 72vh;
    background:
        radial-gradient(circle at 82% 6%, rgba(201, 148, 74, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(7, 18, 12, 0.98), rgba(3, 12, 8, 1));
}

.premium-contact-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.premium-contact-heading h1 {
    margin: 0;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.premium-contact-heading p {
    max-width: 650px;
    margin: 0.9rem 0 0;
    color: var(--ds-cream-muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.premium-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.premium-contact-card,
.premium-contact-map-card {
    border: 1px solid rgba(199, 154, 75, 0.28);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
    box-shadow: var(--ds-shadow-soft);
}

.premium-contact-card {
    padding: 1.25rem;
}

.premium-contact-card-soft {
    background:
        radial-gradient(circle at 100% 0%, rgba(201, 148, 74, 0.13), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
}

.premium-contact-card h2,
.premium-contact-map-copy h2 {
    margin: 0;
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: 0;
}

.premium-contact-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.premium-contact-card p,
.premium-contact-map-copy p {
    margin: 0.8rem 0 1.15rem;
    color: var(--ds-cream-muted);
    line-height: 1.7;
}

.premium-contact-card dl {
    display: grid;
    gap: 0.75rem;
    margin: 1.15rem 0;
}

.premium-contact-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(199, 154, 75, 0.16);
}

.premium-contact-card dt {
    color: var(--ds-cream-muted);
    font-weight: 900;
}

.premium-contact-card dd {
    margin: 0;
    color: var(--ds-cream);
    font-weight: 900;
    text-align: right;
}

.premium-contact-route-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ds-gold-soft);
    text-decoration: none;
}

.premium-contact-route-link:hover,
.premium-contact-route-link:focus {
    color: var(--ds-cream);
}

.premium-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.premium-contact-actions .btn,
.premium-contact-card .btn,
.premium-contact-map-copy .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
}

.premium-contact-map-card {
    overflow: hidden;
}

.premium-contact-map-copy {
    padding: 1.35rem;
    border-right: 1px solid rgba(199, 154, 75, 0.18);
    background:
        radial-gradient(circle at 10% 0%, rgba(201, 148, 74, 0.13), transparent 40%),
        rgba(0, 0, 0, 0.12);
}

.premium-contact-map-copy h2 {
    font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.premium-contact-map {
    height: clamp(520px, 58vh, 760px);
    min-height: 520px;
    background: #0b1710;
}

.premium-contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: saturate(0.85) contrast(1.05);
}

@media (max-width: 991.98px) {
    .premium-contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .premium-contact-card dl > div {
        flex-direction: column;
        gap: 0.25rem;
    }

    .premium-contact-card dd {
        text-align: left;
    }

    .premium-contact-actions .btn,
    .premium-contact-card .btn,
    .premium-contact-map-copy .btn {
        width: 100%;
    }

    .premium-contact-map {
        height: 440px;
        min-height: 440px;
    }
}

/* ================================================================
   PRODUCT DATE MODAL
   ================================================================ */

.premium-date-modal .premium-date-modal-dialog {
    width: min(94vw, 560px);
}

.premium-date-modal .premium-date-modal-content {
    overflow: hidden;
    border: 1px solid rgba(199, 154, 75, 0.42);
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 0%, rgba(201, 148, 74, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(19, 35, 25, 0.98), rgba(5, 14, 9, 0.98));
    color: var(--ds-cream);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.58);
}

.premium-date-modal .premium-date-modal-header,
.premium-date-modal .premium-date-modal-footer {
    border-color: rgba(199, 154, 75, 0.2);
    background: rgba(255, 255, 255, 0.025);
}

.premium-date-modal .premium-date-modal-header {
    align-items: flex-start;
    padding: 1.35rem 1.35rem 1rem;
}

.premium-date-modal .modal-title {
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.premium-date-modal .btn-close {
    width: 2.25rem;
    height: 2.25rem;
    margin: -0.3rem -0.35rem 0 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.07);
    filter: invert(1) grayscale(1);
    opacity: 0.74;
}

.premium-date-modal .btn-close:hover,
.premium-date-modal .btn-close:focus {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(201, 148, 74, 0.16);
}

.premium-date-modal .premium-date-modal-body {
    padding: 1.25rem 1.35rem 1.15rem;
}

.premium-date-modal .form-label {
    margin-bottom: 0.5rem;
    color: var(--ds-cream-muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.premium-date-modal #delivery_date_modal.form-control,
.premium-date-modal #delivery_date_modal.form-control:valid,
.premium-date-modal #delivery_date_modal.form-control:invalid {
    min-height: 3rem;
    border: 1px solid rgba(199, 154, 75, 0.42) !important;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--ds-cream);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.premium-date-modal #delivery_date_modal.form-control:focus {
    border-color: rgba(226, 193, 122, 0.82) !important;
    background-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(201, 148, 74, 0.16);
}

.premium-date-modal #delivery_date_modal::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(86%) sepia(21%) saturate(718%) hue-rotate(356deg) brightness(94%);
    opacity: 0.95;
}

.premium-date-modal #dateAvailabilityMessage .alert,
.premium-date-modal #dateAvailabilityMessage {
    border-radius: 14px;
}

.premium-date-modal #dateAvailabilityMessage.date-available,
.premium-date-modal #dateAvailabilityMessage.date-unavailable,
.premium-date-modal #dateAvailabilityMessage.date-closed {
    padding: 0.78rem 0.9rem;
    border-radius: 14px;
    font-weight: 800;
}

.premium-date-modal #dateAvailabilityMessage.date-available {
    border: 1px solid rgba(110, 212, 168, 0.32);
    background: rgba(44, 136, 99, 0.18);
    color: #c9f3df;
}

.premium-date-modal #dateAvailabilityMessage.date-unavailable,
.premium-date-modal #dateAvailabilityMessage.date-closed {
    border: 1px solid rgba(199, 154, 75, 0.42);
    background: rgba(201, 148, 74, 0.14);
    color: var(--ds-gold-soft);
}

.premium-date-modal #dateAvailabilityMessage .alert {
    margin-bottom: 0;
    border-color: rgba(110, 212, 168, 0.32);
    background: rgba(44, 136, 99, 0.18);
    color: #c9f3df;
    font-weight: 800;
}

.premium-date-modal #dateAvailabilityMessage .alert-danger,
.premium-date-modal #dateAvailabilityMessage .alert-warning {
    border-color: rgba(199, 154, 75, 0.42);
    background: rgba(201, 148, 74, 0.14);
    color: var(--ds-gold-soft);
}

.premium-date-modal .form-text,
.premium-date-modal p {
    color: var(--ds-cream-muted);
}

.premium-date-modal .alert-success {
    border: 1px solid rgba(110, 212, 168, 0.35);
    border-radius: 16px;
    background: rgba(44, 136, 99, 0.18);
    color: #d9f7e8;
}

.premium-date-modal .premium-date-modal-footer {
    gap: 0.65rem;
    padding: 1rem 1.35rem 1.25rem;
}

.premium-date-modal .btn {
    min-height: 2.8rem;
    border-radius: 999px;
    padding-inline: 1.25rem;
}

.premium-date-modal .btn-secondary {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.08);
    color: var(--ds-cream);
}

.premium-date-modal .btn-secondary:hover,
.premium-date-modal .btn-secondary:focus {
    border-color: rgba(226, 193, 122, 0.48);
    background: rgba(201, 148, 74, 0.14);
    color: var(--ds-cream);
}

.premium-date-modal .btn-primary,
.premium-date-modal .btn-success {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, #c7254e, #8f1948);
    color: #fff;
    box-shadow: 0 14px 30px rgba(143, 25, 72, 0.28);
}

.premium-date-modal .btn-primary:hover,
.premium-date-modal .btn-primary:focus,
.premium-date-modal .btn-success:hover,
.premium-date-modal .btn-success:focus {
    background: linear-gradient(135deg, #d5315a, #a01d52);
    color: #fff;
}

.premium-date-modal .btn-primary:disabled,
.premium-date-modal .btn-success:disabled {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.56);
    box-shadow: none;
}

.premium-date-modal .btn-outline-primary {
    border-color: rgba(226, 193, 122, 0.42);
    background: rgba(201, 148, 74, 0.08);
    color: var(--ds-gold-soft);
}

.premium-date-modal .btn-outline-primary:hover,
.premium-date-modal .btn-outline-primary:focus {
    border-color: rgba(226, 193, 122, 0.74);
    background: rgba(201, 148, 74, 0.17);
    color: var(--ds-cream);
}

@media (max-width: 575.98px) {
    .premium-date-modal .premium-date-modal-dialog {
        width: auto;
        margin: 1rem;
    }

    .premium-date-modal .premium-date-modal-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .premium-date-modal .premium-date-modal-footer .btn {
        width: 100%;
    }
}

/* ================================================================
   CATEGORY HERO (category detail page)
   ================================================================ */

.premium-category-hero {
    position: relative;
    min-height: 370px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background-position: center;
    background-size: cover;
}

.premium-category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.84));
}

.premium-category-hero .container {
    position: relative;
    z-index: 1;
    padding-bottom: 3.4rem;
}

.premium-category-hero h1 {
    max-width: 780px;
    margin: 0.65rem 0 0.75rem;
    font-size: 3.45rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
}

.premium-category-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
}

/* ================================================================
   BREADCRUMBS
   ================================================================ */

.premium-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.premium-breadcrumbs a,
.premium-breadcrumbs span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.18s ease;
}

.premium-breadcrumbs a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ================================================================
   EMPTY STATES
   ================================================================ */

.premium-empty {
    grid-column: 1 / -1;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    background: var(--ds-surface);
    padding: 3rem 1.5rem;
    text-align: center;
}

/* ================================================================
   HOW TO ORDER — steps
   ================================================================ */

.order-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: center;
}

.occasion-intro .premium-section-title,
.order-intro .premium-section-title {
    font-size: 2.1rem;
}

.premium-step {
    position: relative;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    background: linear-gradient(170deg, var(--ds-surface-2) 0%, var(--ds-surface) 60%);
    padding: 1.8rem 1.6rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.premium-step:hover {
    transform: translateY(-5px);
    border-color: var(--ds-line-gold);
    box-shadow: 0 0 0 1px var(--ds-line-gold), 0 16px 48px rgba(0, 0, 0, 0.4);
}

.premium-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.2rem;
    right: -2.2rem;
    width: 3.2rem;
    height: 2.8rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 44'%3E%3Cpath d='M4,32 C14,6 38,6 48,32' stroke='%23c9944a' stroke-width='1.4' fill='none' stroke-opacity='.40' stroke-dasharray='4 3' stroke-linecap='round'/%3E%3Cpolyline points='42,27 48,32 42,37' stroke='%23c9944a' stroke-width='1.5' fill='none' stroke-opacity='.70' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}

.premium-step-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.premium-step-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ds-gold);
    line-height: 1;
}

.premium-step i {
    color: var(--ds-berry);
    font-size: 1.1rem;
}

.premium-step h3 {
    color: var(--ds-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.premium-step > p {
    color: var(--ds-text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.65;
}

/* ================================================================
   CATEGORY EDITORIAL LAYOUT (home page two-column intro + grid)
   ================================================================ */

.cat-editorial-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3.5rem;
    align-items: start;
    padding: 5rem 0;
}

.cat-intro {
    position: sticky;
    top: 108px;
}

.cat-intro .ds-section-strip-title {
    margin-top: 0.5rem;
    font-size: 2rem;
    line-height: 1.06;
}

.cat-intro .ds-strip-link {
    margin-top: 1.8rem;
    display: inline-flex;
}

/* Grid scoped inside editorial layout */
.cat-editorial-layout .premium-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 205px;
}

.cat-editorial-layout .premium-category-tile.is-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.cat-editorial-layout .premium-category-tile:not(.is-featured) {
    grid-column: span 2;
}

/* ================================================================
   AUTORSKA PRACOWNIA
   ================================================================ */

.ds-atelier {
    background:
        radial-gradient(ellipse at 10% 60%, rgba(201, 148, 74, 0.05), transparent 45%),
        linear-gradient(160deg, var(--ds-surface-2) 0%, var(--ds-surface) 100%);
}

.ds-atelier-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 4.5rem;
    align-items: center;
}

.ds-atelier-media {
    position: relative;
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.ds-atelier-media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ds-atelier-media:hover img {
    transform: scale(1.03);
}

.ds-atelier-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--ds-border);
    border-radius: inherit;
    pointer-events: none;
}

.ds-atelier-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.2rem;
    padding-top: 2.2rem;
    border-top: 1px solid var(--ds-line);
}

.ds-atelier-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ds-atelier-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(201, 148, 74, 0.10);
    border: 1px solid rgba(201, 148, 74, 0.22);
    color: var(--ds-gold);
    font-size: 0.88rem;
    margin-top: 0.1rem;
}

.ds-atelier-feature h4 {
    color: var(--ds-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    line-height: 1.2;
}

.ds-atelier-feature p {
    color: var(--ds-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.62;
}

/* ================================================================
   PRODUCT CARD — button (gold outline, hover bordo)
   ================================================================ */

.premium-product-btn {
    display: block;
    width: 100%;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--ds-line-gold);
    background: transparent;
    color: var(--ds-gold);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
    letter-spacing: 0;
}

.premium-product-btn:hover,
.premium-product-btn:focus {
    background: var(--ds-berry);
    border-color: var(--ds-berry);
    color: #fff;
    box-shadow: 0 4px 16px rgba(155, 28, 46, 0.28);
}

/* ================================================================
   DLACZEGO DZIEŁO SMAKU — why-section
   ================================================================ */

.ds-why-section {
    background:
        radial-gradient(ellipse at 85% 20%, rgba(201, 148, 74, 0.06), transparent 42%),
        var(--ds-surface);
}

.ds-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 268px;
    gap: 1.2rem;
    align-items: stretch;
    margin-top: 2.8rem;
}

.ds-why-card {
    background: linear-gradient(170deg, var(--ds-surface-2) 0%, var(--ds-surface) 65%);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 2rem 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: border-color 0.28s ease, transform 0.28s ease;
}

.ds-why-card:hover {
    border-color: var(--ds-line-gold);
    transform: translateY(-4px);
}

.ds-why-number {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ds-gold);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.ds-why-card h3 {
    color: var(--ds-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    line-height: 1.22;
}

.ds-why-card > p {
    color: var(--ds-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.65;
}

.ds-why-cta {
    background: linear-gradient(
        150deg,
        rgba(94, 23, 45, 0.95) 0%,
        rgba(155, 28, 46, 0.88) 55%,
        rgba(120, 80, 30, 0.70) 100%
    );
    border: 1px solid rgba(199, 154, 75, 0.38);
    border-radius: var(--ds-radius);
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 36px rgba(155, 28, 46, 0.28);
}

.ds-why-cta h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.85rem;
    line-height: 1.15;
}

.ds-why-cta > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.65;
    flex-grow: 1;
    margin: 0 0 1.8rem;
}

/* ================================================================
   TESTIMONIALS — opinie klientów
   ================================================================ */

.ds-testimonials {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 148, 74, 0.05), transparent 42%),
        var(--ds-bg);
}

.ds-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2.8rem;
}

.ds-testimonial {
    position: relative;
    background: var(--ds-surface-2);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    padding: 2rem 1.8rem;
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.ds-testimonial:hover {
    border-color: var(--ds-line-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.ds-testimonial-quote {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3.8rem;
    line-height: 0.6;
    color: var(--ds-gold);
    opacity: 0.45;
    display: block;
    margin-bottom: 0.6rem;
    user-select: none;
}

.ds-testimonial-stars {
    display: flex;
    gap: 0.22rem;
    color: var(--ds-gold);
    font-size: 0.76rem;
    margin-bottom: 1rem;
}

.ds-testimonial-text {
    color: var(--ds-text-soft);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.72;
    margin: 0 0 1.6rem;
    font-style: italic;
}

.ds-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--ds-line);
}

.ds-testimonial-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ds-berry-dark) 0%, var(--ds-gold-dark) 100%);
    display: grid;
    place-items: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.ds-testimonial-name {
    display: block;
    color: var(--ds-text);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
}

.ds-testimonial-context {
    display: block;
    color: var(--ds-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

/* ================================================================
   FOOTER
   ================================================================ */

.premium-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 88% 35%, rgba(201, 148, 74, 0.07), transparent 32%),
        radial-gradient(ellipse at 8% 80%, rgba(155, 28, 46, 0.04), transparent 30%),
        linear-gradient(145deg, #050B07 0%, #080f0b 60%, #040608 100%);
    color: rgba(255, 255, 255, 0.78);
    padding: 5.5rem 0 2.8rem;
    border-top: 1px solid rgba(199, 154, 75, 0.18);
}

/* Dekoracyjny ornament liniowy po prawej */
.premium-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: -2rem;
    width: 320px;
    height: 100%;
    pointer-events: none;
    opacity: 0.035;
    background:
        repeating-linear-gradient(
            -55deg,
            transparent,
            transparent 22px,
            rgba(199, 154, 75, 1) 22px,
            rgba(199, 154, 75, 1) 23px
        );
}

.premium-footer-nav-title {
    display: block;
    color: var(--ds-gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.premium-footer h5 {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.premium-footer p {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.72;
}

.premium-footer .footer-small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
}

.premium-footer hr {
    border-color: rgba(255, 255, 255, 0.09);
    opacity: 1;
    margin: 2.6rem 0 1.6rem;
}

.premium-footer .footer-small.text-decoration-none {
    display: inline-block;
    transition: color 0.18s ease;
}

.premium-footer .footer-small.text-decoration-none:hover {
    color: rgba(255, 255, 255, 0.88);
}

.premium-footer .footer-contact-pill,
.premium-footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    padding: 0.6rem 0.88rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.premium-footer .btn-outline-light:hover,
.premium-footer .btn-outline-light:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* ================================================================
   PROTECTED CONTACT
   ================================================================ */

.protected-contact-value {
    display: inline-block;
    transition: opacity 0.45s ease, filter 0.45s ease;
}

.protected-contact-value.is-revealing {
    opacity: 0;
    filter: blur(3px);
}

.protected-contact-hint {
    font-size: 0.85em;
    opacity: 0.65;
}

/* ================================================================
   DARK CATEGORY SECTION (editorial)
   ================================================================ */

.ds-cat-section {
    background: var(--ds-bg);
}

.ds-section-strip {
    padding: 2.8rem 0 2.4rem;
    position: relative;
    overflow: hidden;
}

.ds-section-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 85% 55%, rgba(201, 148, 74, 0.06), transparent 45%);
    pointer-events: none;
}

.ds-section-strip .container {
    position: relative;
    z-index: 1;
}

.ds-section-strip .section-eyebrow {
    color: var(--ds-gold);
}

.ds-section-strip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.ds-section-strip-title {
    color: var(--ds-text);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.04;
    margin: 0;
}

.ds-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    color: var(--ds-text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--ds-line);
    border-radius: 999px;
    padding: 0.52rem 1.1rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.ds-strip-link:hover,
.ds-strip-link:focus {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ds-text);
    border-color: rgba(255, 255, 255, 0.2);
}

.ds-cat-body {
    padding: 1.8rem 0 3.6rem;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */

.ds-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.ds-reveal.ds-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ds-reveal { opacity: 1; transform: none; transition: none; }
    body.premium-site::before { display: none; }
}

/* ================================================================
   RESPONSIVE — max 1199px
   ================================================================ */

@media (min-width: 1200px) {
    .hero-bg-layer { background-position: 72% center; }
}

@media (max-width: 1199.98px) {
    .premium-hero { min-height: 580px; }
    .hero-bg-layer { background-position-x: right; }
    .premium-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: 200px;
    }

    .premium-category-tile.is-featured {
        grid-column: span 3;
        grid-row: span 2;
    }

    .premium-category-tile:not(.is-featured) {
        grid-column: span 3;
    }

    .premium-product-grid,
    .featured-showcase .premium-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .featured-showcase {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .cat-editorial-layout .premium-category-grid {
        grid-auto-rows: 185px;
    }

    .ds-why-grid {
        grid-template-columns: repeat(2, 1fr) 248px;
    }
}

/* ================================================================
   RESPONSIVE — max 991px
   ================================================================ */

@media (max-width: 991.98px) {
    .premium-navbar { min-height: 76px; }

    .premium-navbar .navbar-collapse {
        margin-top: 0.8rem;
        border: 1px solid var(--ds-line);
        border-radius: 22px;
        background: rgba(22, 29, 22, 0.98);
        padding: 0.9rem;
        box-shadow: var(--ds-shadow);
    }

    .premium-nav-actions {
        align-items: stretch;
        margin-top: 0.5rem;
    }

    .premium-stat { padding: 1.3rem 1.55rem; }

    .occasion-layout,
    .order-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .occasion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cat-editorial-layout {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 3.5rem 0;
    }

    .cat-intro {
        position: static;
    }

    .cat-editorial-layout .premium-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 180px;
    }

    .cat-editorial-layout .premium-category-tile.is-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .cat-editorial-layout .premium-category-tile:not(.is-featured) {
        grid-column: span 2;
    }

    .ds-atelier-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ds-atelier-media img { height: 380px; }

    .ds-why-grid {
        /* 3 karty w rzędzie, CTA pełna szerokość pod nimi — brak luk */
        grid-template-columns: repeat(3, 1fr);
    }

    .ds-why-cta {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0 2rem;
        align-items: center;
    }

    .ds-why-cta h3 { grid-column: 1; grid-row: 1; }
    .ds-why-cta > p { grid-column: 1; grid-row: 2; margin: 0; flex-grow: initial; }
    .ds-why-cta .btn { grid-column: 2; grid-row: 1 / 3; align-self: center; white-space: nowrap; }

    .ds-testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================================
   RESPONSIVE — max 767px
   ================================================================ */

@media (max-width: 767.98px) {
    .premium-brand-logo { width: 48px; height: 48px; }
    .premium-brand-subtitle { display: none; }

    /* --- Hero mobile: obraz inline, grid stack, płynne przejście --- */
    .premium-hero {
        display: grid;
        min-height: 0;
        height: auto;
        padding-bottom: 3.5rem;
        background-color: var(--ds-bg);
    }

    .hero-bg-layer { display: none; }

    .premium-hero::before,
    .premium-hero::after { display: none; }

    .hero-panel {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        display: block;
        opacity: 0;
        transition: opacity 0.65s ease;
        pointer-events: none;
        padding-top: 0;
        padding-bottom: 0;
        align-items: initial;
    }

    .hero-panel.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .hero-panel .container {
        padding-top: 2rem;
        padding-bottom: 0;
    }

    .hero-panel-img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 14px;
        margin: 1.25rem 0 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
    }

    .hero-title { font-size: clamp(1.75rem, 7.5vw, 2.4rem); }
    .hero-copy { font-size: 0.93rem; }

    .hero-actions { flex-direction: column; gap: 0.65rem; }
    .hero-actions .btn { width: 100%; text-align: center; }

    .hero-trust-row { gap: 0.55rem; margin-top: 1.1rem; }

    .premium-stat-row { margin-top: -38px; }
    .premium-stat-row .row { border-radius: 20px; }
    .premium-stat + .premium-stat {
        border-top: 1px solid var(--ds-line);
        border-left: 0;
    }

    .premium-section { padding: 3.8rem 0; }

    .premium-category-grid,
    .premium-product-grid,
    .featured-showcase .premium-product-grid,
    .premium-step-grid,
    .occasion-grid {
        grid-template-columns: 1fr;
    }

    .premium-step:not(:last-child)::after { display: none; }

    .premium-category-grid { grid-auto-rows: auto; }

    .premium-category-tile,
    .premium-category-tile.is-featured,
    .premium-category-tile:not(.is-featured) {
        grid-column: span 1;
        grid-row: auto;
        min-height: 265px;
    }

    .cat-editorial-layout .premium-category-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .cat-editorial-layout .premium-category-tile,
    .cat-editorial-layout .premium-category-tile.is-featured,
    .cat-editorial-layout .premium-category-tile:not(.is-featured) {
        grid-column: span 1;
        grid-row: auto;
        min-height: 265px;
    }

    .ds-atelier-media img { height: 280px; }

    .ds-why-grid,
    .ds-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .ds-why-cta {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
    }

    .ds-why-cta h3,
    .ds-why-cta > p,
    .ds-why-cta .btn { grid-column: auto; grid-row: auto; }
    .ds-why-cta > p { margin: 0 0 1.5rem; flex-grow: 1; }

    .premium-category-hero { min-height: 320px; }
    .premium-category-hero h1 { font-size: 2.35rem; }

    .featured-showcase { grid-template-columns: 1fr; }

    .ds-section-strip { padding: 1.8rem 0 1.6rem; }
    .ds-cat-body { padding: 1.4rem 0 2.8rem; }
}

/* ================================================================
   RESPONSIVE — max 575px
   ================================================================ */

@media (max-width: 575.98px) {
    .premium-site .container { padding-inline: 1.1rem; }

    .hero-copy { font-size: 0.94rem; }
    .premium-section-title { font-size: 1.85rem; }
    .ds-section-strip-title { font-size: 1.75rem; }

    .premium-category-content { padding: 1.25rem; max-width: 100%; }
    .premium-category-content h3 { font-size: 1.5rem; }
    .premium-category-tile.is-featured .premium-category-content h3 { font-size: 1.75rem; }

    .premium-product-media { aspect-ratio: 3 / 2; }
    .premium-stat { padding: 1.1rem 1.25rem; }

    .hero-trust { font-size: 0.8rem; }

    /* Nowe sekcje — 576px */
    .cat-editorial-layout { padding: 2.8rem 0; }

    .occasion-decor { width: 90px; }

    .ds-atelier-features { gap: 1.2rem; }

    .ds-why-card { padding: 1.6rem 1.4rem; }
    .ds-why-number { font-size: 1.9rem; }

    .ds-testimonial { padding: 1.6rem 1.4rem; }
    .ds-testimonial-text { font-size: 0.9rem; }

    .ds-section-strip-row { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* ================================================================
   RESPONSIVE — min 1482px
   ================================================================ */

@media (min-width: 1482px) {
    .premium-hero { min-height: 760px; }
    .hero-panel .container { padding-bottom: 7rem; }

    .hero-slide-nav { right: max(1.2rem, calc(50% - 700px)); }
}

@media (min-width: 770px) and (max-width: 1200px) {
    .hero-slide-nav { top: 80%; }
}

@media (min-width: 1950px) {
    .hero-slide-nav { top: 80%; }
}

/* ================================================================
   RESPONSIVE — max 390px
   ================================================================ */

@media (max-width: 390px) {
    .premium-navbar { min-height: 70px; }
    .premium-brand-logo { width: 42px; height: 42px; }

    .btn-premium,
    .btn-premium-outline {
        padding: 0.78rem 1.1rem;
        font-size: 0.92rem;
    }

    .ds-testimonial-quote { font-size: 3rem; }
    .premium-section { padding: 3rem 0; }
}

/* ================================================================
   DARK PREMIUM REDESIGN - etap 1-4
   Fundament, header, hero i panel statystyk wg mockupu.
   ================================================================ */

:root {
    --ds-bg: #07100B;
    --ds-bg-soft: #0D1811;
    --ds-bg-card: #111D15;
    --ds-bg-elevated: #17241A;

    --ds-cream: #F7F0E4;
    --ds-cream-muted: #CFC2AE;

    --ds-gold: #C79A4B;
    --ds-gold-soft: #E2C17A;
    --ds-gold-dark: #8E6730;

    --ds-burgundy: #8E2948;
    --ds-burgundy-dark: #5E172D;

    --ds-border: rgba(199, 154, 75, 0.32);
    --ds-border-soft: rgba(247, 240, 228, 0.10);

    --ds-text: #F7F0E4;
    --ds-muted: #B8AD9E;

    --ds-berry: var(--ds-burgundy);
    --ds-berry-dark: var(--ds-burgundy-dark);
    --ds-surface: var(--ds-bg-card);
    --ds-surface-2: var(--ds-bg-elevated);
    --ds-line: var(--ds-border-soft);
    --ds-line-gold: var(--ds-border);
    --ds-text-soft: var(--ds-cream-muted);
    --ds-text-muted: var(--ds-muted);
    --ds-radius: 24px;
    --ds-radius-lg: 32px;
    --ds-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
    --ds-shadow-soft: 0 18px 52px rgba(0, 0, 0, 0.34);
}

html {
    background: var(--ds-bg);
}

body.premium-site {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 76% 8%, rgba(199, 154, 75, 0.12), transparent 28rem),
        radial-gradient(circle at 4% 28%, rgba(142, 41, 72, 0.08), transparent 22rem),
        linear-gradient(180deg, #07100B 0%, #08130D 44%, #050A07 100%);
    color: var(--ds-text);
    font-family: 'Cause', 'Manrope', system-ui, -apple-system, sans-serif;
}

.premium-site .container {
    width: min(100% - 2rem, 1220px);
    max-width: 1220px;
    padding-inline: 0;
}

.premium-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.premium-section-title,
.ds-section-strip-title,
.premium-category-hero h1 {
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: 0;
}

.premium-section-copy,
.premium-site .text-muted {
    color: var(--ds-muted) !important;
}

.section-eyebrow,
.hero-kicker {
    color: var(--ds-gold-soft);
    letter-spacing: 0.18em;
}

.premium-navbar {
    min-height: 86px;
    background: rgba(7, 16, 11, 0.88);
    border-bottom: 1px solid rgba(199, 154, 75, 0.18);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.premium-navbar .container {
    width: min(100% - 2rem, 1320px);
    max-width: 1320px;
}

.premium-brand-logo {
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 8px 22px rgba(199, 154, 75, 0.14));
}

.premium-brand-title {
    color: var(--ds-cream);
    font-size: 1.18rem;
    letter-spacing: 0;
}

.premium-brand-subtitle {
    color: var(--ds-gold-soft);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.premium-navbar .nav-link {
    color: var(--ds-cream);
    background: transparent;
    font-size: 0.86rem;
    padding: 0.5rem 0.75rem;
}

.premium-navbar .nav-link:hover,
.premium-navbar .nav-link:focus {
    background: transparent;
    color: var(--ds-gold-soft);
}

.premium-nav-actions .nav-link {
    color: rgba(247, 240, 228, 0.82);
    font-size: 0.82rem;
}

.premium-cart-count {
    background: var(--ds-burgundy);
    border: 1px solid rgba(226, 193, 122, 0.45);
    color: var(--ds-cream);
    box-shadow: 0 0 0 3px rgba(142, 41, 72, 0.18);
}

.premium-header-cta {
    border: 1px solid rgba(226, 193, 122, 0.46) !important;
    background: linear-gradient(135deg, var(--ds-burgundy) 0%, var(--ds-burgundy-dark) 100%) !important;
    color: var(--ds-cream) !important;
    box-shadow: 0 15px 34px rgba(142, 41, 72, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    padding: 0.72rem 1.28rem;
}

.premium-header-cta:hover,
.premium-header-cta:focus {
    border-color: rgba(226, 193, 122, 0.72) !important;
    background: linear-gradient(135deg, #9f3152 0%, var(--ds-burgundy) 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.premium-stat-row {
    margin-top: -46px;
}

.premium-stat-row .container {
    width: min(100% - 2rem, 860px);
    max-width: 860px;
}

.premium-stat-row .row {
    max-width: 860px;
    border: 1px solid rgba(199, 154, 75, 0.32);
    border-top: 1px solid rgba(199, 154, 75, 0.44);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(23, 36, 26, 0.88) 0%, rgba(7, 16, 11, 0.86) 100%),
        rgba(13, 24, 17, 0.84);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.premium-stat {
    padding: 1.55rem 2rem;
}

.premium-stat + .premium-stat {
    border-left: 1px solid rgba(199, 154, 75, 0.24);
}

.premium-stat-icon {
    border-radius: 14px;
    background: rgba(199, 154, 75, 0.08);
    color: var(--ds-gold-soft);
    box-shadow: inset 0 0 0 1px rgba(199, 154, 75, 0.34);
}

.premium-stat strong {
    color: var(--ds-cream);
    font-size: 2rem;
    font-weight: 520;
}

.premium-stat span {
    color: var(--ds-muted);
}

@media (min-width: 1482px) {
}

@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {
    .premium-navbar .navbar-collapse {
        border: 1px solid rgba(199, 154, 75, 0.22);
        background: rgba(7, 16, 11, 0.98);
    }

    .premium-nav-actions {
        gap: 0.4rem;
    }

    .premium-header-cta {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 767.98px) {
    .premium-site .container,
    .premium-navbar .container {
        width: min(100% - 1.5rem, 1220px);
    }

    .premium-stat-row {
        margin-top: -54px;
    }

    .premium-stat-row .container {
        width: min(100% - 1.5rem, 860px);
    }

    .premium-stat {
        grid-template-columns: 44px 1fr;
    }
}

/* ================================================================
   DARK PREMIUM REDESIGN - etap 5-8
   Okazje, kategorie, autorska pracownia i produkty polecane.
   ================================================================ */

.ds-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    color: var(--ds-gold-soft);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.ds-text-link:hover,
.ds-text-link:focus {
    color: var(--ds-cream);
    gap: 0.72rem;
}

.occasion-layout {
    grid-template-columns: minmax(250px, 0.31fr) minmax(0, 0.69fr);
    gap: clamp(2rem, 4.5vw, 4.5rem);
    align-items: start;
}

.occasion-intro {
    position: sticky;
    top: 118px;
}

.occasion-intro .premium-section-title {
    font-size: clamp(2rem, 3.2vw, 3.05rem);
    line-height: 1.02;
}

.occasion-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.occasion-tile {
    min-height: 274px;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid rgba(199, 154, 75, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(199, 154, 75, 0.10), transparent 42%),
        linear-gradient(165deg, rgba(23, 36, 26, 0.94) 0%, rgba(13, 24, 17, 0.96) 100%);
    padding: 1.65rem 1.35rem 1.35rem;
    text-align: left;
}

.occasion-tile::before {
    display: none;
}

.occasion-tile > i {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: transparent;
    color: var(--ds-gold-soft);
    border: 1px solid rgba(199, 154, 75, 0.34);
    font-size: 1.55rem;
    margin-bottom: 1.3rem;
}

.occasion-tile h3 {
    color: var(--ds-cream);
    font-size: 1.26rem;
    line-height: 1.08;
}

.occasion-tile p {
    color: var(--ds-muted);
    font-size: 0.86rem;
    line-height: 1.58;
}

.occasion-tile:hover {
    border-color: rgba(226, 193, 122, 0.62);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42), 0 0 38px rgba(199, 154, 75, 0.08);
}

.occasion-link {
    color: var(--ds-gold-soft);
}

.ds-cat-section {
    padding: clamp(4.5rem, 7vw, 7rem) 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(199, 154, 75, 0.08), transparent 24rem),
        linear-gradient(180deg, rgba(7, 16, 11, 0.98) 0%, rgba(13, 24, 17, 0.86) 100%);
}

.ds-cat-body {
    padding: 0;
}

.category-layout {
    display: grid;
    grid-template-columns: minmax(210px, 0.24fr) minmax(0, 0.76fr);
    gap: clamp(1.8rem, 4vw, 3.6rem);
    align-items: start;
}

.category-intro {
    position: sticky;
    top: 118px;
    padding-top: 0.25rem;
}

.category-intro .ds-section-strip-title {
    margin: 0.55rem 0 1.5rem;
    font-size: clamp(2rem, 3vw, 3rem);
}

.premium-category-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 0.78rem;
}

.premium-category-tile {
    border: 1px solid rgba(199, 154, 75, 0.34);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.premium-category-tile.is-featured {
    grid-column: span 4;
    grid-row: span 3;
}

.premium-category-tile:not(.is-featured) {
    grid-column: span 4;
}

.premium-category-tile::after {
    background:
        linear-gradient(180deg, transparent 28%, rgba(7, 16, 11, 0.18) 50%, rgba(7, 16, 11, 0.92) 100%),
        linear-gradient(90deg, rgba(7, 16, 11, 0.34), transparent 64%);
}

.premium-category-tile:hover {
    border-color: rgba(226, 193, 122, 0.72);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(226, 193, 122, 0.18);
}

.premium-category-content {
    padding: 1.15rem;
}

.premium-category-content h3 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ds-cream);
    font-size: 1.32rem;
    letter-spacing: 0;
}

.premium-category-tile.is-featured .premium-category-content h3 {
    font-size: 2rem;
}

.premium-category-content p {
    color: rgba(247, 240, 228, 0.72);
}

.premium-category-meta {
    width: fit-content;
    border: 1px solid rgba(199, 154, 75, 0.42);
    border-radius: 999px;
    background: rgba(7, 16, 11, 0.54);
    color: var(--ds-gold-soft);
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
}

.atelier-section {
    padding-top: 0;
}

.atelier-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
    gap: 0;
    align-items: stretch;
}

.atelier-media {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(199, 154, 75, 0.34);
    border-right: 0;
    border-radius: 24px 0 0 24px;
    background: var(--ds-bg-card);
}

.atelier-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.04) brightness(0.82);
}

.atelier-card {
    position: relative;
    border: 1px solid rgba(199, 154, 75, 0.34);
    border-radius: 0 24px 24px 0;
    background:
        radial-gradient(circle at 82% 12%, rgba(199, 154, 75, 0.10), transparent 22rem),
        linear-gradient(145deg, rgba(17, 29, 21, 0.98) 0%, rgba(7, 16, 11, 0.96) 100%);
    padding: clamp(2rem, 4vw, 3.6rem);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.atelier-card .premium-section-title {
    max-width: 760px;
    font-size: clamp(1.85rem, 3vw, 3rem);
}

.atelier-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.atelier-feature {
    min-width: 0;
}

.atelier-feature i {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(199, 154, 75, 0.36);
    border-radius: 999px;
    color: var(--ds-gold-soft);
}

.atelier-feature h3 {
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.02rem;
    line-height: 1.18;
    margin-bottom: 0.45rem;
}

.atelier-feature p {
    color: var(--ds-muted);
    font-size: 0.84rem;
    line-height: 1.58;
    margin: 0;
}

.featured-products-section {
    padding-top: clamp(3rem, 6vw, 5.5rem);
}

.featured-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem 2rem;
    align-items: end;
}

.featured-intro {
    max-width: 760px;
}

.featured-products-link {
    margin-bottom: 0.2rem;
}

.featured-showcase .premium-product-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.premium-product-card {
    border: 1px solid rgba(199, 154, 75, 0.32);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(17, 29, 21, 0.98) 0%, rgba(7, 16, 11, 0.96) 100%);
}

.premium-product-media {
    aspect-ratio: 4 / 3;
}

.premium-product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 16, 11, 0.02) 45%, rgba(7, 16, 11, 0.42) 100%);
    pointer-events: none;
}

.premium-price-badge {
    background: rgba(7, 16, 11, 0.74);
    border: 1px solid rgba(226, 193, 122, 0.46);
    color: var(--ds-gold-soft);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.premium-product-body h3 {
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 650;
}

.premium-product-body p {
    color: var(--ds-muted);
    -webkit-line-clamp: 3;
}

.premium-pill {
    background: rgba(7, 16, 11, 0.44);
    border: 1px solid rgba(247, 240, 228, 0.12);
    color: var(--ds-cream-muted);
}

.premium-product-button {
    border: 1px solid rgba(199, 154, 75, 0.54);
    background: transparent;
    color: var(--ds-gold-soft);
    padding: 0.72rem 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.premium-product-button:hover,
.premium-product-button:focus {
    border-color: rgba(226, 193, 122, 0.72);
    background: linear-gradient(135deg, var(--ds-burgundy) 0%, var(--ds-burgundy-dark) 100%);
    color: var(--ds-cream);
}

@media (max-width: 1199.98px) {
    .occasion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-intro {
        position: static;
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .occasion-intro {
        position: static;
    }

    .atelier-layout {
        grid-template-columns: 1fr;
    }

    .atelier-media {
        border-right: 1px solid rgba(199, 154, 75, 0.34);
        border-bottom: 0;
        border-radius: 24px 24px 0 0;
    }

    .atelier-card {
        border-radius: 0 0 24px 24px;
    }

    .atelier-feature-grid {
        grid-template-columns: 1fr;
    }

    .featured-showcase .premium-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .occasion-layout,
    .category-layout {
        grid-template-columns: 1fr;
    }

    .occasion-grid,
    .featured-showcase,
    .featured-showcase .premium-product-grid {
        grid-template-columns: 1fr;
    }

    .occasion-tile {
        min-height: auto;
    }

    .category-intro {
        display: block;
    }

    .premium-category-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .premium-category-tile,
    .premium-category-tile.is-featured,
    .premium-category-tile:not(.is-featured) {
        grid-column: 1;
        grid-row: auto;
        min-height: 220px;
    }

    .premium-category-tile.is-featured {
        min-height: 300px;
    }

    .atelier-media {
        min-height: 330px;
    }

    .featured-products-link {
        justify-self: start;
    }
}

/* ================================================================
   DARK PREMIUM REDESIGN - etap 9-12
   Dlaczego my, zamawianie, opinie i footer.
   ================================================================ */

.why-section {
    padding-top: clamp(3rem, 6vw, 5.5rem);
    padding-bottom: clamp(3.6rem, 7vw, 6.5rem);
}

.why-layout {
    display: grid;
    grid-template-columns: minmax(210px, 0.95fr) repeat(3, minmax(0, 1fr)) minmax(250px, 1.12fr);
    gap: 1rem;
    align-items: stretch;
}

.why-intro {
    padding-right: 0.8rem;
}

.why-intro .premium-section-title {
    margin-bottom: 1.35rem;
    font-size: clamp(1.85rem, 2.8vw, 2.75rem);
}

.why-card,
.why-cta {
    position: relative;
    min-height: 220px;
    border: 1px solid rgba(199, 154, 75, 0.30);
    border-radius: 24px;
    background:
        radial-gradient(circle at 80% 0%, rgba(199, 154, 75, 0.08), transparent 14rem),
        linear-gradient(160deg, rgba(17, 29, 21, 0.96) 0%, rgba(7, 16, 11, 0.96) 100%);
    padding: 1.45rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.why-number {
    display: block;
    color: var(--ds-gold-soft);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.15rem;
    line-height: 1;
    margin-bottom: 1.35rem;
}

.why-card h3,
.why-cta h3 {
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.18;
    margin-bottom: 0.75rem;
}

.why-card p,
.why-cta p {
    color: var(--ds-muted);
    font-size: 0.86rem;
    line-height: 1.62;
    margin: 0;
}

.why-cta {
    border-color: rgba(226, 193, 122, 0.38);
    background:
        radial-gradient(circle at 100% 0%, rgba(226, 193, 122, 0.12), transparent 14rem),
        linear-gradient(145deg, rgba(94, 23, 45, 0.88) 0%, rgba(17, 29, 21, 0.96) 58%, rgba(7, 16, 11, 0.98) 100%);
}

.why-cta h3 {
    color: var(--ds-gold-soft);
    font-size: 1.55rem;
}

.why-cta .btn {
    margin-top: 1.25rem;
}

#jak-zamowic {
    position: relative;
    border-top: 1px solid rgba(199, 154, 75, 0.12);
    border-bottom: 1px solid rgba(199, 154, 75, 0.12);
    background:
        radial-gradient(circle at 18% 50%, rgba(142, 41, 72, 0.08), transparent 24rem),
        linear-gradient(180deg, rgba(13, 24, 17, 0.72), rgba(7, 16, 11, 0.88));
}

#jak-zamowic .order-layout {
    grid-template-columns: minmax(230px, 0.28fr) minmax(0, 0.72fr);
    gap: clamp(2rem, 4vw, 4rem);
}

.order-intro .premium-section-title {
    font-size: clamp(2rem, 3vw, 3rem);
}

#jak-zamowic .premium-step-grid {
    position: relative;
}

#jak-zamowic .premium-step-grid::before {
    content: "";
    position: absolute;
    top: 2.7rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(199, 154, 75, 0.34), transparent);
    pointer-events: none;
}

.premium-step {
    border-color: rgba(199, 154, 75, 0.28);
    background:
        radial-gradient(circle at 88% 0%, rgba(199, 154, 75, 0.08), transparent 13rem),
        linear-gradient(170deg, rgba(23, 36, 26, 0.96) 0%, rgba(7, 16, 11, 0.96) 100%);
}

.premium-step-number {
    color: var(--ds-gold-soft);
}

.premium-step i {
    color: var(--ds-burgundy);
}

.premium-step h3 {
    color: var(--ds-cream);
}

.premium-step > p {
    color: var(--ds-muted);
}

.testimonials-section {
    padding-top: clamp(4rem, 7vw, 6.5rem);
    background:
        radial-gradient(circle at 86% 28%, rgba(199, 154, 75, 0.08), transparent 22rem),
        var(--ds-bg);
}

.testimonials-layout {
    display: grid;
    grid-template-columns: minmax(210px, 0.22fr) minmax(0, 0.78fr);
    gap: clamp(1.8rem, 4vw, 3.8rem);
    align-items: start;
}

.testimonials-intro .premium-section-title {
    font-size: clamp(2rem, 3vw, 3rem);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card {
    position: relative;
    min-height: 250px;
    border: 1px solid rgba(199, 154, 75, 0.30);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 0%, rgba(199, 154, 75, 0.10), transparent 12rem),
        linear-gradient(160deg, rgba(17, 29, 21, 0.96) 0%, rgba(7, 16, 11, 0.98) 100%);
    padding: 1.5rem;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 0.55rem;
    left: 1.1rem;
    color: rgba(199, 154, 75, 0.32);
    font-family: 'Fraunces', Georgia, serif;
    font-size: 4.8rem;
    line-height: 1;
}

.testimonial-stars {
    position: relative;
    z-index: 1;
    color: var(--ds-gold-soft);
    letter-spacing: 0.12em;
    font-size: 0.86rem;
    margin-bottom: 1.2rem;
    padding-left: 0.4rem;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    color: var(--ds-cream);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.testimonial-avatar {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(199, 154, 75, 0.38);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(142, 41, 72, 0.84), rgba(7, 16, 11, 0.92));
    color: var(--ds-cream);
    font-family: 'Fraunces', Georgia, serif;
}

.testimonial-author strong {
    display: block;
    color: var(--ds-cream);
    font-size: 0.92rem;
}

.testimonial-author small {
    display: block;
    color: var(--ds-muted);
    font-size: 0.78rem;
}

.premium-footer {
    background:
        radial-gradient(circle at 88% 42%, rgba(199, 154, 75, 0.08), transparent 22rem),
        linear-gradient(155deg, #030604 0%, #07100B 58%, #020403 100%);
    border-top: 1px solid rgba(199, 154, 75, 0.22);
    color: var(--ds-muted);
    padding: clamp(4rem, 7vw, 5.8rem) 0 2rem;
}

.premium-footer .container {
    position: relative;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) 0.72fr 0.88fr minmax(220px, 1fr);
    gap: clamp(1.6rem, 4vw, 4rem);
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
    filter: drop-shadow(0 14px 30px rgba(199, 154, 75, 0.12));
}

.premium-footer h5 {
    color: var(--ds-cream);
    margin-bottom: 0.9rem;
}

.footer-tagline {
    color: var(--ds-gold-soft) !important;
    font-size: 0.82rem;
    margin: 0;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 0.62rem;
}

.premium-footer .footer-small {
    color: var(--ds-muted);
}

.premium-footer .footer-small.text-decoration-none {
    color: var(--ds-cream-muted);
}

.premium-footer .footer-small.text-decoration-none:hover {
    color: var(--ds-gold-soft);
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.footer-socials a {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(199, 154, 75, 0.34);
    border-radius: 50%;
    color: var(--ds-gold-soft);
    text-decoration: none;
}

.footer-contact-list {
    display: grid;
    gap: 0.72rem;
    justify-items: start;
}

.premium-footer .footer-contact-pill,
.premium-footer .btn-outline-light {
    border-color: rgba(199, 154, 75, 0.40);
    background: rgba(7, 16, 11, 0.34);
    color: var(--ds-cream);
}

.premium-footer .btn-outline-light:hover,
.premium-footer .btn-outline-light:focus {
    border-color: rgba(226, 193, 122, 0.68);
    background: rgba(199, 154, 75, 0.10);
    color: var(--ds-gold-soft);
}

.premium-footer hr {
    border-color: rgba(199, 154, 75, 0.16);
}

.footer-domain {
    color: var(--ds-gold-soft);
    text-decoration: none;
}

.footer-domain:hover {
    color: var(--ds-cream);
}

.footer-ornament {
    position: absolute;
    right: 0;
    bottom: 2.4rem;
    width: 150px;
    height: 190px;
    opacity: 0.42;
    pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg width='170' height='210' viewBox='0 0 170 210' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23C79A4B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M86 194C82 151 84 113 97 72C104 49 116 29 133 13'/%3E%3Cpath d='M101 82C128 76 149 63 160 39C134 39 113 51 101 82Z'/%3E%3Cpath d='M91 109C61 104 37 91 18 66C50 63 77 78 91 109Z'/%3E%3Cpath d='M87 139C115 136 137 124 153 101C124 98 100 113 87 139Z'/%3E%3Cpath d='M84 169C54 162 32 146 14 120C47 119 72 137 84 169Z'/%3E%3Cpath d='M72 118C68 92 70 68 80 45'/%3E%3Cpath d='M107 145C122 132 137 124 155 121'/%3E%3C/g%3E%3C/svg%3E")
        center / contain no-repeat;
}

@media (max-width: 1199.98px) {
    .why-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-intro,
    .why-cta {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    #jak-zamowic .order-layout,
    .testimonials-layout {
        grid-template-columns: 1fr;
    }

    #jak-zamowic .premium-step-grid::before {
        display: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .why-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .why-intro,
    .why-cta {
        grid-column: auto;
    }

    .why-card,
    .why-cta,
    .testimonial-card {
        min-height: auto;
    }

    .footer-ornament {
        width: 110px;
        height: 150px;
        opacity: 0.24;
    }
}

/* ================================================================
   ADNOTACJE UI - korekty po przeglądzie
   ================================================================ */

.occasion-intro .premium-section-title,
.featured-intro .premium-section-title,
.why-intro .premium-section-title,
.order-intro .premium-section-title,
.testimonials-intro .premium-section-title {
    font-size: clamp(1.95rem, 2.4vw, 2.1rem) !important;
    line-height: 1.08;
}

.cat-editorial-layout {
    display: block;
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2rem, 3vw, 2.8rem);
}

#kategorie.ds-cat-section {
    padding-top: clamp(3rem, 5vw, 4.5rem);
    padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ds-atelier {
    padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

.cat-intro {
    position: static;
    max-width: 560px;
    margin-bottom: 2rem;
}

.cat-intro .ds-section-strip-title {
    font-size: clamp(1.95rem, 2.7vw, 2.45rem);
}

.cat-editorial-layout .premium-category-grid {
    width: 100%;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 190px;
}

.cat-editorial-layout .premium-category-tile.is-featured {
    grid-column: span 4;
    grid-row: span 2;
}

.cat-editorial-layout .premium-category-tile:not(.is-featured) {
    grid-column: span 4;
}

#jak-zamowic .premium-step-grid::before {
    content: none !important;
    display: none !important;
}

#jak-zamowic .premium-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.7rem;
    right: -2.6rem;
    width: 4rem;
    height: 3rem;
    background: url("data:image/svg+xml,%3Csvg width='74' height='50' viewBox='0 0 74 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 35C19 8 49 7 65 29' stroke='%23C79A4B' stroke-opacity='.52' stroke-width='1.6' stroke-linecap='round' stroke-dasharray='4 4'/%3E%3Cpath d='M58 28L66 30L61 37' stroke='%23C79A4B' stroke-opacity='.78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}

#jak-zamowic .premium-step:last-child::after {
    content: none;
    display: none;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    width: 100%;
    margin: 0;
    padding-left: 0;
    text-align: left;
    line-height: 1;
    flex: 0 0 auto;
}

.testimonial-author {
    margin: 0;
    flex: 1 1 auto;
}

.testimonial-card p {
    margin-top: 10px;
}

.testimonial-card .testimonial-author {
    order: 3;
}

.testimonial-card .testimonial-stars {
    order: 2;
}

.testimonial-card p {
    order: 1;
}

.testimonial-card::after {
    content: "";
    order: 4;
}

.testimonial-card .testimonial-stars,
.testimonial-card .testimonial-author {
    align-self: stretch;
}

.testimonial-card {
    grid-template-rows: auto 1fr auto;
}

.testimonial-card .testimonial-stars {
    margin-top: auto;
    margin-bottom: 0.72rem;
    text-align: center;
}

.testimonial-card .testimonial-author {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
}

@media (max-width: 1199.98px) {
    .cat-editorial-layout .premium-category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .cat-editorial-layout .premium-category-tile.is-featured,
    .cat-editorial-layout .premium-category-tile:not(.is-featured) {
        grid-column: span 3;
    }
}

@media (max-width: 991.98px) {
    .ds-atelier-media img {
        object-position: center center !important;
    }

    .ds-atelier-media {
        background: var(--ds-bg-card);
    }

    .ds-atelier-media img {
        height: auto !important;
        max-height: none;
        object-fit: contain;
        object-position: center center !important;
    }
}

@media (max-width: 767.98px) {
    .cat-editorial-layout .premium-category-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .cat-editorial-layout .premium-category-tile,
    .cat-editorial-layout .premium-category-tile.is-featured,
    .cat-editorial-layout .premium-category-tile:not(.is-featured) {
        grid-column: 1;
        grid-row: auto;
    }

    #jak-zamowic .premium-step:not(:last-child)::after {
        display: none;
    }
}
