/*
Theme Name: Com Me Tri
Theme URI: https://example.local/
Author: OpenAI
Description: Theme WooCommerce phong cách đặc sản Hà Nội, lấy cảm hứng từ cửa hàng cốm truyền thống. Dễ chỉnh sửa và dùng thử local.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: Com-me_tri
*/
:root{--green:#526b36;--green2:#75894b;--cream:#f8f5ec;--paper:#fffdf8;--ink:#292d21;--muted:#77796e;--line:#e8e2d5;--gold:#b98b48;--radius:18px;--shadow:0 10px 35px rgba(45,52,30,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--green2)}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.container{width:min(1180px,calc(100% - 36px));margin:auto}.topbar{background:var(--green);color:#fff;font-size:13px;padding:7px 0}.topbar .container{display:flex;justify-content:space-between;gap:15px}.site-header{background:rgba(255,253,248,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.header-inner{min-height:88px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;min-width:190px}.brand-mark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-family:Georgia,serif;font-size:25px}.brand-name{font-family:Georgia,serif;font-weight:700;letter-spacing:.5px;font-size:23px;line-height:1.1;color:var(--green)}.brand-tag{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)}.main-nav{display:flex;align-items:center;gap:24px;margin:auto;font-size:14px;font-weight:650}.main-nav ul{display:flex;align-items:center;gap:24px;list-style:none;padding:0;margin:0}.main-nav ul li{margin:0}.main-nav a{padding:12px 0}.header-tools{display:flex;align-items:center;gap:12px}.search-form{display:flex;border:1px solid var(--line);border-radius:30px;overflow:hidden;background:#fff}.search-form input{border:0;outline:0;width:125px;padding:9px 12px;background:transparent;font-size:13px}.search-form button{border:0;background:transparent;padding:0 12px;cursor:pointer}.cart-link,.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:30px;background:var(--green);color:white;padding:12px 20px;font-weight:650;cursor:pointer;transition:.2s}.cart-link{padding:10px 14px;font-size:13px;white-space:nowrap}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#3e5228;color:white;transform:translateY(-1px)}.button.light{background:#fff;color:var(--green);border:1px solid var(--line)}.button.outline{background:transparent;color:var(--green);border:1px solid var(--green)}.mobile-menu{display:none}.hero{padding:46px 0 30px;background:linear-gradient(120deg,#f5f0df,#fbf9f1 55%,#e9edda);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:48px;min-height:410px}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--green);font-weight:800;display:flex;align-items:center;gap:10px}.eyebrow:before{content:"";width:28px;height:1px;background:var(--gold)}h1,h2,h3{line-height:1.2}h1,h2,.serif{font-family:Georgia,"Times New Roman",serif}h1{font-size:clamp(38px,5vw,61px);margin:17px 0;color:#343b28;letter-spacing:-1.5px}h1 em{color:var(--green2);font-weight:500}.hero p{font-size:17px;color:#666958;max-width:490px;margin:0 0 25px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-art{position:relative;min-height:370px;display:grid;place-items:center}.hero-art:before{content:"";position:absolute;width:340px;height:340px;border-radius:50%;background:#dfe5c9;right:7%;top:2%}.hero-art:after{content:"";position:absolute;width:265px;height:265px;border:1px solid rgba(82,107,54,.25);border-radius:50%;right:16%;top:12%}.hero-photo{width:82%;height:330px;object-fit:cover;border-radius:48% 48% 22px 22px;position:relative;z-index:1;box-shadow:var(--shadow);background:#d8d8c0}.hero-stamp{position:absolute;z-index:2;bottom:15px;left:1%;width:112px;height:112px;border-radius:50%;background:var(--green);color:white;display:grid;place-items:center;text-align:center;font-family:Georgia,serif;font-size:15px;line-height:1.3;border:5px solid var(--cream);transform:rotate(-9deg)}.trust-strip{border-bottom:1px solid var(--line);background:#fff}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 0;gap:16px}.trust-item{display:flex;gap:12px;align-items:center;justify-content:center;border-right:1px solid var(--line)}.trust-item:last-child{border:0}.trust-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#f0f2e6;color:var(--green);font-size:20px}.trust-item strong{display:block;font-size:13px}.trust-item span{display:block;color:var(--muted);font-size:12px}.section{padding:66px 0}.section.soft{background:var(--cream)}.section-heading{text-align:center;max-width:650px;margin:0 auto 32px}.section-heading .eyebrow{justify-content:center}.section-heading h2{font-size:clamp(29px,3vw,40px);margin:10px 0}.section-heading p{color:var(--muted);margin:0}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.category-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 14px;text-align:center;transition:.2s}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.category-icon{width:68px;height:68px;margin:0 auto 13px;display:grid;place-items:center;background:#eff1e3;border-radius:50%;font-size:29px}.category-card h3{font-family:Georgia,serif;font-size:18px;margin:0 0 5px}.category-card p{font-size:12px;color:var(--muted);margin:0}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-card{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden;position:relative;transition:.25s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-thumb{aspect-ratio:1/1;background:#f1eee3;overflow:hidden;display:block}.product-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.product-card:hover .product-thumb img{transform:scale(1.04)}.product-thumb .placeholder{height:100%;display:grid;place-items:center;color:var(--green);font-size:54px;background:linear-gradient(145deg,#f5f1e4,#e5e9d4)}.product-info{padding:16px}.product-category{font-size:11px;color:var(--green2);text-transform:uppercase;letter-spacing:1px;font-weight:750}.product-info h3{font-family:Georgia,serif;font-size:18px;line-height:1.35;margin:7px 0 9px;min-height:48px}.product-info h3 a:hover{color:var(--green2)}.price,.woocommerce ul.products li.product .price{font-weight:800;color:var(--green);font-size:17px;margin-bottom:12px}.price del{color:#999;font-size:13px;font-weight:400}.price ins{text-decoration:none}.product-actions{display:flex;gap:8px;align-items:center}.product-actions .button{padding:9px 13px;font-size:12px;flex:1}.product-actions .quick-view{border:1px solid var(--line);border-radius:50%;width:38px;height:38px;display:grid;place-items:center;color:var(--green)}.tag{position:absolute;top:12px;left:12px;background:#fff;color:var(--green);border-radius:30px;padding:5px 10px;font-size:10px;font-weight:800;z-index:1}.feature-banner{display:grid;grid-template-columns:1fr 1fr;background:#e9edda;border-radius:24px;overflow:hidden;min-height:310px}.feature-copy{padding:42px;align-self:center}.feature-copy h2{font-size:36px;margin:12px 0}.feature-copy p{color:#666958;max-width:430px}.feature-image{width:100%;height:100%;min-height:310px;object-fit:cover}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.process-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.process-number{font-family:Georgia,serif;font-size:35px;color:#a8b48b}.process-card h3{font-family:Georgia,serif;font-size:20px;margin:10px 0}.process-card p{font-size:14px;color:var(--muted);margin:0}.quote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.quote-card{padding:25px;background:white;border:1px solid var(--line);border-radius:var(--radius)}.stars{color:var(--gold);letter-spacing:3px}.quote-card p{color:#5f6257;font-family:Georgia,serif;font-size:17px}.quote-card strong{font-size:13px}.faq-list{max-width:800px;margin:auto}.faq-list details{border-bottom:1px solid var(--line);padding:18px 0}.faq-list summary{font-weight:750;cursor:pointer}.faq-list details p{color:var(--muted);margin-bottom:0}.newsletter{background:var(--green);color:#fff;padding:42px 0}.newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.newsletter h2{font-family:Georgia,serif;font-size:30px;margin:0 0 5px}.newsletter p{margin:0;color:#e0e7d2}.newsletter-form{display:flex;gap:8px;max-width:430px;width:100%}.newsletter-form input{min-width:0;flex:1;border:0;border-radius:30px;padding:12px 17px}.newsletter-form button{background:#e5e8d7;color:var(--green);border:0;border-radius:30px;padding:12px 18px;font-weight:800;cursor:pointer}.site-footer{background:#22291e;color:#e9ebdf;padding:52px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}.footer-grid h3{font-family:Georgia,serif;color:#fff;font-size:19px}.footer-grid p,.footer-grid li{font-size:13px;color:#c0c6b4}.footer-grid ul{list-style:none;padding:0;margin:0}.footer-grid li{margin:7px 0}.footer-bottom{border-top:1px solid #42483b;margin-top:35px;padding-top:17px;display:flex;justify-content:space-between;color:#b8bead;font-size:12px}.page-header{padding:48px 0;background:var(--cream);text-align:center}.page-header h1{font-size:42px;margin:0 0 8px}.breadcrumbs{font-size:12px;color:var(--muted)}.content-layout{padding:45px 0 70px}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--muted)}.woocommerce div.product .product_title{font-family:Georgia,serif;font-size:36px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--green)}.woocommerce div.product form.cart .button{padding:13px 24px}.woocommerce ul.products li.product{border:1px solid var(--line);border-radius:16px;padding:12px;overflow:hidden}.woocommerce ul.products li.product a img{border-radius:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Georgia,serif;font-size:18px}.woocommerce span.onsale{background:var(--gold);min-height:35px;min-width:35px;line-height:35px}.woocommerce-message,.woocommerce-info{border-top-color:var(--green)}.woocommerce-message:before,.woocommerce-info:before{color:var(--green)}.woocommerce table.shop_table{border-radius:12px;border-color:var(--line)}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{border:1px solid var(--line);border-radius:8px;padding:12px}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--line);border-radius:14px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.post-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white}.post-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.post-card-body{padding:20px}.post-card h2{font-size:22px;margin:7px 0}.post-card p{color:var(--muted);font-size:14px}.entry-content{max-width:800px;margin:35px auto 70px}.entry-content img{border-radius:12px}.pagination{margin-top:30px}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:1000px){.main-nav{gap:13px}.search-form{display:none}.hero-grid{gap:20px}.product-grid{grid-template-columns:repeat(3,1fr)}.category-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.container{width:min(100% - 28px,1180px)}.topbar .container{justify-content:center}.topbar .top-extra{display:none}.header-inner{min-height:72px;gap:10px;justify-content:space-between}.brand{min-width:0}.brand-name{font-size:19px}.brand-mark{width:39px;height:39px}.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);padding:12px 22px 22px;box-shadow:var(--shadow);align-items:stretch;flex-direction:column;gap:0}.main-nav ul{align-items:stretch;flex-direction:column;gap:0}.main-nav.is-open{display:flex}.main-nav a{padding:10px 0;border-bottom:1px solid var(--line)}.mobile-menu{display:inline-flex;border:1px solid var(--line);background:white;border-radius:50%;width:40px;height:40px;align-items:center;justify-content:center;font-size:20px}.header-tools{gap:7px}.cart-link{font-size:0;padding:10px 12px}.cart-link span{font-size:14px}.hero{padding:32px 0 22px}.hero-grid{grid-template-columns:1fr;gap:8px}.hero h1{font-size:42px}.hero p{font-size:15px}.hero-art{min-height:280px}.hero-photo{height:260px;width:75%}.hero-art:before{width:260px;height:260px}.hero-art:after{width:215px;height:215px}.hero-stamp{width:88px;height:88px;font-size:12px;left:5%;bottom:0}.trust-grid{grid-template-columns:repeat(2,1fr);padding:14px 0}.trust-item{justify-content:flex-start;border-right:0}.section{padding:46px 0}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{padding:17px 9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-info{padding:12px}.product-info h3{font-size:15px;min-height:41px}.product-actions .button{font-size:11px;padding:9px 7px}.product-actions .quick-view{display:none}.feature-banner{grid-template-columns:1fr}.feature-copy{padding:28px}.feature-copy h2{font-size:30px}.feature-image{min-height:220px;max-height:260px}.process-grid{grid-template-columns:repeat(2,1fr);gap:10px}.process-card{padding:16px}.process-card h3{font-size:17px}.quote-grid{grid-template-columns:1fr}.newsletter-inner{align-items:flex-start;flex-direction:column}.newsletter-form{max-width:none}.footer-grid{grid-template-columns:1fr 1fr;gap:22px}.footer-bottom{flex-direction:column;gap:8px}.page-header{padding:35px 0}.page-header h1{font-size:34px}.blog-grid{grid-template-columns:1fr}.woocommerce div.product .product_title{font-size:28px}}
