/*
FILE: /assets/style.css
PURPOSE:
Core public design system for Beejeebers MVP.

AUTHOR: AI + Will Haimerl
DATE CREATED: 2026-03-22
LAST MODIFIED: 2026-03-22

DEPENDENCIES:
- None

RELATED FILES:
- /templates/header.php
- /templates/footer.php
- /pet-mugshot.php

DATABASE TABLES TOUCHED:
- None

SECURITY NOTES:
- No inline CSS expected on public pages

FUTURE UPGRADE NOTES:
- Can later add cart styles, admin shared tokens, form states, and modal styles.
*/

:root {
    --bg: #ffffff;
    --text: #132019;
    --text-soft: #536158;
    --line: #dfe7e1;
    --line-strong: #c4d0c8;
    --green: #1f4d3a;
    --green-dark: #16392b;
    --green-soft: #eef5f1;
    --cream: #f7f6f2;
    --danger: #8f2f2f;
    --shadow: 0 10px 30px rgba(17, 31, 24, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --wrap: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--green);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrap {
    width: min(100% - 32px, var(--wrap));
    margin: 0 auto;
}

.announcement-bar {
    background: var(--green);
    color: #ffffff;
    font-size: 0.95rem;
}

.announcement-bar__inner {
    padding: 10px 0;
    text-align: center;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}

.site-logo {
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.site-logo:hover {
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.site-nav a[aria-current="page"] {
    color: var(--green);
}

.site-main {
    min-height: 70vh;
}

.hero {
    padding: 64px 0 28px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 42px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero h1,
.section-title {
    margin: 0 0 14px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.hero p.lead {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 1.1rem;
    max-width: 58ch;
}

.hero-points {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.hero-points li {
    margin: 0 0 10px;
    padding-left: 28px;
    position: relative;
    color: var(--text);
    font-weight: 600;
}

.hero-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 800;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--green);
    border-radius: 999px;
    background: var(--green);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.button:hover,
button.button:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.button--secondary {
    background: #ffffff;
    color: var(--green);
}

.button--secondary:hover {
    background: var(--green-soft);
    color: var(--green);
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 22px;
    font-size: 1.6rem;
    font-weight: 800;
}

.price-badge small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-soft);
}

.hero-art {
    position: relative;
}

.hero-art__frame {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-art__placeholder {
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    padding: 26px;
    text-align: center;
    color: var(--text-soft);
    font-weight: 700;
    background:
        linear-gradient(135deg, rgba(31,77,58,0.08), rgba(31,77,58,0.02)),
        #f6f4ef;
}

.section {
    padding: 34px 0 28px;
}

.section--soft {
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-intro {
    max-width: 62ch;
    margin: 0 0 24px;
    color: var(--text-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item__image {
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(135deg, rgba(31,77,58,0.08), rgba(31,77,58,0.02)),
        #f3efe8;
    display: grid;
    place-items: center;
    padding: 18px;
    text-align: center;
    color: var(--text-soft);
    font-weight: 700;
}

.gallery-item__caption {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--text-soft);
}

.two-col {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 34px;
    align-items: start;
}

.list-clean {
    margin: 0;
    padding-left: 18px;
}

.list-clean li + li {
    margin-top: 10px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.step__number {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--green);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 12px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 20px;
    background: #ffffff;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-soft);
}

.notice {
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--green-soft);
    border: 1px solid #d7e7dd;
    color: var(--text);
}

.cta-panel {
    text-align: center;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}
.cta-panel__intro {
    margin-left: auto;
    margin-right: auto;
}
.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    background: #fbfbf9;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 38px;
}

.site-footer__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.muted {
    color: var(--text-soft);
}

@media (max-width: 980px) {
    .hero__grid,
    .two-col,
    .steps,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 42px;
    }

    .site-header__inner,
    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
.page-title {
    margin-top: 0;
}
.thankyou-summary {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    text-align: left;
}

.thankyou-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.thankyou-summary__row:last-child {
    border-bottom: 0;
}

.thankyou-notice {
    max-width: 720px;
    margin: 0 auto 20px;
    text-align: left;
}

.thankyou-section-title {
    margin-top: 28px;
}

.upload-form {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--green);
}

.thankyou-help {
    margin-top: 14px;
}

.upload-list {
    max-width: 720px;
    margin: 0 auto 24px;
    display: grid;
    gap: 12px;
    text-align: left;
}

.upload-list__item {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}
.shopify-upload {
    width: 100%;
}

.shopify-upload__input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.shopify-upload__dropzone {
    display: block;
    width: 100%;
    border: 2px dashed #c9ccd2;
    border-radius: 16px;
    background: #f6f6f7;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.shopify-upload__dropzone:hover {
    border-color: #8c9196;
    background: #f1f2f3;
}

.shopify-upload__dropzone.is-dragover {
    border-color: #111827;
    background: #eef2ff;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.shopify-upload__dropzone.is-has-file {
    border-color: #16a34a;
    background: #f0fdf4;
}

.shopify-upload__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.shopify-upload__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #c9ccd2;
    border-radius: 12px;
    background: #ffffff;
    color: #303030;
    font-weight: 600;
    line-height: 1;
}

.shopify-upload__or {
    font-size: 16px;
    color: #4a4a4a;
}

.shopify-upload__types {
    font-size: 14px;
    color: #6b7280;
}

.shopify-upload__filename {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    margin-top: 3px;
}

.upload-help-text {
    margin-top: 8px;
}

/* PET MUGSHOT PRODUCT HERO */
.product-hero {
    padding: 36px 0 28px;
}

.product-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: start;
}

.product-hero__media {
    display: block;
}

.product-hero__image-main {
    border-radius: 18px;
    overflow: hidden;
    background: #f6f6f3;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.product-hero__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-hero__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.product-thumb {
    border: 1px solid #d8ddd3;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.product-thumb.is-active {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.product-title {
    margin: 0 0 10px;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product-meta-label {
    font-size: 0.95rem;
    color: #5f665c;
    font-weight: 600;
}

.product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.product-price-note {
    color: #5f665c;
    font-size: 0.95rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef6ef;
    color: #1f5f2d;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-short {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.product-main-cta {
    margin-bottom: 10px;
}

.button--full {
    width: 100%;
    justify-content: center;
}

.product-microcopy {
    color: #5f665c;
    font-size: 0.92rem;
    margin-bottom: 22px;
}

.product-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.product-highlight {
    padding: 12px 14px;
    border: 1px solid #dfe5db;
    border-radius: 14px;
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-description-block {
    margin-bottom: 24px;
}

.product-description-block p + p {
    margin-top: 12px;
}

.product-mini-faq {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.product-mini-faq__item {
    padding: 14px 16px;
    border: 1px solid #dfe5db;
    border-radius: 14px;
    background: #fcfcfa;
    line-height: 1.6;
}

.product-trust-note {
    color: #4c5349;
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .product-hero {
        padding-top: 20px;
    }

    .product-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-hero__image-main {
        aspect-ratio: 4 / 5;
    }

    .product-highlights {
        grid-template-columns: 1fr;
    }

    .product-price {
        font-size: 1.8rem;
    }
}
/* MOBILE PRIORITY: image first, CTA directly under details */
@media (max-width: 900px) {
    .product-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-hero {
        padding-top: 20px;
    }

    .product-hero__thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-highlights {
        grid-template-columns: 1fr;
    }

    .product-price {
        font-size: 1.8rem;
    }
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e8ece5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo__img {
    width: 42px;
    height: 42px;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    text-decoration: none;
    color: #1d241c;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid #dfe5db;
    border-radius: 10px;
    background: #fff;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle__bar {
    width: 20px;
    height: 2px;
    background: #111;
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e8ece5;
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .site-nav.is-open {
        display: flex;
    }
}

.narrow {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.legal-content h2 {
    margin-top: 28px;
}

.legal-content ul {
    padding-left: 22px;
}

.legal-content li + li {
    margin-top: 8px;
}

.preview-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #1f7a63;
    border-radius: 50%;
    margin: 20px auto;
    animation: preview-spin 1s linear infinite;
}

@keyframes preview-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-hero__headline {
    text-align: center;
    margin-bottom: 20px;
}

.product-hero__headline .product-title {
    font-size: 32px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .product-hero__headline .product-title {
        font-size: 26px;
    }
}