@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --green: #183d32;
    --green-light: #285b49;
    --cream: #faf6ed;
    --cream-dark: #eee5d5;
    --gold: #b18a49;
    --text: #282820;
    --muted: #77776c;
    --white: #ffffff;
    --border: #e7dfd1;
    --shadow: 0 10px 35px rgba(30, 40, 25, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.announcement {
    background: var(--green);
    color: var(--cream);
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 1px;
}

.header {
    min-height: 84px;
    padding: 15px 6%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 22px;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--gold);
}

.header nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header nav a {
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.header nav a:hover {
    color: var(--gold);
}

.cart-button {
    border: 1px solid var(--green);
    background: var(--green);
    color: white;
    padding: 11px 16px;
    border-radius: 3px;
    font-size: 13px;
}

#cartCount {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    margin-left: 5px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: white;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 26px;
    color: var(--green);
}

.hero {
    min-height: 570px;
    padding: 75px 9%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 65px;
    background:
        radial-gradient(circle at 80% 30%, #e9dfc9 0, transparent 35%),
        var(--cream);
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    color: var(--green);
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.15;
    margin: 22px 0;
}

.hero-content > p {
    max-width: 470px;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 30px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--white);
    border: 1px solid var(--green);
    padding: 14px 23px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s;
    cursor: pointer;
}

.primary-button:hover {
    background: var(--green-light);
    transform: translateY(-2px);
}

.hero-frame {
    background: #fffdf8;
    padding: 15px;
    border: 1px solid var(--gold);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

..hero-frame .hero-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    margin: 0 auto;
}

 {
    display: block;
    padding: 12px 5px 3px;
    text-align: center;
    color: var(--green);
    font-family: 'Playfair Display', serif;
    font-size: 19px;.hero-frame span
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px 60px;
    background: var(--green);
    color: var(--cream);
    padding: 24px 5%;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.section {
    padding: 90px 7%;
}

.about,
.contact-section,
.payment-section {
    text-align: center;
}

.about h2,
.section-heading h2,
.payment-section h2,
.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.25;
    color: var(--green);
    margin: 12px 0 18px;
}

.about > p,
.payment-section > p,
.contact-section > p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 14px;
}

.collection {
    background: #f2ecdf;
}

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

.section-heading > p {
    color: var(--muted);
    font-size: 13px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-bar input,
.filter-bar select {
    min-height: 45px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    background: white;
    outline-color: var(--gold);
    border-radius: 3px;
}

.filter-bar input {
    flex: 1;
    min-width: 0;
}

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

.product-card {
    background: #fffdf8;
    border: 1px solid var(--border);
    padding: 12px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-gallery {
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
}

.product-main-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    cursor: zoom-in;
}

.thumbnail-row {
    display: flex;
    gap: 5px;
    padding: 7px 0 0;
}

.thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
}

.thumbnail.active {
    border-color: var(--gold);
}

.product-info {
    padding: 14px 3px 4px;
}

.product-info h3 {
    color: var(--green);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.4;
}

.product-description {
    color: var(--muted);
    font-size: 12px;
    margin: 8px 0;
    min-height: 38px;
}

.product-price {
    color: var(--green);
    font-size: 19px;
    font-weight: 700;
    margin: 12px 0;
}

.product-price small {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
}

.frame-label {
    display: block;
    font-size: 12px;
    margin: 10px 0 5px;
    font-weight: 600;
}

.frame-select {
    width: 100%;
    padding: 9px;
    border: 1px solid var(--border);
    background: white;
    margin-bottom: 12px;
    font-size: 12px;
}

.add-button {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--green);
    color: var(--green);
    font-weight: 700;
    font-size: 12px;
    transition: 0.2s;
}

.add-button:hover {
    background: var(--green);
    color: white;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

.payment-section {
    background: var(--cream);
}

.qr-card {
    max-width: 360px;
    margin: 30px auto 0;
    padding: 25px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.qr-placeholder {
    width: 100%;
    aspect-ratio: 1;
    padding: 15px;
    border: 1px dashed var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

#qrMessage {
    display: none;
    text-align: center;
    max-width: 230px;
}

.qr-icon {
    display: block;
    font-size: 60px;
    color: var(--green);
}

#qrMessage strong {
    display: block;
    color: var(--green);
    margin: 8px 0;
}

#qrMessage p {
    color: var(--muted);
    font-size: 12px;
}

.payment-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px;
}

.contact-section {
    background: #f2ecdf;
}

.contact-section .primary-button {
    margin-top: 5px;
}

.overlay,
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100;
    display: none;
}

.overlay.active,
.modal-overlay.active {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(440px, 100%);
    height: 100%;
    background: var(--cream);
    z-index: 110;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.drawer-header h2 {
    color: var(--green);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.close-button {
    border: 0;
    background: transparent;
    font-size: 23px;
    color: var(--green);
    padding: 5px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 70px;
    height: 85px;
    object-fit: cover;
    background: var(--cream-dark);
}

.cart-item h3 {
    font-size: 14px;
    color: var(--green);
}

.cart-item p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control button {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border);
    background: white;
}

.remove-button {
    border: 0;
    background: transparent;
    color: #9c4337;
    font-size: 12px;
}

.cart-footer {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.total-row,
.checkout-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.total-row strong,
.checkout-summary strong {
    color: var(--green);
    font-size: 21px;
}

.full-button {
    width: 100%;
}

.modal-overlay {
    z-index: 130;
    overflow-y: auto;
    padding: 25px 12px;
    align-items: flex-start;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.checkout-modal {
    background: var(--cream);
    width: min(520px, 100%);
    padding: 25px;
    margin: auto;
    box-shadow: var(--shadow);
}

.checkout-modal form {
    padding-top: 20px;
}

.checkout-modal label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 15px 0 6px;
}

.checkout-modal input,
.checkout-modal textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    background: white;
    outline-color: var(--gold);
    border-radius: 3px;
}

.checkout-summary {
    padding-top: 22px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
}

.checkout-payment-note {
    background: #eee7d7;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 12px;
}

.checkout-payment-note strong {
    color: var(--green);
}

.checkout-payment-note p {
    margin-top: 6px;
    color: var(--muted);
}

.footer {
    padding: 40px 15px;
    text-align: center;
    background: var(--green);
    color: var(--cream);
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 3px;
}

.footer p {
    margin-top: 10px;
    font-size: 12px;
    color: #d8ddcf;
}

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

    .hero {
        padding-left: 6%;
        padding-right: 6%;
        gap: 35px;
    }
}

@media (max-width: 760px) {
    .header {
        flex-wrap: wrap;
        min-height: 72px;
        padding: 12px 5%;
        gap: 12px;
    }

    .brand {
        font-size: 19px;
        margin-right: auto;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .cart-button {
        order: 3;
        padding: 9px 12px;
    }

    .header nav {
        display: none;
        width: 100%;
        order: 4;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .header nav.open {
        display: flex;
    }

    .header nav a {
        padding: 12px 0;
        border-top: 1px solid var(--border);
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 55px 7%;
        gap: 40px;
    }

    .hero-frame {
        max-width: 420px;
        margin: auto;
    }

    .hero-frame img {
        height: 320px;
    }

    .benefits {
        gap: 12px;
        padding: 22px 5%;
        font-size: 11px;
    }

    .section {
        padding: 65px 5%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

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

    .product-card {
        padding: 8px;
    }

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

    .product-description {
        font-size: 11px;
    }

    .thumbnail {
        width: 38px;
        height: 38px;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar input,
    .filter-bar select {
        width: 100%;
    }
}

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

    .product-card {
        padding: 12px;
    }

    .product-main-image {
        aspect-ratio: 4 / 4.5;
    }

    .cart-button {
        font-size: 11px;
    }
}
.developer-signature {
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    font-size: 11px;
    color: #777;
}

.developer-signature span {
    display: block;
    margin-bottom: 3px;
}

.developer-signature a {
    color: #777;
    text-decoration: none;
    font-size: 11px;
}