/* PixelForge Wear — główny arkusz stylów autonomicznego projektu */
:root {
    --wp--preset--color--contrast: #172033;
    --wp--preset--color--base: #ffffff;
    --wp--preset--color--primary: #5b37d1;
    --wp--preset--color--secondary: #8a6df1;
    --wp--preset--color--accent: #21c7a8;
    --wp--preset--color--surface: #f5f6fb;
    --wp--preset--color--muted: #687086;
    --wp--preset--shadow--soft: 0 12px 34px rgba(23, 32, 51, 0.09);
    --wp--preset--shadow--hover: 0 20px 48px rgba(23, 32, 51, 0.16);
    --wp--style--global--content-size: 1180px;
    --wp--custom--header-height: 76px;
    --wp--custom--radius: 14px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--wp--custom--header-height) + 14px);
}

body {
    min-width: 320px;
    color: var(--wp--preset--color--contrast);
    background: var(--wp--preset--color--base);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.admin-bar .site-header {
    top: 32px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: #4324ae;
}

button,
input,
textarea {
    font: inherit;
}

button,
.wp-element-button {
    cursor: pointer;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site {
    overflow: clip;
}

.wp-site-blocks,
.site-main {
    width: 100%;
}

.wp-block-group__inner-container,
.site-header__inner,
.site-footer__inner,
.entry-content,
.entry-header {
    width: min(calc(100% - 40px), var(--wp--style--global--content-size));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--wp--custom--header-height);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(23, 32, 51, 0.08);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 7px 26px rgba(23, 32, 51, 0.11);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-title {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-title a {
    color: var(--wp--preset--color--contrast);
}

.site-title a::after {
    content: ".";
    color: var(--wp--preset--color--accent);
}

.main-navigation {
    margin-left: auto;
}

.main-navigation .menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.main-navigation a {
    color: var(--wp--preset--color--contrast);
    font-size: 0.94rem;
    font-weight: 650;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
    color: var(--wp--preset--color--primary);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--wp--preset--color--contrast);
    background: transparent;
    border: 1px solid rgba(23, 32, 51, 0.15);
    border-radius: 10px;
}

.menu-toggle .fa-xmark {
    display: none;
}

.menu-toggle.active .fa-bars {
    display: none;
}

.menu-toggle.active .fa-xmark {
    display: inline-block;
}

.wp-block-group {
    padding-block: 88px;
}

.has-surface-background-color {
    background: var(--wp--preset--color--surface);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2,
.entry-title {
    margin-bottom: 14px;
    color: var(--wp--preset--color--contrast);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading.is-style-left {
    margin-left: 0;
    text-align: left;
}

.section-heading p {
    color: var(--wp--preset--color--muted);
    font-size: 1.07rem;
}

.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--wp--custom--header-height) + 76px);
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(15, 20, 39, 0.86), rgba(60, 30, 136, 0.62)),
        url("../../uploads/2026/07/hero-bluzy-gamingowe.png") center / cover no-repeat;
}

.hero-section .wp-block-group__inner-container {
    text-align: center;
}

.hero-section h1 {
    max-width: 930px;
    margin: 0 auto 20px;
    color: #fff;
    font-size: clamp(2.65rem, 7vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-section .hero-lead {
    max-width: 720px;
    margin: 0 auto 34px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.88);
}

.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.wp-block-button__link,
button.wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 25px;
    color: #fff;
    background: var(--wp--preset--color--primary);
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 999px;
    font-weight: 750;
    line-height: 1.2;
    box-shadow: 0 9px 22px rgba(91, 55, 209, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
button.wp-element-button:hover,
button.wp-element-button:focus-visible {
    color: #fff;
    background: #4324ae;
    border-color: #4324ae;
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(91, 55, 209, 0.3);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
    color: var(--wp--preset--color--contrast);
    background: #fff;
    border-color: #fff;
}

.hero-note {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-note i {
    margin-right: 8px;
    color: #8ff1df;
}

.product-grid,
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(23, 32, 51, 0.08);
    border-radius: var(--wp--custom--radius);
    box-shadow: var(--wp--preset--shadow--soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--wp--preset--shadow--hover);
}

.product-card .wp-block-post-featured-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card__content {
    padding: 24px;
    text-align: center;
}

.product-card h3 {
    margin-bottom: 10px;
    color: var(--wp--preset--color--contrast);
    font-size: 1.32rem;
    line-height: 1.25;
}

.product-card__description {
    min-height: 52px;
    color: var(--wp--preset--color--muted);
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 18px 0;
    list-style: none;
}

.product-meta li {
    padding: 5px 10px;
    color: #4c5570;
    background: #f0effb;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 650;
}

.price {
    margin: 16px 0;
    color: var(--wp--preset--color--primary);
    font-size: 1.35rem;
    font-weight: 800;
}

.onsale {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    padding: 6px 11px;
    color: #092d27;
    background: #8ff1df;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.product-card .wp-block-button__link {
    width: 100%;
}

.feature-layout,
.shipping-layout,
.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 6vw, 72px);
    align-items: center;
}

.feature-list {
    display: grid;
    gap: 24px;
}

.feature-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
}

.feature-item__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--wp--preset--color--primary);
    background: #eeebff;
    border-radius: 12px;
    font-size: 1.25rem;
}

.feature-item h3 {
    margin-bottom: 6px;
    color: var(--wp--preset--color--contrast);
    font-size: 1.2rem;
}

.feature-item p,
.shipping-copy p {
    color: var(--wp--preset--color--muted);
}

.quality-image img {
    width: 100%;
    border-radius: calc(var(--wp--custom--radius) + 4px);
    box-shadow: var(--wp--preset--shadow--soft);
}

.shipping-layout {
    align-items: start;
}

.shipping-points {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.shipping-points p {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    margin: 0;
}

.shipping-points i {
    margin-top: 5px;
    color: var(--wp--preset--color--primary);
}

.size-card {
    padding: 30px;
    background: #fff;
    border-radius: var(--wp--custom--radius);
    box-shadow: var(--wp--preset--shadow--soft);
}

.size-card h3 {
    color: var(--wp--preset--color--contrast);
}

.size-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    text-align: center;
}

.size-table th,
.size-table td {
    padding: 12px 8px;
    border: 1px solid #dde0ea;
}

.size-table th {
    background: #f0effb;
}

.review-card {
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(23, 32, 51, 0.08);
    border-radius: var(--wp--custom--radius);
    box-shadow: var(--wp--preset--shadow--soft);
}

.stars {
    margin-bottom: 14px;
    color: #f0aa17;
    letter-spacing: 2px;
}

.review-card blockquote {
    color: #3b4359;
}

.review-card cite {
    display: block;
    margin-top: 18px;
    color: var(--wp--preset--color--contrast);
    font-style: normal;
    font-weight: 750;
}

.contact-layout {
    align-items: start;
}

.contact-form-wrap,
.contact-info {
    padding: 32px;
    background: #fff;
    border-radius: var(--wp--custom--radius);
    box-shadow: var(--wp--preset--shadow--soft);
}

.contact-form-wrap h2,
.contact-info h2 {
    margin-bottom: 10px;
    color: var(--wp--preset--color--contrast);
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.contact-form-intro {
    margin-bottom: 24px;
    color: var(--wp--preset--color--muted);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #2c344a;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    color: var(--wp--preset--color--contrast);
    background: #fff;
    border: 1px solid #cfd4df;
    border-radius: 9px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 135px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 0 0 3px rgba(91, 55, 209, 0.13);
}

.privacy-check {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
}

.privacy-check input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--wp--preset--color--primary);
}

.privacy-check label {
    margin: 0;
    font-weight: 500;
}

.form-status {
    min-height: 26px;
    margin-top: 14px;
    font-weight: 650;
}

.form-status.success {
    color: #0a735f;
}

.contact-list {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.contact-item i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--wp--preset--color--primary);
    background: #eeebff;
    border-radius: 10px;
}

.contact-item strong {
    display: block;
    margin-bottom: 3px;
}

.site-footer {
    padding: 66px 0 22px;
    color: #dce1ed;
    background: #151b2c;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 42px;
}

.widget-title {
    margin-bottom: 16px;
    color: #fff;
    font-size: 1.14rem;
}

.site-footer ul {
    list-style: none;
}

.site-footer li + li {
    margin-top: 9px;
}

.site-footer a {
    color: #dce1ed;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #fff;
}

.site-info {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #aeb6c8;
    font-size: 0.9rem;
    text-align: center;
}

.cookie-banner {
    position: fixed;
    z-index: 1200;
    right: 18px;
    bottom: 18px;
    display: none;
    align-items: center;
    gap: 18px;
    width: min(520px, calc(100% - 36px));
    padding: 18px;
    color: #fff;
    background: #151b2c;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.93rem;
}

.cookie-banner a {
    color: #aeece0;
    text-decoration: underline;
}

.cookie-banner .wp-element-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 18px;
}

.section-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.section-fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Strona polityki prywatności */
.privacy-policy .site-main {
    padding: calc(var(--wp--custom--header-height) + 72px) 0 88px;
    background: var(--wp--preset--color--surface);
}

.privacy-policy .entry-header,
.privacy-policy .entry-content {
    max-width: 880px;
}

.privacy-policy .entry-header {
    margin-bottom: 22px;
}

.privacy-policy .entry-meta {
    color: var(--wp--preset--color--muted);
}

.privacy-policy .entry-content {
    padding: clamp(26px, 5vw, 52px);
    background: #fff;
    border-radius: var(--wp--custom--radius);
    box-shadow: var(--wp--preset--shadow--soft);
}

.privacy-policy .entry-content h2 {
    margin: 34px 0 14px;
    color: var(--wp--preset--color--contrast);
    font-size: 1.5rem;
}

.privacy-policy .entry-content h2:first-child {
    margin-top: 0;
}

.privacy-policy .entry-content p,
.privacy-policy .entry-content li {
    margin-bottom: 12px;
}

.privacy-policy .entry-content ul {
    margin: 0 0 20px 22px;
}

.back-link {
    display: inline-flex;
    margin-top: 28px;
    font-weight: 750;
}

@media (max-width: 980px) {
    .main-navigation .menu {
        gap: 15px;
    }

    .main-navigation a {
        font-size: 0.86rem;
    }

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

@media (max-width: 780px) {
    :root {
        --wp--custom--header-height: 68px;
    }

    .site-header__inner {
        width: min(calc(100% - 28px), var(--wp--style--global--content-size));
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-navigation {
        position: absolute;
        top: var(--wp--custom--header-height);
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 12px 24px rgba(23, 32, 51, 0.1);
        transition: max-height 0.35s ease;
    }

    .main-navigation.active {
        max-height: 520px;
    }

    .main-navigation .menu {
        display: grid;
        gap: 0;
        width: min(calc(100% - 28px), var(--wp--style--global--content-size));
        margin-inline: auto;
        padding: 12px 0 20px;
    }

    .main-navigation a {
        display: block;
        padding: 11px 4px;
        font-size: 1rem;
    }

    .wp-block-group {
        padding-block: 66px;
    }

    .hero-section {
        min-height: 760px;
        padding-top: calc(var(--wp--custom--header-height) + 62px);
    }

    .feature-layout,
    .shipping-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 580px) {
    .wp-block-group__inner-container,
    .entry-content,
    .entry-header,
    .site-footer__inner {
        width: min(calc(100% - 28px), var(--wp--style--global--content-size));
    }

    .hero-section h1 {
        font-size: clamp(2.35rem, 13vw, 3.5rem);
    }

    .wp-block-buttons {
        display: grid;
    }

    .wp-block-button,
    .wp-block-button__link {
        width: 100%;
    }

    .product-grid,
    .review-grid,
    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap,
    .contact-info,
    .size-card {
        padding: 24px 20px;
    }

    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .section-fade-in {
        opacity: 1;
        transform: none;
    }
}
