/*
Theme Name:  Will Varley
Theme URI:   https://willvarley.com
Description: Custom theme for willvarley.com. Replaces Hello Elementor. No page-builder required.
Version:     2.2.5
Author:      Will Varley
Text Domain: will-varley
*/

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #000000;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

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

a { color: #000000; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.wv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F5F5F5;
    min-height: 8vh;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo image */
.wv-logo {
    display: block;
    flex-shrink: 0;
}

.wv-logo img {
    width: 198px;
    height: auto;
    display: block;
}

/* Primary nav — absolutely centred in the header so it's always
   perfectly in the middle regardless of logo/cart widths */
.wv-nav {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
}

.wv-nav a {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    padding: 1px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.wv-nav a:hover,
.wv-nav a.active {
    text-decoration: underline;
    border-bottom-color: transparent;
}

/* Cart icon */
.wv-cart-wrap {
    position: relative;
    margin-left: auto;
}

.wv-cart {
    display: flex;
    align-items: center;
    position: relative;
    color: #000000;
    text-decoration: none;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.wv-cart svg {
    width: 22px;
    height: 22px;
    stroke: #000000;
}

.wv-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-family: 'Roboto', sans-serif;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wv-cart-count--hidden {
    display: none !important;
}

/* Mini cart flyout */
.wv-mini-cart {
    display: none !important;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    padding: 0;
}

.wv-mini-cart.open {
    display: block !important;
}

/* WC mini cart inner */
.wv-mini-cart .widget_shopping_cart_content ul.cart_list {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    max-height: 320px;
    overflow-y: auto;
}

.wv-mini-cart .widget_shopping_cart_content ul.cart_list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: #333;
}

.wv-mini-cart .widget_shopping_cart_content ul.cart_list li img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
}

.wv-mini-cart .widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
    padding: 20px 16px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.wv-mini-cart .widget_shopping_cart_content .woocommerce-mini-cart__total {
    padding: 12px 16px;
    border-top: 2px solid #000;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.wv-mini-cart .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wv-mini-cart .widget_shopping_cart_content .woocommerce-mini-cart__buttons a {
    display: block;
    text-align: center;
    padding: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.wv-mini-cart .widget_shopping_cart_content .woocommerce-mini-cart__buttons a.button {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.wv-mini-cart .widget_shopping_cart_content .woocommerce-mini-cart__buttons a.checkout {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.wv-mini-cart .widget_shopping_cart_content .woocommerce-mini-cart__buttons a:hover {
    opacity: 0.8;
}

/* Mobile hamburger */
.wv-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.wv-nav-toggle span {
    display: block;
    height: 2px;
    background: #000000;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   FOOTER
   ============================================================ */
.wv-footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.wv-home {
    background-color: #000000;
    min-height: calc(100vh - 8vh);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wv-hero {
    position: relative;
    width: 100%;
    height: 590px;
    overflow: hidden;
}

.wv-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    opacity: 0.72;
    display: block;
}

/* Mailing list button — sits just below the hero image */
.wv-mailing-btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -60px;  /* overlaps slightly with bottom of hero */
    position: relative;
    z-index: 2;
}

.wv-mailing-btn {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    background-color: #000000;
    border: 3px solid #ffffff;
    padding: 14px 36px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.2s;
}

.wv-mailing-btn:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

/* Social icons row */
.wv-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.wv-social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.wv-social-row a:hover { opacity: 0.75; }

.wv-social-row svg {
    width: 25px;
    height: 25px;
    fill: #ffffff;
    stroke: none;
}

/* Copyright on home page */
.wv-home-copyright {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    padding-bottom: 24px;
}

/* ============================================================
   GENERIC PAGE (biography, contact, live, etc.)
   ============================================================ */
.wv-page {
    background-color: #ffffff;
    min-height: calc(100vh - 8vh);
}

.wv-page-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 5%;
}

/* Page title */
.wv-page-title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #000000;
}

/* Body text */
.wv-page-inner p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ============================================================
   BIOGRAPHY PAGE
   ============================================================ */
.wv-bio-photo {
    width: 100%;
    max-width: 1000px;
    height: 465px;
    object-fit: cover;
    object-position: center center;
    border-radius: 29px;
    margin: 0 auto 32px;
    display: block;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.wv-contact-block {
    margin-bottom: 24px;
}

.wv-contact-block strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.wv-contact-block p {
    margin-bottom: 4px;
}

/* ============================================================
   WOOCOMMERCE — SHOP SUB-NAV TABS
   ============================================================ */
.wv-shop-subnav {
    display: flex;
    background-color: #000000;
    width: 100%;
}

.wv-shop-subnav a {
    flex: 1;
    text-align: center;
    padding: 18px 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}

.wv-shop-subnav a:hover,
.wv-shop-subnav a.active {
    text-decoration: none;
    border-bottom-color: #ffffff;
}

/* ============================================================
   GENERIC WOOCOMMERCE PAGE FALLBACK
   Catches confirmation pages, my-account, lost password, etc.
   that aren't given a custom template. Constrains width and
   adds breathing room so content never hits the screen edge.
   ============================================================ */
.woocommerce-page .wv-page-inner,
.woocommerce .wv-page-inner {
    max-width: 860px;
}

/* Ensure WC's own inner wrappers don't break out */
.woocommerce-page .wv-page-inner .woocommerce,
.woocommerce-page .wv-page-inner form,
.woocommerce-page .wv-page-inner table {
    width: 100%;
}

/* Tidy up headings on fallback WC pages */
.woocommerce-page .wv-page-inner h2,
.woocommerce-page .wv-page-inner h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #111111;
    margin: 28px 0 14px;
}

/* Body text */
.woocommerce-page .wv-page-inner p,
.woocommerce-page .wv-page-inner li,
.woocommerce-page .wv-page-inner td,
.woocommerce-page .wv-page-inner th {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #444444;
    line-height: 1.7;
}

/* Table borders */
.woocommerce-page .wv-page-inner table {
    border-collapse: collapse;
}
.woocommerce-page .wv-page-inner table th,
.woocommerce-page .wv-page-inner table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}
.woocommerce-page .wv-page-inner table thead th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #111111;
    border-bottom: 2px solid #dddddd;
}

/* Order confirmation / thank-you notice */
.woocommerce-thankyou-order-received,
.woocommerce-order-received h2,
.woocommerce-order-overview {
    font-family: 'Roboto', sans-serif;
}
.woocommerce-thankyou-order-received {
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 24px;
}
.woocommerce-order-overview {
    list-style: none;
    padding: 20px 24px;
    background: #f8f8f8;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 32px;
}
.woocommerce-order-overview li {
    padding: 8px 24px 8px 0;
    font-size: 14px;
    color: #555555 !important;
    border: none !important;
}
.woocommerce-order-overview li strong {
    color: #111111;
    display: block;
    font-size: 16px;
}

/* WooCommerce wrapper */
.wv-woo-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 5%;
}

/* Product grid */

/* WooCommerce adds a ::before clearfix for its float layout.
   In a grid context that becomes an extra blank grid item at position 1.
   Kill it so products flow from cell 1. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce ul.products li.product {
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
    text-align: left;
}

.woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 6px;
}

/* Price colour override — match live site teal */
.woocommerce ul.products li.product .price {
    color: #2ea8b0 !important;
    font-size: 15px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

/* "Add to basket" button */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    border-radius: 0;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    opacity: 0.8;
    background-color: #000000 !important;
    color: #ffffff !important;
    text-decoration: none;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    font-family: 'Roboto', sans-serif;
    border-top: 3px solid #000;
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */

/* Force padding on the page wrapper — belt and braces so content
   never touches the screen edge regardless of WC wrapper behaviour */
body.single-product main.wv-page {
    padding: 40px 5% !important;
    box-sizing: border-box;
}
body.single-product .wv-woo-wrap {
    padding: 0 !important; /* avoid double-padding with the above */
}
body.single-product .woocommerce {
    width: 100% !important;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---- Hide BNPL badges (Klarna, Clearpay, Afterpay) ---- */
/* Custom HTML elements from plugins */
klarna-placement,
afterpay-placement,
/* Class-based selectors for every known plugin variant */
.klarna-payments-method,
#klarna-payments-container,
.klarna-onsite-messaging,
.kec-wrapper,
.wc-klarna-payments-not-available,
.clearpay-product-messaging,
.afterpay-placement,
.afterpay-paragraph,
.afterpay-tagline,
.stripe-bnpl-messaging,
[class*="klarna"],
[class*="clearpay"],
[class*="afterpay"],
[id*="klarna"],
[id*="clearpay"],
[id*="afterpay"],
/* Any paragraph in the product summary that wraps a badge image */
.woocommerce div.product .summary > p:has(img),
.woocommerce div.product .summary > p:has(img) + p {
    display: none !important;
}

/* Stripe payment method messaging iframe (Klarna/Clearpay BNPL banner).
   This is a cross-origin iframe so inner CSS cannot reach it —
   hide the iframe element itself on single product pages. */
.single-product iframe[name^="__privateStripeFrame"],
.single-product iframe[id^="__privateStripeFrame"],
.single-product iframe[src*="payment-method-messaging"],
.single-product iframe[src*="stripe.com/v3/elements"] {
    display: none !important;
}

/* ---- Hide Apple Pay / Google Pay express buttons ---- */
.wc-stripe-payment-request-wrapper,
#wc-stripe-payment-request-wrapper,
.woocommerce-PaymentRequestButton,
.payment_request_button_separator,
.wc_stripe_googlepay_button_container,
#wc-stripe-googlepay-button-container,
#wc-stripe-payment-request-button,
[id*="payment-request"],
[class*="payment-request"],
.prcb-wrap {
    display: none !important;
}

/* ---- Product title ---- */
.woocommerce div.product .product_title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    color: #111111;
}

/* ---- Price ---- */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #111111 !important;
    font-size: 22px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 16px;
    display: block;
}

/* ---- Short description ---- */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 20px;
    border-top: 1px solid #eeeeee;
    padding-top: 16px;
}

/* ---- Variations / Size label ---- */
.woocommerce div.product form.cart .variations th.label label {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111111;
}

/* ---- Size dropdown ---- */
.woocommerce div.product form.cart .variations select {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 0;
    padding: 10px 14px;
    background: #ffffff;
    color: #111111;
    min-width: 220px;
    appearance: auto;
}

/* ---- Size guide link ---- */
.size-guide-link,
a.size-guide {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #555555;
    text-decoration: underline;
}

/* ---- Add to basket button ---- */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button.button {
    background-color: #111111 !important;
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 14px 32px !important;
    border-radius: 0 !important;
    border: none !important;
    cursor: pointer;
    transition: opacity 0.2s;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    opacity: 0.75 !important;
    background-color: #111111 !important;
}

/* ---- Quantity input ---- */
.woocommerce div.product form.cart .quantity input.qty {
    border: 1px solid #cccccc;
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    padding: 10px 12px;
    width: 64px;
    text-align: center;
}

/* ---- Meta (SKU, categories, tags) — subtle ---- */
.woocommerce div.product .product_meta {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #999999;
    border-top: 1px solid #eeeeee;
    padding-top: 16px;
    margin-top: 20px;
}
.woocommerce div.product .product_meta a {
    color: #555555;
    text-decoration: none;
}
.woocommerce div.product .product_meta a:hover {
    text-decoration: underline;
}

/* ---- Tabs (Description, Additional info) ---- */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 48px;
    border-top: 1px solid #eeeeee;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eeeeee;
    background: none;
    list-style: none;
    display: flex;
    gap: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999999;
    padding: 14px 24px;
    display: block;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #111111;
    border-bottom: 2px solid #111111;
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 28px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #444444;
    line-height: 1.75;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    display: none; /* hides the redundant "Description" heading */
}

/* ---- Related products ---- */
.woocommerce .related.products > h2,
.related.products h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #111111;
    margin-bottom: 24px;
    padding-top: 40px;
    border-top: 1px solid #eeeeee;
}

/* ============================================================
   SHOP LANDING PAGE (/shop/)
   ============================================================ */
.wv-shop-landing {
    background: #ffffff;
    padding: 0 0 60px;
}

.wv-sl-banner {
    background: #EDE5E3;
    text-align: center;
    padding: 20px 20px;
}

.wv-sl-banner-text {
    display: block;
    font-family: 'Alfa Slab One', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: #7A3525;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.wv-sl-search {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.wv-sl-search form {
    display: flex;
    width: 100%;
}

.wv-sl-search input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 3px 0 0 3px;
    outline: none;
    background: #f5f5f5;
}

.wv-sl-search button,
.wv-sl-search input[type="submit"] {
    background: #555;
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    font-size: 16px;
    min-width: 50px;
}

.wv-sl-grid {
    display: flex;
    flex-direction: row;
    gap: 0;
    max-width: 900px;
    margin: 32px auto 0;
    padding: 0 20px;
}

.wv-sl-cat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 0;
}

.wv-sl-cat-img-wrap {
    width: 100%;
    overflow: hidden;
    transition: transform 0.5s;
}

.wv-sl-cat:hover .wv-sl-cat-img-wrap {
    transform: scale(1.05);
}

.wv-sl-cat-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.wv-sl-cat-label {
    font-family: 'Road Rage', sans-serif;
    font-size: 51px;
    font-weight: 300;
    color: #7A7A7A;
    text-align: center;
    transition: transform 0.5s;
    display: block;
    line-height: 1.1;
    margin-top: 4px;
}

.wv-sl-cat:hover .wv-sl-cat-label {
    transform: scale(1.2);
}

.wv-sl-all-wrap {
    text-align: center;
    margin-top: 36px;
}

.wv-sl-all-btn {
    display: inline-block;
    background: #6197CE;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 32px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.wv-sl-all-btn:hover {
    opacity: 0.85;
    color: #ffffff;
    text-decoration: none;
}

.wv-sl-payment {
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
}

.wv-sl-payment-img {
    display: inline-block;
    max-width: 400px;
    height: auto;
}

@media (max-width: 880px) {
    .wv-sl-cat-label { font-size: 32px; }
}

@media (max-width: 600px) {
    .wv-sl-grid { flex-direction: column; gap: 32px; }
    .wv-sl-cat-label { font-size: 36px; }
    .wv-sl-banner-img { max-width: 100%; }
}

/* ============================================================
   MACHINES SHOP PAGE
   ============================================================ */
.wv-machinesshop {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 60px 20px;
}

.wv-ms-grid {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    width: 100%;
}

.wv-ms-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.wv-ms-img {
    width: 100%;
    max-width: 300px;
    height: 295px;
    object-fit: cover;
    display: block;
}

.wv-ms-btn {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    text-decoration: none;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: transform 0.2s;
    text-align: center;
}

.wv-ms-btn:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: scale(1.05);
}

.wv-ms-btn--gold { background-color: #CFA040; }
.wv-ms-btn--red  { background-color: #E66565; }

/* ============================================================
   SHOP POLICY LINKS FOOTER ROW
   ============================================================ */
.wv-shop-policy-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 20px 5% 32px;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

.wv-shop-policy-links a {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

.wv-shop-policy-links a:hover {
    color: #000;
    text-decoration: underline;
}

/* ============================================================
   MACHINES SPLASH PAGE (/machines/)
   ============================================================ */
.wv-machines-page {
    background-color: #000;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wv-machines-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://willvarley.com/wp-content/uploads/2025/03/digital-ARTWORK-MACHINES-WV-scaled.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.9;
    z-index: 0;
}

.wv-machines-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 5% 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wv-machines-title {
    font-family: 'Monoton', sans-serif;
    font-size: 68px;
    font-weight: 600;
    color: #D8D8D8;
    text-align: center;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.wv-machines-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #D3D3D3;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.wv-machines-btns {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.wv-machines-btn {
    font-family: 'Protest Strike', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #000;
    background-color: #CACACA;
    border-radius: 5px;
    padding: 15px 40px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.wv-machines-btn:hover {
    opacity: 0.85;
    transform: scale(1.03);
    color: #000;
}

/* ============================================================
   PREORDER PAGE (/preorder/)
   ============================================================ */
.wv-preorder-page {
    padding: 60px 5%;
}

.wv-preorder-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.wv-preorder-cta {
    font-family: 'Square Peg', cursive;
    font-size: 52px;
    color: #D68A43;
    text-decoration: none;
    line-height: 1.1;
    transition: opacity 0.2s;
}

.wv-preorder-cta:hover {
    opacity: 0.8;
    color: #D68A43;
    text-decoration: underline;
}

.wv-preorder-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* ============================================================
   OUT-STORES INFO PAGE (/out-stores-shows-info/)
   ============================================================ */
.wv-outstores-page {
    padding: 60px 5%;
}

.wv-outstores-inner {
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.wv-outstores-inner p {
    margin-bottom: 18px;
}

.wv-outstores-btns {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.wv-outstores-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background-color: #333;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.wv-outstores-btn:hover {
    background-color: #000;
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .wv-machines-title { font-size: 36px; }
    .wv-machines-btns { flex-direction: column; align-items: center; }
    .wv-machines-btn { width: 80%; text-align: center; padding: 14px 20px; }
    .wv-preorder-cta { font-size: 38px; }
    .wv-outstores-btns { flex-direction: column; align-items: center; }
    .wv-outstores-btn { width: 80%; text-align: center; }

    .wv-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 8vh;
        left: 0;
        right: 0;
        background: #F5F5F5;
        padding: 16px 5%;
        gap: 16px;
        align-items: flex-start;
        z-index: 999;
        border-top: 1px solid #e0e0e0;
    }

    .wv-nav.open { display: flex; }

    .wv-nav-toggle { display: flex; }

    .wv-header { position: relative; }

    .wv-logo img { width: 150px; }

    .wv-hero { height: 360px; }

    .wv-mailing-btn { font-size: 18px; padding: 12px 24px; }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .wv-bio-photo { height: 280px; }
}

@media (max-width: 480px) {
    .wv-logo img { width: 120px; }

    .wv-hero { height: 260px; }

    .wv-mailing-btn { font-size: 15px; padding: 10px 18px; }

    .woocommerce ul.products {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .wv-shop-subnav a { font-size: 12px; padding: 14px 6px; }

    .wv-ms-grid { flex-direction: column; gap: 40px; }
    .wv-ms-img { height: 240px; }
}

/* ============================================================
   LIVE PAGE
   ============================================================ */
.wv-page--live .wv-page-inner {
    max-width: 1100px;
    padding-left: 5%;
    padding-right: 5%;
}

/* Full-width table */
.wv-page--live table,
table.wv-event-table {
    width: 100%;
}

/* Row height */
table.wv-event-table td {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* Make table cell text grey like the original */
table.wv-event-table td,
table.wv-event-table td * {
    color: #555555 !important;
}

/* Alternating row stripes */
table.wv-event-table tbody tr:nth-child(odd) td {
    background-color: #ffffff !important;
}
table.wv-event-table tbody tr:nth-child(even) td {
    background-color: #f2f2f2 !important;
}

/* Column headers stay black */
table.wv-event-table thead tr td,
table.wv-event-table thead tr td *,
.wv-event-table-th {
    color: #000000 !important;
    background-color: transparent !important;
}

/* Tickets button text stays white */
table.wv-event-table td a,
table.wv-event-table td button {
    color: #ffffff !important;
}

/* =============================================
   LIVE MERCH PAGE (/merch/)
   ============================================= */

.wv-merch-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.wv-merch-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}

.wv-merch-grid {
    margin-bottom: 48px;
}

.wv-merch-empty {
    text-align: center;
    color: #777;
    font-size: 1rem;
    margin-bottom: 48px;
}

.wv-merch-checkout-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.wv-merch-checkout-btn {
    display: inline-block;
    background-color: #4a90d9;
    color: #fff !important;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 48px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.wv-merch-checkout-btn:hover {
    background-color: #2c6fad;
    color: #fff !important;
    text-decoration: none;
}
