/* Extraído de resources/views/catalog/product-detail.blade.php: 4 blocos <style> estáticos concatenados na ordem do documento, separados por linha em branco (base, temas/pizza, fashion+noir, noir). O :root com --accent usa o fallback #087f6f; o valor por loja é definido inline na view (style residual de 1 linha) e consumido via var(--accent). O CSS customizável da loja (custom_theme_css) permanece inline por ser dinâmico. ADAPTAÇÃO: o 4º bloco original era condicional (@if theme === 'noir') e continha regras sem prefixo de tema (.fashion-nav, .editorial-burger, .editorial-search-btn); ao extrair para arquivo único, essas regras foram re-escopadas sob .theme-noir, o que é equivalente porque todo o conteúdo vive dentro de .shell.theme-noir, e evita vazar estilo noir para o tema fashion. */

:root {
    --accent: #087f6f;
    --ink: #17201d;
    --muted: #68736f;
    --line: #e0e6e2;
    --surface: #fff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Manrope, system-ui, sans-serif;
    color: var(--ink);
    background: #f5f7f5;
}

.shell {
    width: 100%;
    margin: 0;
    background: transparent;
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    background: #fffffff2;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    max-width: 1200px;
    height: 64px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    background: var(--accent);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 30%, transparent);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.7rem;
}

.top-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -5px;
    display: none;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    place-items: center;
}

.cart-badge.show {
    display: grid;
}

.wrap {
    width: min(1080px, calc(100% - 36px));
    margin: 34px auto;
}

.back {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
}

.product {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 25px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: cover;
    border-radius: 17px;
    background: #edf0ee;
}

.placeholder {
    display: grid;
    place-items: center;
    font-size: 4rem;
}

.thumbs {
    display: flex;
    gap: 10px;
    overflow: auto;
    margin-top: 10px;
}

.thumb {
    width: 75px;
    height: 75px;
    flex: 0 0 75px;
    border: 2px solid transparent;
    border-radius: 11px;
    object-fit: cover;
    cursor: pointer;
}

.thumb.active {
    border-color: var(--accent);
}

.category {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.product h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 10px 0;
}

.price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    margin: 20px 0;
}

.price del {
    font-size: 1rem;
    color: #89918d;
    margin-right: 8px;
}

.description {
    line-height: 1.7;
    color: #3d4844;
}

.description img {
    max-width: 100%;
}

.options {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.group {
    margin: 18px 0;
}

.group-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
}

.group-title small {
    color: var(--muted);
    font-weight: 500;
}

.choice {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    margin: 7px 0;
    border: 1px solid var(--line);
    border-radius: 11px;
    cursor: pointer;
}

.choice input {
    accent-color: var(--accent);
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
}

.button {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.add {
    background: var(--accent);
    color: #fff;
}

.whatsapp {
    background: #25d366;
    color: #082b15;
}

.actions.single {
    grid-template-columns: 1fr;
}

@media (max-width: 760px) {
    .topbar-inner {
        height: 64px;
        padding: 0 18px;
    }

    .brand-copy {
        display: none;
    }

    .wrap {
        width: min(100% - 24px, 1080px);
        margin-top: 20px;
    }

    .product {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 22px;
    }

    .main-image {
        aspect-ratio: 1;
    }

    .actions {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    border-top: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 0.78rem;
}

.site-footer a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.pizza-flavor-note {
    margin: -2px 0 10px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.pizza-selected-flavors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.pizza-flavor-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 12%, white);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.pizza-flavor-chip button {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.pizza-flavor-search {
    display: flex;
    gap: 8px;
}

.pizza-flavor-search input {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.pizza-flavor-search button,
.pizza-flavor-result {
    border: 1px solid var(--accent);
    border-radius: 10px;
    background: #fff;
    color: var(--accent);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.pizza-flavor-search button {
    padding: 0 14px;
}

.pizza-flavor-results {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}

.pizza-flavor-result {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
}

.pizza-flavor-result small {
    color: var(--muted);
}

.pizza-flavor-help {
    display: block;
    margin-top: 9px;
    color: var(--muted);
}

.theme-bloom {
    --page: #fbfaf7;
    --line: #ebe8df;
    --ink: #252525;
    --muted: #77746f;
}

.theme-bloom .topbar {
    background: #fff;
    border-bottom-color: #ebe8df;
}

.theme-bloom .topbar-inner {
    max-width: 1320px;
    height: 68px;
    padding: 0 28px;
    display: flex;
    align-items: center;
}

.theme-bloom .brand,
.theme-bloom .top-actions {
    display: flex;
    align-items: center;
}

.theme-bloom .top-actions {
    gap: 8px;
}

.theme-bloom .wrap {
    width: min(1180px, calc(100% - 56px));
}

.theme-bloom .product {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
}

.theme-bloom .main-image {
    border-radius: 0;
    background: #f3f0ea;
}

.theme-bloom .product h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.theme-bloom .choice {
    border-radius: 0;
    border-width: 0 0 1px;
}

.theme-bloom .button {
    border-radius: 0;
}

.theme-bloom .add {
    background: #252525;
}

.theme-bloom .site-footer {
    padding: 28px clamp(22px, 5vw, 64px);
    border-top: 1px solid #ebe8df;
    background: #fff;
    color: #77746f;
}

.theme-bloom .site-footer a {
    color: var(--accent);
}

.theme-contemporary {
    --page: #fff;
    --line: #eef0f2;
    --ink: #17202b;
    --muted: #7b8490;
}

.theme-contemporary .topbar {
    background: #fff;
    box-shadow: none;
    border-bottom: 1px solid #edf0f2;
}

.theme-contemporary .topbar-inner {
    max-width: 1540px;
}

.theme-contemporary .brand-copy {
    display: none;
}

.theme-contemporary .wrap {
    width: min(1540px, calc(100% - 60px));
    margin-top: 44px;
}

.theme-contemporary .back {
    color: #68727c;
}

.theme-contemporary .product {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    border: 1px solid #edf0f2;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 23px rgba(19, 31, 44, 0.07);
}

.theme-contemporary .main-image {
    border-radius: 14px;
    background: #fafafa;
}

.theme-contemporary .product h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.theme-contemporary .choice {
    border-radius: 7px;
}

.theme-contemporary .button {
    border-radius: 8px;
}

.theme-contemporary .add {
    background: var(--accent);
    color: #fff;
}

.theme-contemporary .whatsapp {
    background: #32b578;
}

.theme-contemporary .site-footer {
    border-top: 1px solid #edf0f2;
    background: #fff;
}

.theme-contemporary .contemporary-header-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 660px;
    height: 48px;
    margin: 0 30px;
    border-radius: 13px;
    background: #f7f8f8;
    overflow: hidden;
}

.contemporary-header-search select {
    width: 190px;
    height: 100%;
    padding: 0 14px;
    border: 0;
    border-right: 1px solid #e6e8e8;
    background: transparent;
    color: #67717a;
    outline: 0;
}

.contemporary-header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    border: 0;
    background: transparent;
    outline: 0;
    color: #17202b;
}

.contemporary-header-search button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #5e6871;
}

.contemporary-header-search svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.theme-contemporary .contemporary-nav {
    display: block;
    max-width: 1540px;
    margin: auto;
    padding: 0 30px;
    border-bottom: 1px solid #edf0f2;
    background: #fff;
    overflow-x: auto;
}

.contemporary-nav > div {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 30px;
    white-space: nowrap;
}

.contemporary-nav a {
    display: block;
    padding: 18px 0;
    border-bottom: 2px solid transparent;
    color: #68727c;
    text-decoration: none;
    font-size: 0.9rem;
}

.contemporary-nav a.active,
.contemporary-nav a:hover {
    border-color: #f5b51b;
    color: #17202b;
}

body:has(.theme-contemporary) {
    background: #fff;
}

.theme-food {
    --food-red: var(--accent);
    --food-dark: #171310;
    --page: #fff;
    --line: #e9edf2;
    --ink: #171d27;
    --muted: #687487;
}

.theme-food body {
    background: #fff;
}

.theme-food .topbar {
    background: #fff;
    border-bottom-color: #edf0f3;
}

.theme-food .brand-mark {
    background: var(--food-dark);
    border-radius: 13px;
    box-shadow: none;
}

.theme-food .wrap {
    width: min(1120px, calc(100% - 36px));
    margin-top: 28px;
}

.theme-food .back {
    color: #687487;
}

.theme-food .product {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    border: 1px solid #edf0f3;
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 8px 22px #1a27330d;
}

.theme-food .main-image {
    border-radius: 14px;
    background: #f3f5f7;
}

.theme-food .product h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -0.05em;
}

.theme-food .price {
    font-size: 2rem;
    color: var(--food-red);
}

.theme-food .choice {
    border-color: #e9edf2;
    border-radius: 10px;
    background: #fff;
}

.theme-food .button {
    border-radius: 999px;
}

.theme-food .add {
    background: var(--food-red);
}

.theme-food .whatsapp {
    background: #25a95a;
}

.theme-food .site-footer {
    border-top-color: #edf0f3;
    background: #fff;
}

body:has(.theme-food) {
    background: #fff;
}

body:has(.theme-fashion) {
    background: #fff;
    font-family: Jost, Arial, sans-serif;
}

.theme-fashion {
    --page: #fff;
    --line: #e6e6e6;
    --ink: #171717;
    --muted: #777;
}

.theme-fashion .topbar {
    position: relative;
    background: #fff;
    border-top: 3px solid #171717;
    border-bottom: 1px solid #eee;
    box-shadow: none;
}

.theme-fashion .topbar-inner {
    height: 88px;
}

.theme-fashion .brand:not(:has(img)) {
    display: none;
}

.theme-fashion .brand-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 50%;
    box-shadow: none;
}

.theme-fashion .icon-btn {
    background: #fff;
    border: 0;
    color: #171717;
}

.theme-fashion .fashion-wordmark {
    color: #181818;
    font-family: "Cormorant Garamond", serif;
}

.theme-fashion .wrap {
    width: min(1320px, calc(100% - 48px));
    margin-top: 55px;
}

.theme-fashion .back {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-fashion .product {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 72px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: #fff;
    box-shadow: none;
}

.theme-fashion .main-image {
    border-radius: 0;
    background: #f5f5f5;
    object-position: center top;
}

.theme-fashion .thumb {
    border-radius: 0;
}

.theme-fashion .category {
    color: #777;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}

.theme-fashion .product h1 {
    margin: 12px 0 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.theme-fashion .price {
    font-family: Jost, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.theme-fashion .description {
    color: #606060;
    font-weight: 300;
    line-height: 1.75;
}

.theme-fashion .group-title {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.theme-fashion .choice,
.theme-fashion .button {
    border-radius: 0;
}

.theme-fashion .choice {
    background: #fff;
}

.theme-fashion .add {
    background: #050505;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.theme-fashion .whatsapp {
    background: #fff;
    border: 1px solid #171717;
    color: #171717;
}

.theme-fashion .site-footer {
    background: #111;
    color: #ddd;
    border: 0;
}

.theme-fashion .fashion-nav {
    font-family: Jost, sans-serif;
}

@media (max-width: 760px) {
    .theme-fashion .topbar-inner {
        height: 72px;
    }

    .theme-fashion .wrap {
        width: calc(100% - 24px);
        margin-top: 28px;
    }

    .theme-fashion .product {
        gap: 28px;
    }

    .theme-fashion .product h1 {
        font-size: 2.7rem;
    }
}

@media (max-width: 900px) {
    .theme-contemporary .topbar-inner {
        height: auto;
        min-height: 68px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .theme-contemporary .top-actions {
        margin-left: auto;
    }

    .theme-contemporary .contemporary-header-search {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
        margin: 10px 0 0;
    }

    .theme-contemporary .contemporary-nav {
        padding: 0 20px;
    }

    .theme-contemporary .contemporary-nav > div {
        gap: 20px;
    }
}

@media (max-width: 760px) {
    .theme-bloom .wrap,
    .theme-contemporary .wrap,
    .theme-food .wrap,
    .theme-fashion .wrap,
    .theme-noir .wrap {
        width: calc(100% - 24px);
    }

    .theme-bloom .product,
    .theme-contemporary .product,
    .theme-food .product,
    .theme-fashion .product,
    .theme-noir .product {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .theme-food .product {
        padding: 12px;
    }

    .theme-fashion .product h1,
    .theme-noir .product h1 {
        font-size: 2.7rem;
    }
}

.theme-fashion .topbar-inner,
.theme-noir .topbar-inner {
    position: relative;
    max-width: 1380px;
    padding: 0 32px;
}

.theme-fashion .brand,
.theme-noir .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.theme-fashion .brand:not(:has(img)),
.theme-noir .brand:not(:has(img)) {
    display: none;
}

.theme-fashion .fashion-header-search {
    display: flex;
    width: 250px;
    height: 43px;
    border: 1px solid #cfcfcf;
}

.theme-noir .fashion-header-search {
    display: flex;
    width: 250px;
    height: 43px;
    border: 1px solid #333;
    background: #0a0a0a;
}

.theme-fashion .fashion-header-search input,
.theme-noir .fashion-header-search input {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
    border: 0;
    background: transparent;
    outline: 0;
}

.theme-noir .fashion-header-search input {
    color: #fff;
}

.theme-fashion .fashion-header-search button,
.theme-noir .fashion-header-search button {
    width: 44px;
    border: 0;
    background: transparent;
}

.theme-fashion .fashion-header-search svg {
    width: 21px;
    fill: none;
    stroke: #111;
    stroke-width: 1.8;
}

.theme-noir .fashion-header-search svg {
    width: 21px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
}

.theme-fashion .fashion-wordmark,
.theme-noir .fashion-wordmark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1.75rem;
    font-family: "Cormorant Garamond", serif;
}

.theme-fashion .brand:has(img) + .fashion-header-search + .fashion-wordmark,
.theme-noir .brand:has(img) + .fashion-header-search + .fashion-wordmark {
    display: none;
}

.theme-fashion .top-actions,
.theme-noir .top-actions {
    margin-left: auto;
}

.fashion-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    min-height: 48px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.theme-noir .fashion-nav {
    background: #000;
    border-bottom-color: #222;
}

.fashion-nav a {
    display: grid;
    place-items: center;
    border-bottom: 2px solid transparent;
    color: #222;
    text-decoration: none;
    font-size: 0.82rem;
}

.theme-noir .fashion-nav a {
    color: #d4d4d4;
}

.fashion-nav a.active {
    border-color: #111;
}

.theme-noir .fashion-nav a.active {
    border-color: var(--accent);
    color: #fff;
}

.editorial-burger,
.editorial-search-btn {
    display: none;
}

.editorial-search-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    background: #00000080;
}

.editorial-search-modal.open {
    display: block;
}

.editorial-search-box {
    max-width: 560px;
    margin: 14vh auto 0;
    padding: 26px 22px;
    background: #fff;
}

.editorial-search-box form {
    display: flex;
    gap: 8px;
}

.editorial-search-box input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #cfcfcf;
    font: inherit;
}

.editorial-search-box button[type="submit"] {
    height: 48px;
    padding: 0 22px;
    border: 0;
    background: #111;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.editorial-search-close {
    float: right;
    border: 0;
    background: none;
    font-size: 1.2rem;
}

@media (max-width: 680px) {
    .editorial-burger,
    .editorial-search-btn {
        display: grid;
    }

    .theme-fashion .fashion-header-search,
    .theme-noir .fashion-header-search {
        display: none;
    }

    .theme-fashion .fashion-wordmark,
    .theme-noir .fashion-wordmark {
        position: static;
        transform: none;
        font-size: 1.2rem;
    }

    .theme-fashion .brand,
    .theme-noir .brand {
        position: static;
        transform: none;
    }

    .fashion-nav {
        position: fixed;
        z-index: 60;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(84vw, 320px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding: 20px 0;
        background: #fff;
        box-shadow: 16px 0 40px #00000030;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 0.25s;
    }

    .theme-noir .fashion-nav {
        background: #0a0a0a;
        box-shadow: 16px 0 40px #00000060;
    }

    .fashion-nav.open {
        transform: none;
    }

    .fashion-nav a {
        justify-content: flex-start;
        padding: 13px 22px;
        border-bottom: 1px solid #f0f0f0;
    }

    .fashion-nav a.active {
        border-bottom-color: #f0f0f0;
        background: #f7f7f7;
    }

    .theme-noir .fashion-nav a {
        border-bottom-color: #222;
    }

    .theme-noir .fashion-nav a.active {
        background: transparent;
    }
}

body:has(.theme-noir) {
    background: #000;
    font-family: Jost, Arial, sans-serif;
}

.theme-noir {
    --page: #000;
    --line: #262626;
    --ink: #f5f5f5;
    --muted: #a3a3a3;
}

.theme-noir .topbar {
    position: relative;
    background: #000;
    border-top: 3px solid var(--accent);
    border-bottom: 1px solid #222;
    box-shadow: none;
}

.theme-noir .topbar-inner {
    position: relative;
    max-width: 1380px;
    height: 88px;
    padding: 0 32px;
}

.theme-noir .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.theme-noir .brand:not(:has(img)) {
    display: none;
}

.theme-noir .brand-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 50%;
    box-shadow: none;
    background: var(--accent);
}

.theme-noir .icon-btn {
    background: #000;
    border: 0;
    color: #fff;
}

.theme-noir .fashion-wordmark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.75rem;
}

.theme-noir .brand:has(img) + .fashion-header-search + .fashion-wordmark {
    display: none;
}

.theme-noir .fashion-header-search {
    display: flex;
    width: 250px;
    height: 43px;
    border: 1px solid #333;
    background: #0a0a0a;
}

.theme-noir .fashion-header-search input {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #fff;
    outline: 0;
}

.theme-noir .fashion-header-search button {
    width: 44px;
    border: 0;
    background: transparent;
}

.theme-noir .fashion-header-search svg {
    width: 21px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
}

.theme-noir .top-actions {
    margin-left: auto;
}

.theme-noir .wrap {
    width: min(1320px, calc(100% - 48px));
    margin-top: 55px;
}

.theme-noir .back {
    color: #a3a3a3;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-noir .product {
    background: #0a0a0a;
    border: 1px solid #262626;
    border-radius: 0;
    box-shadow: none;
}

.theme-noir .main-image {
    background: #1a1a1a;
    border-radius: 0;
}

.theme-noir .category {
    color: #a3a3a3;
}

.theme-noir .product h1 {
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
}

.theme-noir .price {
    color: #fff;
}

.theme-noir .description {
    color: #d4d4d4;
}

.theme-noir .choice {
    background: #111;
    border-color: #333;
    color: #f5f5f5;
}

.theme-noir .choice:has(input:checked) {
    background: #1a1a1a;
    border-color: var(--accent);
}

.theme-noir .button {
    border-radius: 0;
}

.theme-noir .add {
    background: var(--accent);
}

.theme-noir .whatsapp {
    background: transparent;
    border: 1px solid var(--accent);
    color: #fff;
}

.theme-noir .site-footer {
    background: #000;
    border-top: 1px solid #222;
    color: #a3a3a3;
}

.theme-noir .editorial-burger,
.theme-noir .editorial-search-btn {
    display: none;
}

.theme-noir .fashion-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    min-height: 48px;
    background: #000;
    border-bottom: 1px solid #222;
}

.theme-noir .fashion-nav a {
    color: #d4d4d4;
    text-decoration: none;
    font-size: 0.82rem;
}

.theme-noir .fashion-nav a.active {
    color: #fff;
}

@media (max-width: 680px) {
    .theme-noir .topbar-inner {
        height: 64px;
        padding: 0 12px;
    }

    .theme-noir .editorial-burger,
    .theme-noir .editorial-search-btn {
        display: grid;
    }

    .theme-noir .fashion-header-search {
        display: none;
    }

    .theme-noir .fashion-wordmark {
        position: static;
        transform: none;
        font-size: 1.05rem;
    }

    .theme-noir .brand {
        position: static;
        transform: none;
    }

    .theme-noir .fashion-nav {
        position: fixed;
        z-index: 60;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(84vw, 320px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding: 20px 0;
        background: #0a0a0a;
        box-shadow: 16px 0 40px #00000060;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 0.25s;
    }

    .theme-noir .fashion-nav.open {
        transform: none;
    }

    .theme-noir .wrap {
        width: calc(100% - 24px);
    }
}
