/*
Theme Name: SPOT432
Author: Brian Shah
Description: Sales page for SPOT432
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: spot432
*/

/* =========================
   DESIGN TOKENS
   The palette comes from the logo: oxblood ring, cream tag, near-black
   lettering. Change a value here and it changes everywhere.
========================= */

:root {
    --s4-ink: #1f1416;           /* logo lettering: text on light surfaces */
    --s4-ink-soft: #4a3b38;
    --s4-muted: #75665f;
    --s4-paper: #fffbf5;         /* cards and panels */
    --s4-cream: #f5ecdd;         /* header, light bands */
    --s4-tag: #eadbbe;           /* logo tag */
    --s4-line: #e4d7c2;
    --s4-oxblood-light: #be3348;        
    --s4-oxblood: #8c2434;       /* logo ring: buttons, accents, sale */
    --s4-oxblood-dark: #6d1a27;
    --s4-brass-lite: #fbce79;    
    --s4-brass: #d6a74e;         /* small highlights on dark */
    --s4-night: #170f0e;         /* footer */
    --s4-on-dark: #f5ecdd;
    --s4-on-dark-muted: rgba(245, 236, 221, 0.72);
    --s4-glass: rgba(23, 15, 14, 0.78);
    --s4-weed: #727F2E;

    --s4-font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --s4-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --s4-radius: 14px;
    --s4-radius-sm: 10px;
    --s4-shadow: 0 1px 2px rgba(23, 15, 14, 0.06), 0 8px 24px rgba(23, 15, 14, 0.12);
    --s4-shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.35);
    --s4-container: 1240px;
    --s4-gutter: clamp(16px, 4vw, 32px);
}

/* =========================
   BASE
========================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--s4-night);
    color: var(--s4-ink);
    font-family: var(--s4-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--s4-oxblood);
    text-underline-offset: 0.2em;
}

h1, h2, h3, h4 {
    font-family: var(--s4-font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(30px, 4vw, 40px); }
h2 { font-size: clamp(24px, 3vw, 30px); }
h3 { font-size: 20px; }

:focus-visible {
    outline: 2px solid var(--s4-brass);
    outline-offset: 2px;
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link:focus {
    position: fixed !important;
    top: 8px; left: 8px;
    width: auto; height: auto;
    clip: auto;
    padding: 10px 16px;
    background: var(--s4-paper);
    color: var(--s4-ink);
    z-index: 100000;
}

.spot432-container {
    width: 100%;
    max-width: var(--s4-container);
    margin: 0 auto;
    padding: 0 var(--s4-gutter);
}

.spot432-icon {
    flex: none;
    width: 1.1em;
    height: 1.1em;
}

/* =========================
   LEGACY HELPER CLASSES
   Kept so content built in the page editor still works. The old colours
   are mapped onto the new palette and the old fonts onto the new ones.
========================= */

.white-text { color: #fff; }
.white-bg { background-color: #fff; }
.black-text { color: var(--s4-ink); }
.red-text, .red-text-two, .orange-text, .purple-text { color: var(--s4-oxblood); }
.red-bg, .red-bg-two, .orange-bg, .purple-bg { background-color: var(--s4-oxblood); color: #fff; }
.dark-red-text { color: var(--s4-ink); }
.dark-red-bg { background-color: var(--s4-ink); color: var(--s4-on-dark); }
.brown-text, .gold-text { color: #8a6a26; }
.brown-bg, .gold-bg { background-color: var(--s4-oxblood); color: #fff; }
.blue-green-text, .blue-text, .green-text, .dark-green-text, .light-green-text { color: var(--s4-oxblood); }
.blue-green-bg, .blue-bg, .green-bg, .dark-green-bg, .light-green-bg { background-color: var(--s4-oxblood); color: #fff; }

.carter-one-regular,
.racing-sans-one-regular { font-family: var(--s4-font-display); font-weight: 600; }
.alumni-sans-pinstripe-regular,
.roboto { font-family: var(--s4-font-body); font-weight: 400; }

.text-shadow-md,
.text-shadow-lg { text-shadow: none; }

/* =========================
   PAGE BACKGROUND
   The warehouse photo stays fixed behind the whole site. The home hero
   shows it almost clear; everything below sits on smoked glass.
========================= */

.page-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

/* A fixed layer rather than background-attachment: fixed, which iOS
   ignores (it then stretches the photo over the whole page height). */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: var(--s4-night);
    background-image:
        linear-gradient(rgba(23, 15, 14, 0.15), rgba(23, 15, 14, 0.25)),
        url('assets/img/hero_img.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.content-section {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Inner pages: one glass layer behind the content panel. */
body:not(.home) .content-section {
    /* padding-bottom: 56px; */
}

/* =========================
   BUTTONS
========================= */

.spot432-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--s4-font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.spot432-btn--primary {
    background: var(--s4-oxblood);
    color: #fff;
}

.spot432-btn--primary:hover {
    background: var(--s4-oxblood-dark);
    color: #fff;
}

.spot432-btn--ghost {
    border-color: rgba(245, 236, 221, 0.55);
    color: var(--s4-on-dark);
    background: rgba(23, 15, 14, 0.25);
}

.spot432-btn--ghost:hover {
    border-color: var(--s4-on-dark);
    background: rgba(245, 236, 221, 0.12);
    color: #fff;
}

.spot432-btn--sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.spot432-btn .spot432-icon { transition: transform 0.15s ease; }
.spot432-btn:hover .spot432-icon { transform: translateX(3px); }

/* =========================
   HOME: HERO
========================= */

.spot432-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: clamp(440px, 62vh, 620px);
    padding: 72px 0 120px;
    color: var(--s4-on-dark);
    /* background:
        linear-gradient(90deg, rgba(23, 15, 14, 0.88) 0%, rgba(23, 15, 14, 0.62) 45%, rgba(23, 15, 14, 0.1) 100%),
        linear-gradient(0deg, rgba(23, 15, 14, 0.75) 0%, rgba(23, 15, 14, 0) 35%); */
}

.spot432-hero-inner > *, .spot432-hero-inner > .spot432-hero-title { max-width: 80%; }
 
.spot432-nowrap { white-space: nowrap; }

.spot432-eyebrow {
    margin-bottom: 12px;
    color: var(--s4-brass);
    font-family: var(--s4-font-body);
    font-size: 26px;
    font-weight: bold;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 0 12px #000;
}

.spot432-hero-title {
    font-size: clamp(40px, 6.2vw, 72px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: #fff;
    text-wrap: balance;
}

.spot432-hero-text {
    margin-top: 20px;
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: bold;
    line-height: 1.6;
    color: #fff;
    text-align: center;
}

.spot432-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* =========================
   HOME: BODY + SECTIONS
========================= */

.spot432-shop-body {
    /* background: var(--s4-glass); */
    padding-bottom: 24px;
}

/* @supports (backdrop-filter: blur(4px)) {
    .spot432-shop-body {
        background: rgba(23, 15, 14, 0.7);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(4px);
    }
} */

.spot432-section {
    padding: 56px 0 0;
}

.spot432-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(245, 236, 221, 0.14);
}

.spot432-section-title {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    text-align: left;
    margin: 0;
}

.spot432-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    color: var(--s4-on-dark);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.spot432-section-link:hover { color: var(--s4-brass); }
.spot432-section-link:hover .spot432-icon { transform: translateX(3px); }
.spot432-section-link .spot432-icon { transition: transform 0.15s ease; }

/* Perks bar: overlaps the bottom of the hero. */
.spot432-perks {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -64px;
    list-style: none;
    background: var(--s4-paper);
    border-radius: var(--s4-radius);
    box-shadow: var(--s4-shadow-lg);
    overflow: hidden;
}

.spot432-perk {
    display: flex;
    gap: 14px;
    padding: 24px 26px;
    color: var(--s4-ink-soft);
    font-size: 14.5px;
    line-height: 1.5;
}

.spot432-perk + .spot432-perk { border-left: 1px solid var(--s4-line); }

.spot432-perk svg {
    flex: none;
    color: var(--s4-oxblood);
    margin-top: 2px;
}

.spot432-perk-title {
    margin: 0 0 4px;
    color: var(--s4-ink);
    font-family: var(--s4-font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
}

.spot432-perk a { color: var(--s4-oxblood); font-weight: 600; }

/* Shop-by-category tiles */
.spot432-cat-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    list-style: none;
}

.spot432-cat-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--s4-radius);
    background: #2a1d1b;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.spot432-cat-tile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.spot432-cat-tile-letter {
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--s4-oxblood) 0%, #3a1018 100%);
    color: rgba(245, 236, 221, 0.35);
    font-family: var(--s4-font-display);
    font-size: 96px;
    font-weight: 600;
}

.spot432-cat-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(23, 15, 14, 0.9) 0%, rgba(23, 15, 14, 0.15) 55%, rgba(23, 15, 14, 0) 100%);
    z-index: 1;
}

.spot432-cat-tile-label {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.spot432-cat-tile-name {
    font-family: var(--s4-font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.15;
}

.spot432-cat-tile-count {
    margin-top: 2px;
    color: var(--s4-on-dark-muted);
    font-size: 13px;
}

.spot432-cat-tile:hover .spot432-cat-tile-img { transform: scale(1.05); }
.spot432-cat-tile:hover .spot432-cat-tile-name { color: var(--s4-brass); }

/* Closing "request an item" banner */
.spot432-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: calc(var(--s4-radius) + 4px);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(214, 167, 78, 0.18) 0%, rgba(214, 167, 78, 0) 55%),
        linear-gradient(135deg, var(--s4-oxblood) 0%, #4e1019 100%);
    color: var(--s4-on-dark);
    margin-bottom: 40px;
}

.spot432-request .spot432-eyebrow { color: var(--s4-tag); }

.spot432-request-title {
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    text-align: left;
    margin: 0 0 8px;
}

.spot432-request p:last-child { color: var(--s4-on-dark-muted); max-width: 560px; }

.spot432-request .spot432-btn--primary {
    flex: none;
    background: var(--s4-paper);
    color: var(--s4-ink);
}

.spot432-request .spot432-btn--primary:hover { background: #fff; }

/* =========================
   PRODUCT CARDS
   Every WooCommerce product grid on the site: home rows, search, shop,
   categories, related products. "html" in the selectors outranks
   WooCommerce's own float layout without piling on !important.
========================= */

html .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

html .woocommerce ul.products::before,
html .woocommerce ul.products::after {
    display: none !important;
}

html .woocommerce ul.products li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 10px 10px 14px;
    border-radius: var(--s4-radius);
    background: var(--s4-paper);
    box-shadow: var(--s4-shadow);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html .woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(23, 15, 14, 0.08), 0 16px 36px rgba(23, 15, 14, 0.22);
}

html .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: var(--s4-ink);
    text-decoration: none;
}

html .woocommerce ul.products li.product a img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 0 12px;
    object-fit: cover;
    border-radius: var(--s4-radius-sm);
    background: var(--s4-cream);
    box-shadow: none;
}

html .woocommerce ul.products li.product .woocommerce-loop-product__title,
html .woocommerce ul.products li.product .woocommerce-loop-category__title {
    margin: 0;
    padding: 0 4px;
    color: var(--s4-ink);
    font-family: var(--s4-font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html .woocommerce ul.products li.product .star-rating {
    margin: 6px 4px 0;
    font-size: 0.8em;
    color: var(--s4-brass);
}

html .woocommerce ul.products li.product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    margin: 6px 0 0;
    padding: 0 4px;
    color: var(--s4-ink);
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

html .woocommerce ul.products li.product .price del {
    order: 2;
    color: var(--s4-muted);
    font-size: 14px;
    font-weight: 500;
    opacity: 1;
}

html .woocommerce ul.products li.product .price ins {
    color: var(--s4-oxblood);
    text-decoration: none;
    font-weight: 700;
}

/* Sale badge */
html .woocommerce span.onsale,
html .woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 18px;
    left: 18px;
    right: auto;
    z-index: 2;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--s4-oxblood);
    color: #fff;
    font-family: var(--s4-font-body);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Card button: quiet outline, fills on hover. */
html .woocommerce ul.products li.product .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 14px 0 0;
    padding: 0 14px;
    border: 1.5px solid var(--s4-ink);
    border-radius: 999px;
    background: transparent !important;
    color: var(--s4-ink) !important;
    font-family: var(--s4-font-body);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

html .woocommerce ul.products li.product .button:hover {
    border-color: var(--s4-oxblood);
    background: var(--s4-oxblood) !important;
    color: #fff !important;
}

html .woocommerce ul.products li.product .button.loading { opacity: 0.6; }
html .woocommerce ul.products li.product .button.loading::after { top: auto; right: 12px; }

html .woocommerce ul.products li.product .button.added {
    border-color: var(--s4-oxblood);
    color: var(--s4-oxblood) !important;
}

html .woocommerce ul.products li.product .added_to_cart {
    display: block;
    margin-top: 8px;
    color: var(--s4-oxblood);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Grid wrappers used by the home rows: no box of their own. */
.spot432-product-search.spot432-featured-products-display,
.spot432-product-search.spot432-static-category-grid {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.spot432-featured-products-display .spot432-product-results,
.spot432-static-category-grid .spot432-product-results {
    width: 100%;
    margin: 0;
    padding: 0;
}

.spot432-view-all-wrapper {
    margin-top: 8px;
    text-align: center;
}

/* =========================
   SEARCH PAGE
========================= */

.search-container {
    padding-top: 40px;
}

.spot432-page-head {
    margin-bottom: 24px;
}

.spot432-page-title {
    color: #fff;
    font-size: clamp(32px, 4.5vw, 48px);
}

.search-container .spot432-product-search-form {
    padding: 20px;
    border-radius: var(--s4-radius);
    background: var(--s4-paper);
    box-shadow: var(--s4-shadow-lg);
}

.spot432-search-keyword-outer {
    display: flex;
    width: 100%;
}

.spot432-search-keyword {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 20px;
    border: 1.5px solid var(--s4-line);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: #fff;
    color: var(--s4-ink);
    font-family: var(--s4-font-body);
    font-size: 17px;
    outline: 0;
}

.spot432-search-keyword:focus { border-color: var(--s4-oxblood); }

.spot432-search-button {
    flex: none;
    height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: var(--s4-oxblood);
    color: #fff;
    font-family: var(--s4-font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.spot432-search-button:hover { background: var(--s4-oxblood-dark); }
.spot432-product-search.is-loading .spot432-search-button { opacity: 0.65; cursor: wait; }

.spot432-search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.spot432-search-filters label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--s4-ink-soft);
    font-size: 14px;
}

.spot432-search-filters label span { white-space: nowrap; font-weight: 600; }

.spot432-search-filters select,
.woocommerce-ordering select {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid var(--s4-line);
    border-radius: var(--s4-radius-sm);
    background: #fff;
    color: var(--s4-ink);
    font-family: var(--s4-font-body);
    font-size: 15px;
}

.specific-item-request {
    margin-top: 14px;
    color: var(--s4-muted);
    font-size: 14px;
}

.specific-item-request a { font-weight: 600; }

.spot432-search-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0 16px;
    color: var(--s4-on-dark);
    font-weight: 600;
}

.spot432-search-clear {
    padding: 8px 16px;
    border: 1.5px solid rgba(245, 236, 221, 0.5);
    border-radius: 999px;
    background: none;
    color: var(--s4-on-dark);
    font-family: var(--s4-font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.spot432-search-clear[hidden] { display: none; }

.spot432-product-results {
    position: relative;
    width: 100%;
}

.spot432-no-results {
    padding: 24px;
    border-radius: var(--s4-radius);
    background: var(--s4-paper);
    color: var(--s4-ink-soft);
    text-align: center;
}

/* Pagination (search page and AJAX results) */
.spot432-pagination ul.page-numbers,
.spot432-ajax-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 24px 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.spot432-pagination ul.page-numbers li { border: 0; }

.spot432-pagination .page-numbers a,
.spot432-pagination .page-numbers span.page-numbers,
.spot432-ajax-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(245, 236, 221, 0.1);
    color: var(--s4-on-dark);
    font-weight: 600;
    text-decoration: none;
}

.spot432-pagination .page-numbers a:hover,
.spot432-ajax-pagination a.page-numbers:hover { background: rgba(245, 236, 221, 0.2); }

.spot432-pagination .page-numbers span.current,
.spot432-ajax-pagination .page-numbers.current {
    background: var(--s4-paper);
    color: var(--s4-ink);
}

/* =========================
   CONTENT PANELS
   Pages and WooCommerce pages: a solid paper panel on the glass.
========================= */

.spot432-panel {
    width: min(var(--s4-container), calc(100% - 2 * var(--s4-gutter)));
    margin: 40px auto 0;
    padding: clamp(20px, 4vw, 40px);
    border-radius: calc(var(--s4-radius) + 4px);
    background: rgba(245, 236, 221, 0.8);
    box-shadow: var(--s4-shadow-lg);
    color: var(--s4-ink);
    line-height: 1.65;
}

.spot432-panel .page-title { margin-bottom: 20px; }
.spot432-panel h2 { text-align: left; margin: 28px 0 12px; }
.spot432-panel p,
.spot432-panel ul,
.spot432-panel ol { margin-bottom: 1em; }
.spot432-panel ul,
.spot432-panel ol { padding-left: 1.5em; }
.spot432-panel ul.products { padding-left: 0; }
.spot432-panel article + article { margin-top: 32px; }
.spot432-panel a:not(.button):not(.wp-element-button):not(.spot432-btn) { color: var(--s4-oxblood); }

.spot432-panel input[type="text"],
.spot432-panel input[type="email"],
.spot432-panel input[type="tel"],
.spot432-panel input[type="password"],
.spot432-panel input[type="number"],
.spot432-panel textarea,
.spot432-panel select {
    padding: 10px 12px;
    border: 1.5px solid var(--s4-line);
    border-radius: var(--s4-radius-sm);
    background: #fff;
    color: var(--s4-ink);
    font-family: var(--s4-font-body);
    font-size: 15px;
}

.spot432-panel input:focus,
.spot432-panel textarea:focus,
.spot432-panel select:focus { border-color: var(--s4-oxblood); outline: 0; }

.spot432-notices {
    width: min(var(--s4-container), calc(100% - 2 * var(--s4-gutter)));
    margin: 20px auto 0;
}

/* WooCommerce notices everywhere */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top: 0 !important;
    border-left: 4px solid var(--s4-oxblood);
    border-radius: var(--s4-radius-sm);
    background: var(--s4-paper);
    color: var(--s4-ink);
}

.woocommerce-message::before,
.woocommerce-info::before { color: var(--s4-oxblood); }
.woocommerce-error { border-left-color: #b3261e; }
.woocommerce-error::before { color: #b3261e; }

.woocommerce-message .button,
.woocommerce-info .button {
    border-radius: 999px !important;
    background: var(--s4-oxblood) !important;
    color: #fff !important;
}

/* =========================
   FOOTER
========================= */

.spot432-footer {
    background: var(--s4-night);
    color: var(--s4-on-dark-muted);
    font-size: 15px;
    border-top: 1px solid rgba(245, 236, 221, 0.08);
}

.spot432-footer-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 40px;
    justify-content: space-between;
}

.spot432-footer-wordmark {
    margin-bottom: 10px;
    color: var(--s4-on-dark);
    font-family: var(--s4-font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.spot432-footer-brand p:last-child { max-width: 320px; }

.spot432-footer-heading {
    margin: 0 0 14px;
    color: var(--s4-on-dark);
    font-family: var(--s4-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
}

.spot432-footer ul { list-style: none; }
.spot432-footer li + li { margin-top: 8px; }

.spot432-footer a:not(.spot432-btn) {
    color: var(--s4-on-dark-muted);
    text-decoration: none;
}

.spot432-footer a:not(.spot432-btn):hover { color: var(--s4-brass); }
.spot432-footer-offer p { margin-bottom: 16px; }

.spot432-footer-bottom {
    padding-top: 20px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(245, 236, 221, 0.1);
    font-size: 13px;
}

.spot432-footer-col{

}

.spot432-footer-col .spot432-logo-small{
    align-self: flex-end;
    max-width: 200px;
}


.about-us-intro{
    width: 100%;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    background: var(--s4-oxblood);
    color: #fff;
    gap: 20px;
    border: 2px solid var(--s4-brass);
    border-left: none;
    border-right: none;
}

.about-us-intro h1{
    color: var(--s4-brass-lite);
}

.aboutt-us-intro h1, .about-us-intro p{
    max-width: 60%;
    text-align: center;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    html .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* Home rows show 4 items: let the 4th wrap rather than leave a gap. */
    .spot432-shop-body .woocommerce ul.products li.product:nth-child(4) { display: none; }
}

@media (max-width: 900px) {
    .spot432-perks { grid-template-columns: 1fr; }
    .spot432-perk + .spot432-perk { border-left: 0; border-top: 1px solid var(--s4-line); }
    .spot432-perk { padding: 18px 20px; }
    .spot432-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .spot432-request { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    html .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .spot432-shop-body .woocommerce ul.products li.product:nth-child(4) { display: flex; }
    html .woocommerce ul.products li.product { padding: 8px 8px 12px; }
    html .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
    html .woocommerce ul.products li.product .button { min-height: 38px; font-size: 13px; }
    html .woocommerce span.onsale,
    html .woocommerce ul.products li.product .onsale { top: 14px; left: 14px; }

    .spot432-hero { min-height: 0; padding: 56px 0 104px; }
    .spot432-hero { background: linear-gradient(0deg, rgba(23, 15, 14, 0.92) 0%, rgba(23, 15, 14, 0.6) 100%); }
    .spot432-section { padding-top: 44px; }
    .spot432-cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .spot432-cat-tile { aspect-ratio: 1 / 1; }
    .spot432-cat-tile-name { font-size: 18px; }
}

@media (max-width: 600px) {
    .spot432-hero-actions .spot432-btn { flex: 1 1 100%; }
    .spot432-footer-grid { grid-template-columns: 1fr; }
    .spot432-search-filters { grid-template-columns: 1fr; }
    .spot432-search-filters label { flex-direction: column; align-items: stretch; gap: 6px; }
    .spot432-search-button { padding: 0 18px; }
    .spot432-search-keyword { font-size: 16px; }
    .spot432-search-status { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 600px){
    .spot432-hero-inner{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background: rgba(0,0,0, 0.5);
        border-radius: 18px;
    }
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after { transition: none !important; }
}