/* ====================================================================
   Powertoolboxes — pure CSS port of the React design.
   Earthy palette, Cormorant Garamond + Work Sans.
   ==================================================================== */

:root {
    --bg: #F9F6F0;
    --surface: #F2EFEB;
    --primary: #3A5A40;
    --primary-hover: #2B4330;
    --secondary: #E07A5F;
    --secondary-hover: #D1674A;
    --text: #2C302E;
    --muted: #5C635F;
    --border: rgba(44,48,46,0.15);
    --border-strong: rgba(44,48,46,0.25);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

a { color: inherit; text-decoration: none; transition: color 200ms ease; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

::selection { background: var(--primary); color: var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ----- Layout ----- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 4rem; } }

/* ----- Typography helpers ----- */
.overline {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--muted);
    display: block;
}
.display-1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
.display-2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }

/* ----- Buttons ----- */
.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    font-weight: 500;
    transition: background-color 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); padding: 0.875rem 1.75rem; }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-block { width: 100%; justify-content: center; }
button:disabled, .btn-primary:disabled, .btn-secondary:disabled { opacity: 0.55; cursor: not-allowed; }

/* ----- Forms ----- */
.input-base, input[type=text], input[type=email], input[type=tel], textarea {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(44,48,46,0.18);
    padding: 0.875rem 1rem;
    border-radius: 2px;
    color: var(--text);
    font-family: "Work Sans", sans-serif;
    transition: border-color 200ms ease;
}
.input-base:focus, input:focus, textarea:focus { outline: none; border-color: var(--primary); }
label.field { display: block; margin-bottom: 1.25rem; }
label.field span { display: block; margin-bottom: 0.5rem; }

/* ----- Header ----- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(249,246,240,0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(44,48,46,0.1);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}
@media (min-width: 768px) { .logo { font-size: 1.85rem; } }

.nav-desktop { display: none; gap: 2.5rem; }
.nav-desktop a { font-size: 0.9rem; color: var(--text); }
.nav-desktop a:hover { color: var(--primary); }
.nav-desktop a.active { color: var(--primary); font-weight: 500; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-btn { position: relative; padding: 0.5rem; border-radius: 2px; transition: background-color 200ms ease; display: inline-flex; }
.cart-btn:hover { background: var(--surface); }
.cart-badge {
    position: absolute; top: -2px; right: -2px;
    background: var(--secondary); color: #fff;
    font-size: 10px; font-weight: 500;
    width: 18px; height: 18px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.cart-badge[hidden] { display: none; }

.menu-toggle { padding: 0.5rem; border-radius: 2px; }
.menu-toggle:hover { background: var(--surface); }
@media (min-width: 768px) { .menu-toggle { display: none; } }

.nav-mobile { display: flex; flex-direction: column; padding: 1rem 1.5rem; border-top: 1px solid rgba(44,48,46,0.1); background: var(--bg); }
.nav-mobile a { padding: 0.6rem 0; color: var(--text); }
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile[hidden] { display: none; }

/* ----- Hero ----- */
.hero {
    position: relative;
    height: 88vh;
    min-height: 600px;
    overflow: hidden;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex; align-items: flex-end;
    padding-bottom: 5rem;
}
@media (min-width: 768px) { .hero-content { padding-bottom: 8rem; } }
.hero-content .overline { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.hero-content h1 {
    color: #fff;
    font-size: clamp(3rem, 8vw, 5rem);
    text-shadow: 0 2px 24px rgba(0,0,0,0.3);
    max-width: 36rem;
}
.hero-content p {
    color: rgba(255,255,255,0.85);
    margin-top: 2rem;
    max-width: 28rem;
    font-size: 1.05rem;
    line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover { background: #fff; color: var(--text); border-color: #fff; }

/* ----- Benefits ----- */
.benefits {
    padding: 5rem 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(4, 1fr); padding: 7rem 0; } }
.benefit { display: flex; flex-direction: column; gap: 0.75rem; }
.benefit svg { width: 24px; height: 24px; color: var(--primary); }
.benefit h3 { font-size: 1.4rem; }
.benefit p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* ----- Section heading row ----- */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-head {
    display: flex; flex-direction: column; gap: 1.5rem;
    margin-bottom: 4rem;
}
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.5rem; } }
.section-head h2 { font-size: clamp(2.25rem, 4vw, 3rem); }

/* ----- Product card ----- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.product-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.product-card { display: block; }
.product-image {
    overflow: hidden;
    background: var(--surface);
    aspect-ratio: 4 / 5;
    margin-bottom: 1.25rem;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.product-meta h3 {
    font-size: 1.5rem;
    color: var(--text);
    transition: color 200ms ease;
}
.product-card:hover .product-meta h3 { color: var(--primary); }
.product-meta .price { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; white-space: nowrap; }

/* ----- About teaser ----- */
.about-teaser {
    display: grid; gap: 3rem; align-items: center;
    grid-template-columns: 1fr;
    padding: 5rem 0;
}
@media (min-width: 768px) {
    .about-teaser { grid-template-columns: 7fr 5fr; gap: 4rem; padding: 8rem 0; }
}
.about-teaser h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.about-teaser p { color: var(--muted); font-size: 1.05rem; margin-top: 2rem; max-width: 32rem; line-height: 1.7; }

/* ----- Newsletter ----- */
.newsletter {
    background: var(--surface);
    padding: 6rem 0;
    text-align: center;
}
@media (min-width: 768px) { .newsletter { padding: 8rem 0; } }
.newsletter h2 { font-size: clamp(2.25rem, 4vw, 3rem); margin-top: 1.25rem; }
.newsletter p { color: var(--muted); margin-top: 1.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.newsletter form {
    display: flex; flex-direction: column; gap: 0.75rem;
    margin-top: 2.5rem; max-width: 32rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .newsletter form { flex-direction: row; } }

/* ----- Shop filter ----- */
.shop-hero { padding: 4rem 0 2rem; }
@media (min-width: 768px) { .shop-hero { padding: 6rem 0 2rem; } }
.shop-hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); margin-top: 1.25rem; }
.shop-hero p { color: var(--muted); margin-top: 1.5rem; max-width: 36rem; font-size: 1.05rem; }
.filter-row {
    border-top: 1px solid rgba(44,48,46,0.1);
    border-bottom: 1px solid rgba(44,48,46,0.1);
    padding: 2rem 0;
}
.filter-row .filters { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.filter-chip {
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    border: 1px solid rgba(44,48,46,0.2);
    background: transparent; color: var(--text);
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.filter-chip:hover { background: var(--text); color: #fff; border-color: var(--text); }
.filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ----- Product detail ----- */
.detail-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    padding: 3rem 0;
}
@media (min-width: 768px) { .detail-grid { grid-template-columns: 1fr 1fr; gap: 5rem; padding: 4rem 0; } }
.detail-grid h1 { font-size: clamp(2.25rem, 4vw, 3rem); margin-top: 0.5rem; }
.detail-grid .price { font-family: "Cormorant Garamond", serif; font-size: 1.85rem; margin-top: 1.5rem; }
.detail-grid p.full-desc { color: var(--muted); margin-top: 1.5rem; line-height: 1.7; font-size: 1.02rem; }
.feature-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    list-style: none;
}
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-list li { font-size: 0.9rem; }
.feature-list li::before { content: "— "; color: var(--primary); }
.qty-row { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.qty-selector {
    display: inline-flex; align-items: center; border: 1px solid rgba(44,48,46,0.2); border-radius: 2px;
}
.qty-selector button { padding: 0.75rem 1rem; background: transparent; }
.qty-selector button:hover { background: var(--surface); }
.qty-selector .value { padding: 0 1.25rem; min-width: 2ch; text-align: center; }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; color: rgba(44,48,46,0.2); }
.stars svg.filled { color: var(--secondary); fill: var(--secondary); }
.rating-summary { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }

/* ----- Reviews ----- */
.reviews-section {
    border-top: 1px solid rgba(44,48,46,0.1);
    padding: 5rem 0;
}
@media (min-width: 768px) { .reviews-section { padding: 7rem 0; } }
.reviews-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: 4fr 8fr; } }
.review-summary h2 { font-size: clamp(2rem, 4vw, 3rem); }
.review-summary .big-rating { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; }
.review-summary .big-rating .num { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; }
.review-list .review { border-top: 1px solid rgba(44,48,46,0.1); padding-top: 2rem; margin-top: 2rem; }
.review-list .review:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.review .meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.review h3 { font-size: 1.25rem; margin-top: 0.5rem; }
.review .date { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }
.review p.body { color: var(--muted); margin-top: 1rem; line-height: 1.7; }
.review .author { margin-top: 1rem; font-size: 0.9rem; font-weight: 500; }
.review .author span { color: var(--muted); font-weight: 400; }

/* ----- Cart ----- */
.cart-grid {
    display: grid; gap: 2.5rem; grid-template-columns: 1fr;
    padding: 1rem 0 6rem;
}
@media (min-width: 1024px) { .cart-grid { grid-template-columns: 8fr 4fr; gap: 4rem; } }
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(44,48,46,0.1);
    padding-bottom: 2rem; margin-bottom: 2rem;
}
@media (min-width: 640px) { .cart-item { grid-template-columns: 140px 1fr auto; gap: 2rem; } }
.cart-item .product-image { aspect-ratio: 1 / 1; margin: 0; }
.cart-item h3 { font-size: 1.4rem; }
.cart-item .small { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
.cart-item .row { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.cart-item .remove-btn { color: var(--muted); display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; }
.cart-item .remove-btn:hover { color: var(--secondary); }
.cart-item .line-total { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; text-align: right; }

.cart-summary {
    background: var(--surface);
    padding: 2rem;
}
@media (min-width: 768px) { .cart-summary { padding: 2.5rem; } }
@media (min-width: 1024px) { .cart-summary { position: sticky; top: 7rem; align-self: start; } }
.cart-summary h2 { font-size: 1.6rem; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }
.cart-summary .total-row {
    font-family: "Cormorant Garamond", serif; font-size: 1.35rem;
    color: var(--text);
    border-top: 1px solid rgba(44,48,46,0.15);
    padding-top: 1rem; margin-top: 1rem;
    display: flex; justify-content: space-between;
}
.cart-summary .note { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; }
.cart-summary .btn-primary { margin-top: 2rem; }
.cart-summary .continue { display: block; text-align: center; margin-top: 1.25rem; color: var(--muted); font-size: 0.85rem; }
.cart-summary .continue:hover { color: var(--primary); }
.cart-empty { text-align: center; padding: 8rem 1.5rem; }
.cart-empty h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-top: 1.5rem; }
.cart-empty p { color: var(--muted); margin-top: 1rem; }
.cart-empty .btn-primary { margin-top: 2.5rem; }

/* ----- Checkout ----- */
.checkout-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; padding: 1rem 0 8rem; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: 7fr 5fr; } }
.checkout-form .field-group { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .checkout-form .field-group { grid-template-columns: 1fr 1fr; } }
.checkout-form .field-group .full { grid-column: 1 / -1; }
.checkout-form section { margin-bottom: 2.5rem; }
.checkout-form section h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.checkout-trust { background: var(--surface); padding: 1.5rem; border-radius: 2px; }
.checkout-trust .lock-row { display: flex; align-items: center; gap: 0.75rem; }
.checkout-trust .lock-row svg { color: var(--primary); }
.checkout-trust p { font-size: 0.85rem; }
.checkout-trust .small { color: var(--muted); margin-top: 0.5rem; }
.payment-icons { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.75rem; }

.checkout-summary {
    background: var(--surface);
    padding: 2rem;
}
@media (min-width: 768px) { .checkout-summary { padding: 2.5rem; } }
@media (min-width: 1024px) { .checkout-summary { position: sticky; top: 7rem; align-self: start; } }
.checkout-summary h2 { font-size: 1.6rem; }
.checkout-summary .lines { margin-top: 1.5rem; max-height: 40vh; overflow-y: auto; padding-right: 0.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.checkout-summary .line { display: flex; gap: 1rem; }
.checkout-summary .line .product-image { width: 64px; aspect-ratio: 1 / 1; margin: 0; flex-shrink: 0; }
.checkout-summary .line .info { flex: 1; }
.checkout-summary .line .info .name { font-size: 0.85rem; font-weight: 500; }
.checkout-summary .line .info .qty { font-size: 0.75rem; color: var(--muted); }
.checkout-summary .line .amt { font-size: 0.85rem; font-weight: 500; }
.checkout-summary .totals { border-top: 1px solid rgba(44,48,46,0.15); margin-top: 1.5rem; padding-top: 1rem; }
.checkout-summary .total-row { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; padding-top: 0.75rem; border-top: 1px solid rgba(44,48,46,0.15); margin-top: 0.75rem; display: flex; justify-content: space-between; }

/* ----- About ----- */
.about-hero { padding: 5rem 0 3rem; }
@media (min-width: 768px) { .about-hero { padding: 8rem 0 3rem; } }
.about-hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); margin-top: 1.25rem; max-width: 48rem; }
.about-body { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0; align-items: start; }
@media (min-width: 768px) { .about-body { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.about-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin-top: 1.5rem; }
.about-body p:first-child { margin-top: 0; }
.values { background: var(--surface); padding: 6rem 0; margin-top: 5rem; }
@media (min-width: 768px) { .values { padding: 8rem 0; } }
.values h2 { font-size: clamp(2.25rem, 4vw, 3rem); margin-top: 1.25rem; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 4rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.values-grid h3 { font-size: 1.6rem; }
.values-grid p { color: var(--muted); margin-top: 1rem; line-height: 1.7; }

/* ----- Contact ----- */
.contact-hero { padding: 5rem 0 3rem; }
@media (min-width: 768px) { .contact-hero { padding: 8rem 0 3rem; } }
.contact-hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); margin-top: 1.25rem; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0 8rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-info > div { margin-bottom: 2.5rem; }
.contact-info svg { color: var(--primary); width: 20px; height: 20px; }
.contact-info h3 { font-size: 1.4rem; margin-top: 0.75rem; }
.contact-info a, .contact-info p { color: var(--muted); margin-top: 0.5rem; }
.contact-info a:hover { color: var(--primary); }

/* ----- Policy pages ----- */
.policy-hero { padding: 5rem 0 3rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .policy-hero { padding: 8rem 0 3rem; } }
.policy-hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-top: 1.25rem; }
.policy-body { max-width: 48rem; margin: 0 auto; padding: 0 0 8rem; color: var(--text); }
.policy-body h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.policy-body p, .policy-body li { color: var(--muted); line-height: 1.75; }
.policy-body ul { list-style: disc; padding-left: 1.5rem; }
.policy-body ul li { margin: 0.5rem 0; }

/* ----- Footer ----- */
.site-footer {
    background: var(--text);
    color: rgba(249,246,240,0.85);
    margin-top: 8rem;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
    padding: 6rem 1.5rem 3rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 5fr 2fr 2fr 3fr; gap: 2rem; padding: 6rem 2.5rem 3rem; }
}
@media (min-width: 1024px) {
    .footer-grid { padding: 6rem 4rem 3rem; }
}
.footer-brand h3 { font-size: clamp(2.25rem, 4vw, 3rem); color: #F9F6F0; }
.footer-brand p { margin-top: 1.5rem; max-width: 28rem; color: rgba(249,246,240,0.7); font-size: 0.9rem; line-height: 1.7; }
.footer-social { display: flex; gap: 1.25rem; margin-top: 2rem; }
.footer-social a { color: rgba(249,246,240,0.85); }
.footer-social a:hover { color: var(--secondary); }
.footer-col .overline { color: rgba(249,246,240,0.6); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: rgba(249,246,240,0.85); font-size: 0.9rem; }
.footer-col a:hover { color: var(--secondary); }
.footer-bottom {
    border-top: 1px solid rgba(249,246,240,0.15);
    padding: 2rem 1.5rem;
    display: flex; flex-direction: column; gap: 0.75rem;
    color: rgba(249,246,240,0.5); font-size: 0.75rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; padding: 2rem 2.5rem; } }

/* ----- Toast ----- */
.toast {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    background: var(--text); color: #fff;
    padding: 0.875rem 1.25rem; border-radius: 2px;
    font-size: 0.875rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transform: translateY(20px); opacity: 0;
    transition: transform 200ms ease, opacity 200ms ease;
    z-index: 100;
    pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--secondary); }

/* ----- Misc ----- */
.fade-up { animation: fadeUp 0.7s ease-out both; }
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}
.text-center { text-align: center; }
.success-page { padding: 8rem 1.5rem; text-align: center; max-width: 36rem; margin: 0 auto; }
.success-page h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-top: 1.5rem; }
.success-page p { color: var(--muted); margin-top: 1rem; }
.success-page .btn-primary { margin-top: 2.5rem; }
.spinner {
    display: inline-block; width: 32px; height: 32px;
    border: 3px solid rgba(58,90,64,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
