/* Sunshine Footbags - primary bone, secondary black, wood accents */

:root {
    --bs-body-font-family: "Comfortaa", "Segoe UI", sans-serif;
    --bs-body-color: #0d0d0d;
    --bs-body-bg: #f7f4ef;
    --bs-link-color: #2d5a3d;
    --bs-link-hover-color: #9b59b6;
    --bs-border-radius: 1rem;
    --bs-border-radius-lg: 1rem;
    --bs-border-radius-pill: 999px;

    /* Primary: bone white */
    --bone: #f7f4ef;
    --bone-dark: #e8e2d8;
    --bone-light: #fdfcfa;

    /* Secondary: black */
    --black: #0d0d0d;
    --black-soft: #1a1a1a;

    /* Header only: burnt wood */
    --wood: #5c3a29;
    --wood-deep: #3d2418;
    --wood-burnt: #7a4a32;
    --wood-light: #9a6b4f;
    --wood-glow: #c49a6c;

    /* Main content: hippie boho accents */
    --sun-orange: #f4a024;
    --sun-yellow: #ffd166;
    --meadow-green: #5a9e4b;
    --forest-green: #2d5a3d;
    --tie-purple: #9b59b6;
    --tie-pink: #e84393;
    --coral: #d97167;

    /* Semantic tokens */
    --color-primary: var(--bone);
    --color-secondary: var(--black);
    --color-accent: var(--forest-green);
    --cream: var(--bone);
    --cream-dark: var(--bone-dark);
    --text-dark: var(--black);
    --text-muted: #4a4540;
    --border: #d4cdc3;
    --shadow: rgba(13, 13, 13, 0.1);
    --blush: var(--bone-dark);

    --radius: 1rem;
    --radius-sm: 4px;
    --font-body: "Comfortaa", "Segoe UI", sans-serif;
    --font-display: "Permanent Marker", cursive;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-secondary);
    background: var(--color-primary);
}

a {
    color: var(--forest-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--tie-purple);
}

.icon-gap {
    margin-right: 0.35rem;
}

/* Promo bars (Natural Life) */

.promo-bar {
    background: var(--color-secondary);
    color: var(--color-primary);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.promo-bar--accent {
    background: var(--wood-deep);
    color: var(--bone-light);
}

.promo-bar__message {
    margin: 0;
}

.promo-bar a {
    color: var(--bone-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.promo-bar a:hover {
    color: var(--wood-glow);
}

/* Utility bar */

.utility-bar {
    background: var(--color-primary);
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
}

.utility-bar__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.45rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.utility-bar__links {
    display: flex;
    gap: 1.25rem;
}

.utility-bar a {
    color: var(--text-muted);
    text-decoration: none;
}

.utility-bar a:hover {
    color: var(--color-secondary);
}

/* Header - burnt wood background, logo left */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--wood-deep);
    background-image:
        linear-gradient(90deg, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0.15) 50%, rgba(13, 13, 13, 0.3) 100%),
        url("../../../Content/img/header-wood.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.3rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem 1rem;
}

.site-header__brand-link {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
    margin-right: auto;
}

/* Theme skins can strip CssClass; size logo in header */
.site-header__inner img,
.site-header__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(58vw, 390px);
    max-height: 125px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
}

.site-header__nav {
    flex: 1 1 auto;
    padding: 0;
    background: none;
    border: none;
}

.site-header .navbar {
    padding: 0;
    width: 100%;
}

@media (min-width: 992px) {
    .site-header__nav {
        width: auto;
        flex: 0 1 auto;
    }

    .site-header .navbar {
        width: auto;
    }
}

.site-header .navbar-toggler {
    border-color: rgba(196, 154, 108, 0.5);
    padding: 0.4rem 0.65rem;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(196, 154, 108, 0.35);
}

.site-header .navbar-toggler-icon {
    filter: invert(1);
}

.main-nav {
    gap: 0.35rem;
}

.site-header .main-nav .nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}

.site-header .main-nav .nav-link:hover,
.site-header .main-nav .nav-link:focus {
    background: rgba(247, 244, 239, 0.15);
    color: var(--wood-glow);
    transform: translateY(-1px);
}

.site-header .main-nav .nav-link.active {
    background: var(--color-primary);
    color: var(--color-secondary);
}

.footer-logo,
.footer-col--brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 72px;
    margin-bottom: 0.75rem;
    object-fit: contain;
}

/* Main layout */

.site-main {
    flex: 1;
    width: 100%;
    background: var(--bone);
}

/* Hero */

.hero {
    min-height: 420px;
    padding: 2.5rem 0;
}

.hero-kicker {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--tie-purple);
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--color-secondary);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin: 0 0 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Hero photo carousel */

.hero-carousel {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 28px var(--shadow);
    background: var(--bone-dark);
}

.hero-carousel__img {
    height: 320px;
    object-fit: cover;
    object-position: center;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--forest-green);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

/* Section separator above feature cards */

.section-divider {
    max-width: var(--max-width);
    margin: 0 auto 2.5rem;
    border: 0;
    border-top: 2px solid var(--border);
    opacity: 1;
}

/* Section headers */

.section-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin: 0;
}

/* Category row (Natural Life) */

.category-row {
    padding: 0 0 3rem;
}

.category-row.container,
.shop-look.container,
.feature-grid.container {
    max-width: var(--max-width);
}

.shop-look {
    padding-bottom: 2.5rem;
}

.category-row--compact {
    padding-top: 0;
    padding-bottom: 2rem;
}

.category-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.category-tile {
    flex: 0 0 140px;
    text-decoration: none;
    text-align: center;
}

.category-tile--sm {
    flex: 0 0 110px;
}

.category-tile__image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-bottom: 0.65rem;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.2s;
}

.category-tile:hover .category-tile__image {
    transform: scale(1.05);
}

.category-tile__image--suede {
    background: linear-gradient(145deg, #f0c987, #d4a056);
}

.category-tile__image--tiedye {
    background: linear-gradient(145deg, #e8837a, #9b59b6, #5a9e4b);
}

.category-tile__image--pro {
    background: linear-gradient(145deg, #6b8f71, #3d5a45);
}

.category-tile__image--festival {
    background: linear-gradient(145deg, #ff6b9d, #ffd166, #5a9e4b);
}

.category-tile__image--gift {
    background: linear-gradient(145deg, var(--blush), var(--coral));
}

.category-tile__image--confetti {
    background: linear-gradient(145deg, #ff6b9d, #ffd166, #5a9e4b, #9b59b6);
}

.category-tile__image--surprise {
    background: linear-gradient(145deg, var(--tie-purple), var(--sun-orange), var(--tie-pink));
}

.category-tile__image--custom {
    background: linear-gradient(145deg, var(--bone-dark), var(--forest-green), var(--black-soft));
}

.category-tile__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Product grid (Natural Life layout, hippie colors) */

.product-card {
    text-align: center;
}

.product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    margin-bottom: 0.85rem;
    transition: transform 0.2s, opacity 0.2s;
}

.product-card__media {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 0.85rem;
}

.product-card__media .product-card__image {
    margin-bottom: 0;
    width: 100%;
    height: 100%;
}

.product-card__photo,
.product-card__media > img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    transition: transform 0.2s, opacity 0.2s;
}

.product-card__link:hover .product-card__photo,
.product-card__link:hover .product-card__image {
    transform: translateY(-4px);
    opacity: 0.95;
}

.category-tile__image--photo {
    overflow: hidden;
}

.category-tile__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.category-tile--active .category-tile__label {
    color: var(--forest-green);
}

.admin-category-preview {
    width: 110px;
}

.admin-category-preview__fallback {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 4px 12px var(--shadow);
}

.admin-category-preview__photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px var(--shadow);
}

/* Product detail (store) */

.product-detail__media {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow);
}

.product-detail__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__fallback {
    width: 100%;
    height: 100%;
    min-height: 320px;
    margin-bottom: 0;
}

.product-detail__badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 0.5rem;
}

.product-detail__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}

.product-detail__price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--forest-green);
}

.product-detail__meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-detail__description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 1.25rem 0;
}

.product-detail__image-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.store-images-note code {
    color: var(--forest-green);
}

/* Responsive */

.product-card__image--sunrise {
    background: linear-gradient(160deg, #fce4b8 0%, #e8a84c 100%);
}

.product-card__image--ripple {
    background: linear-gradient(160deg, #f5c4d8 0%, #b088c8 50%, #88c8a0 100%);
}

.product-card__image--meadow {
    background: linear-gradient(160deg, #c8e6ca 0%, #5a9e4b 100%);
}

.product-card__image--neon {
    background: linear-gradient(160deg, #ffe066 0%, #ff6b9d 100%);
}

.product-card__badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    background: var(--bone-light);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-secondary);
    margin: 0 0 0.25rem;
}

.product-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.product-card__price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--forest-green);
    margin: 0;
}

.product-card__meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0.15rem 0 0;
    opacity: 0.8;
}

.product-card__actions {
    margin-top: 0.75rem;
}

.product-card__actions .btn {
    min-width: 9.5rem;
}

/* Etsy reviews */

.etsy-reviews-section {
    max-width: var(--max-width);
    padding: 0 0 2.5rem;
}

.etsy-reviews-section__lead {
    color: var(--text-muted);
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

.etsy-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.etsy-review-card {
    background: var(--bone-light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
    padding: 1.25rem;
    height: 100%;
}

.etsy-review__stars {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.etsy-review__star {
    font-size: 0.95rem;
}

.etsy-review__star--filled {
    color: #e8a317;
}

.etsy-review__text {
    margin: 0 0 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.55;
}

.etsy-review__meta {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.etsy-review__image-wrap {
    margin-top: 0.85rem;
}

.etsy-review__image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid var(--border);
}

/* Instructional videos */

.instructional-videos-section {
    max-width: var(--max-width);
    padding: 0 0 2.5rem;
}

.instructional-videos-section__lead {
    color: var(--text-muted);
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

.instructional-videos-carousel {
    position: relative;
}

.instructional-videos-carousel__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 2.75rem 0.75rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.instructional-videos-carousel__track:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 4px;
    border-radius: var(--radius);
}

.instructional-video-card {
    flex: 0 0 min(100%, 300px);
    scroll-snap-align: start;
}

.instructional-video-card__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.instructional-video-card__trigger:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 4px;
    border-radius: var(--radius);
}

.instructional-video-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bone-dark);
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow);
}

.instructional-video-card__thumb,
.instructional-video-card__preview,
.instructional-video-card__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.instructional-video-card__thumb {
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.instructional-video-card__preview {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.instructional-video-card__iframe {
    border: 0;
}

.instructional-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 13, 13, 0.28);
    color: #fff;
    font-size: 1.35rem;
    transition: background 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
}

.instructional-video-card__play i {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 13, 13, 0.55);
    padding-left: 0.2rem;
}

.instructional-video-card.is-previewing .instructional-video-card__thumb,
.instructional-video-card.is-previewing .instructional-video-card__play {
    opacity: 0;
}

.instructional-video-card.is-previewing .instructional-video-card__preview {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .instructional-video-card:hover .instructional-video-card__play {
        background: rgba(13, 13, 13, 0.18);
    }
}

.instructional-video-card__body {
    display: block;
    padding: 0.85rem 0.15rem 0;
}

.instructional-video-card__title {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-secondary);
    margin-bottom: 0.35rem;
}

.instructional-video-card__description {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.instructional-videos-carousel__nav {
    position: absolute;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: var(--bone-light);
    box-shadow: 0 2px 8px var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
    color: var(--forest-green);
    font-size: 0.85rem;
}

.instructional-videos-carousel__nav:hover {
    opacity: 1;
    background: #fff;
}

.instructional-videos-carousel__nav--prev {
    left: 0;
}

.instructional-videos-carousel__nav--next {
    right: 0;
}

.instructional-video-modal .modal-header {
    border-bottom: 1px solid var(--border);
}

.instructional-video-modal__embed iframe {
    border: 0;
}

@media (max-width: 575.98px) {
    .instructional-videos-carousel__track {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .instructional-videos-carousel__nav {
        display: none;
    }

    .instructional-video-card {
        flex-basis: min(85vw, 300px);
    }
}

/* Feature cards */

.feature-card {
    background: var(--bone-light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
}

.feature-card .card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.feature-card .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Legacy feature grid fallback */
.feature-grid {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Page headers */

.page-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 1.5rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--color-secondary);
    margin: 0 0 0.5rem;
}

.page-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 36rem;
    margin: 0 auto;
}

.coming-soon-note {
    text-align: center;
    padding: 0 1.5rem 3rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Prose */

.prose {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.prose p {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--color-secondary);
    margin: 2rem 0 0.75rem;
}

.prose h2:first-of-type {
    margin-top: 0;
}

.prose ul {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    color: var(--forest-green);
    font-weight: 600;
}

.prose a:hover {
    color: var(--tie-purple);
}

.prose__note {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: var(--bone-dark);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

/* FAQ */

.faq-list {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.faq-list .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--color-primary);
}

.faq-list .accordion-button {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-secondary);
    background: var(--color-primary);
    box-shadow: none;
}

.faq-list .accordion-button:not(.collapsed) {
    color: var(--forest-green);
    background: var(--bone-dark);
}

.faq-list .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

.faq-list .accordion-body {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-list .accordion-body a {
    color: var(--forest-green);
    font-weight: 600;
}

.faq-list__footer {
    margin: 2rem 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.faq-list__footer a {
    color: var(--forest-green);
    font-weight: 600;
}

/* Buttons (hippie pills - overrides Bootstrap) */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-yellow));
    color: var(--color-secondary);
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-yellow));
    color: var(--color-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

/* Forms (Bootstrap + brand) */

.form-control {
    font-family: var(--font-body);
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background: var(--color-primary);
    padding: 0.65rem 0.85rem;
}

.form-select {
    font-family: var(--font-body);
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background-color: var(--color-primary);
    padding: 0.65rem 0.85rem;
}

.form-select:focus {
    border-color: var(--forest-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.2);
}

.form-control:focus {
    border-color: var(--meadow-green);
    box-shadow: 0 0 0 0.2rem rgba(90, 158, 75, 0.2);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact */

.contact-page {
    max-width: var(--max-width);
}

.contact-card {
    background: var(--color-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px var(--shadow);
}

.contact-card--vibes {
    background: linear-gradient(145deg, var(--bone-dark), rgba(255, 209, 102, 0.15));
}

.contact-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin: 0 0 0.75rem;
}

.contact-card__text {
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.6;
}

.contact-perks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.contact-perks i {
    color: var(--forest-green);
    margin-top: 0.2rem;
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.contact-detail {
    margin: 0 0 0.65rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-detail a {
    color: var(--forest-green);
    font-weight: 600;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--tie-purple);
}

.contact-detail--muted {
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.25rem 0;
}

.contact-quick-links__label {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.contact-quick-links a {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--bone-dark);
    color: var(--forest-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: background 0.2s, color 0.2s;
}

.contact-quick-links a:hover {
    background: var(--forest-green);
    color: var(--color-primary);
    border-color: var(--forest-green);
}

.contact-form-card {
    background: var(--color-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 6px 24px var(--shadow);
}

.contact-form-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin: 0 0 0.35rem;
}

.contact-form-card__lead {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}

.contact-validation {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.contact-validation ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.contact-alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    line-height: 1.55;
}

.contact-alert--success {
    background: linear-gradient(135deg, rgba(90, 158, 75, 0.12), rgba(255, 209, 102, 0.2));
    border: 2px solid var(--meadow-green);
    color: var(--forest-green);
    font-weight: 600;
}

.contact-alert--error {
    background: rgba(232, 67, 147, 0.08);
    border: 2px solid var(--tie-pink);
    color: var(--text-dark);
}

.contact-alert--error a {
    color: var(--forest-green);
    font-weight: 600;
}

.contact-alert__fallback {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.field-error {
    display: block;
    color: var(--tie-pink);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.success-message {
    background: linear-gradient(135deg, rgba(90, 158, 75, 0.12), rgba(255, 209, 102, 0.2));
    border: 2px solid var(--meadow-green);
    border-radius: var(--radius);
    color: var(--forest-green);
    font-weight: 600;
}

.newsletter-form .form-control {
    border-radius: 999px;
    max-width: 280px;
}

/* Newsletter band (Natural Life) */

.newsletter-band {
    background: var(--bone);
    border-top: 2px solid var(--border);
    padding: 2.5rem 1.5rem;
}

.newsletter-band__inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-band__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-secondary);
    margin: 0 0 0.5rem;
}

.newsletter-band__lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form__input {
    flex: 1 1 200px;
    max-width: 280px;
    padding: 0.65rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 2px solid var(--border);
    border-radius: 999px;
    background: var(--bone-light);
}

.newsletter-form__input:focus {
    outline: none;
    border-color: var(--meadow-green);
}

/* Footer (blend: hippie dark + NL columns) */

.site-footer {
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 3rem 1.5rem 0;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bone-light);
    margin: 0 0 1rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(247, 244, 239, 0.85);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--sun-yellow);
}

.footer-peace {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--bone-light);
    font-size: 1.25rem;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s, color 0.15s;
}

.footer-social a:hover {
    color: var(--sun-yellow);
    opacity: 1;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(247, 244, 239, 0.2);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Responsive / mobile */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.site-main {
    overflow-x: hidden;
    overflow-x: clip;
}

.site-main img:not(.site-header__logo):not(.footer-logo) {
    max-width: 100%;
    height: auto;
}

/* Tablet and below */
@media (max-width: 991px) {
    .site-header__inner {
        padding: 0.35rem 0.75rem;
        align-items: center;
    }

    .site-header__brand-link {
        margin-right: auto;
        max-width: calc(100% - 3.5rem);
    }

    .site-header .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        width: auto;
        flex: 0 0 auto;
    }

    .site-header .navbar-toggler {
        margin-left: auto;
        min-width: 44px;
        min-height: 44px;
    }

    .site-header__inner img,
    .site-header__logo {
        max-height: 88px;
        max-width: min(70vw, 280px);
    }

    .site-header__nav {
        flex: 1 1 100%;
        width: 100%;
    }

    .site-header .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.5rem;
        background: rgba(61, 36, 24, 0.92);
        border-radius: var(--radius-sm);
    }

    .site-header .main-nav {
        align-items: stretch;
        width: 100%;
        gap: 0.25rem;
    }

    .site-header .main-nav .nav-item {
        width: 100%;
    }

    .site-header .main-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 0.65rem 1rem;
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-col--brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Phone */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 0;
        padding: 1.5rem 0 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero-carousel__img {
        height: min(50vw, 260px);
        min-height: 200px;
    }

    .page-header {
        padding: 1.75rem 1rem 1rem;
    }

    .page-header h1 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .page-lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .utility-bar__inner {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 1rem;
        gap: 0.35rem;
    }

    .utility-bar__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .utility-bar a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0.25rem 0.35rem;
    }

    .category-scroll {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .category-tile--sm {
        flex: 0 0 100px;
        scroll-snap-align: start;
    }

    .product-card__name {
        font-size: 0.95rem;
    }

    .product-card__desc {
        font-size: 0.8rem;
    }

    .product-detail__actions {
        flex-direction: column;
    }

    .product-detail__actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .product-detail__fallback {
        min-height: 240px;
    }

    .contact-page .row {
        row-gap: 1.5rem;
    }

    .contact-form-card,
    .contact-card {
        padding: 1.25rem;
    }

    .contact-quick-links {
        justify-content: center;
    }

    .prose,
    .faq-list,
    .contact-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .newsletter-band {
        padding: 2rem 1rem;
    }

    .newsletter-band__title {
        font-size: 1.45rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .newsletter-form .form-control,
    .newsletter-form__input {
        max-width: none;
        width: 100%;
        min-height: 48px;
    }

    .newsletter-form .btn {
        width: 100%;
        min-height: 48px;
    }

    .site-footer {
        padding: 2rem 1rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-links a {
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
        padding: 0 0.25rem;
    }

    .coming-soon-note {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.9rem;
    }

  /* Prevent iOS zoom on form focus */
    .form-control,
    .form-select,
    .newsletter-form__input {
        font-size: 16px;
    }

    .btn {
        min-height: 44px;
    }
}

/* Small phone */
@media (max-width: 575px) {
    .site-header__inner img,
    .site-header__logo {
        max-height: 72px;
        max-width: min(65vw, 240px);
    }

    .utility-bar {
        font-size: 0.7rem;
    }

    .shop-look .row {
        --bs-gutter-x: 0.75rem;
    }

    .product-card__price {
        font-size: 0.9rem;
    }

    .feature-card .card-title {
        font-size: 1.1rem;
    }

    .faq-list .accordion-button {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }
}

/* Admin backend */

.admin-body {
    font-family: var(--font-body);
    background: var(--bone-dark);
    color: var(--color-secondary);
    min-height: 100vh;
}

.admin-topbar {
    background: var(--color-secondary);
    color: var(--bone);
    border-bottom: 3px solid var(--forest-green);
}

.admin-topbar__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-topbar__brand {
    color: var(--bone);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
}

.admin-topbar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-topbar__nav a {
    color: var(--bone-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-topbar__nav a:hover {
    color: var(--sun-yellow);
}

.admin-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.admin-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-page-header h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 0 0.35rem;
}

.admin-page-header__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-form-card,
.admin-table-wrap {
    background: var(--color-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 16px var(--shadow);
}

.admin-table {
    margin: 0;
}

.admin-table__thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.5rem;
    background: var(--bone-dark);
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.admin-photo-panel {
    background: var(--bone-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.admin-photo-panel__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.admin-photo-panel__preview {
    display: block;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.admin-photo-panel__file {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-photo-panel__actions {
    min-height: 2rem;
}

.admin-cropper-wrap {
    width: 100%;
    max-height: min(60vh, 520px);
    background: #1f1f1f;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.admin-cropper-wrap img {
    display: block;
    max-width: 100%;
}

#imageCropModal .modal-body {
    padding-top: 0.75rem;
}

.admin-check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
    min-height: auto;
}

.admin-form-card .admin-check-row.form-check {
    padding-left: 0;
}

.admin-form-card .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
}

.admin-form-card .form-check-label {
    display: block;
    line-height: 1.45;
    padding-top: 0.05rem;
    cursor: pointer;
}

.admin-flags {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bone-dark);
}

.admin-flags legend {
    float: none;
    width: auto;
    padding: 0;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.admin-flash {
    margin-bottom: 1rem;
}

.admin-section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 1rem;
    padding-top: 0.25rem;
}

.admin-section-title:not(:first-child) {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.admin-list-row {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bone-light);
    padding: 1rem;
    margin-bottom: 1rem;
}

.admin-list-row__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid var(--border);
    display: block;
}

.admin-list-row__missing {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 1px dashed var(--border);
    border-radius: calc(var(--radius) - 4px);
    font-size: 0.9rem;
}

.admin-color-input {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.admin-color-input .form-control-color {
    width: 3.25rem;
    height: 2.75rem;
    padding: 0.2rem;
    flex: 0 0 auto;
}

.admin-header-preview {
    min-height: 4.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: var(--color-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 8px 28px var(--shadow);
}

.admin-login-card__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 0 0.35rem;
    text-align: center;
}

.admin-login-card__lead {
    text-align: center;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}

.admin-login-card__back {
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .admin-page-header {
        flex-direction: column;
    }

    .admin-page-header .btn {
        width: 100%;
    }

    .admin-table-wrap {
        overflow-x: auto;
    }

    .admin-form-actions .btn {
        width: 100%;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
