/*
Theme Name: SP Media Redesign (Kadence Child)
Template: kadence
Description: Custom redesign child theme for shop.spmedia.pl built on top of Kadence, with real WooCommerce data wired into the "design spmedia" mockup layout.
Version: 1.0.0
Author: SP Media
*/

:root {
    --black: #170e2a;
    --black-soft: #241a3d;

    --white: #ffffff;
    --cream: #f7f4ee;
    --cream-dark: #eee8dd;

    --gold: #ff9f1c;
    --gold-light: #ffbf6b;

    --text: #211a30;
    --text-light: #6b6478;
    --border: #e4e0e8;

    --green: #4a7759;
    --red: #b44738;
    --purple: #4f356e;
    --blue: #223d59;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow:
        0 20px 50px rgba(18, 17, 14, 0.07);

    --container: 1240px;
}


/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.55;
}

body.cart-open {
    overflow: hidden;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    line-height: 0.99;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

h3 {
    line-height: 1.2;
}

.container {
    width:
        min(
            calc(100% - 40px),
            var(--container)
        );
    margin-inline: auto;
}


/* HEADER */

.announcement {
    color: white;
    background: var(--black);
    font-size: 12px;
}

.announcement__inner {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.announcement__contact {
    display: flex;
    gap: 20px;
}

.announcement__contact a:hover {
    color: var(--gold);
}

.header-main {
    background: white;
}

.header-main__inner {
    min-height: 88px;

    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 40px;
}

.logo {
    width: fit-content;

    display: flex;
    flex-direction: column;
    justify-content: center;

    line-height: 0.85;
}

.logo__image {
    display: block;
    height: 40px !important;
    width: auto;
}

.logo__sp {
    font-family: Georgia, serif;
    font-size: 32px;
    letter-spacing: -3px;
}

.logo__media {
    margin-top: 6px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.search {
    max-width: 560px;
    width: 100%;
    margin: auto;

    display: flex;

    border: 1px solid var(--border);
    border-radius: 9px;

    overflow: hidden;
}

.search input {
    width: 100%;
    min-width: 0;

    padding: 14px 15px;

    border: 0;
    outline: 0;
}

.search button {
    padding: 0 18px;

    border: 0;

    background: transparent;

    font-size: 12px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;

    font-size: 13px;
    font-weight: 600;
}

.cart-button {
    position: relative;

    padding: 0;

    border: 0;

    background: transparent;
}

.cart-counter {
    position: absolute;
    top: -13px;
    right: -15px;

    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    color: white;
    background: var(--gold);

    border-radius: 50%;

    font-size: 10px;
}

.mobile-menu-button {
    display: none;

    width: 34px;

    border: 0;
    background: transparent;
}

.mobile-menu-button span {
    display: block;
    height: 1px;
    margin: 6px 0;

    background: var(--black);
}

.navigation {
    border-top: 1px solid #f1eee8;
    border-bottom: 1px solid var(--border);
}

.navigation__inner {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    font-size: 12px;
    font-weight: 600;
}

.navigation a {
    position: relative;
}

.navigation a:hover {
    color: var(--gold);
}

.navigation a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;

    height: 2px;

    background: var(--gold);
}


/* BUTTONS */

.button {
    min-height: 48px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--text);
    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: white;
    background: var(--black);
}

.button--primary:hover {
    background: #292824;
    color: white;
}

.button--secondary {
    border-color: var(--border);
    background: white;
}

.button--light {
    color: var(--black);
    background: white;
}

.button--light:hover {
    color: white;
    background: var(--gold);
}

.button--accent {
    color: var(--black);
    background: var(--gold);
}

.button--accent:hover {
    background: var(--gold-light);
    color: var(--black);
}

.button--full {
    width: 100%;
}

.button--large {
    min-height: 58px;
    font-size: 14px;
}

.text-link {
    padding: 0;
    border: 0;

    background: none;

    font-size: 13px;
    font-weight: 800;
}

.text-link:hover {
    color: var(--gold);
}


/* EYEBROW */

.eyebrow {
    display: block;
    margin-bottom: 17px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.eyebrow--light {
    color: var(--gold-light);
}


/* HERO */

.hero {
    position: relative;

    padding: 76px 0 84px;

    background:
        radial-gradient(
            circle at 70% 35%,
            #f0e8da,
            transparent 31%
        ),
        linear-gradient(
            120deg,
            #fff 0,
            var(--cream) 100%
        );

    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 26px;
}

.hero h1 span {
    color: var(--gold);
}

.hero__lead {
    max-width: 590px;
    margin-bottom: 34px;

    color: var(--text-light);

    font-size: 17px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* SHOWCASE */

.hero-showcase {
    position: relative;
    min-height: 480px;
}

.showcase-card {
    background: white;

    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.showcase-card--main {
    position: absolute;
    inset: 40px 20px 20px 30px;

    padding: 32px;

    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 28px;
    align-items: center;
}

.product-type {
    position: absolute;
    top: 22px;
    right: 25px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.showcase-card__label {
    color: var(--gold);

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.showcase-card h2 {
    margin: 8px 0 14px;

    font-size: 26px;
}

.showcase-card p {
    color: var(--text-light);

    font-size: 13px;
}

.showcase-card__bottom {
    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 13px;
}

.showcase-card__bottom strong {
    font-size: 18px;
}

.showcase-card__bottom a {
    font-weight: 800;
}

.floating-card {
    position: absolute;
    right: -25px;
    bottom: -5px;

    width: 235px;

    padding: 15px;

    display: flex;
    align-items: center;
    gap: 14px;

    background: white;
    color: var(--text);

    border: 1px solid var(--border);
    border-radius: 14px;

    box-shadow: var(--shadow);
}

.floating-card span {
    color: var(--text-light);
}

.floating-card > div:last-child {
    display: flex;
    flex-direction: column;

    font-size: 11px;
}

.floating-card strong {
    margin: 4px 0;
}


/* DIGITAL COVERS */

.digital-cover {
    width: 150px;
    aspect-ratio: 0.68;

    padding: 18px 14px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: white;

    border-radius: 4px;

    box-shadow:
        12px 12px 23px rgba(0, 0, 0, 0.14);

    transform:
        perspective(800px)
        rotateY(-6deg);

    transition: transform 0.25s ease;
}

.product-card:hover .digital-cover {
    transform:
        perspective(800px)
        rotateY(0)
        translateY(-4px);
}

.digital-cover > span {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.digital-cover strong {
    font-size: 18px;
    line-height: 1.08;
    letter-spacing: -0.5px;
}

.digital-cover small {
    opacity: 0.72;

    font-size: 8px;
}

.digital-cover--small {
    width: 54px;
    padding: 7px;
}

.digital-cover--small strong {
    font-size: 7px;
}

.digital-cover--small span,
.digital-cover--small small {
    font-size: 4px;
}

.digital-cover--gold {
    background:
        radial-gradient(
            circle at 70% 20%,
            #755326,
            transparent 35%
        ),
        #191611;
}

.digital-cover--dark {
    background:
        linear-gradient(
            145deg,
            #252321,
            #080808
        );
}

.digital-cover--purple {
    background:
        linear-gradient(
            145deg,
            #71508f,
            #221932 65%
        );
}

.digital-cover--blue {
    background:
        linear-gradient(
            145deg,
            #315776,
            #152535 70%
        );
}

.digital-cover--green {
    background:
        linear-gradient(
            145deg,
            #52715a,
            #172119
        );
}

.digital-cover--orange {
    background:
        linear-gradient(
            145deg,
            #ae6d35,
            #3b2414
        );
}

.digital-cover--pink {
    background:
        linear-gradient(
            145deg,
            #8d4f67,
            #30202a
        );
}


/* BENEFITS */

.benefit-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: white;
}

.benefit-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.benefit {
    min-height: 120px;
    padding: 30px;

    display: flex;
    gap: 15px;

    border-right: 1px solid var(--border);
}

.benefit:last-child {
    border-right: 0;
}

.benefit__number {
    color: var(--gold);

    font-family: Georgia, serif;
    font-size: 19px;
}

.benefit strong {
    font-size: 13px;
}

.benefit p {
    margin: 4px 0 0;

    color: var(--text-light);

    font-size: 11px;
}


/* SECTIONS */

.section {
    padding: 90px 0;
}

.section--soft {
    background: var(--cream);
}

.section-heading {
    margin-bottom: 38px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading h2 {
    max-width: 650px;
    margin-bottom: 0;
}

.section-heading__lead {
    max-width: 560px;
    margin: 14px 0 0;

    color: var(--text-light);
}


/* CATEGORY */

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.category-card {
    min-height: 390px;
    padding: 42px;

    position: relative;

    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 30px;
    align-items: center;

    border-radius: var(--radius-lg);

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-card--plugins .text-link:hover {
    color: var(--gold-light);
}

.category-card--ebooks {
    background: var(--cream);
}

.category-card--plugins {
    color: white;
    background: var(--black);
}

.category-card__count {
    color: var(--gold);

    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.category-card h3 {
    margin: 15px 0;

    font-size: 30px;
}

.category-card p {
    color: var(--text-light);

    font-size: 13px;
}

.category-card--plugins h3 {
    color: white;
}

.category-card--plugins p {
    color: #aaa69f;
}

.category-card--plugins .text-link {
    color: white;
}


/* CATEGORY VISUAL */

.category-visual {
    position: relative;
    min-height: 250px;
}

.mini-book {
    position: absolute;
    bottom: 5px;

    width: 100px;
    height: 170px;

    padding: 15px 9px;

    display: flex;
    align-items: center;

    color: white;

    background: var(--black);

    border-radius: 3px;

    font-size: 10px;
    font-weight: 900;

    box-shadow: 10px 15px 25px rgba(0,0,0,0.14);
}

.mini-book--1 {
    left: 10px;

    transform: rotate(-9deg);
}

.mini-book--2 {
    left: 75px;

    background: var(--gold);

    transform: translateY(-10px);
}

.mini-book--3 {
    left: 140px;

    background: #49365f;

    transform: rotate(8deg);
}


/* PLUGIN WINDOW */

.plugin-window {
    border: 1px solid #46433e;
    border-radius: 10px;

    background: #20201d;

    overflow: hidden;
}

.plugin-window__top {
    height: 35px;
    padding-left: 12px;

    display: flex;
    align-items: center;
    gap: 6px;

    border-bottom: 1px solid #393834;
}

.plugin-window__top span {
    width: 7px;
    height: 7px;

    background: #69655d;

    border-radius: 50%;
}

.plugin-window__body {
    min-height: 210px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wp-logo {
    width: 55px;
    height: 55px;
    margin-bottom: 16px;

    display: grid;
    place-items: center;

    border: 1px solid #777168;
    border-radius: 50%;

    font-family: Georgia, serif;
    font-size: 27px;
}

.plugin-window__body span {
    color: #87837c;
    font-size: 10px;
}


/* PRODUCTS */

.products-grid {
    display: grid;
    gap: 18px;
}

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

.products-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    min-width: 0;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.product-card__image {
    position: relative;

    height: 300px;
    padding: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #fbfaf8,
            #f2eee6
        );
}

.product-card__image .digital-cover {
    width: 145px;
}

.product-card__image img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;

    padding: 6px 8px;

    color: white;
    background: var(--gold);

    border-radius: 4px;

    font-size: 9px;
    font-weight: 900;
}

.badge--plugin {
    background: var(--purple);
}

.badge--sale {
    background: var(--red);
}

.product-card__content {
    padding: 21px;

    display: flex;
    flex-direction: column;
}

.product-card__category {
    display: block;
    min-height: 11px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.product-card h3 {
    min-height: 48px;
    margin: 9px 0 9px;

    font-size: 16px;
}

.product-card p {
    min-height: 54px;

    color: var(--text-light);

    font-size: 11px;
}

.product-card__footer {
    margin-top: auto;
    padding-top: 18px;

    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-card__footer strong {
    font-size: 16px;
}

.product-card__footer small {
    display: block;

    color: var(--text-light);
}

.icon-button {
    width: 36px;
    height: 36px;
    padding: 0;

    display: grid;
    place-items: center;
    margin-left: auto;

    color: white;
    background: var(--black);

    border: 0;
    border-radius: 6px;

    font-size: 17px;
}

.icon-button.loading {
    opacity: 0.6;
    pointer-events: none;
}

.icon-button.added {
    background: var(--green);
}

.product-card__footer .price {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 6px;

    white-space: nowrap;
}

.product-card__footer .price del {
    color: #98948d;

    font-size: 11px;
    font-weight: 400;
    text-decoration: line-through;
}

.product-card__footer .price ins {
    text-decoration: none;
}


/* BUNDLE */

.bundle-section {
    padding: 30px 0 70px;
}

.bundle {
    min-height: 380px;
    padding: 60px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    color: white;
    background:
        radial-gradient(
            circle at 80% 45%,
            #3d2b5c,
            transparent 35%
        ),
        var(--black);

    border-radius: var(--radius-lg);

    overflow: hidden;
}

.bundle__content {
    max-width: 500px;
}

.bundle h2 {
    margin-bottom: 18px;

    color: var(--gold);
}

.bundle p {
    color: #bbb6ad;
}

.bundle__price {
    margin: 25px 0;
}

.bundle__price strong {
    font-size: 28px;
}

.bundle__visual {
    position: relative;
    min-height: 260px;
}

.bundle-book {
    position: absolute;
    top: 30px;

    width: 145px;
    height: 220px;

    padding: 25px 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    background: #292720;

    border: 1px solid #49453d;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 900;
    text-align: center;

    box-shadow: 10px 20px 40px rgba(0,0,0,0.3);
}

.bundle-book--image {
    padding: 0;

    overflow: hidden;
}

.bundle-book--image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.bundle-book--1 {
    left: 25px;

    transform: rotate(-8deg);
}

.bundle-book--2 {
    left: 145px;

    background: #664930;
}

.bundle-book--3 {
    left: 265px;

    background: #49365f;

    transform: rotate(8deg);
}


/* KNOWLEDGE */

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    overflow: hidden;
}

.knowledge-card {
    padding: 40px 30px;

    display: flex;
    gap: 15px;

    border-right: 1px solid var(--border);
}

.knowledge-card:last-child {
    border-right: 0;
}

.knowledge-card > span {
    color: var(--gold);

    font-family: Georgia, serif;
    font-size: 19px;
}

.knowledge-card h3 {
    margin: 0 0 8px;

    font-size: 16px;
}

.knowledge-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 12px;
}


/* CTA */

.cta-section {
    padding: 10px 0 90px;
}

.cta-box {
    padding: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    color: white;
    background: var(--black);

    border-radius: var(--radius-lg);
}

.cta-box h2 {
    max-width: 700px;
    margin-bottom: 12px;

    color: white;
}

.cta-box p {
    margin-bottom: 0;

    color: #bbb6ad;
}


/* FOOTER */

.footer {
    padding: 65px 0 30px;

    color: white;
    background: var(--black);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer__grid > div {
    display: flex;
    flex-direction: column;
    gap: 10px;

    font-size: 12px;
}

.footer__grid strong {
    margin-bottom: 8px;
}

.footer__grid p,
.footer__grid a {
    color: #aaa69f;
}

.footer__grid a:hover {
    color: var(--gold);
}

.logo--footer {
    color: white;
    margin-bottom: 15px;
}

.logo--footer .logo__image {
    filter: brightness(0) invert(1);
}

.euwithdrawal-footer-link {
    margin-top: 20px !important;
    padding: 16px 0 0 !important;

    background: transparent !important;

    border-top: 1px solid #292824;
}

.euwithdrawal-footer-link a {
    background: transparent !important;

    color: #77736c !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

.euwithdrawal-footer-link a:hover {
    color: var(--gold) !important;
}

.footer__bottom {
    margin-top: 50px;
    padding-top: 25px;

    display: flex;
    justify-content: space-between;

    color: #77736c;

    border-top: 1px solid #292824;

    font-size: 11px;
}


/* SHOP */

.shop-hero {
    padding: 55px 0 45px;

    background: var(--cream);
}

.breadcrumbs {
    margin-bottom: 40px;

    display: flex;
    gap: 9px;
    flex-wrap: wrap;

    color: var(--text-light);

    font-size: 11px;
}

.shop-hero__content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.shop-hero h1 {
    max-width: 720px;
    margin-bottom: 15px;

    font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.shop-hero p {
    max-width: 620px;
    margin-bottom: 0;

    color: var(--text-light);
}

.shop-hero__stats {
    display: flex;
    gap: 16px;
}

.shop-hero__stats div {
    min-width: 110px;
    padding: 14px 18px;

    display: flex;
    flex-direction: column;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.shop-hero__stats strong {
    font-family: Georgia, serif;
    font-size: 30px;
}

.shop-hero__stats span {
    color: var(--text-light);

    font-size: 10px;
}

.shop-section {
    padding: 45px 0 100px;
}

.shop-toolbar {
    margin-bottom: 30px;
    padding-bottom: 20px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid var(--border);
}

.shop-toolbar__label {
    font-size: 13px;
    font-weight: 800;
}

.shop-toolbar__right {
    display: flex;
    gap: 10px;
}

.shop-search input,
.shop-toolbar select {
    height: 40px;

    padding: 0 12px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: white;

    outline: none;

    font-size: 11px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 35px;
}

.filters {
    align-self: start;

    position: sticky;
    top: 20px;
}

.filter-block {
    padding: 22px 0;

    border-bottom: 1px solid var(--border);
}

.filter-block:first-child {
    padding-top: 0;
}

.filter-block h3 {
    margin-bottom: 16px;

    font-size: 13px;
}

.check-label {
    margin: 10px 0;

    display: flex;
    gap: 9px;
    align-items: center;

    color: var(--text-light);

    font-size: 11px;
}

.check-label input[type="checkbox"] {
    accent-color: var(--gold);
}

.check-label:has(input:checked) {
    color: var(--text);
    font-weight: 800;
}

.filter-clear {
    margin: 14px 0 0;
    padding: 0;

    display: inline-flex;
}

.filter-link {
    width: 100%;
    padding: 6px 0;

    border: 0;

    display: block;

    color: var(--text-light);
    background: transparent;

    font-size: 11px;
    text-align: left;
}

.filter-link.active {
    color: var(--gold);
    font-weight: 800;
}

.filter-note {
    margin-top: 25px;
    padding: 20px;

    background: var(--cream);

    border-radius: 8px;
}

.filter-note strong {
    font-size: 12px;
}

.filter-note p {
    margin: 8px 0 15px;

    color: var(--text-light);

    font-size: 10px;
}

.shop-results-info {
    margin-bottom: 18px;

    color: var(--text-light);

    font-size: 11px;
}

.shop-results-info strong {
    color: var(--text);
}

.shop-products .product-card__image {
    height: 280px;
}

.empty-state {
    padding: 80px 30px;

    text-align: center;
}

.shop-bottom-cta {
    padding-bottom: 80px;
}

.shop-bottom-cta__box {
    padding: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    color: white;
    background: var(--black);

    border-radius: var(--radius-lg);
}

.shop-bottom-cta h2 {
    max-width: 700px;

    color: white;
}

.shop-bottom-cta p {
    color: #aaa69f;
}


/* PDP */

.product-page {
    padding: 40px 0 80px;
}

.product-main {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 70px;
}

.product-gallery {
    min-width: 0;

    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.product-gallery--with-thumbs {
    grid-template-columns: 80px 1fr;
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.product-thumb {
    min-height: 72px;
    padding: 7px;

    border: 1px solid var(--border);
    border-radius: 7px;

    color: var(--text-light);
    background: white;

    font-size: 9px;

    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-thumb.active {
    border-color: var(--black);

    color: var(--black);
}

.product-gallery__main {
    min-height: 590px;

    position: relative;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle,
            white 0,
            var(--cream) 70%
        );

    border-radius: var(--radius);

    overflow: hidden;
}

.gallery-view {
    display: none;

    width: 100%;
    min-height: 550px;

    padding: 40px;

    place-items: center;
}

.gallery-view.active {
    display: grid;
}

.gallery-view img {
    max-width: 100%;
    max-height: 550px;

    object-fit: contain;
}

.product-cover-large {
    width: 300px;
    aspect-ratio: 0.72;

    padding: 40px 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: white;

    background:
        radial-gradient(
            circle at 70% 20%,
            #8260a2,
            transparent 30%
        ),
        #24182e;

    border-radius: 5px;

    box-shadow:
        30px 35px 50px rgba(0,0,0,0.18);

    transform:
        perspective(1000px)
        rotateY(-7deg);
}

.product-cover-large strong {
    font-size: 38px;
    line-height: 1.05;
}

.product-cover-large__type,
.product-cover-large__brand {
    color: var(--gold-light);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.product-cover-large small {
    color: #cab7d9;
}


/* PRODUCT SUMMARY */

.product-summary {
    padding-top: 25px;
}

.product-summary__category {
    color: var(--gold);

    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-summary h1 {
    margin: 14px 0 18px;

    font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.product-summary__lead {
    color: var(--text-light);

    font-size: 15px;
}

.product-rating {
    margin: 25px 0;

    display: flex;
    gap: 15px;

    font-size: 11px;
}

.product-rating span {
    color: var(--text-light);
}

.product-price {
    margin: 25px 0;

    display: flex;
    align-items: baseline;
    gap: 7px;
}

.product-price strong {
    font-size: 29px;
}

.product-price small {
    color: var(--text-light);
}

.product-price del {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 400;
}

.product-availability {
    margin: 20px 0;

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--green);

    font-size: 11px;
    font-weight: 700;
}

.product-availability > span {
    width: 7px;
    height: 7px;

    background: var(--green);

    border-radius: 50%;
}

.product-availability.out-of-stock {
    color: var(--red);
}

.product-availability.out-of-stock > span {
    background: var(--red);
}

.product-microcopy {
    margin-top: 13px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;

    color: var(--text-light);

    font-size: 9px;
}

.product-microcopy p {
    margin: 0;
}

.product-benefits-small {
    margin-top: 28px;
    padding-top: 25px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
}

.product-benefits-small div {
    padding-right: 14px;

    display: flex;
    flex-direction: column;
}

.product-benefits-small strong {
    font-size: 10px;
}

.product-benefits-small span {
    margin-top: 4px;

    color: var(--text-light);

    font-size: 9px;
}

.product-short-description {
    margin-top: 20px;

    color: var(--text-light);

    font-size: 13px;
}


/* PRODUCT DESCRIPTION */

.product-description-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
}

.product-description-grid .entry-content {
    color: var(--text-light);
    font-size: 14px;
}


/* PRODUCT RELATED */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.audience-grid article {
    min-height: 180px;
    padding: 30px;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.audience-grid strong {
    font-size: 16px;
}

.audience-grid p {
    margin-top: 15px;

    color: var(--text-light);

    font-size: 12px;
}


/* CART */

.cart-drawer {
    position: fixed;
    inset: 0;

    z-index: 1000;

    pointer-events: none;
    visibility: hidden;
}

.cart-drawer.open {
    pointer-events: auto;
    visibility: visible;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;

    transition: opacity 0.25s ease;
}

.cart-drawer.open .cart-drawer__overlay {
    opacity: 1;
}

.cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;

    width: min(440px, 92vw);
    height: 100%;

    padding: 28px;

    display: flex;
    flex-direction: column;

    background: white;

    transform: translateX(100%);

    transition: transform 0.3s ease;
}

.cart-drawer.open .cart-drawer__panel {
    transform: translateX(0);
}

.cart-drawer__header {
    padding-bottom: 20px;

    display: flex;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.cart-drawer__header h2 {
    margin: 0;

    font-size: 24px;
}

.cart-drawer__header button {
    border: 0;
    background: transparent;

    font-size: 11px;
}

.cart-items {
    padding: 10px 0;

    flex: 1;

    overflow-y: auto;
}

.cart-item {
    padding: 16px 0;

    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;

    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 46px;
    height: 46px;

    border-radius: 6px;
    object-fit: cover;

    background: var(--cream);
}

.cart-item strong {
    display: block;

    font-size: 12px;
}

.cart-item span {
    color: var(--text-light);

    font-size: 11px;
}

.cart-item a.remove {
    border: 0;

    color: var(--red);
    background: none;

    font-size: 10px;
}

.cart-empty {
    padding: 60px 10px;

    color: var(--text-light);

    text-align: center;
}

.cart-drawer__footer {
    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.cart-drawer__footer > div {
    margin-bottom: 18px;

    display: flex;
    justify-content: space-between;
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;

    z-index: 2000;

    padding: 14px 18px;

    color: white;
    background: var(--black);

    border-radius: 8px;

    box-shadow: var(--shadow);

    font-size: 11px;

    opacity: 0;
    transform: translateY(10px);

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}


/* CONTENT PAGES (Kontakt / Regulamin / Polityka prywatności / Odstąp od umowy) */

.page-id-75 .entry-content,
.page-id-237 .entry-content,
.page-id-3 .entry-content,
.page-id-563 .entry-content {
    background: var(--cream);
}

.page-id-237 .entry-content,
.page-id-3 .entry-content {
    max-width: 820px;
    margin-inline: auto;
    padding: 60px 40px;
}

.page-id-3 .entry-content .has-theme-palette-1-color {
    color: var(--text) !important;
}

.page-id-563 .entry-content {
    padding: 40px 0 80px;
}

.page-id-75 input[type="text"],
.page-id-75 input[type="email"],
.page-id-75 input[type="tel"],
.page-id-75 textarea,
.page-id-75 select {
    padding: 12px 14px !important;

    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;

    font-family: inherit !important;
}

.page-id-75 input[type="text"]:focus,
.page-id-75 input[type="email"]:focus,
.page-id-75 input[type="tel"]:focus,
.page-id-75 textarea:focus {
    border-color: var(--gold) !important;
    outline: 2px solid var(--gold-light) !important;
    outline-offset: 1px;
}

.page-id-75 button[type="submit"],
.page-id-75 input[type="submit"] {
    padding: 0 22px !important;

    min-height: 48px;

    color: var(--black) !important;
    background: var(--gold) !important;

    border: 0 !important;
    border-radius: 7px !important;

    font-weight: 800 !important;
}

.page-id-75 button[type="submit"]:hover,
.page-id-75 input[type="submit"]:hover {
    background: var(--gold-light) !important;
}

/* EU withdrawal plugin (lookup + form + footer link) — reskin to match the brand. */

.euwithdrawal-wrap {
    padding: 40px;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.euwithdrawal-step-title {
    font-family: inherit;
    font-size: 1.6em;
}

.euwithdrawal-input {
    padding: 12px 14px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.euwithdrawal-input:focus {
    border-color: var(--gold);
    outline: 2px solid var(--gold-light);
    outline-offset: 1px;
}

.euwithdrawal-btn {
    border-radius: 7px;
    font-weight: 800;
}

.euwithdrawal-btn:hover {
    opacity: 1;
}

.euwithdrawal-btn--primary {
    background: var(--black);
    color: white;
}

.euwithdrawal-btn--primary:hover {
    background: var(--black-soft);
}

.euwithdrawal-btn--secondary {
    background: var(--cream);
    color: var(--text);
}

.euwithdrawal-link,
#ew-otp-resend {
    color: var(--black);
}

.euwithdrawal-link:hover,
#ew-otp-resend:hover {
    color: var(--gold);
}

.euwithdrawal-legal-block {
    background: var(--cream);
    border-left-color: var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.euwithdrawal-checkbox-label {
    padding: 14px 16px;

    background: var(--cream);
    border-radius: var(--radius-sm);
}

.euwithdrawal-checkbox-label input {
    accent-color: var(--gold);
}


/* WOOCOMMERCE DEFAULT CART PAGE (kadence parent template, no child override) */

.woocommerce-cart .product-remove a.remove {
    color: var(--red) !important;
    background: var(--cream) !important;

    opacity: 1 !important;
}

.woocommerce-cart .product-remove a.remove:hover {
    color: white !important;
    background: var(--red) !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    color: var(--black) !important;
    background: var(--gold) !important;

    border-radius: 7px !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: var(--gold-light) !important;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

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

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

    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

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

    .category-visual,
    .plugin-window {
        display: none;
    }

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

    .knowledge-card:nth-child(2) {
        border-right: 0;
    }

    .knowledge-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .product-main {
        gap: 35px;
    }

}

@media (max-width: 850px) {

    .announcement__inner span:not(.announcement__contact) {
        display: none;
    }

    .announcement__inner {
        justify-content: center;
    }

    .header-main__inner {
        min-height: 72px;

        grid-template-columns: 80px 1fr auto;
        gap: 15px;
    }

    .header-main .search {
        display: none;
    }

    .header-actions > a {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .navigation {
        display: none;
    }

    .navigation.open {
        display: block;
    }

    .navigation__inner {
        padding: 20px 0;

        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .navigation a.active::after {
        display: none;
    }

    .hero {
        padding: 55px 0;
    }

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

    .hero-showcase {
        min-height: 470px;
    }

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

    .benefit:nth-child(2) {
        border-right: 0;
    }

    .benefit:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

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

    .bundle {
        padding: 40px;

        grid-template-columns: 1fr;
    }

    .bundle__visual {
        display: none;
    }

    .shop-hero__content {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .filters {
        position: static;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .filter-note {
        display: none;
    }

    .product-main {
        grid-template-columns: 1fr;
    }

    .product-gallery__main {
        min-height: 500px;
    }

    .product-description-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}

@media (max-width: 620px) {

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    h1 {
        font-size: 2.7rem;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .showcase-card--main {
        inset: 20px 0;

        padding: 22px;

        grid-template-columns: 120px 1fr;
        gap: 15px;
    }

    .showcase-card--main .digital-cover {
        width: 110px;
    }

    .floating-card {
        display: none;
    }

    .benefit-strip__grid {
        grid-template-columns: 1fr;
    }

    .benefit {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .category-card {
        min-height: 310px;
        padding: 30px;
    }

    .products-grid--4,
    .products-grid--3 {
        grid-template-columns: 1fr;
    }

    .product-card__image {
        height: 350px;
    }

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

    .knowledge-card {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .cta-box {
        padding: 35px 25px;

        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer__grid > div:first-child {
        grid-column: 1 / -1;
    }

    .shop-toolbar {
        flex-direction: column;
    }

    .shop-toolbar__right {
        width: 100%;
    }

    .shop-search,
    .shop-search input,
    .shop-toolbar select {
        width: 100%;
    }

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

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .product-gallery__thumbs {
        flex-direction: row;
        order: 2;
    }

    .product-thumb {
        flex: 1;
    }

    .product-gallery__main {
        min-height: 430px;
    }

    .gallery-view {
        min-height: 420px;
        padding: 20px;
    }

    .product-cover-large {
        width: 225px;
        padding: 30px 20px;
    }

    .product-cover-large strong {
        font-size: 29px;
    }

    .product-benefits-small {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-microcopy {
        align-items: center;
        flex-direction: column;
        gap: 3px;
    }

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

    .shop-bottom-cta__box {
        padding: 35px 25px;

        align-items: flex-start;
        flex-direction: column;
    }

}
