/* Shared visual system. Business forms, routes and validation retain their behaviour. */
@font-face {
    font-family: 'Wellness Sans';
    src: url('../font/raleway-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Wellness Sans';
    src: url('../font/raleway-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --teal: #24564d;
    --teal-dark: #173e37;
    --sage: #66816b;
    --sage-light: #e8eee5;
    --cream: #faf9f5;
    --blue-soft: #f0f2ec;
    --ink: #203c35;
    --muted: #5c6b62;
    --line: #d9e0d6;
    --focus: #a65f16;
    --radius: 12px;
    --shadow: 0 16px 48px rgb(29 55 43 / 6%);
}
body {
    background: var(--cream);
    font-family: 'Wellness Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
::selection { background: #d3dfcd; color: var(--teal-dark); }
h1, h2, h3 { color: inherit; text-wrap: balance; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(2.6rem, 4.5vw, 4.25rem); line-height: 1.09; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.16; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
p { line-height: 1.75; }
.container { width: min(1280px, calc(100% - 96px)); }
.section { padding: clamp(60px, 7vw, 104px) 0; }
.eyebrow {
    display: block;
    margin-bottom: 18px;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: none;
    color: var(--teal);
}
.section-heading { max-width: 680px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; }
.site-header {
    background: var(--cream);
    border-bottom: 1px solid rgb(36 86 77 / 12%);
}
.header-inner { min-height: 92px; gap: 18px 32px; }
.brand { gap: 10px; }
.brand .brand-logo { width: 52px; height: 56px; filter: none; }
.brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -.04em; }
.brand-name span { margin-top: 4px; font-size: .75rem; font-weight: 400; letter-spacing: .18em; }
.site-header .primary-nav { gap: 12px 28px; }
.site-header .primary-nav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: .9rem;
    font-weight: 700;
}
.primary-nav > a:not(.nav-button):not(.admin-login-link):hover { text-decoration: underline; text-underline-offset: 7px; }
.site-header .admin-login-link { border: 1px solid var(--line); border-radius: 6px; padding: 8px 23px; }
.site-header .admin-login-link:hover { background: var(--sage-light); border-color: var(--sage); }
.nav-button { border-radius: 6px; }
.flash-wrap:empty { display: none; }
.flash-wrap:not(:empty) { padding-block: 18px; }
.button, button {
    min-height: 50px;
    padding: 12px 23px;
    border-width: 1px;
    border-radius: 6px;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.5;
    transition: background-color .18s, border-color .18s, box-shadow .18s;
}
.button:not(.button-secondary):not(.button-light):not(.danger):hover,
button:not(.button-secondary):not(.button-light):not(.danger):hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    box-shadow: none;
    text-decoration: none;
}
.button-secondary { border-color: #9cab9b; }
.button-secondary:hover { box-shadow: none; text-decoration: none; }
.button-row { gap: 14px; }
button:disabled { opacity: .55; cursor: not-allowed; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}
/* Photographs are full-bleed; the outlined fallback remains for missing assets. */
.image-placeholder.has-image { padding: 0; gap: 0; border: 0; background: var(--sage-light); }
.image-placeholder.has-image .image-placeholder__image { min-height: 100%; }
.home-hero { padding: 28px 0 0; background: var(--cream); }
.home-hero .hero-grid {
    width: min(1440px, calc(100% - 48px));
    grid-template-columns: .92fr 1.08fr;
    gap: 0;
    align-items: stretch;
    background: #e8ede3;
    border-radius: 10px;
    overflow: hidden;
}
.hero-copy { padding: clamp(40px, 4.7vw, 72px); align-self: center; }
.home-hero h1 { max-width: 550px; font-size: clamp(2.7rem, 4.4vw, 4.6rem); margin-bottom: 26px; }
.home-hero p { max-width: 440px; margin-bottom: 30px; font-size: 1rem; line-height: 1.85; }
.home-hero .eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 27px; }
.home-hero .eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--teal); }
.home-hero .image-placeholder--hero { aspect-ratio: auto; min-height: 620px; border-radius: 0; position: relative; }
.home-hero .image-placeholder__image { position: absolute; inset: 0; object-position: 64% center; }
.home-hero .button-secondary { border-color: transparent; padding-inline: 8px; text-decoration: underline; text-underline-offset: 6px; }
.home-values { padding-block: 78px 88px; }
.home-values .container { display: grid; grid-template-columns: .85fr 2fr; gap: 64px; }
.home-values .section-heading { margin: 0; }
.home-values h2 { font-size: clamp(1.8rem, 2.6vw, 2.45rem); }
.home-values .cards.three { gap: 34px; }
.home-values .cards article { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.home-values .cards article h3 { margin: 18px 0 10px; font-size: 1.05rem; }
.home-values .cards article p { font-size: .93rem; line-height: 1.8; }
.value-icon { display: grid; width: 44px; height: 44px; place-items: center; color: var(--teal); }
.value-icon svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
#about { background: #f0f2eb; }
.about-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 112px); }
.about-grid > .image-placeholder { aspect-ratio: 1.2; border-radius: 8px 90px 8px 8px; }
.about-grid h2 { max-width: 480px; margin-bottom: 25px; }
.about-grid p { max-width: 450px; color: var(--muted); line-height: 1.9; }
.home-services .section-heading { max-width: 670px; margin-bottom: 44px; }
.home-services .cards.four { gap: 28px; }
.home-services .cards article { padding: 0; background: none; border: none; border-radius: 0; box-shadow: none; }
.home-services .image-placeholder { aspect-ratio: 4 / 5; border-radius: 8px; }
.home-services .cards h3 { margin-top: 25px; font-size: 1.13rem; line-height: 1.5; }
.home-services .cards p { font-size: .94rem; line-height: 1.8; }
.cta { background: var(--teal-dark); text-align: left; padding-block: 72px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-inner > div { max-width: 730px; }
.cta h2 { font-size: clamp(2rem, 3.3vw, 3.15rem); }
.cta p { margin-bottom: 0; color: #d4dfd5; }
.cta .button { flex-shrink: 0; padding: 15px 30px; }
/* Commerce pages share the same quiet, clearly grouped surfaces. */
.page-hero, .admin-heading { padding: 60px 0 50px; background: #e8ede3; border-bottom: 1px solid var(--line); }
.page-hero h1, .admin-heading h1 { max-width: 900px; margin-bottom: 14px; }
.page-hero p, .admin-heading p { margin-bottom: 0; max-width: 680px; color: var(--muted); }
.shop-hero { background: var(--sage-light); padding-block: 55px; }
.shop-hero h1 { max-width: 800px; font-size: clamp(2.8rem, 4vw, 4rem); margin: 0; }
.catalogue-section { padding-top: 40px; }
.catalogue-toolbar { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.catalogue-search-intro { margin: 0; text-align: left; }
.catalogue-search-intro .eyebrow { display: none; }
.catalogue-search-intro h2 { margin: 0 0 7px; font-size: 1.85rem; }
.catalogue-search-intro p { font-size: .95rem; }
.product-search { margin: 0; width: 100%; max-width: none; padding: 5px; gap: 6px; border-radius: 8px; box-shadow: none; }
.product-search input { padding-inline: 16px; border-radius: 4px; font-size: .94rem; }
.product-search button { border-radius: 5px; min-width: 100px; }
.search-count { margin: 23px 0 27px; justify-content: space-between; text-align: left; font-size: .87rem; }
.cards.product-catalogue { gap: 38px 24px; }
.cards .product-card { background: transparent; border-radius: 0; box-shadow: none !important; }
.product-image { background: #fff; border: 1px solid #e5e7df; border-radius: 9px; }
.product-image--card { padding: 12px; }
.product-image--card img { mix-blend-mode: multiply; }
.product-card__content { padding: 20px 0 0; }
.product-card h2 { font-family: 'Wellness Sans', Arial, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.55; letter-spacing: -.02em; text-wrap: pretty; }
.product-card__content > p:not(.price) { font-size: .9rem; line-height: 1.75; margin-bottom: 12px; }
.product-card .price { font-family: Arial, sans-serif; font-size: 1.3rem; font-weight: 500; color: var(--ink); margin-top: 16px; }
.product-card__content > p.product-stock { color: #47664b; font-size: .81rem; }
.product-card__actions { margin: 16px 0 0; gap: 8px; }
.product-card__actions .button { padding: 10px 7px; min-height: 46px; font-size: .84rem; }
.product-detail { grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.product-detail h1 { font-size: clamp(2.2rem, 3.7vw, 3.5rem); }
.product-detail .product-image { padding: 32px; }
.product-detail .product-image img { object-fit: contain; }
.product-detail .price { font-family: Arial, sans-serif; font-size: 1.65rem; margin-block: 24px; }
.product-detail form { margin-top: 26px; max-width: 320px; }
.product-detail .back-link { display: inline-block; margin-top: 24px; font-size: .9rem; }
.panel, .login-card, .summary-grid article { border: 1px solid var(--line); box-shadow: none; border-radius: 10px; }
.panel { padding: 30px; }
.panel h2 { font-size: 1.8rem; }
.empty { padding: 64px 28px; border: 1px solid var(--line); border-radius: 10px; background: #f3f5ee; }
.empty p { color: var(--muted); margin-bottom: 26px; }
.cart-layout > .section-heading { max-width: none; padding-bottom: 25px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.cart-product { padding: 24px; gap: 25px; }
.cart-product__image { background: #f7f8f3; border: 1px solid var(--line); }
.cart-product__image img { object-fit: contain; }
.cart-product__content h2 { font-size: 1.4rem; }
.cart-product__content p { font-size: .92rem; }
.cart-summary { background: var(--sage-light); top: 112px; }
.cart-summary h2 { border-top: 1px solid #c6d1c2; padding-top: 24px; margin-top: 24px; font-size: 1.35rem; }
.cart-summary p { font-size: .94rem; }
.cart-summary .cart-total { font-size: 2rem; font-family: Arial, sans-serif; font-weight: 500; }
.cart-actions .danger { padding: 9px 0; border: 0; min-height: 44px; display: inline-flex; align-items: center; }
.cart-actions form { grid-template-columns: minmax(90px, 120px) auto; }
/* Forms and operational screens retain familiar controls and comfortable spacing. */
.login-section { background: #eef1e9; padding-block: 64px; }
.login-card { padding: clamp(28px, 4.5vw, 56px); box-shadow: var(--shadow); }
.login-card h1 { font-size: clamp(2.5rem, 3.8vw, 3.4rem); }
.login-card h2 { font-size: 1.7rem; }
.login-card > p { color: var(--muted); }
.login-choice { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.login-card form + p { margin-top: 24px; }
.login-card .button-row { gap: 10px; }
.login-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; }
.login-grid .login-card { border-radius: 10px 0 0 10px; }
.login-grid > .has-image { border-radius: 0 10px 10px 0; }
input, textarea, select { min-height: 50px; padding: 12px 14px; border: 1px solid #aebcad; border-radius: 5px; background: #fdfdfb; }
input::placeholder, textarea::placeholder { color: #6b786c; opacity: 1; }
label { font-weight: 700; font-size: .91rem; margin-bottom: 8px; }
.contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
.contact-aside .has-image { aspect-ratio: 4 / 5; border-radius: 8px; }
.privacy-note { margin-top: 10px; padding-left: 18px; border-left-width: 2px; font-size: .9rem; color: var(--muted); }
.summary-grid article { background: #f0f4ec; padding: 26px; }
.summary-grid strong { font-family: Georgia, serif; font-weight: 400; font-size: 2.7rem; }
.table-wrap { border-radius: 8px; }
th { background: #eef2e9; color: var(--ink); font-weight: 700; padding-block: 19px; }
td { font-size: .94rem; padding-block: 20px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbf6; }
.small { min-height: 40px; padding: 8px 12px; font-size: .85rem; }
.badge { font-size: .8rem; padding: 5px 11px; }
.order-pagination a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 5px; }
.error-main { background: var(--sage-light); }
.error-page { box-shadow: none; }
/* A quieter footer closes the page without repeating a second feature grid. */
footer { background: #e9eee4; color: var(--teal-dark); padding: 62px 0 48px; border-top: 1px solid #d6ded1; }
.footer-grid { grid-template-columns: 1.8fr 1fr .7fr; gap: 64px; }
.footer-grid > div:first-child > strong { font-family: Georgia, serif; font-weight: 400; font-size: 1.65rem; letter-spacing: -.04em; }
.footer-grid p { max-width: 345px; margin-top: 16px; color: #53634f; font-size: .9rem; }
.footer-grid small { display: block; margin-top: 30px; font-size: .77rem; color: #53634f; }
.footer-grid a { color: var(--teal-dark); }
.footer-grid a:hover { color: var(--teal); }
.footer-nav { gap: 9px; font-size: .88rem; }
.footer-nav strong { margin-bottom: 5px; }
.footer-nav a { text-decoration: none; min-height: 30px; }
.footer-nav a:hover { text-decoration: underline; }
@media (min-width: 1600px) {
    .home-hero .hero-grid { max-width: 1536px; }
    .home-hero .image-placeholder--hero { min-height: 680px; }
}
@media (max-width: 1100px) {
    .container { width: calc(100% - 64px); }
    .header-inner { justify-content: center; padding-block: 15px; }
    .site-header .primary-nav { gap: 10px 22px; }
    .hero-copy { padding: 38px; }
    .home-hero h1 { font-size: 3.05rem; }
    .home-hero .image-placeholder--hero { min-height: 610px; }
    .home-values .container { grid-template-columns: 1fr; gap: 34px; }
    .home-values .section-heading { max-width: 500px; }
    .home-values .cards.three { gap: 40px; }
    .home-services .cards.four { gap: 22px; }
}
@media (max-width: 850px) {
    .home-hero .hero-grid { width: calc(100% - 40px); grid-template-columns: 1fr 1fr; }
    .hero-copy { padding: 30px; }
    .home-hero h1 { font-size: 2.5rem; }
    .home-hero p { font-size: .94rem; }
    .home-hero .image-placeholder--hero { min-height: 550px; max-width: none; }
    .home-hero .button-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .about-grid, .product-detail, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid > .image-placeholder { aspect-ratio: 1.5; }
    .about-grid h2, .about-grid p { max-width: 600px; }
    .home-services .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
    .catalogue-toolbar { grid-template-columns: 1fr; gap: 22px; }
    .login-grid { grid-template-columns: 1fr; }
    .login-grid .login-card { border-radius: 10px; }
    .contact-aside { grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
    .contact-aside .has-image { aspect-ratio: 1; }
    .cta-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
    .footer-grid { gap: 32px; grid-template-columns: 1.4fr 1fr .7fr; }
    .cart-summary { position: static; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 40px); }
    .site-header { position: static; }
    .header-inner { flex-direction: column; align-items: center; gap: 10px; padding-block: 14px 9px; }
    .brand .brand-logo { width: 44px; height: 46px; }
    .brand-name { font-size: 1rem; }
    .brand-name span { font-size: .65rem; }
    .site-header .primary-nav { width: 100%; justify-content: center; gap: 4px 18px; }
    .site-header .primary-nav > a { font-size: .8rem; }
    .site-header .admin-login-link { padding: 5px 13px; }
    .home-hero { padding-top: 14px; }
    .home-hero .hero-grid { width: calc(100% - 24px); grid-template-columns: 1fr; }
    .hero-copy { padding: 36px 24px 34px; }
    .home-hero .eyebrow { margin-bottom: 22px; font-size: .76rem; }
    .home-hero h1 { font-size: clamp(2.4rem, 8.5vw, 3.1rem); max-width: 440px; }
    .home-hero p { font-size: 1rem; margin-bottom: 24px; }
    .home-hero .button-row { flex-direction: row; align-items: center; gap: 8px; }
    .home-hero .image-placeholder--hero { min-height: 310px; aspect-ratio: 1.18; }
    .home-hero .image-placeholder__image { object-position: 65% 52%; }
    .section { padding-block: 55px; }
    .home-values .cards.three { grid-template-columns: 1fr; gap: 24px; }
    .home-values .cards article { display: grid; grid-template-columns: 42px 1fr; column-gap: 17px; }
    .home-values .value-icon { grid-row: span 2; width: 40px; }
    .home-values .cards article h3 { margin: 4px 0 7px; }
    .home-values .cards article p { grid-column: 2; }
    .about-grid > .image-placeholder { aspect-ratio: 1.2; border-top-right-radius: 60px; }
    .home-services .cards.four { grid-template-columns: 1fr; gap: 36px; }
    .home-services .image-placeholder { aspect-ratio: 1.35; }
    .home-services .cards h3 { margin-top: 18px; }
    .page-hero, .admin-heading { padding: 38px 0; }
    .page-hero h1 { font-size: 2.6rem; }
    .catalogue-section { padding-top: 28px; }
    .catalogue-search-intro h2 { font-size: 1.6rem; }
    .product-search { grid-template-columns: minmax(0, 1fr) auto; }
    .product-search input { padding-inline: 9px; font-size: .88rem; }
    .product-search button { min-width: 74px; padding-inline: 12px; font-size: .83rem; }
    .search-count { align-items: flex-start; gap: 8px; }
    .cards.product-catalogue { grid-template-columns: 1fr; gap: 38px; }
    .product-card__actions { grid-template-columns: 1fr 1fr; }
    .product-card__actions .button { font-size: .92rem; }
    .product-card h2 { font-size: 1.13rem; }
    .product-card__content > p:not(.price) { font-size: .96rem; }
    .product-detail .product-image { padding: 20px; }
    .panel, .login-card { padding: 25px 20px; }
    .login-section { padding: 30px 0 46px; }
    .login-card .button-row { flex-direction: column; align-items: stretch; }
    .contact-aside { grid-template-columns: 1fr; gap: 15px; }
    .contact-aside .has-image { aspect-ratio: 1.5; }
    .cart-product { grid-template-columns: 1fr; gap: 20px; }
    .cart-actions form { grid-template-columns: 1fr; }
    .cart-product__image { max-width: 160px; }
    .cta-inner { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid small { margin-top: 18px; }
    .footer-nav a { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Order progress and administration */
.order-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin: 2rem 0; }
.order-filters .input { flex: 1 1 16rem; margin: 0; }
.order-filters .button-row { margin: 0; padding-bottom: .2rem; }
.order-tracking, .tracking-editor { padding: clamp(1.25rem, 3vw, 2.5rem); margin: 2rem 0; border: 1px solid #d7dfd4; border-radius: 12px; background: #f5f7f1; }
.tracking-editor { background: #fff; max-width: 46rem; }
.tracking-steps { display: flex; list-style: none; padding: 0; gap: .75rem; margin: 1.75rem 0; }
.tracking-steps li { flex: 1; border-top: 4px solid #d7dfd4; padding: .8rem 0; color: #5c6b64; }
.tracking-steps .is-reached { border-color: #285a50; color: #20483f; font-weight: 700; }
.tracking-steps [aria-current]::after { content: ' — current'; font-weight: 400; }
.tracking-details dd, .tracking-history span { overflow-wrap: anywhere; }
.tracking-history { padding-left: 1.25rem; }
.tracking-history li { padding: .7rem 0; }
.tracking-history time, .tracking-history span { display: block; color: #52665d; font-size: .95rem; }
@media (max-width: 560px) {
    .tracking-steps { flex-direction: column; gap: .2rem; }
    .tracking-steps li { border-top: 0; border-left: 4px solid #d7dfd4; padding: .6rem 1rem; }
    .tracking-steps .is-reached { border-color: #285a50; }
    .order-filters .button-row { flex-wrap: wrap; }
}
