.store-type-beauty {
    --by-ink: #211716;
    --by-muted: #75615b;
    --by-line: rgba(56, 32, 28, 0.12);
    --by-cream: #fff9f4;
    --by-paper: #f7ece5;
    --by-blush: color-mix(in srgb, var(--brand-color) 22%, #f6d8d1);
    --by-rose: color-mix(in srgb, var(--brand-color) 64%, #9e4f58);
    --by-wine: #4d202a;
    --by-gold: #b99164;
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--brand-rgb), 0.11), transparent 30rem),
        linear-gradient(180deg, #fffaf6 0%, #f7ece5 48%, #fff9f4 100%);
    color: var(--by-ink);
    overflow-x: hidden;
}

.store-type-beauty .storefront-page {
    background: transparent;
}

.store-type-beauty .storefront-ambience {
    opacity: 0;
}

.by-shell-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 249, 244, 0.92);
    border-bottom: 1px solid var(--by-line);
    backdrop-filter: blur(18px);
}

.by-utility,
.by-header-main {
    width: min(100% - 40px, 1320px);
    margin: 0 auto;
}

.by-utility {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--by-muted);
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.by-utility nav,
.by-footer__locale {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.by-utility a,
.by-footer__locale a {
    color: inherit;
    text-decoration: none;
}

.by-utility a.is-active,
.by-footer__locale a.is-active {
    color: var(--by-rose);
}

.by-header-main {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.by-logo {
    color: var(--by-ink);
    text-decoration: none;
    display: grid;
    gap: 2px;
}

.by-logo strong,
.by-hero h1,
.by-section-head h2,
.by-ritual h2,
.by-consult h2,
.by-footer h2 {
    font-family: "Cormorant Garamond", "IBM Plex Sans Arabic", serif;
    letter-spacing: 0;
}

.by-logo strong {
    font-size: clamp(1.55rem, 2vw, 2.35rem);
    line-height: 0.95;
    font-weight: 700;
}

.by-logo small {
    color: var(--by-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.by-nav,
.by-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.by-nav a {
    color: var(--by-ink);
    font-size: 0.86rem;
    text-decoration: none;
    padding: 8px 4px;
}

.by-nav a:hover {
    color: var(--by-rose);
}

.by-search-form,
.by-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--by-line);
    background: rgba(255, 255, 255, 0.68);
}

.by-search-form {
    width: min(28vw, 320px);
    height: 42px;
    border-radius: 999px;
    overflow: hidden;
}

.by-search-form input,
.by-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--by-ink);
    outline: none;
}

.by-search-form input {
    padding: 0 16px;
    font-size: 0.86rem;
}

.by-search-form button,
.by-cart-icon,
.by-menu-button,
.by-add {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--by-line);
    border-radius: 50%;
    background: #fffaf6;
    color: var(--by-ink);
}

.by-search-form button {
    border: 0;
    background: transparent;
}

.by-search-form svg,
.by-cart-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.by-cart-icon {
    position: relative;
    text-decoration: none;
}

.by-cart-icon span {
    position: absolute;
    top: -7px;
    inset-inline-end: -7px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--by-wine);
    color: #fffaf6;
    font-size: 0.72rem;
}

.by-menu-button {
    display: none;
}

.by-menu-button span {
    width: 18px;
    height: 1px;
    background: currentColor;
}

.by-mobile-drawer {
    display: none;
}

.by-hero,
.by-categories,
.by-deals,
.by-products,
.by-ritual,
.by-consult,
.by-sections,
.by-trust {
    width: min(100% - 40px, 1320px);
    margin: 0 auto;
}

.by-hero {
    min-height: min(720px, calc(100vh - 114px));
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 68px);
    align-items: center;
    padding: clamp(34px, 5vw, 76px) 0 42px;
}

.by-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--by-rose);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.by-hero h1 {
    margin: 18px 0 18px;
    color: var(--by-ink);
    font-size: clamp(3.4rem, 8vw, 7.7rem);
    line-height: 0.88;
    font-weight: 700;
    max-width: 8.7ch;
}

.by-hero p,
.by-section-head p,
.by-ritual p,
.by-consult p,
.by-card p,
.by-footer p,
.by-footer small {
    color: var(--by-muted);
}

.by-hero p {
    max-width: 620px;
    font-size: clamp(1.02rem, 1.4vw, 1.24rem);
    line-height: 1.75;
}

.by-search {
    width: min(100%, 570px);
    min-height: 54px;
    margin-top: 26px;
    border-radius: 999px;
    overflow: hidden;
}

.by-search input {
    padding: 0 22px;
    font-size: 1rem;
}

.by-search button,
.by-button {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    background: var(--by-wine);
    color: #fffaf6;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.by-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.by-hero__stats span {
    min-width: 128px;
    padding: 14px 16px;
    border: 1px solid var(--by-line);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: var(--by-muted);
    font-size: 0.82rem;
}

.by-hero__stats strong {
    display: block;
    color: var(--by-ink);
    font-size: 1.32rem;
}

.by-hero__media {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--by-paper);
}

.by-hero__media img,
.by-category img,
.by-ritual img,
.by-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.by-hero__shade {
    position: absolute;
    inset-inline-start: 28px;
    bottom: 28px;
    width: min(320px, calc(100% - 56px));
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 8px;
    background: rgba(255, 249, 244, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(57, 24, 29, 0.16);
}

.by-hero__shade span,
.by-hero__shade small {
    color: var(--by-muted);
    font-size: 0.82rem;
}

.by-hero__shade strong {
    display: block;
    margin: 8px 0;
    color: var(--by-ink);
    font-size: 1.2rem;
}

.by-hero__shade a,
.by-section-head a,
.by-aisle__head a {
    color: var(--by-rose);
    font-weight: 800;
    text-decoration: none;
}

.by-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.by-section-head h2,
.by-ritual h2,
.by-consult h2,
.by-footer h2 {
    margin: 6px 0 0;
    color: var(--by-ink);
    font-size: clamp(2.2rem, 4.4vw, 4.6rem);
    line-height: 0.95;
}

.by-section-head p {
    max-width: 570px;
    line-height: 1.7;
}

.by-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.by-category {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    background: var(--by-paper);
}

.by-category::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(36, 18, 18, 0.62));
}

.by-category span {
    position: absolute;
    z-index: 1;
    inset-inline: 16px;
    bottom: 16px;
    color: #fffaf6;
}

.by-category strong,
.by-category small {
    display: block;
}

.by-category strong {
    font-size: 1.06rem;
}

.by-category small {
    color: rgba(255, 250, 246, 0.82);
}

.by-deals,
.by-products,
.by-ritual,
.by-consult,
.by-sections,
.by-trust {
    margin-top: clamp(56px, 8vw, 104px);
}

.by-deal-grid,
.by-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.by-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--by-line);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.58);
}

.by-card__media {
    position: relative;
    aspect-ratio: 1 / 1.08;
    background: var(--by-paper);
}

.by-card__media img {
    transition: transform 420ms ease;
}

.by-card:hover .by-card__media img {
    transform: scale(1.035);
}

.by-badge {
    position: absolute;
    inset-inline-start: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--by-wine);
    color: #fffaf6;
    font-size: 0.72rem;
    font-weight: 800;
}

.by-badge--soft {
    background: rgba(255, 249, 244, 0.9);
    color: var(--by-wine);
}

.by-card__body {
    min-width: 0;
    padding: 18px;
    display: grid;
    gap: 10px;
}

.by-card__name {
    color: var(--by-ink);
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.by-card p {
    min-height: 3.2em;
    margin: 0;
    line-height: 1.55;
    font-size: 0.9rem;
}

.by-shades {
    min-height: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.by-shades span,
.beauty-option-swatch {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(55, 35, 30, 0.18);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.by-shades small {
    color: var(--by-muted);
    font-size: 0.76rem;
}

.by-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.by-price strong {
    display: block;
    color: var(--by-ink);
    font-size: 1.05rem;
}

.by-price del {
    color: var(--by-muted);
    font-size: 0.82rem;
}

.by-add {
    background: var(--by-wine);
    color: #fffaf6;
}

.by-add:disabled {
    opacity: 0.45;
}

.by-ritual {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    background: var(--by-wine);
}

.by-ritual img {
    min-height: 420px;
}

.by-ritual__copy {
    padding: clamp(30px, 5vw, 72px);
    display: grid;
    align-content: center;
    gap: 18px;
}

.by-ritual h2,
.by-ritual p {
    color: #fffaf6;
}

.by-ritual .by-eyebrow {
    color: #f1cfc9;
}

.by-button--dark {
    background: #fffaf6;
    color: var(--by-wine);
}

.by-button--soft {
    background: rgba(255, 249, 244, 0.68);
    color: var(--by-wine);
    border: 1px solid var(--by-line);
}

.by-consult {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--by-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(var(--brand-rgb), 0.12), transparent 42%),
        rgba(255, 255, 255, 0.58);
}

.by-consult p {
    max-width: 720px;
    line-height: 1.7;
}

.by-consult__actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.by-aisle {
    border-top: 1px solid var(--by-line);
    padding-top: 24px;
    margin-top: 28px;
}

.by-aisle__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.by-aisle__head h3 {
    margin: 0;
    font-size: 1.4rem;
}

.by-product-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.by-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 80px;
}

.by-trust div {
    padding: 22px;
    border: 1px solid var(--by-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
}

.by-trust span {
    display: block;
    color: var(--by-rose);
    font-weight: 800;
    margin-bottom: 20px;
}

.by-trust strong,
.by-trust small {
    display: block;
}

.by-trust small {
    margin-top: 8px;
    color: var(--by-muted);
    line-height: 1.55;
}

.by-empty {
    padding: 34px;
    border: 1px solid var(--by-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--by-muted);
}

.by-footer {
    background: #201313;
    color: #fff8f3;
    padding: clamp(38px, 6vw, 76px) 0 24px;
}

.by-footer__top,
.by-footer__bottom {
    width: min(100% - 40px, 1320px);
    margin: 0 auto;
}

.by-footer__top {
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.8fr 0.8fr;
    gap: clamp(22px, 4vw, 58px);
}

.by-footer .by-eyebrow,
.by-footer a {
    color: #f0c9c3;
}

.by-footer h2 {
    color: #fff8f3;
    font-size: clamp(1.6rem, 3vw, 3.3rem);
}

.by-contact,
.by-footer__links,
.by-footer__brand {
    display: grid;
    align-content: start;
    gap: 12px;
}

.by-contact a,
.by-footer__links a {
    color: #fff8f3;
    text-decoration: none;
}

.by-whatsapp {
    width: fit-content;
    margin-top: 4px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 248, 243, 0.2);
    border-radius: 999px;
}

.by-footer__locale {
    color: rgba(255, 248, 243, 0.72);
}

.by-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 248, 243, 0.12);
    color: rgba(255, 248, 243, 0.7);
}

.store-type-beauty .beauty-option-swatch {
    display: inline-block;
    margin-inline-end: 8px;
    vertical-align: -3px;
}

html[dir="rtl"] .store-type-beauty .by-hero h1 {
    max-width: 9.6ch;
}

@media (max-width: 1180px) {
    .by-header-main {
        grid-template-columns: auto auto 1fr;
    }

    .by-menu-button {
        display: inline-grid;
    }

    .by-nav {
        display: none;
    }

    .by-category-grid,
    .by-deal-grid,
    .by-product-grid,
    .by-product-grid--compact,
    .by-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .by-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-type-beauty[data-nav-open="true"] .by-mobile-drawer {
        display: grid;
    }

    .by-mobile-drawer {
        position: fixed;
        inset: 0 0 auto;
        z-index: 60;
        padding: 28px;
        gap: 14px;
        background: #fff9f4;
        border-bottom: 1px solid var(--by-line);
        box-shadow: 0 24px 80px rgba(45, 22, 24, 0.18);
    }

    .by-mobile-drawer a,
    .by-mobile-drawer button {
        color: var(--by-ink);
        text-decoration: none;
        width: fit-content;
    }

    .by-mobile-drawer button {
        border: 0;
        background: transparent;
        font-size: 1.7rem;
    }
}

@media (max-width: 760px) {
    .by-utility,
    .by-header-main,
    .by-hero,
    .by-categories,
    .by-deals,
    .by-products,
    .by-ritual,
    .by-consult,
    .by-sections,
    .by-trust,
    .by-footer__top,
    .by-footer__bottom {
        width: min(100% - 28px, 100%);
    }

    .by-utility {
        min-height: 34px;
        overflow: auto hidden;
        justify-content: flex-start;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .by-header-main {
        min-height: 66px;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .by-logo strong {
        font-size: 1.5rem;
    }

    .by-logo small {
        font-size: 0.68rem;
    }

    .by-search-form {
        display: none;
    }

    .by-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 28px;
    }

    .by-hero h1 {
        font-size: clamp(3rem, 18vw, 4.6rem);
    }

    .by-hero p {
        font-size: 1rem;
    }

    .by-search {
        border-radius: 8px;
    }

    .by-search button {
        min-width: 96px;
        border-radius: 0;
    }

    .by-hero__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .by-hero__stats span {
        min-width: 0;
        padding: 12px 10px;
        font-size: 0.74rem;
    }

    .by-hero__stats strong {
        font-size: 1rem;
    }

    .by-hero__media {
        min-height: 390px;
    }

    .by-hero__shade {
        inset-inline: 14px;
        bottom: 14px;
        width: auto;
        padding: 16px;
    }

    .by-section-head,
    .by-consult,
    .by-footer__bottom {
        display: grid;
        align-items: start;
    }

    .by-section-head h2,
    .by-ritual h2,
    .by-consult h2 {
        font-size: clamp(2.1rem, 12vw, 3.2rem);
    }

    .by-category-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
    }

    .by-category {
        min-width: 72%;
        min-height: 220px;
        scroll-snap-align: start;
    }

    .by-deal-grid,
    .by-product-grid,
    .by-product-grid--compact,
    .by-trust,
    .by-footer__top {
        grid-template-columns: 1fr;
    }

    .by-card__media {
        aspect-ratio: 1 / 0.96;
    }

    .by-ritual {
        grid-template-columns: 1fr;
    }

    .by-ritual img {
        min-height: 300px;
    }

    .by-consult__actions {
        width: 100%;
    }

    .by-consult__actions .by-button {
        flex: 1 1 150px;
    }
}
