/*
Theme Name:        VØID Footwear
Theme URI:         https://example.com/void-footwear
Author:            xie
Author URI:        https://example.com
Description:       A modern, minimalist WordPress theme for premium footwear brands. Built on Tailwind CSS (CDN) and Alpine.js with a static homepage layout.
Version:           1.1.0
Requires at least: 5.8
Tested up to:      6.5
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       void-footwear
Tags:              ecommerce, one-column, custom-menu, featured-images, footer-widgets, full-width-template, theme-options
*/

/* -------------------------------------------------------------------
 * The visual system is driven entirely by Tailwind (loaded via CDN in
 * header.php). Only a handful of overrides live here — anything that
 * cannot be expressed with utility classes on the markup itself.
 * ------------------------------------------------------------------- */

/* Force no rounded corners everywhere (matches the brand design system). */
* {
    border-radius: 0 !important;
}
#ppc-button-ppcp-gateway,
#ppc-button-ppcp-gateway *,
#ppc-button-ppcp-applepay,
#ppc-button-ppcp-applepay *,
#ppc-button-ppcp-googlepay,
#ppc-button-ppcp-googlepay * {
    border-radius: revert !important;
}

/* Hide scrollbar for horizontal scroll areas (trending products slider). */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth image transitions on hover (product cards, banners). */
.img-hover {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.group:hover .img-hover {
    transform: scale(1.05);
}

/* Alpine x-cloak — hide elements until Alpine has initialised. */
[x-cloak] {
    display: none !important;
}

/* -------------------------------------------------------------------
 * Fixed header positioning.
 *
 * The header sits below the announcement bar. When the user scrolls
 * it snaps to the top (.is-scrolled). When WordPress shows the admin
 * bar (body.admin-bar) we push everything down by the admin bar's
 * height — 46px on screens ≤ 782px, 32px on screens ≥ 783px.
 * ------------------------------------------------------------------- */

/* Baseline — no admin bar. */
.void-header {
    top: 36px;
}
@media (min-width: 640px) {
    .void-header {
        top: 40px;
    }
}
.void-header.is-scrolled {
    top: 0;
}

/* Logged-in view — WordPress admin bar is present. */
body.admin-bar .void-header {
    top: calc(36px + 46px);
}
@media (min-width: 640px) {
    body.admin-bar .void-header {
        top: calc(40px + 46px);
    }
}
@media (min-width: 783px) {
    body.admin-bar .void-header {
        top: calc(40px + 32px);
    }
}

body.admin-bar .void-header.is-scrolled {
    top: 46px;
}
@media (min-width: 783px) {
    body.admin-bar .void-header.is-scrolled {
        top: 32px;
    }
}

/* -------------------------------------------------------------------
 * Popular Categories banner — height is configurable per breakpoint
 * via two CSS custom properties set inline on the element:
 *   --banner-h        : mobile min-height (default 420px)
 *   --banner-h-md     : desktop (≥ 768px) min-height (default 520px)
 * ------------------------------------------------------------------- */
.void-cat-banner {
    min-height: var(--banner-h, 420px);
}
@media (min-width: 768px) {
    .void-cat-banner {
        min-height: var(--banner-h-md, 520px);
    }
}

/* -------------------------------------------------------------------
 * Hero slider — same pattern as the banner above. Defaults to full
 * viewport height on both breakpoints; admin can override via
 *   --hero-h       : mobile height
 *   --hero-h-md    : desktop (≥ 768px) height
 * ------------------------------------------------------------------- */
.void-hero-section {
    height: var(--hero-h, 100vh);
}
@media (min-width: 768px) {
    .void-hero-section {
        height: var(--hero-h-md, 100vh);
    }
}

/* -------------------------------------------------------------------
 * Full-width promo banner — parallax background layer.
 * Mobile devices scroll the background normally (fixed has broken
 * behaviour on iOS Safari and is laggy on Android). Desktop viewports
 * get `background-attachment: fixed` for the classic parallax effect.
 *
 * The image URL is injected via two CSS custom properties set inline:
 *   --wide-bg          : desktop image (required)
 *   --wide-bg-mobile   : mobile image (optional, falls back to desktop)
 * ------------------------------------------------------------------- */
.void-wide-bg {
    background-image: var(--wide-bg-mobile, var(--wide-bg));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
@media (min-width: 768px) {
    .void-wide-bg {
        background-image: var(--wide-bg);
        background-attachment: fixed;
    }
}

/* -------------------------------------------------------------------
 * WooCommerce ships a very broad rule:
 *     .woocommerce img, .woocommerce-page img { height: auto; }
 * which overrides Tailwind's utility heights (h-full, h-screen, etc.)
 * on product / shop / cart pages. Reinstate the utility heights when
 * the img explicitly uses them, so aspect-ratio cards keep working.
 * ------------------------------------------------------------------- */
.woocommerce img.h-full,
.woocommerce-page img.h-full,
body.woocommerce img.h-full {
    height: 100%;
}
.woocommerce img.h-screen,
.woocommerce-page img.h-screen {
    height: 100vh;
}

/* -------------------------------------------------------------------
 * Shop / product archive — brand polish for WooCommerce-generated
 * markup that we can't fully control from a template override.
 * ------------------------------------------------------------------- */

/* Sticky sort/count bar — sits immediately below the docked header.
 * Header height is 80px (h-20). When admin bar is visible, push down by
 * its height too so nothing gets covered.
 */
.void-shop-bar {
    top: 80px;
}
body.admin-bar .void-shop-bar {
    top: calc(80px + 46px);
}
@media (min-width: 783px) {
    body.admin-bar .void-shop-bar {
        top: calc(80px + 32px);
    }
}

/* Sort dropdown — flatten WC's default <form> + <select> styling. */
.void-shop-sort form.woocommerce-ordering {
    margin: 0;
}
.void-shop-sort select.orderby {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 14px 14px;
    border: none;
    border-bottom: 2px solid #000;
    border-radius: 0;
    padding: 0.25rem 1.75rem 0.25rem 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    min-width: 120px;
}
@media (min-width: 768px) {
    .void-shop-sort select.orderby {
        font-size: 13px;
    }
}
.void-shop-sort select.orderby:focus {
    outline: none;
    border-bottom-color: #000;
}

/* Pagination — square black/white brand buttons. */
.woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
}
.woocommerce-pagination ul.page-numbers li {
    border: none;
    margin: 0;
}
.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    transition: background-color 0.2s, color 0.2s;
}
.woocommerce-pagination ul.page-numbers li .page-numbers:hover {
    background: #000;
    color: #fff;
}
.woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background: #000;
    color: #fff;
}
.woocommerce-pagination ul.page-numbers li .page-numbers.dots {
    border: none;
    background: transparent;
    color: #9ca3af;
}
.woocommerce-pagination ul.page-numbers li .page-numbers.dots:hover {
    background: transparent;
    color: #9ca3af;
}

/* Shop result message / "no products found" — used by cat pages with no items. */
.void-shop .woocommerce-info,
.void-shop .woocommerce-message {
    background: #f3f4f6;
    border: 2px solid #000;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
}

/* Breadcrumb wrap produced by our override. */
.void-crumbs a {
    color: inherit;
}

/* -------------------------------------------------------------------
 * Single product page — restyle WooCommerce-generated widgets to match
 * the brand: bold black/white, uppercase tracking, square hard edges.
 * ------------------------------------------------------------------- */

/* --- Gallery --- */
.void-single-gallery .woocommerce-product-gallery {
    position: relative;
    float: none;
    width: 100% !important;
    margin: 0;
}
.void-single-gallery .woocommerce-product-gallery__image {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}
.void-single-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}
.void-single-gallery .flex-control-nav.flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.void-single-gallery .flex-control-nav.flex-control-thumbs li {
    flex: 0 0 calc(16.666% - 7px);
    margin: 0;
}
.void-single-gallery .flex-control-nav.flex-control-thumbs li img {
    opacity: 0.5;
    transition: opacity 0.2s;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}
.void-single-gallery .flex-control-nav.flex-control-thumbs li img.flex-active,
.void-single-gallery .flex-control-nav.flex-control-thumbs li img:hover {
    opacity: 1;
    border-color: #000;
}
.void-single-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    border-radius: 0;
}
.void-single-gallery .woocommerce-product-gallery__trigger::before {
    content: "⛶";
    font-size: 16px;
    font-weight: bold;
}

/* --- Lightbox --- */
.void-lightbox {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.void-lightbox img {
    transition: opacity 0.2s ease;
}

/* --- Price --- */
.void-single-price .price,
.void-single-price span.amount {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    letter-spacing: -0.02em;
    line-height: 1;
}
@media (min-width: 768px) {
    .void-single-price .price,
    .void-single-price span.amount {
        font-size: 36px;
    }
}
.void-single-price del {
    color: #9ca3af;
    font-size: 0.6em;
    font-weight: 700;
    margin-right: 12px;
}
.void-single-price ins {
    text-decoration: none;
    color: #dc2626;
}

/* --- Variations table (variable product: size/color selects) --- */
.void-single-summary table.variations {
    margin-bottom: 1.5rem;
    width: 100%;
    border-collapse: collapse;
}
.void-single-summary table.variations tr {
    display: block;
    margin-bottom: 1.25rem;
}
.void-single-summary table.variations th,
.void-single-summary table.variations td {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
}
.void-single-summary table.variations th.label,
.void-single-summary table.variations th.label label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-align: left; /* WC / some parent themes force right-align */
}

/* Hide the native <select> once swatches have been injected. Keep it in
 * the DOM so WC's variations.js can still read/write the value. */
.void-single-summary td.void-has-swatches > select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Swatch buttons (rendered by void-single.js) */
.void-single-summary .void-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.void-single-summary .void-variation-swatch {
    min-width: 48px;
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, opacity 0.15s;
    line-height: 1;
}
.void-single-summary .void-variation-swatch:hover {
    background: #000;
    color: #fff;
}
.void-single-summary .void-variation-swatch.is-active {
    background: #000;
    color: #fff;
}
.void-single-summary .void-variation-swatch.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}
.void-single-summary .void-variation-swatch.is-disabled:hover {
    background: #fff;
    color: #000;
}

/* Fallback styling for any select that hasn't been enhanced yet
 * (pre-JS paint, or when JS fails). */
.void-single-summary table.variations td.value select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
    width: 100%;
    max-width: 280px;
    padding: 12px 40px 12px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    border: 2px solid #000;
    border-radius: 0;
    cursor: pointer;
}
.void-single-summary table.variations td.value select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}
/* Hide WC's "Clear" link — we replicate the clear action by clicking the
 * active swatch again (see void-single.js enhanceSelect). */
.void-single-summary .reset_variations,
.void-single-cart .reset_variations {
    display: none !important;
}
/* Hide the duplicate per-variation price block inside the cart form —
 * its value is mirrored into the hero .void-single-price via JS instead. */
.void-single-summary .woocommerce-variation-price,
.void-single-cart .woocommerce-variation-price {
    display: none !important;
}

/* Per-variation availability line (stock, "Only 2 left") stays visible. */
.void-single-summary .woocommerce-variation-availability,
.void-single-cart .woocommerce-variation-availability {
    margin: 0 0 0.5rem 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #059669;
}
.void-single-summary .woocommerce-variation-description,
.void-single-cart .woocommerce-variation-description {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
}

/* --- Quantity + add-to-cart row --- */
.void-single-cart .quantity {
    display: inline-flex;
    align-items: stretch;
    margin-right: 12px;
    vertical-align: middle;
}
.void-single-cart .quantity label {
    display: none;
}
.void-single-cart .quantity input.qty {
    width: 70px;
    height: 56px;
    padding: 0 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    appearance: textfield;
    -moz-appearance: textfield;
}
.void-single-cart .quantity input.qty::-webkit-outer-spin-button,
.void-single-cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/**
 * Override WC/theme default button colours (purple/blue accent) so both
 * primary action buttons match the brand. We pin with a high-specificity
 * selector and `!important` because many WC plugins and parent themes
 * inject background-color via their own !important rules.
 */
.void-single-cart form.cart {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.void-single-cart form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

/* Shared pill for Add to Cart + Buy Now. */
.void-single-cart button.single_add_to_cart_button,
.void-single-cart .single_add_to_cart_button.button,
.void-single-cart .single_add_to_cart_button.alt,
.void-single-cart button[name="add-to-cart"],
.void-single-cart button.void-buy-now,
.void-single-cart .void-buy-now.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    min-width: 180px;
    padding: 0 1.75rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    vertical-align: middle;
    line-height: 1;
    text-decoration: none;
}

/* Add to Cart — primary filled black. */
.void-single-cart button.single_add_to_cart_button,
.void-single-cart .single_add_to_cart_button.button,
.void-single-cart .single_add_to_cart_button.alt,
.void-single-cart button[name="add-to-cart"] {
    background-color: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
}
.void-single-cart button.single_add_to_cart_button:hover,
.void-single-cart .single_add_to_cart_button.button:hover,
.void-single-cart .single_add_to_cart_button.alt:hover,
.void-single-cart button[name="add-to-cart"]:hover {
    background-color: #fff !important;
    color: #000 !important;
}
.void-single-cart button.single_add_to_cart_button:disabled,
.void-single-cart .single_add_to_cart_button.button:disabled,
.void-single-cart .single_add_to_cart_button.alt.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed;
}

/* Buy Now — secondary outlined (flipped state). */
.void-single-cart button.void-buy-now,
.void-single-cart .void-buy-now.button {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}
.void-single-cart button.void-buy-now:hover,
.void-single-cart .void-buy-now.button:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* WhatsApp button — full-width green row below Add to Cart + Buy Now. */
.void-single-cart .void-whatsapp-btn,
.void-single-cart a.void-whatsapp-btn.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 100%;
    height: 52px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
    background-color: #25d366 !important;
    color: #fff !important;
    border: 2px solid #25d366 !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
    padding: 0 16px;
    line-height: 1;
    box-sizing: border-box;
}
.void-single-cart .void-whatsapp-btn:hover,
.void-single-cart a.void-whatsapp-btn.button:hover {
    background-color: #1da851 !important;
    border-color: #1da851 !important;
    color: #fff !important;
}
.void-single-cart .void-whatsapp-btn svg {
    flex-shrink: 0;
    display: inline-block;
}

/**
 * Layout:
 *   row 1: [ qty ] [ Add to Cart ] [ Buy Now ]  — share width equally
 *   row 2: [         WhatsApp (full width)     ]
 * Mobile: qty + add-to-cart row 1, buy now row 2, whatsapp row 3.
 */
.void-single-cart button.single_add_to_cart_button,
.void-single-cart .single_add_to_cart_button.button,
.void-single-cart .single_add_to_cart_button.alt,
.void-single-cart button[name="add-to-cart"],
.void-single-cart button.void-buy-now,
.void-single-cart .void-buy-now.button {
    flex: 1 1 0%;
    min-width: 0;
}
@media (max-width: 767px) {
    .void-single-cart .quantity {
        flex: 0 0 auto;
    }
    .void-single-cart button.single_add_to_cart_button,
    .void-single-cart .single_add_to_cart_button.button,
    .void-single-cart .single_add_to_cart_button.alt {
        flex: 1 1 auto;
        min-width: 0;
    }
    .void-single-cart button.void-buy-now,
    .void-single-cart .void-buy-now.button {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* Stock status */
.void-single-summary .stock {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.void-single-summary .stock.in-stock    { color: #059669; }
.void-single-summary .stock.out-of-stock { color: #dc2626; }

/* Meta links — keep them inline and styled like the rest of the block. */
.void-single-meta a {
    color: inherit;
    text-decoration: underline;
}
.void-single-meta a:hover {
    color: #000;
}

/* --- Tabs --- */
.void-single-tabs ul.tabs.wc-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-bottom: 1px solid #e5e7eb;
}
.void-single-tabs ul.tabs.wc-tabs::before,
.void-single-tabs ul.tabs.wc-tabs::after {
    display: none;
}
.void-single-tabs ul.tabs.wc-tabs li {
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}
.void-single-tabs ul.tabs.wc-tabs li a {
    display: inline-block;
    padding: 12px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ca3af;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}
@media (min-width: 768px) {
    .void-single-tabs ul.tabs.wc-tabs li a {
        font-size: 13px;
        padding: 16px 0;
    }
}
.void-single-tabs ul.tabs.wc-tabs li.active a,
.void-single-tabs ul.tabs.wc-tabs li a:hover {
    color: #000;
    border-bottom-color: #000;
}
.void-single-tabs .woocommerce-Tabs-panel {
    padding-top: 1rem;
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
}
@media (min-width: 768px) {
    .void-single-tabs .woocommerce-Tabs-panel {
        font-size: 16px;
    }
}
.void-single-tabs .woocommerce-Tabs-panel h2:first-child {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 1rem 0;
}
.void-single-tabs .shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.void-single-tabs .shop_attributes tr {
    border-bottom: 1px solid #e5e7eb;
}
.void-single-tabs .shop_attributes th,
.void-single-tabs .shop_attributes td {
    padding: 14px 0;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 13px;
}
.void-single-tabs .shop_attributes th {
    width: 30%;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
}
.void-single-tabs .shop_attributes td {
    color: #4b5563;
}

/* --- Accordion (right-side product panels) --- */
.void-accordion-panel > h2:first-child {
    display: none;
}
.void-accordion-panel .shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.void-accordion-panel .shop_attributes tr {
    border-bottom: 1px solid #e5e7eb;
}
.void-accordion-panel .shop_attributes th,
.void-accordion-panel .shop_attributes td {
    padding: 10px 0;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 13px;
}
.void-accordion-panel .shop_attributes th {
    width: 35%;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
}
.void-accordion-panel .shop_attributes td {
    color: #4b5563;
}
.void-accordion-panel p {
    margin: 0 0 0.75rem 0;
}
.void-accordion-panel p:last-child {
    margin-bottom: 0;
}

/* Product features (trust signals below add-to-cart) */
.void-product-features {
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 768px) {
    .void-product-features {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Related products heading is styled via Tailwind in our related.php */

/* ===================================================================
 * Product reviews — masonry grid of review cards + custom form.
 * =================================================================== */

.void-reviews {
    max-width: 100%;
}

/* Alpine x-cloak — hide until Alpine initialises so the modal never flashes
 * on page paint. */
[x-cloak] {
    display: none !important;
}

/* Modal reset: WooCommerce sometimes injects a focused outline on the
 * submit button in colours that don't match our theme. Also make sure the
 * modal itself sits above the sticky header. */
.void-review-modal {
    z-index: 1000; /* above .void-header (z-50) and admin bar (99999 is above us; that's fine) */
}
body.void-review-modal-open {
    overflow: hidden;
}

/* Masonry via CSS columns: naturally staggers cards by height.
 * `break-inside: avoid` keeps each review card whole. */
.void-reviews-grid.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 1;
    column-gap: 16px;
}
@media (min-width: 640px)  { .void-reviews-grid.commentlist { columns: 2; } }
@media (min-width: 768px)  { .void-reviews-grid.commentlist { columns: 3; column-gap: 20px; } }
@media (min-width: 1024px) { .void-reviews-grid.commentlist { columns: 4; } }
@media (min-width: 1280px) { .void-reviews-grid.commentlist { columns: 5; } }

.void-reviews-grid > li {
    display: block;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 16px 0;
    padding: 0;
    border: 0;
    list-style: none;
    background: transparent;
}
@media (min-width: 768px) {
    .void-reviews-grid > li {
        margin-bottom: 20px;
    }
}

.void-review-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.void-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Avg rating stars (header) */
.void-stars svg {
    display: inline-block;
    vertical-align: middle;
}

/* --- Review form --- */
.void-review-form-wrapper .void-field {
    margin: 0 0 1.25rem 0;
}
.void-review-form-wrapper .void-field-half {
    display: inline-block;
    width: calc(50% - 8px);
}
.void-review-form-wrapper .void-field-half:first-of-type {
    margin-right: 12px;
}
@media (max-width: 640px) {
    .void-review-form-wrapper .void-field-half {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}
.void-review-form-wrapper .void-field-full {
    display: block;
    width: 100%;
}
.void-review-form-wrapper .void-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
}
.void-review-form-wrapper .void-label .required {
    color: #dc2626;
}
.void-review-form-wrapper .void-input,
.void-review-form-wrapper .void-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
}
.void-review-form-wrapper .void-textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}
.void-review-form-wrapper .void-input:focus,
.void-review-form-wrapper .void-textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* Star rating picker */
.void-rating-input {
    display: inline-flex;
    gap: 4px;
    padding: 6px 10px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
}
.void-star-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
}
.void-star-btn::before {
    content: "";
    position: absolute;
    inset: 4px;
    background-color: #e5e7eb;
    -webkit-mask: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color 0.15s;
}
.void-star-btn.is-active::before {
    background-color: #000;
}
.void-star-btn:hover::before {
    background-color: #111;
}

/* Hide WC's native stars (p.stars) since we have our own picker. */
.void-review-form-wrapper p.stars,
.void-review-form-wrapper p.stars.selected,
.void-review-form-wrapper .comment-form-rating {
    display: none !important;
}

/* Upload dropzone */
.void-upload-wrap {
    position: relative;
}
.void-upload-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.void-upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2rem 1rem;
    border: 2px dashed #d1d5db;
    cursor: pointer;
    background: #f9fafb;
    transition: border-color 0.2s, background 0.2s;
}
.void-upload-dropzone:hover {
    border-color: #000;
    background: #fff;
}
.void-upload-icon {
    font-size: 28px;
    line-height: 1;
    color: #000;
    font-weight: 300;
}
.void-upload-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7280;
}
.void-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.void-upload-preview img.void-upload-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

/* Submit button */
.void-review-form-wrapper .form-submit {
    margin: 0;
}
.void-review-form-wrapper .void-review-submit,
.void-review-form-wrapper .form-submit input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 200px !important;
    height: 56px !important;
    padding: 0 2.5rem !important;
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.void-review-form-wrapper .void-review-submit:hover,
.void-review-form-wrapper .form-submit input[type="submit"]:hover {
    background: #fff !important;
    color: #000 !important;
}

/* ===================================================================
 * Cart + Checkout — brand polish for WooCommerce classic shortcode.
 * =================================================================== */

.void-wc-page {
    font-size: 14px;
}

/* Page heading reuse */
.void-wc-page h1,
.void-wc-page .woocommerce > h1:first-child {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 1.5rem 0;
}

/* Notices ("Added to cart", coupon applied, etc.) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .wc-block-components-notice-banner,
.wc-block-components-notice-banner {
    background: #f9fafb !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    color: #000 !important;
    padding: 1rem 1.25rem !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.25rem !important;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    color: #000;
}
.woocommerce-message a.button,
.woocommerce-info a.button {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 8px 16px !important;
    font-size: 11px;
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: #fff !important;
    color: #000 !important;
}

/* ---- Cart page ---- */
.void-wc-page .woocommerce-cart-form table.shop_table,
.woocommerce-cart .shop_table.cart {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0 0 2rem 0;
}
.void-wc-page .shop_table thead {
    border-bottom: 2px solid #000;
}
.void-wc-page .shop_table thead th {
    padding: 14px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
    background: transparent;
}
.void-wc-page .shop_table tbody tr,
.void-wc-page .shop_table tbody tr.cart_item {
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}
.void-wc-page .shop_table tbody td {
    padding: 16px 12px;
    vertical-align: middle;
    background: transparent;
    border: none;
    font-size: 14px;
}
.void-wc-page .shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
    border: 1px solid #e5e7eb;
}
.void-wc-page .shop_table td.product-name a {
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.void-wc-page .shop_table td.product-name a:hover {
    text-decoration: underline;
}
.void-wc-page .shop_table td.product-price,
.void-wc-page .shop_table td.product-subtotal {
    font-weight: 800;
    color: #000;
}
.void-wc-page .shop_table td.product-quantity .quantity input.qty {
    width: 64px;
    height: 44px;
    padding: 0 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
    appearance: textfield;
    -moz-appearance: textfield;
}
.void-wc-page .shop_table td.product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #9ca3af !important;
    background: transparent !important;
    font-size: 18px;
    line-height: 1;
    transition: color 0.15s;
    border-radius: 0 !important;
}
.void-wc-page .shop_table td.product-remove a.remove:hover {
    color: #dc2626 !important;
    background: transparent !important;
}

/* Coupon + update row */
.void-wc-page .shop_table tr.actions {
    border-bottom: none;
}
.void-wc-page .shop_table tr.actions td {
    padding-top: 24px;
    padding-left: 0;
    padding-right: 0;
}
.void-wc-page .coupon {
    display: inline-flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}
.void-wc-page .coupon input[name="coupon_code"] {
    height: 48px;
    padding: 0 14px;
    min-width: 200px;
    font-size: 13px;
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.void-wc-page .coupon input[name="coupon_code"]::placeholder {
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* All WC buttons on these pages — black pill. */
.void-wc-page .button,
.void-wc-page button.button,
.void-wc-page input[type="submit"].button,
.void-wc-page .woocommerce-button.button,
.void-wc-page a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 1.75rem !important;
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    transition: background 0.2s, color 0.2s;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1;
}
.void-wc-page .button:hover,
.void-wc-page button.button:hover,
.void-wc-page input[type="submit"].button:hover,
.void-wc-page a.button:hover {
    background: #fff !important;
    color: #000 !important;
}
.void-wc-page .button.disabled,
.void-wc-page .button[disabled] {
    opacity: 0.35 !important;
    cursor: not-allowed;
}

/* "Return to shop" link on empty cart. */
.void-wc-page .cart-empty {
    text-align: center;
    padding: 2rem 0 1rem;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
}
.void-wc-page .wc-empty-cart-message {
    text-align: center;
}
.void-wc-page p.return-to-shop {
    text-align: center;
    margin-top: 1rem;
}

/* Cart page two-column layout: line items on the left, totals on the right.
   WC outputs `<form class="woocommerce-cart-form">` and
   `<div class="cart-collaterals">` as siblings of `.woocommerce`, so we
   turn the shared parent into a grid on the cart page. */
@media (min-width: 900px) {
    body.woocommerce-cart .void-wc-page .woocommerce {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }
    body.woocommerce-cart .void-wc-page .woocommerce > .woocommerce-notices-wrapper {
        grid-column: 1 / -1;
    }
    body.woocommerce-cart .void-wc-page .woocommerce-cart-form { grid-column: 1; }
    body.woocommerce-cart .void-wc-page .cart-collaterals     { grid-column: 2; margin-top: 0; }
}

/* Cart totals sidebar — always single column; the extra slot used to be
   for cross-sells but they now live elsewhere / are often empty. */
.void-wc-page .cart-collaterals {
    display: block;
    margin-top: 2rem;
}
/* Kill WC's default clearfix pseudos — we use grid, no float clearing. */
.woocommerce .void-wc-page .cart-collaterals::before,
.woocommerce .void-wc-page .cart-collaterals::after,
.woocommerce-page .void-wc-page .cart-collaterals::before,
.woocommerce-page .void-wc-page .cart-collaterals::after,
.void-wc-page .cart-collaterals::before,
.void-wc-page .cart-collaterals::after {
    content: none;
    display: none;
}
.void-wc-page .cart-collaterals .cross-sells {
    margin: 0 0 2rem 0;
}
.void-wc-page .cart-collaterals .cart_totals,
.woocommerce .void-wc-page .cart-collaterals .cart_totals,
.woocommerce-page .void-wc-page .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
    background: #f9fafb;
    border: 2px solid #000;
    padding: 1.5rem;
}
@media (min-width: 768px) {
    .void-wc-page .cart-collaterals .cart_totals {
        padding: 2rem;
    }
}
.void-wc-page .cart_totals h2 {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}
.void-wc-page .cart_totals table.shop_table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin: 0;
}
.void-wc-page .cart_totals table.shop_table th,
.void-wc-page .cart_totals table.shop_table td {
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    text-align: left;
}
.void-wc-page .cart_totals table.shop_table th {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    font-size: 12px;
}
.void-wc-page .cart_totals table.shop_table tr:last-child th,
.void-wc-page .cart_totals table.shop_table tr:last-child td {
    border-bottom: 0;
    padding-top: 18px;
    font-weight: 900;
    font-size: 18px;
    color: #000;
}
.void-wc-page .cart_totals .wc-proceed-to-checkout {
    margin-top: 1.5rem;
}
.void-wc-page .cart_totals .wc-proceed-to-checkout .checkout-button {
    display: flex !important;
    width: 100%;
    height: 56px !important;
}

/* ---- Checkout page ---- */
.void-wc-page .woocommerce form.checkout {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 900px) {
    .void-wc-page .woocommerce form.checkout {
        grid-template-columns: 1.2fr 1fr;
        /* Row 1 hugs the heading; row 2 flexes to absorb the extra
           height of the (taller) left column. Without this, grid would
           split customer_details' height equally across both rows and
           leave a massive gap under "Your order". */
        grid-template-rows: auto 1fr;
        gap: 2rem 3rem;
    }
}
.void-wc-page #customer_details {
    min-width: 0;
}
.void-wc-page #order_review_heading,
.void-wc-page #order_review {
    min-width: 0;
}
@media (min-width: 900px) {
    /* Right column: heading sits above order table, both hug the top
       instead of being stretched to the full row height by the grid's
       default `align-items: stretch` (which was making the h3 huge). */
    .void-wc-page #order_review_heading {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        margin-top: 0;
    }
    .void-wc-page #order_review {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }
    .void-wc-page #customer_details {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
    }
}

/* Billing + Additional info stack vertically — override WC's default
   two-column col2-set so the "Additional information" block sits below
   "Billing details" instead of floating next to it. */
.void-wc-page #customer_details.col2-set,
.void-wc-page #customer_details .col2-set {
    display: block;
}
.void-wc-page #customer_details .col-1,
.void-wc-page #customer_details .col-2 {
    float: none;
    width: 100%;
    max-width: none;
    padding: 0;
}
.void-wc-page #customer_details .col-2 {
    margin-top: 2.5rem;
}

/* Section titles */
.void-wc-page .woocommerce h3,
.void-wc-page #customer_details h3,
.void-wc-page #order_review_heading {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 0 0.5rem 0;
    border-bottom: 2px solid #000;
    margin: 0 0 1rem 0;
}

/* Form rows */
.void-wc-page .woocommerce form .form-row {
    margin: 0 0 1.25rem 0;
    padding: 0;
}
.void-wc-page .woocommerce form .form-row-first,
.void-wc-page .woocommerce form .form-row-last {
    width: calc(50% - 8px);
    display: inline-block;
    vertical-align: top;
}
.void-wc-page .woocommerce form .form-row-first { margin-right: 12px; }
@media (max-width: 640px) {
    .void-wc-page .woocommerce form .form-row-first,
    .void-wc-page .woocommerce form .form-row-last {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}
.void-wc-page .woocommerce form .form-row label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #374151;
}
.void-wc-page .woocommerce form .form-row .required {
    color: #dc2626;
    text-decoration: none;
}
.void-wc-page .woocommerce form .form-row input.input-text,
.void-wc-page .woocommerce form .form-row textarea,
.void-wc-page .woocommerce form .form-row .select2-selection {
    width: 100% !important;
    height: 48px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background: #fff;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    outline: none;
    transition: box-shadow 0.15s;
}
.void-wc-page .woocommerce form .form-row textarea {
    height: auto;
    min-height: 100px;
    padding: 14px;
    line-height: 1.5;
}
.void-wc-page .woocommerce form .form-row input.input-text:focus,
.void-wc-page .woocommerce form .form-row textarea:focus {
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
    border-color: #000 !important;
}
/* Select2 alignment */
.void-wc-page .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}
.void-wc-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    padding-left: 0 !important;
    padding-right: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 44px;
}
.void-wc-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

/* Order review table */
.void-wc-page #order_review table.shop_table {
    width: 100%;
    border: 2px solid #000;
    border-collapse: separate;
    margin: 0;
}
.void-wc-page #order_review table.shop_table thead th {
    background: #000;
    color: #fff;
    padding: 12px 14px;
    font-size: 11px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.void-wc-page #order_review table.shop_table tbody td,
.void-wc-page #order_review table.shop_table tfoot td,
.void-wc-page #order_review table.shop_table tfoot th {
    padding: 12px 14px;
    font-size: 14px;
    border-top: 1px solid #e5e7eb;
    background: transparent;
}
.void-wc-page #order_review table.shop_table tfoot tr:last-child th,
.void-wc-page #order_review table.shop_table tfoot tr:last-child td {
    font-weight: 900;
    font-size: 17px;
    background: #f9fafb;
}

/* Payment methods */
.void-wc-page #payment {
    background: #f9fafb;
    border: 2px solid #000;
    padding: 1.25rem;
    margin-top: 1rem;
}
.void-wc-page #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    border: none;
}
.void-wc-page #payment ul.payment_methods > li {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    background: #fff;
    margin-bottom: 0.75rem;
    transition: border-color 0.15s;
}
.void-wc-page #payment ul.payment_methods > li:hover {
    border-color: #000;
}
.void-wc-page #payment ul.payment_methods > li.payment_method_cod:has(input:checked),
.void-wc-page #payment ul.payment_methods > li > label {
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
}
.void-wc-page #payment ul.payment_methods .payment_box {
    margin-top: 1rem;
    padding: 0.75rem 0 0;
    background: transparent;
    border-top: 1px dashed #e5e7eb;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}
.void-wc-page #payment ul.payment_methods .payment_box::before {
    display: none;
}
.void-wc-page #payment .place-order {
    padding: 0;
    margin-top: 1.25rem;
}
.void-wc-page #payment #place_order {
    width: 100%;
    height: 56px !important;
    font-size: 13px !important;
}

/* PayPal PPCP Smart Buttons — give the containers room to render and
 * hide the native Place-order button when PPCP injects its own buttons. */
#ppc-button-ppcp-gateway,
#ppc-button-ppcp-applepay,
#ppc-button-ppcp-googlepay {
    min-height: 0;
    margin-top: 0.75rem;
}
#ppc-button-ppcp-gateway:not(:empty) ~ #place_order,
.void-wc-page #payment .place-order #ppc-button-ppcp-gateway:not(:empty) ~ #place_order {
    display: none;
}

/* Checkbox ("I have read the terms...") */
.void-wc-page #payment .form-row.terms-and-conditions,
.void-wc-page .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #374151;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}
.void-wc-page .woocommerce-form__input-checkbox,
.void-wc-page input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Login/coupon toggle links at top of checkout */
.void-wc-page .woocommerce-form-login-toggle,
.void-wc-page .woocommerce-form-coupon-toggle {
    margin-bottom: 1rem;
}

/* Checkout trust badges */
.void-checkout-trust {
    grid-column: 1 / -1;
}
.void-checkout-trust-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 599px) {
    .void-checkout-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.void-checkout-trust-grid img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* Order-received (thank-you) page */
.woocommerce-order .woocommerce-order-received h1,
.woocommerce-order-received .woocommerce-order h2 {
    font-size: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
    margin-bottom: 1rem;
}
.woocommerce-order ul.order_details {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border: 2px solid #000;
    padding: 1.5rem;
    background: #f9fafb;
}
.woocommerce-order ul.order_details li {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
    border: none;
    margin: 0;
    padding: 0;
}
.woocommerce-order ul.order_details li strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #000;
    letter-spacing: -0.01em;
    text-transform: none;
    margin-top: 4px;
}

/* ===================================================================
 * Cart drawer — slide-out panel on the right with mini-cart contents.
 * =================================================================== */

/* Drawer root & backdrop are already positioned by utility classes in
 * header.php; this block styles the mini-cart template content. */

.void-cart-drawer .widget_shopping_cart_content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ---------- List ---------- */
.void-mini-cart-list,
.void-cart-drawer ul.cart_list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-y: auto;
}
.void-mini-cart-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #f3f4f6;
}
.void-mini-cart-item:last-child {
    border-bottom: 0;
}
.void-mini-cart-item > .void-mini-cart-thumb { flex: 0 0 80px; }
.void-mini-cart-item > .void-mini-cart-body  { flex: 1 1 auto; min-width: 0; }
/* Narrow override: beat WC's `.woocommerce ul.cart_list li` (0,2,2)
   which would otherwise inject `padding: 4px 0` and break our layout. */
ul.cart_list li.void-mini-cart-item,
ul.product_list_widget li.void-mini-cart-item {
    padding: 18px 24px;
    margin: 0;
    list-style: none;
}
.void-mini-cart-thumb {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.void-mini-cart-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    margin: 0;
    float: none !important;
}
.void-mini-cart-body {
    min-width: 0;
    padding-right: 28px; /* room for the remove button */
}
.void-mini-cart-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 4px;
    word-break: break-word;
}
.void-mini-cart-name:hover { text-decoration: underline; }
.void-mini-cart-item dl.variation {
    margin: 4px 0;
    font-size: 11px;
    color: #6b7280;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.void-mini-cart-item dl.variation dt,
.void-mini-cart-item dl.variation dd {
    display: inline;
    margin: 0;
    font-weight: 600;
}
.void-mini-cart-item dl.variation dt { margin-right: 4px; }
.void-mini-cart-item dl.variation dd::after {
    content: '·';
    margin: 0 6px;
    color: #d1d5db;
}
.void-mini-cart-item dl.variation dd:last-child::after { content: ''; }
.void-mini-cart-unit {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.02em;
}
.void-mini-cart-unit .amount {
    color: #6b7280;
    font-weight: 600;
}
.void-mini-cart-meta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #111;
    font-weight: 600;
}
.void-mini-cart-meta .amount {
    color: #000;
    font-weight: 800;
}
.void-mini-cart-lineprice {
    font-size: 14px;
    font-weight: 900;
    color: #000;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.void-mini-cart-lineprice .amount {
    font-weight: 900;
}

/* Quantity stepper inside the mini-cart. */
.void-mini-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid #000;
    background: #fff;
    line-height: 1;
    user-select: none;
}
.void-mini-qty-btn {
    width: 30px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}
.void-mini-qty-btn:hover { background: #000; color: #fff; }
.void-mini-qty-btn:disabled,
.void-mini-qty-btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    background: #fff;
    color: #000;
}
.void-mini-qty-input {
    width: 36px;
    height: 32px;
    padding: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    background: #fff;
    color: #000;
    border: 0;
    border-left: 1.5px solid #000;
    border-right: 1.5px solid #000;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
    border-radius: 0;
}
.void-mini-qty-input::-webkit-outer-spin-button,
.void-mini-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.void-mini-qty-input:focus {
    background: #fafafa;
}
.void-mini-cart-remove {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000 !important;
    background: transparent !important;
    border: 0;
    border-radius: 0 !important;
    text-decoration: none !important;
}
.void-mini-cart-remove svg {
    transition: transform 0.25s ease;
}
.void-mini-cart-remove:hover {
    color: #000 !important; /* stay black on hover */
}
.void-mini-cart-remove:hover svg {
    transform: rotate(90deg);
}

/* ---------- Footer ---------- */
.void-mini-cart-footer,
.void-cart-drawer .total,
.void-cart-drawer .woocommerce-mini-cart__buttons {
    border-top: 2px solid #000;
    padding: 20px 24px;
    background: #fff;
}
.void-mini-cart-footer { padding: 20px 24px 24px; }
.void-mini-cart-subtotal {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e5e7eb;
}
.void-mini-cart-subtotal-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7280;
}
.void-mini-cart-subtotal-value,
.void-mini-cart-subtotal-value .amount {
    font-size: 22px;
    font-weight: 900;
    color: #000;
    letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */
.void-mini-cart-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.void-mini-cart-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 1rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 2px solid #000;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    cursor: pointer;
}
.void-mini-cart-btn-primary {
    background: #000;
    color: #fff !important;
}
.void-mini-cart-btn-primary:hover {
    background: #fff;
    color: #000 !important;
}
.void-mini-cart-btn-secondary {
    background: #fff;
    color: #000 !important;
}
.void-mini-cart-btn-secondary:hover {
    background: #000;
    color: #fff !important;
}

/* ---------- Empty state ---------- */
.void-mini-cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: #6b7280;
    gap: 12px;
}
.void-mini-cart-empty-icon {
    color: #d1d5db;
    margin-bottom: 4px;
}
.void-mini-cart-empty-title {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}
.void-mini-cart-empty-text {
    font-size: 14px;
    color: #6b7280;
    max-width: 16rem;
    line-height: 1.5;
    margin: 0 0 20px;
}
.void-mini-cart-empty .void-mini-cart-btn {
    width: 100%;
    max-width: 16rem;
}

/* Fallback style for WC's default mini-cart output (if our template isn't
 * loaded for some reason) — avoids totally unstyled buttons. */
.void-cart-drawer .woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
    font-size: 14px;
}
.void-cart-drawer .woocommerce-mini-cart__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 20px 24px;
}
.void-cart-drawer .woocommerce-mini-cart__buttons a.button {
    border-radius: 0 !important;
    height: 52px;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Loading state for the "Add to Cart" button during ajax. */
form.cart .single_add_to_cart_button.loading {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
    position: relative;
    color: transparent !important;
}
form.cart .single_add_to_cart_button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: void-spin 0.7s linear infinite;
}
@keyframes void-spin {
    to { transform: rotate(360deg); }
}

/* Mini-cart line during AJAX quantity update. */
.void-mini-cart-item.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s;
}

/* Body scroll lock while the slide-out drawer is open. */
html.void-cart-open,
body.void-cart-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Soft hover on a cart-line to telegraph interactivity. */
.void-mini-cart-item { transition: background 0.15s; }
.void-mini-cart-item:hover { background: #fafafa; }

/* Reviews pagination — reuse .woocommerce-pagination styling from shop. */
.void-reviews-pagination ul.page-numbers {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.void-reviews-pagination ul.page-numbers li {
    margin: 0;
}
.void-reviews-pagination ul.page-numbers a,
.void-reviews-pagination ul.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}
.void-reviews-pagination ul.page-numbers a:hover,
.void-reviews-pagination ul.page-numbers span.current {
    background: #000;
    color: #fff;
}

