@property --font {
    syntax: '*';
    inherits: true;
    initial-value: "Jost", Arial, sans-serif;
}

@property --dark-background-color {
    syntax: '<color>';
    inherits: true;
    initial-value: #1b0500;
}
@property --background-color-1 {
    syntax: '<color>';
    inherits: true;
    initial-value: #320900;
}

@property --background-color-2 {
    syntax: '<color>';
    inherits: true;
    initial-value: #511506;
}

@property --background-color-3 {
    syntax: '<color>';
    inherits: true;
    initial-value: #222;
}

@property --text-color-1 {
    syntax: '<color>';
    inherits: true;
    initial-value: #ccbcbc;
}

@property --text-color-2 {
    syntax: '<color>';
    inherits: true;
    initial-value: #ec4b21;
}

@property --text-color-3 {
    syntax: '<color>';
    inherits: true;
    initial-value: #AAA;
}

@property --primary-color {
    syntax: '<color>';
    inherits: true;
    initial-value: #ca1e00;
}

body {
    color: var(--text-color-1);
    background-color: var(--dark-background-color);
    font-family: var(--font), Arial, sans-serif;
}

aside.storefront-sidebar {
    background-color: var(--background-color-1);
}

aside.storefront-sidebar header > a {
    background-color: var(--background-color-1);
}

section header.green-to-transparent {
    background: linear-gradient(90deg, var(--background-color-1) 0%, transparent 90%);
}

section#featured-products .meta-bottom p.store-cta a {
    background-color: var(--background-color-1);
}

.storefront a {
    color: var(--text-color-1);
}

.performer-profile-header {
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-position: center;
    background-size: cover;
    text-align: left;
    position: relative;
}

.performer-profile-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(27, 5, 0, 0.92), rgba(27, 5, 0, 0.42));
}

.performer-profile-copy {
    position: relative;
    max-width: 760px;
    padding: 2rem;
}

.performer-profile-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.performer-profile-copy .product-type {
    color: var(--text-color-2);
    font-style: normal;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

aside.storefront-sidebar nav ul li a {
    color: var(--text-color-1);
}

aside.storefront-sidebar nav ul li.title {
    color: var(--text-color-1);
}

aside.storefront-sidebar nav ul li.marketplace-sidebar-more-mayhem-item {
    --marketplace-more-mayhem-background: #401200;
    --marketplace-more-mayhem-text: #FFF;
    --marketplace-more-mayhem-muted: rgba(255, 255, 255, 0.68);
    --marketplace-more-mayhem-border: rgba(255, 255, 255, 0.13);
    --marketplace-more-mayhem-accent: #E5544A;
}

aside.storefront-sidebar header > a {
    color: var(--text-color-1);
}

section header.green-to-transparent h2,
section header.green-to-transparent p {
    color: var(--text-color-1);
}

aside.storefront-sidebar nav ul li a small {
    color: var(--text-color-1);
}

aside.storefront-sidebar header ul.socials-banner {
    background-color: var(--background-color-2);
}

aside.storefront-sidebar ul.marketplace-links-banner {
    background-color: var(--background-color-2);
    border-top-color: var(--background-color-3);
}

aside.storefront-sidebar nav ul li a:hover {
    background-color: var(--background-color-2);
}

footer {
    background-color: var(--background-color-2);
    position: relative;
    z-index: 0;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}


h1, h2, h3, h4, h5, h6 {
    color: var(--text-color-1);
}

aside.storefront-sidebar header ul.socials-banner li a {
    color: var(--text-color-2);
}

aside.storefront-sidebar ul.marketplace-links-banner li a {
    color: var(--text-color-2);
}

aside.storefront-sidebar nav ul li a:hover {
    color: var(--text-color-2);
}

section.product-details .extended-description {
    background-color: var(--background-color-3);
}

.readable {
    background-color: var(--background-color-3);
}

form.add-to-cart {
    background-color: var(--background-color-3);
}

section#featured-products .meta-bottom {
    background-color: var(--background-color-3);
}

aside.storefront-sidebar header ul.socials-banner li a:hover {
    background-color: var(--background-color-3);
}

aside.storefront-sidebar ul.marketplace-links-banner li a:hover {
    background-color: var(--background-color-3);
}

.cart-count-badge {
    background-color: var(--primary-color);
    color: #fff;
}

/*
 * Verified Seller badge — storefront.css styles this pill with a hardcoded green
 * palette (#74BB50 border/icon, #1D2E23 background). Re-skin it to the Red brand
 * palette so it matches the rest of a Red storefront/product/checkout page.
 */
.verified-seller-badge {
    border-color: var(--primary-color);
    background: var(--background-color-2);
    color: var(--text-color-1);
}

.verified-seller-badge i {
    color: var(--text-color-2);
}

aside.storefront-sidebar header {
    border-bottom: 1px solid var(--background-color-3);
}

/*
 * storefront.css gives the sidebar language and country controls green storefront
 * surfaces. Keep both within the Red sidebar's native maroon palette instead.
 */
aside.storefront-sidebar .storefront-language-switcher form,
aside.storefront-sidebar .storefront-country-switcher form {
    background: var(--background-color-2);
    border-color: var(--background-color-3);
}

aside.storefront-sidebar .storefront-language-switcher label,
aside.storefront-sidebar .storefront-country-switcher label {
    color: var(--text-color-2);
}

aside.storefront-sidebar .storefront-language-switcher select,
aside.storefront-sidebar .storefront-country-switcher select {
    color: var(--text-color-1);
    background: var(--background-color-1);
}

aside.storefront-sidebar .storefront-language-switcher select:focus-visible,
aside.storefront-sidebar .storefront-country-switcher select:focus-visible {
    outline-color: var(--primary-color);
}

section#featured-products .meta-bottom {
    color: var(--text-color-3);
}

.readable {
    color: var(--text-color-3);
}

.readable a {
    color: var(--text-color-3);
}

form.add-to-cart .group label {
    color: var(--text-color-3);
}

section.product-details .extended-description {
    color: var(--text-color-3);
}

section.product-details .extended-description h3 {
    color: var(--text-color-3);
}

form input[type="submit"],
form.add-to-cart input[type="submit"],
.button,
form .group input[type="submit"],
form .group button,
a.button {
    background-color: var(--primary-color);
}
form input[type="submit"]:hover,
form.add-to-cart input[type="submit"]:hover,
.button:hover,
form .group input[type="submit"]:hover,
form .group button:hover,
a.button:hover {
    background-color: var(--background-color-2);
}
form input[type="submit"].secondary, .button.secondary {
    background-color: var(--background-color-2);
    color: var(--text-color-2);
    border: none;
}
form input[type="submit"].secondary:hover, .button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-1);
}

.storefront a:hover {
    color: var(--primary-color);
}


form .group label {
    color: var(--text-color-3);
}
form.search-form input, form.search-form select, form.search-form button {
    background-color: var(--background-color-2);
}

section .meta-bottom {
    background-color: var(--background-color-3);
    color: var(--text-color-3);
}
section .meta-bottom p.store-cta a {
    background-color: var(--background-color-2);
}
form.low-contrast {
    background-color: #333;
}
.sidebar-launcher, .back-to-top {
    background-color: var(--background-color-2);
}
.sidebar-launcher:hover, .back-to-top:hover {
    background-color: var(--primary-color);
}
.paginator ul li a.active {
    background-color: var(--primary-color);
}

/*
 * RED storefront product card (.product-tile-red) — the green marketplace card's
 * design language (storefront.css `body.marketplace-page` block) transcribed onto
 * the Red palette. Scoped to the card class, not to a body class, because this
 * stylesheet is also loaded on RED market pages whose tiles must keep the old look.
 * Palette mapping: neutral surfaces -> var(--background-color-3), accent links ->
 * var(--primary-color) brightening to var(--text-color-2) on hover, muted text ->
 * var(--text-color-3). Tile sizing/gap stays owned by the storefront `.product-tiles`
 * base rules and the seller's tile-size choice; only the card itself is restyled.
 */
.product-tile-red {
    background-color: var(--background-color-3);
    border: 1px solid #46302a;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.product-tiles .product-tile-red:hover {
    border-color: #7a4034;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    transform: translateY(-3px);
}

.product-tile-red .clickarea {
    aspect-ratio: 4 / 3;
    background: #160f0d;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

.product-tile-red .product-image-placeholder {
    color: #7a4034;
}

.product-tile-red img.product-image {
    height: 100%;
    max-height: none;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.product-tiles .product-tile-red:hover img.product-image {
    transform: scale(1.025);
}

.product-tile-red .product-info {
    background: var(--background-color-3);
    box-shadow: none;
    color: var(--text-color-1);
    gap: 0.65rem;
    min-height: 0;
    padding: 1.4rem 1rem 1rem;
}

.product-tiles .product-tile-red .product-info {
}

.product-tile-red h4 {
    display: -webkit-box;
    font-size: 1.15rem;
    line-height: 1.3;
    min-height: 3rem;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-tile-red h4 a,
.product-tile-red .seller .seller-link {
    color: var(--primary-color);
}

.product-tile-red h4 a:hover,
.product-tile-red .seller .seller-link:hover {
    color: var(--text-color-2);
}

.product-tile-red .seller {
    color: var(--text-color-3);
    gap: 0.5rem;
    margin: 0;
}

.product-tile-red .seller .seller-link {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-tile-red .description {
    color: var(--text-color-1);
    display: -webkit-box;
    line-height: 1.45;
    max-height: none;
    min-height: 2.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-tile-red .product-type {
    background: var(--background-color-2);
    border: 1px solid #7a4034;
    border-radius: 999px;
    color: var(--text-color-2);
    left: 1rem;
    padding: 0.2rem 0.65rem;
    right: auto;
    rotate: none;
    top: -0.75rem;
}

.product-tile-red .product-info .info-row:last-child {
    border-top: 1px solid #46302a;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
    row-gap: 0.25rem;
}

/* RED-M11 (PLAN-RED-MOBILE-DESIGN-AUDIT Phase 2): the price paragraph (PWYW label, rating,
   period suffixes) may be long; let it shrink and wrap instead of clipping in the row. */
.product-tile-red .price {
    color: var(--text-color-1);
    min-width: 0;
    overflow-wrap: break-word;
}

.product-tile-red .save-product-btn {
    color: var(--text-color-3);
    flex: 0 0 auto;
    font-size: 0.85rem;
}

.product-tile-red .save-product-btn:hover,
.product-tile-red .save-product-btn.saved {
    color: var(--text-color-2);
}

/* Embedded tile on the product-detail page: full image, no fixed aspect box. */
section.product-details .product-tile-red .clickarea {
    aspect-ratio: auto;
}

section.product-details .product-tile-red img.product-image {
    object-fit: contain;
}

/*
 * RED market product-card re-skin. RED market pages (homepage, /products, performer
 * pages, shopper saved/favorites/recommended) render the shared marketplace card
 * markup (market/producttile.ejs) and, since the 2026-09-20 body-class flip, receive
 * the `body.marketplace-page` design blocks from storefront.css — which hardcode the
 * green palette. Re-skin that card onto the Red palette with the same mapping as the
 * .product-tile-red block above: neutral surfaces -> var(--background-color-3),
 * accent links -> var(--primary-color) brightening to var(--text-color-2) on hover,
 * muted text -> var(--text-color-3). Selectors mirror storefront.css exactly and
 * this stylesheet loads after it, so these rules win.
 */
body.marketplace-page {
    background: var(--dark-background-color);
}

body.marketplace-page .product-tile {
    background-color: var(--background-color-3);
    border-color: #46302a;
}

body.marketplace-page .product-tiles .product-tile:hover {
    border-color: #7a4034;
}

body.marketplace-page .product-tile .clickarea {
    background: #160f0d;
}

body.marketplace-page .product-tile .product-image-placeholder {
    color: #7a4034;
}

body.marketplace-page .product-tile .product-info {
    background: var(--background-color-3);
    color: var(--text-color-1);
}

body.marketplace-page .product-tile h4 a,
body.marketplace-page .product-tile .seller .seller-link {
    color: var(--primary-color);
}

body.marketplace-page .product-tile h4 a:hover,
body.marketplace-page .product-tile .seller .seller-link:hover {
    color: var(--text-color-2);
}

body.marketplace-page .product-tile .seller {
    color: var(--text-color-3);
}

body.marketplace-page .product-tile .save-seller-btn {
    color: var(--text-color-3);
}

body.marketplace-page .product-tile .description {
    color: var(--text-color-1);
}

body.marketplace-page .product-tile .product-type {
    background: var(--background-color-2);
    border-color: #7a4034;
    color: var(--text-color-2);
}

body.marketplace-page .product-tile .product-info .info-row:last-child {
    border-color: #46302a;
}

body.marketplace-page .product-tile .price {
    color: var(--text-color-1);
}

body.marketplace-page .product-tile .save-product-btn {
    color: var(--text-color-3);
}

body.marketplace-page .product-tile .save-product-btn:hover,
body.marketplace-page .product-tile .save-product-btn.saved {
    color: var(--text-color-2);
}

body.marketplace-page section .meta-bottom {
    background: var(--background-color-3);
    border-color: #46302a;
    color: var(--text-color-1);
}
