:root {
    --black: #070909;
    --black-soft: #101413;
    --green: #173c2a;
    --green-bright: #275b42;
    --beige: #e8dcc8;
    --beige-soft: #f3ede3;
    --white: #f8f6f1;
    --line: rgba(232, 220, 200, 0.16);
    --muted: rgba(248, 246, 241, 0.7);
    --dark-muted: rgba(7, 9, 9, 0.58);
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(39, 91, 66, 0.26), transparent 28rem),
        linear-gradient(180deg, #040505 0%, #0b100e 100%);
    color: var(--white);
    font-family: "Trebuchet MS", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.brand-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 42px 42px;
}

.site-header,
.page-frame {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(7, 9, 9, 0.72);
    backdrop-filter: blur(14px);
}

.brand-mark,
.hero-copy h1,
.page-topper h1,
.detail-column h1,
.about-hero h1,
.cart-column h1,
.status-shell h1 {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border: 1px solid var(--line);
}

.brand-name {
    display: inline-block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--muted);
}

.notification-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-menu {
    position: relative;
}

.account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
    color: var(--white);
    cursor: pointer;
    list-style: none;
}

.account-link::-webkit-details-marker {
    display: none;
}

.account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 9, 9, 0.94);
    box-shadow: var(--shadow);
}

.account-dropdown a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
}

.account-state {
    padding: 10px 12px 4px;
    color: var(--beige);
    font-size: 0.9rem;
}

.account-button {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    text-align: left;
    cursor: pointer;
}

.account-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.account-button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--beige);
    color: var(--black);
    font-size: 0.8rem;
}

.flash-stack {
    width: min(1180px, calc(100% - 24px));
    margin: 14px auto 0;
}

.flash-card {
    background: rgba(232, 220, 200, 0.12);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
}

.page-frame {
    padding: 18px 0 48px;
}

.hero-panel,
.countdown-strip,
.content-block,
.page-topper,
.product-layout,
.about-layout,
.cart-layout,
.status-shell {
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, rgba(23, 60, 42, 0.28), rgba(7, 9, 9, 0.9));
}

.hero-copy,
.hero-visual,
.content-block,
.page-topper,
.detail-column,
.checkout-card,
.status-shell {
    padding: 22px;
}

.hero-copy h1,
.page-topper h1,
.detail-column h1,
.about-hero h1,
.cart-column h1,
.status-shell h1 {
    margin: 0;
    font-size: clamp(2.8rem, 8vw, 5.8rem);
    line-height: 0.92;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--beige);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.lead-copy,
.product-copy p,
.shop-copy p,
.detail-copy,
.detail-story,
.about-card p,
.cart-copy span {
    color: var(--muted);
    line-height: 1.7;
}

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

.cta-primary,
.cta-secondary,
.mini-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
}

.cta-primary,
.mini-action {
    background: var(--green-bright);
    color: var(--white);
}

.cta-secondary {
    background: transparent;
    color: var(--beige);
    border-color: var(--line);
}

.wide {
    width: 100%;
}

.hero-visual {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18));
}

.hero-slide-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        opacity 1s ease,
        filter 1s ease;
}

.hero-slide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 220, 200, 0.35);
}

.hero-slide-card.is-fading {
    opacity: 0.18;
    filter: saturate(0.7);
}

.look-card,
.image-stage,
.slider-card,
.shop-visual,
.gallery-main,
.gallery-thumb,
.cart-visual {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 180px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18)),
        linear-gradient(135deg, #111, #1c3226);
}

.look-card img,
.image-stage img,
.slider-card img,
.shop-visual img,
.gallery-main img,
.gallery-thumb img,
.cart-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.look-card::after,
.image-stage::after,
.slider-card::after,
.shop-visual::after,
.gallery-main::after,
.gallery-thumb::after,
.cart-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
}

.look-overlay,
.image-overlay,
.thumb-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
}

.look-main {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.look-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.look-card span,
.slider-card span,
.gallery-main span {
    color: var(--beige);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.look-card strong,
.image-stage strong,
.slider-card strong,
.gallery-main strong {
    display: block;
    margin-top: 8px;
    font-size: 1.5rem;
}

.look-card small {
    display: block;
    margin-top: 8px;
    color: rgba(248, 246, 241, 0.78);
    font-size: 0.95rem;
}

.accent,
.emerald {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.24)),
        linear-gradient(135deg, #10241a, #1f5139 60%, #0a0f0c);
}

.sand {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18)),
        linear-gradient(135deg, #463d32, #bfa785 60%, #171412);
}

.obsidian {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.24)),
        linear-gradient(135deg, #050606, #18211d 60%, #020202);
}

.countdown-strip,
.page-topper,
.status-shell {
    margin-top: 18px;
    background: var(--beige-soft);
    color: var(--black);
}

.countdown-strip *,
.page-topper *,
.status-shell * {
    color: var(--black);
}

.countdown-strip {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.countdown div {
    background: var(--white);
    border-radius: 18px;
    padding: 16px 12px;
    text-align: center;
    color: var(--black);
}

.countdown strong {
    display: block;
    font-size: 1.8rem;
}

.content-block {
    margin-top: 18px;
    background: rgba(10, 13, 12, 0.88);
}

.section-head,
.product-meta,
.shop-line,
.filter-row,
.total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.section-head h2,
.checkout-card h2,
.about-card h2 {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 900;
}

.text-action {
    color: var(--beige);
}

.product-grid,
.shop-grid,
.about-layout,
.gallery-strip,
.cart-list {
    display: grid;
    gap: 16px;
}

.product-grid,
.shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card,
.shop-card,
.about-card,
.cart-item,
.checkout-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}

.shop-card {
    display: flex;
    flex-direction: column;
}

.image-stage {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.image-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    color: var(--beige);
    font-size: 0.8rem;
}

.product-copy,
.shop-copy,
.about-card,
.cart-item,
.checkout-card {
    padding: 18px;
}

.shop-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.slider-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.slider-card {
    min-height: 170px;
}

.filter-chip,
.size-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(7, 9, 9, 0.12);
    background: rgba(255, 255, 255, 0.56);
    color: var(--black);
}

.variant-select {
    min-width: 180px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(232, 220, 200, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.quantity-picker {
    display: inline-grid;
    grid-template-columns: 48px 88px 48px;
    align-items: center;
    border: 1px solid rgba(232, 220, 200, 0.2);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.quantity-button {
    min-height: 48px;
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-input {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-left: 1px solid rgba(232, 220, 200, 0.16);
    border-right: 1px solid rgba(232, 220, 200, 0.16);
    background: transparent;
    color: var(--white);
    text-align: center;
}

.filter-chip.active {
    background: var(--green);
    color: var(--white);
}

.shop-visual {
    min-height: 340px;
}

.hover-panel {
    position: absolute;
    inset: auto 16px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(7, 9, 9, 0.72);
    color: var(--white);
    padding: 14px 16px;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.shop-card:hover .hover-panel {
    opacity: 1;
    transform: translateY(0);
}

.shop-view-action {
    margin-top: auto;
    align-self: flex-start;
}

.product-layout,
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background: rgba(10, 13, 12, 0.88);
}

.gallery-main {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-strip {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
}

.gallery-thumb {
    min-height: 120px;
    color: var(--beige);
    width: 100%;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18)),
        linear-gradient(135deg, #111, #1c3226);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
    transform: translateY(-2px);
    border-color: rgba(232, 220, 200, 0.4);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.gallery-thumb.is-active::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.54));
}

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

.detail-story {
    margin-top: 12px;
}

.size-row {
    margin: 22px 0;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.stock-banner {
    background: rgba(39, 91, 66, 0.2);
    border: 1px solid rgba(39, 91, 66, 0.5);
    color: var(--beige);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.stock-banner.low {
    background: rgba(191, 167, 133, 0.12);
    border-color: rgba(191, 167, 133, 0.5);
}

.about-layout {
    background: rgba(10, 13, 12, 0.88);
    padding: 18px;
    grid-template-columns: 1fr;
}

.about-hero {
    padding: 8px 4px 4px;
}

.cart-column,
.checkout-card {
    padding: 22px;
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 14px;
    align-items: center;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.cart-qty-controls form {
    margin: 0;
}

.cart-qty-button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(7, 9, 9, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--black);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.cart-qty-value {
    min-width: 58px;
    font-weight: 700;
    color: var(--black);
}

.cart-visual {
    min-height: 88px;
}

.payment-list {
    padding-left: 18px;
    color: var(--muted);
}

.total-line {
    margin-top: 12px;
}

.total-main {
    font-size: 1.15rem;
    color: var(--beige);
}

.empty-state {
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 20px;
}

.status-shell {
    padding: 32px 22px;
}

.status-shell.muted {
    background: #d9cfbf;
}

.auth-shell {
    max-width: 620px;
    margin: 18px auto 0;
}

.auth-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(7, 9, 9, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--black);
}

.upload-preview-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.upload-preview-item {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.upload-preview-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.upload-preview-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--beige);
    color: var(--black);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.upload-preview-meta {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.4;
    word-break: break-word;
}

.paste-image-zone {
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 14px;
    margin-top: 10px;
    transition: border-color 160ms ease, background 160ms ease;
}

.paste-image-zone p {
    margin: 6px 0 0;
}

.paste-image-zone.drag-active {
    border-color: var(--beige);
    background: rgba(232, 220, 200, 0.1);
}

.paste-image-status {
    margin-top: 8px;
    opacity: 0.8;
}

.upload-preview-action {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.22);
    z-index: 3;
}

.upload-preview-action.remove {
    right: 8px;
    top: 8px;
    background: #d74e4e;
    color: #fff;
}

.upload-preview-action.add {
    right: 8px;
    bottom: 8px;
    background: var(--beige);
    color: var(--black);
}

.upload-preview-action:hover {
    transform: translateY(-1px);
}

.form-error {
    margin: 0;
    color: #8d2d2d;
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 15;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--green-bright);
    color: var(--white);
    box-shadow: var(--shadow);
}

.site-footer {
    width: min(1180px, calc(100% - 24px));
    margin: 10px auto 28px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 9, 9, 0.72);
    display: grid;
    gap: 18px;
}

.footer-col {
    display: grid;
    gap: 10px;
}

.footer-col h3 {
    margin: 0;
    color: var(--beige);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
}

.footer-col a {
    color: var(--muted);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.footer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (min-width: 760px) {
    .hero-panel {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .product-layout,
    .cart-layout {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .about-layout {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-name {
        max-width: 10ch;
        line-height: 1.1;
        letter-spacing: 0.12em;
    }
}
