/* ==========================================================================
   RememberMe — Landing page stylesheet
   Loaded by resources/views/layouts/website.blade.php
   Palette mirrors the memorial theme (cream / gold / brown).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --cream:      #f6f1e7;
    --cream-2:    #efe7d6;
    --paper:      #fffdf8;
    --gold:       #c2a661;
    --gold-2:     #d8bf82;
    --gold-dark:  #a8894a;
    --brown:      #4a3f2f;
    --brown-2:    #3a3020;
    --brown-soft: #6f6353;
    --ink:        #33291c;
    --line:       #e5dcc8;
    --white:      #ffffff;

    --panel-gold: #e7d7ad;
    --hero-1:     #2b3a3f;
    --hero-2:     #16232b;

    --shadow-sm: 0 4px 14px rgba(74, 63, 47, .10);
    --shadow:    0 12px 34px rgba(74, 63, 47, .14);
    --shadow-lg: 0 22px 50px rgba(20, 15, 5, .28);

    --radius:    16px;
    --radius-sm: 10px;
    --container: 1180px;
    --header-h:  74px;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Guard against any stray element pushing the page wider than the screen. */
    overflow-x: hidden;
}

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

h1, h2, h3, .serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: .3px;
    line-height: 1.15;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1;
    cursor: pointer;
    transition: transform .06s ease, filter .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: #3a2f1c; border-color: var(--gold); }
.btn-gold:hover { filter: brightness(1.05); }

.btn-outline { background: transparent; color: var(--brown); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #3a2f1c; }

.btn-light-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-light-outline:hover { background: #fff; color: var(--brown); border-color: #fff; }

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--brown);
    text-align: center;
}
.section-title.light { color: #fff; }
.section-title.text-left { text-align: left; }

.section-lead {
    max-width: 720px;
    margin: 14px auto 0;
    text-align: center;
    color: var(--brown-soft);
    font-size: 15px;
}
.section-lead.light { color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 248, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-left { flex: 1; }
.nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--brown-soft);
    position: relative;
    padding: 6px 0;
    transition: color .16s ease;
}
.nav-link:hover, .nav-link.active { color: var(--brown); }
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.brand { flex-shrink: 0; }
.brand-badge {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.brand-badge img { width: 30px; height: 30px; object-fit: contain; }
.brand-badge-sm { width: 40px; height: 40px; }
.brand-badge-sm img { width: 22px; height: 22px; }

.nav-actions { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
.mobile-menu.is-open { display: flex; }
.mobile-link {
    padding: 12px 6px;
    font-weight: 500;
    color: var(--brown);
    border-bottom: 1px solid var(--line);
}
.mobile-actions { display: flex; gap: 12px; margin-top: 14px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    background-color: var(--hero-2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 90px 24px;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.hero-title {
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}
.hero-subtitle {
    margin: 20px auto 0;
    max-width: 620px;
    font-size: 16px;
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* --------------------------------------------------------------------------
   7. Why choose
   -------------------------------------------------------------------------- */
.why {
    padding: 80px 0;
    background: linear-gradient(160deg, #ffffff 0%, #f1eff7 100%);
}

.feature-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* left dark-gold fading to cream on the right */
    background: linear-gradient(90deg, #c6a14c 0%, #d9c084 38%, #ecdcb4 68%, #f7eeda 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.feature-card {
    position: relative;
    padding: 34px 30px 40px;
    border-right: 1px solid rgba(74, 63, 47, .12);
}
.feature-card:last-child { border-right: none; }

.feature-top {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 42px;
}
.feature-rule { flex: 1; height: 1px; background: rgba(74, 63, 47, .22); }
.feature-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 66px; height: 66px;
    border-radius: 16px;
    background: rgba(255, 253, 248, .55);
    box-shadow: 0 6px 16px rgba(74, 63, 47, .12);
}
.feature-icon img { width: 34px; height: 34px; object-fit: contain; }
.feature-title { font-size: 20px; font-weight: 700; color: var(--brown); margin-bottom: 10px; }
.feature-text { font-size: 14px; color: var(--brown-soft); }

/* --------------------------------------------------------------------------
   8. About
   -------------------------------------------------------------------------- */
.about { padding: 20px 0 80px; }
.about-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}
.about-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background:
        radial-gradient(90% 70% at 50% 120%, rgba(194, 166, 97, .45), transparent 60%),
        linear-gradient(160deg, #6f7d5e 0%, #3f4a38 100%);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.about-photo::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
}
.about-photo-icon { font-size: 60px; color: rgba(255, 236, 190, .9); text-shadow: 0 0 30px rgba(255, 190, 90, .7); }
.about-content p { margin-bottom: 14px; font-size: 15px; color: var(--brown-soft); }
.about-content .btn { margin-top: 10px; }
.about-content .section-title { margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   9. Plaques carousel
   -------------------------------------------------------------------------- */
.plaques { padding: 70px 0; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }

.carousel {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.carousel-viewport { flex: 1; overflow: hidden; padding: 18px 2px; }
.carousel-track {
    display: flex;
    gap: 22px;
    transition: transform .45s cubic-bezier(.4, .1, .2, 1);
    will-change: transform;
}

.carousel-arrow {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--brown);
    font-size: 15px;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    transition: background .16s ease, color .16s ease, transform .06s ease;
}
.carousel-arrow:hover { background: var(--gold); color: #fff; }
.carousel-arrow:active { transform: translateY(1px); }
.carousel-arrow.light { background: #fff; border-color: #fff; color: #16407a; }
.carousel-arrow.light:hover { background: #eaa62c; color: #fff; border-color: #eaa62c; }

.plaque-card {
    flex: 0 0 calc((100% - 88px) / 5);
    max-width: calc((100% - 88px) / 5);
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
a.plaque-card { cursor: pointer; }
a.plaque-card:hover .plaque-photo {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
a.plaque-card.is-featured:hover .plaque-photo {
    transform: scale(1.08) translateY(-4px);
}
.plaque-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    background: #43503a;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.plaque-photo img { width: 100%; height: 100%; object-fit: cover; }
.plaque-card.is-featured .plaque-photo {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}
.plaque-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 26px 16px 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82));
    color: #fff;
}
.plaque-overlay-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.3;
}
.plaque-overlay-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-size: 12.5px;
    color: var(--gold-2);
    font-weight: 600;
    transition: gap .18s ease;
}
a.plaque-card:hover .plaque-overlay-link { gap: 9px; }

/* Small icon-only QR marker (top-right of the photo) */
.plaque-qr {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 13px;
    color: #3a2f1c;
    background: rgba(216, 191, 130, .95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    backdrop-filter: blur(2px);
}

/* Loading skeletons (shown while the first API chunk loads) */
.plaque-card.is-skeleton .plaque-photo { background: #e7e2d6; }
.plaque-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #e7e2d6 30%, #f3efe6 50%, #e7e2d6 70%);
    background-size: 200% 100%;
    animation: plaque-shimmer 1.3s ease-in-out infinite;
}
@keyframes plaque-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .plaque-shimmer { animation: none; }
}

/* Empty state (no available products) */
.plaques-empty {
    margin-top: 32px;
    text-align: center;
    color: var(--brown);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    padding: 74px 0 90px;
    background:
        radial-gradient(130% 120% at 22% 8%, #275a95 0%, #16407a 42%, #0b2647 100%);
    border-top: 3px solid #3b7fd4;
}
.testimonial-carousel { margin-top: 44px; }
/* extra top room so the overlapping avatars aren't clipped by the viewport */
.testimonial-carousel .carousel-viewport { padding: 58px 2px 10px; }

.testimonial-card {
    flex: 0 0 calc((100% - 66px) / 4);
    max-width: calc((100% - 66px) / 4);
    position: relative;
    background: #fbfaf6;
    border-radius: 14px;
    padding: 58px 22px 26px;
    text-align: center;
    box-shadow: 0 14px 32px rgba(4, 16, 34, .30);
}
.testimonial-avatar {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    width: 90px; height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 18px rgba(4, 16, 34, .35);
    background: var(--cream-2);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-stars { color: #eaa62c; font-size: 14px; letter-spacing: 3px; margin-bottom: 8px; }
.testimonial-name { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 600; color: #16407a; margin-bottom: 8px; }
.testimonial-text { font-size: 13.5px; color: #6b7280; line-height: 1.55; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel-dots button {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .16s ease, width .16s ease;
}
.carousel-dots button.active { background: #eaa62c; width: 22px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: linear-gradient(100deg, #f7f3ea 0%, #efeade 42%, #e7e6f1 100%);
}
/* White gap between the testimonials section and the footer */
.site-footer::before {
    content: "";
    display: block;
    height: 30px;
    background: #ffffff;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 26px 24px;
}
.footer-links { justify-self: start; }
.footer-brand {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-actions { justify-self: end; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--brown); }
.footer-brand-name strong { color: var(--gold-dark); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14.5px; color: var(--brown-soft); transition: color .16s ease; }
.footer-links a:hover { color: var(--gold-dark); }
.footer-actions { display: flex; gap: 12px; }

.footer-divider { height: 1px; background: var(--line); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 24px;
    flex-wrap: wrap;
}
.copyright { font-size: 13px; color: var(--brown-soft); }
.footer-legal { font-size: 13px; color: var(--brown-soft); display: flex; align-items: center; gap: 10px; }
.footer-legal a:hover { color: var(--gold-dark); }
.footer-legal .sep { opacity: .5; }

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .plaque-card { flex-basis: calc((100% - 44px) / 3); max-width: calc((100% - 44px) / 3); }
    .testimonial-card { flex-basis: calc((100% - 44px) / 3); max-width: calc((100% - 44px) / 3); }
}

@media (max-width: 992px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card:nth-child(2n) { border-right: none; }
    .feature-card:nth-child(-n+2) { border-bottom: 1px solid rgba(74, 63, 47, .12); }
    .about-inner { grid-template-columns: 1fr; gap: 30px; }
    .plaque-card { flex-basis: calc((100% - 22px) / 2); max-width: calc((100% - 22px) / 2); }
    .testimonial-card { flex-basis: calc((100% - 22px) / 2); max-width: calc((100% - 22px) / 2); }
    .plaque-card.is-featured .plaque-photo { transform: none; }
}

@media (max-width: 768px) {
    .nav-left, .nav-actions { display: none; }
    .nav-inner { justify-content: space-between; }
    .nav-toggle { display: flex; }
    .brand { order: -1; }

    /* Auth buttons in the mobile menu stack full-width (fixes overflow when a
       logged-in admin sees both Dashboard and Logout). */
    .mobile-actions { flex-direction: column; gap: 10px; }
    .mobile-actions .btn { width: 100%; }

    /* Trim oversized desktop paddings so sections feel right on a phone. */
    .hero { min-height: 380px; }
    .hero-inner { padding: 62px 20px; }
    .why { padding: 56px 0; }
    .about { padding: 16px 0 56px; }
    .plaques { padding: 52px 0; }
    .testimonials { padding: 52px 0 66px; }
    .about-story { padding: 56px 0 66px; }

    .footer-top {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 18px;
    }
    .footer-links { justify-self: center; justify-content: center; }
    .footer-brand { order: -1; }
    .footer-actions { justify-self: center; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { border-right: none; border-bottom: 1px solid rgba(74, 63, 47, .12); padding: 28px 24px 32px; }
    .feature-card:last-child { border-bottom: none; }
    .feature-top { margin-bottom: 26px; }
    .plaque-card { flex-basis: 100%; max-width: 100%; }
    .testimonial-card { flex-basis: 100%; max-width: 100%; padding: 56px 20px 24px; }

    .hero-inner { padding: 52px 16px; }
    /* Let the copy wrap naturally instead of the desktop hard breaks. */
    .hero-subtitle br { display: none; }
    .hero-subtitle { font-size: 15px; }

    /* Tighten the carousels so the cards get more room next to the arrows. */
    .carousel { gap: 8px; }
    .carousel-arrow { width: 38px; height: 38px; font-size: 14px; }

    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
    .footer-links { gap: 16px 20px; }
    .container { padding: 0 18px; }
}

@media (max-width: 400px) {
    .section-lead { font-size: 14px; }
    .hero-title br { display: none; }
    .brand-badge { width: 46px; height: 46px; }
    .brand-badge img { width: 26px; height: 26px; }
    .about-mission-media { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Product ("memorial plaque") detail page
   -------------------------------------------------------------------------- */
.product-detail { padding: 40px 0 80px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }

.product-crumbs { margin-bottom: 26px; }
.product-crumbs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brown-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.product-crumbs a:hover { color: var(--brown); }

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    align-items: start;
}

/* Media */
.product-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #43503a;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-status-tag {
    position: absolute;
    top: 14px; left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

/* Info */
.product-category {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 10px;
}
.product-title { font-size: 34px; line-height: 1.15; color: var(--ink); margin: 0 0 12px; }
.product-price { font-size: 26px; font-weight: 700; color: var(--brown); margin-bottom: 20px; }
.product-description { color: var(--brown-soft); line-height: 1.7; font-size: 15.5px; margin-bottom: 24px; }

.product-specs {
    list-style: none;
    margin: 0 0 26px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.product-specs li { display: flex; flex-direction: column; gap: 3px; }
.product-specs span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--brown-soft); }
.product-specs strong { font-size: 15px; color: var(--ink); font-weight: 600; }

.product-subhead { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.product-features, .product-artworks { margin-bottom: 26px; }

.feature-chips, .artwork-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--paper);
}
.feature-chip.is-on { color: #2f6b3f; border-color: #bfe0c6; background: #f0f8f1; }
.feature-chip.is-on i { color: #35934f; }
.feature-chip.is-off { color: #9a8f7d; }
.feature-chip.is-off i { color: #c3b8a5; }

.artwork-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brown);
    border: 1px solid var(--line);
    background: var(--paper);
}
.artwork-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.artwork-chip:has(img) { padding-left: 6px; }

.product-cta { margin-top: 8px; }

/* Loading skeleton */
.product-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, #e7e2d6 30%, #f3efe6 50%, #e7e2d6 70%);
    background-size: 200% 100%;
    animation: plaque-shimmer 1.3s ease-in-out infinite;
}
.product-info .sk-line {
    display: block;
    height: 16px;
    margin-bottom: 14px;
    border-radius: 6px;
    background: linear-gradient(100deg, #e7e2d6 30%, #f3efe6 50%, #e7e2d6 70%);
    background-size: 200% 100%;
    animation: plaque-shimmer 1.3s ease-in-out infinite;
}
.product-info .sk-line-lg { height: 34px; width: 70%; }
.product-info .sk-line-sm { width: 40%; }
.product-info .sk-line-price { height: 26px; width: 30%; margin-bottom: 24px; }
.product-info .sk-line-70 { width: 70%; }
@media (prefers-reduced-motion: reduce) {
    .product-shimmer, .product-info .sk-line { animation: none; }
}

/* Not-found state */
.product-missing { text-align: center; padding: 60px 20px; }
.product-missing i { font-size: 46px; color: var(--gold-dark); margin-bottom: 18px; }
.product-missing h2 { font-size: 26px; color: var(--ink); margin: 0 0 8px; }
.product-missing p { color: var(--brown-soft); margin: 0 0 22px; }

@media (max-width: 860px) {
    .product-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-title { font-size: 28px; }
}

/* Product detail — "order from the app" store badges */
.product-app {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.product-app-label {
    display: block;
    font-size: 13.5px;
    color: var(--brown-soft);
    margin-bottom: 12px;
}
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 18px;
    min-width: 168px;
    border-radius: 12px;
    background: #1b1b1f;
    color: #fff;
    border: 1px solid #1b1b1f;
    transition: transform .06s ease, background .18s ease;
}
.app-badge:hover { background: #000; transform: translateY(-2px); }
.app-badge:active { transform: translateY(0); }
.app-badge i { font-size: 26px; line-height: 1; }
.app-badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.app-badge-text small { font-size: 10px; letter-spacing: .04em; text-transform: uppercase; opacity: .82; }
.app-badge-text strong { font-size: 16px; font-weight: 600; }

@media (max-width: 420px) {
    .app-badge { flex: 1; justify-content: center; min-width: 0; }
}

/* Compact store badges in the footer */
.footer-actions .app-badge {
    min-width: 0;
    padding: 7px 14px;
    border-radius: 10px;
    gap: 9px;
}
.footer-actions .app-badge i { font-size: 21px; }
.footer-actions .app-badge-text small { font-size: 9px; }
.footer-actions .app-badge-text strong { font-size: 13.5px; }

/* ==========================================================================
   About Us page
   ========================================================================== */
/* Reusable page banner */
.page-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--hero-2);
    color: #fff;
    text-align: center;
    padding: 84px 0;
    border-bottom: 3px solid #3b7fd4;
}
.page-banner-title {
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission + Vision share one continuous light gradient */
.about-blocks { background: linear-gradient(100deg, #f7f3ea 0%, #f2ede1 45%, #ece9f0 100%); }
.about-block { padding: 62px 0; }

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 54px;
}
.about-split-content h2 { margin-bottom: 16px; }
.about-split-content p { color: var(--brown-soft); line-height: 1.75; font-size: 15.5px; margin-bottom: 14px; }
.about-split-content p:last-child { margin-bottom: 0; }

.about-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--brown);
}
.about-heading-right { text-align: right; }

.about-split-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}
/* Two-image collage for the mission row (tops aligned) */
.about-mission-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}
.about-mission-media img { aspect-ratio: 3 / 4; }

/* Story band */
.about-story {
    padding: 74px 0 90px;
    background: radial-gradient(130% 120% at 22% 8%, #275a95 0%, #16407a 42%, #0b2647 100%);
    border-top: 3px solid #3b7fd4;
}
.about-story-media {
    margin-top: 36px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-story-media img { width: 100%; max-height: 460px; object-fit: cover; }

@media (max-width: 860px) {
    .about-split { grid-template-columns: 1fr; gap: 30px; }
    /* Keep the image above the text on stacked mission/vision rows */
    .about-split-reverse .about-split-media { order: -1; }
    .about-mission-media { order: -1; }
    .about-heading-right { text-align: left; }
    .page-banner { padding: 60px 0; }
}

/* ==========================================================================
   Contact Us page
   ========================================================================== */
.contact-intro { padding: 60px 0 20px; background: var(--paper); }
.contact-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
}
.contact-intro-text p { color: var(--brown-soft); line-height: 1.75; font-size: 15.5px; margin-top: 12px; }

/* Info cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 22px 18px;
    min-height: 150px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #d8bd82 0%, #cbb173 100%);
    color: #3a2f1c;
    box-shadow: var(--shadow-sm);
    transition: transform .12s ease, box-shadow .18s ease;
}
.contact-card:nth-child(2) { background: linear-gradient(160deg, #e6d2a0 0%, #d8bf88 100%); }
.contact-card:nth-child(3) { background: linear-gradient(160deg, #f2e7c9 0%, #e7d6ac 100%); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card-arrow { position: absolute; top: 16px; right: 16px; font-size: 13px; opacity: .8; }
.contact-card-icon {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(58, 47, 28, .45);
    font-size: 17px;
}
.contact-card-value { font-weight: 600; font-size: 14px; line-height: 1.35; word-break: break-word; }

/* Let's connect */
.contact-connect { padding: 40px 0 80px; background: var(--paper); }
.contact-connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    align-items: stretch;
}
.contact-connect-media { display: flex; }
.contact-connect-media img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}
.contact-form-lead { color: var(--brown-soft); line-height: 1.7; font-size: 14.5px; margin: 12px 0 20px; }

/* Bordered form card (heading + lead sit above it) */
#contactForm {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

/* Form */
#contactForm .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
#contactForm .form-field { margin-bottom: 16px; display: flex; flex-direction: column; }
#contactForm label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 7px;
}
/* Text fields only — the checkbox is excluded so it keeps its native size
   (an ID selector here would otherwise override .consent-check input). */
#contactForm input:not([type="checkbox"]),
#contactForm textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#contactForm input:not([type="checkbox"])::placeholder,
#contactForm textarea::placeholder { color: #b3a891; }
#contactForm input:not([type="checkbox"]):focus,
#contactForm textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(194, 166, 97, .15);
}
#contactForm input.is-invalid,
#contactForm textarea.is-invalid { border-color: #d1584f; }
#contactForm textarea { resize: vertical; }
.field-error { color: #d1584f; font-size: 12.5px; margin-top: 5px; min-height: 1px; }

.form-consent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 22px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.consent-check {
    flex: 1 0 240px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--brown-soft);
}
.consent-check input { flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--gold-dark); }
.consent-check a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }

/* Submit button — deeper gold to match the design */
#contactSubmit {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #b6923f 0%, #9c7a33 100%);
    border-color: #9c7a33;
    color: #fff;
}
#contactSubmit:hover { filter: brightness(1.06); }

.contact-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 18px;
}
.contact-alert.is-success { background: #eef7ef; color: #2f6b3f; border: 1px solid #bfe0c6; }
.contact-alert.is-error { background: #fbeeed; color: #b23b32; border: 1px solid #f0c9c5; }

@media (max-width: 860px) {
    .contact-intro-grid,
    .contact-connect-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-connect-media { order: -1; }
    .contact-connect-media img { max-height: 320px; }
}
@media (max-width: 560px) {
    .contact-cards { grid-template-columns: 1fr; }
    #contactForm .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-consent { flex-direction: column; align-items: stretch; }
    .form-consent .btn { width: 100%; }
}

/* ==========================================================================
   Turbo Drive loading bar
   Shown automatically at the top of the viewport during page navigations.
   ========================================================================== */
.turbo-progress-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-2));
    box-shadow: 0 0 10px rgba(194, 166, 97, 0.6);
}
