/* Orleis storefront theme — white-first brand system (Green + Black + Cream accents) */

:root {
    /* Locked tokens from Orleis Developer Handoff Brief */
    --orleis-white: #FFFFFF;
    --orleis-green: #274938;
    --orleis-green-dark: #1D382B;
    --orleis-black: #111111;
    --orleis-ink: #20231F;
    --orleis-cream: #F6F3EE;
    --orleis-soft: #FAFAF8;
    --orleis-border: #E7E2DB;
    --orleis-muted: #666A65;

    /* Semantic status (status only — not decorative) */
    --orleis-success: #4F745B;
    --orleis-caution: #B18743;
    --orleis-error: #A45A4D;

    /* Semantic aliases used across the storefront */
    --orleis-bg: var(--orleis-white);
    --orleis-fg: var(--orleis-black);
    --orleis-primary: var(--orleis-green);
    --orleis-primary-hover: var(--orleis-green-dark);
    --orleis-primary-fg: var(--orleis-white);
    --orleis-card: var(--orleis-white);
    --orleis-card-soft: var(--orleis-soft);
    --orleis-card-deep: var(--orleis-cream);
    --orleis-accent: var(--orleis-cream);
    --orleis-secondary: var(--orleis-cream);
    --orleis-max: 80rem;
    --font-heading: "DM Serif Display", Georgia, serif;
    --font-body: "Fira Sans", sans-serif;
    --navbar-bg: var(--orleis-white);
}

body.orleis-storefront {
    /* Remap marketplace + Bootstrap tokens to white-first Orleis palette */
    --web-primary: var(--orleis-primary);
    --web-secondary: var(--orleis-cream);
    --web-primary-10: color-mix(in srgb, var(--orleis-primary) 10%, transparent);
    --web-primary-20: color-mix(in srgb, var(--orleis-primary) 20%, transparent);
    --web-primary-40: color-mix(in srgb, var(--orleis-primary) 40%, transparent);
    --base: var(--orleis-primary);
    --base-2: var(--orleis-cream);
    --primary: var(--orleis-primary);
    --primary-purple: var(--orleis-primary);
    --primary-blue: var(--orleis-primary);
    --text-dark: var(--orleis-black);
    --text-light: var(--orleis-muted);
    --bg-light: var(--orleis-white);
    --bg-beige: var(--orleis-cream);
    --bs-primary: var(--orleis-primary);
    --bs-secondary: var(--orleis-cream);
    --bs-body-bg: var(--orleis-white);
    --bs-body-color: var(--orleis-black);
    --bs-border-color: var(--orleis-border);
    --bs-link-color: var(--orleis-primary);
    --bs-link-hover-color: var(--orleis-primary-hover);
    background: var(--orleis-white);
    color: var(--orleis-black);
    font-family: var(--font-body) !important;
}

body.orleis-storefront h1,
body.orleis-storefront h2,
body.orleis-storefront h3,
body.orleis-storefront h4,
body.orleis-storefront h5,
body.orleis-storefront h6,
body.orleis-storefront .h1,
body.orleis-storefront .h2,
body.orleis-storefront .h3 {
    font-family: var(--font-heading) !important;
    font-weight: 400;
    color: var(--orleis-black);
}

body.orleis-storefront p,
body.orleis-storefront .text-muted,
body.orleis-storefront .hero-subtitle-shop {
    color: var(--orleis-muted);
}

body.orleis-storefront .btn--primary,
body.orleis-storefront .search_button {
    background-color: var(--orleis-primary) !important;
    border-color: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .btn--primary:hover,
body.orleis-storefront .btn--primary:focus,
body.orleis-storefront .search_button:hover {
    background-color: var(--orleis-primary-hover) !important;
    border-color: var(--orleis-primary-hover) !important;
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .web-text-primary,
body.orleis-storefront .text-primary {
    color: var(--orleis-primary) !important;
}

/* ---------- Header ---------- */
body.orleis-storefront header.rtl,
body.orleis-storefront .skintoria-header,
body.orleis-storefront .skintoria-header .navbar,
body.orleis-storefront .skintoria-header .navbar-sticky,
body.orleis-storefront .skintoria-header.bg-light,
body.orleis-storefront .navbar-sticky.bg-light,
body.orleis-storefront .navbar {
    background: var(--orleis-white) !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--orleis-border) !important;
}

body.orleis-storefront header.rtl {
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(12px);
}

body.orleis-storefront .skintoria-header .navbar-nav .nav-link,
body.orleis-storefront .skintoria-header .nav-item .btn.dropdown-toggle {
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
    color: var(--orleis-black) !important;
    padding: 8px 8px !important;
    min-width: 0;
    white-space: nowrap;
}

body.orleis-storefront .skintoria-header .navbar-nav .nav-link:hover,
body.orleis-storefront .skintoria-header .nav-item .btn.dropdown-toggle:hover,
body.orleis-storefront .skintoria-header .navbar-nav .nav-link.active,
body.orleis-storefront .skintoria-header .navbar-nav .nav-item.active > .nav-link {
    opacity: 1;
    color: var(--orleis-primary) !important;
}

/* Reserve icon strip; keep every nav label visible */
body.orleis-storefront .skintoria-header .navbar > .container {
    flex-wrap: nowrap;
    align-items: center;
}

body.orleis-storefront .skintoria-header #navbarNav {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

body.orleis-storefront .skintoria-header .navbar-nav.skintoria-nav-links {
    width: auto !important;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-end !important;
    gap: 0.75rem !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

body.orleis-storefront .skintoria-header .navbar-nav.skintoria-nav-links > .nav-item {
    flex: 0 0 auto;
}

body.orleis-storefront .skintoria-header .navbar-icons {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    gap: 1.25rem;
    margin-left: 1rem !important;
    position: relative;
    z-index: 5;
}

body.orleis-storefront .skintoria-header .navbar-icon-link,
body.orleis-storefront .skintoria-header .navbar-icons .user-dropdown {
    flex: 0 0 auto;
}

body.orleis-storefront .skintoria-header .navbar-icon-img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    min-width: 24px !important;
    flex-shrink: 0;
    object-fit: contain;
    display: block !important;
    opacity: 0.85;
    filter: none;
}

body.orleis-storefront .skintoria-logo-left .logo-img,
body.orleis-storefront .skintoria-mobile-logo .logo-img,
body.orleis-storefront .navbar-brand .logo-img,
body.orleis-storefront .logo-img {
    width: auto !important;
    max-height: 56px !important;
    max-width: 180px !important;
    height: auto !important;
    mix-blend-mode: multiply;
    object-fit: contain;
}

body.orleis-storefront .skintoria-logo-left {
    padding: 4px 16px;
}

body.orleis-storefront .navbar-icon-img {
    filter: none;
    opacity: 0.85;
}

body.orleis-storefront #desktop-search-overlay {
    background: var(--orleis-bg);
    border: 1px solid var(--orleis-border);
    border-radius: 0;
    box-shadow: 0 16px 40px rgba(32, 44, 38, 0.12);
}

body.orleis-storefront #desktop-search-overlay::before {
    background: var(--orleis-bg);
    border-color: var(--orleis-border);
}

body.orleis-storefront #desktop-search-input {
    background: var(--orleis-card);
    border: 1px solid var(--orleis-border);
    border-radius: 0;
    color: var(--orleis-fg);
}

body.orleis-storefront #desktop-search-btn {
    background: var(--orleis-primary);
    border-radius: 0;
}

body.orleis-storefront #mobileOffcanvas {
    background: var(--orleis-bg) !important;
}

body.orleis-storefront #mobileOffcanvas .mob-oc-header {
    background: var(--orleis-bg) !important;
    border-bottom: 1px solid var(--orleis-border);
}

body.orleis-storefront .search-form-mobile {
    background: var(--orleis-bg) !important;
    border-bottom: 1px solid var(--orleis-border);
}

/* ---------- Buttons ---------- */
body.orleis-storefront .orleis-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 2.5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--orleis-primary);
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    font-family: var(--font-body);
}

body.orleis-storefront .orleis-btn-solid {
    background: var(--orleis-primary);
    color: var(--orleis-primary-fg);
}

body.orleis-storefront .orleis-btn-solid:hover {
    background: var(--orleis-primary-hover);
    color: var(--orleis-primary-fg);
}

body.orleis-storefront .orleis-btn-outline {
    background: var(--orleis-white);
    color: var(--orleis-primary);
}

body.orleis-storefront .orleis-btn-outline:hover {
    background: var(--orleis-cream);
    color: var(--orleis-primary);
}

body.orleis-storefront .orleis-kicker {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orleis-muted);
    font-family: var(--font-body) !important;
}

body.orleis-storefront .orleis-text-link {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--orleis-fg);
    text-decoration: underline;
    text-underline-offset: 8px;
    font-family: var(--font-body) !important;
}

body.orleis-storefront .orleis-text-link:hover {
    opacity: 0.6;
    color: var(--orleis-fg);
}

body.orleis-storefront .orleis-wrap {
    width: 100%;
    max-width: var(--orleis-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Homepage ---------- */
.orleis-page {
    background: var(--orleis-bg);
    color: var(--orleis-fg);
}

.orleis-hero {
    padding: 3.5rem 1.5rem;
}

@media (min-width: 992px) {
    .orleis-hero {
        padding: 6rem 4rem;
    }
}

.orleis-hero-grid {
    display: grid;
    gap: 3.5rem;
    align-items: center;
    max-width: var(--orleis-max);
    margin: 0 auto;
}

@media (min-width: 992px) {
    .orleis-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.orleis-hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}

.orleis-hero-title em {
    font-style: italic;
}

.orleis-hero-copy {
    max-width: 28rem;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--orleis-muted);
    margin-bottom: 2rem;
}

.orleis-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.orleis-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--orleis-border);
}

.orleis-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.orleis-trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orleis-primary);
    flex-shrink: 0;
}

.orleis-trust-item span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: var(--font-body) !important;
}

.orleis-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .orleis-hero-visual {
        justify-content: flex-end;
    }
}

.orleis-hero-photo {
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: 28rem;
    overflow: hidden;
    background: var(--orleis-card);
}

.orleis-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.orleis-hero-inset {
    display: none;
    position: absolute;
    bottom: -2rem;
    left: -1.5rem;
    width: 12rem;
    height: 16rem;
    border: 1px solid var(--orleis-border);
    background: var(--orleis-card);
    padding: 0.5rem;
    box-shadow: 0 24px 48px rgba(32, 44, 38, 0.18);
}

@media (min-width: 992px) {
    .orleis-hero-inset {
        display: block;
    }
}

.orleis-hero-inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orleis-strip {
    background: var(--orleis-primary);
    color: var(--orleis-primary-fg);
    padding: 1.15rem 1.5rem;
}

.orleis-strip-inner {
    max-width: var(--orleis-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 3rem;
}

.orleis-strip span {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.8;
    font-family: var(--font-body) !important;
}

.orleis-strip span.is-accent {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.orleis-section {
    padding: 5rem 1.5rem;
}

.orleis-section-sm {
    padding: 4rem 1.5rem;
}

.orleis-center {
    text-align: center;
}

.orleis-rule {
    width: 6rem;
    height: 1px;
    background: hsla(150, 30%, 22%, 0.3);
    margin: 1.5rem auto 0;
}

.orleis-problem-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .orleis-problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.orleis-problem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: var(--orleis-card);
    min-height: 100%;
}

.orleis-problem-card.is-featured {
    background: var(--orleis-primary);
    color: var(--orleis-primary-fg);
    box-shadow: 0 24px 48px rgba(32, 44, 38, 0.2);
}

.orleis-problem-num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid var(--orleis-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading) !important;
    font-size: 1.25rem;
}

.orleis-problem-card.is-featured .orleis-problem-num {
    border-color: var(--orleis-primary-fg);
}

.orleis-problem-card p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--orleis-muted);
    margin: 0;
}

.orleis-problem-card.is-featured p {
    color: inherit;
    opacity: 0.8;
}

.orleis-section-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 576px) {
    .orleis-section-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }
}

.orleis-product-grid,
.orleis-concern-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .orleis-product-grid {
        grid-template-columns: 1fr 1fr;
    }
    .orleis-concern-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .orleis-product-grid,
    .orleis-concern-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.orleis-product-card,
.orleis-concern-card {
    display: flex;
    flex-direction: column;
}

/* Commerce product cards — warm border required by Orleis card spec */
.orleis-product-card {
    border: 1px solid var(--orleis-border);
    background: var(--orleis-white);
    padding: 0 0 1rem;
}

.orleis-product-card .orleis-product-meta {
    padding: 0 1rem;
}

.orleis-product-card .orleis-add {
    width: calc(100% - 0px);
}

/* Editorial concern/hair tiles stay open (no full card chrome) */
.orleis-concern-card {
    border: 0;
    background: transparent;
}

.orleis-product-media,
.orleis-concern-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--orleis-soft);
}

.orleis-product-media {
    aspect-ratio: 1 / 1;
    border: 0;
    border-bottom: 1px solid var(--orleis-border);
}

.orleis-concern-media {
    aspect-ratio: 3 / 4;
    border: 1px solid var(--orleis-border);
}

.orleis-product-media img,
.orleis-concern-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.orleis-product-card:hover img,
.orleis-concern-card:hover img {
    transform: scale(1.05);
}

.orleis-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.25rem 0.75rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orleis-fg);
    font-family: var(--font-body) !important;
}

.orleis-product-meta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.orleis-vendor {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orleis-muted);
    font-family: var(--font-body) !important;
    margin: 0;
}

.orleis-product-title,
.orleis-concern-title {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-family: var(--font-body) !important;
    color: var(--orleis-fg);
}

.orleis-product-title a,
.orleis-concern-media {
    color: inherit;
    text-decoration: none;
}

.orleis-price {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: var(--orleis-muted);
}

.orleis-add {
    margin-top: 1rem;
    width: 100%;
    height: 44px;
    border: 0;
    background: var(--orleis-primary);
    color: var(--orleis-primary-fg);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-body);
    cursor: pointer;
}

.orleis-add:hover {
    background: var(--orleis-primary-hover);
}

.orleis-concern-copy {
    margin-top: 1.25rem;
}

.orleis-concern-copy .muted {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    font-weight: 300;
    font-style: italic;
    color: var(--orleis-muted);
}

.orleis-concern-copy a {
    font-size: 0.75rem;
    color: var(--orleis-muted);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.orleis-band {
    background: var(--orleis-card);
}

.orleis-split {
    display: flex;
    flex-direction: column;
    background: var(--orleis-card);
}

@media (min-width: 768px) {
    .orleis-split {
        flex-direction: row;
        align-items: stretch;
    }
}

.orleis-split-copy {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .orleis-split-copy {
        padding: 5rem;
        width: 50%;
    }
}

.orleis-split-photo {
    min-height: 320px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .orleis-split-photo {
        width: 50%;
    }
}

.orleis-split-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orleis-newsletter {
    background: var(--orleis-primary);
    color: var(--orleis-white);
    text-align: center;
    padding: 6rem 1.5rem;
}

.orleis-newsletter h2 {
    color: var(--orleis-white) !important;
}

.orleis-newsletter .orleis-wrap {
    max-width: 40rem;
}

.orleis-newsletter > .orleis-wrap > p,
.orleis-newsletter p {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1;
    margin: 1.5rem 0 2rem;
}

.orleis-newsletter .newsletter-form,
.orleis-newsletter-form {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--orleis-white);
    background: var(--orleis-white);
}

@media (min-width: 576px) {
    .orleis-newsletter-form {
        flex-direction: row;
    }
}

.orleis-newsletter-form input[type="email"] {
    flex: 1;
    height: 56px;
    border: 0;
    background: var(--orleis-white) !important;
    color: var(--orleis-black) !important;
    padding: 0 1.5rem;
    font-size: 1rem;
    outline: none;
}

.orleis-newsletter-form input::placeholder {
    color: var(--orleis-muted) !important;
    opacity: 1;
}

.orleis-newsletter-form button {
    height: 56px;
    border: 0;
    background: var(--orleis-primary) !important;
    color: var(--orleis-white) !important;
    padding: 0 2.5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-body);
    white-space: nowrap;
}

.orleis-newsletter-form button:hover {
    background: var(--orleis-primary-hover) !important;
    color: var(--orleis-white) !important;
}

.orleis-newsletter-note {
    margin-top: 0.75rem;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75) !important;
    opacity: 1;
}

.orleis-newsletter-note a {
    color: var(--orleis-white) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.orleis-storefront .shop-skintype-section {
    padding: 4rem 0;
    background: var(--orleis-bg) !important;
}

body.orleis-storefront .shop-skintype-eyebrow {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
    color: var(--orleis-muted) !important;
    font-family: var(--font-body) !important;
}

body.orleis-storefront .shop-skintype-title {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem !important;
    color: var(--orleis-black) !important;
}

body.orleis-storefront .shop-skintype-subtitle {
    color: var(--orleis-muted) !important;
    font-weight: 300 !important;
}

body.orleis-storefront .shop-skintype-card {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    height: 100%;
    min-height: 140px;
    padding: 1.25rem 1.15rem;
    background: var(--orleis-white) !important;
    border: 1px solid var(--orleis-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: var(--orleis-black) !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

body.orleis-storefront .shop-skintype-section .row > [class*="col-"] {
    display: flex;
}

body.orleis-storefront .shop-skintype-card:hover {
    border-color: var(--orleis-primary) !important;
    background: var(--orleis-cream) !important;
    color: var(--orleis-black) !important;
}

body.orleis-storefront .shop-skintype-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--orleis-primary) !important;
    font-size: 1.15rem;
}

body.orleis-storefront .shop-skintype-name {
    display: block;
    font-family: var(--font-body) !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--orleis-black) !important;
}

body.orleis-storefront .shop-skintype-desc {
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--orleis-muted) !important;
}

body.orleis-storefront .ask-toria-home {
    padding: 2rem 0 1rem;
}
body.orleis-storefront .ask-toria-home,
body.orleis-storefront .ingredient-checker-section,
body.orleis-storefront .for-brands-section,
body.orleis-storefront .shop-skintype-section,
body.orleis-storefront .best-sellers-section,
body.orleis-storefront .standards-section {
    background: var(--orleis-bg) !important;
}

body.orleis-storefront .ask-toria-home-card,
body.orleis-storefront .checker-card,
body.orleis-storefront .brand-benefit-card {
    background: var(--orleis-card) !important;
    border: 1px solid var(--orleis-border) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.orleis-storefront .ask-toria-submit,
body.orleis-storefront .btn-analyze,
body.orleis-storefront .btn-checker-cta,
body.orleis-storefront .btn-brand-apply,
body.orleis-storefront .btn-view-all,
body.orleis-storefront .ic-promo-btn,
body.orleis-storefront .ats-btn-primary,
body.orleis-storefront .ats-continue-btn {
    background: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
}

body.orleis-storefront .shop-skintype-title,
body.orleis-storefront .checker-heading,
body.orleis-storefront .brands-title,
body.orleis-storefront .ask-toria-home h2 {
    font-family: var(--font-heading) !important;
}

body.orleis-storefront .home-leaf-top-left,
body.orleis-storefront .home-leaf-bottom-right,
body.orleis-storefront .footer-bg-3d,
body.orleis-storefront .footer-bg-ellipse,
body.orleis-storefront .standards-bg-circle,
body.orleis-storefront .best-sellers-bg-circle,
body.orleis-storefront .bs-leaves,
body.orleis-storefront .bs-leaves-right,
body.orleis-storefront .brands-bg-ellipse-1,
body.orleis-storefront .brands-bg-ellipse-2 {
    display: none !important;
}

/* ---------- Footer ---------- */
body.orleis-storefront .main-footer {
    background: var(--orleis-black) !important;
    color: var(--orleis-white);
    padding: 5rem 1.5rem 2rem;
    position: relative;
}

body.orleis-storefront .orleis-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: var(--orleis-max);
    margin: 0 auto;
}

@media (min-width: 768px) {
    body.orleis-storefront .orleis-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

body.orleis-storefront .orleis-footer-logo {
    height: 56px;
    width: auto;
    max-width: 180px;
    mix-blend-mode: normal;
    filter: none;
    object-fit: contain;
    display: block;
    background: var(--orleis-white);
    padding: 0.5rem 0.75rem;
}

body.orleis-storefront .orleis-footer-blurb {
    max-width: 18rem;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78) !important;
    margin-top: 1.25rem;
}

body.orleis-storefront .orleis-footer-col h6,
body.orleis-storefront .orleis-footer-col h3 {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: var(--font-body) !important;
    margin-bottom: 1.25rem;
    color: var(--orleis-white) !important;
}

body.orleis-storefront .orleis-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.orleis-storefront .orleis-footer-col li + li {
    margin-top: 0.75rem;
}

body.orleis-storefront .orleis-footer-col a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

body.orleis-storefront .orleis-footer-col a:hover {
    color: var(--orleis-cream);
}

body.orleis-storefront .orleis-footer-legal {
    max-width: var(--orleis-max);
    margin: 5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(231, 226, 219, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    body.orleis-storefront .orleis-footer-legal {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

body.orleis-storefront .orleis-footer-legal p,
body.orleis-storefront .orleis-footer-legal a {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-family: var(--font-body) !important;
    margin: 0;
}

body.orleis-storefront .orleis-footer-legal a:hover,
body.orleis-storefront .orleis-footer-social a:hover {
    color: var(--orleis-cream) !important;
}

body.orleis-storefront .orleis-footer-legal nav,
body.orleis-storefront .orleis-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

body.orleis-storefront .orleis-footer-social a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
}

/* ---------- Site-wide storefront (match homepage palette) ---------- */
body.orleis-storefront .rtl,
body.orleis-storefront .page-body,
body.orleis-storefront .__inline-23,
body.orleis-storefront .content-wrapper,
body.orleis-storefront main,
body.orleis-storefront .container,
body.orleis-storefront .__bg-F8F8F8,
body.orleis-storefront .bg-white.__bg-F8F8F8,
body.orleis-storefront .bg-light,
body.orleis-storefront section.bg-light,
body.orleis-storefront .page-section,
body.orleis-storefront .mobile-full {
    background-color: var(--orleis-bg) !important;
}

/* Keep dark shells from being forced white by global page surfaces */
body.orleis-storefront .main-footer,
body.orleis-storefront .main-footer .container,
body.orleis-storefront .orleis-newsletter,
body.orleis-storefront .orleis-newsletter .orleis-wrap {
    background-color: inherit;
}

body.orleis-storefront .main-footer {
    background: var(--orleis-black) !important;
}

body.orleis-storefront .orleis-newsletter {
    background: var(--orleis-primary) !important;
}

body.orleis-storefront .bg-white,
body.orleis-storefront .card,
body.orleis-storefront .card-header,
body.orleis-storefront .card-body,
body.orleis-storefront .modal-content,
body.orleis-storefront .dropdown-menu,
body.orleis-storefront .offcanvas,
body.orleis-storefront .offcanvas-body,
body.orleis-storefront .list-group-item,
body.orleis-storefront .table,
body.orleis-storefront .sidebar-box,
body.orleis-storefront .widget-filter,
body.orleis-storefront .filter-card,
body.orleis-storefront .product-single-meta,
body.orleis-storefront .checkout-details,
body.orleis-storefront .profile-aside,
body.orleis-storefront .__card,
body.orleis-storefront .border-lg,
body.orleis-storefront .border-sm {
    background-color: var(--orleis-card) !important;
    border-color: var(--orleis-border) !important;
    color: var(--orleis-fg);
}

body.orleis-storefront .card,
body.orleis-storefront .modal-content,
body.orleis-storefront .product-card,
body.orleis-storefront .__card {
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.orleis-storefront .product-card {
    background: var(--orleis-white) !important;
    border: 1px solid #E7E2DB !important;
}

body.orleis-storefront .text-muted,
body.orleis-storefront .text-secondary,
body.orleis-storefront .small,
body.orleis-storefront .form-text {
    color: var(--orleis-muted) !important;
}

body.orleis-storefront a:not(.btn):not(.orleis-btn):not(.nav-link):not(.dropdown-item):not(.ic-promo-btn):not(.btn-view-all):not(.btn-view-all-v2):not(.btn-checker-cta):not(.btn-brand-apply):not(.orleis-btn-solid):not(.ats-btn-primary):not(.ats-continue-btn) {
    color: var(--orleis-primary);
}

body.orleis-storefront a:not(.btn):not(.orleis-btn):not(.nav-link):not(.dropdown-item):not(.ic-promo-btn):not(.btn-view-all):not(.btn-view-all-v2):not(.btn-checker-cta):not(.btn-brand-apply):not(.orleis-btn-solid):not(.ats-btn-primary):not(.ats-continue-btn):hover {
    color: var(--orleis-primary-hover);
}

/* Dark shells: keep light text — do not inherit global green/black link colors */
body.orleis-storefront .main-footer a,
body.orleis-storefront .orleis-footer-col a,
body.orleis-storefront .orleis-footer-legal a,
body.orleis-storefront .orleis-footer-social a {
    color: rgba(255, 255, 255, 0.82) !important;
}

body.orleis-storefront .main-footer a:hover,
body.orleis-storefront .orleis-footer-col a:hover,
body.orleis-storefront .orleis-footer-legal a:hover,
body.orleis-storefront .orleis-footer-social a:hover {
    color: var(--orleis-cream) !important;
}

body.orleis-storefront .orleis-newsletter a {
    color: var(--orleis-white) !important;
}

body.orleis-storefront .orleis-newsletter p,
body.orleis-storefront .orleis-newsletter .orleis-newsletter-note,
body.orleis-storefront .main-footer p,
body.orleis-storefront .orleis-footer-blurb {
    color: rgba(255, 255, 255, 0.82) !important;
}

body.orleis-storefront .shop-skintype-card,
body.orleis-storefront .shop-skintype-card:hover {
    color: var(--orleis-black) !important;
}

body.orleis-storefront .shop-skintype-card .shop-skintype-name {
    color: var(--orleis-black) !important;
}

body.orleis-storefront .shop-skintype-card .shop-skintype-desc {
    color: var(--orleis-muted) !important;
}

body.orleis-storefront .orleis-concern-copy a,
body.orleis-storefront .orleis-concern-copy .muted {
    color: var(--orleis-muted) !important;
}

body.orleis-storefront .orleis-concern-title {
    color: var(--orleis-black) !important;
}

body.orleis-storefront .orleis-product-card {
    border: 1px solid #E7E2DB !important;
    background: var(--orleis-white) !important;
}

body.orleis-storefront .orleis-concern-card {
    border: 0 !important;
    background: transparent !important;
}

body.orleis-storefront .orleis-concern-media {
    border: 1px solid #E7E2DB !important;
}

body.orleis-storefront .btn-primary,
body.orleis-storefront .btn--primary,
body.orleis-storefront .btn-add-to-cart,
body.orleis-storefront .btn-buy-now,
body.orleis-storefront .btn-primary-custom,
body.orleis-storefront .search_button,
body.orleis-storefront .profile-aside-btn.btn--primary,
body.orleis-storefront #filterOffcanvas .btn.btn-primary,
body.orleis-storefront .add-to-cart,
body.orleis-storefront .cz-product-gallery .product-gallery-btn,
body.orleis-storefront .pagination .page-item.active .page-link {
    background-color: var(--orleis-primary) !important;
    border-color: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-radius: 0 !important;
}

/* Keep product image / media surfaces clean white for photos */
body.orleis-storefront .product-image,
body.orleis-storefront .cz-image-zoom,
body.orleis-storefront .owl-carousel .owl-item img,
body.orleis-storefront .product-gallery img,
body.orleis-storefront .avatar,
body.orleis-storefront .media img {
    background-color: transparent !important;
}

body.orleis-storefront .btn-primary:hover,
body.orleis-storefront .btn--primary:hover,
body.orleis-storefront .btn-add-to-cart:hover,
body.orleis-storefront .btn-primary-custom:hover {
    background-color: var(--orleis-primary-hover) !important;
    border-color: var(--orleis-primary-hover) !important;
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .btn-outline-primary,
body.orleis-storefront .btn-outline--primary {
    color: var(--orleis-primary) !important;
    border-color: var(--orleis-primary) !important;
    background: transparent !important;
    border-radius: 0 !important;
}

body.orleis-storefront .btn-outline-primary:hover,
body.orleis-storefront .btn-outline--primary:hover {
    background: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .badge-primary,
body.orleis-storefront .badge.bg-primary,
body.orleis-storefront .bg-primary {
    background-color: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .form-control,
body.orleis-storefront .form-select,
body.orleis-storefront .custom-select,
body.orleis-storefront input[type="text"],
body.orleis-storefront input[type="email"],
body.orleis-storefront input[type="password"],
body.orleis-storefront input[type="number"],
body.orleis-storefront input[type="search"],
body.orleis-storefront input[type="tel"],
body.orleis-storefront textarea,
body.orleis-storefront select {
    background-color: var(--orleis-bg) !important;
    border-color: var(--orleis-border) !important;
    color: var(--orleis-fg) !important;
    border-radius: 0 !important;
}

body.orleis-storefront .form-control:focus,
body.orleis-storefront .form-select:focus,
body.orleis-storefront input:focus,
body.orleis-storefront textarea:focus,
body.orleis-storefront select:focus {
    border-color: var(--orleis-primary) !important;
    box-shadow: 0 0 0 0.15rem color-mix(in srgb, var(--orleis-primary) 18%, transparent) !important;
}

body.orleis-storefront .nav-tabs .nav-link.active,
body.orleis-storefront .nav-pills .nav-link.active {
    background-color: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-color: var(--orleis-primary) !important;
}

body.orleis-storefront .page-link {
    color: var(--orleis-primary);
    background-color: var(--orleis-card);
    border-color: var(--orleis-border);
}

body.orleis-storefront .breadcrumb,
body.orleis-storefront .breadcrumb-item,
body.orleis-storefront .breadcrumb-item a {
    color: var(--orleis-muted) !important;
    background: transparent !important;
}

body.orleis-storefront .breadcrumb-item.active {
    color: var(--orleis-fg) !important;
}

body.orleis-storefront .table thead th,
body.orleis-storefront .table td,
body.orleis-storefront .table th {
    border-color: var(--orleis-border) !important;
    color: var(--orleis-fg);
}

body.orleis-storefront .alert-primary {
    background-color: color-mix(in srgb, var(--orleis-primary) 8%, transparent);
    border-color: var(--orleis-border);
    color: var(--orleis-fg);
}

body.orleis-storefront .progress-bar {
    background-color: var(--orleis-primary) !important;
}

body.orleis-storefront .custom-control-input:checked ~ .custom-control-label::before,
body.orleis-storefront .form-check-input:checked {
    background-color: var(--orleis-primary) !important;
    border-color: var(--orleis-primary) !important;
}

/* Product / shop / account surfaces */
body.orleis-storefront .product-title a,
body.orleis-storefront .for-feature-title,
body.orleis-storefront .view_details,
body.orleis-storefront .web-text-primary,
body.orleis-storefront .text--primary,
body.orleis-storefront .text-base {
    color: var(--orleis-primary) !important;
}

body.orleis-storefront .filter-option.active,
body.orleis-storefront .cz-filter-item.active,
body.orleis-storefront .active-menu,
body.orleis-storefront .aside-list-group .list-group-item.active {
    background-color: color-mix(in srgb, var(--orleis-primary) 8%, transparent) !important;
    color: var(--orleis-primary) !important;
    border-color: var(--orleis-primary) !important;
}

body.orleis-storefront .price,
body.orleis-storefront .discounted-unit-price,
body.orleis-storefront .product-price {
    color: var(--orleis-fg) !important;
}

body.orleis-storefront .footer_banner_section,
body.orleis-storefront .newsletter-section:not(.orleis-newsletter) {
    background: var(--orleis-card) !important;
}

/* Auth / checkout white shells */
body.orleis-storefront .auth-form,
body.orleis-storefront .login-card,
body.orleis-storefront .checkout-section,
body.orleis-storefront .shipping-details-wrapper {
    background: var(--orleis-card) !important;
    border: 1px solid var(--orleis-border);
}

/* Legacy purple/lavender marketplace accents → Orleis green */
body.orleis-storefront .btn-primary-custom,
body.orleis-storefront [style*="#696dac"],
body.orleis-storefront [style*="#696DAC"],
body.orleis-storefront .otp-form .submit-btn,
body.orleis-storefront .range-slider .ui-slider-range,
body.orleis-storefront .range-slider .ui-slider-handle {
    background-color: var(--orleis-primary) !important;
    border-color: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .border-primary {
    border-color: var(--orleis-primary) !important;
}

/* Product ingredients — semantic success only for real statuses */
body.orleis-storefront #ingredients .text-success,
body.orleis-storefront #ingredientsModal .text-success,
body.orleis-storefront .ingredients-list .text-success,
body.orleis-storefront .ingredients-modal-list .text-success,
body.orleis-storefront .ingredient-item .text-success,
body.orleis-storefront .ingredient-modal-item .text-success,
body.orleis-storefront .ingredient-item .flag-icon.text-success,
body.orleis-storefront .ingredient-modal-item .flag-icon.text-success {
    color: var(--orleis-success) !important;
}

body.orleis-storefront #ingredients .badge.text-success,
body.orleis-storefront #ingredientsModal .badge.text-success,
body.orleis-storefront .ingredients-list .badge.text-success,
body.orleis-storefront .ingredients-modal-list .badge.text-success,
body.orleis-storefront .ingredient-item .badge.text-success,
body.orleis-storefront .ingredient-modal-item .badge.text-success {
    background-color: var(--orleis-success) !important;
    color: var(--orleis-primary-fg) !important;
    border-color: var(--orleis-success) !important;
}

body.orleis-storefront #ingredientsModal .bg-success-subtle,
body.orleis-storefront .ingredient-modal-item.bg-success-subtle,
body.orleis-storefront .ingredients-modal-list .bg-success-subtle {
    background-color: color-mix(in srgb, var(--orleis-success) 12%, transparent) !important;
}

body.orleis-storefront .text-danger,
body.orleis-storefront .invalid-feedback {
    color: var(--orleis-error) !important;
}

body.orleis-storefront .form-control:focus,
body.orleis-storefront .form-select:focus,
body.orleis-storefront input:focus,
body.orleis-storefront textarea:focus {
    border-color: var(--orleis-primary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--orleis-primary) 20%, transparent) !important;
}

/* Brands / shop / listing page legacy classes */
body.orleis-storefront .btn-view-all,
body.orleis-storefront .btn-view-all-v2,
body.orleis-storefront a.btn-view-all-v2 {
    background: var(--orleis-primary) !important;
    border: 1px solid var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-radius: 0 !important;
    font-family: var(--font-body) !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 700 !important;
    height: auto !important;
    min-height: 48px;
    padding: 0.85rem 1.75rem !important;
}

body.orleis-storefront .btn-view-all:hover,
body.orleis-storefront .btn-view-all-v2:hover,
body.orleis-storefront a.btn-view-all-v2:hover {
    background: var(--orleis-primary-hover) !important;
    border-color: var(--orleis-primary-hover) !important;
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .filter-pill {
    background: var(--orleis-card) !important;
    color: var(--orleis-muted) !important;
    border-color: var(--orleis-border) !important;
}

body.orleis-storefront .filter-pill:hover {
    background: var(--orleis-bg) !important;
    color: var(--orleis-fg) !important;
}

body.orleis-storefront .filter-pill.active {
    background: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-color: var(--orleis-primary) !important;
    box-shadow: none !important;
}

body.orleis-storefront .product-badge,
body.orleis-storefront .rating-badge-v2 {
    background: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-radius: 0 !important;
}

body.orleis-storefront .rating-badge-v2 i,
body.orleis-storefront .rating-badge-v2 .bi-star-fill,
body.orleis-storefront .rating-badge-v2 span {
    color: var(--orleis-primary-fg) !important;
}

body.orleis-storefront .popular-brands-section,
body.orleis-storefront .best-sellers-section,
body.orleis-storefront .shop-hero,
body.orleis-storefront .hero-section,
body.orleis-storefront .brands-section,
body.orleis-storefront .products-page-container,
body.orleis-storefront .clean-promise-section,
body.orleis-storefront .ic-page-container,
body.orleis-storefront .ask-toria-page,
body.orleis-storefront .apply-to-sell-wrapper,
body.orleis-storefront .login-hero,
body.orleis-storefront .signup-hero,
body.orleis-storefront .login-page,
body.orleis-storefront .signup-page,
body.orleis-storefront .brand-marquee-section,
body.orleis-storefront .ats-checklist-section {
    background: var(--orleis-white) !important;
}

body.orleis-storefront .marquee-overlay-right {
    display: none !important;
}

body.orleis-storefront .ats-checklist-card {
    background: var(--orleis-cream) !important;
    border: 1px solid var(--orleis-border) !important;
}

body.orleis-storefront .standards-bg-circle,
body.orleis-storefront .brands-bg-ellipse-1,
body.orleis-storefront .brands-bg-ellipse-2,
body.orleis-storefront .page-flower-container::before,
body.orleis-storefront .page-flower-container::after {
    display: none !important;
}

body.orleis-storefront .brand-marquee-section .brand-logo,
body.orleis-storefront .marquee-content .brand-logo {
    background: var(--orleis-card-soft) !important;
    border: 1px solid var(--orleis-border);
}

/* Shared shop/marketing heroes — white canvas, soft overlays only */
body.orleis-storefront .shop-hero {
    border-bottom-color: var(--orleis-border) !important;
}

body.orleis-storefront .hero-bg-rect,
body.orleis-storefront .login-hero-bg,
body.orleis-storefront .signup-hero-bg,
body.orleis-storefront .vendor-login-hero-bg {
    background: var(--orleis-bg) !important;
    background-image: none !important;
    opacity: 1 !important;
}

body.orleis-storefront .hero-bg-ellipse,
body.orleis-storefront .login-hero-ellipse,
body.orleis-storefront .signup-hero-ellipse,
body.orleis-storefront .vendor-login-hero-ellipse,
body.orleis-storefront .ellipse-bg,
body.orleis-storefront .clean-promise-section .ellipse-bg {
    display: none !important;
}

/* Form cards — white surfaces on white canvas */
body.orleis-storefront .login-form-card,
body.orleis-storefront .signup-form-card,
body.orleis-storefront .vendor-login-form-card,
body.orleis-storefront .ats-form-card,
body.orleis-storefront .ask-toria-home-card {
    background: var(--orleis-white) !important;
    border-color: var(--orleis-border) !important;
}

/* Cream accents only (~3–5%): callouts, tips, checklist panels */
body.orleis-storefront .promise-card,
body.orleis-storefront .ats-info-card,
body.orleis-storefront .ats-checklist-card,
body.orleis-storefront .ic-promo-card,
body.orleis-storefront .ic-legend-card,
body.orleis-storefront .ic-tips-card,
body.orleis-storefront .orleis-problem-card:not(.is-featured) {
    background: var(--orleis-cream) !important;
    border-color: var(--orleis-border) !important;
}

body.orleis-storefront .product-card,
body.orleis-storefront .product-card-v2 {
    background: var(--orleis-white) !important;
    border: 1px solid var(--orleis-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.orleis-storefront .product-card .product-details,
body.orleis-storefront .product-card-v2 .product-details {
    border-top: 0;
}

/* Ensure border remains visible even when legacy styles zero it out */
body.orleis-storefront .products-grid .product-card,
body.orleis-storefront .best-sellers-grid .product-card,
body.orleis-storefront .product-card-wrapper .product-card,
body.orleis-storefront .brand-products-grid .product-card {
    border: 1px solid #E7E2DB !important;
    outline: none;
}

body.orleis-storefront .product-image-container {
    background-image: none !important;
    background-color: var(--orleis-soft) !important;
}

/* Equal-height cards in a row (badge rows stretch peers) */
body.orleis-storefront .products-grid-wrapper > .row,
body.orleis-storefront #ajax-products-view.row,
body.orleis-storefront .row:has(> .product-card-wrapper),
body.orleis-storefront .best-sellers-grid.row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

/* Column stretches with the tallest card in the row — do NOT use height:100% here */
body.orleis-storefront #ajax-products-view > .product-card-wrapper,
body.orleis-storefront .products-grid-wrapper .product-card-wrapper,
body.orleis-storefront .row > .product-card-wrapper,
body.orleis-storefront .best-sellers-grid > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: auto !important;
}

/* Card fills the stretched column */
body.orleis-storefront #ajax-products-view > .product-card-wrapper > .product-card,
body.orleis-storefront .product-card-wrapper > .product-card,
body.orleis-storefront .best-sellers-grid .product-card {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
}

body.orleis-storefront .product-card .product-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0;
    gap: 6px;
}

/* Long names must not stretch the card — clamp to 2 lines */
body.orleis-storefront .product-card .product-name,
body.orleis-storefront .product-card .product-name a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3 !important;
    max-height: calc(1.3em * 2);
    min-height: calc(1.3em * 2);
    margin: 0;
}

body.orleis-storefront .product-card .product-name a {
    color: inherit !important;
    text-decoration: none !important;
    width: 100%;
}

/* Badge row only when badges exist — no reserved empty space */
body.orleis-storefront .product-card .product-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

/* Extra space goes under brand so card bottoms align */
body.orleis-storefront .product-card .product-brand {
    margin-top: auto !important;
    padding-top: 4px;
}

body.orleis-storefront .btn-add-to-cart,
body.orleis-storefront .product-overlay .btn-add-to-cart {
    background: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-radius: 0 !important;
}

body.orleis-storefront .scroll-to-top,
body.orleis-storefront #back-to-top,
body.orleis-storefront .back-to-top,
body.orleis-storefront .btn-scroll-top {
    background: var(--orleis-primary) !important;
    border-color: var(--orleis-primary) !important;
    color: var(--orleis-primary-fg) !important;
    border-radius: 0 !important;
}

