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

html,
body {
    height: 100%;
}

body {
    font-family: var(--font-body, Georgia, "Times New Roman", serif);
    background: var(--color-cream-page, #fff);
    color: #2b2b2b;
}

.coming-soon {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    padding: 5vw;
    background-color: #3f0f18;
    background-image: url("/assets/images/hero-bg.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.coming-soon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 3, 6, 0.65) 0%,
        rgba(15, 3, 6, 0.35) 50%,
        rgba(15, 3, 6, 0) 75%
    );
}

.coming-soon > * {
    position: relative;
    z-index: 1;
}

.coming-soon__logo {
    width: clamp(140px, 14vw, 220px);
    height: auto;
}

.coming-soon__heading {
    width: clamp(260px, 28vw, 480px);
    height: auto;
}

.coming-soon__subtitle {
    width: clamp(260px, 34vw, 560px);
    height: auto;
}

/* ---------- Site Header ---------- */

.site-header {
    background: var(--color-cream-surface);
    font-family: var(--font-body);
    position: relative;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 5vw;
}

.site-header__row--top {
    flex-wrap: wrap;
}

.site-header__row--bottom {
    border-top: 1px solid rgba(89, 31, 45, 0.12);
}

.site-header__hamburger {
    display: none;
    order: 0;
    color: var(--color-maroon);
    cursor: pointer;
}

.site-header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    order: 2;
    margin: 0 auto;
}

.site-header__logo-image {
    width: 9rem;
    height: 3.75rem;
    color: var(--color-maroon);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    order: 3;
}

.site-header__icon-link {
    position: relative;
    color: var(--color-maroon);
    display: inline-flex;
}

.site-header__badge {
    position: absolute;
    top: -0.4em;
    right: -0.6em;
    background: var(--color-maroon);
    color: var(--color-white);
    font-size: 0.65rem;
    line-height: 1;
    padding: 0.2em 0.4em;
    border-radius: 999px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    padding: 0.6em 1.2em;
}

.btn--login {
    background: var(--color-maroon);
    color: var(--color-white);
}

.btn--login .icon {
    color: var(--color-white);
}

.btn--light {
    background: var(--color-white);
    color: var(--color-maroon);
}

.site-header__search {
    display: flex;
    order: 1;
    flex: 1 1 220px;
    max-width: 260px;
    gap: 0.5rem;
}

.site-header__search input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 999px;
    padding: 0.5em 1em;
    font-family: var(--font-body);
    background: var(--color-cream-surface);
}

.site-header__search button {
    border: none;
    background: none;
    color: var(--color-maroon);
    cursor: pointer;
}

.site-header__categories {
    color: var(--color-maroon);
    font-weight: bold;
}

.site-header__categories summary {
    cursor: pointer;
    list-style: none;
}

.site-header__categories summary::-webkit-details-marker {
    display: none;
}

.mega-menu {
    position: absolute;
    left: 5vw;
    right: 5vw;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 2rem;
    background: var(--color-cream-surface);
    border: 1px solid rgba(89, 31, 45, 0.12);
    padding: 1.5rem 2rem;
    font-weight: normal;
}

.mega-menu__column h3 {
    color: var(--color-mauve);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.mega-menu__column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mega-menu__column a {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.mega-menu__column a span {
    font-size: 0.75rem;
    color: #999;
    font-weight: normal;
}

.mega-menu__view-all {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-maroon);
    font-size: 0.85rem;
}

.mega-menu__promo {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 220px;
    background: var(--color-maroon) url("/assets/images/hero-bg.png") center / cover;
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    gap: 0.5rem;
}

.mega-menu__promo-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.mega-menu__promo-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

.site-header__nav {
    display: flex;
    gap: 2rem;
}

.site-header__nav a {
    color: var(--color-mauve);
    text-decoration: none;
}

.site-header__nav a[aria-current="page"] {
    color: var(--color-maroon);
    font-weight: bold;
}

.site-header__phone {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: var(--color-maroon);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-header__mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 5vw;
    gap: 0.75rem;
}

.site-header__mobile-nav a {
    color: var(--color-maroon);
    text-decoration: none;
}

.site-header__mobile-nav a[aria-current="page"] {
    font-weight: bold;
}

@media (max-width: 767px) {
    .site-header__hamburger {
        display: inline-flex;
    }

    .site-header__logo-image {
        width: 6.5rem;
        height: 2.7rem;
    }

    .site-header__actions {
        gap: 0.75rem;
    }

    .site-header__actions .btn--login {
        padding: 0.5em;
    }

    .site-header__actions .btn--login .btn__label {
        display: none;
    }

    .site-header__search {
        order: 4;
        flex: 1 1 100%;
        max-width: none;
        margin-top: 0.5rem;
    }

    .site-header__row--bottom .site-header__nav,
    .site-header__row--bottom .site-header__phone {
        display: none;
    }

    .site-header__categories {
        display: none;
    }

    #mobile-nav-toggle:checked ~ .site-header__mobile-nav {
        display: flex;
    }

    .mega-menu {
        grid-template-columns: 1fr;
    }
}

/* ---------- Site Footer ---------- */

.site-footer {
    background: var(--color-maroon);
    color: var(--color-cream-surface);
    font-family: var(--font-body);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
    gap: 2rem;
    padding: 3rem 5vw;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-footer__logo-image {
    width: 9rem;
    height: 3.75rem;
    color: var(--color-cream-surface);
}

.site-footer__column h3,
.site-footer__newsletter h3 {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer__column a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
    font-size: 0.9rem;
}

.site-footer__newsletter p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.site-footer__newsletter-form {
    display: flex;
}

.site-footer__newsletter-form input {
    flex: 1;
    border: none;
    border-radius: 4px 0 0 4px;
    padding: 0.6em 0.8em;
    font-family: var(--font-body);
}

.site-footer__newsletter-form button {
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0.6em 1em;
    background: var(--color-cream-page);
    color: var(--color-maroon);
    cursor: pointer;
}

@media (max-width: 767px) {
    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand,
    .site-footer__newsletter {
        grid-column: 1 / -1;
    }
}

/* ---------- Home: Hero ---------- */

.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-color: #3f0f18;
    background-image: url("/assets/images/hero-bg.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 5vw;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 3, 6, 0.65) 0%, rgba(15, 3, 6, 0.35) 50%, rgba(15, 3, 6, 0) 75%);
}

.hero__content {
    position: relative;
    z-index: 1;
    color: var(--color-cream-surface);
    max-width: 32rem;
}

.hero__content h1 {
    font-family: var(--font-display);
    font-weight: normal;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero__content p {
    margin-bottom: 1.5rem;
}

/* ---------- Home: Trust Bar ---------- */

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.25rem 5vw;
    background: var(--color-cream-page);
    color: var(--color-maroon);
    font-size: 0.9rem;
}

.trust-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

/* ---------- Home: Popular Categories ---------- */

.popular-categories {
    padding: 3rem 5vw;
    text-align: center;
}

.popular-categories h2 {
    font-family: var(--font-display);
    font-weight: normal;
    color: var(--color-maroon);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.popular-categories__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: left;
}

.category-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card span {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-weight: bold;
    color: #2b2b2b;
}

@media (max-width: 767px) {
    .popular-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Home: Photo Collage ---------- */

.collage {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 5vw 3rem;
}

.collage__row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.6fr;
    gap: 4px;
    min-height: 260px;
}

.collage__row--top {
    grid-template-rows: repeat(2, 1fr);
}

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

.collage__necklace,
.collage__jacket {
    grid-row: 1 / span 2;
}

.collage__ring {
    grid-column: 2;
    grid-row: 1;
}

.collage__earrings {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 767px) {
    .collage__row {
        grid-template-columns: repeat(2, 1fr);
    }

    .collage__necklace,
    .collage__jacket {
        grid-row: auto;
    }
}

/* ---------- Home: Product Rails ---------- */

.collections-page {
    display: block;
    padding-top: 1.5rem;
}

.product-rail {
    padding: 1.5rem 5vw;
}

.product-rail__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-rail__header h2 {
    font-family: var(--font-display);
    font-weight: normal;
    color: var(--color-maroon);
    font-size: 1.35rem;
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.product-rail__header a {
    color: var(--color-maroon);
    font-size: 0.85rem;
    text-decoration: none;
}

.product-rail__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

@media (max-width: 767px) {
    .product-rail__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Product Card (shared: Home rails, Shop grid, product-detail related) ---------- */

.product-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
}

.product-card__image-wrap {
    position: relative;
    aspect-ratio: 1;
}

.product-card__image-link {
    display: contents;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--color-maroon);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    padding: 0.4em 1em;
    border-radius: 8px;
}

.product-card__wishlist-form {
    display: contents;
}

.product-card__wishlist {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: none;
    padding: 0;
    color: var(--color-white);
    cursor: pointer;
}

.product-card__wishlist .icon {
    width: 100%;
    height: 100%;
}

.product-card__wishlist.is-favorited {
    color: var(--color-maroon);
    background: var(--color-white);
    border-radius: 999px;
    padding: 2px;
}

.product-card__info {
    position: relative;
    background: var(--color-maroon);
    color: var(--color-cream-surface);
    padding: 0.75rem;
    font-size: 0.85rem;
}

.product-card__name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.product-card__name-link {
    color: inherit;
    text-decoration: none;
}

.product-card__name-link:hover {
    text-decoration: underline;
}

.product-card__rating {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

.product-card__price {
    font-weight: bold;
    margin-bottom: 0.25rem;
    padding-right: 2.5rem;
}

.product-card__price-original {
    font-weight: normal;
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 0.4em;
}

.product-card__orders {
    opacity: 0.8;
    font-size: 0.75rem;
}

.product-card__cart {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 999px;
    background: var(--color-cream-surface);
    color: var(--color-maroon);
    cursor: pointer;
}

/* ---------- Home: Testimonials ---------- */

.testimonials {
    padding: 3rem 5vw;
    background: var(--color-cream-page);
    text-align: center;
}

.testimonials h2 {
    font-family: var(--font-display);
    font-weight: normal;
    color: var(--color-maroon);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: left;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 0.85rem;
}

.testimonial-card__quote {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card__author {
    font-weight: 600;
    color: var(--color-maroon);
}

.testimonial-card__stars {
    color: var(--color-maroon);
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Shop / Product Listing ---------- */

.shop-breadcrumb {
    padding: 1rem 5vw 0;
    font-size: 0.85rem;
    color: #777;
}

.shop-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.shop-breadcrumb span {
    color: var(--color-maroon);
    font-weight: bold;
}

.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    padding: 1.5rem 5vw 3rem;
    align-items: start;
}

.shop-filters {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1.25rem;
}

.shop-filters__section {
    margin-bottom: 1.5rem;
}

.shop-filters__section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #2b2b2b;
}

.shop-filters__categories {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.shop-filters__categories li {
    border-radius: 6px;
}

.shop-filters__categories li.is-active {
    background: var(--color-blush);
}

.shop-filters__categories a {
    display: block;
    padding: 0.5rem 0.6rem;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
}

.shop-filters__accordion {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.shop-filters__accordion summary {
    cursor: pointer;
    color: #444;
}

.shop-filters__price-range {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #777;
}

.shop-filters__clear {
    display: block;
    text-align: center;
    width: 100%;
}

.shop-results__count {
    text-align: right;
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.shop-results__grid {
    grid-template-columns: repeat(6, 1fr);
}

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

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

@media (min-width: 768px) and (max-width: 1023px) {
    .shop-results__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Product Detail ---------- */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 1.5rem 5vw 3rem;
}

.product-detail__main-image-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-detail__main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.product-detail__thumbnail {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-detail__thumbnail.is-active {
    border-color: var(--color-maroon);
}

.product-detail__info h1 {
    font-family: var(--font-display);
    font-weight: normal;
    font-size: 1.75rem;
    color: #2b2b2b;
}

.product-detail__badge {
    display: inline-block;
    position: static;
    margin: 0.5rem 0;
}

.product-detail__rating {
    color: var(--color-maroon);
    margin: 0.5rem 0;
}

.product-detail__price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2b2b2b;
    margin-bottom: 0.75rem;
}

.product-detail__price-note {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    color: #999;
}

.product-detail__description {
    color: #555;
    margin-bottom: 1.5rem;
}

.product-detail__selectors {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-detail__selectors label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #444;
}

.product-detail__selectors select,
.product-detail__selectors input {
    padding: 0.5em 0.75em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-family: var(--font-body);
}

.product-detail__actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-detail__actions .btn {
    flex: 1;
    justify-content: center;
}

.product-detail__trust {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1rem;
}

.product-detail__trust small {
    color: #999;
}

.product-detail__tabs {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
}

.product-detail__tab-headers {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.product-detail__tab-headers [data-tab] {
    cursor: pointer;
}

.product-detail__tab-headers .is-active {
    color: var(--color-maroon);
    font-weight: bold;
    border-bottom: 2px solid var(--color-maroon);
    padding-bottom: 0.5rem;
}

.product-detail__tab-panel[hidden] {
    display: none;
}

.product-detail__checklist {
    list-style: none;
    margin-top: 1rem;
}

.product-detail__checklist li::before {
    content: "\2713";
    color: var(--color-maroon);
    margin-right: 0.5em;
}

.product-detail__reviews {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding-top: 1.5rem;
}

.product-detail__rating-big {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-maroon);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    margin-top: 0.4rem;
}

.rating-bar__track {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: var(--color-maroon);
}

.product-detail__review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.85rem;
}

.review-card__author span {
    font-size: 0.7rem;
    color: #999;
    font-weight: normal;
    margin-left: 0.5em;
}

.review-card__stars {
    color: var(--color-maroon);
    font-size: 0.8rem;
}

.review-card__stars span {
    color: #999;
    font-size: 0.75rem;
}

.review-card__title {
    font-weight: bold;
    margin: 0.4rem 0 0.2rem;
}

@media (max-width: 767px) {
    .product-detail {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .product-detail__tab-headers {
        gap: 1.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-detail__tab-headers [data-tab] {
        flex: 0 0 auto;
    }
}

/* ---------- Cart ---------- */

.cart-page {
    padding: 1.5rem 5vw 3rem;
}

.cart-page__title {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
}

.cart-page__empty {
    text-align: center;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.cart-page__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.cart-page__lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-line {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1rem;
}

.cart-line__image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-line__name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.cart-line__price {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cart-line__qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-line__qty input {
    width: 4rem;
    padding: 0.3em;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 6px;
}

.cart-line__update-btn {
    padding: 0.4em 0.8em;
    font-size: 0.8rem;
}

.cart-line__remove {
    background: none;
    border: none;
    color: var(--color-mauve);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-top: 0.4rem;
}

.cart-line__total {
    font-weight: bold;
    white-space: nowrap;
}

.cart-page__summary {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1.5rem;
}

.cart-page__subtotal-label {
    color: #777;
    margin-bottom: 0.25rem;
}

.cart-page__subtotal {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cart-page__checkout-btn {
    width: 100%;
    justify-content: center;
}

/* ---------- Checkout ---------- */

.checkout-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
    padding: 1.5rem 5vw 3rem;
    align-items: start;
}

.checkout-page__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-section {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1.25rem;
}

.checkout-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-maroon);
}

.checkout-section h2 .icon {
    width: 1.1rem;
    height: 1.1rem;
}

.checkout-address-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkout-address-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #555;
}

.checkout-address-form input {
    padding: 0.6em;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
}

.checkout-delivery-option {
    display: block;
    padding: 0.6rem 0;
}

.checkout-offers {
    list-style: none;
    margin-bottom: 1rem;
}

.checkout-offers li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

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

.checkout-coupon-form input {
    flex: 1;
    padding: 0.6em;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 999px;
}

.checkout-coupon-invalid {
    color: #b3261e;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.checkout-page__summary {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.checkout-summary-items {
    list-style: none;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(89, 31, 45, 0.15);
}

.checkout-summary-items li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    color: #555;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.checkout-summary-row--discount {
    color: #1c7c3f;
}

.checkout-summary-row--total {
    font-weight: bold;
    font-size: 1.1rem;
    border-top: 1px solid rgba(89, 31, 45, 0.15);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.checkout-pay-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* ---------- Order Confirmed ---------- */

.order-confirmed {
    text-align: center;
    padding: 5rem 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.order-confirmed__icon {
    width: 3rem;
    height: 3rem;
    color: var(--color-maroon);
}

.order-confirmed__payment-id {
    color: #555;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .cart-page__layout {
        grid-template-columns: 1fr;
    }

    .cart-line {
        grid-template-columns: 72px 1fr;
    }

    .cart-line__total {
        grid-column: 2;
    }

    .checkout-page {
        grid-template-columns: 1fr;
    }

    .checkout-address-form {
        grid-template-columns: 1fr;
    }
}

/* ---------- Auth (signup/login) ---------- */

.auth-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    padding: 1.5rem 5vw 3rem;
    align-items: start;
}

.auth-page--login {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
}

.auth-page__form h1 {
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.auth-page__subtitle {
    color: #777;
    margin-bottom: 1.5rem;
}

.auth-page__error {
    background: #fdecea;
    color: #b3261e;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #555;
}

.auth-form input,
.auth-form select {
    padding: 0.7em;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
}

.auth-form__hint {
    font-size: 0.75rem;
    color: #999;
    margin-top: -0.75rem;
}

.auth-form__password-wrap {
    position: relative;
    display: block;
}

.auth-form__password-wrap input {
    width: 100%;
    padding-right: 2.5em;
}

.auth-form__toggle-password {
    position: absolute;
    top: 50%;
    right: 0.6em;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #999;
    cursor: pointer;
    display: inline-flex;
}

.auth-form__submit {
    justify-content: center;
    padding: 0.8em;
}

.auth-page__toggle {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.auth-page__sidebar {
    background: var(--color-blush);
    border-radius: 8px;
    padding: 1.5rem;
}

.auth-page__sidebar-image {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.auth-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.auth-benefits strong {
    display: block;
    color: var(--color-maroon);
    margin-bottom: 0.2rem;
}

.auth-page__security-note {
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid rgba(89, 31, 45, 0.15);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* ---------- Profile ---------- */

.profile-page {
    padding: 1.5rem 5vw 3rem;
}

.profile-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-tabs__item {
    padding: 0.6em 1.2em;
    border-radius: 999px;
    background: var(--color-blush);
    color: var(--color-maroon);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.profile-tabs__item.is-active {
    background: var(--color-maroon);
    color: var(--color-white);
}

.profile-tabs__logout {
    margin-left: auto;
}

.profile-content h1 {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
}

.profile-details-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.profile-details-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #555;
}

.profile-details-form input {
    padding: 0.6em;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 6px;
}

.profile-addresses__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-addresses__add-btn {
    background: none;
    border: none;
    color: var(--color-maroon);
    font-weight: bold;
    cursor: pointer;
}

.profile-addresses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.profile-address-card {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.9rem;
}

.profile-address-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-address-card__label {
    font-weight: bold;
    color: var(--color-maroon);
}

.profile-address-card__edit {
    background: none;
    border: none;
    color: var(--color-mauve);
    cursor: pointer;
    text-decoration: underline;
}

.profile-empty-state {
    color: #777;
    margin-bottom: 1rem;
}

.profile-orders {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-order-card {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.profile-order-card__number {
    font-weight: bold;
    color: var(--color-maroon);
}

.profile-order-card__customer {
    color: #777;
    font-size: 0.85rem;
}

.profile-order-card__total {
    font-weight: bold;
}

.profile-order-card__status {
    text-transform: capitalize;
    font-size: 0.8rem;
    padding: 0.3em 0.9em;
    border-radius: 999px;
    background: rgba(89, 31, 45, 0.1);
    color: var(--color-maroon);
}

.profile-order-card__status--delivered {
    background: rgba(46, 125, 50, 0.12);
    color: #2e7d32;
}

.profile-order-card__status--shipped {
    background: rgba(21, 101, 192, 0.12);
    color: #1565c0;
}

.address-dialog,
.logout-dialog {
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 500px;
    width: 90vw;
}

.address-dialog::backdrop,
.logout-dialog::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

.address-dialog form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-dialog label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #555;
}

.address-dialog input {
    padding: 0.6em;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 6px;
}

.logout-dialog {
    background: var(--color-maroon);
    color: var(--color-white);
    text-align: center;
}

.logout-dialog__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 767px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .profile-tabs__logout {
        margin-left: 0;
    }
}

/* ---------- About Us ---------- */

.about-page {
    padding: 1.5rem 5vw 3rem;
}

.about-page__title {
    font-family: var(--font-display);
    margin-bottom: 2rem;
}

.about-story {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-story--reverse {
    grid-template-columns: 1fr 400px;
}

.about-story--reverse .about-story__image {
    order: 2;
}

.about-story__image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
}

.about-story__eyebrow {
    color: var(--color-maroon);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.about-story__text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-story__text p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-story__signature {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-maroon);
}

.about-promise {
    text-align: center;
    margin-bottom: 3rem;
}

.about-promise__eyebrow {
    color: var(--color-maroon);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

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

.about-promise__item {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1.5rem 1rem;
}

.about-promise__item .icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-maroon);
    margin-bottom: 0.75rem;
}

.about-promise__item h3 {
    margin-bottom: 0.4rem;
}

.about-promise__item p {
    color: #777;
    font-size: 0.85rem;
}

/* ---------- Contact Us ---------- */

.contact-page {
    padding: 1.5rem 5vw 3rem;
}

.contact-page h1 {
    font-family: var(--font-display);
    margin-bottom: 2rem;
}

.contact-page__layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.contact-info__eyebrow {
    color: var(--color-maroon);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info__item .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-maroon);
    flex-shrink: 0;
}

.contact-info__item h3 {
    color: var(--color-maroon);
    margin-bottom: 0.3rem;
}

.contact-info__note {
    color: #999;
    font-size: 0.85rem;
}

.contact-form-wrap {
    background: var(--color-cream-surface);
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-form-wrap h2 {
    margin-bottom: 1rem;
}

.contact-form__success {
    background: #e6f4ea;
    color: #1c7c3f;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    padding: 0.6em;
    border: 1px solid rgba(89, 31, 45, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
    resize: vertical;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    height: 360px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .about-story,
    .about-story--reverse {
        grid-template-columns: 1fr;
    }

    .about-story--reverse .about-story__image {
        order: 0;
    }

    .about-promise__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-page__layout {
        grid-template-columns: 1fr;
    }
}

/* ---------- 404 ---------- */

.not-found-page {
    text-align: center;
    padding: 6rem 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.not-found-page__code {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--color-maroon);
    line-height: 1;
    margin-bottom: 0.5rem;
}
