/* ==========================================================================
   Home template "Sage Everyday" (front/home/templates/sage.blade.php)
   Scoped to .tg — mobile first (base = phones; min-width queries add space).
   Sand, linen and sage; a full-width photograph with an overlapping card, softly rounded corners.
   ========================================================================== */

.tg {
    --tg-linen: #faf7f2;
    --tg-sand: #f1ebe1;
    --tg-sand-2: #e5dccd;
    --tg-sage: #8b9b85;
    --tg-sage-2: #5e6e5a;
    --tg-sage-dark: #39463a;
    --tg-clay: #a8664a;
    --tg-ink: #252b23;
    --tg-text: #474d43;
    --tg-muted: #757b70;
    --tg-line: rgba(37, 43, 35, 0.12);
    --tg-line-light: rgba(250, 247, 242, 0.2);
    --tg-serif: "Canela Deck", "Cormorant Garamond", Georgia, serif;
    --tg-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --tg-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    display: block;
    background: var(--tg-linen);
    color: var(--tg-text);
    font-family: var(--tg-sans);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: clip;
}
:where(.tg) *, :where(.tg) *::before, :where(.tg) *::after { box-sizing: border-box; }
:where(.tg) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.tg) img { display: block; max-width: 100%; height: auto; }
:where(.tg) p { margin: 0 0 1em; }
:where(.tg) p:last-child { margin-bottom: 0; }
:where(.tg) a { color: inherit; text-decoration: none; }
:where(.tg) :where(h1, h2, h3) { margin: 0; color: var(--tg-ink); letter-spacing: -0.01em; text-transform: none; }
:where(.tg) :where(h1, h2) { font-family: var(--tg-serif); font-weight: 400; line-height: 1.1; }
:where(.tg) h2 { font-size: clamp(28px, 4vw, 44px); }
:where(.tg) h3 { font-family: var(--tg-serif); font-weight: 400; font-size: 20px; line-height: 1.28; }
.tg a:focus-visible, .tg button:focus-visible, .tg summary:focus-visible { outline: 2px solid var(--tg-sage-2); outline-offset: 3px; border-radius: 4px; }
.tg svg { flex: none; }

.tg-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 768px) { .tg-wrap { padding: 0 32px; } }

.tg-sec { padding: 56px 0; }
.tg-sec--sand { background: var(--tg-sand); }
.tg-sec--linen { background: #fff; }
@media (min-width: 992px) { .tg-sec { padding: 90px 0; } }

.tg-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tg-sage-2); }
.tg-eyebrow--light { color: #c9d4c3; }

.tg-head { margin-bottom: 28px; }
.tg-head__note { color: var(--tg-muted); margin: 12px 0 0; max-width: 540px; }
.tg-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; }
@media (min-width: 992px) { .tg-head { margin-bottom: 42px; } }

.tg-fine { font-size: 13.5px; color: var(--tg-muted); margin-top: 18px; }
.tg-fine a { text-decoration: underline; text-underline-offset: 3px; }

/* buttons & links — at least 48px tall for thumbs */
.tg-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
@media (min-width: 576px) { .tg-ctas { flex-direction: row; flex-wrap: wrap; } }
.tg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s var(--tg-ease), color 0.3s var(--tg-ease), border-color 0.3s;
}
.tg-btn--dark { background: var(--tg-sage-dark); color: var(--tg-linen) !important; }
.tg-btn--dark:hover { background: var(--tg-sage-2); }
.tg-btn--line { color: var(--tg-sage-dark) !important; border-color: rgba(57, 70, 58, 0.4); }
.tg-btn--line:hover { border-color: var(--tg-sage-dark); background: rgba(57, 70, 58, 0.06); }
.tg-btn--light { background: var(--tg-linen); color: var(--tg-sage-dark) !important; }
.tg-btn--light:hover { background: var(--tg-sand-2); }
.tg-btn--ghost { color: var(--tg-linen) !important; border-color: rgba(250, 247, 242, 0.45); }
.tg-btn--ghost:hover { background: rgba(250, 247, 242, 0.1); }
.tg-link {
    display: inline-flex;
    align-items: flex-end;
    min-height: 44px;
    padding-bottom: 2px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--tg-sage-dark) !important;
    border-bottom: 2px solid var(--tg-sage);
}
.tg-link:hover { border-bottom-color: var(--tg-clay); }

.tg-stars { display: inline-flex; gap: 2px; color: var(--tg-clay); }
.tg-stars svg { width: 15px; height: 15px; fill: currentColor; }
.tg-stars .off { opacity: 0.3; }

/* ---------- Hero: full-width photograph, card pulled up over it ---------- */
.tg-hero { position: relative; background: var(--tg-linen); padding-bottom: 40px; }
.tg-hero__media img { width: 100%; aspect-ratio: 5 / 4; max-height: 56svh; object-fit: cover; object-position: 50% 45%; }
.tg-hero__card {
    position: relative;
    margin-top: -56px;
    padding: 26px 22px 28px;
    background: var(--tg-linen);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(37, 43, 35, 0.12);
}
.tg-hero h1 { font-size: clamp(32px, 8vw, 58px); }
.tg-hero__lede { margin-top: 16px; font-size: 16px; }
.tg-hero__help { margin: 18px 0 0; font-size: 14px; color: var(--tg-muted); }
.tg-hero__help a { color: var(--tg-sage-dark); text-decoration: underline; text-underline-offset: 3px; }
.tg-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--tg-ink) !important; }
@media (min-width: 992px) {
    .tg-hero { display: flex; align-items: center; min-height: min(78vh, 760px); padding: 48px 0; }
    .tg-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
    .tg-hero__media img { height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0 0 0 28px; }
    .tg-hero__card { margin-top: 0; width: min(560px, 48%); padding: 42px 40px 44px; border-radius: 22px; }
    .tg-hero__lede { font-size: 17px; }
}

/* ---------- Promise: sage band ---------- */
.tg-promise { background: var(--tg-sage-dark); }
.tg-promise__list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 6px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-width: 1240px;
    margin: 0 auto;
}
.tg-promise__list::-webkit-scrollbar { display: none; }
.tg-promise__list li { flex: 0 0 auto; scroll-snap-align: start; }
.tg-promise__list a { display: flex; gap: 10px; align-items: center; min-height: 64px; padding: 8px 14px 8px 0; }
.tg-promise__list svg { width: 24px; height: 24px; fill: none; stroke: #c9d4c3; stroke-width: 1.4; }
.tg-promise__list span { font-size: 12px; line-height: 1.35; color: rgba(250, 247, 242, 0.68); white-space: nowrap; }
.tg-promise__list strong { display: block; font-size: 13px; font-weight: 600; color: var(--tg-linen); }
@media (min-width: 1200px) {
    .tg-promise__list { justify-content: space-between; overflow: visible; padding: 8px 32px; }
    .tg-promise__list a { padding-right: 0; }
}

/* ---------- Collections ---------- */
.tg-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tg-cat { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--tg-sand); }
.tg-cat img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.9s var(--tg-ease); }
.tg-cat:hover img { transform: scale(1.05); }
.tg-cat__name {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 44px;
    padding: 8px 12px;
    background: rgba(250, 247, 242, 0.94);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tg-ink);
}
.tg-cat__name svg { width: 18px; height: 18px; color: var(--tg-sage-2); }
@media (min-width: 768px) { .tg-cats { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .tg-cats { grid-template-columns: repeat(4, 1fr); } .tg-cat__name { left: 12px; right: 12px; bottom: 12px; font-size: 15px; } }

/* ---------- Product grid (shared card markup .hp-card) ---------- */
.tg .hp-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -18px 22px;
    padding: 2px 18px 4px;
    scrollbar-width: none;
}
.tg .hp-chips::-webkit-scrollbar { display: none; }
.tg .hp-chip {
    flex: none;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--tg-sand-2);
    border-radius: 10px;
    background: var(--tg-linen);
    color: var(--tg-ink);
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.25s;
}
.tg .hp-chip:hover { border-color: var(--tg-sage-2); }
.tg .hp-chip[aria-pressed="true"] { background: var(--tg-sage-dark); border-color: var(--tg-sage-dark); color: var(--tg-linen); }
@media (min-width: 768px) { .tg .hp-chips { margin: 0 0 28px; padding: 2px 0 4px; flex-wrap: wrap; overflow: visible; } }

.tg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
@media (min-width: 768px) { .tg-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; } }
@media (min-width: 1200px) { .tg-grid { grid-template-columns: repeat(4, 1fr); } }
.tg .hp-card { position: relative; }
.tg .hp-card[hidden] { display: none; }
.tg .hp-card__link { display: block; }
.tg .hp-card__img { position: relative; display: block; overflow: hidden; background: var(--tg-linen); aspect-ratio: 1 / 1; border-radius: 14px; }
.tg .hp-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity 0.5s, transform 0.8s var(--tg-ease); }
.tg .hp-card__alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
    .tg .hp-card:hover .hp-card__alt { opacity: 1; }
    .tg .hp-card:hover .hp-card__img img:first-child { transform: scale(1.03); }
}
.tg .hp-card h3 { margin: 12px 2px 4px; font-family: var(--tg-serif); font-size: 16px; line-height: 1.3; }
.tg .hp-card__meta { display: block; margin: 0 2px; font-size: 12px; color: var(--tg-muted); }
.tg .hp-card__price { display: block; margin: 6px 2px 0; font-size: 14.5px; font-weight: 600; color: var(--tg-ink); }
.tg .hp-card__price small { font-weight: 400; color: var(--tg-muted); }
.tg .hp-card__price s { margin-left: 6px; font-weight: 400; color: var(--tg-muted); }
.tg .hp-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    background: var(--tg-sage-dark);
    color: var(--tg-linen);
    border-radius: 8px;
}
.tg .hp-wish {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(250, 247, 242, 0.9);
    cursor: pointer;
}
.tg .hp-wish svg { width: 20px; height: 20px; fill: none; stroke: var(--tg-ink); stroke-width: 1.6; }
.tg .hp-wish.active svg { fill: var(--tg-clay); stroke: var(--tg-clay); }

/* ---------- Care ---------- */
.tg-care { display: grid; gap: 28px; }
.tg-care__intro p:not(.tg-eyebrow) { margin: 14px 0 6px; color: var(--tg-muted); }
.tg-care__list { display: grid; gap: 12px; }
.tg-care__list li { padding: 20px; background: #fff; border: 1px solid var(--tg-line); border-radius: 16px; }
.tg-care__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--tg-sand); margin-bottom: 12px; }
.tg-care__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--tg-sage-dark); stroke-width: 1.4; }
.tg-care__list p { margin-top: 6px; font-size: 15px; color: var(--tg-muted); }
@media (min-width: 768px) { .tg-care__list { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 992px) { .tg-care { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; } }

/* ---------- Why ---------- */
.tg-why { display: grid; gap: 30px; }
.tg-why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.tg-why__list { margin: 22px 0 18px; display: grid; gap: 16px; }
.tg-why__list h3 { display: flex; gap: 10px; align-items: center; }
.tg-why__list h3 svg { width: 20px; height: 20px; color: var(--tg-sage-2); }
.tg-why__list p { margin: 6px 0 0 30px; font-size: 15px; color: var(--tg-muted); }
.tg-why__list a { color: var(--tg-sage-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 992px) { .tg-why { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; } }

/* ---------- Design your own ---------- */
.tg-design { background: var(--tg-sage-dark); color: rgba(250, 247, 242, 0.8); }
.tg-design h2, .tg-design h3 { color: var(--tg-linen); }
.tg-design .tg-head__note { color: rgba(250, 247, 242, 0.68); }
.tg-design__grid { display: grid; gap: 18px; }
.tg-path { border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; background: rgba(250, 247, 242, 0.06); border: 1px solid var(--tg-line-light); }
.tg-path__label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #c9d4c3; margin-bottom: 10px; }
.tg-path h3 { font-size: 24px; }
.tg-steps { counter-reset: tg-step; display: grid; gap: 8px; margin: 22px 0; }
.tg-steps li { counter-increment: tg-step; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; background: rgba(250, 247, 242, 0.07); border-radius: 10px; font-size: 15px; color: var(--tg-linen); }
.tg-steps li::before { content: counter(tg-step); width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tg-sage); color: var(--tg-sage-dark); font-size: 13px; font-weight: 700; }
.tg-path__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.tg-path__foot strong { color: var(--tg-linen); font-family: var(--tg-serif); font-size: 24px; font-weight: 400; }
.tg-path--photo { padding: 0; overflow: hidden; }
.tg-path--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tg-path__body { padding: 24px 22px 26px; }
.tg-path__body p:not(.tg-path__label) { margin: 10px 0 20px; }
@media (min-width: 768px) {
    .tg-design__grid { grid-template-columns: 1fr 1fr; }
    .tg-design__grid--single { grid-template-columns: 1fr; max-width: 640px; }
    .tg-path { padding: 34px; }
    .tg-path--photo { padding: 0; }
    .tg-path__foot { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Trade ---------- */
.tg-trade { display: grid; gap: 30px; }
.tg-ticks { margin: 18px 0 0; display: grid; gap: 10px; }
.tg-ticks li { display: flex; gap: 10px; font-size: 15px; }
.tg-ticks svg { width: 20px; height: 20px; color: var(--tg-sage-2); margin-top: 2px; }
.tg-trade__panel { background: var(--tg-linen); border-radius: 18px; padding: 22px; }
.tg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.tg-stats div { background: #fff; border-radius: 12px; padding: 16px 14px; }
.tg-stats dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tg-muted); font-weight: 600; }
.tg-stats dd { margin: 6px 0 0; font-family: var(--tg-serif); font-size: clamp(22px, 5vw, 30px); color: var(--tg-sage-dark); }
.tg-trade__label { margin: 20px 0 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--tg-muted); }
.tg-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tg-tags li { padding: 6px 12px; background: #fff; border-radius: 8px; font-size: 13px; }
@media (min-width: 992px) { .tg-trade { grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; } .tg-trade__panel { padding: 30px; } }

/* ---------- Reviews ---------- */
.tg-reviews { display: grid; gap: 14px; }
.tg-reviews blockquote { margin: 0; padding: 24px; background: var(--tg-sand); border-radius: 18px; height: 100%; }
.tg-reviews__title { font-family: var(--tg-serif); font-size: 19px; color: var(--tg-ink); margin: 12px 0 6px; }
.tg-reviews p { font-size: 15px; }
.tg-reviews footer { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--tg-sage-dark); }
@media (min-width: 768px) { .tg-reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Journal ---------- */
.tg-posts { display: grid; gap: 26px; }
.tg-post__img { display: block; overflow: hidden; border-radius: 16px; background: var(--tg-sand); margin-bottom: 14px; }
.tg-post__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--tg-ease); }
.tg-post:hover img { transform: scale(1.04); }
.tg-post time { font-size: 12px; font-weight: 600; color: var(--tg-sage-2); }
.tg-post h3 { margin-top: 6px; font-size: 20px; }
@media (min-width: 768px) { .tg-posts { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ---------- FAQ ---------- */
.tg-faq { display: grid; gap: 30px; }
.tg-faq__about p { color: var(--tg-muted); font-size: 15px; }
.tg-faq__about a, .tg-faq__list a { color: var(--tg-sage-dark); text-decoration: underline; text-underline-offset: 3px; }
.tg-faq__about h2 { margin-bottom: 16px; }
.tg-faq__list { border-top: 1px solid var(--tg-line); }
.tg-faq__list details { border-bottom: 1px solid var(--tg-line); }
.tg-faq__list summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 60px;
    padding: 14px 0;
    cursor: pointer;
    font-family: var(--tg-serif);
    font-size: 18px;
    color: var(--tg-ink);
}
.tg-faq__list summary::-webkit-details-marker { display: none; }
.tg-faq__list summary::after { content: "+"; font-family: var(--tg-sans); font-size: 22px; color: var(--tg-sage-2); transition: transform 0.3s; }
.tg-faq__list details[open] summary::after { transform: rotate(45deg); }
.tg-faq__list details > div { padding: 0 0 18px; font-size: 15px; color: var(--tg-text); }
@media (min-width: 992px) { .tg-faq { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }

/* ---------- WhatsApp ---------- */
.tg-wa {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 900;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.tg-wa svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
    .tg *, .tg *::before, .tg *::after { transition: none !important; animation: none !important; }
}
/* (30 Oct 2026) photo attached to a customer review */
.zr-photo { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; border-radius: 10px; margin: 12px 0 2px; }
