/*
Theme Name: Wicked Things
Theme URI: https://wickedthings.co.uk
Author: Wicked Things
Description: Custom WooCommerce block theme for Wicked Things.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.3
License: GPL-2.0-or-later
Text Domain: wicked-things
*/

/* =========================================================
   WICKED THINGS — GLOBAL FOUNDATION
   ========================================================= */

:root {
    --wt-black: #111111;
    --wt-black-deep: #080808;
    --wt-white: #ffffff;
    --wt-grey: #6b6b6b;
    --wt-light-grey: #f2f2f2;
    --wt-red: #b51218;
    --wt-red-dark: #7d0c11;
    --wt-border: #2b2b2b;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--wt-white);
    color: var(--wt-black);
}

/* =========================================================
   HEADER
   ========================================================= */

.wt-site-header {
    position: relative;
    z-index: 50;
    background: var(--wt-black-deep);
    color: var(--wt-white);
    border-bottom: 3px solid var(--wt-red);
}

.wt-header-inner {
    min-height: 86px;
    padding: 0 24px;
    box-sizing: border-box;
}

.wt-brand {
    gap: 14px;
    margin: 0;
}

.wt-logo-placeholder {
    width: 52px;
    height: 52px;
    margin: 0;
    border: 2px solid #777;
    border-radius: 50%;
    background: #171717;
    box-sizing: border-box;
}

.wt-logo-placeholder span {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
}

.wt-wordmark {
    margin: 0;
}

.wt-brand-name {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.08em;
}

.wt-brand-tagline {
    margin: 4px 0 0;
    color: #a9a9a9;
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.05em;
}

.wt-main-navigation {
    margin: 0;
}

.wt-main-navigation .wp-block-navigation-item__content {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 8px;
    transition: color 0.2s ease;
}

.wt-main-navigation .wp-block-navigation-item__content:hover,
.wt-main-navigation .wp-block-navigation-item__content:focus {
    color: #ffffff;
    text-decoration: none;
}

.wt-main-navigation .wp-block-navigation-item__content:hover {
    color: #d21b22;
}

.wt-main-navigation .wp-block-navigation__responsive-container-open {
    color: #ffffff;
}

@media (max-width: 900px) {
    .wt-header-inner {
        min-height: 74px;
        padding: 0 18px;
    }

    .wt-logo-placeholder {
        width: 46px;
        height: 46px;
    }

    .wt-brand-name {
        font-size: 0.95rem;
    }

    .wt-brand-tagline {
        font-size: 0.65rem;
    }
}

@media (max-width: 600px) {
    .wt-header-inner {
        padding: 0 14px;
    }

    .wt-brand {
        gap: 10px;
    }

    .wt-wordmark {
        display: block;
    }

    .wt-brand-tagline {
        display: none;
    }

    .wt-logo-placeholder {
        width: 42px;
        height: 42px;
    }

    .wt-main-navigation .wp-block-navigation__responsive-container-open {
        padding: 8px;
    }
}


/* =========================================================
   WICKED THINGS — HOMEPAGE VISUAL SYSTEM
   ========================================================= */

/* ---------------------------------------------------------
   HOMEPAGE BASE
   --------------------------------------------------------- */

.wt-home {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.wt-home > .wp-block-group {
    margin-block-start: 0;
}


/* ---------------------------------------------------------
   INTRO / HERO
   --------------------------------------------------------- */

.wt-home-intro {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(55px, 7vw, 105px) 24px clamp(50px, 6vw, 85px);
    text-align: center;
    background: #ffffff;
}

.wt-home-title {
    margin: 0;
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.wt-home-subtitle {
    max-width: 1050px;
    margin: 24px auto 30px;
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    line-height: 1.5;
}

.wt-primary-button .wp-block-button__link {
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.wt-primary-button .wp-block-button__link:hover,
.wt-primary-button .wp-block-button__link:focus {
    background: #b51218;
    border-color: #b51218;
    color: #ffffff;
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   THE TWO WORLDS
   --------------------------------------------------------- */

.wt-worlds {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #080808;
}

.wt-worlds-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    width: 100%;
    min-height: min(620px, 48vw);
    background: #080808;
}


/* ---------------------------------------------------------
   INDIVIDUAL WORLDS
   --------------------------------------------------------- */

.wt-world {
    position: relative;
    display: block;
    min-width: 0;
    min-height: min(620px, 48vw);
    overflow: hidden;
    color: #ffffff;
    background: #151515;
    text-decoration: none;
}

.wt-world-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    /*
     * These are deliberately neutral until the locked
     * Minis and Retail artwork is connected.
     */
    background-color: #151515;

    transition: transform 0.7s ease;
}

.wt-world:hover .wt-world-image {
    transform: scale(1.025);
}


/* ---------------------------------------------------------
   CINEMATIC OVERLAY
   --------------------------------------------------------- */

.wt-world::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.58) 0%,
            rgba(0,0,0,0.18) 55%,
            rgba(0,0,0,0.08) 100%
        );
}

.wt-world-retail::before {
    background:
        linear-gradient(
            270deg,
            rgba(0,0,0,0.58) 0%,
            rgba(0,0,0,0.18) 55%,
            rgba(0,0,0,0.08) 100%
        );
}


/* ---------------------------------------------------------
   WORLD CONTENT
   --------------------------------------------------------- */

.wt-world-content {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;

    box-sizing: border-box;
    padding: clamp(28px, 4vw, 58px);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wt-world-label {
    display: block;
    font-size: clamp(1.35rem, 2.25vw, 2.25rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0.055em;
}

.wt-world-description {
    display: block;
    max-width: 560px;
    font-size: clamp(0.82rem, 1vw, 1rem);
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
}

.wt-world-button {
    display: inline-flex;
    align-self: flex-start;

    margin-top: 8px;
    padding: 11px 21px;

    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 999px;

    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;

    color: #ffffff;
    background: rgba(0,0,0,0.25);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.wt-world:hover .wt-world-button {
    background: #b51218;
    border-color: #b51218;
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   RETAIL ALIGNMENT
   --------------------------------------------------------- */

.wt-world-retail .wt-world-content {
    align-items: flex-end;
    text-align: right;
}

.wt-world-retail .wt-world-description {
    margin-left: auto;
}

.wt-world-retail .wt-world-button {
    align-self: flex-end;
}


/* ---------------------------------------------------------
   CENTRE JOINING ELEMENT
   --------------------------------------------------------- */

.wt-world-centre {
    position: relative;
    z-index: 10;

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

    min-width: 0;

    background:
        linear-gradient(
            90deg,
            #080808 0%,
            #111111 50%,
            #080808 100%
        );
}

.wt-world-centre::before,
.wt-world-centre::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: calc(50% - 45px);
    transform: translateX(-50%);
    background: rgba(255,255,255,0.18);
}

.wt-world-centre::before {
    top: 0;
}

.wt-world-centre::after {
    bottom: 0;
}

.wt-world-centre-mark {
    position: relative;
    z-index: 3;

    width: 54px;
    height: 54px;

    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;

    background: #080808;
}

.wt-world-centre-mark::before,
.wt-world-centre-mark::after {
    content: "";
    position: absolute;

    top: 50%;
    left: 50%;

    width: 18px;
    height: 1px;

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

    transform: translate(-50%, -50%);
}

.wt-world-centre-mark::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* ---------------------------------------------------------
   FEATURED PRODUCTS
   --------------------------------------------------------- */

.wt-featured {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(65px, 8vw, 110px) 24px;
}

.wt-featured h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.wt-section-intro {
    margin: 0 0 40px;
    color: #666666;
}


/* WooCommerce product grid */

.wt-featured .wc-block-grid,
.wt-featured .wc-block-product-new,
.wt-featured ul.wc-block-grid__products {
    width: 100%;
}

.wt-featured .wc-block-grid__products {
    gap: 24px;
}

.wt-featured .wc-block-grid__product {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   SELL TO WICKED THINGS
   --------------------------------------------------------- */

.wt-sell-section {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(65px, 8vw, 105px) 24px;

    background: #111111;
    color: #ffffff;

    text-align: center;
}

.wt-sell-section h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.wt-sell-section p {
    margin-bottom: 30px;
    color: rgba(255,255,255,0.82);
}

.wt-sell-section .wp-block-button__link {
    background: #ffffff;
    color: #111111;
    border: 1px solid #ffffff;

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

.wt-sell-section .wp-block-button__link:hover,
.wt-sell-section .wp-block-button__link:focus {
    background: #b51218;
    border-color: #b51218;
    color: #ffffff;
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .wt-worlds-inner {
        grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
        min-height: 520px;
    }

    .wt-world {
        min-height: 520px;
    }

    .wt-world-content {
        padding: 32px;
    }

    .wt-world-centre-mark {
        width: 46px;
        height: 46px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .wt-home-intro {
        padding-top: 55px;
        padding-bottom: 50px;
    }

    .wt-home-subtitle {
        max-width: 620px;
    }

    /*
     * On mobile the two worlds become two full-width
     * visual panels. The centre joining element disappears
     * because there is no longer a horizontal composition.
     */

    .wt-worlds-inner {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .wt-world {
        min-height: 500px;
    }

    .wt-world-centre {
        display: none;
    }

    .wt-world-retail .wt-world-content {
        align-items: flex-start;
        text-align: left;
    }

    .wt-world-retail .wt-world-description {
        margin-left: 0;
    }

    .wt-world-retail .wt-world-button {
        align-self: flex-start;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 520px) {

    .wt-home-intro {
        padding-right: 18px;
        padding-left: 18px;
    }

    .wt-home-subtitle {
        font-size: 0.95rem;
    }

    .wt-world {
        min-height: 430px;
    }

    .wt-world-content {
        padding: 24px 20px;
    }

    .wt-world-label {
        font-size: 1.25rem;
    }

    .wt-world-description {
        font-size: 0.82rem;
    }

    .wt-featured {
        padding-right: 18px;
        padding-left: 18px;
    }

    .wt-sell-section {
        padding-right: 18px;
        padding-left: 18px;
    }
}


/* =========================================================
   CLICKABLE BRAND
   ========================================================= */

.wt-brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.wt-brand-link:hover,
.wt-brand-link:focus {
    color: inherit;
    text-decoration: none;
}

.wt-brand-link .wt-logo-placeholder,
.wt-brand-link .wt-wordmark {
    margin: 0;
}

.wt-brand-link .wt-brand-name,
.wt-brand-link .wt-brand-tagline {
    text-decoration: none;
}

.wt-brand-link:hover .wt-logo-placeholder {
    border-color: #b51218;
}

.wt-brand-link:hover .wt-brand-name {
    color: #ffffff;
}

@media (max-width: 600px) {

    .wt-brand-link {
        gap: 10px;
    }
}


/* =========================================================
   HOMEPAGE — APPROVED ARTWORK INTEGRATION
   ========================================================= */

/* Minis artwork */
.wt-minis-art {
    background-image: url("/wp-content/uploads/wicked-things/wicked-things-minis-hero.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Retail artwork */
.wt-retail-art {
    background-image: url("/wp-content/uploads/wicked-things/wicked-things-retail-hero.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* ---------------------------------------------------------
   BLEND THE TWO WORLDS INTO THE CENTRE
   --------------------------------------------------------- */

.wt-world-minis .wt-world-image {
    -webkit-mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 78%,
        rgba(0,0,0,0.85) 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 78%,
        rgba(0,0,0,0.85) 88%,
        transparent 100%
    );
}

.wt-world-retail .wt-world-image {
    -webkit-mask-image: linear-gradient(
        to left,
        #000 0%,
        #000 78%,
        rgba(0,0,0,0.85) 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to left,
        #000 0%,
        #000 78%,
        rgba(0,0,0,0.85) 88%,
        transparent 100%
    );
}


/* ---------------------------------------------------------
   CENTRE — KEEP CLEAN AND DARK
   --------------------------------------------------------- */

.wt-world-centre {
    background:
        radial-gradient(
            circle at center,
            rgba(181,18,24,0.08) 0%,
            rgba(8,8,8,0.96) 52%,
            #080808 100%
        );
}


/* ---------------------------------------------------------
   SELL TO WICKED THINGS — APPROVED BANNER
   --------------------------------------------------------- */

.wt-sell-section {
    position: relative;
    overflow: hidden;
}


/* Keep Sell content above the artwork */
.wt-sell-section > * {
    position: relative;
    z-index: 1;
}


/* ---------------------------------------------------------
   MOBILE — PREVENT EXTREME CROPPING
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .wt-minis-art {
        background-position: 48% center;
    }

    .wt-retail-art {
        background-position: 52% center;
    }

    .wt-sell-section {
        background-position: center center;
        min-height: 420px;
        display: flex;
        align-items: center;
    }
}


/* =========================================================
   WICKED THINGS — AGREED STOREFRONT LAYOUT
   Version 1
   ========================================================= */

/* ---------------------------------------------------------
   SITE CANVAS
   --------------------------------------------------------- */

html,
body {
    background: #080808;
}

body {
    overflow-x: hidden;
}

.wp-site-blocks {
    padding-top: 0;
    padding-bottom: 0;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.wt-site-header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;

    background: #080808;
    border-left: 1px solid #242424;
    border-right: 1px solid #242424;
    border-bottom: 1px solid #2b2b2b;
}

.wt-header-inner {
    width: calc(100% - 38px);
    max-width: 1120px;
    min-height: 104px;
    margin: 0 auto;

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

    gap: 32px;
}

.wt-brand {
    min-width: 0;
    flex-shrink: 0;
}

.wt-brand-link {
    display: block;
    line-height: 0;
}

.wt-primary-logo {
    display: block;
    width: min(430px, 38vw);
    height: auto;
    max-height: 82px;
    object-fit: contain;
}

.wt-main-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.wt-main-navigation .wp-block-navigation__container {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 22px;
}

.wt-main-navigation .wp-block-navigation-item {
    white-space: nowrap;
}

.wt-main-navigation .wp-block-navigation-item__content {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.wt-main-navigation .wp-block-navigation-item__content:hover,
.wt-main-navigation .wp-block-navigation-item__content:focus {
    color: #b51218;
}


/* ---------------------------------------------------------
   CONSTRAINED HOME STOREFRONT
   --------------------------------------------------------- */

.wt-home {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;

    background: #080808;
    border-left: 1px solid #242424;
    border-right: 1px solid #242424;

    color: #ffffff;
}

.wt-home-shell {
    width: calc(100% - 38px);
    max-width: 1120px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   MAIN HERO
   --------------------------------------------------------- */

.wt-main-hero {
    position: relative;

    width: calc(100% + clamp(38px, calc(100vw - 1120px), 80px));
    margin-left: calc(-1 * clamp(19px, calc((100vw - 1120px) / 2), 40px));

    min-height: 320px;

    background-color: #101010;
    background-image: url("/wp-content/uploads/wicked-things/wicked-things-main-hero.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    overflow: hidden;

    border: 1px solid #303030;
    border-top: 0;

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


.wt-hero-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 6;
    width: 5px;
    background: linear-gradient(
        to bottom,
        rgba(181,18,24,0.35) 0%,
        #b51218 7%,
        #b51218 93%,
        rgba(181,18,24,0.35) 100%
    );
    box-shadow:
        0 0 5px rgba(181,18,24,0.35),
        0 0 10px rgba(181,18,24,0.15);
    pointer-events: none;
}

.wt-hero-edge-left {
    left: calc(50% - min(15%, 190px));
    transform: skewX(-4.5deg);
    transform-origin: bottom center;
}

.wt-hero-edge-right {
    right: calc(50% - min(15%, 190px));
    transform: skewX(4.5deg);
    transform-origin: bottom center;
}

.wt-hero-centre {
    position: relative;
    z-index: 5;

    width: min(30%, 380px);
    min-height: 320px;

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

    padding: 24px 42px;
    box-sizing: border-box;

    background:
        radial-gradient(
            circle at center,
            rgba(181,18,24,0.10),
            rgba(8,8,8,0.97) 72%
        );

    border-left: 1px solid rgba(181,18,24,0.65);
    border-right: 1px solid rgba(181,18,24,0.65);

    clip-path: polygon(
        7% 0,
        93% 0,
        100% 100%,
        0 100%
    );

    text-align: center;
}

.wt-hero-centre::before,
.wt-hero-centre::after {
    content: "";

    position: absolute;
    left: 9%;
    right: 9%;

    height: 1px;

    background: #3a3a3a;
}

.wt-hero-centre::before {
    top: 18px;
}

.wt-hero-centre::after {
    bottom: 18px;
}

.wt-hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    gap: 5px;
}

.wt-hero-logo-mark-image {
    display: block;

    width: 82px;
    height: 82px;

    object-fit: contain;
}

.wt-hero-logo-wordmark-image {
    display: block;

    width: min(250px, 100%);
    height: auto;

    object-fit: contain;
}

.wt-hero-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    margin-top: 5px;

    color: #d8d8d8;

    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wt-hero-dot {
    margin: 0 6px;
    color: #b51218;
}

.wt-hero-divider {
    display: block;
    width: 100%;
    max-width: 430px;
    height: auto;
    aspect-ratio: 1894 / 148;
    margin: 10px 0 9px;

    background-image: url("/wp-content/uploads/wicked-things/wicked-things-divider.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.wt-section-divider {
    display: block;
    width: min(30%, 380px);
    max-width: 380px;
    height: auto;
    aspect-ratio: 1894 / 148;
    margin: 0 auto 8px;

    background-image: url("/wp-content/uploads/wicked-things/wicked-things-divider.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.wt-hero-tagline {
    display: block;

    color: #ffffff;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.35;

    text-transform: uppercase;
}

.wt-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 15px;
}

.wt-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 112px;
    box-sizing: border-box;

    padding: 10px 16px;

    background: #b51218;
    border: 1px solid #b51218;

    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.wt-hero-button::after {
    content: ">";
    display: inline-block;

    font-size: 1em;
    line-height: 1;

    transition: transform 0.2s ease;
}

.wt-hero-button:hover::after,
.wt-hero-button:focus::after {
    transform: translateX(3px);
}

.wt-hero-button:hover,
.wt-hero-button:focus {
    background: #d01820;
    border-color: #d01820;
    color: #ffffff;
    transform: translateY(-2px);
}

.wt-hero-button-retail {
    background: transparent;
    border-color: rgba(255,255,255,0.7);
}

.wt-hero-button-retail:hover,
.wt-hero-button-retail:focus {
    background: #b51218;
    border-color: #b51218;
}

/* ---------------------------------------------------------
   TRUST STRIP
   --------------------------------------------------------- */

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

    margin-top: 14px;

    border: 1px solid #2c2c2c;
    background: #101010;
}

.wt-trust-item {
    padding: 12px 18px;

    border-right: 1px solid #292929;

    text-align: left;
}

.wt-trust-item:last-child {
    border-right: 0;
}


.wt-trust-icon {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto 9px;
}

.wt-trust-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #b51218;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.wt-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.wt-trust-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0 14px 0 0;
}

.wt-trust-copy {
    min-width: 0;
}

.wt-trust-copy strong {
    margin: 0;
}

.wt-trust-copy span {
    margin-top: 5px;
}


.wt-trust-item strong {
    display: block;

    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wt-trust-item span {
    display: block;
    margin-top: 0px;

    color: rgba(255,255,255,0.52);
    font-size: 0.72rem;
}


/* ---------------------------------------------------------
   FEATURED PRODUCTS BANNER
   --------------------------------------------------------- */

.wt-featured-banner {
    position: relative;
    width: calc(100% + 80px);
    margin: 0 -40px 28px;
    overflow: hidden;
    line-height: 0;
}

.wt-featured-banner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.wt-featured-view-all {
    display: flex;
    justify-content: flex-end;
    margin: -18px 0 12px;
    padding-right: 38px;
}

.wt-featured-banner__link {
    display: inline-block;
    color: #b51218;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.wt-featured-banner__link span {
    margin-left: 5px;
    font-size: 1rem;
}

.wt-featured-banner__link:hover,
.wt-featured-banner__link:focus {
    color: #ffffff;
}


/* ---------------------------------------------------------
   SECTION HEADINGS
   --------------------------------------------------------- */

.wt-section-heading {
    margin-bottom: 28px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: baseline;
    width: 100%;
    text-align: left;
}

.wt-section-heading h2 {
    grid-column: 1;
    justify-self: end;
    margin: 0;

    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.wt-section-heading-separator {
    grid-column: 2;
    display: block;
    margin: 0 16px;

    color: rgba(255,255,255,0.58);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
}

.wt-section-heading p {
    grid-column: 3;
    justify-self: start;
    margin: 0;

    color: rgba(255,255,255,0.58);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
}


/* ---------------------------------------------------------
   CATEGORY SECTION
   --------------------------------------------------------- */

.wt-category-section {
    padding: 24px 0 0;
}

.wt-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.wt-category-card {
    position: relative;

    min-height: 352px;
    overflow: hidden;

    display: flex;
    align-items: flex-end;

    border: 1px solid #303030;

    color: #ffffff;
    text-decoration: none;

    background: #151515;
}

.wt-category-image {
    position: absolute;
    inset: 0;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    transition: transform 0.6s ease;
}

.wt-category-minis .wt-category-image {
    background-image: url("/wp-content/uploads/wicked-things/wicked-things-minis-hero.webp");
}

.wt-category-retail .wt-category-image {
    background-image: url("/wp-content/uploads/wicked-things/wicked-things-retail-hero.webp");
}

.wt-category-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,0.88) 0%,
            rgba(0,0,0,0.38) 55%,
            rgba(0,0,0,0.05) 100%
        );
}

.wt-category-card:hover .wt-category-image {
    transform: scale(1.025);
}

.wt-category-content {
    position: relative;
    z-index: 2;

    width: 100%;
    box-sizing: border-box;

    padding: 27px;
}

.wt-category-kicker {
    display: block;
    margin-bottom: 5px;

    color: rgba(255,255,255,0.68);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.wt-category-content h3 {
    margin: 0 0 9px;

    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    line-height: 1;
}

.wt-category-content p {
    max-width: 500px;
    margin: 0 0 20px;

    color: rgba(255,255,255,0.78);
}

.wt-category-button {
    display: inline-block;

    padding: 10px 18px;

    border: 1px solid rgba(255,255,255,0.7);

    color: #ffffff;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wt-category-minis .wt-category-button {
    border-color: #b51218;
    background: #b51218;
    color: #ffffff;
}
/* ---------------------------------------------------------
   SELL TO WICKED THINGS
   --------------------------------------------------------- */

.wt-sell-section {
    padding: 24px 0 0;
}

.wt-sell-banner {
    position: relative;

    min-height: 336px;
    overflow: hidden;

    border: 1px solid #303030;

    background: #111111;
}

.wt-sell-image {
    position: absolute;
    inset: 0;

    background-image: url("/wp-content/uploads/wicked-things/wicked-things-sell-banner.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transition: transform 0.6s ease;
}

.wt-sell-banner:hover .wt-sell-image {
    transform: scale(1.015);
}

.wt-sell-overlay {
    position: relative;
    z-index: 2;

    min-height: 336px;
    box-sizing: border-box;

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

    width: 50%;
    padding: 38px;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.82) 0%,
            rgba(0,0,0,0.62) 72%,
            rgba(0,0,0,0) 100%
        );
}

.wt-sell-kicker {
    margin-bottom: 10px;

    color: #b51218;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.wt-sell-overlay h2 {
    max-width: 500px;
    margin: 0 0 14px;

    color: #ffffff;
    font-size: clamp(1.7rem, 2.5vw, 2.25rem);
    line-height: 1.08;
}

.wt-sell-overlay p {
    max-width: 500px;
    margin: 0 0 20px;

    color: rgba(255,255,255,0.78);
    font-size: 0.86rem;
    line-height: 1.55;
}

.wt-sell-button {
    display: inline-block;
    padding: 11px 20px;

    border: 1px solid rgba(255,255,255,0.7);

    color: #ffffff;
    background: transparent;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.wt-sell-button:hover,
.wt-sell-button:focus {
    border-color: #b51218;
    background: #b51218;
    color: #ffffff;
}


/* ---------------------------------------------------------
   PRODUCTS
   --------------------------------------------------------- */

.wt-products-section {
    padding: 24px 0 38px;
}

.wt-products-section .wc-block-grid,
.wt-products-section .wc-block-product-new {
    margin-top: 0;
}

.wt-products-section ul.wc-block-grid__products {
    gap: 14px;
}

.wt-products-section .wc-block-grid__product {
    box-sizing: border-box;

    overflow: hidden;

    border: 1px solid #2d2d2d;
    background: #111111;

    padding: 14px;
}

.wt-products-section .wc-block-grid__product-link {
    color: #ffffff;
    text-decoration: none;
}

.wt-products-section .wc-block-grid__product-title {
    color: #ffffff;
    font-size: 0.9rem;
}

.wt-products-section .wc-block-grid__product-price {
    color: rgba(255,255,255,0.8);
}

.wt-view-all {
    margin-top: 24px;

    text-align: center;
}

.wt-outline-button {
    display: inline-block;

    padding: 13px 25px;

    border: 1px solid #777777;

    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.wt-outline-button:hover,
.wt-outline-button:focus {
    border-color: #b51218;
    background: #b51218;
    color: #ffffff;
}



/* ---------------------------------------------------------
   SITE FOOTER
   --------------------------------------------------------- */

.wt-footer-template-part {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.wt-site-footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    
    background:
        linear-gradient(
            180deg,
            #111111 0%,
            #0b0b0b 100%
        );
    border-top: 1px solid #303030;
    border-left: 1px solid #242424;
    border-right: 1px solid #242424;    
    color: #ffffff;
}

.wt-footer-inner {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 18px;
    box-sizing: border-box;
}

.wt-footer-columns {
    display: grid;
    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 0.85fr)
        minmax(0, 1fr)
        minmax(0, 0.9fr)
        minmax(0, 1.45fr);
    gap: 0;
}

.wt-footer-column {
    min-width: 0;
    padding: 0 26px;
    border-left: 1px solid #292929;
}

.wt-footer-column:first-child {
    padding-left: 0;
    border-left: 0;
}

.wt-footer-column:last-child {
    padding-right: 0;
}

.wt-footer-column h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.wt-footer-column p {
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-size: 0.78rem;
    line-height: 1.65;
}

.wt-footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-footer-column li {
    margin: 0 0 9px;
}

.wt-footer-column li:last-child {
    margin-bottom: 0;
}

.wt-footer-column a {
    color: rgba(255,255,255,0.62);
    font-size: 0.78rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.15s ease;
}

.wt-footer-column a:hover,
.wt-footer-column a:focus {
    color: #b51218;
}

.wt-footer-newsletter {
    display: flex;
    width: 100%;
    margin: 20px 0 0;
}

.wt-footer-newsletter input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #383838;
    border-right: 0;
    border-radius: 0;
    background: #161616;
    color: #ffffff;
    font: inherit;
    font-size: 0.76rem;
}

.wt-footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.42);
}

.wt-footer-newsletter input:focus {
    outline: none;
    border-color: #b51218;
}

.wt-footer-newsletter button {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 18px;
    border: 1px solid #b51218;
    border-radius: 0;
    background: #b51218;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.wt-footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.wt-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid #3a3a3a;
    background: #111111;
    color: #b51218;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.wt-footer-social a svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wt-footer-social a:first-child svg {
    fill: currentColor;
    stroke: none;
}

.wt-footer-social a:hover,
.wt-footer-social a:focus {
    border-color: #b51218;
    background: #b51218;
    color: #ffffff;
}

.wt-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #292929;
}

.wt-footer-copyright {
    color: rgba(255,255,255,0.42);
    font-size: 0.68rem;
}

.wt-footer-payments {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wt-footer-payments span:first-child {
    color: #ffffff;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.wt-footer-payments span:last-child {
    color: rgba(255,255,255,0.38);
    font-size: 0.66rem;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .wt-header-inner {
        width: calc(100% - 32px);
    }

    .wt-primary-logo {
        width: min(330px, 34vw);
    }

    .wt-main-navigation .wp-block-navigation__container {
        gap: 12px;
    }

    .wt-main-navigation .wp-block-navigation-item__content {
        font-size: 0.68rem;
    }

    .wt-home-shell {
        width: calc(100% - 32px);
    }

    .wt-main-hero {
        min-height: 300px;
    }

    .wt-hero-centre {
        width: min(48%, 470px);
        min-height: 300px;
        padding: 22px 34px;
    }

    .wt-trust-item {
        padding: 17px 10px;
    }

    .wt-sell-overlay {
        width: 65%;
        padding: 40px;
    }
}


@media (max-width: 700px) {

    .wt-header-inner {
        min-height: 82px;
        width: calc(100% - 24px);
    }

    .wt-primary-logo {
        width: 230px;
        max-height: 62px;
    }

    .wt-main-navigation {
        flex: 0 0 auto;
    }

    .wt-main-navigation .wp-block-navigation__container {
        gap: 8px;
    }

    .wt-main-navigation .wp-block-navigation-item__content {
        font-size: 0;
    }

    .wt-main-navigation .wp-block-navigation-item__content::before {
        content: "☰";

        color: #ffffff;
        font-size: 1.25rem;
    }

    .wt-home-shell {
        width: calc(100% - 20px);
    }

    .wt-main-hero {
        min-height: 390px;

        background-size: auto 100%;
        background-position: center center;
    }

    .wt-hero-centre {
        width: min(88%, 460px);
        min-height: 350px;

        padding: 28px 30px;

        clip-path: polygon(
            5% 0,
            95% 0,
            100% 100%,
            0 100%
        );
    }

    .wt-hero-centre::before,
    .wt-hero-centre::after {
        left: 7%;
        right: 7%;
    }

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

    .wt-trust-item:nth-child(2) {
        border-right: 0;
    }

    .wt-trust-item:nth-child(-n+2) {
        border-bottom: 1px solid #292929;
    }

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

    .wt-category-card {
        min-height: 390px;
    }

    .wt-sell-overlay {
        width: 100%;
        min-height: 420px;
        padding: 32px;

        background:
            linear-gradient(
                0deg,
                rgba(0,0,0,0.88) 0%,
                rgba(0,0,0,0.45) 100%
            );
    }

    .wt-products-section,
    .wt-category-section,
    .wt-sell-section {
        padding-top: 55px;
    }
}
