/**
 * ScarletBeast Theme — Main Stylesheet
 * Modern · Contemporary · Scarlet × Black × White
 * Programming-Inspired Design Language
 */

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@300;400;500;600;700&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand */
    --scarlet:          #CC1A1A;
    --scarlet-dark:     #991212;
    --scarlet-deep:     #6B0A0A;
    --scarlet-light:    #FF2D2D;
    --scarlet-glow:     rgba(204, 26, 26, 0.2);
    --scarlet-muted:    rgba(204, 26, 26, 0.08);

    /* Blacks */
    --black-pure:       #000000;
    --black-rich:       #0A0A0A;
    --black-deep:       #111111;
    --black-surface:    #181818;
    --black-elevated:   #1E1E1E;
    --black-card:       #242424;
    --black-border:     #2E2E2E;

    /* Whites */
    --white:            #FFFFFF;
    --white-off:        #F8F8F8;
    --white-muted:      #E0E0E0;
    --white-dim:        #BBBBBB;

    /* Code */
    --code-green:       #4EC94E;
    --code-blue:        #569CD6;
    --code-yellow:      #DCDCAA;
    --code-orange:      #CE9178;
    --code-purple:      #C586C0;
    --code-cyan:        #4FC1FF;
    --code-comment:     #6A9955;

    /* Typography */
    --font-display:     'Bebas Neue', Impact, sans-serif;
    --font-heading:     'Rajdhani', 'Barlow Condensed', sans-serif;
    --font-body:        'Barlow', 'Helvetica Neue', Arial, sans-serif;
    --font-mono:        'JetBrains Mono', 'Fira Code', monospace;

    /* Layout */
    --container-max:    1440px;
    --container-wide:   1280px;

    /* Motion */
    --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:      cubic-bezier(0.45, 0, 0.55, 1);
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black-deep);
    color: var(--white-off);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

h1 { font-family: var(--font-display); font-size: clamp(42px, 8vw, 96px); letter-spacing: 0.04em; }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(20px, 3vw, 36px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; font-family: var(--font-mono); text-transform: none; letter-spacing: 0; }

p { margin-bottom: 1.2em; color: var(--white-dim); }

a {
    color: var(--scarlet);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--scarlet-light); }

strong, b { font-weight: 600; color: var(--white); }
em, i { font-style: italic; }

code, pre, .mono {
    font-family: var(--font-mono);
    font-size: 0.88em;
}

code {
    background: var(--black-card);
    color: var(--code-green);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid var(--black-border);
}

pre {
    background: var(--black-rich);
    border: 1px solid var(--black-border);
    border-left: 3px solid var(--scarlet);
    padding: 20px 24px;
    overflow-x: auto;
    border-radius: 4px;
    line-height: 1.7;
}

/* ============================================================
   PROGRAMMING DECORATIVE ELEMENTS
   ============================================================ */

/* Bracket accents for headings */
.sb-title-bracket::before {
    content: '< ';
    color: var(--scarlet);
    font-family: var(--font-mono);
    font-size: 0.7em;
    opacity: 0.8;
}

.sb-title-bracket::after {
    content: ' />';
    color: var(--scarlet);
    font-family: var(--font-mono);
    font-size: 0.7em;
    opacity: 0.8;
}

/* Hash prefix for section labels */
.sb-label-hash::before {
    content: '# ';
    color: var(--code-comment);
    font-family: var(--font-mono);
    font-size: 0.85em;
}

/* Code-comment styled descriptor */
.sb-comment {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--code-comment);
    display: block;
    margin-bottom: 8px;
}
.sb-comment::before { content: '// '; }

/* Terminal prompt */
.sb-terminal-prompt::before {
    content: '$ ';
    color: var(--scarlet);
    font-family: var(--font-mono);
}

/* ============================================================
   SCARLET ACCENTS & DECORATORS
   ============================================================ */
.sb-accent-line {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: var(--scarlet);
    margin-bottom: 20px;
}

.sb-accent-line-lg {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--scarlet) 0%, transparent 100%);
    margin: 40px 0;
}

.sb-section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--scarlet);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.sb-section-tag::before { content: '<'; margin-right: 4px; }
.sb-section-tag::after { content: '>'; margin-left: 4px; }

/* ============================================================
   CONTAINER
   ============================================================ */
.page-wrapper {
    background-color: var(--black-deep);
    overflow-x: hidden;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.page-header {
    background: var(--black-pure);
    border-bottom: 1px solid var(--black-border);
    position: sticky;
    top: 0;
    z-index: 900;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-header .header.content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px 0 60px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    padding: 15px 0 12px 0;
    gap: 16px;
}

.logo img {
    max-height: 47px;
    width: auto;
    height: auto;
    filter: brightness(1);
    transition: filter 0.2s ease, transform 0.2s ease;
    object-fit: contain;
}

@media screen and (min-width: 768px) {
    .logo {
        padding: 10px 0 8px 0;
    }
    
    .logo img {
        max-height: 47px !important;
    }
}

.logo:hover img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(97%) saturate(6000%) hue-rotate(0deg) brightness(90%);
}

.logo strong {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo strong span {
    color: var(--scarlet);
}

/* Header announcement bar */
.sb-header-notice {
    background: var(--scarlet);
    padding: 8px 24px;
    text-align: center;
}

.sb-header-notice p {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--white);
    letter-spacing: 0.05em;
}

/* Navigation */
.navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.navigation ul li a,
.navigation .level0 > a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--white-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 14px;
    border-radius: 3px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: block;
}

.navigation ul li a:hover,
.navigation .level0 > a:hover,
.navigation .level0.active > a {
    color: var(--scarlet);
    border-color: var(--black-border);
    background: var(--scarlet-muted);
}

/* Submenu */
.navigation .submenu {
    background: var(--black-pure);
    border: 1px solid var(--black-border);
    border-top: 2px solid var(--scarlet);
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.navigation .submenu a {
    font-size: 14px;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
}

/* Header icons */
.header.content .header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header.content .action.showcart,
.header.content .block-search .action.search,
.minicart-wrapper .action.showcart {
    color: var(--white-dim);
    background: transparent;
    border: 1px solid var(--black-border);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header.content .action.showcart:hover,
.minicart-wrapper .action.showcart:hover {
    color: var(--scarlet);
    border-color: var(--scarlet);
    background: var(--scarlet-muted);
}

.minicart-wrapper .counter.qty {
    background: var(--scarlet);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search */
.block-search .field.search .control {
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: border-color 0.2s;
}

.block-search .field.search .control:focus-within {
    border-color: var(--scarlet);
}

.block-search input[type="text"] {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 10px 16px;
    width: 260px;
    outline: none;
    flex: 1;
}

.block-search input[type="text"]::placeholder {
    color: var(--white-dim);
    font-style: italic;
}
.block-search input[type="text"]::placeholder::before {
    content: 'search> ';
    color: var(--code-green);
}

/* Search button positioned inside control, on the right */
.block-search .actions {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.block-search .action.search {
    background: transparent;
    border: none;
    color: var(--white-dim);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 12px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-search .action.search:hover {
    color: var(--scarlet);
}

.block-search .action.search span {
    display: none;
}

/* Hide search label, show only placeholder */
.block-search .field.search .label {
    display: none;
}

/* Position search prominently in header */
.header.content .block-search {
    margin-left: auto;
    flex-shrink: 0;
}

/* Position minicart/cart in header */
.header.content .minicart {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 24px;
    flex-shrink: 0;
}

.header.content .minicart .counter {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--scarlet);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.header.content .minicart-wrapper {
    position: relative;
}

/* Header panel with account links */
.header.panel.wrapper {
    background: var(--black-elevated);
    border-bottom: 1px solid var(--black-border);
    padding: 0;
}

.header.panel {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    height: 50px;
    font-size: 13px;
}

/* Account navigation links */
.header.panel .header.links {
    display: flex;
    gap: 24px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.panel .header.links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.panel .header.links a {
    color: var(--white-dim);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: color 0.2s ease;
}

.header.panel .header.links a:hover {
    color: var(--scarlet);
}

.page-header {
    background: var(--black-pure);
    border-bottom: 1px solid var(--black-border);
    position: sticky;
    top: 0;
    z-index: 900;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Header panel with account links */
.header.panel.wrapper {
    background: var(--black-elevated);
    border-bottom: 1px solid var(--black-border);
    padding: 0;
}

.header.panel {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    height: 50px;
    font-size: 13px;
}

/* Account navigation links */
.header.panel .header.links {
    display: flex;
    gap: 24px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.panel .header.links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.panel .header.links a {
    color: var(--white-dim);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: color 0.2s ease;
}

.header.panel .header.links a:hover {
    color: var(--scarlet);
}

/* ============================================================
   HERO — FULL-BLEED HOMEPAGE BANNERS
   ============================================================ */
.sb-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    max-height: 1000px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--black-pure);
}

.sb-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.6;
    transition: transform 8s ease, opacity 0.8s ease;
}

.sb-hero:hover .sb-hero__image {
    transform: scale(1.04);
}

.sb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--black-pure) 0%,
        rgba(0,0,0,0.7) 40%,
        rgba(0,0,0,0.3) 70%,
        transparent 100%
    );
}

.sb-hero__overlay-scarlet {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(204, 26, 26, 0.12) 0%,
        transparent 60%
    );
}

/* Code-scan lines overlay */
.sb-hero__scanlines {
    position: absolute;
    inset: 0;
    background-image: none;
    pointer-events: none;
    z-index: 2;
}

.sb-hero__content {
    position: relative;
    z-index: 10;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 48px 80px;
    width: 100%;
}

.sb-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--scarlet);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
    opacity: 0;
    transform: translateY(10px);
    animation: sb-fade-up 0.6s var(--ease-out) 0.3s forwards;
}

.sb-hero__eyebrow::before { content: '/** '; }
.sb-hero__eyebrow::after { content: ' */'; }

.sb-hero__title {
    font-family: var(--font-display);
    font-size: clamp(56px, 10vw, 130px);
    font-weight: 400;
    line-height: 0.92;
    color: var(--white);
    margin: 0 0 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: sb-fade-up 0.8s var(--ease-out) 0.5s forwards;
}

.sb-hero__title em {
    color: var(--scarlet);
    font-style: normal;
}

.sb-hero__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 400;
    color: var(--white-dim);
    max-width: 600px;
    margin: 0 0 40px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    animation: sb-fade-up 0.8s var(--ease-out) 0.7s forwards;
}

.sb-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: sb-fade-up 0.8s var(--ease-out) 0.9s forwards;
}

/* Hero scroll indicator */
.sb-hero__scroll {
    position: absolute;
    bottom: 32px;
    right: 48px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: sb-fade-in 1s ease 1.5s forwards;
}

.sb-hero__scroll span {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--white-dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.sb-hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--scarlet), transparent);
    animation: sb-scroll-line 2s ease infinite;
}

/* ============================================================
   BANNER GRID — HOMEPAGE FEATURED IMAGES
   ============================================================ */
.sb-banner-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 3px;
    margin: 3px 0;
}

/* Large featured banner */
.sb-banner-grid .sb-banner--xl {
    grid-column: span 8;
    grid-row: span 2;
    min-height: 600px;
}

.sb-banner-grid .sb-banner--tall {
    grid-column: span 4;
    min-height: 298px;
}

.sb-banner-grid .sb-banner--wide {
    grid-column: span 6;
    min-height: 360px;
}

.sb-banner-grid .sb-banner--medium {
    grid-column: span 4;
    min-height: 240px;
}

/* Banner cell */
.sb-banner {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: var(--black-card);
    cursor: pointer;
}

.sb-banner img,
.sb-banner .sb-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out), opacity 0.4s ease;
    opacity: 0.85;
}

.sb-banner:hover img,
.sb-banner:hover .sb-banner__img {
    transform: scale(1.06);
    opacity: 1;
}

.sb-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    transition: opacity 0.4s;
}

.sb-banner:hover .sb-banner__overlay {
    opacity: 0.7;
}

.sb-banner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    transform: translateY(6px);
    transition: transform 0.4s var(--ease-out);
}

.sb-banner:hover .sb-banner__content {
    transform: translateY(0);
}

.sb-banner__tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--scarlet);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    opacity: 0.9;
}

.sb-banner__title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 42px);
    color: var(--white);
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

/* Scarlet border on hover */
.sb-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--scarlet);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.sb-banner:hover::after {
    opacity: 0.6;
}

/* ============================================================
   FULL-WIDTH STATEMENT BANNER
   ============================================================ */
.sb-statement-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--black-pure);
    margin: 3px 0;
}

.sb-statement-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(100%);
}

.sb-statement-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    mix-blend-mode: multiply;
}

.sb-statement-banner__content {
    position: relative;
    z-index: 2;
    padding: 40px 24px;
    max-width: 900px;
}

.sb-statement-banner__code-decoration {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--scarlet);
    margin-bottom: 24px;
    opacity: 0.8;
}

.sb-statement-banner__title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 110px);
    color: var(--white);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.action.primary,
.sb-btn,
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 14px 28px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Primary */
.action.primary,
.sb-btn--primary {
    background: var(--scarlet);
    color: var(--white);
    border-color: var(--scarlet);
}

.action.primary:hover,
.sb-btn--primary:hover {
    background: var(--scarlet-light);
    border-color: var(--scarlet-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(204, 26, 26, 0.35);
}

.action.primary:active,
.sb-btn--primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Outline */
.sb-btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white-muted);
}

.sb-btn--outline:hover {
    border-color: var(--scarlet);
    color: var(--scarlet);
    background: var(--scarlet-muted);
}

/* Ghost */
.sb-btn--ghost {
    background: transparent;
    color: var(--white-dim);
    border-color: var(--black-border);
}

.sb-btn--ghost:hover {
    color: var(--white);
    border-color: var(--white-muted);
    background: var(--black-elevated);
}

/* Code-style button */
.sb-btn--code {
    background: var(--black-card);
    color: var(--code-green);
    border-color: var(--black-border);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0;
}

.sb-btn--code::before { content: '> '; color: var(--scarlet); }

.sb-btn--code:hover {
    border-color: var(--code-green);
    background: var(--black-elevated);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.catalog-category-view .page-title-wrapper h1,
.catalogsearch-result-index .page-title-wrapper h1 {
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 60px 0 32px;
    position: relative;
}

.catalog-category-view .page-title-wrapper h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--scarlet);
    margin-top: 16px;
}

/* Product items grid */
.products.wrapper.grid .products.list .item.product {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.products.wrapper.grid .products.list .item.product:hover {
    border-color: var(--scarlet);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 1px var(--scarlet);
}

/* Product image */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--black-surface);
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item.product:hover .product-image-wrapper::after {
    opacity: 1;
}

.product-image-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--ease-out);
    filter: brightness(0.92) contrast(1.05);
}

.item.product:hover .product-image-photo {
    transform: scale(1.05);
}

/* Product card info */
.product-item-info {
    padding: 0;
}

.product-item-details {
    padding: 16px 20px 20px;
    background: var(--black-card);
    position: relative;
}

.product-item-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, var(--scarlet) 0%, transparent 100%);
    opacity: 0.5;
}

.product-item-name {
    margin-bottom: 8px;
}

.product-item-name a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--white-off);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    transition: color 0.2s;
    display: block;
}

.product-item-name a:hover {
    color: var(--scarlet);
}

/* Price */
.price-box {
    margin-bottom: 16px;
}

.price-box .price {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--scarlet);
    letter-spacing: -0.02em;
}

.price-box .old-price .price {
    color: var(--white-dim);
    font-size: 14px;
    text-decoration: line-through;
}

/* Product badges */
.product-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.product-label span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 2px;
}

.product-label .label-new { background: var(--scarlet); color: var(--white); }
.product-label .label-sale { background: var(--black-pure); color: var(--scarlet); border: 1px solid var(--scarlet); }

/* Add to cart */
.product-item-actions .action.tocart.primary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 2px;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.catalog-product-view .page-title-wrapper h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 68px);
    color: var(--white);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.catalog-product-view .product.media {
    background: var(--black-surface);
    border-radius: 4px;
    overflow: hidden;
}

.catalog-product-view .product-info-main {
    padding-left: 40px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: transparent;
    padding: 16px 0;
}

.breadcrumbs .item {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--white-dim);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.breadcrumbs .item a {
    color: var(--white-dim);
}
.breadcrumbs .item a:hover { color: var(--scarlet); }
.breadcrumbs .item.last { color: var(--scarlet); }

.breadcrumbs .item + .item::before {
    content: ' / ';
    color: var(--black-border);
    font-family: var(--font-mono);
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* Code-themed feature section */
.sb-features {
    padding: 100px 24px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.sb-features__header {
    text-align: center;
    margin-bottom: 64px;
}

.sb-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
}

.sb-feature-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sb-feature-card::before {
    content: attr(data-line-number);
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--black-border);
    letter-spacing: 0.05em;
}

.sb-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--scarlet);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out);
}

.sb-feature-card:hover {
    border-color: var(--scarlet);
    background: var(--black-elevated);
    transform: translateY(-2px);
}

.sb-feature-card:hover::after {
    transform: scaleY(1);
}

.sb-feature-card__icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
    font-family: var(--font-mono);
    color: var(--scarlet);
}

.sb-feature-card__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.sb-feature-card__desc {
    font-size: 14px;
    color: var(--white-dim);
    line-height: 1.7;
    margin: 0;
    font-family: var(--font-body);
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.sb-ticker {
    background: var(--black-pure);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.sb-ticker::before,
.sb-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.sb-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--black-pure), transparent);
}

.sb-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--black-pure), transparent);
}

.sb-ticker__track {
    display: flex;
    gap: 0;
    animation: sb-marquee 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.sb-ticker__item {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--white-dim);
    padding: 0 32px;
    letter-spacing: 0.05em;
}

.sb-ticker__item .dot {
    width: 4px;
    height: 4px;
    background: var(--scarlet);
    border-radius: 50%;
    margin-left: 32px;
    flex-shrink: 0;
}

/* ============================================================
   PARALLAX SPLIT SECTION
   ============================================================ */
.sb-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
}

.sb-split__visual {
    position: relative;
    overflow: hidden;
    background: var(--black-surface);
}

.sb-split__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: transform 0.8s var(--ease-out), filter 0.4s;
}

.sb-split__visual:hover img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.sb-split__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 70%, var(--black-deep) 100%);
}

.sb-split__content {
    background: var(--black-deep);
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sb-split__code-block {
    background: var(--black-rich);
    border: 1px solid var(--black-border);
    border-left: 3px solid var(--scarlet);
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 32px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--white-dim);
    position: relative;
}

.sb-split__code-block::before {
    content: attr(data-filename);
    position: absolute;
    top: -1px;
    left: -1px;
    background: var(--scarlet);
    color: var(--white);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 3px 0 3px 0;
    letter-spacing: 0.08em;
}

.sb-split__code-block .kw { color: var(--code-purple); }
.sb-split__code-block .fn { color: var(--code-yellow); }
.sb-split__code-block .str { color: var(--code-orange); }
.sb-split__code-block .num { color: var(--code-green); }
.sb-split__code-block .cm { color: var(--code-comment); font-style: italic; }
.sb-split__code-block .cls { color: var(--code-blue); }

/* ============================================================
   TESTIMONIALS / REVIEWS
   ============================================================ */
.sb-reviews {
    background: var(--black-surface);
    padding: 100px 24px;
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
}

.sb-review-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    padding: 32px;
    border-radius: 4px;
    position: relative;
    transition: border-color 0.3s;
}

.sb-review-card:hover {
    border-color: var(--scarlet);
}

.sb-review-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 120px;
    color: var(--scarlet);
    opacity: 0.15;
    position: absolute;
    top: -16px;
    left: 20px;
    line-height: 1;
}

.sb-review-card__rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.sb-review-card__star {
    color: var(--scarlet);
    font-size: 16px;
}

.sb-review-card__text {
    font-size: 15px;
    color: var(--white-dim);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.sb-review-card__author {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar .block {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 16px;
}

.sidebar .block-title strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--scarlet);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--black-border);
    margin-bottom: 16px;
}

.sidebar .block-title strong::before {
    content: '> ';
    color: var(--code-comment);
    font-family: var(--font-mono);
}

.sidebar .item a {
    font-size: 14px;
    color: var(--white-dim);
    text-decoration: none;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
    border-bottom: 1px solid var(--black-border);
}

.sidebar .item a:hover { color: var(--scarlet); }

/* ============================================================
   FORMS
   ============================================================ */
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    color: var(--white-off);
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 3px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--scarlet);
    box-shadow: 0 0 0 3px var(--scarlet-glow);
}

.field label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--white-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    display: block;
}

.field label::before {
    content: '// ';
    color: var(--code-comment);
    font-family: var(--font-mono);
}

/* ============================================================
   FOOTER
   ============================================================ */
.page-footer {
    background: var(--black-rich);
    border-top: 1px solid var(--black-border);
    padding: 0;
}

.sb-footer-top {
    padding: 80px 24px 60px;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
}

.sb-footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.sb-footer-brand .logo-text em {
    color: var(--scarlet);
    font-style: normal;
}

.sb-footer-brand p {
    font-size: 14px;
    color: var(--white-dim);
    max-width: 300px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.sb-footer-brand .sb-social {
    display: flex;
    gap: 8px;
}

.sb-footer-brand .sb-social a {
    width: 36px;
    height: 36px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-dim);
    font-family: var(--font-mono);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.sb-footer-brand .sb-social a:hover {
    color: var(--scarlet);
    border-color: var(--scarlet);
    background: var(--scarlet-muted);
}

.sb-footer-col h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--scarlet);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--black-border);
    font-weight: 400;
}

.sb-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-footer-col ul li {
    margin-bottom: 8px;
}

.sb-footer-col ul li a {
    font-size: 14px;
    color: var(--white-dim);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sb-footer-col ul li a::before {
    content: '→';
    color: var(--scarlet);
    font-family: var(--font-mono);
    font-size: 12px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
}

.sb-footer-col ul li a:hover {
    color: var(--white);
}

.sb-footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.sb-footer-bottom {
    background: var(--black-pure);
    padding: 20px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.sb-footer-bottom p {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--white-dim);
    margin: 0;
    opacity: 0.6;
}

.sb-footer-bottom p span { color: var(--scarlet); }

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-container .cart-summary {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 4px;
    padding: 24px;
}

.cart-container .cart-summary .summary.title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cart.table-wrapper .cart.items tbody tr {
    border-bottom: 1px solid var(--black-border);
}

.cart.table-wrapper td {
    padding: 20px 16px;
    vertical-align: middle;
}

/* ============================================================
   MESSAGES & ALERTS
   ============================================================ */
.message {
    padding: 14px 20px;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 3px solid;
}

.message::before {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.message.success {
    background: rgba(78, 201, 78, 0.08);
    border-color: var(--code-green);
    color: var(--code-green);
}

.message.success::before { content: '[OK]'; }

.message.error {
    background: rgba(204, 26, 26, 0.1);
    border-color: var(--scarlet);
    color: var(--scarlet-light);
}

.message.error::before { content: '[ERR]'; }

.message.notice,
.message.info {
    background: rgba(86, 156, 214, 0.08);
    border-color: var(--code-blue);
    color: var(--code-blue);
}

.message.notice::before,
.message.info::before { content: '[INFO]'; }

.message.warning {
    background: rgba(220, 220, 170, 0.08);
    border-color: var(--code-yellow);
    color: var(--code-yellow);
}

.message.warning::before { content: '[WARN]'; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pages .pages-items {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 40px 0;
    padding: 0;
}

.pages .pages-items .item a,
.pages .pages-items .item.current strong {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--black-border);
    border-radius: 3px;
    text-decoration: none;
    color: var(--white-dim);
    background: var(--black-card);
    transition: all 0.2s;
}

.pages .pages-items .item a:hover {
    border-color: var(--scarlet);
    color: var(--scarlet);
    background: var(--scarlet-muted);
}

.pages .pages-items .item.current strong {
    background: var(--scarlet);
    border-color: var(--scarlet);
    color: var(--white);
}

/* ============================================================
   FILTERS / LAYERED NAV
   ============================================================ */
.filter-title strong {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--scarlet);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.filter-options-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 0;
    border-bottom: 1px solid var(--black-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-options-item .item a {
    font-size: 14px;
    color: var(--white-dim);
    text-decoration: none;
    padding: 6px 0;
    display: block;
    transition: color 0.2s;
}

.filter-options-item .item a:hover { color: var(--scarlet); }

/* ============================================================
   HOMEPAGE — CATEGORY GRID
   ============================================================ */
.sb-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin: 3px 0;
}

.sb-category-tile {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: var(--black-surface);
}

.sb-category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(0.7);
    transition: all 0.6s var(--ease-out);
}

.sb-category-tile:hover img {
    filter: grayscale(0%) brightness(0.85);
    transform: scale(1.08);
}

.sb-category-tile__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 2;
}

.sb-category-tile__label h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sb-category-tile__label .count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--scarlet);
    letter-spacing: 0.1em;
}

/* Left border accent on hover */
.sb-category-tile::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--scarlet);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease-out);
    z-index: 5;
}

.sb-category-tile:hover::before {
    transform: scaleY(1);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.sb-newsletter {
    background: var(--black-pure);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
}

.sb-newsletter::before {
    content: 'SUBSCRIBE();';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 200px;
    color: var(--white);
    opacity: 0.015;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.05em;
}

.sb-newsletter h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 72px);
    color: var(--white);
    margin-bottom: 12px;
}

.sb-newsletter p {
    color: var(--white-dim);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto 32px;
}

.sb-newsletter__form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
    border: 1px solid var(--black-border);
    border-radius: 3px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.sb-newsletter__form:focus-within {
    border-color: var(--scarlet);
}

.sb-newsletter__form input {
    flex: 1;
    background: var(--black-elevated);
    border: none;
    padding: 14px 20px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--white-off);
    outline: none;
}

.sb-newsletter__form button {
    background: var(--scarlet);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.sb-newsletter__form button:hover {
    background: var(--scarlet-light);
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-mask,
._block-content-loading {
    background: rgba(0,0,0,0.85);
}

.loading-mask .loader img {
    display: none;
}

.loading-mask .loader::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 2px solid var(--black-border);
    border-top-color: var(--scarlet);
    border-radius: 50%;
    animation: sb-spin 0.7s linear infinite;
    display: block;
    margin: 0 auto;
}

/* ============================================================
   TOOLTIPS
   ============================================================ */
[data-sb-tooltip] {
    position: relative;
}

[data-sb-tooltip]::after {
    content: attr(data-sb-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--black-card);
    border: 1px solid var(--black-border);
    color: var(--white-off);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 100;
}

[data-sb-tooltip]:hover::after {
    opacity: 1;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes sb-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sb-fade-in {
    to { opacity: 0.5; }
}

@keyframes sb-spin {
    to { transform: rotate(360deg); }
}

@keyframes sb-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes sb-scroll-line {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.6); }
}

@keyframes sb-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes sb-glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--scarlet-glow); }
    50% { box-shadow: 0 0 20px 5px var(--scarlet-glow); }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-scarlet   { color: var(--scarlet) !important; }
.text-white     { color: var(--white) !important; }
.text-dim       { color: var(--white-dim) !important; }
.text-mono      { font-family: var(--font-mono) !important; }
.text-display   { font-family: var(--font-display) !important; }
.text-heading   { font-family: var(--font-heading) !important; }
.bg-black       { background: var(--black-pure) !important; }
.bg-surface     { background: var(--black-surface) !important; }
.bg-card        { background: var(--black-card) !important; }
.border-scarlet { border-color: var(--scarlet) !important; }
.sr-only        { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sb-banner-grid .sb-banner--xl { grid-column: span 12; min-height: 55vh; }
    .sb-banner-grid .sb-banner--tall { grid-column: span 6; }
    .sb-banner-grid .sb-banner--wide { grid-column: span 6; }
    .sb-banner-grid .sb-banner--medium { grid-column: span 4; }
    .sb-split { grid-template-columns: 1fr; }
    .sb-split__visual { height: 50vw; }
    .sb-split__content { padding: 60px 32px; }
    .sb-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .sb-category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .page-header .header.content { height: 60px; }
    .navigation { display: none; }
    .sb-hero { height: 90vh; }
    .sb-hero__content { padding: 0 24px 60px; }
    .sb-banner-grid { grid-template-columns: 1fr; }
    .sb-banner-grid .sb-banner--xl,
    .sb-banner-grid .sb-banner--tall,
    .sb-banner-grid .sb-banner--wide,
    .sb-banner-grid .sb-banner--medium {
        grid-column: span 1;
        min-height: 60vw;
    }
    .sb-category-grid { grid-template-columns: repeat(2, 1fr); }
    .sb-footer-top { grid-template-columns: 1fr; }
    .sb-footer-bottom { flex-direction: column; text-align: center; }
    .sb-features__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .sb-category-grid { grid-template-columns: 1fr; }
    .sb-hero__title { font-size: clamp(42px, 14vw, 72px); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    body { background: white; color: black; }
    .page-header, .page-footer, .sidebar, .sb-ticker { display: none; }
    .page-main { max-width: 100%; padding: 0; }
}

/* ============================================================
   PAGE HEADER - COMPLETE REDESIGN
   ============================================================ */

.page-header::before {
    content: 'Free shipping on orders over $75.';
    display: block;
    background: linear-gradient(135deg, #c41e3a 0%, #a01428 100%);
    color: white;
    text-align: center;
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
    order: -1;
    position: relative;
    z-index: 1001;
}

.page-header {
    background: var(--black-pure);
    border-bottom: 3px solid var(--scarlet);
    position: sticky;
    top: 0;
    z-index: 900;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

/* Announcement bar - outside header (fallback if needed) */
.sb-announcement-shipping {
    background: linear-gradient(135deg, #c41e3a 0%, #a01428 100%);
    color: white;
    text-align: center;
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
    z-index: 1001;
}

/* Header content layout - clean flexbox with tighter spacing */
.header.content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 70px;
}

/* Logo styling - larger and cleaner */
.header.content .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 100%;
    min-width: 250px;
    padding: 0;
}

.header.content .logo img {
    max-height: calc(100% - 16px);
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header.content .logo:hover img {
    transform: scale(1.02);
}

/* Search box - modern styling with tight layout */
.header.content .block-search {
    flex: 1;
    max-width: 400px;
    margin: 0;
}

.block-search .block-content {
    margin: 0;
    padding: 0;
}

.block-search .field.search {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Hide the control wrapper div and let form control directly */
.block-search .field.search .control {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.block-search .field.search .input-text {
    width: 100%;
    padding: 10px 40px 10px 16px;
    background: var(--black-elevated);
    border: 2px solid var(--black-border);
    border-radius: 4px;
    color: var(--white-off);
    font-size: 13px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    margin: 0;
    height: 40px;
    box-sizing: border-box;
}

.block-search .field.search .input-text:focus {
    border-color: var(--scarlet);
    background: var(--black-deep);
    outline: none;
}

.block-search .field.search .input-text::placeholder {
    color: var(--white-dim);
}

/* Search button - icon only, positioned inside */
.block-search .actions {
    display: none !important;
}

.block-search .actions .action.search {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white-dim);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
    margin: 0;
}

.block-search .actions .action.search:hover {
    color: var(--scarlet);
}

.block-search .actions .action.search::before {
    content: '🔍';
    font-size: 16px;
}

/* Add search icon as pseudo-element on input */
.block-search .field.search .input-text::after {
    content: '🔍';
    position: absolute;
    right: 12px;
    font-size: 16px;
    pointer-events: none;
    color: var(--white-dim);
}

/* Hide label, advanced search, autocomplete wrapper */
.block-search .field.search .label {
    display: none !important;
}

.block-search .nested {
    display: none !important;
}

.block-search .search-autocomplete {
    display: none !important;
}

/* Hide advanced search link completely */
.block-search .nested,
.block-search .action.advanced,
.minisearch .nested {
    display: none !important;
}

/* Minicart - right aligned with icon */
.header.content .minicart-wrapper {
    flex-shrink: 0;
    position: relative;
}

.minicart-wrapper .action.showcart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--black-elevated);
    border: 2px solid var(--black-border);
    border-radius: 4px;
    color: var(--white-off);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 18px;
}

.minicart-wrapper .action.showcart::before {
    content: '🛒';
    font-size: 20px;
}

.minicart-wrapper .action.showcart:hover {
    background: var(--scarlet);
    border-color: var(--scarlet);
    color: white;
}

.minicart-wrapper .action.showcart .text {
    display: none;
}

.minicart-wrapper .action.showcart .counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--scarlet);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid var(--black-pure);
}

.minicart-wrapper .counter.empty {
    display: none;
}

/* Minicart dropdown */
.block.block-minicart {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    min-width: 320px;
}

/* Magento minicart dropdown */
.minicart-wrapper {
    margin-left: 24px;
    position: relative;
    z-index: 1005;
}

.minicart-wrapper.active,
.minicart-wrapper .action.showcart.active {
    z-index: 1006;
}

.minicart-wrapper .block.block-minicart {
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    border-top: 2px solid var(--scarlet);
    border-radius: 4px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65);
    color: var(--white-off);
    display: none;
    margin: 10px 0 0;
    min-width: 0;
    padding: 18px;
    position: absolute;
    right: 0;
    top: 100%;
    width: min(390px, calc(100vw - 32px));
    z-index: 1007;
}

.minicart-wrapper.active .block.block-minicart {
    display: block;
}

.minicart-wrapper .block-minicart::before,
.minicart-wrapper .block-minicart::after {
    border-bottom-color: var(--scarlet);
    right: 16px;
}

.minicart-wrapper .block-minicart .block-title,
.minicart-wrapper .block-minicart .subtotal,
.minicart-wrapper .block-minicart .minicart-items .product-item-name a {
    color: var(--white-off);
}

.minicart-wrapper .block-minicart .minicart-items-wrapper {
    border-color: var(--black-border);
    margin: 12px 0;
    max-height: min(52vh, 420px);
    overflow-y: auto;
}

.minicart-wrapper .block-minicart .action.close {
    color: var(--white-dim);
}

.minicart-wrapper .block-minicart .action.close:hover {
    color: var(--scarlet-light);
}

.minicart-wrapper .block-minicart .actions .action.viewcart {
    color: var(--white-dim);
}

.minicart-wrapper .block-minicart .actions .action.viewcart:hover {
    color: var(--scarlet-light);
}

@media (max-width: 767px) {
    .page-header {
        z-index: 1000;
    }

    .header.content .minicart-wrapper,
    .minicart-wrapper {
        margin-left: 8px;
        position: static;
    }

    .minicart-wrapper .block.block-minicart {
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        width: auto;
    }
}

/* Hide all old header panel elements */
.panel.wrapper,
.panel.header,
.header.panel.wrapper,
.header.panel,
.header.links,
.header.links li,
.action.skip,
.action.nav-toggle,
.navigation.sections {
    display: none !important;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .page-header {
        border-bottom-width: 3px;
    }
    
    .header.content {
        height: 80px;
        gap: 32px;
    }
    
    .header.content .logo {
        min-width: 280px;
    }
    
    .header.content .block-search {
        max-width: 400px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .header.content {
        height: 70px;
        gap: 12px;
        padding: 0 12px;
    }
    
    .header.content .logo {
        min-width: 150px;
    }
    
    .header.content .logo img {
        max-height: calc(100% - 14px);
    }
    
    .header.content .block-search {
        max-width: none;
        flex: 1;
    }
}

/* ============================================================
   SCARLETBEAST 2026 STORE THEME
   Editorial streetwear layer inspired by scarletbeast.com
   ============================================================ */
:root {
    --sb26-bg: #080808;
    --sb26-ink: #f5f1ea;
    --sb26-paper: #fff8ed;
    --sb26-muted: #a7a09a;
    --sb26-line: rgba(255, 248, 237, 0.14);
    --sb26-scarlet: #d71920;
    --sb26-blood: #69080b;
    --sb26-radius: 8px;
}

body {
    background: radial-gradient(circle at 80% 0%, rgba(215, 25, 32, 0.16), transparent 32rem), linear-gradient(180deg, #101010 0%, var(--sb26-bg) 42rem);
    color: var(--sb26-ink);
}

.page-wrapper { background: transparent; }
.page-header { display: none !important; }
.page-main { max-width: none; padding: 0; }
.columns .column.main { padding-bottom: 0; }

.cms-home .page-title-wrapper,
.cms-home .breadcrumbs,
.cms-home .page.messages {
    display: none;
}

.cms-home .columns,
.cms-home .column.main {
    display: block;
    padding: 0;
    margin: 0;
}

.sb-announcement-shipping {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1002;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    background: var(--sb26-scarlet);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.sb-store-header {
    position: fixed;
    top: 34px;
    left: 0;
    right: 0;
    z-index: 1001;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 72px;
    padding: 0 clamp(16px, 4vw, 54px);
    border-bottom: 1px solid var(--sb26-line);
    background: rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.sb-store-header a { color: var(--sb26-ink); text-decoration: none; }
.sb-store-header__brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; }
.sb-store-header__mark {
    display: inline-grid;
    place-items: center;
    position: relative;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(215, 25, 32, 0.9);
    border-radius: 3px;
    background:
        linear-gradient(135deg, rgba(215, 25, 32, 0.26), transparent 48%),
        #0d0d0d;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 0 28px rgba(215,25,32,0.2);
    transform: skewX(-8deg);
}

.sb-store-header__mark::before,
.sb-store-header__mark::after {
    content: "";
    position: absolute;
    background: var(--sb26-ink);
    opacity: 0.92;
}

.sb-store-header__mark::before {
    width: 16px;
    height: 24px;
    clip-path: polygon(0 0, 100% 16%, 62% 100%, 18% 100%);
    left: 11px;
    top: 13px;
}

.sb-store-header__mark::after {
    width: 16px;
    height: 24px;
    clip-path: polygon(0 16%, 100% 0, 82% 100%, 38% 100%);
    right: 11px;
    top: 13px;
}

.sb-store-header__fang {
    position: absolute;
    inset: 7px;
    border-top: 1px solid rgba(215,25,32,0.85);
    border-bottom: 1px solid rgba(215,25,32,0.55);
    transform: skewX(8deg);
}

.sb-store-header__wordmark {
    display: grid;
    gap: 2px;
}

.sb-store-header__name {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.3vw, 40px);
    line-height: 1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(215,25,32,0.22);
}

.sb-store-header__name::first-letter {
    color: var(--sb26-scarlet);
}

.sb-store-header__signal {
    color: rgba(245,241,234,0.54);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.sb-store-header__nav,
.sb-store-header__actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.sb-store-header__nav { justify-content: center; }
.sb-store-header__actions { justify-content: flex-end; }

.sb-store-header__nav a,
.sb-store-header__actions a {
    position: relative;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 241, 234, 0.78);
}

.sb-store-header__nav a::after,
.sb-store-header__actions a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--sb26-scarlet);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}

.sb-store-header__nav a:hover,
.sb-store-header__actions a:hover { color: #fff; }
.sb-store-header__nav a:hover::after,
.sb-store-header__actions a:hover::after { transform: scaleX(1); }

.sb26-home { padding-top: 0; }

.sb26-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    padding: clamp(150px, 16vh, 210px) clamp(18px, 5vw, 70px) clamp(42px, 7vw, 92px);
    overflow: hidden;
    border-bottom: 1px solid var(--sb26-line);
    background: #050505;
    background-repeat: no-repeat;
}

.sb26-hero::before {
    content: "SCARLETBEAST / DROP SYSTEM / 2026";
    position: absolute;
    left: clamp(18px, 5vw, 70px);
    bottom: 18px;
    color: rgba(245, 241, 234, 0.22);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
}

.sb26-hero__media {
    position: absolute;
    inset: 106px 0 0;
    min-height: calc(100% - 106px);
    border-radius: 0;
    overflow: hidden;
    background: #161616;
    background-image: none !important;
    background-repeat: no-repeat !important;
}

.sb26-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.46) 42%, rgba(0,0,0,0.08) 72%),
        linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.12) 48%, rgba(0,0,0,0.58) 100%);
}

.sb26-hero__media img,
.sb26-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.15) contrast(1.06);
}

.sb26-hero__media img {
    object-position: right top;
}

.sb26-drop__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.15) contrast(1.06);
}

.sb26-hero__copy {
    position: relative;
    z-index: 2;
    max-width: min(780px, 58vw);
    padding-bottom: 0;
}

.sb26-kicker {
    margin: 0 0 16px;
    color: var(--sb26-scarlet);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sb26-hero h1,
.sb26-drop h2,
.sb26-manifesto h2 {
    color: var(--sb26-ink);
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.sb26-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(58px, 8.8vw, 136px);
    line-height: 0.82;
}

.sb26-hero p:not(.sb26-kicker),
.sb26-drop p:not(.sb26-kicker),
.sb-store-footer p { color: var(--sb26-muted); }

.sb26-hero p:not(.sb26-kicker) {
    max-width: 560px;
    margin: 0 0 30px;
    font-size: clamp(16px, 1.8vw, 21px);
    line-height: 1.45;
}

.sb26-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.sb26-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 20px;
    border: 1px solid rgba(245, 241, 234, 0.28);
    border-radius: 999px;
    color: var(--sb26-ink);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
}

.sb26-button:hover { color: #fff; border-color: var(--sb26-scarlet); }
.sb26-button--primary { background: var(--sb26-scarlet); border-color: var(--sb26-scarlet); color: #fff; }

.sb26-hero__plate {
    position: absolute;
    right: clamp(18px, 5vw, 70px);
    bottom: clamp(18px, 4vw, 42px);
    width: min(320px, calc(100vw - 36px));
    padding: 16px;
    border: 1px solid var(--sb26-line);
    border-radius: var(--sb26-radius);
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(18px);
    z-index: 2;
}

.sb26-hero__plate span,
.sb26-category-card span,
.sb-store-footer__statement span {
    display: block;
    color: var(--sb26-scarlet);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sb26-hero__plate strong {
    display: block;
    margin-top: 7px;
    color: var(--sb26-ink);
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.1;
    text-transform: uppercase;
}

.sb26-ticker {
    overflow: hidden;
    border-block: 1px solid var(--sb26-line);
    background: var(--sb26-paper);
    color: #090909;
}

.sb26-ticker__track {
    display: flex;
    width: max-content;
    animation: sb26-marquee 26s linear infinite;
}

.sb26-ticker span {
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sb26-category-band,
.sb26-drop {
    display: grid;
    gap: 2px;
    padding: 2px;
}

.sb26-category-band { grid-template-columns: 1.2fr 0.8fr 0.8fr; }

.sb26-category-card {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--sb26-radius);
    color: #fff;
    text-decoration: none;
    background: #151515;
}

.sb26-category-card--large { min-height: 620px; }

.sb26-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.88), transparent 62%);
}

.sb26-category-card img { transition: transform 0.7s var(--ease-out), filter 0.3s ease; }
.sb26-category-card:hover img { transform: scale(1.045); filter: grayscale(0) contrast(1.1); }

.sb26-category-card span,
.sb26-category-card strong {
    position: absolute;
    left: 22px;
    right: 22px;
    z-index: 2;
}

.sb26-category-card span { bottom: 82px; }

.sb26-category-card strong {
    bottom: 22px;
    color: var(--sb26-ink);
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
}

.sb26-drop {
    grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1fr);
    align-items: stretch;
    padding-top: 2px;
}

.sb26-drop__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 620px;
    padding: clamp(32px, 6vw, 82px);
    border-radius: var(--sb26-radius);
    background: #111;
}

.sb26-drop h2 {
    margin: 0 0 18px;
    font-size: clamp(44px, 6.2vw, 92px);
    line-height: 0.88;
}

.sb26-drop p:not(.sb26-kicker) {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.55;
}

.sb26-drop__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    min-height: 620px;
}

.sb26-drop__grid img { border-radius: var(--sb26-radius); }

.sb26-manifesto {
    padding: clamp(70px, 11vw, 160px) clamp(18px, 8vw, 120px);
    border-top: 1px solid var(--sb26-line);
    text-align: center;
}

.sb26-manifesto p {
    margin: 0 0 14px;
    color: var(--sb26-scarlet);
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sb26-manifesto h2 {
    max-width: 1120px;
    margin: 0 auto;
    font-size: clamp(48px, 7.4vw, 116px);
    line-height: 0.88;
}

.products.wrapper.grid .products.list .item.product {
    border-radius: 8px;
    background: #111;
    border-color: rgba(255, 248, 237, 0.1);
}

.product-item-details { background: #111; }
.product-item-name a { letter-spacing: 0.03em; }
.price-box .price { color: var(--sb26-ink); }

.product-item-actions .action.tocart.primary,
.action.primary {
    border-radius: 999px;
    background: var(--sb26-scarlet);
    border-color: var(--sb26-scarlet);
}

.catalog-category-view .page-title-wrapper h1,
.catalogsearch-result-index .page-title-wrapper h1 {
    max-width: 1440px;
    margin: 0 auto;
    padding: 150px clamp(18px, 5vw, 70px) 36px;
    font-size: clamp(54px, 7vw, 110px);
}

.toolbar,
.sorter,
.limiter,
.modes { color: var(--sb26-muted); }

.page-footer { display: none; }

.sb-store-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    padding: clamp(38px, 7vw, 90px) clamp(18px, 5vw, 70px);
    border-top: 1px solid var(--sb26-line);
    background: #050505;
}

.sb-store-footer__statement strong {
    display: block;
    max-width: 780px;
    margin: 10px 0;
    color: var(--sb26-ink);
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 86px);
    font-weight: 400;
    line-height: 0.9;
    text-transform: uppercase;
}

.sb-store-footer__statement p { max-width: 620px; margin: 0; }
.sb-store-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.sb-store-footer__links a {
    padding: 10px 14px;
    border: 1px solid var(--sb26-line);
    border-radius: 999px;
    color: var(--sb26-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes sb26-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
    .sb-store-header { grid-template-columns: 1fr auto; }
    .sb-store-header__nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; }
    .sb26-home { padding-top: 0; }
    .sb26-hero,
    .sb26-category-band,
    .sb26-drop,
    .sb-store-footer { grid-template-columns: 1fr; }
    .sb26-hero { min-height: 100svh; }
    .sb26-hero__media {
        inset: 128px 0 0;
        min-height: calc(100% - 128px);
        aspect-ratio: auto;
    }
    .sb26-hero__copy { max-width: 720px; padding-bottom: 88px; }
    .sb26-category-card,
    .sb26-category-card--large,
    .sb26-drop__copy,
    .sb26-drop__grid { min-height: 430px; }
}

@media (max-width: 640px) {
    .sb-announcement-shipping { min-height: 42px; font-size: 10px; }
    .sb-store-header { top: 42px; min-height: 66px; gap: 12px; }
    .sb-store-header__actions { gap: 12px; }
    .sb-store-header__mark { width: 38px; height: 38px; }
    .sb-store-header__mark::before,
    .sb-store-header__mark::after { top: 10px; height: 18px; width: 12px; }
    .sb-store-header__mark::before { left: 9px; }
    .sb-store-header__mark::after { right: 9px; }
    .sb-store-header__name { font-size: 25px; }
    .sb-store-header__signal { display: none; }
    .sb26-home { padding-top: 0; }
    .sb26-hero { padding: 150px 14px 34px; }
    .sb26-hero__media {
        inset: 156px 0 0;
        min-height: calc(100% - 156px);
        background-position: right top !important;
        background-repeat: no-repeat !important;
        background-image: none !important;
    }
    .sb26-hero__media img {
        object-position: 72% top;
    }
    .sb26-hero__plate { left: 14px; right: 14px; width: auto; }
    .sb26-drop__grid { grid-template-columns: 1fr; }
    .sb-store-footer__links { justify-content: flex-start; }
}
