:root {
    --shifman-gold-lite: #B8A686;
    --shifman-gold: #c5a059;
    --gallery-cream: #f4f1ea;
    --hero-white: #ffffff;
    --shifman-bone: #e3dfd9;
    --shifman-taupe: #8c7662;
    --shifman-mahogany: #7c534e;
    --shifman-cream: #f9f7f2;
    --grid-border: #e8e4e0;
    --charcoal-bg: #2a2d30; /* The singular background color */
    --hatch-line: rgba(197, 160, 89, 0.08); /* Subtle gold for the lines */
}

.product-page-wrapper { 
    background-color: var(--shifman-cream); 
    padding: 60px 20px; 
    margin-top: 80px;
}

.canvas-frame {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--shifman-taupe);
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Hero Layout --- */
.product-hero { padding: 80px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* Sticky Image Logic */
@media (min-width: 1025px) {
    .hero-images {
        position: sticky;
        top: 100px;
    }
}

.main-silo { 
    width: 100%; 
    height: auto; 
    object-fit: contain;
}

/* --- Typography --- */
.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.breadcrumb-link { color: #999; text-decoration: none; transition: 0.3s; }
.breadcrumb-link:hover { color: var(--shifman-mahogany); }

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--shifman-taupe);
    margin: 0 0 10px;
    line-height: 1.1;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--shifman-mahogany);
    margin-bottom: 30px;
}

.desc-body { 
    font-family: 'Montserrat';
    line-height: 1.8; 
    color: #444; 
    margin-bottom: 35px; 
    font-size: 1.05rem;
    max-width: 550px;
}

/* --- Price & Buttons --- */
.price-box {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.price-announcement { margin-bottom: 15px; }
.price-prefix { font-size: 0.7rem; text-transform: uppercase; color: #999; letter-spacing: 1px; font-weight: 700; }
.price-amount { font-family: 'Times New Roman', serif; font-size: 2rem; color: var(--shifman-taupe); display: block; margin-top: 5px; }
.price-instruction { font-size: 0.85rem; font-style: italic; color: #777; }

.button-set { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-mahogany, .btn-outline {
    padding: 16px 32px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.4s;
}

.btn-mahogany { background: var(--shifman-mahogany); color: #fff; border: 1px solid var(--shifman-mahogany); }
.btn-mahogany:hover { background: transparent; color: var(--shifman-mahogany); }

.btn-outline { border: 1px solid var(--shifman-taupe); color: var(--shifman-taupe); }
.btn-outline:hover { background: var(--shifman-taupe); color: #fff; }

/* --- Specs Grid --- */
.hero-spec-divider {
    height: 1px;
    background-color: var(--grid-border);
    margin: 0 80px 60px;
}

.specs-section { padding: 0 80px 80px; }
.section-title {
    text-align: center;
    font-family: 'Times New Roman', serif;
    letter-spacing: 4px;
    margin-bottom: 50px;
    color: var(--shifman-taupe);
    font-size: 1.3rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Separated tiles for a cleaner look */
}

.spec-item {
    background: #fff;
    padding: 30px;
    min-height: 150px;
    border: 1px solid var(--grid-border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.spec-item:hover {
    border-color: var(--shifman-mahogany);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transform: translateY(-5px);
}

.spec-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.spec-icon { width: 45px; height: 45px; object-fit: contain; }
.spec-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: #aaa; font-weight: 700; }
.spec-value { font-family: "mrs-eaves-roman-all-small-ca", serif; font-size: 1.2rem; color: #333; line-height: 1.3; }

/* --- Tablet Experience (1024px) --- */
@media (max-width: 1024px) {
    .product-hero, .specs-section, .hero-spec-divider { padding-left: 40px; padding-right: 40px; margin-left: 40px; margin-right: 40px; }
    .hero-grid { gap: 40px; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Mobile Experience (768px) --- */
@media (max-width: 768px) {
    .product-page-wrapper { padding: 60px 15px; }
    .product-hero { padding: 40px 20px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .desc-body { margin: 0 auto 30px; }
    .breadcrumb-container, .button-set { justify-content: center; }
    
    .hero-spec-divider { margin: 0 20px 40px; }
    .specs-section { padding: 0 20px 40px; }
    .specs-grid { grid-template-columns: 1fr; gap: 15px; }
    .spec-item { min-height: auto; }
}

/* --- PRINT STYLES --- */
@media print {
    .print-only-logo { display: block !important; }
    /* 1. Hide everything except the main content */
    header, 
    footer, 
    .button-set, 
    .breadcrumb-container,
    .site-nav-header,
    #wpadminbar {
        display: none !important;
    }

    /* 2. Reset the background and wrapper for paper */
    body, .product-page-wrapper {
        background-color: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 3. Force the Canvas Frame to fill the page without margins */
    .canvas-frame {
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
    }

    /* 4. Ensure the Grid stays in 3 columns for the PDF */
    .specs-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }

    .spec-item {
        border: 1px solid #eee !important;
        page-break-inside: avoid;
        min-height: 120px !important;
    }

    /* 5. Force background colors and images to appear in PDF */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* 6. Page setup */
    @page {
        margin: 1cm;
        size: letter;
    }
}

/* Shifman Difference Section */
.gold-italic {
    font-family: 'Serif Display', serif;
    font-style: italic;
    color: var(--shifman-gold);
}

.difference-preview-section {
    padding: 120px 10%;
    background-color: #ffffff; /* Clean white to contrast the previous charcoal */
    text-align: center;
}

.difference-header {
    max-width: 700px;
    margin: 0 auto 80px;
}

.difference-header h2 {
    font-size: 42px;
}

.section-intro {
    font-family: 'Inter', sans-serif;
    color: #666;
    line-height: 1.6;
    font-size: 18px;
    margin-top: 20px;
}

/* THE PILLARS GRID */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* THE ICON CONTAINER */
.pillar-icon-wrap {
    height: 60px; /* Set your desired height */
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    /* 'contain' ensures the whole logo is visible without being cropped */
    object-fit: contain; 
}

.pillar-item {
    padding: 60px 30px;
    border: 1px solid #f0f0f0; /* Very subtle framing */
    transition: all 0.4s ease;
    position: relative;
}

.pillar-item:hover {
    border-color: var(--shifman-gold); /* Subtle hover tie-in */
    transform: translateY(-10px);
}

.pillar-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 15px;
    color: #2a2d30;
}

.pillar-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
}

/* CTA BUTTON */
.cta-button-gold {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    border: 1px solid var(--shifman-gold);
    background-color: var(--shifman-gold);
    color: #ffffff;
    
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.arrow-right {
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.cta-button-gold:hover .arrow-right {
    transform: translateX(5px);
}

.gold-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--shifman-gold);
    margin-bottom: 15px;
}

/* RESPONSIVE STACKING */
@media (max-width: 1100px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .difference-preview-section { padding: 80px 5%; }

    .difference-header h2 {
        font-size: 30px;
    }
}