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

:root {
    --primary: #7FAF9B;
    --secondary: #A8BFA3;
    --background: #F5F2E9;
    --card: #FFFCF5;
    --accent: #B29B87;
    --text: #343A36;
    --muted: #7D827D;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    /* padding-top: 90px; */
}
body {
    font-family: 'DM Sans',sans-serif;
    color: var(--text);
    padding-top: 80px;

}

body:has(.landing-page) {
        padding-top: 0;
    }

.img {
    max-width: 100%;
    height: auto;
}
.navbar {
    
    padding: 0 30px;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    /* gap: 30px; */


    background-color: var(--background);
}

.logo img {
    width: 260px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 100px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding-bottom: 8px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background-color: #174D38;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;

    margin-left: auto;
}

.profile-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.account-button:hover .profile-icon {
    transform: scale(1.15);
}

.account-button:active .profile-icon {
    transform: scale(0.9);
}

.search-bar input {
    width: 230px;
    padding: 10px 15px;

    border: 1px solid #d6d3c8;
    border-radius: 8px;
    outline: none;

    box-sizing: border-box;
}

.cart {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart img:hover {
    transform: scale(1.1);
}

.menu-button {
    display: none;
     background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.menu-button img {
    width: 26px;
    height: 28px;
    object-fit: contain;
}

.mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        transform 0.35s ease;
}
.checkout-btn.disabled {
    background-color: #a5aaa7;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

/* =========================
   PROFILE PAGE
========================= */

.profile-page {
    min-height: calc(100vh - 90px);
    padding: 60px 20px;
    background-color: #faf9f5;
}

.profile-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.profile-heading {
    margin-bottom: 30px;
}

.profile-heading h1 {
    color: #343a36;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-heading p {
    color: #737773;
    font-size: 14px;
}


/* PROFILE CARD */

.profile-card {
    background-color: #f5f2e9;
    border: 1px solid #deddd7;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}


/* PROFILE INFORMATION */

.profile-field {
    padding: 20px 0;
    border-bottom: 1px solid #deddd7;
}

.profile-field:first-child {
    padding-top: 0;
}

.profile-field:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.profile-field label {
    display: block;
    margin-bottom: 7px;
    color: #737773;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-field p {
    color: #343a36;
    font-size: 16px;
    font-weight: 500;
}
.profile-actions {
    margin-top: 25px;
}

.edit-profile-btn {
    padding: 11px 22px;
    border: none;
    border-radius: 7px;
    background-color: #174d38;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.edit-profile-btn:hover {
    background-color: #123d2d;
    transform: translateY(-1px);
}

.edit-profile-btn:active {
    transform: scale(0.98);
}

.profile-edit-input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #c9c8c1;
    border-radius: 7px;
    background-color: white;
    color: #343a36;
    font-size: 15px;
    outline: none;
}

.profile-edit-input:focus {
    border-color: #174d38;
}

.edit-actions {
    display: flex;
    gap: 10px;
}

.save-profile-btn,
.cancel-profile-btn {
    padding: 11px 20px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.save-profile-btn {
    border: none;
    background-color: #174d38;
    color: white;
}

.save-profile-btn:hover {
    background-color: #123d2d;
}

.cancel-profile-btn {
    border: 1px solid #c9c8c1;
    background-color: transparent;
    color: #343a36;
}

.cancel-profile-btn:hover {
    background-color: #e9e6dd;
}

/* MOBILE */

@media (max-width: 768px) {

    .profile-page {
        padding: 40px 15px;
    }

    .profile-heading h1 {
        font-size: 27px;
    }

    .profile-card {
        padding: 25px 20px;
    }

    .profile-field {
        padding: 17px 0;
    }
}
/* =========================
   DONSTORES LANDING PAGE
========================= */

.landing-page {
    height: 100%;
    min-height: 100vh;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
    box-sizing: border-box;
    padding-top: 0px;

    background-color: #f5f2e9;
}

.landing-content {
    width: 100%;
    max-width: 650px;
    text-align: center;
}


/* Logo */

.landing-logo {
    width: 260px;
    max-width: 80%;
    height: auto;

    margin-bottom: 15px;
}


/* Small tagline */

.landing-tagline {
    color: #174d38;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;

    margin-bottom: 20px;
}


/* Main heading */

.landing-content h1 {
    color: #343a36;

    font-size: 42px;
    line-height: 1.1;
    font-weight: 650;

    margin-bottom: 18px;
}


/* Description */

.landing-description {
    max-width: 480px;
    margin: 0 auto 35px;

    color: #6b706d;

    font-size: 16px;
    line-height: 1.6;
}


/* Buttons area */

.landing-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;
}


/* Create account button */

.create-account-btn {
    display: inline-block;

    padding: 14px 35px;

    background-color: #174d38;
    color: #ffffff;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.create-account-btn:hover {
    transform: scale(1.05);
    background-color: #123d2d;
}


/* Sign in text */

.landing-buttons p {
    color: #6b706d;
    font-size: 14px;
}

.landing-buttons p a {
    position: relative;

    color: #174d38;
    font-weight: 600;
    text-decoration: none;
}


/* Same underline animation we've been using */

.landing-buttons p a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -3px;

    width: 0;
    height: 2px;

    background-color: #174d38;

    transition: width 0.3s ease;
}

.landing-buttons p a:hover::after {
    width: 100%;
}

/* =========================
   ACCOUNT MENU
========================= */

.account-menu {
    position: relative;
    margin-left: 18px;
}

.account-button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
}

.account-icon {
    font-size: 21px;
}

.account-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    width: 220px;
    padding: 14px;
    background-color: #f5f2e9;
    border: 1px solid #deddd7;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-user {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.account-user strong {
    color: #343a36;
    font-size: 14px;
}

.account-user span {
    color: #737773;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.account-divider {
    height: 1px;
    margin: 10px 0;
    background-color: #deddd7;
}

.account-dropdown a,
.logout-btn {
    width: 100%;
    display: block;
    padding: 9px 5px;
    border: none;
    background: transparent;
    color: #343a36;
    text-decoration: none;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
    box-sizing: border-box;
}

.account-dropdown a:hover,
.logout-btn:hover {
    color: #174d38;
}

.account-dropdown a {
    display: block;
    width: fit-content;
    padding: 9px 5px;
    color: #343a36;
    text-decoration: none;
    font-size: 13px;
    position: relative;
}

.account-dropdown a::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 4px;
    width: 0;
    height: 2px;
    background-color: #174d38;
    transition: width .3s ease;
}

.account-dropdown a:hover::after {
    width: calc(100% - 10px);
}

/* =========================
   LOGIN / SIGNUP
========================= */

.auth-page {
    min-height: 100vh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 20px;

    background-color: #f5f2e9;

    box-sizing: border-box;
}

body:has(.auth-page) {
    padding-top: 0;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-logo {
    display: block;
    width: fit-content;
    margin: 0 auto 25px;
}

.auth-logo img {
    display: block;
    width: 190px;
    height: auto;
}

.auth-heading {
    text-align: center;
    margin-bottom: 30px;
}

.auth-heading h1 {
    margin-bottom: 8px;

    color: #343a36;

    font-size: 32px;
    font-weight: 600;
}

.auth-heading p {
    max-width: 370px;
    margin: auto;

    color: #737773;

    font-size: 14px;
    line-height: 1.5;
}


/* FORM */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #343a36;

    font-size: 13px;
    font-weight: 500;
}

.form-group input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d6d3c8;
    border-radius: 6px;

    background-color: #ffffff;

    color: #343a36;

    font-size: 16px;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: #174d38;

    box-shadow: 0 0 0 2px rgba(23, 77, 56, 0.08);
}


/* FIRST + LAST NAME */

.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}


/* PASSWORD */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 65px;
}

.password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    padding: 4px;

    border: none;
    background: none;

    color: #174d38;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.password-hint {
    margin-top: 6px;

    color: #888;

    font-size: 11px;
}


/* LOGIN OPTIONS */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;

    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #606460;
}

.remember-me input,
.terms input {
    accent-color: #174d38;
}

.login-options a {
    position: relative;

    color: #174d38;

    text-decoration: none;
}


/* TERMS */

.terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-bottom: 22px;

    color: #606460;

    font-size: 12px;
    line-height: 1.5;

    cursor: pointer;
}

.terms input {
    margin-top: 3px;
}


/* BUTTON */

.auth-button {
    width: 100%;

    padding: 14px;

    border: none;
    border-radius: 6px;

    background-color: #174d38;
    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.auth-button:hover {
    transform: scale(1.02);

    background-color: #123d2d;
}

.auth-button:active {
    transform: scale(0.98);
}


/* BOTTOM LINK */

.auth-switch {
    margin-top: 24px;

    text-align: center;

    color: #737773;

    font-size: 13px;
}

.auth-switch a,
.login-options a {
    color: #174d38;
    font-weight: 600;
    text-decoration: none;
}


/* ERROR / SUCCESS MESSAGE */

.form-message {
    display: none;

    margin-bottom: 15px;

    font-size: 13px;
    text-align: center;
}

.form-message.error {
    display: block;
    color: #a83232;
}

.form-message.success {
    display: block;
    color: #174d38;
}

/* =========================
   SHOP PAGE
========================= */

.shop-page {
    width: 100%;
    background-color: #faf9f5;
    min-height: 100vh;
}


/* SHOP HEADING */

.shop-header {
    padding: 65px 6% 45px;
    text-align: center;
}

.shop-header > p {
    margin-bottom: 10px;

    color: #174d38;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

.shop-header h1 {
    margin-bottom: 12px;

    color: #343a36;

    font-size: 42px;
    font-weight: 600;
}

.shop-header span {
    color: #737773;

    font-size: 14px;
}


/* CONTENT */

.shop-content {
    width: 100%;
    max-width: 1150px;

    margin: auto;

    padding: 0 40px 80px;

    box-sizing: border-box;
}


/* FILTER BUTTONS */

.product-filters {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin-bottom: 35px;
}

.filter-btn {
    padding: 9px 22px;

    border: 1px solid #174d38;
    border-radius: 30px;

    background: transparent;
    color: #174d38;

    font-size: 13px;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #174d38;
    color: white;
}


/* PRODUCT GRID */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 28px;
    width: 100%;
}


/* PRODUCT */

.product-card {
    min-width: 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 8px;

    overflow: hidden;

    background-color: #eeeeea;
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

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


/* NEW / THRIFT LABEL */

.product-tag {
    position: absolute;

    top: 12px;
    left: 12px;

    padding: 6px 10px;

    background-color: #f5f2e9;
    color: #343a36;

    font-size: 10px;
    font-weight: 600;

    border-radius: 3px;
}


/* PRODUCT INFORMATION */

.product-info {
    padding-top: 12px;
}

.product-info h3 {
    margin-bottom: 6px;

    color: #343a36;

    font-size: 14px;
    font-weight: 500;


    line-height: 1.4;

    /* Reserve space for two lines */
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.product-price {
    color: #174d38;

    font-size: 14px;
    font-weight: 600;
}

/* PRODUCT DETAILS PAGE */

.product-page {
    width: 100%;
    min-height: 100vh;
    background-color: #faf9f5;
    padding: 60px 30px;
}

.product-details {
    width: 100%;
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: start;
}


/* PRODUCT IMAGE */

.product-detail-image {
    width: 100%;
    max-width: 430px;
    overflow: hidden;
    border-radius: 8px;
    justify-self: center;
}

.product-detail-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}


/* PRODUCT INFORMATION */

.product-detail-info {
    padding-top: 10px;
}

.product-type {
    color: #174d38;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;

    margin-bottom: 12px;
}

.product-detail-info h1 {
    color: #343a36;
    font-size: 36px;
    font-weight: 500;

    margin-bottom: 12px;
}

.product-detail-price {
    color: #174d38;
    font-size: 22px;
    font-weight: 600;

    margin-bottom: 15px;
}

.product-condition {
    color: #737773;
    font-size: 13px;

    margin-bottom: 30px;
}


/* COLOUR + SIZE */

.product-option {
    margin-bottom: 25px;
}

.product-option h3 {
    color: #343a36;
    font-size: 13px;
    font-weight: 600;

    margin-bottom: 10px;
}

.option-buttons {
    display: flex;
    gap: 10px;
}

.option-buttons button {
    min-width: 50px;

    padding: 10px 15px;

    background: transparent;

    border: 1px solid #c8c8c2;
    border-radius: 5px;

    color: #343a36;

    cursor: pointer;

    transition: 0.2s ease;
}

.option-buttons button:hover {
    border-color: #174d38;
}


/* STOCK */

.stock-info {
    color: #737773;
    font-size: 12px;

    margin-bottom: 15px;
}


/* ADD TO CART */

.add-cart-btn {
    width: 100%;

    padding: 15px;

    border: none;
    border-radius: 6px;

    background-color: #174d38;
    color: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.add-cart-btn:hover {
    background-color: #123d2d;
}



/* DESCRIPTION */

.product-description {
    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid #deddd7;
}

.product-description h3 {
    color: #343a36;
    font-size: 14px;

    margin-bottom: 10px;
}

.product-description p {
    color: #737773;
    font-size: 13px;
    line-height: 1.7;
}

.product-card {
    min-width: 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.option-buttons button.selected {
    background-color: #174d38;
    color: white;
    border-color: #174d38;
}

.add-cart-btn:disabled {
    background-color: #8a9b92;
    cursor: not-allowed;
    opacity: 0.8;
}
/* CART PAGE */

.cart-page {
    min-height: 100vh;
    padding: 60px 30px 100px;
    background-color: #faf9f5;
}

.cart-container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.cart-container > h1 {
    margin-bottom: 40px;
    color: #343a36;
    font-size: 40px;
    font-weight: 600;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
}


/* CART PRODUCT */

.cart-item {
    display: flex;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid #deddd7;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.cart-item.removing {
    opacity: 0;
    transform: translateX(-20px);
}


.cart-item-image {
    width: 130px;
    height: 160px;
    object-fit: cover;
    border-radius: 7px;
}

.cart-item-info h3 {
    margin-bottom: 8px;
    color: #343a36;
    font-size: 16px;
    font-weight: 500;
}

.cart-item-info > p {
    margin-bottom: 8px;
    color: #737773;
    font-size: 13px;
}

.cart-item-price {
    color: #174d38 !important;
    font-weight: 600;
}

.remove-item {
    margin-top: 10px;
    padding: 0;
    border: none;
    background: none;
    color: #737773;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: -10px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #174d38;
    color: white;

    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;

    display: none;
}

.clear-cart-btn {
    margin-top: 20px;
    padding: 11px 20px;
    border: 1px solid #174d38;
    border-radius: 7px;
    background-color: transparent;
    color: #174d38;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.clear-cart-btn:hover {
    background-color: #174d38;
    color: white;
    transform: translateY(-1px);
}

.clear-cart-btn:active {
    transform: scale(0.98);
}

/* SUMMARY */

.cart-summary {
    height: fit-content;
    padding: 28px;
    background-color: #f5f2e9;
    border-radius: 8px;
}

.cart-summary h2 {
    margin-bottom: 25px;
    color: #343a36;
    font-size: 20px;
    font-weight: 500;
}

.summary-row,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.summary-row {
    margin-bottom: 18px;
    color: #737773;
    font-size: 13px;
}

.summary-total {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #d6d3c8;
    color: #343a36;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background-color: #174d38;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
}


/* EMPTY CART */

.empty-cart {
    padding: 50px 0;
}

.empty-cart h2 {
    margin-bottom: 8px;
    color: #343a36;
}

.empty-cart p {
    margin-bottom: 20px;
    color: #737773;
}

.empty-cart a {
    color: #174d38;
    font-weight: 600;
    text-decoration: none;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    border: 1px solid #d6d3c8;
    border-radius: 5px;
    background-color: transparent;
    color: #343a36;
    cursor: pointer;
    font-size: 16px;
}

.quantity-control button:hover {
    border-color: #174d38;
}

.quantity-control span {
    min-width: 20px;
    text-align: center;
    color: #343a36;
    font-size: 14px;
}

.stock-message {
    margin-top: 8px;
    color: #737773;
    font-size: 11px;
}

/* =========================
   CHECKOUT
========================= */

.checkout-page {
    min-height: 100vh;
    padding: 60px 30px 100px;
    background-color: #faf9f5;
}

.checkout-container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.checkout-container > h1 {
    margin-bottom: 40px;
    color: #343a36;
    font-size: 40px;
    font-weight: 600;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
}


/* DELIVERY DETAILS */

.checkout-details h2,
.checkout-summary h2 {
    margin-bottom: 25px;
    color: #343a36;
    font-size: 20px;
    font-weight: 600;
}

.checkout-field {
    width: 100%;
    margin-bottom: 20px;
}

.checkout-field label {
    display: block;
    margin-bottom: 8px;
    color: #343a36;
    font-size: 13px;
    font-weight: 500;
}

.checkout-field input {
    width: 100%;
    padding: 13px 14px;

    border: 1px solid #d6d3c8;
    border-radius: 6px;

    background-color: white;
    color: #343a36;

    font-size: 14px;
    outline: none;

    transition: border-color 0.2s ease;
}

.checkout-field input:focus {
    border-color: #174d38;
}

.checkout-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/* ORDER SUMMARY */

.checkout-summary {
    height: fit-content;
    padding: 28px;

    background-color: #f5f2e9;
    border-radius: 8px;
}

.checkout-order-item {
    display: flex;
    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #deddd7;
}

.checkout-order-item img {
    width: 65px;
    height: 80px;

    object-fit: cover;
    border-radius: 5px;
}

.checkout-order-info {
    flex: 1;
}

.checkout-order-info h3 {
    margin-bottom: 5px;

    color: #343a36;

    font-size: 13px;
    font-weight: 500;
}

.checkout-order-info p {
    margin-bottom: 4px;

    color: #737773;
    font-size: 11px;
}

.checkout-order-price {
    color: #174d38 !important;
    font-weight: 600;
}


.checkout-summary-row,
.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.checkout-summary-row {
    margin-top: 20px;

    color: #737773;
    font-size: 13px;
}

.checkout-total {
    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid #d6d3c8;

    color: #343a36;
    font-weight: 600;
}


/* DELIVERY AREA DROPDOWN */

.checkout-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #deddd7;
    border-radius: 8px;
    background-color: #f5f2e9;
    color: #343a36;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkout-field select:focus {
    border-color: #7faf9b;
    box-shadow: 0 0 0 3px rgba(127, 175, 155, 0.18);
}

.checkout-field select:invalid {
    color: #737773;
}

.checkout-field select option {
    background-color: #f5f2e9;
    color: #343a36;
}

.checkout-field select optgroup {
    font-weight: bold;
    color: #343a36;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 760px) {
    .checkout-field-row {
        flex-direction: column;
        gap: 15px;
    }

    .checkout-field-row .checkout-field {
        width: 100%;
        min-width: 0;
    }

    .checkout-field select {
        font-size: 16px;
        padding: 14px;
    }
}


.pay-btn {
    width: 100%;

    margin-top: 25px;
    padding: 15px;

    border: none;
    border-radius: 6px;

    background-color: #174d38;
    color: white;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.pay-btn:hover {
    background-color: #123d2d;
}
.pay-btn:disabled {
    background-color: #8a9b92;
    cursor: default;
    opacity: 0.7;
}

.shop-content {
    width: 100%;
    max-width: 1150px;
    margin: auto;
    padding: 0 40px 80px;
    box-sizing: border-box;
}

.logout-btn {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background-color: #174d38;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.logout-btn:hover {
    background-color: #123d2d;
    transform: translateY(-1px);
}

.logout-btn:active {
    transform: scale(.98);
}

/* =========================
   MY ORDERS PAGE
========================= */

.orders-page {
    min-height: 100vh;
    padding: 60px 30px 100px;
    background-color: #faf9f5;
}

.orders-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.orders-heading {
    margin-bottom: 35px;
}

.orders-heading h1 {
    margin-bottom: 8px;
    color: #343a36;
    font-size: 40px;
    font-weight: 600;
}

.orders-heading p {
    color: #737773;
    font-size: 14px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.orders-loading {
    padding: 40px;
    background-color: #f5f2e9;
    border: 1px solid #deddd7;
    border-radius: 8px;
    text-align: center;
}

.orders-loading p {
    color: #737773;
    font-size: 14px;
}

/* ==========================
   MY ORDERS - ORDER CARDS
========================== */

.order-card {
    background-color: #f5f2e9;
    border: 1px solid #deddd7;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 8px 24px rgba(52, 58, 54, 0.08);
    transform: translateY(-2px);
}

/* ORDER HEADER */

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 22px 25px;
    border-bottom: 1px solid #deddd7;
}

.order-label {
    display: block;
    color: #737773;
    font-size: 12px;
    margin-bottom: 5px;
}

.order-card-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #343a36;
}

/* ORDER STATUS */

.order-status {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
}

.order-status.pending {
    background-color: #fff1d6;
    color: #946200;
}

.order-status.paid,
.order-status.delivered,
.order-status.completed {
    background-color: #dceee4;
    color: #276749;
}

.order-status.cancelled,
.order-status.failed {
    background-color: #fce3e3;
    color: #a33a3a;
}

.order-status.processing,
.order-status.shipped {
    background-color: #e0ecf8;
    color: #315d89;
}

/* ORDER PRODUCTS */

.order-items {
    padding: 5px 25px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #deddd7;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-info {
    min-width: 0;
}

.order-item-info h4 {
    color: #343a36;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 7px;
}

.order-item-info p {
    color: #737773;
    font-size: 13px;
    margin-top: 4px;
}

.order-item strong {
    color: #343a36;
    font-size: 15px;
    white-space: nowrap;
}

/* ORDER FOOTER */

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-top: 1px solid #deddd7;
    background-color: #eeeee6;
}

.order-card-footer span {
    display: block;
    color: #737773;
    font-size: 12px;
    margin-bottom: 6px;
}

.order-card-footer p {
    font-size: 14px;
    font-weight: 500;
    color: #343a36;
}

.order-total {
    text-align: right;
}

.order-total p {
    font-size: 21px;
    font-weight: 700;
    color: #343a36;
}

/* MOBILE */

@media (max-width: 760px) {
    .order-card-header {
        padding: 18px 16px;
    }

    .order-card-header h3 {
        font-size: 18px;
    }

    .order-items {
        padding: 5px 16px;
    }

    .order-item {
        align-items: flex-start;
        gap: 12px;
    }

    .order-item-info h4 {
        font-size: 14px;
    }

    .order-item strong {
        font-size: 13px;
    }

    .order-card-footer {
        padding: 18px 16px;
    }

    .order-total p {
        font-size: 18px;
    }
}


/* CHECKOUT MOBILE */

@media (max-width: 760px) {

    .checkout-page {
        padding: 35px 18px 70px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .checkout-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-summary {
        padding: 22px;
    }

}

@media (max-width: 760px) {

    .orders-page {
        padding: 35px 18px 70px;
    }

    .orders-heading h1 {
        font-size: 32px;
    }

    .orders-loading {
        padding: 30px 20px;
    }
}

/* MOBILE */

@media (max-width: 760px) {

    .cart-page {
        padding: 35px 18px 70px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cart-item-image {
        width: 100px;
        height: 130px;
    }

    .cart-summary {
        padding: 22px;
    }
}
/* MOBILE */

@media (max-width: 760px) {

    .product-page {
        padding: 25px 18px 60px;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-info {
        padding-top: 0;
    }

    .product-detail-info h1 {
        font-size: 28px;
    }
}

/* MOBILE */

@media (max-width: 760px) {

    .auth-page {
        padding: 30px 20px;
        align-items: flex-start;
    }

    .auth-logo img {
        width: 160px;
    }

    .auth-heading h1 {
        font-size: 28px;
    }

    .name-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .login-options {
        font-size: 12px;
    }
}


@media (max-width: 760px) {

    body {
    padding-top: 100px;
}

  .navbar {
    width: 100%;
    height: auto;
    padding: 10px 15px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    box-sizing: border-box;
}

/* Hide desktop links */
.nav-links {
    display: none;
}

/* Logo */
.logo img {
    width: 120px;
    height: auto;
}

/* Cart stays on top */
.cart {
    margin-left: auto;
    flex-shrink: 0;
}

.cart img {
    width: 25px;
    height: 25px;
}

/* Hamburger stays beside cart */
.menu-button {
    display: block;
    flex-shrink: 0;
}

.menu-button img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.menu-button:hover img {
    transform: scale(1.15);
}

/* Search gets its OWN ROW */
.search-bar {
    order: 10;
    flex-basis: 100%;
    width: 100%;
    margin: 0;
}

.search-bar input {
    width: 100%;
    min-width: 0;
    font-size: 16px;
    box-sizing: border-box;
}
}  

@media (max-width: 768px) {

    .mobile-menu {
        width: 100%;
        background-color: #f5f2e9;
        padding: 4px 15px;
        box-sizing: border-box;
        position: fixed;
        top: 110px; /* directly below your mobile navbar */
        left: 0;
        z-index: 999;
    }

    .mobile-menu a {
        display: block;
        padding: 10px 5px;
        font-size: 14px;

        color: #343a36;
        text-decoration: none;
        position: relative;

        border-bottom: 1px solid #d6d3c8;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu.show {
    max-height: calc(100dvh - 120px);
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
    }

    .mobile-menu a::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 4px;

    width: 0;
    height: 2px;
    background-color: #174d38;

    transition: width 0.3s ease;
}

.mobile-menu a:hover::after {
    width: 40px;
}


@media (max-width: 760px) {

    .landing-page {
        padding: 30px 20px;
    }

    .landing-logo {
        width: 200px;
    }

    .landing-tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .landing-content h1 {
        font-size: 36px;
    }

    .landing-description {
        font-size: 14px;
        max-width: 330px;
    }

    .create-account-btn {
        width: 100%;
        max-width: 300px;

        padding: 14px 20px;

        text-align: center;
    }
}

/* TABLET / SMALL LAPTOP */
@media (max-width: 700px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 20px;
    }
}


/* MOBILE */
@media (max-width: 600px) {

    .shop-header {
        padding: 45px 20px 30px;
    }

    .shop-header h1 {
        font-size: 36px;
    }

    .shop-content {
        padding: 0 15px 60px;
    }

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

    .product-filters {
        margin-bottom: 25px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 12px;
    }

    .product-info h3 {
        font-size: 13px;
    }
}


/* Cart, Checkout and Orders: shorter navbar */
@media (max-width: 760px) {
    body:has(.cart-page),
    body:has(.checkout-page){
        padding-top: 58px;
    }
}

/* Align mobile dropdown with the shorter navbar */
@media (max-width: 760px) {
    body:has(.cart-page) .mobile-menu,
    body:has(.contact-page) .mobile-menu,
    body:has(.about-page) .mobile-menu,
    body:has(.checkout-page) .mobile-menu{
        top: 58px;
    }
}

/* =====================================
   CONTACT US and ABOUT US — NAVBAR SPACING FIX
===================================== */
body:has(.about-page) {

    padding-top: 58px;
}
body:has(.contact-page) {
    padding-top: 58px;
}

.contact-page {
    margin-top: 0;
    padding-top: 0;
}

.contact-hero {
    margin-top: 0;
}

@media (max-width: 760px) {
    .contact-page {
        margin-top: 0;
        padding-top: 0;
    }
}

/* DONSTORES MOBILE NAVBAR ALIGNMENT */

@media (max-width: 760px) {

    .navbar {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
    }

    .navbar .logo {
        margin-right: auto;
        flex-shrink: 0;
    }

    .navbar .logo img {
        width: 135px;
        height: auto;
    }

    .navbar .cart {
        margin-left: 0;
        flex-shrink: 0;
    }

    .navbar .account-menu {
        margin-left: 0;
        flex-shrink: 0;
    }

    .navbar .menu-button {
        margin-left: 0;
        flex-shrink: 0;
    }

    .navbar .search-bar {
        order: 10;
        flex-basis: 100%;
        width: 100%;
        margin: 0;
    }

    .navbar .search-bar input {
        width: 100%;
    }

}

/* NAVIGATION TEXT REFINEMENT */

.nav-links a {
    font-size: 13px;
    font-weight: 500;
}

/* ROUNDED NAVBAR SEARCH BAR */

.navbar .search-bar {
    background: #fffaf5;
    border-radius: 50px;
    padding: 6px 14px;
}

.navbar .search-bar input {
    background: transparent;
    border: none;
    outline: none;
    border-radius: 50px;
    font-size: 14px;
    width: 100%;
}

.navbar .search-bar input::placeholder {
    color: #777;
}

/* SPACE BETWEEN SEARCH BAR AND CART */

@media (min-width: 761px) {
    .navbar .search-bar {
        margin-right: 25px;
    }
}


/* =====================================
   DONSTORES LIVE SEARCH DROPDOWN
===================================== */

.navbar .search-bar {
    position: relative;
    min-width: 0;
}

.search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 260px;
    max-height: 350px;
    overflow-y: auto;

    background: #fffaf5;
    border: 1px solid #e4ded2;
    border-radius: 14px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 2000;
}

.search-suggestions.show {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 16px;
    color: #343a36;
    text-decoration: none;
    font-size: 13px;

    border-bottom: 1px solid #eee9df;
    transition: background 0.2s ease;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus-visible {
    background: #e9f0e9;
    color: #174d38;
}

.search-suggestion-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion-empty {
    padding: 16px;
    font-size: 13px;
    color: #737773;
    text-align: center;
}

/* MOBILE */

@media (max-width: 760px) {
    .navbar .search-bar {
        width: 100%;
    }

    .search-suggestions {
        min-width: 0;
        width: 100%;
        max-height: 300px;
        border-radius: 12px;
    }
}


/* =========================================
   DONSTORES — ABOUT US PAGE
========================================= */

.about-page {
    background: #f5f2e9;
    color: #343a36;
    overflow: hidden;
}

/* HERO */

.about-hero {
    min-height: 560px;
    padding: 110px 8% 100px;
    background: #e9eee7;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.about-eyebrow {
    display: block;
    margin-bottom: 28px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #174d38;
}

.about-hero h1 {
    font-size: clamp(48px, 7.5vw, 112px);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 0.98;
    margin-bottom: 32px;
}

.about-hero h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #174d38;
}

.about-hero > p {
    max-width: 470px;
    font-size: 17px;
    line-height: 1.8;
    color: #606c63;
    margin-bottom: 35px;
}

.about-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 17px 25px;
    background: #174d38;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    transition: transform .25s ease, background .25s ease;
}

.about-shop-btn:hover {
    background: #103b2c;
    transform: translateY(-3px);
}

/* STORY & PHILOSOPHY */

.about-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 115px 8%;
    border-bottom: 1px solid #dddcd4;
}

.about-section-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #174d38;
    padding-top: 12px;
}

.about-section-content {
    max-width: 750px;
}

.about-section-content h2 {
    font-size: clamp(43px, 5vw, 75px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.1;
    margin-bottom: 35px;
}

.about-dot {
    color: #7faf9b;
}

.about-text p {
    font-size: 17px;
    line-height: 1.95;
    color: #606c63;
    margin-bottom: 22px;
}

.about-philosophy {
    background: #e9eee7;
}

/* COLLECTIONS */

.about-collections {
    padding: 110px 8%;
    background: #f5f2e9;
}

.about-collections-heading {
    margin-bottom: 45px;
}

.about-collections-heading > span {
    display: block;
    margin-bottom: 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #174d38;
}

.about-collections-heading h2 {
    font-size: clamp(40px, 5.5vw, 76px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.08;
}

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

.about-collection-card {
    min-height: 360px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    background: #174d38;
    color: #ffffff;
    border-radius: 9px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.about-collection-card.thrift {
    background: #c9ced2;
    color: #222a26;
}

.about-collection-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .12);
}

.about-collection-index {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: .7;
}

.about-collection-card h3 {
    font-size: clamp(35px, 4vw, 60px);
    font-weight: 600;
    letter-spacing: -0.05em;
    margin-bottom: 12px;
}

.about-collection-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: .85;
    margin-bottom: 30px;
}

.about-collection-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
}

/* FINAL CTA */

.about-final {
    background: #103b2c;
    color: white;
    padding: 110px 8%;
    text-align: center;
}

.about-final > span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #a8bfa3;
    margin-bottom: 28px;
}

.about-final h2 {
    font-size: clamp(48px, 6vw, 90px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.06em;
    margin-bottom: 35px;
}

.about-final-btn {
    display: inline-block;
    padding: 16px 28px;
    border: 1px solid rgba(255,255,255,.7);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    transition: background .25s ease, color .25s ease;
}

.about-final-btn:hover {
    background: white;
    color: #103b2c;
}

/* ABOUT MOBILE */

@media (max-width: 760px) {
    .about-hero {
        min-height: 480px;
        padding: 80px 6% 75px;
    }

    .about-hero h1 {
        font-size: clamp(45px, 10vw, 70px);
    }

    .about-hero > p {
        font-size: 15px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 75px 6%;
    }

    .about-section-content h2 {
        font-size: 48px;
        margin-bottom: 25px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-collections {
        padding: 75px 6%;
    }

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

    .about-collection-card {
        min-height: 300px;
        padding: 28px;
    }

    .about-final {
        padding: 85px 6%;
    }
}


/* =========================================
   DONSTORES — CONTACT US PAGE
========================================= */

.contact-page {
    background: #f5f2e9;
    color: #343a36;
    overflow: hidden;
}

/* HERO */

.contact-hero {
    padding: 105px 8% 95px;
    background: #e9eee7;
    text-align: center;
}

.contact-eyebrow {
    display: block;
    color: #174d38;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.contact-hero h1 {
    font-size: clamp(55px, 8vw, 110px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.065em;
    margin-bottom: 25px;
}

.contact-hero h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #174d38;
}

.contact-hero p {
    max-width: 540px;
    margin: 0 auto;
    color: #606c63;
    font-size: 16px;
    line-height: 1.8;
}

/* CONTENT LAYOUT */

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 85px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 110px 8%;
}

.contact-section-label {
    display: block;
    color: #174d38;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 25px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.055em;
    margin-bottom: 25px;
}

.contact-description {
    max-width: 380px;
    color: #606c63;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 45px;
}

/* CONTACT METHODS */

.contact-method {
    padding: 20px 0;
    border-top: 1px solid #deddd7;
}

.contact-method-label {
    display: block;
    color: #174d38;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 9px;
}

.contact-method p {
    color: #343a36;
    font-size: 16px;
    overflow-wrap: anywhere;
}

/* FORM */

.contact-form-container {
    background: #fffcf5;
    padding: 45px;
    border-radius: 12px;
    border: 1px solid #e6e3da;
    box-shadow: 0 10px 35px rgba(0,0,0,.035);
}

.contact-form-container h2 {
    font-size: clamp(34px, 3.5vw, 48px);
    margin-bottom: 35px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-field {
    min-width: 0;
}

.contact-field label {
    display: block;
    color: #343a36;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 14px 15px;
    background: #ffffff;
    border: 1px solid #d6d3c8;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #343a36;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #174d38;
    box-shadow: 0 0 0 3px rgba(23,77,56,.09);
}

.contact-submit-btn {
    align-self: flex-start;
    background: #174d38;
    color: white;
    padding: 17px 30px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.contact-submit-btn:hover {
    background: #103b2c;
    transform: translateY(-2px);
}

.contact-form-status {
    font-size: 13px;
    color: #606c63;
}

/* BOTTOM SECTION */

.contact-bottom {
    padding: 100px 8%;
    background: #103b2c;
    color: white;
    text-align: center;
}

.contact-bottom > span {
    display: block;
    color: #a8bfa3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.contact-bottom h2 {
    font-size: clamp(45px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.1;
}

/* CONTACT MOBILE */

@media (max-width: 760px) {
    .contact-hero {
        padding: 80px 6% 70px;
    }

    .contact-hero h1 {
        font-size: clamp(50px, 11vw, 75px);
    }

    .contact-hero p {
        font-size: 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 55px;
        padding: 75px 6%;
    }

    .contact-form-container {
        padding: 30px 22px;
    }

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

    .contact-submit-btn {
        width: 100%;
    }

    .contact-bottom {
        padding: 80px 6%;
    }
}


/* =========================================
   DONSTORES — DESKTOP NAVBAR CORRECTION
========================================= */

@media (min-width: 769px) {

    .navbar {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .navbar .nav-links {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-left: auto;
        margin-right: auto;
        flex-shrink: 0;
    }

    .navbar .nav-links a {
        white-space: nowrap;
    }

    .navbar .cart {
        margin-left: 0;
        flex-shrink: 0;
    }

    .navbar .account-menu {
        margin-left: 25px;
        flex-shrink: 0;
    }

    .navbar .logo {
        flex-shrink: 0;
    }
}


/* CHECKOUT PRODUCT LINKS */

.checkout-product-link {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
}

.checkout-product-link img {
    display: block;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.checkout-product-link:hover img {
    transform: scale(1.05);
}

.checkout-product-name {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.checkout-product-name:hover {
    color: #174d38;
    text-decoration: underline;
}

.checkout-product-link:focus-visible,
.checkout-product-name:focus-visible {
    outline: 2px solid #174d38;
    outline-offset: 3px;
}


/* CART — CLICKABLE PRODUCT IMAGE AND NAME */

.cart-product-link {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    align-self: flex-start;
    overflow: hidden;
    border-radius: 7px;
}

.cart-product-link .cart-item-image {
    display: block;
    transition: transform 0.25s ease;
}

.cart-product-link:hover .cart-item-image {
    transform: scale(1.05);
}

.cart-product-name {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-product-name:hover {
    color: #174d38;
    text-decoration: underline;
}

.cart-product-link:focus-visible,
.cart-product-name:focus-visible {
    outline: 2px solid #174d38;
    outline-offset: 3px;
}



/* DONSTORES COLLABORATIONS PAGE */
/* Scoped styles — no navbar or footer overrides */

.collabs-page {
    background: #f5f2e9;
    min-height: 65vh;
    color: #0c2e22;
}

.collabs-intro {
    padding: clamp(55px, 8vw, 105px) 6% 65px;
    min-height: 440px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #ffffff;

    background:
        /* linear-gradient(
            rgba(0, 0, 0, 0.48),
            rgba(0, 0, 0, 0.48)
        ), */
        url("../images/Donstores\ Brand\ Collaborations\ Banner.png")
        center center / cover no-repeat;
}
.collabs-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #a6c9ae;
}

.collabs-intro h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.12;
    margin: 16px auto 20px;
    max-width: 1000px;
    overflow-wrap: anywhere;
}

.collabs-intro h1 em {
    color: #9fc9aa;
}

.collabs-subtitle {
    max-width: 560px;
    margin: 0 auto;
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: 1.8;
    color: #e1e8df;
}

.collabs-content {
    max-width: 1330px;
    margin: 0 auto;
    padding: 65px 5.5% 95px;
}

.collabs-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.collabs-heading .collabs-eyebrow {
    color: #438766;
    margin-bottom: 10px;
}

.collabs-heading h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(29px, 4vw, 46px);
    line-height: 1.2;
}

.collabs-count {
    font-size: 12px;
    color: #68766e;
    white-space: nowrap;
}

.collabs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.collabs-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #fffdf8;
    color: #102e22;
    text-decoration: none;
    border: 1px solid #e6e3da;
    transition: transform .25s, box-shadow .25s;
}

a.collabs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px #00000012;
}

.collabs-card-image {
    aspect-ratio: 4 / 3;
    background: #d9e0d8;
    overflow: hidden;
    position: relative;
}

.collabs-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s;
}

a.collabs-card:hover .collabs-card-image img {
    transform: scale(1.04);
}

.collabs-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 12px;
    background: #f5f2e9;
    color: #174d38;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

.collabs-card-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.collabs-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f2e9;
    padding: 5px;
}

.collabs-card-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    overflow-wrap: anywhere;
}

.collabs-card-info p {
    font-size: 13px;
    line-height: 1.65;
    color: #657169;
}

.collabs-card-action {
    margin-top: auto;
    padding-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #174d38;
}

.collabs-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 75px 20px;
    background: #fffdf8;
    border-radius: 12px;
    color: #596a60;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 900px) {
    .collabs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .collabs-intro {
        padding: 55px 6% 50px;
    }

    .collabs-content {
        padding: 40px 5% 65px;
    }

    .collabs-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .collabs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .collabs-card-info {
        padding: 18px;
    }

    .collabs-card-info h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .collabs-card,
    .collabs-card-image img {
        transition: none;
    }
}


/* ==========================================
   DONSTORES ADMIN DASHBOARD
========================================== */
body.don-admin {
  margin: 0;
  padding: 0;
  background: #f5f2e9;
  color: #123b2b;
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}
.don-admin *, .don-admin *::before, .don-admin *::after { box-sizing: border-box; }
.don-admin button, .don-admin input, .don-admin select, .don-admin textarea { font: inherit; }
.don-admin button { cursor: pointer; }
.don-admin .admin-shell { min-height: 100vh; display: flex; }
.don-admin .admin-sidebar {
  width: 245px;
  flex: 0 0 245px;
  background: #103c2b;
  color: #f5f2e9;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 120;
}
.don-admin .admin-brand {
  padding: 27px 22px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #d5e1d7;
  text-decoration: none;
  border-bottom: 1px solid #ffffff20;
}
.don-admin .admin-brand img { width: 155px; max-width: 100%; height: auto; }
.don-admin .admin-brand span { font-size: 10px; letter-spacing: 3px; }
.don-admin .admin-nav { padding: 25px 12px; display: grid; gap: 6px; }
.don-admin .admin-nav-link,
.don-admin .admin-sidebar-bottom a,
.don-admin .admin-sidebar-bottom button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 14px 15px;
  background: transparent;
  color: #e0e9df;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
}
.don-admin .admin-nav-link i { width: 18px; text-align: center; }
.don-admin .admin-nav-link:hover,
.don-admin .admin-nav-link.active { background: #2e6449; color: #fff; }
.don-admin .admin-sidebar-bottom { margin-top: auto; padding: 15px 12px 25px; border-top: 1px solid #ffffff20; }
.don-admin .admin-sidebar-bottom a:hover,
.don-admin .admin-sidebar-bottom button:hover { background: #2e6449; }
.don-admin .admin-main { flex: 1; min-width: 0; }
.don-admin .admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 35px;
  background: #fffdf8;
  border-bottom: 1px solid #e6e6de;
}
.don-admin .admin-topbar-title span,
.don-admin .admin-eyebrow { color: #71877a; letter-spacing: 2px; font-size: 10px; font-weight: 700; }
.don-admin .admin-topbar-title h1 { margin: 4px 0 0; font-size: 21px; }
.don-admin .admin-user { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.don-admin .admin-user i { font-size: 25px; }
.don-admin .admin-menu-toggle { display: none; background: transparent; border: 0; color: #103c2b; font-size: 23px; }
.don-admin .admin-content { padding: 35px; max-width: 1600px; margin: 0 auto; }
.don-admin .admin-section { display: none; }
.don-admin .admin-section.active { display: block; }
.don-admin .admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}
.don-admin .admin-heading h2 { font-size: clamp(25px, 3vw, 35px); margin: 6px 0; }
.don-admin .admin-heading p:not(.admin-eyebrow) { color: #77877d; margin: 5px 0; }
.don-admin .admin-stat,
.don-admin .admin-panel {
    background: #fffdf8;
    border: 1px solid #e7e9e0;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(16, 60, 43, 0.04);
}
.don-admin .admin-stat { padding: 23px; display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.don-admin .admin-stat span { color: #60776a; font-size: 13px; }
.don-admin .admin-stat strong { font-size: clamp(23px, 2.5vw, 32px); overflow-wrap: anywhere; }
.don-admin .admin-stat small { color: #839288; }
.don-admin .admin-panel { padding: 23px; margin-bottom: 23px; }
.don-admin .admin-panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.don-admin .admin-panel h3 { margin: 0 0 12px; font-size: 18px; }
.don-admin .admin-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.don-admin .admin-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 570px; }
.don-admin .admin-table th { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #74897c; padding: 15px 12px; background: #f5f7f2; }
.don-admin .admin-table td { padding: 16px 12px; font-size: 13px; border-bottom: 1px solid #eef0e9; vertical-align: middle; }
.don-admin .admin-table tr:last-child td { border-bottom: 0; }
.don-admin .admin-button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 12px 17px; border: 1px solid #103c2b; background: #103c2b; color: white; border-radius: 9px; font-size: 13px; }
.don-admin .admin-button.secondary { background: transparent; color: #103c2b; }
.don-admin .admin-text-button { border: 0; background: none; color: #246c46; font-weight: 700; font-size: 13px; }
.don-admin .admin-search { padding: 11px 13px; border: 1px solid #d8ded4; border-radius: 9px; max-width: 100%; }
.don-admin .admin-pill { display: inline-block; padding: 6px 10px; border-radius: 20px; background: #e9eee7; color: #365c43; font-size: 11px; font-weight: 700; white-space: nowrap; }
.don-admin .admin-pill.pending, .don-admin .admin-pill.coming_soon { background: #fff0d7; color: #875b13; }
.don-admin .admin-pill.active, .don-admin .admin-pill.paid { background: #e0f3e5; color: #17643c; }
.don-admin .admin-pill.ended, .don-admin .admin-pill.cancelled { background: #f9e3e0; color: #8a3b31; }
.don-admin .admin-actions { display: flex; gap: 9px; }
.don-admin .admin-actions button { border: 0; background: #e9efe7; padding: 8px 11px; border-radius: 7px; color: #17432c; }
.don-admin .admin-actions button.danger { color: #a22b2b; background: #fbe9e7; }
.don-admin .admin-form { display: grid; gap: 18px; }
.don-admin .admin-form[hidden] { display: none; }
.don-admin .admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.don-admin .admin-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.don-admin .admin-form input:not([type="checkbox"]),
.don-admin .admin-form select,
.don-admin .admin-form textarea { width: 100%; padding: 12px; border: 1px solid #d5dfd4; border-radius: 8px; background: #fff; color: #123b2b; }
.don-admin .admin-form .admin-checkbox { display: flex; flex-direction: row; align-items: center; }
.don-admin .admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.don-admin .admin-muted, .don-admin .admin-form small { color: #75877a; font-size: 13px; }
.don-admin .admin-notice { padding: 13px 17px; border-radius: 9px; background: #e7eee5; margin-bottom: 20px; }
.don-admin .admin-notice.error { background: #fbe9e7; color: #9b3028; }
.don-admin .admin-backdrop { display: none; }
.don-admin .admin-backdrop[hidden] { display: none; }

@media (max-width: 1150px) {
  .don-admin .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .don-admin .admin-content { padding: 25px; }
}

@media (max-width: 760px) {

    /* Mobile slide-out sidebar */
    .don-admin .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;

        width: min(250px, 82vw);
        height: 100dvh;
        min-height: 0;
        flex: none;

        transform: translateX(-105%);
        transition: transform 0.3s ease;

        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        box-shadow: none;
        z-index: 120;
    }

    .don-admin .admin-sidebar.open {
        transform: translateX(0);
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.14);
    }

    /* Softer background overlay */
    .don-admin .admin-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 110;
    }

    /* Sidebar branding */
    .don-admin .admin-brand {
        padding: 22px 18px 18px;
    }

    .don-admin .admin-brand img {
        width: 140px;
    }

    /* Navigation spacing */
    .don-admin .admin-nav {
        padding: 16px 10px;
        gap: 4px;
    }

    .don-admin .admin-nav-link {
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 13px;
        transition: background-color 0.2s ease;
    }

    .don-admin .admin-nav-link.active {
        background: #35674d;
        color: #ffffff;
    }

    .don-admin .admin-sidebar-bottom {
        padding: 12px 10px 20px;
    }

    /* Mobile dashboard header */
    .don-admin .admin-menu-toggle {
        display: block;
    }

    .don-admin .admin-topbar {
        padding: 16px;
        justify-content: flex-start;
    }

    .don-admin .admin-user {
        margin-left: auto;
    }

    .don-admin .admin-user span {
        display: none;
    }

    /* Dashboard content */
    .don-admin .admin-main {
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .don-admin .admin-content {
        padding: 20px 15px;
        min-width: 0;
    }

    .don-admin .admin-stats {
        gap: 11px;
    }

    .don-admin .admin-stat {
        padding: 16px;
    }

    .don-admin .admin-panel {
        padding: 15px;
    }

    .don-admin .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .don-admin .admin-table-wrap {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 390px) {
  .don-admin .admin-stats { grid-template-columns: 1fr; }
}



/* =========================================
   DONSTORES ADMIN PRODUCT VARIANTS
========================================= */

.don-admin .admin-variants {
    display: grid;
    gap: 12px;
}

.don-admin .admin-variant-row {
    display: grid;
    grid-template-columns: 1fr 1fr 110px auto;
    align-items: center;
    gap: 10px;
}

.don-admin .admin-variant-row input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d5dfd4;
    border-radius: 8px;
    background: #fff;
    color: #123b2b;
}

.don-admin .admin-variant-row button {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .don-admin .admin-variant-row {
        grid-template-columns: 1fr 1fr;
    }

    .don-admin .admin-variant-row button {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .don-admin .admin-variant-row {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   DONSTORES ADMIN MOBILE OVERFLOW FIX
====================================== */

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.admin-shell,
.admin-main,
.admin-content,
.admin-section {
    min-width: 0;
    max-width: 100%;
}

.admin-section img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    .don-admin .admin-main {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    padding: 0;
    }

    .admin-section {
        width: 100%;
        min-width: 0;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-section input,
    .admin-section select,
    .admin-section textarea {
        max-width: 100%;
    }

    /* Tables should scroll horizontally,
       not stretch the entire page */
    .admin-table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

}


/* DONSTORES — INDIVIDUAL COLLABORATION PAGE */

.collection-page {
    min-height: 75vh;
    background: #f5f2e9;
    color: #173c2d;
}

.collection-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 24px 6%;
    color: #174d38;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.collection-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #103c2b;
    color: white;
}

.collection-hero-image,
.collection-hero-overlay {
    position: absolute;
    inset: 0;
}

.collection-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-hero-overlay {
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.08)
    );
}

.collection-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    padding: 65px 7%;
}

.collection-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #80b79b;
}

.collection-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 6vw, 76px);
    line-height: 1.1;
    margin: 15px 0;
    overflow-wrap: anywhere;
}

.collection-hero-content > p:not(.collection-eyebrow) {
    max-width: 550px;
    font-size: 15px;
    line-height: 1.7;
    color: #f0f0ea;
}

.collection-status {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 17px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.collection-status.available {
    background: #f5f2e9;
    color: #174d38;
    border-color: #f5f2e9;
}

.collection-intro,
.collection-products {
    max-width: 1250px;
    margin: 0 auto;
    padding: 65px 6%;
}

.collection-branding {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 25px;
}

.collection-branding img {
    width: 90px;
    height: 90px;
    padding: 10px;
    border-radius: 12px;
    object-fit: contain;
    background: #fffdf8;
}

.collection-branding h2,
.collection-section-heading h2,
.collection-coming-soon h2 {
    font-family: Georgia, serif;
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.2;
    margin-top: 8px;
}

.collection-intro > p {
    max-width: 780px;
    font-size: 15px;
    line-height: 1.9;
    color: #647269;
    white-space: pre-line;
}

.collection-products {
    padding-top: 20px;
    padding-bottom: 95px;
}

.collection-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.collection-section-heading > span {
    font-size: 13px;
    color: #68766e;
}

.collection-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.collection-filters button {
    padding: 10px 20px;
    border: 1px solid #cbd4cb;
    border-radius: 25px;
    background: transparent;
    color: #174d38;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.collection-filters button.active {
    background: #174d38;
    border-color: #174d38;
    color: white;
}

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

.collection-product-card {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.collection-product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 10px;
    background: #e0e4dc;
}

.collection-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

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

.collection-product-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 11px;
    background: #fffdf8;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.collection-product-details {
    padding: 15px 2px;
}

.collection-product-details h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.collection-product-details p {
    color: #174d38;
    font-size: 15px;
    font-weight: 700;
}

.collection-coming-soon {
    padding: 100px 20px;
    text-align: center;
}

.collection-coming-soon h2 {
    margin: 18px 0;
}

.collection-coming-soon > p:not(.collection-eyebrow) {
    color: #657169;
    margin-bottom: 28px;
}

.collection-button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 6px;
    background: #174d38;
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.collection-message {
    grid-column: 1 / -1;
    padding: 55px 20px;
    text-align: center;
    color: #657169;
}

.collection-error {
    margin: 40px auto;
}

[hidden] {
    display: none !important;
}

/* TABLET */

@media (max-width: 900px) {
    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .collection-back {
        margin: 18px 5%;
    }

    .collection-hero {
        min-height: 350px;
    }

    .collection-hero-content {
        padding: 50px 6% 35px;
    }

    .collection-hero h1 {
        font-size: clamp(32px, 9vw, 46px);
    }

    .collection-hero-content > p:not(.collection-eyebrow) {
        font-size: 13px;
    }

    .collection-intro,
    .collection-products {
        padding: 40px 5%;
    }

    .collection-branding {
        gap: 14px;
    }

    .collection-branding img {
        width: 65px;
        height: 65px;
    }

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

    .collection-product-details h3,
    .collection-product-details p {
        font-size: 12px;
    }

    .collection-filters {
        gap: 8px;
    }

    .collection-filters button {
        padding: 9px 15px;
        font-size: 12px;
    }

    .collection-coming-soon {
        padding: 75px 18px;
    }
}

@media (max-width: 360px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
}

