/*
 Theme Name:   Storefront CCW
 Template:     storefront
 Version:      1.0.0
*/

/* ═══════════════════════════════════════════════════════════════════════════
   VARIABLES & RESET
   ═══════════════════════════════════════════════════════════════════════════ */

html, body {
    background: #0d0d0d !important;
    color: #f0f0f0 !important;
    margin: 0;
    padding: 0;
}

#page, #content, #primary, #secondary, .site-main,
.content-area, .entry-content, .hentry {
    background: #0d0d0d !important;
    color: #f0f0f0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SUPPRESS STOREFRONT DEFAULTS
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header,
.storefront-primary-navigation { display: none !important; }

.site-footer .col-full,
.footer-widgets,
.storefront-handheld-footer-bar,
.woocommerce-store-notice,
p.woocommerce-store-notice,
.site-footer .woocommerce-store-notice { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — TOP BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.ccw-header {
    background: #0d0d0d;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.ccw-header__top {
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ccw-header__top-inner {
    display: flex;
    align-items: center;
    padding: 20px 48px;
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Logo */
.ccw-header__logo {
    flex-shrink: 0;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}
.ccw-logo-img { height: 60px !important; width: auto !important; }
.ccw-header__site-name { color: #f0f0f0; font-size: 20px; font-weight: 700; }

/* Search */
.ccw-header__search { flex: 1; display: flex; margin: 0 16px; }

.ccw-header__search-input {
    flex: 1;
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    color: #f0f0f0 !important;
    font-size: 15px !important;
    padding: 0 20px !important;
    height: 52px !important;
    outline: none !important;
    transition: border-color 0.15s;
}
.ccw-header__search-input::placeholder { color: rgba(255,255,255,0.3) !important; }
.ccw-header__search-input:focus { border-color: #EE3451 !important; }

.ccw-header__search-btn {
    background: #EE3451 !important;
    border: none !important;
    border-radius: 0 4px 4px 0 !important;
    color: #fff !important;
    width: 60px !important;
    height: 52px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background 0.15s;
}
.ccw-header__search-btn:hover { background: #c4243d !important; }
.ccw-header__search-btn svg { width: 22px !important; height: 22px !important; }

/* Icon buttons */
.ccw-header__icons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.ccw-header__icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    background: #1a1a1a !important;
    color: #f0f0f0 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: background 0.15s, color 0.15s !important;
    position: relative;
    border: none !important;
}
.ccw-header__icon-btn:hover { background: #EE3451 !important; color: #ffffff !important; }
.ccw-header__icon-btn svg { width: 22px !important; height: 22px !important; }

/* Cart badge */
.ccw-header__cart-count {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    background: #f0f0f0 !important;
    color: #0d0d0d !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    pointer-events: none !important;
}
.ccw-header__icon-btn:hover .ccw-header__cart-count { background: #ffffff !important; color: #EE3451 !important; }

/* Cart dropdown */
.ccw-header__cart { position: relative; }

.ccw-header__cart-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    min-width: 300px;
    padding: 16px;
    z-index: 9999;
    color: #f0f0f0;
}
.ccw-header__cart:hover .ccw-header__cart-dropdown { display: block; }
.ccw-header__cart-dropdown .cart_list { list-style: none; margin: 0; padding: 0; }
.ccw-header__cart-dropdown .cart_list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: #f0f0f0; }
.ccw-header__cart-dropdown .total { padding: 12px 0 0; color: #f0f0f0; font-weight: 600; }
.ccw-header__cart-dropdown .buttons { display: flex; gap: 8px; margin-top: 12px; }
.ccw-header__cart-dropdown .buttons a { flex: 1; text-align: center; padding: 10px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.ccw-header__cart-dropdown .wc-forward { background: #EE3451 !important; color: #fff !important; }
.ccw-header__cart-dropdown .checkout { background: #1a1a1a !important; color: #f0f0f0 !important; border: 1px solid rgba(255,255,255,0.1) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — NAV BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.ccw-header__nav {
    background: #141414;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ccw-header__nav-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 48px;
}

.ccw-nav__menu {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ccw-nav__menu li { position: relative; }
.ccw-nav__menu > li > a {
    display: block !important;
    color: #e0e0e0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 0 20px !important;
    line-height: 50px !important;
    letter-spacing: 0.02em !important;
    transition: color 0.15s, background 0.15s !important;
    white-space: nowrap !important;
}
.ccw-nav__menu > li > a:hover,
.ccw-nav__menu > li.current-menu-item > a {
    color: #EE3451 !important;
    background: rgba(238,52,81,0.06) !important;
}

/* Standard WP dropdown */
.ccw-nav__menu ul {
    display: none;
    position: absolute;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 8px 0;
    min-width: 180px;
    z-index: 9999;
    list-style: none;
    margin: 0;
}
.ccw-nav__menu li:hover > ul { display: block; }
.ccw-nav__menu ul a {
    display: block;
    color: #e0e0e0 !important;
    font-size: 13px !important;
    padding: 9px 16px !important;
    text-decoration: none !important;
}
.ccw-nav__menu ul a:hover { color: #EE3451 !important; }

/* Corals dropdown (logged-in) */
.ccw-nav__has-dropdown { position: relative; }
.ccw-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 8px 0;
    min-width: 160px;
    z-index: 9999;
    list-style: none;
    margin: 0;
}
.ccw-nav__has-dropdown:hover .ccw-nav__dropdown { display: block; }
.ccw-nav__dropdown li { margin: 0; padding: 0; }
.ccw-nav__dropdown a {
    display: block !important;
    color: #e0e0e0 !important;
    font-size: 13px !important;
    padding: 9px 16px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.ccw-nav__dropdown a:hover { color: #EE3451 !important; }
.ccw-nav__arrow { font-size: 10px; margin-left: 4px; opacity: 0.6; }

/* Log out */
.ccw-nav__logout {
    margin-left: auto !important;
    padding-left: 20px !important;
    border-left: 1px solid rgba(255,255,255,0.1) !important;
}
.ccw-nav__logout a { color: rgba(255,255,255,0.35) !important; font-size: 13px !important; }
.ccw-nav__logout a:hover { color: #EE3451 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer { background: #0d0d0d !important; color: #f0f0f0 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 { color: #f0f0f0 !important; }
p, li { color: #c8c8c8; }
a { color: #f0f0f0 !important; }
a:hover { color: #EE3451 !important; }
label { color: #c8c8c8 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════════════════ */

input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], textarea, select {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #f0f0f0 !important;
    border-radius: 4px !important;
}
input:focus, textarea:focus, select:focus {
    border-color: #EE3451 !important;
    box-shadow: 0 0 0 3px rgba(238,52,81,0.15) !important;
    outline: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
    background: #EE3451 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    border: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #c4243d !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE
   ═══════════════════════════════════════════════════════════════════════════ */

.woocommerce ul.products li.product {
    background: #1a1a1a !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}
.woocommerce ul.products li.product:hover { border-color: rgba(238,52,81,0.4) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price { color: #f0f0f0 !important; }

.woocommerce-message,
.woocommerce-info {
    background: #1a1a1a !important;
    border-top-color: #EE3451 !important;
    color: #f0f0f0 !important;
}
.woocommerce-error {
    background: #1f1010 !important;
    border-top-color: #EE3451 !important;
    color: #f0f0f0 !important;
}

.woocommerce .woocommerce-breadcrumb { color: rgba(240,240,240,0.45) !important; }
.woocommerce .woocommerce-breadcrumb a { color: rgba(240,240,240,0.65) !important; }
.woocommerce .woocommerce-breadcrumb a:hover { color: #EE3451 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — REMOVE GAP ABOVE HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.home .site-main, .home #primary, .home .content-area,
.home .entry-header, .home .entry-content, .home article {
    padding: 0 !important;
    margin: 0 !important;
}
.ccw-hero { margin-left: calc(-50vw + 50%) !important; width: 100vw !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT PAGES (all pages except home)
   ═══════════════════════════════════════════════════════════════════════════ */

.page:not(.home):not(.woocommerce):not(.woocommerce-page) #secondary,
.page:not(.home):not(.woocommerce):not(.woocommerce-page) .widget-area { display: none !important; }

.page:not(.home):not(.woocommerce):not(.woocommerce-page) #primary,
.page:not(.woocommerce):not(.woocommerce-page) .content-area {
    width: 100% !important;
    float: none !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 64px 48px !important;
}

.page:not(.home) .entry-title {
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 40px !important;
    letter-spacing: -0.02em !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.page:not(.home) .entry-content h2 { display: none !important; }

.page:not(.home) .entry-content h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 40px 0 12px !important;
    letter-spacing: -0.01em !important;
}
.page:not(.home) .entry-content h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #f0f0f0 !important;
    margin: 28px 0 8px !important;
}
.page:not(.home) .entry-content p {
    font-size: 15px !important;
    color: rgba(255,255,255,0.65) !important;
    line-height: 1.8 !important;
    margin: 0 0 16px !important;
}
.page:not(.home) .entry-content ul,
.page:not(.home) .entry-content ol {
    margin: 0 0 20px 20px !important;
    padding: 0 !important;
}
.page:not(.home) .entry-content li {
    font-size: 15px !important;
    color: rgba(255,255,255,0.65) !important;
    line-height: 1.8 !important;
    margin-bottom: 6px !important;
}
.page:not(.home) .entry-content a { color: #EE3451 !important; text-decoration: none !important; }
.page:not(.home) .entry-content a:hover { text-decoration: underline !important; }
.page:not(.home) .entry-content em { color: rgba(255,255,255,0.35) !important; font-size: 13px !important; }
.page:not(.home) .entry-content strong { color: #f0f0f0 !important; font-weight: 700 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   TRADE APPLICATION PAGE (page-id-17)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Full-bleed layout — override content page defaults */
body.page-id-17.page:not(.home):not(.woocommerce):not(.woocommerce-page) #primary,
body.page-id-17.page:not(.home) .content-area,
body.page-id-17 #content,
body.page-id-17 .site-content,
body.page-id-17 .entry-content,
body.page-id-17 article {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* Collapse all spacing */
body.page-id-17,
body.page-id-17 #page,
body.page-id-17 #main,
body.page-id-17 .site-main,
body.page-id-17 .hentry,
body.page-id-17 #post-17 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Hide entry header entirely */
body.page-id-17 .entry-header,
body.page-id-17 .entry-title {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hero — full viewport width */
.ccw-application-wrap { width: 100% !important; }

.ccw-application-hero {
    width: 100vw !important;
    margin: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
    height: 420px !important;
}

/* Form wrapper — constrained width */
.ccw-application-form-wrap {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 48px 48px 80px !important;
}

/* Form styling */
.ccw-application-wrap,
.ccw-application-form { background: transparent !important; border: none !important; }

.ccw-application-form fieldset {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 6px !important;
    padding: 28px !important;
    margin-bottom: 24px !important;
}

.ccw-application-form fieldset legend {
    background: #0d0d0d !important;
    color: #EE3451 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 0 8px !important;
}

.ccw-application-form label {
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.ccw-application-form input[type="text"],
.ccw-application-form input[type="email"],
.ccw-application-form input[type="tel"],
.ccw-application-form input[type="password"],
.ccw-application-form select {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #f0f0f0 !important;
    border-radius: 4px !important;
    width: 100% !important;
}

.ccw-application-form input:focus,
.ccw-application-form select:focus {
    border-color: #EE3451 !important;
    box-shadow: 0 0 0 3px rgba(238,52,81,0.15) !important;
    outline: none !important;
}

/* ── Force fieldset background dark ──────────────────────────────────────── */
body.page-id-17 fieldset,
body.page-id-17 .ccw-application-form fieldset {
    background-color: #0d0d0d !important;
    background: #0d0d0d !important;
}

/* ── Classic checkout ─────────────────────────────────────────────────────── */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce table.shop_table {
    background: #1a1a1a !important;
    color: #f0f0f0 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 6px !important;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    color: #f0f0f0 !important;
    border-color: rgba(255,255,255,0.06) !important;
}
.woocommerce-checkout #order_review_heading {
    color: #f0f0f0 !important;
}
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
    color: #f0f0f0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}
.woocommerce .woocommerce-checkout-payment {
    background: #1a1a1a !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}
.woocommerce .woocommerce-checkout-payment ul.payment_methods {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}
.woocommerce .woocommerce-checkout-payment ul.payment_methods li {
    color: #f0f0f0 !important;
}
.woocommerce .woocommerce-checkout-payment .payment_box {
    background: #141414 !important;
    color: #c8c8c8 !important;
}
.woocommerce .woocommerce-checkout-payment .payment_box::before {
    border-bottom-color: #141414 !important;
}
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 6px !important;
}
.woocommerce-shipping-fields h3,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3 {
    color: #f0f0f0 !important;
}
#ship-to-different-address label {
    color: #f0f0f0 !important;
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    background: transparent !important;
}

/* ── Classic checkout fixes ───────────────────────────────────────────────── */
/* Order summary inner table */
.woocommerce-checkout #order_review table.shop_table,
.woocommerce-checkout #order_review table.shop_table tbody,
.woocommerce-checkout #order_review table.shop_table tr,
.woocommerce-checkout #order_review table.shop_table td,
.woocommerce-checkout #order_review table.shop_table th {
    background: transparent !important;
    color: #f0f0f0 !important;
}

/* Select dropdown vertical alignment */
.woocommerce form.checkout select,
.woocommerce-page select,
select.country_to_state,
#billing_country, #billing_state,
#shipping_country, #shipping_state {
    display: flex !important;
    align-items: center !important;
    height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 48px !important;
}

/* Collection checkbox overflow fix */
.ccw-collection-wrap,
.ccw-collection-option {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
}

/* ── Stripe payment box ───────────────────────────────────────────────────── */
.wc-stripe-elements-field,
.wc-stripe-iban-element-field,
#wc-stripe-card-element,
.StripeElement,
.stripe-card-group,
.woocommerce-checkout .stripe_checkout_insert,
#stripe-payment-data,
.woocommerce_stripe_checkout_page .entry-content {
    background: #1a1a1a !important;
    color: #f0f0f0 !important;
    border-color: rgba(255,255,255,0.12) !important;
}

/* ── Select vertical alignment fix ───────────────────────────────────────── */
.woocommerce-page select,
.woocommerce select,
select {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    height: auto !important;
    line-height: normal !important;
}

/* ── Checkout form labels ─────────────────────────────────────────────────── */
.woocommerce-checkout label,
.woocommerce-checkout .form-row label,
.woocommerce form .form-row label {
    color: #f0f0f0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* ── Select dropdown vertical centring ───────────────────────────────────── */
.woocommerce-checkout select,
.woocommerce-page select,
.woocommerce select,
select.country_to_state,
#billing_country, #billing_state,
#shipping_country, #shipping_state {
    height: 48px !important;
    padding: 0 16px !important;
    line-height: 48px !important;
    display: block !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
}

/* ── Checkout labels — higher specificity fix ────────────────────────────── */
body.woocommerce-checkout label,
body.woocommerce-checkout .form-row label,
body.woocommerce-checkout .woocommerce-input-wrapper + label,
.woocommerce-billing-fields label,
.woocommerce-shipping-fields label,
.woocommerce-additional-fields label {
    color: #f0f0f0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* ── Select2 dropdown styling ─────────────────────────────────────────────── */
.select2-container--default .select2-selection--single {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 4px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #f0f0f0 !important;
    line-height: 48px !important;
    padding-left: 16px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: rgba(255,255,255,0.4) !important;
}
.select2-dropdown {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #f0f0f0 !important;
}
.select2-container--default .select2-results__option {
    color: #f0f0f0 !important;
    background: #1a1a1a !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #EE3451 !important;
    color: #ffffff !important;
}
.select2-search--dropdown .select2-search__field {
    background: #141414 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #f0f0f0 !important;
}

/* ── Stripe card field labels ─────────────────────────────────────────────── */
.wc-stripe-elements-field label,
.wc-payment-form label,
.payment_method_stripe label,
#payment .payment_methods label,
#payment label,
.woocommerce-checkout #payment label {
    color: #f0f0f0 !important;
}

/* ── Stripe iframe container ──────────────────────────────────────────────── */
.wc-stripe-elements-field,
.wc-stripe-iban-element-field {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 4px !important;
}

/* ── Mobile nav ───────────────────────────────────────────────────────────── */
.ccw-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
}
.ccw-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #f0f0f0;
    border-radius: 2px;
    transition: all 0.2s ease;
}
.ccw-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ccw-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.ccw-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .ccw-header__top-inner { padding: 16px 20px; }
    .ccw-header__search { margin: 0 12px; }
    .ccw-header__nav-inner { padding: 0; }
    .ccw-nav__hamburger { display: flex; }

    .ccw-nav__menu {
        display: none !important;
        flex-direction: column !important;
        background: #141414;
        border-top: 1px solid rgba(255,255,255,0.06);
        padding: 8px 0 16px;
        width: 100%;
    }
    .ccw-nav__menu.is-open { display: flex !important; }

    .ccw-nav__menu > li > a {
        padding: 0 24px !important;
        line-height: 44px !important;
    }
    .ccw-nav__logout {
        margin-left: 0 !important;
        border-left: none !important;
        border-top: 1px solid rgba(255,255,255,0.08) !important;
        padding-left: 0 !important;
        margin-top: 8px !important;
    }
    .ccw-nav__logout a { padding: 0 24px !important; line-height: 44px !important; }

    .ccw-nav__dropdown {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid rgba(255,255,255,0.06) !important;
        background: #0d0d0d !important;
        padding: 0 !important;
    }
    .ccw-nav__has-dropdown:hover .ccw-nav__dropdown { display: none; }
    .ccw-nav__has-dropdown.is-open .ccw-nav__dropdown { display: block !important; }
    .ccw-nav__dropdown a { padding: 0 36px !important; line-height: 40px !important; }

    .ccw-logo-img { height: 44px !important; }
    .ccw-header__icon-btn { width: 44px !important; height: 44px !important; }
    .ccw-header__search-btn { width: 48px !important; height: 44px !important; }
    .ccw-header__search-input { height: 44px !important; }
}

@media (max-width: 480px) {
    .ccw-header__top-inner { padding: 12px 16px; gap: 12px; }
    .ccw-header__search { margin: 0 8px; }
}

/* ── Mobile nav v2 ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    #ccw-nav-inner {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 8px 0 16px;
    }
    #ccw-nav-inner.is-open { display: flex; }
    #ccw-nav-inner.is-open .ccw-nav__menu { display: flex !important; }

    #ccw-nav-inner .ccw-nav__menu {
        flex-direction: column !important;
        width: 100%;
    }
}

/* ── Mobile header fixes ──────────────────────────────────────────────────── */
/* Always show hamburger on mobile, hide search to make room */
@media (max-width: 768px) {
    .ccw-nav__hamburger {
        display: flex !important;
        order: 4;
        flex-shrink: 0 !important;
    }
    .ccw-header__search {
        display: none !important;
    }
    .ccw-header__top-inner {
        flex-wrap: nowrap !important;
    }
    .ccw-header__icons {
        flex-shrink: 0 !important;
    }
    .ccw-logo-img {
        height: 40px !important;
    }
}

/* ── Mobile header fixes ──────────────────────────────────────────────────── */
/* Always show hamburger on mobile, hide search to make room */
@media (max-width: 768px) {
    .ccw-nav__hamburger {
        display: flex !important;
        order: 4;
        flex-shrink: 0 !important;
    }
    .ccw-header__search {
        display: none !important;
    }
    .ccw-header__top-inner {
        flex-wrap: nowrap !important;
    }
    .ccw-header__icons {
        flex-shrink: 0 !important;
    }
    .ccw-logo-img {
        height: 40px !important;
    }
}

/* ── Mobile nav li height fix ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    #ccw-nav-inner .ccw-nav__menu > li {
        display: block !important;
        height: auto !important;
        width: 100% !important;
    }
    #ccw-nav-inner .ccw-nav__menu > li > a {
        display: block !important;
        height: 48px !important;
        line-height: 48px !important;
        padding: 0 24px !important;
        width: 100% !important;
    }
}

/* ── Shop / Archive sidebar layout ────────────────────────────────────────── */
.woocommerce #primary,
.woocommerce-page #primary { padding: 40px 40px 40px 0 !important; }

#secondary.widget-area {
    background: transparent !important;
    padding: 40px 0 40px 0 !important;
}

/* Sidebar widget titles */
#secondary .widget-title,
#secondary .wp-block-heading {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.4) !important;
    margin: 0 0 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* Category list */
#secondary .wc-block-product-categories-list-item a,
#secondary .wc-block-product-categories-list-item-count {
    color: rgba(255,255,255,0.75) !important;
    font-size: 14px !important;
    text-decoration: none !important;
}
#secondary .wc-block-product-categories-list-item a:hover { color: #EE3451 !important; }
#secondary .wc-block-product-categories-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px !important;
}
#secondary .wc-block-product-categories-list-item {
    padding: 6px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
}

/* Override WooCommerce filter block inline light colours */
#secondary .wp-block-woocommerce-product-filters,
#secondary .wc-block-product-filters {
    --wc-product-filters-text-color: #f0f0f0 !important;
    --wc-product-filters-background-color: transparent !important;
    color: #f0f0f0 !important;
    background: transparent !important;
}

/* Filter checkboxes */
#secondary .wc-block-product-filter-checkbox-list__label { color: rgba(255,255,255,0.75) !important; font-size: 14px !important; }
#secondary .wc-block-product-filter-checkbox-list__item { padding: 5px 0 !important; }
#secondary .wc-block-product-filter-checkbox-list__input-wrapper {
    border: 1px solid rgba(255,255,255,0.2) !important;
    background: transparent !important;
    border-radius: 3px !important;
}

/* Price slider */
#secondary .wc-block-product-filter-price-slider__content input[type="text"] {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #f0f0f0 !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
    font-size: 13px !important;
}
#secondary .range-bar { background: rgba(255,255,255,0.15) !important; }

/* Filter products button (mobile overlay trigger) */
#secondary .wc-block-product-filters__open-overlay {
    background: #1a1a1a !important;
    color: #f0f0f0 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
}

/* Widget spacing */
#secondary .widget { margin-bottom: 32px !important; }


.col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 48px !important;
}
@media (max-width: 768px) {
    .col-full { padding: 0 20px !important; }
}

/* ── Shop page content constraints ───────────────────────────────────────── */
.woocommerce #primary.content-area,
.woocommerce-page #primary.content-area,
.woocommerce #secondary.widget-area,
.woocommerce-page #secondary.widget-area {
    max-width: none;
    box-sizing: border-box;
}
.woocommerce .site-content,
.woocommerce-page .site-content {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 48px !important;
    display: block;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .woocommerce .site-content,
    .woocommerce-page .site-content { padding: 0 20px !important; }
}

/* ── Shop page styling ─────────────────────────────────────────────────── */
/* Shop heading */
.woocommerce-products-header__title {
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 24px !important;
    letter-spacing: -0.02em !important;
}

/* Sorting bar */
.storefront-sorting {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}
select.orderby {
    background: #1a1a1a !important;
    color: #f0f0f0 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
}
.woocommerce-result-count {
    color: rgba(255,255,255,0.45) !important;
    font-size: 13px !important;
}

/* Product cards */
.woocommerce ul.products li.product {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    padding: 0 0 16px !important;
    transition: border-color 0.2s ease !important;
}
.woocommerce ul.products li.product:hover {
    border-color: rgba(238,52,81,0.5) !important;
}
.woocommerce ul.products li.product img {
    border-radius: 0 !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 16px !important;
    margin-bottom: 4px !important;
}
.woocommerce ul.products li.product .price {
    padding: 0 16px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
}
.woocommerce ul.products li.product .button {
    margin: 0 16px !important;
    width: calc(100% - 32px) !important;
    text-align: center !important;
}

/* Sidebar left padding */
#secondary.widget-area {
    padding-left: 0 !important;
}
.left-sidebar #secondary.widget-area {
    padding-right: 24px !important;
}
