/* ============================================================
   AJ FLOWERS — Theme: Original (Classic Green & Gold)
   The original site design: forest green, gold, Poppins +
   Playfair Display.
   ============================================================ */

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

:root {
    /* near-black green: the mint chrome carries the colour, so titles,
       prices and buttons stay quiet behind it. White on this is 12.7:1 */
    --green:       #22352c;
    --green-mid:   #33503f;
    --green-light: #dae8dd;                    /* announcement strip, measured */
    --sage:        #c9decf;                    /* header bar, measured */
    --sage-deep:   #6e9480;
    --gold:        #a8823f;                    /* the wordmark gold, measured */
    --gold-deep:   #86682f;
    --gold-light:  #d9b978;
    --gold-pale:   #f6efdf;
    --plum:        #2d6a4f;
    --plum-soft:   #5a5a5a;
    --dark:        #1e2b25;   /* text — near-black on the mint's hue, 14.3:1 on white */
    --gray:        #5d6d65;   /* muted — 5.5:1 on white, 4.7:1 on the pale bands */
    --light:       #eef3ef;   /* the banded sections: pale mint, not warm cream */
    --white:       #ffffff;
    --cream:       #ffffff;
    --border:      #ddd8cc;
    --hairline:    #e5e1d6;
    --shadow:      0 4px 24px rgba(0,0,0,.10);
    --shadow-sm:   0 2px 12px rgba(0,0,0,.07);
    --radius:      12px;
    --transition:  .3s ease;
    --font-serif:  'Playfair Display', serif;
    --font-sans:   'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    font-size: 15px;
}

h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.25; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn:hover { background: var(--gold-deep); color: var(--white); border-color: var(--gold-deep); transform: translateY(-2px); }
.btn-primary  { background: var(--gold-deep); color: var(--white); border-color: var(--gold-deep); }
.btn-primary:hover  { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(134,104,47,.28); }
.btn-secondary { background: transparent; color: var(--gold-deep); border-color: var(--gold-deep); }
.btn-secondary:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-2px); }
.btn-outline   { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover  { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-light     { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-light:hover    { background: var(--gold-pale); color: var(--green); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.btn-fill { background: var(--gold-deep); color: var(--white); border-color: var(--gold-deep); }
.btn-sm { padding: 8px 18px; font-size: 12px; }

/* Cart and checkout style their own buttons from --green inside the
   views; this theme wants them gold like every other call to action. */
.checkout-btn,
.place-order-btn,
.promo-input-row button,
.promo-row button[type=submit] { background: var(--gold-deep) !important; }
.checkout-btn:hover,
.place-order-btn:hover,
.promo-input-row button:hover,
.promo-row button[type=submit]:hover { background: var(--gold) !important; }

/* ===== NAVBAR ===== */
/* Mint bar carrying a gold wordmark, as in the design she sent. */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--sage);
    border-bottom: 1px solid rgba(45, 106, 79, .10);
    box-shadow: none;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    gap: 16px;
}
.navbar-brand { order: 0; }
.navbar-menu  { order: 1; }
.navbar-icons { order: 2; }
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* The photo logo gives way to the wordmark; kept for any view that
   still renders it. */
.logo img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
}
.logo span em { font-style: normal; }

.wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
/* The AJ is the shop's own artwork, keyed out of images/logo.jpeg: the
   gold sits at hue 40-49 against a 50-69 sage, so it separates cleanly.
   FLOWERS stays live text — inside the printed oval it is tiny, and
   scaling the whole block to fit a header bar made it unreadable. */
.logo .wordmark-top {
    width: 66px;
    height: 56px;
    background: url('/images/wordmark-aj.png') no-repeat center center;
    background-size: contain;
    text-indent: -9999px;   /* the anchor carries an aria-label */
    overflow: hidden;
}
.logo .wordmark-bottom {
    font-family: var(--font-serif);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: .34em;
    text-indent: .34em;
    color: var(--gold);
    margin-top: 3px;
}

.navbar-menu { display: flex; gap: 36px; }
.navbar-menu a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gray);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}
.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--green); }
.navbar-menu a:hover::after, .navbar-menu a.active::after { width: 100%; }

/* overlay is used by the poli theme drawer only */
.nav-overlay { display: none; }
/* left icon group is transparent to the header layout in this theme */
.navbar-lead { display: contents; }

.navbar-icons { display: flex; gap: 18px; }
.icon-link {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--gold-deep);
    transition: var(--transition);
}
.icon-link:hover { background: rgba(255,255,255,.45); color: var(--gold-deep); }
.cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    font-family: var(--font-sans);
    line-height: 1;
}

/* utility / announcement bar — classic green band */
.announcement-bar { display: none; }
.utility-bar {
    background: var(--green-light);
    color: var(--gold-deep);
    font-family: var(--font-serif);
    font-size: 13.5px;
    letter-spacing: .01em;
    text-transform: none;
    text-align: center;
    padding: 9px 16px;
    position: relative;
}
.utility-bar .utility-social {
    position: absolute;
    left: 24px; top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 14px;
    z-index: 2;
}
.utility-bar .utility-social a { color: var(--gold-deep); font-size: 13px; }
.utility-bar .utility-social a:hover { color: var(--green); }

/* ===== HERO ===== */
.hero-section {
    background-color: var(--green);
    background-size: cover;
    background-position: center;
    padding: 110px 0 130px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 0;
    display: block;
}
/* the photograph needs a wash under the words, but a light one: the
   design she sent keeps the flowers bright */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,45,33,.38) 0%, rgba(20,45,33,.58) 100%);
    z-index: 0;
}
.hero-section > * { position: relative; z-index: 1; }
.hero-section::before {
    content: '';
    position: absolute;
    inset: auto;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,160,80,.15) 0%, transparent 65%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(201,160,80,.10) 0%, transparent 65%);
    border-radius: 50%;
}
.hero-leaf, .hero-eyebrow { display: none; }
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; padding: 0; }
.hero-title {
    font-size: clamp(38px, 5vw, 66px);
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(16, 38, 28, .55);
}
.hero-title em {
    font-style: normal;
    color: var(--gold);
}
.hero-divider {
    display: block;
    width: 60px; height: 2px;
    background: var(--gold);
    margin: 20px auto;
    opacity: .7;
}
.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.95);
    text-shadow: 0 1px 12px rgba(16, 38, 28, .65);
    margin-bottom: 44px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: none;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--dark);
    margin-bottom: 12px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
}
.section-title::after {
    content: '';
    display: block;
    width: 48px; height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}
.section-subtitle {
    font-size: 15px;
    color: var(--gray);
    text-align: center;
    margin-top: 16px;
    margin-bottom: 48px;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== FEATURED COLLECTIONS ===== */
.featured-collections { background: var(--white); }
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    gap: 24px;
}
.collection-card {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.collection-image {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform .5s ease;
}
.collection-card:hover .collection-image { transform: scale(1.04); }
.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,35,18,.75) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 24px;
    color: var(--white);
}
.collection-overlay h3 { font-size: 21px; margin-bottom: 4px; color: var(--white); background: none; padding: 0; letter-spacing: 0; text-transform: none; max-width: none; }
.collection-overlay p  { font-size: 13px; color: var(--gold-light); display: block; }

/* ===== PRODUCTS ===== */
.products-section { padding-top: 40px; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 52px;
}
.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
    text-align: left;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-image { display: block; position: relative; overflow: hidden; aspect-ratio: 1; margin-bottom: 0; border: none; background: var(--light); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.07); }
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,35,18,.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay .btn { background: var(--white); color: var(--green); border-color: var(--white); }
.product-overlay .btn:hover { background: var(--gold-pale); color: var(--green); }
.product-info { padding: 18px; text-align: left; }
.product-title { font-family: var(--font-serif); font-size: 16px; margin-bottom: 6px; color: var(--dark); font-weight: 600; }
.product-description { font-size: 12px; color: var(--gray); margin-bottom: 12px; display: block; }
.product-price { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 8px; }
.price { font-size: 17px; font-weight: 600; color: var(--green); }
.original-price { font-size: 13px; color: #bbb; text-decoration: line-through; }
.product-rating { display: flex; align-items: center; gap: 3px; font-size: 12px; color: #ddd; }
.product-rating .filled { color: var(--gold); }
.product-rating span { color: var(--gray); margin-left: 5px; }

/* ===== FILTERS ===== */
.shop-filters { padding: 0 0 10px; }
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.filter-categories { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 20px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.sort-select {
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--white);
    cursor: pointer;
    outline: none;
}

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; list-style: none; }
.pagination .page-item .page-link,
.page-link {
    min-width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
    transition: var(--transition);
    padding: 0 14px;
    background: var(--white);
}
.page-link:hover, .page-link.active, .pagination .page-item.active .page-link {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.pagination .page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ===== FEATURES ===== */
.features-section { background: var(--light); border-top: 1px solid var(--border); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}
.feature-item i { font-size: 34px; color: var(--gold); margin-bottom: 14px; display: block; width: auto; height: auto; border: none; background: none; }
.feature-item h3 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.feature-item p  { font-size: 13px; color: var(--gray); }

/* ===== ABOUT / STORY ===== */
.about-preview { background: var(--light); border-top: none; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-content .section-title { text-align: left; }
.about-content .section-title::after { margin-left: 0; }
.about-content > p { color: var(--gray); margin-bottom: 24px; line-height: 1.85; }
.feature-list { margin-bottom: 32px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    color: var(--dark);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list i { color: var(--gold); font-size: 15px; }
.about-image::before { content: none; }
.about-image img { width: 100%; border-radius: var(--radius); border: none; box-shadow: var(--shadow); }

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.story-image::before { content: none; }
.story-image img { width: 100%; border-radius: var(--radius); border: none; box-shadow: var(--shadow); }
.story-content h2 { font-size: 32px; margin-bottom: 20px; color: var(--green); text-transform: none; letter-spacing: 0; }
.story-content p  { color: var(--gray); line-height: 1.9; margin-bottom: 16px; }

/* ===== VALUES ===== */
.values-section { background: var(--light); border-top: none; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.value-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    transition: var(--transition);
}
.value-card::before { content: none; }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value-card i    { font-size: 34px; color: var(--gold); margin-bottom: 16px; display: block; width: auto; height: auto; border: none; background: none; }
.value-card h3   { font-size: 20px; color: var(--green); margin-bottom: 10px; }
.value-card p    { font-size: 14px; color: var(--gray); line-height: 1.75; }

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.team-member { text-align: center; }
.team-member img {
    width: 160px; height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 3px solid var(--gold);
    box-shadow: none;
    transition: border-color var(--transition);
}
.team-member:hover img { border-color: var(--green); }
.team-member h3 { font-size: 18px; color: var(--dark); margin-bottom: 4px; }
.team-member p  { font-size: 13px; color: var(--gold); letter-spacing: .03em; text-transform: none; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--green-light); border-top: none; }
.testimonials .section-title { color: var(--green); }
.testimonials .section-title::after { background: var(--gold); }
.testimonials .section-subtitle { color: var(--gold-deep); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid rgba(168,130,63,.22);
    transition: var(--transition);
}
.testimonial-card:hover { background: var(--white); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.testimonial-content i { font-size: 22px; color: var(--gold); margin-bottom: 14px; display: block; }
.testimonial-content p { color: var(--plum-soft); font-style: italic; line-height: 1.85; margin-bottom: 20px; font-size: 15px; font-family: var(--font-sans); }
.testimonial-author h4 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--green); }
.testimonial-author span { font-size: 12px; color: var(--gold-deep); letter-spacing: .04em; text-transform: uppercase; }

/* ===== CTA ===== */
.cta-section {
    background-color: var(--gold-pale);
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    text-align: center;
    border-top: 3px solid var(--gold);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}
/* dark enough to carry white type, light enough to keep the flowers */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,45,33,.52) 0%, rgba(20,45,33,.66) 100%);
    z-index: 0;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(28px, 3.5vw, 40px); color: var(--white); margin-bottom: 16px; text-transform: none; letter-spacing: 0; text-shadow: 0 2px 18px rgba(16,38,28,.5); }
.cta-content p  { color: rgba(255,255,255,.92); font-size: 16px; margin-bottom: 36px; text-shadow: 0 1px 12px rgba(16,38,28,.55); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.cta-buttons .btn:hover { background: var(--white); color: var(--green); border-color: var(--white); }

/* ===== PAGE HEADERS ===== */
.shop-header, .about-header, .contact-header, .cart-header, .checkout-header {
    background: linear-gradient(180deg, var(--sage) 0%, var(--green-light) 100%);
    padding: 60px 0 50px;
}
.shop-header::after, .about-header::after, .contact-header::after,
.cart-header::after, .checkout-header::after { content: none; }
.shop-header .section-title, .about-header .section-title, .contact-header .section-title,
.cart-header .section-title, .checkout-header .section-title { color: var(--green); }
.shop-header .section-title::after, .about-header .section-title::after,
.contact-header .section-title::after, .cart-header .section-title::after,
.checkout-header .section-title::after { background: var(--gold); }
.shop-header .section-subtitle, .about-header .section-subtitle,
.contact-header .section-subtitle { color: var(--gold-deep); margin-bottom: 0; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 72px;
}
.contact-info h2, .contact-form h2 { font-size: 28px; color: var(--green); margin-bottom: 28px; text-transform: none; letter-spacing: 0; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item > i {
    width: 44px; height: 44px;
    background: var(--green-light);
    color: var(--green);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.contact-item h3  { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; letter-spacing: 0; text-transform: none; }
.contact-item p   { font-size: 13px; color: var(--gray); line-height: 1.75; }

.social-links h3   { font-size: 16px; color: var(--green); margin-bottom: 14px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
    width: 40px; height: 40px;
    background: var(--green-light);
    color: var(--green);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.social-icons a:hover { background: var(--green); color: var(--white); transform: translateY(-3px); }

/* ===== FORMS ===== */
.message-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,74,46,.08); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ===== MAP ===== */
.map-section { background: var(--light); border-top: none; }
.map-placeholder {
    height: 280px;
    background: linear-gradient(135deg, var(--green-light) 0%, var(--gold-pale) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gold);
}
.map-content { text-align: center; }
.map-content i    { font-size: 48px; color: var(--green); margin-bottom: 16px; display: block; }
.map-content h3   { font-size: 22px; color: var(--green); margin-bottom: 10px; }
.map-content p    { font-size: 14px; color: var(--gray); margin-bottom: 20px; }

/* ===== SEARCH BAR ===== */
.search-bar {
    border-top: 1px solid var(--border);
    padding: 14px 0;
    background: var(--white);
    animation: slideDown .2s ease;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.search-form input {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color var(--transition);
}
.search-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,74,46,.08); }
.search-form button {
    width: 42px; height: 42px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.search-form button[type=submit] { background: var(--green); color: #fff; }
.search-form button[type=submit]:hover { background: var(--green-mid); }
.search-form button#searchClose { background: var(--light); color: var(--gray); border: 1px solid var(--border); }
.search-form button#searchClose:hover { background: var(--border); }

/* ===== ALERTS ===== */
.alert-success {
    background: #e6f4ea;
    color: #2e7d32;
    border: 1px solid #c3e6cb;
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
}
.alert-success i { color: #2e7d32; margin-right: 8px; }

/* ===== FOOTER (columns layout) ===== */
.footer { background: var(--sage); color: var(--plum-soft); padding: 64px 0 0; text-align: left; border-top: none; }
.footer-ornament { display: none; }
.footer .container { padding-top: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(45,106,79,.18);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img {
    width: 56px; height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
}
/* the same mark as the header: the AJ as artwork, FLOWERS as text.
   Extracting FLOWERS too loses the W — its diagonals are fine enough
   that their highlights merge into the sage and the key drops them. */
.footer-brand img { display: none; }
.footer-column h3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0;                 /* hides "AJ Flowers"; the pieces below draw it */
    margin: 0;
}
.footer-column h3::before {
    content: '';
    width: 86px;
    height: 71px;
    background: url('/images/wordmark-aj.png') no-repeat center center;
    background-size: contain;
}
.footer-column h3::after {
    content: 'FLOWERS';
    font-family: var(--font-serif);
    font-size: 12px;
    letter-spacing: .34em;
    text-indent: .34em;
    color: var(--gold);
    margin-top: 4px;
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    /* a step darker than --gold-deep: 11px caps on mint need 4.5:1 */
    color: #6b5325;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 18px;
}
.footer-column p  { font-size: 14px; line-height: 1.85; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul a { font-size: 14px; color: var(--plum-soft); transition: color var(--transition); text-transform: none; letter-spacing: 0; }
.footer-column ul a:hover { color: var(--gold-deep); }
.footer-column .fas, .footer-column .fa { margin-right: 8px; color: var(--gold-deep); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; justify-content: flex-start; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(168,130,63,.45);
    border-radius: 50%;
    color: var(--gold-deep);
    font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-2px); }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.newsletter-form input {
    padding: 11px 16px;
    border-radius: 4px;
    border: 1px solid rgba(168,130,63,.35);
    background: var(--white);
    color: var(--green);
    font-size: 13px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: var(--gray); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
    padding: 11px 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); color: var(--dark); }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--plum-soft);
    border-top: none;
    margin-top: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .about-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .navbar-menu { gap: 22px; }
}

@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .collections-grid { grid-template-columns: 1fr 1fr; }
    .hero-section { padding: 72px 0 88px; }
    .filter-bar { flex-direction: column; align-items: flex-start; }
    .logo img { width: 52px; height: 52px; }
    .logo > span:not(.wordmark) { font-size: 21px; }

    /* Mobile menu */
    .hamburger { display: flex !important; }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
        z-index: 99;
        gap: 0;
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu a {
        padding: 13px 0;
        font-size: 15px;
        border-bottom: 1px solid var(--border);
    }
    .navbar-menu a:last-child { border-bottom: none; }
    .navbar .container {
        height: 74px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    .navbar-lead   { display: flex; align-items: center; gap: 2px; justify-self: start; }
    .navbar-brand  { justify-self: center; }
    .navbar-icons  { justify-self: end; gap: 6px; }
    .logo .wordmark-top { width: 58px; height: 49px; }
    .logo .wordmark-bottom { font-size: 10px; letter-spacing: .3em; text-indent: .3em; }
}
