:root {
    --ink: #111111;
    --muted: #6f6f6f;
    --line: #e7e2dc;
    --paper: #ffffff;
    --soft: #f6f3ef;
    --accent: #b74723;
}

* {
    letter-spacing: 0;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 58px;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.navbar-brand,
.footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    color: var(--ink);
}

.nav-link {
    color: var(--ink);
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    text-transform: uppercase;
}

.cart-link__icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.cart-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    color: #fff;
    background: var(--ink);
    border-radius: 999px;
    font-size: 0.72rem;
}

.flash-stack {
    padding-top: 1rem;
}

.fashion-hero {
    min-height: clamp(520px, 72vh, 760px);
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.34)),
        url("https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=1800&q=85") center 45% / cover no-repeat;
}

.fashion-hero__content {
    width: min(900px, calc(100% - 2rem));
    padding-top: 4rem;
}

.fashion-hero p,
.eyebrow {
    margin-bottom: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.fashion-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 7vw, 5.8rem);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
}

.fashion-hero span {
    display: block;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.78rem 1.25rem;
}

.btn,
.btn-light,
.btn-dark,
.btn-outline-dark,
.btn-outline-light,
.btn-outline-danger,
.fashion-card__meta button,
.fashion-card__meta a {
    color: #fff;
    background: #000;
    border-color: #000;
}

.btn:hover,
.btn-light:hover,
.btn-dark:hover,
.btn-outline-dark:hover,
.btn-outline-light:hover,
.btn-outline-danger:hover,
.fashion-card__meta button:hover,
.fashion-card__meta a:hover {
    color: #000;
    background: #fff;
    border-color: #000;
}

.store-section,
.shop-page,
.product-page,
.page-shell {
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-heading,
.shop-page__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin: 0 auto 1.5rem;
    width: min(100% - 2rem, 1500px);
}

.section-heading h2,
.shop-page__header h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 3.1rem);
    font-weight: 800;
    text-transform: uppercase;
}

.section-heading p,
.shop-page__header p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.section-heading a,
.fashion-card__meta a,
.fashion-card__meta button,
.shop-filter a {
    border: 1px solid #000;
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.product-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 340px);
    gap: 1.5rem;
    width: min(100% - 2rem, 1500px);
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.fashion-card {
    min-width: 0;
}

.fashion-card__image {
    position: relative;
    display: block;
    background: var(--soft);
    overflow: hidden;
}

.fashion-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 240ms ease;
}

.fashion-card:hover img {
    transform: scale(1.025);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.38rem 0.6rem;
    color: #fff;
    background: #000;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.fashion-card__body {
    padding-top: 0.85rem;
}

.fashion-card__body p {
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.fashion-card__body h3 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.fashion-card__body h3 a {
    text-decoration: none;
}

.fashion-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.86rem;
}

.collection-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    width: min(100% - 2rem, 1500px);
    margin: 0 auto;
}

.collection-tile {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1.5rem;
    color: #fff;
    text-decoration: none;
    background-image: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.38)), var(--collection-image);
    background-size: cover;
    background-position: center;
}

.collection-tile span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.collection-tile strong {
    max-width: 460px;
    font-size: clamp(1.8rem, 3vw, 3.8rem);
    line-height: 1;
    text-transform: uppercase;
}

.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
}

.shop-filter {
    position: sticky;
    top: 82px;
    align-self: start;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.shop-filter h2 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.shop-filter a {
    display: block;
    margin-top: 0.8rem;
    border: 1px solid #000;
    padding: 0.7rem 0.95rem;
    background: #fff;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.shop-filter a:hover,
.shop-filter a.is-active {
    color: #fff;
    background: #000;
    transform: translateX(6px);
}

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

.product-detail-image {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--soft);
}

.pdp {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(380px, 1.22fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.pdp-gallery {
    position: relative;
    align-self: start;
    max-width: 560px;
}

.pdp-main-image {
    display: block;
    width: 100%;
    max-height: 620px;
    aspect-ratio: 4 / 4.15;
    object-fit: cover;
    background: #f6f6f6;
}

.gallery-nav {
    position: absolute;
    top: 40%;
    z-index: 2;
    width: 54px;
    height: 54px;
    border: 1px solid #000;
    color: #fff;
    background: #000;
    font-size: 2rem;
    line-height: 1;
}

.gallery-nav--prev {
    left: 1.5rem;
}

.gallery-nav--next {
    right: 1.5rem;
    color: #000;
    background: #fff;
}

.gallery-nav:hover {
    color: #000;
    background: #fff;
}

.gallery-nav--next:hover {
    color: #fff;
    background: #000;
}

.pdp-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.pdp-thumb {
    padding: 0;
    border: 2px solid transparent;
    background: #f6f6f6;
}

.pdp-thumb.is-active {
    border-color: #8a4a2f;
}

.pdp-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.pdp-info {
    padding-top: 1.6rem;
}

.pdp-category {
    margin-bottom: 0.55rem;
    color: #b8b8b8;
    font-size: 0.95rem;
    font-weight: 700;
}

.pdp-info h1 {
    margin-bottom: 0.6rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
}

.pdp-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.pdp-rating span {
    color: #f5b83f;
    font-size: 1.1rem;
}

.pdp-rating em {
    color: var(--muted);
    font-style: normal;
}

.pdp-price {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
}

.pdp-price strong {
    font-size: clamp(1.65rem, 2.6vw, 2.4rem);
}

.pdp-price del {
    color: #b8b8b8;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.pdp-description {
    max-width: 640px;
    margin-bottom: 1.8rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.pdp-option {
    margin-bottom: 1.45rem;
}

.pdp-option__label {
    margin-bottom: 0.8rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.pdp-option__label strong {
    color: var(--ink);
}

.color-swatches,
.size-options,
.pdp-stock-row,
.pdp-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    outline: 1px solid transparent;
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 0 1px #e8e8e8;
}

.color-swatch.is-active {
    outline-color: var(--ink);
}

.size-option {
    min-width: 72px;
    height: 42px;
    border: 1px solid #eeeeee;
    color: var(--muted);
    background: #fff;
    font-weight: 800;
}

.size-option.is-active {
    color: #fff;
    background: #000;
    border-color: #000;
}

.size-option:disabled {
    opacity: 0.35;
    text-decoration: line-through;
}

.size-guide,
.clear-selection {
    display: inline-block;
    margin-top: 0.7rem;
    color: #7f674f;
    background: none;
    border: 0;
    padding: 0;
    font-weight: 700;
}

.pdp-stock-row {
    margin-bottom: 1.4rem;
}

.stock-pill {
    padding: 0.42rem 0.85rem;
    color: #24a36a;
    background: #eefbf4;
    border: 1px solid #94e1b8;
    font-weight: 800;
}

.stock-pill.is-out {
    color: #b42318;
    background: #fff0ef;
    border-color: #f1aaa5;
}

.pdp-actions {
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.qty-stepper {
    display: grid;
    grid-template-columns: 52px 72px 52px;
    height: 56px;
}

.qty-stepper button,
.qty-stepper input {
    border: 1px solid #eeeeee;
    background: #fff;
    text-align: center;
    font-weight: 800;
}

.qty-stepper input {
    border-left: 0;
    border-right: 0;
    min-height: 56px;
}

.btn-add-cart,
.btn-buy-now {
    height: 56px;
    min-width: 170px;
    border: 1px solid #000;
    color: #fff;
    background: #000;
    font-weight: 800;
}

.btn-buy-now {
    color: #000;
    background: #fff;
}

.btn-add-cart:hover {
    color: #000;
    background: #fff;
}

.btn-buy-now:hover {
    color: #fff;
    background: #000;
}

.btn-add-cart:disabled,
.btn-buy-now:disabled,
.qty-stepper input:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.pdp-meta {
    padding-top: 1.6rem;
    border-top: 1px solid #eeeeee;
}

.quick-checkout {
    margin: 0 0 1.8rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    background: #fafafa;
}

.product-request-panel {
    margin: 0 0 1.8rem;
}

.btn-request-product {
    width: 100%;
    min-height: 56px;
    border: 1px solid #000;
    color: #fff;
    background: #000;
    font-weight: 800;
    text-transform: uppercase;
}

.btn-request-product:hover {
    color: #000;
    background: #fff;
}

.product-request-form {
    margin-top: 0.85rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    background: #fafafa;
}

.quick-checkout__header {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.quick-checkout__header span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-checkout__header strong {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
}

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

.quick-checkout__grid > div:nth-child(3) {
    grid-column: 1 / -1;
}

.quick-checkout .form-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-checkout .btn-primary {
    margin-top: 0.35rem;
    color: #fff;
    background: #000;
    border-color: #000;
}

.quick-checkout .btn-primary:hover {
    color: #000;
    background: #fff;
}

.pdp-meta p {
    margin-bottom: 0.65rem;
    color: var(--muted);
}

.pdp-meta strong {
    color: var(--ink);
}

.pdp-reviews {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(320px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-top: 1rem;
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.review-summary h2,
.review-form h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
}

.review-summary__score {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eeeeee;
}

.review-summary__score > span {
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
}

.review-summary__score strong,
.review-item__header p {
    color: #f5b83f;
    letter-spacing: 0.05em;
}

.review-summary__score em {
    display: block;
    color: var(--muted);
    font-style: normal;
}

.review-form {
    padding: 1.25rem;
    border: 1px solid var(--line);
}

.review-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
    margin-bottom: 1rem;
}

.review-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-stars label {
    color: #d1d1d1;
    cursor: pointer;
    font-size: 1.85rem;
    line-height: 1;
    transition: color 160ms ease;
}

.review-stars label:hover,
.review-stars label:hover ~ label,
.review-stars input:checked ~ label {
    color: #f5b83f;
}

.review-form__grid {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.review-form .btn-add-cart {
    min-width: 190px;
}

.review-list {
    grid-column: 2;
    display: grid;
    gap: 1rem;
}

.review-item,
.review-empty {
    padding: 1rem 0;
    border-top: 1px solid #eeeeee;
}

.review-item__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.review-item__header strong {
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.review-item__header span,
.review-empty {
    color: var(--muted);
}

.review-item p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.share-icons {
    color: var(--ink);
    word-spacing: 0.55rem;
    font-weight: 900;
}

.price {
    color: var(--accent);
    font-weight: 800;
}

.form-control,
.form-select {
    border-radius: 0;
    min-height: 48px;
}

.summary-box,
.empty-state,
.cart-table-wrap {
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
}

.summary-box {
    padding: 1.25rem;
}

.empty-state {
    background: var(--soft);
}

.cart-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex: 0 0 72px;
    background: var(--soft);
}

.cart-qty-col {
    width: 130px;
}

.cart-quantity-input {
    width: 88px;
}

.success-summary {
    max-width: 420px;
}

.login-panel {
    max-width: 460px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid var(--line);
    background: #fff;
}

.login-panel h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    text-transform: uppercase;
}

.login-panel__link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--muted);
    font-weight: 700;
}

.site-footer {
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: 3rem 0;
    color: #fff;
    background: #111;
}

.site-footer h2 {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.68);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 1199.98px) {
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .collection-grid,
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-filter {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
    }

    .shop-filter a {
        margin-top: 0;
    }

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

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

    .pdp-gallery {
        max-width: none;
    }

    .pdp-info {
        padding-top: 0;
    }

    .pdp-reviews {
        grid-template-columns: 1fr;
    }

    .review-list {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    .fashion-hero {
        min-height: 560px;
    }

    .section-heading,
    .shop-page__header {
        display: block;
    }

    .product-rail {
        grid-auto-columns: 78%;
    }

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

    .collection-tile {
        min-height: 330px;
    }

    .table {
        min-width: 680px;
    }

    .newsletter-form {
        display: block;
    }

    .newsletter-form .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
    }

    .gallery-nav--prev {
        left: 0.75rem;
    }

    .gallery-nav--next {
        right: 0.75rem;
    }

    .pdp-thumbs {
        grid-template-columns: repeat(4, minmax(62px, 1fr));
    }

    .review-item__header {
        display: block;
    }

    .pdp-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .quick-checkout__grid {
        grid-template-columns: 1fr;
    }

    .quick-checkout {
        padding: 1rem;
    }

    .qty-stepper,
    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
    }

    .qty-stepper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
