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

.nav-links a {
    color: #754a2a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #b47b50;
}

.nav-links a.active {
    color: #754a2a;
    font-weight: bold;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f4ef;
    color: #444;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #8b5e3c;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #555;
}

section {
    padding: 60px;
}

h1 {
    color: #6f4e37;
    margin-bottom: 20px;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

input,
textarea {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
}

button {
    padding: 12px;
    border: none;
    background: #b37363;
    color: white;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background: white;
}

.contact-page {
    padding: 80px 30px;
}

.contact-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 35px;
    text-align: center;
}

.contact-intro h1 {
    margin-bottom: 15px;
    color: #684638;
    font-size: 2.8rem;
}

.contact-intro p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    width: 100%;
    padding: 35px;
    max-width: 500px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(72, 56, 47, 0.1);
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #463e39;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #cfc5bd;
    border-radius: 4px;
    background-color: #ffffff;
    font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a86553;
    outline: 2px solid rgba(168, 101, 83, 0.2);
}

.contact-form button {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    background-color: #b87866;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #925846;
}

@media (max-width: 600px) {
    .contact-page {
        padding: 80px 30px;
    }

    .contact-container {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    .contact-intro {
        margin-bottom: 35px;
        text-align: center;
    }

    form.contact-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 35px;
        border-radius: 8px;
        background-color: #ffffff;
        box-shadow: 0 10px 30px rgba(72, 56, 47, 0.1);
    }
}

/* Custom order introduction */
.contact-intro .eyebrow {
    color: #b8664f;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Space below the main heading */
.contact-intro h1 {
    margin-bottom: 20px;
}

/* Description below Custom Orders Welcome */
.contact-description {
    max-width: 650px;
    margin: 0 auto 18px;
    line-height: 1.6;
}

/* Response-time message */
.response-note {
    margin-top: 18px;
    color: #8a6b5e;
    font-size: 0.9rem;
}

.home-eyebrow  h1{
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -3px;
    color: #5c2f20;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #684638;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-image {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

/* Shared alignment for both sections */
.about-section,
.series-section {
    width: 100%;
    padding: 60px 30px;
}

/* Keep both sections centered at the same width */
.about-container,
.series-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Align both headings */
.about-section h1,
.series-section h1 {
    margin: 0 0 30px;
    color: #754a2a;
    font-size: 36px;
    line-height: 1.2;
}

.about-eyebrow {
    margin: 0 0 10px;
    color: #b8664f;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* Shared two-column layout */
.about-content,
.series-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

/* Shared image column */
.about-image,
.series-image {
    flex: 0 0 300px;
}

/* Shared photo styling */
.about-photo,
.series-photo {
    width: 300px;
    height: 350px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

/* Shared text column */
.about-text,
.series-text {
    flex: 1;
    min-width: 0;
    padding-top: 0;
    font-size: 17px;
    line-height: 1.6;
}

/* Paragraph spacing */
.about-text p,
.series-text p {
    margin-top: 0;
    margin-bottom: 16px;
}

/* Optional background for creative series */
.series-section {
    background-color: #f8f4ee;
}

/* Mobile layout */
@media (max-width: 750px) {
    .about-section,
    .series-section {
        padding: 45px 20px;
    }

    .about-content,
    .series-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-image,
    .series-image {
        flex: none;
        width: 100%;
    }

    .about-photo,
    .series-photo {
        width: 100%;
        max-width: 450px;
        height: auto;
        max-height: 500px;
    }

    .about-section h1,
    .series-section h1 {
        font-size: 30px;
    }
}
.about-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: #754a2a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.about-button:hover {
    background-color: #5c3920;
}
/* Follow the Journey section */
.about-cta {
    width: 100%;
    padding: 60px 30px;
    box-sizing: border-box;
    background-color: #f8f4ee;
}

/* Same width as About and Creative Series */
.about-cta-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Small heading */
.about-eyebrow {
    margin: 0 0 10px;
    color: #754a2a;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main heading */
.about-cta h1 {
    margin: 0 0 20px;
    color: #754a2a;
    font-size: 36px;
    line-height: 1.2;
}

/* Description */
.about-cta-text {
    max-width: 700px;
    margin: 0 0 25px;
    font-size: 17px;
    line-height: 1.6;
}

/* Instagram button */
.about-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #754a2a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.about-button:hover {
    background-color: #5c3920;
}

/* Mobile */
@media (max-width: 750px) {
    .about-cta {
        padding: 45px 20px;
    }

    .about-cta h1 {
        font-size: 30px;
    }
}
/* ========================================
   INSTAGRAM SECTION
   ======================================== */

/* Make the main Instagram heading smaller */
.instagram-section h2 {
    max-width: 750px;
    margin: 0 auto 35px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    text-align: center;
}


/**/
.instagram-section {
    padding: 80px 30px;
    text-align: center;
    background-color: #fbf5f2;
}

.instagram-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Center Follow Along */
.instagram-eyebrow {
    margin: 0 auto 18px;
    text-align: center;
}


/* Center the QR code */
.instagram-visual {
    width: fit-content;
    margin: 0 auto 35px;
}

/* Center the description */
.instagram-message {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}
/* Make the QR code larger */
.instagram-qr-image {
    width: 220px;
    height: 220px;
    display: block;
    object-fit: contain;
}

/* Center QR code without rotation */
.instagram-qr-link {
    position: static;
    display: inline-block;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(74, 38, 55, 0.12);
    transform: none;
}

/* Center the Instagram visual */
.instagram-visual {
    width: fit-content;
    margin: 0 auto 35px;
}

/* Mobile layout */
@media (max-width: 600px) {
    .instagram-section h2 {
        font-size: 30px;
    }

    .instagram-qr-image {
        width: 180px;
        height: 180px;
    }
}


/* ========================================
   EDITORIAL HOME PAGE
   ======================================== */

.editorial-hero {
    padding: 40px 28px 70px;
    color: #2c211d;
    background-color: #f7f3ed;
}

.editorial-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    min-height: 760px;
    margin: 0 auto;
}

/* Large hero photograph */

.hero-photo {
    position: absolute;
    top: 30px;
    right: 0;
    width: 40%;
    height: 575px;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 35%;
    image-rendering: auto;
}


/* Oversized overlapping heading */

.hero-heading {
    position: relative;
    z-index: 3;
    width: 70%;
    padding-top: 80px;
}

.hero-kicker {
    margin: 0 0 16px;
    color: #9a5a3e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-heading h1 {
    max-width: 900px;
    margin: 0;
    color: #241915;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(4.8rem, 9.5vw, 9rem);
    font-weight: 400;
    letter-spacing: -4px;
    line-height: 0.78;
}

.hero-summary {
    max-width: 480px;
    margin: 38px 0 18px;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-text-link,
.section-link,
.custom-order-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #793f27;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #793f27;
    padding-bottom: 4px;
}

.hero-text-link span,
.section-link span,
.custom-order-link span {
    transition: transform 0.2s ease;
}

.hero-text-link:hover span,
.section-link:hover span,
.custom-order-link:hover span {
    transform: translateX(6px);
}

/* Lower feature row */

.home-feature-row {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    align-items: center;
    gap: 34px;
}

.feature-images {
    display: flex;
    align-items: center;
    gap: 18px;
}

.feature-image {
    display: block;
    height: 130px;
    overflow: hidden;
    background-color: #ddd2c8;
}

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

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-image-wide {
    width: 190px;
    border-radius: 70px;
}

.feature-image-round {
    width: 130px;
    border-radius: 50%;
}

.feature-statement h2 {
    margin: 0 0 10px;
    color: #3f2c23;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1;
}

.feature-statement p {
    margin: 0;
    color: #5f5048;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* ========================================
   APARTMENT SERIES PREVIEW
   ======================================== */

.apartment-preview {
    padding: 110px 30px;
    background-color: #ffffff;
}

.apartment-preview-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 100px;
}

.section-eyebrow {
    margin: 0 0 14px;
    color: #a35335;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.apartment-preview h2,
.custom-home-cta h2 {
    margin: 0;
    color: #4c3024;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 400;
    line-height: 0.95;
}

.apartment-preview-copy p {
    margin: 0 0 20px;
    color: #51453f;
    line-height: 1.8;
}

.apartment-preview-copy .section-link {
    margin-top: 10px;
}

/* ========================================
   CUSTOM-ORDER CALL TO ACTION
   ======================================== */

.custom-home-cta {
    padding: 105px 30px;
    text-align: center;
    background-color: #e6d5c8;
}

.custom-home-cta-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.custom-home-cta h2 {
    margin-bottom: 24px;
}

.custom-home-cta-content > p:not(.section-eyebrow) {
    max-width: 680px;
    margin: 0 auto 30px;
    color: #51453f;
    line-height: 1.8;
}

/* ========================================
   TABLET
   ======================================== */

@media (max-width: 950px) {
    .editorial-container {
        min-height: auto;
    }

    .hero-photo,
    .hero-heading,
    .maker-stamp,
    .home-feature-row {
        position: static;
    }

    .maker-stamp {
        margin: 0 0 25px;
    }

    .hero-photo {
        width: 100%;
        height: 460px;
    }

    .hero-heading {
        width: 100%;
        padding-top: 0;
        margin-top: -90px;
    }

    .hero-heading h1 {
        font-size: clamp(4.2rem, 13vw, 7rem);
    }

    .home-feature-row {
        margin-top: 70px;
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-images {
        grid-column: 1 / -1;
    }

    .apartment-preview-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 650px) {
    .editorial-hero {
        padding: 25px 18px 60px;
    }

    .maker-stamp {
        width: 105px;
        height: 105px;
    }

    .hero-photo {
        height: 250px;
        }

    .hero-heading {
        margin-top: -55px;
    }

    .hero-heading h1 {
        font-size: 4.1rem;
        letter-spacing: -2px;
        line-height: 0.84;
    }

    .hero-summary {
        margin-top: 30px;
    }

    .home-feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-images {
        grid-column: auto;
    }

    .feature-image-wide {
        width: 165px;
        height: 110px;
    }

    .feature-image-round {
        width: 110px;
        height: 110px;
    }

    .feature-statement {
        padding-bottom: 25px;
        border-bottom: 1px solid #d7ccc2;
    }

    .apartment-preview,
    .custom-home-cta {
        padding: 75px 20px;
    }
}

/* ========================================
   GALLERY PAGE
   ======================================== */

.gallery-page {
    color: #44372f;
    background-color: #f8f5ef;
}

/* Hero */

.gallery-hero {
    position: relative;
    width: min(1400px, calc(100% - 40px));
    min-height: 550px;
    margin: 30px auto 170px;
}

.gallery-hero-image {
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.gallery-hero-statement {
    position: absolute;
    right: 12%;
    bottom: -95px;
    left: 12%;
    padding: 34px 45px;
    border: 1px solid #ded5cc;
    background-color: rgba(255, 253, 249, 0.96);
    text-align: center;
    box-shadow: 0 12px 30px rgba(75, 54, 43, 0.08);
}

.gallery-eyebrow {
    margin: 0 0 10px;
    color: #9a6045;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-hero-statement h1 {
    margin: 0 0 12px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1;
}

.gallery-hero-statement p:not(.gallery-eyebrow) {
    max-width: 650px;
    margin: 0 auto;
    color: #66584f;
    line-height: 1.7;
}

/* Introduction */

.gallery-introduction {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 30px 70px;
    text-align: center;
}

.gallery-introduction h2 {
    margin: 0 0 18px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1;
}

.gallery-introduction p:not(.gallery-eyebrow) {
    margin: 0;
    color: #66584f;
    line-height: 1.8;
}

/* Three collection cards */

.gallery-category-grid {
    width: min(1250px, calc(100% - 60px));
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.gallery-category-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.gallery-category-label {
    margin: 0 0 14px;
    color: #7c543e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.7px;
    text-align: center;
    text-transform: uppercase;
}

.gallery-category-image {
    height: 360px;
    overflow: hidden;
    background-color: #ddd3ca;
}

.gallery-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.45s ease;
}

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

.gallery-category-content {
    padding: 24px 12px;
    text-align: center;
}

.gallery-category-content h3 {
    margin: 0 0 10px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
}

.gallery-category-content p {
    margin: 0 auto 15px;
    color: #66584f;
    font-size: 0.93rem;
    line-height: 1.65;
}

.gallery-category-content span {
    color: #945638;
    font-weight: 700;
}

/* Individual collections */

.pottery-collection {
    padding: 100px 30px;
    background-color: #ffffff;
    scroll-margin-top: 100px;
}

.alternate-collection {
    background-color: #eee5dc;
}

.collection-heading {
    width: min(1200px, 100%);
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
    gap: 70px;
}

.collection-heading h2 {
    margin: 0;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 500;
    line-height: 0.95;
}

.collection-heading > p {
    max-width: 520px;
    margin: 0;
    color: #66584f;
    line-height: 1.75;
}

.pottery-grid {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.pottery-item {
    background-color: #f8f5ef;
}

.alternate-collection .pottery-item {
    background-color: #ffffff;
}

.pottery-item-image {
    height: 390px;
    overflow: hidden;
    background-color: #ddd3ca;
}

.pottery-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pottery-item:hover .pottery-item-image img {
    transform: scale(1.035);
}

.pottery-item-details {
    padding: 25px;
}

.pottery-item-details h3 {
    margin: 0 0 10px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 500;
}

.pottery-item-details p {
    margin: 0 0 16px;
    color: #66584f;
    font-size: 0.92rem;
    line-height: 1.6;
}

.availability {
    color: #9a6045;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Final custom-order section */

.gallery-custom-order {
    padding: 110px 30px;
    background-color: #5d3b2b;
    text-align: center;
}

.gallery-custom-order-content {
    max-width: 760px;
    margin: 0 auto;
}

.gallery-custom-order .gallery-eyebrow {
    color: #e9b79f;
}

.gallery-custom-order h2 {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.6rem, 5vw, 4.3rem);
    font-weight: 500;
    line-height: 1;
}

.gallery-custom-order p:not(.gallery-eyebrow) {
    margin: 0 auto 30px;
    color: #f3e8e1;
    line-height: 1.8;
}


/* Tablet */

@media (max-width: 900px) {
    .gallery-category-grid,
    .pottery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-category-card:last-child,
    .pottery-item:last-child {
        grid-column: 1 / -1;
        max-width: 550px;
        width: 100%;
        margin: 0 auto;
    }

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

/* Mobile */

@media (max-width: 650px) {
    .gallery-hero {
        width: calc(100% - 30px);
        min-height: 380px;
        margin-top: 15px;
        margin-bottom: 190px;
    }

    .gallery-hero-image {
        height: 380px;
    }

    .gallery-hero-statement {
        right: 15px;
        bottom: -145px;
        left: 15px;
        padding: 28px 20px;
    }

    .gallery-introduction {
        padding-right: 20px;
        padding-left: 20px;
    }

    .gallery-category-grid,
    .pottery-grid {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
    }

    .gallery-category-card:last-child,
    .pottery-item:last-child {
        grid-column: auto;
        max-width: none;
    }

    .gallery-category-image,
    .pottery-item-image {
        height: 340px;
    }

    .pottery-collection,
    .gallery-custom-order {
        padding: 75px 20px;
    }
}
/* ========================================
   RESPONSIVE HEADER AND NAVIGATION
   ======================================== */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #eee6df;
}

.navbar {
    position: relative;
    width: min(1200px, calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */

.logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    color: #684638;
    text-decoration: none;
}

.logo-image {
    width: 44px;
    height: 44px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    white-space: nowrap;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

/* Desktop navigation */

.nav-links {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 10px 2px;
    color: #4d3a31;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #9b5d42;
}

.nav-links a.active {
    font-weight: 700;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    width: 24px;
    height: 2px;
    margin: auto;
    background-color: #c57959;
}

/* Hamburger button hidden on desktop */

.menu-toggle {
    width: 46px;
    height: 46px;
    padding: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 6px;
    background-color: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    display: block;
    background-color: #684638;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* ========================================
   MOBILE HEADER
   ======================================== */

@media (max-width: 750px) {
    .navbar {
        width: 100%;
        min-height: 70px;
        padding: 10px 20px;
        gap: 15px;
        flex-direction: row;
    }

    .logo {
        max-width: calc(100% - 65px);
        gap: 10px;
    }

    .logo-image {
        width: 42px;
        height: 42px;
    }

    .logo-text {
        overflow: hidden;
        font-size: 1.15rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        padding: 12px 20px 20px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        background-color: #ffffff;
        border-top: 1px solid #eee6df;
        border-bottom: 1px solid #eee6df;
        box-shadow: 0 12px 24px rgba(70, 50, 40, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 15px 4px;
        display: block;
        border-bottom: 1px solid #f1ebe6;
        font-size: 1rem;
        white-space: normal;
    }

    .nav-links li:last-child a {
        border-bottom: 0;
    }

    .nav-links a.active::after {
        right: auto;
        bottom: 7px;
        left: 4px;
        width: 28px;
        margin: 0;
    }

    /* Turn the hamburger into an X when open */

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Product gallery */

.gallery-page {
    padding: 80px 30px;
    background-color: #f8f8ef;
}

.gallery-heading {
    max-width: 1200px;
}
/* ========================================
   SIMPLE PRODUCT CARDS
   ======================================== */

.product-grid {
    width: min(1200px, calc(100% - 60px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.product-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background-color: transparent;
}

.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f0efed;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.product-information {
    padding: 20px 0 0;
    text-align: center;
}

.product-name {
    margin: 0 0 8px;
    color: #2f2824;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

.product-price {
    margin: 0 0 16px;
    color: #8c817a;
    font-size: 1rem;
    font-weight: 400;
}

.product-cart-button {
    width: 100%;
    padding: 12px 16px;
    display: block;
    border: none;
    color: #ffffff;
    background-color: #a99577;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.product-cart-button:hover {
    color: #ffffff;
    background-color: #8f795d;
    transform: translateY(-1px);
}

.product-sold-button {
    background-color: #75675d;
}

.product-sold-button:hover {
    background-color: #5f524a;
}

/* Two items per row on tablets */

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

    .product-image {
        height: 280px;
    }
}

/* One item per row on mobile */

@media (max-width: 600px) {
    .product-grid {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-image {
        height: 300px;
    }
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

.product-detail-page {
    padding: 60px 30px 100px;
    color: #28211d;
    background-color: #f8f5ef;
}

/* Top navigation */

.product-navigation {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    gap: 30px;
}

.product-breadcrumbs {
    display: flex;
    align-items: center;
    background-color: #f8f5ef;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.95rem;
}

.product-breadcrumbs a {
    color: #28211d;
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    color: #9a5b3f;
    text-decoration: underline;
}

.product-breadcrumbs span {
    color: #796c64;
}



.disabled-product-link {
    color: #aaa09a;
}

/* Main two-column layout */

.product-detail-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.75fr);
    align-items: start;
    gap: 65px;
}

/* Product image */

.product-detail-image {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #e9e9e7;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* Product information */

.product-detail-information {
    padding-top: 5px;
}

.product-detail-category {
    margin: 0 0 10px;
    color: #9a6045;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-detail-information h1 {
    margin: 0 0 8px;
    color: #241c18;
    font-family: Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
}

.product-sku {
    margin: 0 0 20px;
    color: #8c817a;
    font-size: 0.85rem;
}

.product-detail-price {
    margin: 0 0 25px;
    color: #241c18;
    font-size: 1.7rem;
    font-weight: 500;
}

.product-detail-description {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 20px 0 25px;
    padding: 0;
    white-space: normal;
}

.product-detail-description > p {
    height: auto;
    min-height: 0;
    margin: 0 0 12px;
    padding: 0;
    white-space: pre-line;
    line-height: 1.7;
}

.product-more-details {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 12px 0 24px;
    padding: 0;
    display: block;
    white-space: normal;
}

.product-more-details summary {
    width: fit-content;
    margin: 0;
    padding: 4px 0;
    display: list-item;
    color: #684638;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.product-more-details p {
    height: auto;
    min-height: 0;
    margin: 12px 0 0;
    padding: 0;
    white-space: pre-line;
    line-height: 1.7;
}

.product-status {
    margin: 0 0 24px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.product-status.available {
    color: #56704e;
}

.product-status.sold {
    color: #9a6045;
}

/* Quantity control */

.quantity-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 auto 30px;
    text-align: center;
    }

.quantity-section label {
    display: flex;

}

.quantity-control {
    width: 110px;
    height: 42px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 36px 38px 36px;
    align-items: center;
    border: 1px solid #776d66;
    background-color: transparent;
}

.quantity-control input {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    display: block;
    border: 0;
    border-radius: 0;
    outline: 0;
    background-color: transparent;
    color: #28211d;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
    appearance: textfield;
}

.quantity-button {
    width: 36px;
    height: 40px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: #665c56;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

/* Action buttons */

.product-primary-button,
.product-secondary-button {
    width: 100%;
    min-height: 48px;
    margin-bottom: 12px;
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #28211d;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.product-primary-button {
    color: #28211d;
    background-color: transparent;
}

.product-primary-button:hover {
    color: #ffffff;
    background-color: #a99577;
    border-color: #a99577;
}

.product-secondary-button {
    color: #ffffff;
    background-color: #28211d;
}

.product-secondary-button:hover {
    color: #ffffff;
    background-color: #9a6045;
    border-color: #9a6045;
}

.product-handmade-note {
    margin-top: 22px;
    color: #28211d;
    font-size: 0.9rem;
    line-height: 1.6;
    
}

/* ========================================
   PRODUCT PAGE — TABLET
   ======================================== */

@media (max-width: 900px) {
    .product-navigation {
        margin-bottom: 40px;
    }

    .product-detail-container {
        grid-template-columns: 1fr 0.8fr;
        gap: 40px;
    }

    .product-detail-image {
        height: 500px;
    }
}

/* ========================================
   PRODUCT PAGE — MOBILE
   ======================================== */

@media (max-width: 700px) {
    .product-detail-page {
        padding: 35px 20px 70px;
    }

    .product-navigation {
        margin-bottom: 35px;
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-detail-image {
        height: auto;
        min-height: 360px;
        aspect-ratio: 4 / 5;
    }

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

    .product-detail-information h1 {
        font-size: 2.2rem;
    }
}
/* ========================================
   PURCHASE REQUEST PAGE
   ======================================== */

.purchase-request-page,
.purchase-success-page {
    padding: 80px 30px;
    background-color: #f8f5ef;
}

/* Purchase page container */

.purchase-request-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Product summary */

.purchase-product-summary {
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: center;
    gap: 65px;
}

/* Product image */

.purchase-product-image {
    width: 100%;
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #eee7e0;
}

.purchase-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Eyebrow */

.purchase-eyebrow {
    margin: 0 0 12px;
    color: #9a6045;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* Product information */

.purchase-product-information h1,
.purchase-success-content h1 {
    margin: 0 0 12px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1;
}

.purchase-product-sku {
    margin-bottom: 12px;
    color: #84766e;
    font-size: 0.9rem;
}

.purchase-product-price {
    margin-bottom: 20px;
    color: #493327;
    font-size: 1.5rem;
    font-weight: 700;
}

.purchase-product-information > p {
    line-height: 1.75;
}

/* Notice */

.purchase-note {
    margin-top: 25px;
    padding: 18px;
    border-left: 3px solid #a99577;
    color: #675b54;
    background-color: #eee5dc;
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ========================================
   FORM AREA
   ======================================== */

.purchase-form-area {
    max-width: 760px;
    margin: 0 auto;
}

.purchase-form-heading {
    margin-bottom: 40px;
    text-align: center;
}

.purchase-form-heading h2 {
    margin: 0 0 15px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
}

.purchase-form-heading p:not(.purchase-eyebrow) {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Form */

.purchase-request-form {
    width: 100%;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0 12px 32px rgba(70, 51, 41, 0.08);
}

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

.purchase-request-form .form-group {
    margin-bottom: 22px;
}

.purchase-request-form label {
    display: block;
    margin-bottom: 8px;
    color: #493327;
    font-weight: 700;
}

.purchase-request-form input,
.purchase-request-form select,
.purchase-request-form textarea {
    width: 100%;
    margin: 0;
    padding: 13px;
    border: 1px solid #cfc4bb;
    border-radius: 3px;
    color: #332a25;
    background-color: #ffffff;
    font: inherit;
}

.purchase-request-form input[readonly] {
    color: #72665f;
    background-color: #f2eee9;
}

.purchase-request-form textarea {
    resize: vertical;
}

.purchase-request-form input:focus,
.purchase-request-form select:focus,
.purchase-request-form textarea:focus {
    border-color: #a99577;
    outline: 2px solid rgba(169, 149, 119, 0.2);
}

/* Submit button */

.purchase-submit-button {
    width: 100%;
    padding: 14px 22px;
    display: block;
    border: 0;
    color: #ffffff;
    background-color: #a99577;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.purchase-submit-button:hover {
    color: #ffffff;
    background-color: #876f52;
}

.purchase-form-note {
    margin: 15px 0 0;
    color: #776c65;
    font-size: 0.8rem;
    text-align: center;
}

/* ========================================
   SUCCESS PAGE
   ======================================== */

.purchase-success-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.purchase-success-content > p {
    margin-bottom: 22px;
    line-height: 1.8;
}

.purchase-success-links {
    margin-top: 35px;
}

.purchase-success-links .purchase-submit-button {
    max-width: 320px;
    margin: 0 auto 18px;
}

.purchase-back-link {
    color: #684638;
    font-weight: 700;
    text-decoration: none;
}

.purchase-back-link:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */

@media (max-width: 900px) {

    .purchase-request-page,
    .purchase-success-page {
        padding: 65px 25px;
    }

    .purchase-product-summary {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 40px;
    }

    .purchase-product-image {
        height: 400px;
    }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */

@media (max-width: 750px) {

    .purchase-request-page,
    .purchase-success-page {
        padding: 55px 20px;
    }

    .purchase-product-summary {
        margin-bottom: 60px;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .purchase-product-image {
        height: 380px;
    }

    .purchase-product-information h1,
    .purchase-success-content h1 {
        font-size: 3rem;
    }

    .purchase-request-form {
        padding: 28px 22px;
    }

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

    .purchase-form-heading h2 {
        font-size: 2.7rem;
    }
}

/* ========================================
   RESPONSIVE — SMALL MOBILE
   ======================================== */

@media (max-width: 480px) {

    .purchase-request-page,
    .purchase-success-page {
        padding: 40px 15px;
    }

    .purchase-product-image {
        height: 330px;
    }

    .purchase-product-information h1,
    .purchase-success-content h1 {
        font-size: 2.5rem;
    }

    .purchase-form-heading h2 {
        font-size: 2.3rem;
    }

    .purchase-request-form {
        padding: 24px 18px;
    }
}
/* ========================================
   CONTACT SUCCESS PAGE
   ======================================== */

.contact-success-page {
    min-height: 70vh;
    padding: 100px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f5ef;
}

.contact-success-content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.contact-success-eyebrow {
    margin: 0 0 15px;
    color: #a86553;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-success-content h1 {
    margin: 0 0 25px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 500;
    line-height: 1;
}

.contact-success-content > p:not(.contact-success-eyebrow) {
    max-width: 620px;
    margin: 0 auto 20px;
    color: #57534c;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-success-note {
    padding-top: 5px;
    color: #8a7469 !important;
    font-size: 0.9rem !important;
}

/* Success page links */

.contact-success-links {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-success-primary,
.contact-success-secondary {
    min-width: 210px;
    padding: 14px 24px;
    display: inline-block;
    border: 2px solid #a99577;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

/* Primary button */

.contact-success-primary {
    color: #ffffff;
    background-color: #a99577;
}

.contact-success-primary:hover {
    color: #ffffff;
    background-color: #876f52;
    border-color: #876f52;
}

/* Secondary button */

.contact-success-secondary {
    color: #876f52;
    background-color: transparent;
}

.contact-success-secondary:hover {
    color: #ffffff;
    background-color: #a99577;
    border-color: #a99577;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 550px) {

    .contact-success-page {
        min-height: 70vh;
        padding: 70px 20px;
    }

    .contact-success-content h1 {
        font-size: 2.8rem;
    }

    .contact-success-content > p:not(.contact-success-eyebrow) {
        font-size: 1rem;
    }

    .contact-success-links {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-success-primary,
    .contact-success-secondary {
        width: 100%;
    }
}
/* ========================================
   ADMIN PRODUCT MANAGEMENT
   ======================================== */

.admin-products-page {
    padding: 80px 30px;
    background-color: #f8f5ef;
}

.admin-products-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-products-header {
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.admin-products-header h1 {
    margin: 0 0 12px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 500;
}

.admin-add-button,
.admin-edit-button {
    display: inline-block;
    padding: 13px 22px;
    color: #ffffff;
    background-color: #a99577;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.admin-add-button:hover,
.admin-edit-button:hover {
    color: #ffffff;
    background-color: #876f52;
}

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

.admin-product-card {
    overflow: hidden;
    background-color: #ffffff;
}

.admin-product-image {
    width: 100%;
    height: 280px;
    background-color: #eee7e0;
}

.admin-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.admin-product-details {
    padding: 24px;
}

.admin-product-details h2 {
    margin: 0 0 8px;
    color: #493327;
    font-size: 1.4rem;
}

.admin-product-sku {
    margin-bottom: 8px;
    color: #7e7169;
}

.admin-product-price {
    margin-bottom: 12px;
    color: #493327;
    font-weight: 700;
}

.admin-status {
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-status.available {
    color: #50744d;
}

.admin-status.unavailable {
    color: #985343;
}

.admin-product-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-view-link {
    color: #684638;
    font-weight: 700;
}

.admin-current-image {
    margin-bottom: 25px;
}

.admin-current-image p {
    margin-bottom: 10px;
    font-weight: 700;
}

.admin-current-image img {
    width: 180px;
    height: 180px;
    display: block;
    object-fit: contain;
    background-color: #eee7e0;
}

.admin-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.admin-checkbox-label input {
    width: auto;
    margin: 0;
}

.admin-cancel-link {
    display: block;
    margin-top: 20px;
    color: #684638;
    text-align: center;
}

.admin-empty-products {
    padding: 80px 25px;
    text-align: center;
}

.admin-empty-products h2 {
    margin-bottom: 25px;
    color: #493327;
}

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

@media (max-width: 600px) {
    .admin-products-page {
        padding: 55px 20px;
    }

    .admin-products-header {
        align-items: stretch;
        flex-direction: column;
    }

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

    .admin-add-button {
        width: 100%;
    }
}
.admin-additional-image-preview {
    margin-bottom: 30px;
}

.admin-additional-image-preview > p {
    margin-bottom: 12px;
    color: #493327;
    font-weight: 700;
}

.admin-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 120px);
    gap: 15px;
}

.admin-preview-grid img {
    width: 120px;
    height: 120px;
    display: block;
    object-fit: contain;
    background-color: #eee7e0;
    border: 1px solid #ddd1c7;
}

@media (max-width: 550px) {
    .admin-preview-grid {
        grid-template-columns: repeat(2, 110px);
    }

    .admin-preview-grid img {
        width: 110px;
        height: 110px;
    }
}
/* Product image gallery */

.product-gallery {
    width: 100%;
    min-width: 0;
}

.product-main-image {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f5ef;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.product-image-placeholder {
    color: #776c65;
    text-align: center;
}

.product-thumbnails {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(5, 90px);
    gap: 12px;
}

.product-thumbnail {
    width: 90px;
    height: 90px;
    margin: 0;
    padding: 4px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 0;
    background-color: #eee7e0;
    cursor: pointer;
}

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

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #684638;
}

.product-thumbnail.active {
    border-width: 2px;
}

@media (max-width: 700px) {
    .product-main-image {
        height: 400px;
    }

    .product-thumbnails {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .product-thumbnail {
        width: 76px;
        min-width: 76px;
        height: 76px;
    }
}
.admin-products-page {
    padding: 80px 30px;
    background-color: #f8f5ef;
}

.admin-products-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-products-header {
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.admin-products-header h1 {
    margin: 0 0 12px;
    color: #493327;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 500;
}

.admin-add-button,
.admin-edit-button {
    display: inline-block;
    padding: 13px 22px;
    color: #ffffff;
    background-color: #a99577;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.admin-add-button:hover,
.admin-edit-button:hover {
    color: #ffffff;
    background-color: #876f52;
}

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

.admin-product-card {
    overflow: hidden;
    background-color: #ffffff;
}

.admin-product-image {
    width: 100%;
    height: 280px;
    background-color: #eee7e0;
}

.admin-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.admin-product-details {
    padding: 24px;
}

.admin-product-details h2 {
    margin: 0 0 10px;
    color: #493327;
    font-size: 1.4rem;
}

.admin-product-sku,
.admin-product-id {
    margin: 0 0 7px;
    color: #7e7169;
    font-size: 0.9rem;
}

.admin-product-price {
    margin: 12px 0;
    color: #493327;
    font-weight: 700;
}

.admin-status {
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-status.available {
    color: #50744d;
}

.admin-status.unavailable {
    color: #985343;
}

.admin-product-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-view-link {
    color: #684638;
    font-weight: 700;
    text-decoration: none;
}

.admin-view-link:hover {
    text-decoration: underline;
}

.admin-empty-products {
    padding: 80px 25px;
    text-align: center;
}

.admin-empty-products h2 {
    margin-bottom: 25px;
    color: #493327;
}

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

@media (max-width: 600px) {
    .admin-products-page {
        padding: 55px 20px;
    }

    .admin-products-header {
        align-items: stretch;
        flex-direction: column;
    }

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

    .admin-add-button {
        width: 100%;
    }
}