:root {
    --ink: #1b1718;
    --muted: #74676b;
    --paper: #fbf7f3;
    --surface: #ffffff;
    --line: #eadfda;
    --wine: #32151d;
    --wine-soft: #4a202a;
    --blush: #e9b7aa;
    --rose: #b76e79;
    --sage: #6f8b7a;
    --whatsapp: #25d366;
    --shadow: 0 18px 48px rgba(50, 21, 29, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--paper);
    color: var(--ink);
}

body.cart-open {
    overflow: hidden;
}

button,
a,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 6vw;
    color: #ffffff;
    background: rgba(50, 21, 29, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.brand {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
}

.brand span {
    color: var(--blush);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-size: 0.9rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #ffffff;
}

.cart-trigger {
    position: relative;
    min-width: 92px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.cart-mark {
    font-size: 0.78rem;
    font-weight: 800;
}

.cart-count {
    position: absolute;
    top: -9px;
    right: -9px;
    min-width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--wine);
    background: var(--blush);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero {
    min-height: 92svh;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 48px;
    padding: 128px 6vw 72px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(50, 21, 29, 0.98), rgba(50, 21, 29, 0.94)),
        var(--wine);
    overflow: hidden;
}

.hero-copy {
    max-width: 680px;
    animation: rise-in 650ms ease both;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--rose);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero .eyebrow,
.service-band .eyebrow {
    color: var(--blush);
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.94;
    margin-bottom: 20px;
}

.hero-copy p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    align-self: stretch;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.hero-visual img {
    width: min(100%, 560px);
    max-height: 620px;
    object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.26));
    animation: float-card 5.5s ease-in-out infinite;
}

.hero-note {
    position: absolute;
    left: 0;
    bottom: 54px;
    display: grid;
    gap: 4px;
    max-width: 260px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.hero-note strong {
    color: #ffffff;
    font-size: 0.92rem;
}

.hero-note span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
}

.button,
.checkout-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 0 20px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.button:hover,
.checkout-button:hover,
.cart-trigger:hover,
.icon-button:hover,
.quantity-button:hover,
.add-button:hover,
.filter-button:hover {
    transform: translateY(-2px);
}

.primary {
    color: var(--wine);
    background: var(--blush);
}

.ghost {
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.dark {
    color: #ffffff;
    background: var(--wine);
}

.whatsapp,
.checkout-button {
    color: #102116;
    background: var(--whatsapp);
}

.about-section,
.shop-section,
.lookbook,
.gallery-strip,
.service-band {
    max-width: 1180px;
    margin: 0 auto;
}

.about-section {
    padding: 82px 6vw 34px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading.narrow {
    max-width: 820px;
}

.section-heading h2,
.lookbook h2,
.service-band h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    margin-bottom: 14px;
}

.section-heading p:not(.eyebrow),
.lookbook p,
.service-band p,
.value-grid p {
    color: var(--muted);
    line-height: 1.7;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.value-grid article {
    min-height: 178px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
}

.value-grid span {
    color: var(--rose);
    font-weight: 900;
}

.value-grid h3 {
    font-size: 1.05rem;
}

.shop-section {
    padding: 54px 6vw 82px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-button {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 16px;
    color: var(--ink);
    background: var(--surface);
    cursor: pointer;
}

.filter-button.active {
    color: #ffffff;
    background: var(--wine);
    border-color: var(--wine);
}

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

.product-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(50, 21, 29, 0.06);
    transform: translateY(16px);
    opacity: 0;
    transition: transform 500ms ease, opacity 500ms ease, box-shadow 180ms ease;
}

.product-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.product-card:hover {
    box-shadow: var(--shadow);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f3ece8;
}

.product-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.product-tag {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(50, 21, 29, 0.82);
    font-size: 0.72rem;
    font-weight: 800;
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.product-info {
    display: grid;
    gap: 6px;
}

.product-info h3 {
    font-size: 1.02rem;
}

.product-info p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.product-price {
    color: var(--wine-soft);
    font-size: 1.08rem;
    font-weight: 900;
}

.size-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.size-option {
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fffaf7;
    cursor: pointer;
}

.size-option.active {
    color: #ffffff;
    background: var(--sage);
    border-color: var(--sage);
}

.add-button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--wine);
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease;
}

.add-button:hover {
    background: var(--rose);
}

.lookbook {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 42px;
    align-items: center;
    padding: 0 6vw 80px;
}

.lookbook-image {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: #efe6e1;
    box-shadow: var(--shadow);
}

.lookbook-image img {
    height: 100%;
    object-fit: cover;
}

.lookbook-copy {
    max-width: 520px;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0 6vw 82px;
}

.gallery-strip img {
    aspect-ratio: 1;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f5ede9;
}

.service-band {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(260px, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-bottom: 84px;
    padding: 34px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--wine);
}

.service-band p {
    color: rgba(255, 255, 255, 0.72);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(27, 23, 24, 0.54);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.cart-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 40;
    width: min(440px, 100%);
    transform: translateX(100%);
    transition: transform 240ms ease;
}

.cart-open .cart-overlay {
    opacity: 1;
    pointer-events: auto;
}

.cart-open .cart-drawer {
    transform: translateX(0);
}

.cart-panel {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
}

.cart-header h2 {
    font-size: 1.6rem;
}

.icon-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.cart-items {
    display: grid;
    align-content: start;
    gap: 14px;
    overflow-y: auto;
    padding: 18px;
}

.cart-empty {
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.cart-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cart-item img {
    height: 94px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item h3 {
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.cart-item p {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.quantity-control {
    display: grid;
    grid-template-columns: 34px 34px 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-button {
    height: 34px;
    border: 0;
    background: #fbf7f3;
    cursor: pointer;
}

.quantity-control span {
    text-align: center;
    font-weight: 800;
}

.remove-button {
    border: 0;
    color: var(--rose);
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}

.cart-footer {
    display: grid;
    gap: 14px;
    padding: 20px 24px 24px;
    border-top: 1px solid var(--line);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
}

.cart-total strong {
    font-size: 1.35rem;
}

.checkout-button {
    width: 100%;
}

.checkout-button.disabled {
    pointer-events: none;
    color: #89817e;
    background: #ede7e3;
}

.cart-footer p {
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 60;
    max-width: min(420px, calc(100% - 32px));
    padding: 13px 18px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--wine);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translate(-50%, 18px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-card {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
    }
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 116px;
    }

    .hero-visual {
        min-height: 420px;
        align-self: auto;
    }

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

    .service-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .site-header {
        height: 64px;
        padding: 0 18px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        min-height: auto;
        gap: 32px;
        padding: 108px 18px 58px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-copy p:not(.eyebrow) {
        font-size: 1rem;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-note {
        left: 12px;
        bottom: 18px;
    }

    .about-section,
    .shop-section,
    .lookbook,
    .gallery-strip {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-section {
        padding-top: 62px;
    }

    .shop-section {
        padding-top: 48px;
        padding-bottom: 62px;
    }

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

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .lookbook {
        grid-template-columns: 1fr;
        padding-bottom: 62px;
    }

    .gallery-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 62px;
    }

    .service-band {
        margin: 0 18px 62px;
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .brand {
        font-size: 1.06rem;
    }

    .cart-trigger {
        min-width: 82px;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

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

    .cart-item {
        grid-template-columns: 64px 1fr;
    }

    .cart-header,
    .cart-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}
