:root {
    --color-bg: #f6f6f8;
    --color-surface: #ffffff;
    --color-text: #1b1b1f;
    --color-muted: #5f5f6e;
    --color-primary: #0f766e;
    --color-primary-dark: #0b5c56;
    --color-accent: #fbbf24;
    --color-border: #e2e2eb;
    --shadow-soft: 0 12px 32px rgba(15, 118, 110, 0.12);
    --shadow-card: 0 20px 40px rgba(15, 118, 110, 0.14);
    font-size: 62.5%;
}

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

body {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1.6;
}

.page {
    min-height: 100vh;
    background-color: var(--color-bg);
}

.container {
    width: min(112rem, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(246, 246, 248, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 226, 235, 0.6);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
    padding: 1.6rem 0;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.logo span {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}

.main-nav a {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.cart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.cart-toggle:hover,
.cart-toggle:focus {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.cart-count {
    min-width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cta-link {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
}

.hero {
    padding: 9.6rem 0 6.4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5.2rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(3.6rem, 4vw + 1rem, 5.2rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-copy p {
    color: var(--color-muted);
    margin-bottom: 2.4rem;
}

.eyebrow {
    font-size: 1.4rem;
    letter-spacing: 0.32rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn.primary:hover,
.btn.primary:focus {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.btn.secondary {
    background-color: #111827;
    color: #fff;
}

.btn.ghost {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: coral;
}

.btn-icon {
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.8rem;
    fill: currentColor;
}

.hero-highlights {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    color: var(--color-muted);
    font-weight: 500;
}

.hero-media {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-card {
    position: relative;
    border-radius: 2.4rem;
    background-color: #0f172a;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 32rem;
    color: #fff;
    overflow: hidden;
}

.hero-card.big {
    grid-column: 1 / -1;
    min-height: 40rem;
}

.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 20%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

.hero-card span,
.lookbook-media span,
.collection-card .card-overlay {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 1.4rem;
    text-align: center;
    padding: 2rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero-card span {
    width: 100%;
    text-align: left;
    padding: 2.4rem 2.8rem;
    font-weight: 600;
}

[data-image-slot] {
    background-color: #e5e7eb;
    color: inherit;
}

.section {
    padding: 6.4rem 0;
}

.section-cta {
    margin-top: 3.2rem;
    text-align: center;
}

.section-cta .btn {
    min-width: 20rem;
}

.section-heading {
    margin-bottom: 3.2rem;
}

.section-heading h2 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

.section-heading p {
    color: var(--color-muted);
}

.collection-grid {
    display: grid;
    gap: 2.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card {
    position: relative;
    border-radius: 2rem;
    min-height: 28rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111827;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.collection-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 20%, rgba(15, 23, 42, 0.7) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.collection-card:hover::before,
.collection-card:focus::before {
    opacity: 0.85;
}

.collection-card .card-overlay {
    position: relative;
    color: #fff;
    padding: 3.2rem;
    text-align: left;
}

.collection-card h3 {
    font-size: 2.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 2.4rem;
}

.product-card {
    background-color: var(--color-surface);
    border-radius: 1.8rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(31, 41, 55, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: grid;
    grid-template-rows: 22rem auto;
    cursor: pointer;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(15, 118, 110, 0.2);
}

.product-media {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(96, 165, 250, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-weight: 600;
    letter-spacing: 0.1rem;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-body {
    padding: 2.4rem;
    display: grid;
    gap: 1.6rem;
}

.product-body h3 {
    font-size: 1.8rem;
}

.product-description {
    color: var(--color-muted);
    font-size: 1.4rem;
    min-height: 6rem;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 600;
}

.product-tag {
    background-color: rgba(15, 118, 110, 0.12);
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
}

.lookbook {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.06), rgba(20, 184, 166, 0.06));
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4.8rem;
    align-items: center;
}

.lookbook-media {
    position: relative;
    min-height: 38rem;
    border-radius: 2.4rem;
    background-color: #0f172a;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.lookbook-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.lookbook-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 15%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.page-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(14, 116, 144, 0.12));
}

.page-hero-inner {
    display: grid;
    gap: 2rem;
    max-width: 72rem;
}

.page-hero-inner h1 {
    font-size: clamp(3.2rem, 3vw + 1.2rem, 4.8rem);
}

.page-hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.lookbook-copy ul {
    list-style: disc;
    margin-left: 1.6rem;
    color: var(--color-muted);
    margin-bottom: 2.4rem;
}

.about-grid {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-pillars {
    display: grid;
    gap: 2rem;
}

.about-pillars article {
    background-color: var(--color-surface);
    border-radius: 1.8rem;
    padding: 2.4rem;
    box-shadow: 0 16px 32px rgba(31, 41, 55, 0.08);
}

.cta-strip {
    background-color: #0d9488;
    color: #fff;
    text-align: center;
}

.cta-content {
    display: grid;
    gap: 1.6rem;
    justify-items: center;
}

.site-footer {
    background-color: #111827;
    color: #e5e7eb;
    padding: 4.8rem 0 3.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.2rem;
}

.footer-grid a {
    color: inherit;
    text-decoration: none;
}

.footer-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
}

.footer-form input {
    padding: 1.2rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-size: 1.4rem;
}

.footer-form button {
    padding: 1.2rem 2.4rem;
    border-radius: 999px;
    border: none;
    background-color: var(--color-accent);
    color: #111827;
    font-weight: 600;
    cursor: pointer;
}

.footer-note {
    margin-top: 3.2rem;
    text-align: center;
    color: rgba(229, 231, 235, 0.6);
    font-size: 1.4rem;
}

body.modal-open {
    overflow: hidden;
}

.product-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.65);
    z-index: 40;
    padding: 2.4rem;
}

.product-modal.open {
    display: flex;
}

.product-modal-dialog {
    background-color: var(--color-surface);
    border-radius: 2.4rem;
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    max-width: min(72rem, 96vw);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    position: relative;
}

.product-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    border: none;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 3;
}

.product-modal-media {
    position: relative;
    min-height: 32rem;
}

.product-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-modal-body {
    padding: 3.2rem;
    display: grid;
    gap: 1.6rem;
}

.product-modal-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.product-modal-description {
    color: var(--color-muted);
    line-height: 1.7;
}

.product-modal .btn {
    justify-self: flex-start;
}

.checkout-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.65);
    z-index: 45;
    padding: 2.4rem;
}

.checkout-modal.open {
    display: flex;
}

.checkout-modal-dialog {
    background-color: var(--color-surface);
    border-radius: 2.4rem;
    box-shadow: 0 28px 46px rgba(15, 23, 42, 0.24);
    width: min(56rem, 96vw);
    position: relative;
    overflow: hidden;
}

.checkout-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    border: none;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
}

.checkout-modal-body {
    padding: 3.6rem 3.2rem 3.2rem;
    display: grid;
    gap: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-modal-body h2 {
    font-size: 2.6rem;
}

.checkout-modal-intro {
    color: var(--color-muted);
}

.checkout-modal-summary {
    background-color: rgba(15, 118, 110, 0.08);
    border-radius: 1.8rem;
    padding: 2.4rem;
    display: grid;
    gap: 1.6rem;
}

.checkout-summary-list {
    list-style: none;
    display: grid;
    gap: 1.2rem;
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
}

.checkout-summary-thumb {
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 1.4rem;
    overflow: hidden;
    background-color: #e5e7eb;
}

.checkout-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.checkout-summary-details {
    display: grid;
    gap: 0.4rem;
}

.checkout-summary-details span {
    display: block;
}

.checkout-summary-name {
    font-weight: 600;
}

.checkout-summary-qty {
    color: var(--color-muted);
    font-size: 1.4rem;
}

.checkout-summary-price {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(38rem, 90vw);
    background-color: var(--color-surface);
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 30;
    display: flex;
    flex-direction: column;
}

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

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 25;
}

.cart-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.4rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-close {
    background: none;
    border: none;
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
    color: var(--color-muted);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 2.4rem;
    display: grid;
    gap: 2rem;
}

.cart-items {
    list-style: none;
    display: grid;
    gap: 1.6rem;
}

.cart-item {
    display: grid;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(226, 226, 235, 0.6);
    padding-bottom: 1.6rem;
}

.cart-item:last-of-type {
    border-bottom: none;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-price {
    font-size: 1.4rem;
    color: var(--color-muted);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
}

.cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
}

.cart-item-controls button {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
}

.cart-summary {
    padding: 2rem 2.4rem;
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row.total span {
    font-weight: 600;
}

.cart-actions {
    padding: 2rem 2.4rem 3.2rem;
    border-top: 1px solid var(--color-border);
}

.cart-actions .btn {
    width: 100%;
}

.checkout-form {
    display: grid;
    gap: 2rem;
}

.checkout-form fieldset {
    border: none;
    display: grid;
    gap: 1.6rem;
}

.checkout-form label {
    display: grid;
    gap: 0.6rem;
    font-weight: 600;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    font: inherit;
}

.checkout-form textarea {
    resize: vertical;
}

.cart-empty {
    display: none;
    text-align: center;
    padding: 3.2rem 1.6rem;
    background-color: rgba(15, 118, 110, 0.08);
    border-radius: 1.6rem;
}

[data-cart-panel] .btn {
    width: 100%;
}

@media (max-width: 960px) {
    .nav {
        flex-wrap: wrap;
        gap: 1.6rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }

    .hero-grid,
    .lookbook-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .checkout-modal-body {
        padding: 3rem 2.4rem 2.8rem;
    }
}

@media (max-width: 720px) {
    :root {
        font-size: 58.5%;
    }

    .container {
        width: min(96vw, 112rem);
    }

    .hero {
        padding: 8rem 0 4.8rem;
    }

    .hero-media {
        grid-template-columns: 1fr;
    }

    .collection-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cart-panel {
        width: min(100vw, 42rem);
    }

    .page-hero {
        padding: 6.4rem 0 4.8rem;
    }

    .product-modal-body {
        padding: 2.4rem;
    }

    .checkout-modal-body {
        padding: 2.8rem 2.2rem;
    }
}

@media (max-width: 520px) {
    .main-nav {
        display: none;
    }

    .nav {
        justify-content: space-between;
    }

    .hero-highlights {
        gap: 0.6rem;
    }

    .cart-item {
        gap: 0.4rem;
    }

    .checkout-form fieldset {
        gap: 1.2rem;
    }
}
