/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; }
a { color: #8B4513; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* === Announcement Bar === */
.announcement-bar {
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.45);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.announcement-bar a { color: white; font-weight: 500; }
.announcement-bar a:hover { text-decoration: underline; }

/* === Navigation === */
.main-nav {
    background: white;
    border-bottom: 1px solid #e0d5c7;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}
.main-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-image: url('/static/images/site/wood-grain.webp') 30 stretch;
    border-bottom-width: 3px;
    border-bottom-style: solid;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 65px;
}
.nav-logo {
    font-size: 1.4em;
    font-weight: 700;
    color: #3E2723;
    transition: color 0.3s;
}
.nav-logo span { font-weight: 400; color: #8B4513; }
.nav-logo:hover { text-decoration: none; color: #8B4513; }
.nav-links { display: flex; gap: 25px; }
.nav-links a {
    color: #555;
    font-weight: 500;
    font-size: 0.95em;
    position: relative;
    transition: color 0.3s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4513;
    transition: width 0.3s ease;
}
.nav-links a:hover { color: #8B4513; text-decoration: none; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #8B4513; }
.nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5em; cursor: pointer; color: #333; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid #e0d5c7;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .nav-links.open { display: flex; }
    .nav-links a::after { display: none; }
}

/* === Scroll Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.15s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.45s; }

/* Species tag stagger */
.species-tags .tag {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.species-tags.visible .tag { opacity: 1; transform: scale(1) translateY(0); }
.species-tags.visible .tag:nth-child(1) { transition-delay: 0s; }
.species-tags.visible .tag:nth-child(2) { transition-delay: 0.05s; }
.species-tags.visible .tag:nth-child(3) { transition-delay: 0.1s; }
.species-tags.visible .tag:nth-child(4) { transition-delay: 0.15s; }
.species-tags.visible .tag:nth-child(5) { transition-delay: 0.2s; }
.species-tags.visible .tag:nth-child(6) { transition-delay: 0.25s; }
.species-tags.visible .tag:nth-child(7) { transition-delay: 0.3s; }
.species-tags.visible .tag:nth-child(8) { transition-delay: 0.35s; }
.species-tags.visible .tag:nth-child(9) { transition-delay: 0.4s; }
.species-tags.visible .tag:nth-child(10) { transition-delay: 0.45s; }
.species-tags.visible .tag:nth-child(11) { transition-delay: 0.5s; }
.species-tags.visible .tag:nth-child(12) { transition-delay: 0.55s; }
.species-tags.visible .tag:nth-child(13) { transition-delay: 0.6s; }
.species-tags.visible .tag:nth-child(14) { transition-delay: 0.65s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-left, .fade-in-right { opacity: 1; transform: none; transition: none; }
    .species-tags .tag { opacity: 1; transform: none; transition: none; }
    .hero-content h1, .hero-content .hero-subtitle,
    .hero-content .hero-tagline, .hero-content .hero-buttons { opacity: 1; transform: none; transition: none; }
/* SEO h1 - visually hidden but readable by search engines */
.hero-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

}

/* === Hero === */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
}
@media (max-width: 768px) {
    .hero { background-attachment: scroll; }
}
.hero-overlay {
    flex: 1;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 40px 60px 40px;
}
.hero-content { max-width: 650px; }
.hero-content h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.hero-content .hero-subtitle {
    color: white;
    font-size: 1.5em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease 0.5s forwards;
}
.hero-content .hero-tagline {
    color: #ddd;
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease 0.8s forwards;
}
.hero-content .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease 1.1s forwards;
}

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero { min-height: 450px; }

    .hero-content .hero-subtitle { font-size: 1.2em; }
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: #8B4513; color: white; box-shadow: 0 2px 8px rgba(139,69,19,0.3); }
.btn-primary:hover { background: #6d350e; box-shadow: 0 4px 16px rgba(139,69,19,0.4); }
.btn-outline { background: transparent; color: #8B4513; border-color: #8B4513; }
.btn-outline:hover { background: #8B4513; color: white; box-shadow: 0 4px 16px rgba(139,69,19,0.3); }
.hero .btn-outline { color: white; border-color: white; }
.hero .btn-outline:hover { background: white; color: #8B4513; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 10px; }

/* === Sections === */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}
.intro-section { max-width: 900px; text-align: center; }
.intro-section h2 { font-size: 2em; color: #333; margin-bottom: 15px; }
.intro-section p { font-size: 1.15em; color: #555; line-height: 1.7; margin-bottom: 24px; }

/* === Feature Cards === */
.feature-cards { display: flex; gap: 30px; flex-wrap: wrap; }
.card {
    flex: 1;
    min-width: 280px;
    text-align: center;
    transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-5px); }
.card-image {
    height: 300px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    overflow: hidden;
    transition: transform 0.6s ease;
    position: relative;
}
.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    border-radius: 8px;
}
.card:hover .card-image::after { background: rgba(139,69,19,0.1); }
.card h3 { color: #333; margin-bottom: 8px; }
.card p { color: #666; line-height: 1.6; margin-bottom: 10px; }
.card-link {
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.35);
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    padding: 8px 18px;
    border-radius: 4px;
    display: inline-block;
    color: #8B4513;
    font-weight: 600;
    transition: letter-spacing 0.3s ease;
}
.card-link:hover { letter-spacing: 1px; text-decoration: none; box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.5); }

/* === Why Section === */
.why-section { background: #f9f6f1; padding: 60px 20px; max-width: 100%; }
.why-section h2 { text-align: center; color: #333; font-size: 1.8em; margin-bottom: 30px; }
.why-cards { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; max-width: 1100px; margin: 0 auto; }
.why-card {
    overflow: hidden;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.why-card::before {
    content: '';
    display: block;
    height: 5px;
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    margin: -20px -25px 18px;
}
.why-card:hover { background: rgba(139,69,19,0.05); transform: translateY(-3px); }
.why-card h3 { color: #8B4513; font-size: 1.3em; margin-bottom: 8px; }
.why-card p { color: #555; line-height: 1.6; }

/* === Species Tags === */
.species-section { text-align: center; }
.species-section h2 { font-size: 1.8em; color: #333; margin-bottom: 10px; }
.species-subtitle { color: #666; margin-bottom: 30px; }
.species-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95em;
    color: white;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tag:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.tag-primary { background: #8B4513; }
.tag-accent { background: #A0522D; }
.tag-more { background: #CD853F; }
.species-link { margin-top: 20px; }
.species-link a { color: #8B4513; font-weight: 600; }

/* === Contractor CTA === */
.contractor-cta { background: #333; padding: 50px 20px; max-width: 100%; text-align: center; }
.contractor-cta h2 { color: white; font-size: 1.8em; margin-bottom: 15px; }
.contractor-cta p { color: #ccc; font-size: 1.1em; margin-bottom: 25px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* === Contact CTA === */
.contact-cta { text-align: center; background: #f9f6f1; padding: 50px 20px; max-width: 100%; border-radius: 0; }
.contact-cta h2 { color: #333; font-size: 1.8em; margin-bottom: 15px; }
.contact-cta p { color: #555; font-size: 1.1em; line-height: 1.7; }
.contact-phone { margin-top: 15px; }
.contact-phone a {
    font-size: 1.8em;
    font-weight: 700;
    color: #8B4513;
    transition: color 0.3s, letter-spacing 0.3s;
}
.contact-phone a:hover { color: #6d350e; letter-spacing: 1px; text-decoration: none; }
.contact-email a { color: #8B4513; font-size: 1.1em; }
.contact-location { color: #888; margin-top: 10px; }

/* === Product Grid - Tall Cards === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-decoration: none;
}

/* Image container - portrait 2:3 ratio */
.product-card-image {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
    background: #f5f0eb;
    border-radius: 6px 6px 0 0;
}
.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.03); }

/* Card text area */
.product-card-info {
    padding: 0.75rem 0.5rem;
}
.product-card-info h3 {
    font-size: 0.95rem;
    color: #3E2723;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}
.product-card-info .species {
    font-size: 0.8rem;
    color: #888;
    margin: 0 0 0.25rem;
    display: block;
}
.product-card-info .price {
    font-size: 0.85rem;
    color: #8B4513;
    font-weight: 600;
    margin: 0;
}

/* Sold overlay */
.product-card.sold .product-card-image::after {
    content: "Sold";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(44, 24, 16, 0.85);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}
.product-card-info .sold-text { color: #8B4513; font-weight: 600; }

.product-card.sold .product-card-image img {
    opacity: 0.5;
}

.no-image { height: 250px; background: #f0ebe3; display: flex; align-items: center; justify-content: center; color: #999; }
.no-image.large { height: 400px; font-size: 1.2em; border-radius: 8px; }

/* === Category Filter === */
.category-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    border: 1px solid #d4c5b0;
    color: #666;
    background: white;
    transition: all 0.3s ease;
}
.filter-btn:hover { background: #f9f6f1; text-decoration: none; color: #333; transform: translateY(-2px); }
.filter-btn.active { background-image: url("/static/images/site/wood-grain.webp"); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.35); color: white; border-color: transparent; text-shadow: 1px 1px 2px rgba(0,0,0,0.4); }

/* === Badges === */
.badge-sold {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}
.badge-instock {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}
.badge-sold-large {
    background: #dc3545;
    color: white;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    margin: 10px 0;
}

/* === Product Page - Two Column Layout === */
.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* Breadcrumb */
.product-page .breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0;
}
.product-page .breadcrumb a { color: #888; }
.product-page .breadcrumb a:hover { color: #8B4513; text-decoration: none; }

/* Two-column grid */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Left: Image Gallery (thumbs + main image side by side) */
.product-gallery {
    display: flex;
    gap: 0.75rem;
}

/* Vertical thumbnail strip */
.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 72px;
}
.gallery-thumbnails .thumb {
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    background: none;
    padding: 0;
    position: relative;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.6;
}
.gallery-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumbnails .thumb.active {
    border-color: #8B4513;
    opacity: 1;
}
.gallery-thumbnails .thumb:hover {
    opacity: 1;
    border-color: #A0522D;
}

/* Video thumbnail */
.thumb-video {
    background: #2a2a2a !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-video svg {
    width: 36px;
    height: 36px;
}

/* Main image/video viewer */
.gallery-viewer {
    flex: 1;
    min-width: 0;
}
.gallery-viewer img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f0eb;
    display: block;
}
/* Image Zoom/Magnify — full overlay on hover */
.zoom-container {
    position: relative;
    cursor: crosshair;
    overflow: hidden;
}
.zoom-container img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f0eb;
    display: block;
    transition: opacity 0.2s ease;
}
.zoom-container.zooming img {
    opacity: 0;
}
.zoom-lens {
    display: none;
}
.zoom-result {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-color: #f5f0eb;
    border-radius: 6px;
    z-index: 5;
    pointer-events: none;
}
@media (max-width: 768px) {
    .zoom-result { display: none !important; }
    .zoom-container { cursor: default; }
    .zoom-container.zooming img { opacity: 1; }
}

.gallery-viewer video {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 6px;
    background: #000;
    display: none;
}

/* Right: Product Info (sticky) */
.product-detail-info {
    position: sticky;
    top: calc(65px + 1.5rem);
    align-self: start;
}
.product-detail-info h1 {
    font-size: 1.75rem;
    color: #3E2723;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.product-hook {
    font-size: 1.05rem;
    color: #666;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

/* CTA Block */
.cta-block {
    background: #f9f6f1;
    border: 1px solid #e0d5c7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.cta-intro {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3E2723;
    margin: 0 0 0.5rem;
}
.cta-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1rem;
    line-height: 1.5;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.urgency {
    font-size: 0.85rem;
    color: #A0522D;
    font-style: italic;
    margin: 0;
}

/* Full-width description below */
.product-about {
    max-width: 780px;
    margin-bottom: 2rem;
    color: #444;
    line-height: 1.7;
}
.product-about h2 {
    font-size: 1.25rem;
    color: #3E2723;
    margin: 0 0 1rem;
}
.product-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}
.product-about table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.product-about td { padding: 8px; }

/* Bottom CTA */
.product-bottom-cta {
    background: #f9f6f1;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #444;
}
.product-bottom-cta a {
    color: #8B4513;
    font-weight: 600;
}

.back-link {
    display: inline-block;
    color: #8B4513;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
}
.back-link:hover { text-decoration: underline; }
/* Tablet tweaks (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .product-main { gap: 2rem; }
    .gallery-thumbnails { width: 60px; }
    .gallery-thumbnails .thumb { width: 60px; height: 60px; }
    .product-detail-info h1 { font-size: 1.5rem; }
}

/* === Page Content === */
.page-header { background: #f9f6f1; padding: 50px 20px; text-align: center; }
.page-header h1 { color: #333; font-size: 2em; }
.page-header p { color: #666; margin-top: 10px; font-size: 1.1em; }
/* === Page Hero (mini hero banner for subpages) === */.page-hero {    background-image: url("/static/images/site/wood-grain.webp");    background-size: cover;    background-position: center;    background-attachment: fixed;    display: flex;    align-items: center;    justify-content: center;    text-align: center;    min-height: 200px;    position: relative;}@media (max-width: 768px) {    .page-hero { background-attachment: scroll; min-height: 160px; }}.page-hero-overlay {    flex: 1;    background: rgba(0,0,0,0.45);    display: flex;    flex-direction: column;    align-items: center;    justify-content: center;    padding: 40px 20px;    min-height: 200px;}@media (max-width: 768px) {    .page-hero-overlay { padding: 30px 15px; min-height: 160px; }}.page-hero h1 {    color: white;    font-size: 2.2em;    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);    margin: 0;}.page-hero p {    color: #ddd;    font-size: 1.1em;    margin-top: 8px;    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);}@media (max-width: 480px) {    .page-hero h1 { font-size: 1.6em; }    .page-hero p { font-size: 0.95em; }}
.page-content { max-width: 900px; }
.content-body { color: #444; line-height: 1.7; }
.content-body h2 { color: #333; margin: 25px 0 10px; }
.content-body h3 { color: #8B4513; margin: 20px 0 8px; }
.content-body h4 { color: #6B3410; margin: 25px 0 8px; font-size: 1.25em; border-bottom: 2px solid #d4a76a; padding-bottom: 4px; display: inline-block; }
.content-body p { margin-bottom: 15px; }
.content-body a { color: #8B4513; }
.content-body table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.content-body td, .content-body th { padding: 8px; text-align: center; }

/* === Featured Section === */
.featured-section { text-align: center; }
.featured-section h2 { font-size: 1.8em; color: #333; margin-bottom: 30px; }

/* === Footer === */
.site-footer {
    background: #2c2017;
    color: #ccc;
    padding: 0 20px 20px;
    position: relative;
}
.site-footer::before {
    content: '';
    display: block;
    height: 6px;
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    margin: 0 -20px 40px;
}
.footer-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-col h4 { color: #d4a76a; margin-bottom: 15px; font-size: 1.1em; letter-spacing: 0.03em; }
.footer-col a {
    display: block;
    color: #bbb;
    margin-bottom: 8px;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-col a:hover { color: white; padding-left: 5px; text-decoration: none; }
.footer-col p { margin-bottom: 8px; }
.footer-col .footer-phone a { font-size: 1.15em; font-weight: 700; color: #d4a76a; }
.footer-col .footer-phone a:hover { color: white; }
.footer-bottom { max-width: 1100px; margin: 30px auto 0; padding-top: 20px; border-top: none; text-align: center; color: #888; font-size: 0.9em; position: relative; }
.footer-bottom::before { content: ''; display: block; height: 3px; background-image: url('/static/images/site/wood-grain.webp'); background-size: cover; background-position: center; opacity: 0.4; margin-bottom: 20px; border-radius: 2px; }

/* === Admin === */
.admin-section { max-width: 1000px; }
.admin-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
.admin-form label { display: block; font-weight: 600; margin-top: 15px; margin-bottom: 5px; color: #333; }
.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="password"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d4c5b0;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139,69,19,0.1);
}
.admin-form textarea { resize: vertical; }
.admin-form button, .admin-form .btn { margin-top: 20px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: center; padding: 10px; border-bottom: 2px solid #d4c5b0; color: #666; font-size: 0.9em; }
.admin-table td { padding: 10px; border-bottom: 1px solid #eee; vertical-align: middle; }
.admin-table tr { transition: background 0.2s; }
.admin-table tbody tr:hover { background: #faf8f5; }
.admin-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }

.btn-sm {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.85em;
    border-radius: 4px;
    border: 1px solid #d4c5b0;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-sm:hover { background: #f5f5f5; text-decoration: none; }
.btn-danger { border-color: #dc3545; color: #dc3545; }
.btn-danger:hover { background: #dc3545; color: white; }

.alert { padding: 12px 20px; border-radius: 4px; margin-bottom: 20px; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.image-item { text-align: center; }
.image-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; margin-bottom: 5px; }

.admin-form input[type="file"] { padding: 8px 0; }



/* === Admin Mobile === */

/* Upload zone - big touch target */
.upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px dashed #d4c5b0;
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 20px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}
.upload-zone:hover, .upload-zone:active {
    border-color: #8B4513;
    background: #faf8f5;
}
.upload-zone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.upload-icon {
    font-size: 3em;
    margin-bottom: 10px;
}
.upload-text {
    font-size: 1.1em;
    font-weight: 600;
    color: #555;
}
.upload-hint {
    font-size: 0.85em;
    color: #999;
    margin-top: 5px;
}

/* Desktop/mobile toggle */



/* Mobile product cards */
.admin-product-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.admin-product-card {
    border: 1px solid #e8e0d5;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.2s;
}
.admin-product-card:active {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.admin-card-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}
.admin-card-link:hover { text-decoration: none; }
.admin-card-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.admin-card-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0ebe3;
    color: #999;
    font-size: 0.75em;
}
.admin-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.admin-card-info strong {
    font-size: 1em;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-card-meta {
    font-size: 0.85em;
    color: #888;
}

@media (max-width: 768px) {
    /* Switch table to cards */



    /* Admin section padding */
    .admin-section { padding: 30px 15px; }

    /* Admin header stack */
    .admin-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .admin-header h1 { font-size: 1.5em; }
    .admin-header div { display: flex; gap: 10px; }
    .admin-header .btn {
        flex: 1;
        text-align: center;
        padding: 12px 15px;
        font-size: 0.95em;
        margin-left: 0 !important;
    }

    /* Form inputs - bigger touch targets */
    .admin-form input[type="text"],
    .admin-form input[type="number"],
    .admin-form input[type="password"],
    .admin-form select,
    .admin-form textarea {
        padding: 14px 12px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    /* Buttons - full width and taller */
    .admin-form .btn {
        padding: 16px 20px;
        font-size: 1.05em;
    }

    /* Image grid - 2 columns on mobile */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .image-item img { height: 120px; }

    /* Upload zone */
    .upload-zone { padding: 50px 20px; }
    .upload-icon { font-size: 3.5em; }

    /* AI generate button */
    #ai-generate-btn {
        padding: 16px 20px !important;
        font-size: 1.05em !important;
    }

    /* Remove/delete buttons bigger */
    .btn-sm {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

/* Admin card actions */
.admin-card-actions {
    display: flex;
    gap: 8px;
    padding: 8px 12px 12px;
    border-top: 1px solid #f0ebe3;
}
.admin-card-actions .btn-sm {
    flex: 1;
    text-align: center;
}

/* ============================
   PUBLIC SITE MOBILE STYLES
   ============================ */

@media (max-width: 768px) {

    /* --- Announcement Bar --- */
    .announcement-bar {
        font-size: 0.8em;
        padding: 8px 15px;
        line-height: 1.5;
    }

    /* --- Nav --- */
    .nav-container { height: 55px; }
    .nav-logo { font-size: 1.2em; }
    .nav-links { top: 55px; }
    .nav-links a {
        font-size: 1.1em;
        padding: 8px 0;
    }

    /* --- Hero --- */
    .hero { min-height: 400px; }
    .hero-overlay { padding: 30px 20px 40px; }

    .hero-content .hero-subtitle { font-size: 1.1em; margin-bottom: 8px; }
    .hero-content .hero-tagline { font-size: 0.95em; margin-bottom: 20px; }
    .hero-content .hero-buttons { gap: 10px; }
    .hero-content .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.95em;
        flex: 1;
        text-align: center;
        min-width: 140px;
    }

    /* --- Sections --- */
    .section { padding: 40px 15px; }
    .intro-section h2 { font-size: 1.5em; }
    .intro-section p { font-size: 1em; }

    /* --- Feature Cards --- */
    .feature-cards { flex-direction: column; gap: 25px; }
    .card { min-width: unset; }
    .card-image { height: 220px; }
    .card h3 { font-size: 1.15em; }
    .card p { font-size: 0.95em; }

    /* --- Why Section --- */
    .why-section { padding: 40px 15px; }
    .why-section h2 { font-size: 1.4em; margin-bottom: 20px; }
    .why-cards { flex-direction: column; align-items: flex-start; gap: 10px; }
    .why-card { max-width: 100%; min-width: unset; padding: 20px 15px; }
    .why-card h3 { font-size: 1.15em; }

    /* --- Species Tags --- */
    .species-section h2 { font-size: 1.4em; }
    .species-tags { gap: 8px; }
    .tag { padding: 8px 16px; font-size: 0.85em; }

    /* --- Contractor CTA --- */
    .contractor-cta { padding: 40px 15px; }
    .contractor-cta h2 { font-size: 1.4em; }
    .contractor-cta p { font-size: 1em; }
    .contractor-cta .btn { display: block; width: 100%; text-align: center; }

    /* --- Contact CTA --- */
    .contact-cta h2 { font-size: 1.4em; }
    .contact-cta p { font-size: 1em; }
    .contact-phone a { font-size: 1.5em; }

    /* --- Product Grid --- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .product-card-info { padding: 0.5rem 0.25rem; }
    .product-card-info h3 { font-size: 0.85rem; }
    .no-image { height: 150px; font-size: 0.85em; }

    /* --- Category Filter --- */
    .category-filter {
        gap: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* --- Page Header --- */
    .page-header { padding: 35px 15px; }
    .page-header h1 { font-size: 1.5em; }
    .page-header p { font-size: 0.95em; }

    /* --- Product Page --- */
    .product-page { padding: 0 1rem 2rem; }

    .product-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Gallery: image on top, horizontal thumbs below */
    .product-gallery {
        flex-direction: column-reverse;
    }
    .gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        padding-bottom: 0.25rem;
    }
    .gallery-thumbnails .thumb {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    .gallery-viewer img,
    .gallery-viewer video {
        max-height: 60vh;
    }

    /* Info: no longer sticky */
    .product-detail-info {
        position: static;
    }
    .product-detail-info h1 {
        font-size: 1.4rem;
    }

    .no-image.large { height: 250px; }

    /* Description tables - scrollable on mobile */
    .product-about { margin-bottom: 1.5rem; }
    .product-about table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* --- Content Pages --- */
    .page-content { padding: 30px 15px; }
    .content-body h2 { font-size: 1.3em; }
    .content-body h3 { font-size: 1.1em; }
    .content-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* --- Featured Section --- */
    .featured-section h2 { font-size: 1.4em; margin-bottom: 20px; }

    /* --- Footer --- */
    .site-footer { padding: 35px 15px 15px; }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .footer-col h4 { font-size: 1em; margin-bottom: 10px; }
    .footer-bottom { margin-top: 20px; padding-top: 15px; font-size: 0.8em; }

    /* --- Buttons - bigger touch targets --- */
    .btn {
        padding: 14px 28px;
        font-size: 1em;
        -webkit-tap-highlight-color: transparent;
    }
    .btn:hover { transform: none; } /* No hover lift on touch */
    .btn:active { transform: scale(0.98); }
}

/* Extra small screens (iPhone SE, etc) */
@media (max-width: 400px) {
    .hero { min-height: 350px; }

    .hero-content .hero-subtitle { font-size: 1em; }
    .hero-content .hero-buttons { flex-direction: column; }
    .hero-content .hero-buttons .btn { width: 100%; }

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

    .footer-container { grid-template-columns: 1fr; }

    .nav-logo { font-size: 1.05em; }
    .announcement-bar { font-size: 0.75em; }

    .contact-phone a { font-size: 1.3em; }
}

/* Tap-friendly links on touch devices */
@media (hover: none) {
    .product-card:hover { transform: none; box-shadow: none; }
    .product-card:active { transform: scale(0.97); }
    .card:hover { transform: none; }
    .why-card:hover { transform: none; background: none; }
    .tag:hover { transform: none; box-shadow: none; }
    .footer-col a:hover { padding-left: 0; }
}


/* Product grid tablet: 2 columns */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* === Quote Form === */
.quote-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.quote-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.quote-form .required { color: #c0392b; }
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d4c5b0;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    background: white;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139,69,19,0.1);
}
.quote-form textarea { resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { margin-bottom: 18px; }
.optional-mark { color: #8B6914; font-weight: bold; }.form-note { font-size: 0.9rem; color: #666; margin-top: 8px; margin-bottom: 18px; line-height: 1.5; }.form-note .optional-mark { font-size: 1rem; }

.sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e0d5c7;
    margin-bottom: 20px;
}
.sidebar-card h3 { color: #3E2723; margin-bottom: 8px; }
.sidebar-card h4 { color: #3E2723; margin-bottom: 10px; }
.sidebar-card--muted {
    background: #f9f6f1;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .quote-layout { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .quote-form input[type="text"],
    .quote-form input[type="email"],
    .quote-form input[type="tel"],
    .quote-form select,
    .quote-form textarea {
        padding: 14px 12px;
        font-size: 16px;
    }
    .quote-form .btn-block {
        padding: 16px 20px;
        font-size: 1.05em;
    }
}




/* === Quote Thank You === */
.quote-thank-you {
    max-width: 520px;
    margin: 2rem auto;
    text-align: center;
    padding: 2.5rem 2rem;
}
.thank-you-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    background: #28a745;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}
.quote-thank-you h2 {
    font-size: 1.75rem;
    color: #3E2723;
    margin: 0 0 0.75rem;
}
.thank-you-lead {
    font-size: 1.1rem;
    color: #444;
    margin: 0 0 0.5rem;
}
.quote-thank-you p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}
.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 300px;
    margin: 0 auto;
}
.thank-you-actions .btn {
    text-align: center;
}


/* === Species Guide === */
.content-species-guide {
    color: #444;
}

/* Alphabet quick-nav */
.species-alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 30px;
    padding: 18px 20px;
    background: #f9f6f1;
    border-radius: 8px;
    border: 1px solid #e8e0d4;
}
.species-alpha-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: white;
    color: #8B4513;
    font-weight: 600;
    font-size: 0.9em;
    border: 1px solid #ddd3c4;
    transition: all 0.2s ease;
}
.species-alpha-nav a:hover {
    background: #8B4513;
    color: white;
    text-decoration: none;
    border-color: #8B4513;
}
.species-alpha-nav a.disabled {
    color: #ccc;
    border-color: #eee;
    pointer-events: none;
    background: #faf9f7;
}

/* Species cards — h4 is the header, following p is the body */
.content-species-guide h4 {
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 1.25em;
    padding: 14px 20px;
    margin: 25px 0 0 0;
    border-radius: 8px 8px 0 0;
    letter-spacing: 0.02em;
    scroll-margin-top: 80px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.35);
}
.content-species-guide h4:first-of-type {
    margin-top: 0;
}
.content-species-guide h4 + p {
    background: #faf7f2;
    border: 1px solid #e8e0d4;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 18px 20px;
    margin: 0 0 0 0;
    line-height: 1.75;
    color: #444;
}

/* Alternate card backgrounds for variety */
.content-species-guide h4:nth-of-type(even) + p {
    background: #f5f0e8;
}

/* Style the bold labels inside species descriptions */
.content-species-guide h4 + p strong {
    color: #6d350e;
}

/* Intro paragraph (before first h4) */
.content-species-guide > p:first-of-type {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* The "Don't See Your Species?" section at the bottom */
.content-species-guide hr {
    border: none;
    border-top: 2px solid #e8e0d4;
    margin: 40px 0;
}
.content-species-guide h2:last-of-type {
    color: #8B4513;
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 12px;
}
.content-species-guide h2:last-of-type + p {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05em;
    color: #555;
    line-height: 1.7;
}

/* First h2 (duplicate "Species Guide" title) — hide it since page-hero shows it */
.content-species-guide > h2:first-child {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .content-species-guide h4 {
        font-size: 1.1em;
        padding: 12px 15px;
    }
    .content-species-guide h4 + p {
        padding: 14px 15px;
    }
    .species-alpha-nav a {
        width: 30px;
        height: 30px;
        font-size: 0.8em;
    }
}


/* === Hardness Scale Page === */

/* Tier callout boxes */
.hardness-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 35px 0;
}
@media (max-width: 680px) {
    .hardness-tiers { grid-template-columns: 1fr; }
}
.hardness-tier {
    border-radius: 8px;
    padding: 22px 20px;
    text-align: center;
}
.hardness-tier h4 {
    margin: 0 0 6px;
    font-size: 1.1em;
}
.hardness-tier .tier-range {
    font-size: 0.85em;
    opacity: 0.8;
    margin-bottom: 10px;
}
.hardness-tier .tier-species {
    font-size: 0.9em;
    line-height: 1.6;
}
.tier-soft {
    background: #f5ebe0;
    border: 1px solid #e0d0ba;
    color: #6d4c2a;
}
.tier-medium {
    background: #eaddc7;
    border: 1px solid #d4c4a6;
    color: #5a3a1a;
}
.tier-hard {
    background: #d4a76a;
    border: 1px solid #b8914e;
    color: #3a2208;
}

/* Chart controls */
.chart-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.chart-controls button {
    padding: 8px 20px;
    border: 2px solid #8B4513;
    background: white;
    color: #8B4513;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
}
.chart-controls button:hover {
    background: #f5ebe0;
}
.chart-controls button.active {
    background: #8B4513;
    color: white;
}

/* Chart container */
.hardness-chart {
    margin: 25px 0 40px;
}
.hardness-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    transition: all 0.4s ease;
}
.hardness-bar-label {
    width: 160px;
    min-width: 160px;
    text-align: right;
    padding-right: 12px;
    font-size: 0.85em;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hardness-bar-label a {
    color: #444;
    text-decoration: none;
}
.hardness-bar-label a:hover {
    color: #8B4513;
    text-decoration: underline;
}
.hardness-bar-track {
    flex: 1;
    height: 26px;
    background: #f0ebe4;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.hardness-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    min-width: 2px;
}
.hardness-bar-value {
    width: 65px;
    min-width: 65px;
    text-align: left;
    padding-left: 10px;
    font-size: 0.8em;
    font-weight: 700;
    color: #666;
}

/* Highlight on hover */
.hardness-bar-row:hover .hardness-bar-label a,
.hardness-bar-row:hover .hardness-bar-label {
    color: #8B4513;
}
.hardness-bar-row:hover .hardness-bar-fill {
    filter: brightness(0.9);
}
.hardness-bar-row:hover .hardness-bar-value {
    color: #8B4513;
}

/* Chart legend */
.chart-legend {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    font-size: 0.8em;
    color: #888;
    flex-wrap: wrap;
}
.chart-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.chart-legend .swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

@media (max-width: 600px) {
    .hardness-bar-label {
        width: 100px;
        min-width: 100px;
        font-size: 0.75em;
    }
    .hardness-bar-value {
        width: 50px;
        min-width: 50px;
        font-size: 0.75em;
    }
    .hardness-bar-track { height: 20px; }
    .hardness-bar-row { margin-bottom: 4px; }
}

/* Reference-only species (not carried) */
.hardness-bar-row.reference-only .hardness-bar-label {
    color: #bbb;
    font-weight: 400;
}
.hardness-bar-row.reference-only .hardness-bar-fill {
    opacity: 0.45;
}
.hardness-bar-row.reference-only .hardness-bar-value {
    color: #bbb;
}


/* === Our Story Page === */

/* Pull quote / opening story section */
.content-our-story > h2:first-child {
    color: #8B4513;
    font-size: 1.6em;
    text-align: center;
    margin-bottom: 5px;
}
.story-opening {
    background: #f9f6f1;
    border-left: 4px solid #8B4513;
    border-radius: 0 8px 8px 0;
    padding: 28px 30px;
    margin: 20px 0 35px;
    color: #444;
    line-height: 1.8;
}
.story-opening p {
    margin-bottom: 12px;
}
.story-opening p:last-child {
    margin-bottom: 0;
}
.story-opening strong {
    color: #6d350e;
    font-size: 1.05em;
}

/* Section dividers */
.content-our-story hr {
    border: none;
    height: 4px;
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    margin: 40px 0;
    opacity: 0.5;
}

/* Process section heading */
.content-our-story .process-heading {
    color: #8B4513;
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 5px;
}
.content-our-story .process-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Process timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 0 10px;
}
@media (max-width: 768px) {
    .process-timeline { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 480px) {
    .process-timeline { grid-template-columns: 1fr; }
}
.process-step {
    text-align: center;
    padding: 25px 18px;
    background: #faf7f2;
    border-radius: 8px;
    border: 1px solid #e8e0d4;
    position: relative;
}
.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.35);
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.process-step h3 {
    color: #8B4513;
    font-size: 1.1em;
    margin: 0 0 8px;
}
.process-step p {
    color: #555;
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
}

/* Species section */
.content-our-story .species-heading {
    color: #8B4513;
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 5px;
}
.content-our-story .species-intro {
    padding: 0 20px;
    text-align: center;
    color: #555;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.7;
}
.story-species-group {
    margin-bottom: 20px;
}
.story-species-group h3 {
    color: #6d350e;
    font-size: 1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.story-species-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.story-species-tags .tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}
.story-species-tags .tag-hw {
    background: #f5ebe0;
    color: #6d4c2a;
    border: 1px solid #e0d0ba;
}
.story-species-tags .tag-sw {
    background: #e8f0e4;
    color: #3a5c2e;
    border: 1px solid #c8d8c0;
}
.story-species-note {
    color: #888;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 12px;
}

/* Service area card */
.service-area-card {
    background: #f9f6f1;
    border-radius: 8px;
    border: 1px solid #e8e0d4;
    padding: 28px 30px;
    margin: 20px 0;
}
.service-area-card h2 {
    color: #8B4513;
    font-size: 1.3em;
    margin: 0 0 10px;
}
.service-area-card p {
    color: #555;
    line-height: 1.7;
}
.service-area-card ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin: 15px 0;
}
@media (max-width: 480px) {
    .service-area-card ul { grid-template-columns: 1fr; }
}
.service-area-card li {
    padding: 8px 14px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e8e0d4;
    font-size: 0.95em;
    color: #444;
}
.service-area-card li strong {
    color: #8B4513;
}

/* CTA section */
.story-cta {
    text-align: center;
    padding: 30px 20px;
    margin-top: 25px;
}
.story-cta .btn {
    margin: 0 8px 10px;
}

@media (max-width: 480px) {
    .story-opening { padding: 20px 18px; }
    .service-area-card { padding: 20px 18px; }
}

/* Wood grain CTA buttons */
a.btn-wood, a.btn-wood:visited, button.btn-wood, .btn-wood {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.35);
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}
a.btn-wood:hover, button.btn-wood:hover, .btn-wood:hover {
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.5);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Fallback for .button class in CMS content */
.content-our-story a.button {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 4px;
    background-image: url('/static/images/site/wood-grain.webp');
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.35);
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}
.content-our-story a.button:hover {
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.5);
    transform: translateY(-2px);
    text-decoration: none;
    color: white !important;
}

/* Shop info banner */
.shop-info-banner {
    background: #f9f6f1;
    border: 1px solid #e8e0d4;
    border-left: 4px solid #8B4513;
    border-radius: 0 6px 6px 0;
    padding: 14px 20px;
    margin-bottom: 28px;
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
}
.shop-info-banner strong {
    color: #6d350e;
}
.shop-info-banner a {
    color: #8B4513;
    font-weight: 600;
    white-space: nowrap;
}
.shop-info-banner a:hover {
    text-decoration: underline;
}

/* Linked species tags on homepage */
a.tag { text-decoration: none; color: white; }
a.tag:hover { text-decoration: none; color: white; }
