/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Design Tokens ── */
:root {
    --cream:        #FDFBF7;
    --cream-deep:   #F5EFE4;
    --navy:         #272E55;
    --navy-light:   #3D4675;
    --gold:         #E5C385;
    --gold-dark:    #C9A55A;
    --gold-pale:    #F5E9CC;
    --text-body:    #4A4058;
    --text-muted:   #8A85A0;
    --border:       rgba(39, 46, 85, 0.1);
    --border-gold:  rgba(229, 195, 133, 0.5);
    --shadow-sm:    0 2px 12px rgba(39, 46, 85, 0.06);
    --shadow-md:    0 8px 32px rgba(39, 46, 85, 0.1);
    --shadow-lg:    0 20px 56px rgba(39, 46, 85, 0.14);
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
    background-color: var(--cream);
    color: var(--text-body);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.75;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

li  { list-style: none; }
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── Shared CTA Button ── */
.link-btn {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold);
    border: none;
    padding: 14px 36px;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.link-btn:hover {
    background: var(--gold-dark);
    box-shadow: 0 8px 24px rgba(229, 195, 133, 0.4);
    transform: translateY(-1px);
}

/* ── Waitlisted button: "✓ On Waitlist", swaps to "Remove" on hover/focus ── */
.is-waitlisted .wl-label-remove { display: none; }
.is-waitlisted:hover .wl-label-on,
.is-waitlisted:focus-visible .wl-label-on { display: none; }
.is-waitlisted:hover .wl-label-remove,
.is-waitlisted:focus-visible .wl-label-remove { display: inline; }

/* Touch screens have no hover — always show the "Remove" label */
@media (hover: none) {
    .is-waitlisted .wl-label-on     { display: none; }
    .is-waitlisted .wl-label-remove { display: inline; }
}

/* ── Outlined Button Variant ── */
.link-btn-outline {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    background: transparent;
    border: 1.5px solid var(--navy);
    padding: 13px 34px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.link-btn-outline:hover {
    background: var(--navy);
    color: var(--cream);
}

/* ── Section Label ── */
.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.section-label span {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold-dark);
    opacity: 0.55;
}

/* ── About Us ── */
.about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 112px 40px;
    margin: 0 auto;
    background: var(--cream-deep);
}

.about-us h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
    color: var(--navy);
}

.about-us p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2;
    margin-bottom: 38px;
    max-width: 540px;
}

/* ── Our Story ── */
.our-story {
    position: relative;
    overflow: hidden;
    padding: 112px 40px;
    text-align: center;
}

.our-story::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 12rem;
    color: var(--gold);
    opacity: 1;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    line-height: 1;
}

.our-story-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.our-story h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.22;
    margin-bottom: 22px;
    color: var(--navy);
}

.our-story p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 2;
    max-width: 580px;
}

.our-story .link-btn-outline { margin-top: 28px; }

.our-story .section-label span { color: var(--gold); }
.our-story .section-label::before,
.our-story .section-label::after { background: var(--gold); opacity: 0.5; }

@media (max-width: 310px) {
    .newsletter-form{
        flex-direction: column;
    }
    .newsletter-form button {
        width: 50%;
        margin-top: 10px;
        
    }
}

/* ── Product / category photos ──
   Any image placeholder box gets .has-photo + an <img> when a real photo exists
   (user/php/product_images.php → photo_box). The photo fills the same box. */
.has-photo {
    position: relative;
    overflow: hidden;
    background-image: none !important;
}

.has-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
