/*
Theme Name: Theme bởi SDN Creative Solutions
Theme URI: https://sdn.agency/
Author: SDN Creative Solutions
Author URI: https://sdn.agency/
Description: Mẫu giao diện cho website bán cà phê
Version: 1.0.6
Text Domain: bmt-coffee
*/

/* =============================================
   CSS Reset & Base
   ============================================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.7;color:#2D2D2D;background:#FBF9F6;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#5C3A21;text-decoration:none;transition:color 0.3s}
a:hover{color:#8B5E3C}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-family:Georgia,"Times New Roman",serif;font-weight:700;line-height:1.3;color:#3B2314}
h1{font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.5rem}h4{font-size:1.25rem}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.container-sm{max-width:900px;margin:0 auto;padding:0 20px}

/* =============================================
   Buttons
   ============================================= */
.btn{display:inline-block;padding:14px 36px;border-radius:6px;font-size:16px;font-weight:600;text-align:center;cursor:pointer;transition:all 0.3s;border:2px solid transparent;line-height:1.4}
.btn-primary{background:#5C3A21;color:#fff;border-color:#5C3A21}
.btn-primary:hover{background:#7A4E2D;border-color:#7A4E2D;color:#fff}
.btn-outline{background:transparent;color:#fff;border-color:#fff}
.btn-outline:hover{background:#fff;color:#5C3A21}
.btn-outline-dark{background:transparent;color:#5C3A21;border-color:#5C3A21}
.btn-outline-dark:hover{background:#5C3A21;color:#fff}
.btn-gold{background:#D4A574;color:#fff;border-color:#D4A574}
.btn-gold:hover{background:#C49563;border-color:#C49563;color:#fff}

/* =============================================
   Header
   ============================================= */
.site-header{background:#fff;box-shadow:0 2px 20px rgba(0,0,0,0.06);position:sticky;top:0;z-index:1000}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;max-width:1200px;margin:0 auto}
.site-logo a{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;color:#3B2314;font-family:Georgia,"Times New Roman",serif}
.site-logo img{height:48px;width:auto}
.main-nav{display:flex;gap:4px}
.main-nav a{display:block;padding:10px 18px;color:#555;font-size:15px;font-weight:500;border-radius:6px;transition:all 0.3s}
.main-nav a:hover,.main-nav .current-menu-item a{color:#5C3A21;background:#F5F0EB}
.header-actions{display:flex;align-items:center;gap:16px}
.header-search{position:relative}
.header-search input{border:1.5px solid #E5DDD5;padding:10px 16px 10px 40px;border-radius:25px;font-size:14px;width:200px;outline:none;transition:border-color 0.3s}
.header-search input:focus{border-color:#8B5E3C}
.header-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#999;font-size:16px}
.header-hotline{display:flex;align-items:center;gap:8px;color:#5C3A21;font-weight:600;font-size:14px}
.header-hotline svg{width:20px;height:20px;fill:#5C3A21}
.mobile-menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.mobile-menu-toggle span{display:block;width:24px;height:2px;background:#3B2314;border-radius:2px;transition:all 0.3s}

/* =============================================
   Footer
   ============================================= */
.site-footer{background:#3B2314;color:#C4B5A5;padding:70px 0 0;margin-top:80px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:50px;padding:0 20px;max-width:1200px;margin:0 auto}
.footer-col h4{color:#fff;font-size:18px;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #5C3A21;font-family:Georgia,"Times New Roman",serif}
.footer-about p{margin-bottom:16px;line-height:1.8;font-size:14px}
.footer-about .footer-logo{font-size:22px;font-weight:700;color:#fff;margin-bottom:16px;display:block;font-family:Georgia,"Times New Roman",serif}
.footer-links li{margin-bottom:10px}
.footer-links a{color:#C4B5A5;font-size:14px;transition:all 0.3s}
.footer-links a:hover{color:#D4A574;padding-left:5px}
.footer-contact p{font-size:14px;margin-bottom:12px;display:flex;align-items:flex-start;gap:10px}
.footer-contact svg{width:18px;height:18px;fill:#D4A574;flex-shrink:0;margin-top:3px}
.footer-bottom{border-top:1px solid #5C3A21;margin-top:50px;padding:20px;text-align:center;font-size:13px;color:#8B7355;max-width:1200px;margin-left:auto;margin-right:auto}

/* =============================================
   Hero Section
   ============================================= */
.hero-section{position:relative;height:85vh;min-height:600px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;background:url('https://images.unsplash.com/photo-1507133750040-4a8f57021571?w=1920&q=80') center/cover no-repeat}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(59,35,20,0.85),rgba(59,35,20,0.5),rgba(0,0,0,0.3))}
.hero-content{position:relative;z-index:1;max-width:800px;padding:0 20px}
.hero-subtitle{font-size:18px;color:#D4A574;text-transform:uppercase;letter-spacing:4px;margin-bottom:16px;font-weight:500}
.hero-title{font-size:2.6rem;color:#fff;margin-bottom:20px;line-height:1.2;font-family:Georgia,"Times New Roman",serif}
.hero-desc{font-size:18px;color:#E5DDD5;margin-bottom:36px;line-height:1.6}
.hero-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* =============================================
   Section Common
   ============================================= */
.section{padding:80px 0}
.section-header{text-align:center;margin-bottom:50px}
.section-subtitle{font-size:14px;color:#8B5E3C;text-transform:uppercase;letter-spacing:3px;margin-bottom:10px;font-weight:600}
.section-title{font-size:2.2rem;color:#3B2314;margin-bottom:16px;font-family:Georgia,"Times New Roman",serif}
.section-desc{font-size:16px;color:#777;max-width:600px;margin:0 auto;line-height:1.7}
.section-divider{width:60px;height:3px;background:#D4A574;margin:16px auto;border-radius:2px}
.bg-light{background:#F5F0EB}
.bg-dark{background:#3B2314;color:#C4B5A5}
.bg-dark .section-title,.bg-dark h2,.bg-dark h3{color:#fff}
.bg-dark .section-subtitle{color:#D4A574}
.bg-dark .section-desc{color:#A08070}

/* =============================================
   Story / About Section
   ============================================= */
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.story-image{border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,0.1)}
.story-text h2{margin-bottom:20px;font-size:2rem}
.story-text p{margin-bottom:16px;color:#666;line-height:1.8}
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}
.stat-item{text-align:center;padding:20px;background:#FBF9F6;border-radius:10px;border:1px solid #E5DDD5}
.stat-number{font-size:2rem;font-weight:700;color:#5C3A21;font-family:Georgia,"Times New Roman",serif;display:block}
.stat-label{font-size:13px;color:#888;margin-top:6px}

/* =============================================
   Categories Grid
   ============================================= */
.categories-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.category-card{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:1;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,0.06);transition:all 0.3s;text-decoration:none;display:flex;align-items:flex-end}
.category-card:hover{transform:translateY(-5px);box-shadow:0 12px 40px rgba(0,0,0,0.12)}
.category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 0.5s}
.category-card:hover img{transform:scale(1.08)}
.category-card-overlay{position:absolute;inset:0;background:linear-gradient(transparent 40%,rgba(59,35,20,0.85))}
.category-card-content{position:relative;z-index:1;padding:20px;color:#fff;width:100%}
.category-card-title{font-size:15px;font-weight:600;margin-bottom:4px}
.category-card-count{font-size:12px;opacity:0.8}

/* =============================================
   Journey Timeline
   ============================================= */
.journey-timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:20px;position:relative}
.journey-timeline::before{content:'';position:absolute;top:40px;left:8%;right:8%;height:2px;background:#E5DDD5;z-index:0}
.journey-step{text-align:center;position:relative;z-index:1}
.journey-icon{width:80px;height:80px;background:#FBF9F6;border:2px solid #E5DDD5;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;transition:all 0.3s}
.journey-step:hover .journey-icon{background:#5C3A21;border-color:#5C3A21}
.journey-icon svg{width:36px;height:36px;fill:#8B5E3C;transition:fill 0.3s}
.journey-step:hover .journey-icon svg{fill:#fff}
.journey-step h4{font-size:14px;margin-bottom:4px;color:#3B2314}
.journey-step p{font-size:12px;color:#999;line-height:1.4}

/* =============================================
   Products Grid
   ============================================= */
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.product-card{display:flex;flex-direction:column;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.05);transition:all 0.3s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,0.1)}
.product-card-image{aspect-ratio:1;overflow:hidden;background:#F5F0EB;position:relative}
.product-card-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s}
.product-card:hover .product-card-image img{transform:scale(1.05)}
.product-card-body{flex:1;display:flex;flex-direction:column;padding:18px}
.product-card-category{font-size:12px;color:#8B5E3C;text-transform:uppercase;letter-spacing:1px;margin-bottom:6px}
.product-card-title{font-size:16px;font-weight:600;color:#3B2314;margin-bottom:8px}
.product-card-title a{color:#3B2314}
.product-card-price{font-size:18px;font-weight:700;color:#5C3A21;margin-bottom:10px}
.product-card-price .currency{font-size:14px}
.product-card .btn-contact{display:block;text-align:center;padding:10px;background:#5C3A21;color:#fff;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;border:none;width:100%;transition:all 0.3s;margin-top:auto}
.product-card .btn-contact:hover{background:#7A4E2D}
.product-card-onsale{position:absolute;top:12px;left:12px;background:#C0392B;color:#fff;font-size:11px;font-weight:600;padding:4px 10px;border-radius:4px;z-index:1}

/* =============================================
   Commitment / Pillars
   ============================================= */
.pillars-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.pillar-card{text-align:center;padding:40px 24px;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,0.04);transition:all 0.3s}
.pillar-card:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(0,0,0,0.1)}
.pillar-icon{width:70px;height:70px;background:#F5F0EB;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.pillar-icon svg{width:32px;height:32px;fill:#5C3A21}
.pillar-card h4{font-size:17px;margin-bottom:10px;color:#3B2314}
.pillar-card p{font-size:14px;color:#888;line-height:1.6}

/* =============================================
   Why Choose Us (Alternating rows)
   ============================================= */
.why-grid{display:flex;flex-direction:column;gap:60px}
.why-row{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.why-row:nth-child(even) .why-image{order:-1}
.why-image{border-radius:12px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,0.1)}
.why-image img{width:100%;height:400px;object-fit:cover}
.why-text h3{font-size:1.6rem;margin-bottom:14px;color:#3B2314}
.why-text p{color:#666;line-height:1.8;margin-bottom:20px}
.why-text ul{list-style:none}
.why-text li{padding:6px 0;color:#555;font-size:15px;display:flex;align-items:center;gap:8px}
.why-text li::before{content:'✓';color:#5C3A21;font-weight:700;font-size:16px}

/* =============================================
   Blog Grid
   ============================================= */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.blog-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.05);transition:all 0.3s}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,0.1)}
.blog-card-image{aspect-ratio:16/10;overflow:hidden}
.blog-card-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s}
.blog-card:hover .blog-card-image img{transform:scale(1.05)}
.blog-card-body{padding:20px}
.blog-card-date{font-size:12px;color:#999;margin-bottom:8px}
.blog-card-title{font-size:16px;font-weight:600;margin-bottom:10px}
.blog-card-title a{color:#3B2314}
.blog-card-excerpt{font-size:14px;color:#777;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* =============================================
   CTA Form Section
   ============================================= */
.cta-section{background:linear-gradient(135deg,#5C3A21,#3B2314);position:relative;overflow:hidden}
.cta-section::before{content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;border:2px solid rgba(255,255,255,0.05);border-radius:50%}
.cta-content{position:relative;z-index:1;max-width:700px;margin:0 auto;text-align:center}
.cta-content h2{color:#fff;font-size:2rem;margin-bottom:12px}
.cta-content p{color:#C4B5A5;margin-bottom:30px;font-size:15px}
.cta-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.cta-form input{flex:1;min-width:200px;padding:14px 18px;border-radius:6px;border:none;font-size:15px;outline:none}
.cta-form .btn-primary{background:#D4A574;border-color:#D4A574}
.cta-form .btn-primary:hover{background:#C49563}

/* =============================================
   Shop Page (archive-product)
   ============================================= */
.shop-layout{display:grid;grid-template-columns:260px 1fr;gap:30px;padding:40px 0}
.shop-sidebar{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,0.04);align-self:start}
.shop-sidebar h4{font-size:16px;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid #F5F0EB}
.shop-sidebar ul li{margin-bottom:8px}
.shop-sidebar ul li a{display:flex;justify-content:space-between;padding:8px 12px;border-radius:6px;font-size:14px;color:#666;transition:all 0.2s}
.shop-sidebar ul li a:hover,.shop-sidebar ul li .current{background:#F5F0EB;color:#5C3A21}
.shop-sidebar .count{font-size:12px;color:#999;background:#F5F0EB;padding:2px 8px;border-radius:10px}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.shop-toolbar h3{font-size:20px;color:#3B2314}
.shop-count{font-size:14px;color:#999}
.products-grid-shop{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:40px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;font-size:14px;color:#555;border:1px solid #E5DDD5;transition:all 0.2s}
.pagination .current,.pagination .page-numbers:hover{background:#5C3A21;color:#fff;border-color:#5C3A21}

/* =============================================
   Single Product
   ============================================= */
.single-product-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:40px 0}
.product-gallery{position:sticky;top:100px}
.product-gallery-main{border-radius:12px;overflow:hidden;margin-bottom:12px;background:#F5F0EB}
.product-gallery-main img{width:100%;aspect-ratio:1;object-fit:cover}
.product-gallery-thumbs{display:flex;gap:10px}
.product-gallery-thumb{width:80px;height:80px;border-radius:8px;overflow:hidden;cursor:pointer;border:2px solid transparent;transition:border-color 0.3s}
.product-gallery-thumb.active,.product-gallery-thumb:hover{border-color:#5C3A21}
.product-gallery-thumb img{width:100%;height:100%;object-fit:cover}
.product-title{font-size:2rem;margin-bottom:8px;color:#3B2314}
.product-category-link{display:inline-block;font-size:13px;color:#8B5E3C;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.product-price-single{font-size:2rem;font-weight:700;color:#5C3A21;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #E5DDD5}
.product-description{margin-bottom:24px;color:#666;line-height:1.8}
.product-description h4{font-size:16px;margin-bottom:10px;color:#3B2314}
.btn-contact-large{display:block;width:100%;padding:16px;background:#5C3A21;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all 0.3s;text-align:center;margin-bottom:16px}
.btn-contact-large:hover{background:#7A4E2D}
.btn-call-now{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;background:#25D366;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all 0.3s;text-align:center;width:100%}
.btn-call-now:hover{background:#1EBE5A;color:#fff}
.product-meta{margin-top:20px;padding-top:20px;border-top:1px solid #E5DDD5;font-size:14px;color:#888}
.product-meta span{display:block;margin-bottom:6px}
.related-products{margin-top:80px}
.related-products .section-title{font-size:1.6rem;margin-bottom:30px;text-align:left}

/* =============================================
   Contact Page
   ============================================= */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:60px 0}
.contact-info h3{font-size:1.5rem;margin-bottom:16px}
.contact-info-item{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}
.contact-info-icon{width:44px;height:44px;background:#F5F0EB;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-info-icon svg{width:20px;height:20px;fill:#5C3A21}
.contact-info-text h4{font-size:15px;margin-bottom:2px;color:#3B2314}
.contact-info-text p{font-size:14px;color:#777}
.faq-section{margin-top:60px}
.faq-item{border-bottom:1px solid #E5DDD5;padding:16px 0}
.faq-question{font-size:16px;font-weight:600;color:#3B2314;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:none;text-align:left;padding:0}
.faq-question::after{content:'+';font-size:22px;color:#8B5E3C;transition:transform 0.3s}
.faq-item.open .faq-question::after{content:'−';transform:rotate(180deg)}
.faq-answer{padding-top:12px;font-size:14px;color:#777;line-height:1.7;display:none}
.faq-item.open .faq-answer{display:block}
.contact-form-wrapper{background:#fff;padding:36px;border-radius:12px;box-shadow:0 4px 24px rgba(0,0,0,0.06)}
.contact-form-wrapper h3{font-size:1.3rem;margin-bottom:20px}
.contact-form-wrapper input,.contact-form-wrapper textarea{width:100%;padding:12px 16px;border:1.5px solid #E5DDD5;border-radius:8px;font-size:15px;margin-bottom:16px;outline:none;transition:border-color 0.3s}
.contact-form-wrapper input:focus,.contact-form-wrapper textarea:focus{border-color:#8B5E3C}
.contact-form-wrapper textarea{min-height:120px;resize:vertical}

/* =============================================
   Blog Single
   ============================================= */
.post-header{text-align:center;padding:60px 0 30px}
.post-meta{font-size:14px;color:#999;margin-bottom:8px}
.post-title{font-size:2.4rem;color:#3B2314;max-width:750px;margin:0 auto}
.post-featured-image{border-radius:12px;overflow:hidden;margin-bottom:24px}
.post-content{line-height:1.9;font-size:16px;color:#444}
.post-content p{margin-bottom:20px}
.post-content h2,.post-content h3,.post-content h4{margin:30px 0 14px;color:#3B2314}
.post-content img{border-radius:8px;margin:20px 0}
.post-content blockquote{border-left:4px solid #D4A574;padding:16px 24px;margin:24px 0;background:#FBF9F6;border-radius:0 8px 8px 0;font-style:italic;color:#666}
.related-posts{margin-top:60px;padding-top:40px;border-top:1px solid #E5DDD5}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb{padding:16px 0;font-size:13px;color:#999}
.breadcrumb a{color:#8B5E3C}
.breadcrumb span{color:#555}
.breadcrumb .sep{margin:0 8px;color:#CCC}

/* =============================================
   Page Header (internal pages)
   ============================================= */
.page-header-inner{text-align:center;padding:60px 0 40px}
.page-header-inner h1{font-size:2.4rem;color:#3B2314;margin-bottom:10px}
.page-header-inner p{color:#888;font-size:16px}

/* =============================================
   Modal / Popup
   ============================================= */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:9999;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all 0.3s}
.modal-overlay.active{opacity:1;visibility:visible}
.modal-content{background:#fff;border-radius:12px;padding:36px;max-width:480px;width:90%;position:relative;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,0.2)}
.modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;background:#F5F0EB;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:20px;color:#555;transition:all 0.3s}
.modal-close:hover{background:#E5DDD5;color:#333}
.modal-content h3{font-size:1.4rem;margin-bottom:8px;color:#3B2314}
.modal-product-name{font-size:14px;color:#8B5E3C;margin-bottom:20px;padding:8px 12px;background:#FBF9F6;border-radius:6px;border-left:3px solid #D4A574}
.modal-content input{width:100%;padding:12px 16px;border:1.5px solid #E5DDD5;border-radius:8px;font-size:15px;margin-bottom:14px;outline:none;transition:border-color 0.3s}
.modal-content input:focus{border-color:#8B5E3C}
.modal-content .btn-primary{width:100%}
.modal-success{text-align:center;padding:20px 0}
.modal-success svg{width:60px;height:60px;fill:#27AE60;margin-bottom:16px}
.modal-success h4{color:#27AE60;margin-bottom:8px}

/* =============================================
   404 Page
   ============================================= */
.error-404{text-align:center;padding:120px 20px}
.error-404 h1{font-size:6rem;color:#D4A574;line-height:1}
.error-404 h2{font-size:1.5rem;margin:20px 0}
.error-404 p{color:#888;margin-bottom:30px}

/* =============================================
   Page Content
   ============================================= */
.page-content{padding:20px 0 60px}
.page-content p{margin-bottom:16px;color:#555;line-height:1.8}
.page-content h2,.page-content h3{margin:28px 0 14px;color:#3B2314}
.page-content img{border-radius:8px;margin:16px 0}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:40px}
.team-card{text-align:center;padding:24px;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,0.05)}
.team-card img{width:120px;height:120px;border-radius:50%;object-fit:cover;margin:0 auto 16px}
.team-card h4{font-size:16px;margin-bottom:4px}
.team-card .role{font-size:13px;color:#8B5E3C;margin-bottom:10px}
.team-card p{font-size:13px;color:#888;line-height:1.5}

/* =============================================
   WC Pagination & Messages
   ============================================= */
.woocommerce-pagination{margin-top:40px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{padding:16px 20px;border-radius:8px;margin-bottom:20px;font-size:14px}
.woocommerce-message{background:#EBF9EB;color:#27AE60;border:1px solid #C8F0C8}
.woocommerce-info{background:#F0F4FF;color:#2980B9;border:1px solid #D0E0FF}
.woocommerce-error{background:#FDEBEB;color:#C0392B;border:1px solid #F5C6C6}

/* =============================================
   Responsive
   ============================================= */
@media(max-width:1024px){.header-search{display:none}
  .header-inner{padding:10px 16px}
  .main-nav{gap:0}
  .main-nav a{padding:8px 12px;font-size:14px}
  .header-search input{width:150px;font-size:13px}
  .header-hotline{font-size:13px}
  .categories-grid{grid-template-columns:repeat(3,1fr)}
  .products-grid,.products-grid-shop{grid-template-columns:repeat(3,1fr)}
  .journey-timeline{grid-template-columns:repeat(3,1fr);gap:30px}
  .journey-timeline::before{display:none}
  .shop-layout{grid-template-columns:220px 1fr}
  .single-product-layout{grid-template-columns:1fr;gap:30px}
  .product-gallery{position:static}
  .story-grid{grid-template-columns:1fr;gap:30px}
  .why-row{grid-template-columns:1fr;gap:30px}
  .why-row:nth-child(even) .why-image{order:0}
  .footer-grid{grid-template-columns:1fr 1fr}
  .contact-layout{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .pillars-grid{grid-template-columns:repeat(2,1fr)}
  .stats-row{grid-template-columns:repeat(3,1fr)}
  .hero-title{font-size:1.8rem}
}@media(max-width:768px){
  .header-inner{padding:8px 14px}
  .site-logo a{font-size:16px}
  .site-logo img{height:32px}
  .site-logo a{font-size:18px}
  .site-logo img{height:36px}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:12px;box-shadow:0 10px 30px rgba(0,0,0,0.08)}
  .main-nav.active{display:flex}
  .main-nav a{padding:12px 16px;border-bottom:1px solid #F5F0EB}
  .header-search{display:none}
  .header-hotline{display:none}
  .mobile-menu-toggle{display:flex}
  .hero-section{height:70vh;min-height:450px}
  .hero-title{font-size:1.8rem}
  .hero-subtitle{font-size:14px;letter-spacing:2px}
  .hero-desc{font-size:15px}
  .hero-buttons .btn{padding:12px 28px;font-size:14px}
  .section{padding:50px 0}
  .section-title{font-size:1.6rem}
  .categories-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .products-grid,.products-grid-shop,.blog-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .journey-timeline{grid-template-columns:repeat(2,1fr)}
  .pillars-grid{grid-template-columns:1fr;gap:20px}
  .shop-layout{grid-template-columns:1fr}
  .shop-sidebar{position:static}
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .stats-row{grid-template-columns:repeat(3,1fr);gap:12px}
  .stat-item{padding:14px}
  .stat-number{font-size:1.5rem}
  .cta-form{flex-direction:column}
  .team-grid{grid-template-columns:1fr}
  .page-header-inner{padding:40px 0 20px}
  .page-header-inner h1{font-size:1.8rem}
}
@media(max-width:480px){
  .categories-grid{grid-template-columns:1fr;gap:12px}
  .products-grid,.products-grid-shop,.blog-grid{grid-template-columns:1fr}
  .products-grid-shop{grid-template-columns:repeat(2,1fr)}
  .journey-timeline{grid-template-columns:1fr}
  .hero-title{font-size:1.3rem}
  .hero-buttons{flex-direction:column;align-items:center}
  .hero-buttons .btn{width:100%;max-width:280px}
  .header-search input{width:130px;font-size:13px}
  .modal-content{padding:24px}
  .stats-row{grid-template-columns:1fr}
}


/* =============================================
   Responsive Header Overrides
   ============================================= */
@media(max-width:1024px){.header-search{display:none}
  .header-inner{padding:10px 16px}
  .main-nav a{padding:8px 14px;font-size:14px}
  .header-search input{width:150px;padding:8px 14px 8px 36px}
  .header-hotline{font-size:13px}
}

@media(max-width:900px){.header-search{display:none}
  .header-inner{padding:8px 14px}
  .site-logo a{font-size:18px}
  .site-logo img{height:36px}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:8px 12px;box-shadow:0 10px 30px rgba(0,0,0,0.08);z-index:1000}
  .main-nav.active{display:flex}
  .main-nav a{padding:12px 16px;border-bottom:1px solid #F5F0EB;font-size:15px;border-radius:0}
  .header-search input{width:130px;font-size:13px}
  .header-hotline{font-size:12px}
  .header-hotline svg{width:16px;height:16px}
  .mobile-menu-toggle{display:flex}
}

@media(max-width:768px){
  .header-inner{padding:6px 12px}
  .site-logo a{font-size:16px}
  .site-logo img{height:30px}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:8px 12px;box-shadow:0 10px 30px rgba(0,0,0,0.08);z-index:1000}
  .main-nav.active{display:flex}
  .main-nav a{padding:12px 16px;border-bottom:1px solid #F5F0EB;font-size:14px;border-radius:0}
  .header-search{display:none}
  .header-hotline{display:none}
  .mobile-menu-toggle{display:flex}
}

@media(max-width:480px){
  .header-inner{padding:6px 10px}
  .site-logo a{font-size:15px}
  .site-logo img{height:28px}
}


/* =============================================
   Post content lists & captions
   ============================================= */
.post-content ul,
.page-content ul{list-style:disc;padding-left:24px;margin-bottom:16px}
.post-content ul li,
.page-content ul li{margin-bottom:6px}
.post-content ol,
.page-content ol{list-style:decimal;padding-left:24px;margin-bottom:16px}
.post-content ol li,
.page-content ol li{margin-bottom:6px}
.post-content .wp-caption,
.page-content .wp-caption{max-width:100%;margin:20px 0}
.post-content .wp-caption-text,
.page-content .wp-caption-text,
.post-content figcaption,
.page-content figcaption,
.wp-block-image figcaption{font-size:13px;color:#999;font-style:italic;text-align:center;margin-top:8px;line-height:1.4}


/* =============================================
   Blog Post Layout + Sidebar
   ============================================= */
.post-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;padding-bottom:60px}
.post-main{min-width:0}
.blog-sidebar{align-self:start;position:sticky;top:90px}
.blog-sidebar .widget{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,0.04);margin-bottom:24px}
.blog-sidebar .widget h4{font-size:16px;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #F5F0EB;color:#3B2314}
.blog-sidebar .widget ul{list-style:none;padding:0}
.blog-sidebar .widget ul li a:hover{background:#F5F0EB;color:#5C3A21}
.recent-post-item{display:flex;gap:12px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #F5F0EB}
.recent-post-item:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.recent-post-thumb{width:60px;height:60px;border-radius:8px;object-fit:cover;flex-shrink:0;display:block}
.recent-post-info{flex:1;min-width:0}
.recent-post-info h5{font-size:14px;margin-bottom:4px;line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.recent-post-info h5 a{color:#3B2314}
.recent-post-info h5 a:hover{color:#5C3A21}
.recent-post-info .date{font-size:12px;color:#999}
.sidebar-cta{background:#3B2314;color:#fff;text-align:center}
.sidebar-cta h4{color:#fff !important;border-color:rgba(255,255,255,0.2) !important;font-family:Georgia,"Times New Roman",serif}
.sidebar-cta p{font-size:14px;color:#C4B5A5;margin-bottom:16px;line-height:1.6}
.sidebar-cta .btn{display:block;text-align:center;width:100%}

@media(max-width:1024px){
  .post-layout{grid-template-columns:1fr 260px;gap:30px}
}
@media(max-width:768px){
  .post-layout{grid-template-columns:1fr;gap:30px}
  .blog-sidebar{position:static}
  .post-header{padding:40px 0 20px}
  .post-title{font-size:1.8rem}
}
@media(max-width:480px){
  .post-header{padding:30px 0 16px}
  .post-title{font-size:1.5rem}
  .post-featured-image{margin-bottom:20px}
}


/* =============================================
   Scroll Animations
   ============================================= */
.animate{opacity:0;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease}
.animate.visible{opacity:1;transform:translateY(0)}
.animate.slide-left{transform:translateX(-40px)}
.animate.slide-left.visible{transform:translateX(0)}
.animate.slide-right{transform:translateX(40px)}
.animate.slide-right.visible{transform:translateX(0)}
.animate.scale-in{transform:scale(.9)}
.animate.scale-in.visible{transform:scale(1)}
.animate.fade-only{transform:none;opacity:0}
.animate.fade-only.visible{opacity:1}
.delay-1{transition-delay:.1s}.delay-2{transition-delay:.2s}.delay-3{transition-delay:.3s}
.delay-4{transition-delay:.4s}.delay-5{transition-delay:.5s}.delay-6{transition-delay:.6s}
.delay-7{transition-delay:.7s}.delay-8{transition-delay:.8s}

@media(max-width:768px){
  .animate{transform:translateY(20px)}
  .animate.slide-left,.animate.slide-right{transform:translateY(20px)}
  .animate.slide-left.visible,.animate.slide-right.visible{transform:translateY(0)}
}
