/*
Theme Name: Do Le Con Dao Lily
Theme URI: http://localhost/hoatuoi1
Author: Hoai Hieu
Description: Theme bán đồ lễ Côn Đảo, mô phỏng giao diện dolelily.com (Flatsome style) — banner thật, carousel sản phẩm, nền vàng gold.
Version: 3.0
Requires PHP: 7.4
Text Domain: dolelily
*/

:root{
  --gold:#e1c45c;
  --gold-tex:url('assets/img/bg-gold.jpg');
  --gold-dark:#a8862a;
  --dark:#211c14;
  --brown:#33291b;
  --red:#e02b20;
  --text:#111;
  --muted:#777;
  --line:#ececec;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Montserrat,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .2s}
a:hover{color:var(--gold-dark)}
h1,h2,h3,h4{font-weight:700;line-height:1.3;color:#000}
.container{max-width:1200px;margin:0 auto;padding:0 15px}

/* ===== Header 2 hàng như bản gốc: nền hoa văn + thanh menu texture vàng, logo đè giữa ===== */
.site-header{background:#fff url('assets/img/bg-dolelilycom.jpg');position:relative;z-index:100}
.site-header::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.2);pointer-events:none}
.header-top{position:relative;color:#000;font-size:15px}
.header-top .container{display:flex;align-items:center;gap:18px;min-height:60px;flex-wrap:wrap;position:relative;z-index:2}
.header-top .addr{flex:1;min-width:220px;color:#000;font-weight:600}
.topbar-search{display:flex;align-items:center;background:rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.12);border-radius:99px;overflow:hidden;width:371px;max-width:100%;height:33px}
.topbar-search input[type=search]{border:0;outline:0;padding:0 16px;flex:1;font-size:13px;font-family:inherit;color:#333;background:transparent;height:100%}
.topbar-search button{border:0;background:transparent;padding:0 13px;cursor:pointer;font-size:14px;color:#000;height:100%}
.cart-link{width:32px;height:32px;border:1px solid #000;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#000;position:relative}
.cart-link .count{position:absolute;top:-7px;right:-8px;background:var(--gold);color:#000;font-size:10px;font-weight:700;border-radius:50%;width:16px;height:16px;display:flex;align-items:center;justify-content:center}

.header-nav-row{background:var(--gold) var(--gold-tex) center/cover;position:sticky;top:0;z-index:99}
.nav-wrap{display:flex;align-items:stretch;justify-content:center;min-height:44px}
.logo-spacer{flex:none;width:160px}
.nav-half{display:flex;list-style:none;align-items:stretch}
.nav-half>li{position:relative;display:flex}
.nav-half>li>a{display:flex;align-items:center;padding:0 10px;font-size:11.8px;font-weight:700;text-transform:uppercase;letter-spacing:0;color:#000;white-space:nowrap;position:relative}
.nav-half>li>a::after{content:"";position:absolute;left:10px;right:10px;bottom:6px;height:2px;background:#000;transform:scaleX(0);transform-origin:center;transition:transform .25s}
.nav-half>li:hover>a{color:#3a2c05}
.nav-half>li:hover>a::after{transform:scaleX(1)}
.nav-half .caret{font-size:8px;color:#3a2c05;margin-left:5px}
.nav-half .sub-menu{position:absolute;top:100%;left:0;background:#fff;min-width:250px;box-shadow:0 8px 26px rgba(0,0,0,.15);z-index:60;list-style:none;opacity:0;visibility:hidden;transition:all .2s;padding:8px 0}
.nav-half li:hover>.sub-menu{opacity:1;visibility:visible}
.nav-half .sub-menu a{display:block;padding:9px 18px;text-transform:none;font-weight:500;font-size:13.5px;color:#444}
.nav-half .sub-menu a:hover{background:#f7f7f7;color:var(--gold-dark)}

.logo-abs{position:absolute;left:50%;top:5px;transform:translateX(-50%);z-index:110}
.logo-abs img{width:130px;height:130px;border-radius:50%;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.nav-toggle{display:none;background:none;border:0;font-size:22px;padding:8px 14px;cursor:pointer}

/* ===== Hero banner (ảnh thật) ===== */
.hero-banner img{width:100%;height:auto}

/* ===== 3 nút danh mục gold ===== */
.cat-btns{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;padding:34px 0 8px}
.btn-gold-cat{background:var(--gold) var(--gold-tex) center/cover;color:#000;font-weight:800;text-transform:uppercase;font-size:14px;letter-spacing:.4px;padding:13px 34px;border-radius:12px;box-shadow:0 3px 10px rgba(160,130,40,.35);transition:all .2s}
.btn-gold-cat:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(160,130,40,.5);color:#000}

/* ===== Thanh tiêu đề section nền vàng ===== */
.section{padding:26px 0 6px}
.gold-bar{background:var(--gold) var(--gold-tex) center/cover;padding:10px 15px;margin-bottom:22px;border-radius:2px}
.gold-bar h2{text-align:center;font-size:22px;font-weight:800;text-transform:uppercase;color:#000;letter-spacing:.5px}
.gold-bar h2 a{color:#000}

/* ===== Carousel sản phẩm ===== */
.carousel{position:relative}
.carousel-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:14px;-ms-overflow-style:none;scrollbar-width:none}
.carousel-track::-webkit-scrollbar{display:none}
.carousel .product-card{flex:0 0 calc(25% - 12px);scroll-snap-align:start}
.carousel-arrow{position:absolute;top:38%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid #ddd;box-shadow:0 3px 10px rgba(0,0,0,.15);font-size:19px;color:#333;cursor:pointer;z-index:5;display:flex;align-items:center;justify-content:center;transition:all .2s}
.carousel-arrow:hover{background:var(--gold);border-color:var(--gold)}
.carousel-arrow.prev{left:-16px}
.carousel-arrow.next{right:-16px}

/* ===== Product card (kiểu Flatsome) ===== */
.product-card{background:#fff;position:relative;border-radius:14px;overflow:hidden}
.product-card .thumb{aspect-ratio:1/1;overflow:hidden;position:relative;display:block}
.product-card .thumb img{width:100%;height:100%;object-fit:cover}
.product-card .sale-badge{position:absolute;top:10px;left:10px;background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;z-index:2}
.product-card .info{display:flex;flex-direction:column;align-items:stretch;padding:12px;background:#faf8f2;border:1px solid #ece5d3;border-top:0;border-radius:0 0 14px 14px}
.product-card h3{font-size:14px;font-weight:500;color:#333;margin-bottom:5px;min-height:40px}
.product-card h3 a{color:#333;transition:none}
.product-card h3 a:hover{color:#333}
.product-card .price{font-size:14.5px;color:#000;font-weight:600;text-align:center;width:100%}
.product-card .price del{color:#999;font-weight:400;margin-right:6px}
.product-card .btn-buy{display:inline-block;align-self:center;text-align:center;transition:none;margin:10px 0 0;background:var(--gold) var(--gold-tex) center/cover;color:#000;font-size:12.5px;font-weight:700;text-transform:uppercase;padding:8px 18px;border-radius:12px}
.product-card .btn-buy:hover{color:#000}
.view-all{text-align:center;margin:2px 0 20px}
.view-all a{display:inline-block;border:2px solid var(--gold);color:#6b5410;font-weight:700;font-size:13px;text-transform:uppercase;padding:9px 30px;border-radius:12px}
.view-all a:hover{background:var(--gold) var(--gold-tex) center/cover;color:#000}

/* Rounded product images across carousels, catalog and product gallery. */
.product-card .thumb,
.woocommerce ul.products li.product a img{
  border-radius:14px;
  background:#faf8f2;
  box-shadow:0 0 0 1px rgba(168,134,42,.12);
}
.product-card .thumb{border-radius:14px 14px 0 0;box-shadow:none}
.product-card .thumb img{border-radius:inherit}
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder{
  border-radius:16px;
  overflow:hidden;
  background:#faf8f2;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder img{
  border-radius:16px;
}
.woocommerce div.product div.images .flex-control-thumbs{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 0;padding:0;
}
.woocommerce div.product div.images .flex-control-thumbs li{float:none;width:100%;padding:0;margin:0}
.woocommerce div.product div.images .flex-control-thumbs li img{width:100%;aspect-ratio:1/1;object-fit:cover}
/* Spacing for the native gallery before or without slider initialization. */
.woocommerce div.product div.images>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:nth-child(n+2){
  width:calc(25% - 12px);margin-top:16px;margin-right:12px;vertical-align:top;
}
@media(max-width:640px){
  .woocommerce div.product div.images .flex-control-thumbs{gap:10px;margin-top:12px}
  .woocommerce div.product div.images>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:nth-child(n+2){
    width:calc(25% - 10px);margin-top:12px;margin-right:10px;
  }
}
.woocommerce div.product div.images .flex-control-thumbs li img{
  border-radius:10px;
  border:1px solid #ece5d3;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{
  border-color:var(--gold-dark);
}

/* ===== Giới thiệu cửa hàng ===== */
.about-sec{padding:24px 0 16px}
.about-head{font-size:22px;font-weight:800;text-transform:uppercase;margin-bottom:6px}
.about-head span{color:var(--gold)}
.divider{margin:4px 0 18px;width:300px;max-width:80%}
.about-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:34px;align-items:center}
.about-grid p{margin-bottom:12px;font-size:14.5px;color:#333}
.about-grid .img{box-shadow:0 8px 26px rgba(0,0,0,.15)}

/* ===== Section nền tối: 4 cam kết + tiêu đề phản hồi (như bản gốc) ===== */
.dark-sec{background:url('assets/img/bg-home.jpg') center/cover no-repeat;position:relative;padding:40px 0 26px;margin-top:28px}
.dark-sec::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.75)}
.dark-sec .container{position:relative;z-index:2}
.values{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.value-box{text-align:center;padding:6px 12px}
.value-box img{width:110px;height:110px;object-fit:contain;margin:0 auto 12px}
.value-box h3{font-size:15px;text-transform:uppercase;color:#fff;letter-spacing:.3px}
.dark-sec-title{text-align:center;margin:26px 0 4px}
.dark-sec-title strong{font-size:24px;font-weight:700;color:#fff;letter-spacing:.5px}

/* ===== Slider phản hồi khách hàng (thẻ trắng đổ bóng) ===== */
.testi-slider{position:relative;max-width:700px;margin:30px auto 6px;display:flex;align-items:center}
.testi-card{background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.15);padding:34px 44px 22px;text-align:center;flex:1;border-radius:4px}
.testi-slide{display:none}
.testi-slide.active{display:block;animation:testiFade .5s}
@keyframes testiFade{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
.testi-slide .avatar{width:80px;height:80px;border-radius:50%;object-fit:cover;margin:0 auto 10px}
.testi-slide .stars{color:#e8b306;letter-spacing:3px;font-size:15px;margin-bottom:10px}
.testi-slide .quote{font-size:14.5px;color:#444;line-height:1.7;margin-bottom:14px}
.testi-slide .who{font-weight:700;font-size:14.5px;text-transform:uppercase}
.testi-slide .role{font-size:12.5px;color:var(--muted)}
.testi-arrow{flex:none;width:40px;height:40px;border-radius:50%;border:2px solid #ccc;background:transparent;color:#666;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:2}
.testi-arrow:hover{border-color:#444;color:#000}
.testi-arrow.prev{margin-right:16px}
.testi-arrow.next{margin-left:16px}
.testi-dots{display:flex;gap:8px;justify-content:center;margin-top:16px}
.testi-dots .dot{width:10px;height:10px;border-radius:50%;background:#ccc;cursor:pointer;transition:background .2s}
.testi-dots .dot.active{background:#555}

/* ===== Phản hồi khách hàng ===== */
.fb-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-bottom:24px}
.fb-grid img{width:100%;border:1px solid var(--line);box-shadow:0 4px 14px rgba(0,0,0,.08)}

/* ===== Tin tức ===== */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:22px}
.news-card{border:1px solid var(--line);background:#fff;transition:all .25s}
.news-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.1)}
.news-card .thumb{aspect-ratio:16/9;overflow:hidden;display:block}
.news-card .thumb img{width:100%;height:100%;object-fit:cover}
.news-card .info{padding:14px 16px 18px}
.news-card h3{font-size:14.5px;text-transform:uppercase;margin-bottom:6px}
.news-card h3 a{color:#222}
.news-card h3 a:hover{color:var(--gold-dark)}
.news-card .date{font-size:12px;color:var(--muted);display:block;margin-bottom:6px}
.news-card p{font-size:13px;color:#666}

/* ===== Footer nền hoa văn như bản gốc ===== */
.site-footer{background:#fff url('assets/img/bg-dolelilycom.jpg');padding:30px 0 0;margin-top:24px;position:relative}
.site-footer::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.2);pointer-events:none}
.site-footer .container{position:relative;z-index:2}
.footer-cols{display:grid;grid-template-columns:2fr 5fr 2.5fr 2.5fr;gap:30px;padding-bottom:30px;align-items:start}
.footer-logo{text-align:center}
.footer-logo img{width:100%;max-width:170px;border-radius:50%;object-fit:contain;margin:0 auto}
.site-footer h3{font-size:16px;font-weight:700;text-transform:uppercase;color:#000;margin-bottom:12px;letter-spacing:.2px}
.footer-list{list-style:none}
.footer-list li{margin-bottom:8px;font-size:14.5px;color:#111;line-height:1.6}
.footer-list a{color:#111}
.footer-list a:hover{color:var(--gold-dark)}
.footer-bottom{background:#5b5b5b;color:rgba(0,0,0,.55);padding:10px 0;font-size:13.5px;position:relative;z-index:2}
.footer-bottom strong{color:rgba(0,0,0,.7)}

/* ===== Floating contact (góc trái) ===== */
.float-contact{position:fixed;left:14px;bottom:18px;z-index:999;display:flex;align-items:center;gap:10px}
.float-call{display:flex;align-items:center;gap:8px;background:var(--red);color:#fff;font-weight:800;font-size:14.5px;padding:9px 18px 9px 10px;border-radius:40px;box-shadow:0 4px 14px rgba(0,0,0,.3);animation:ring 1.6s infinite}
.float-call .ic{width:30px;height:30px;border-radius:50%;background:#fff;color:var(--red);display:flex;align-items:center;justify-content:center;font-size:15px}
.float-call:hover{color:#fff;filter:brightness(1.1)}
.float-ico{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:12px;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.float-zalo{background:#0068ff}
.float-mess{background:linear-gradient(45deg,#0695ff,#a334fa,#ff6968);font-size:18px}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(224,43,32,.55)}70%{box-shadow:0 0 0 13px rgba(224,43,32,0)}100%{box-shadow:0 0 0 0 rgba(224,43,32,0)}}

/* ===== Trang trong / Woo ===== */
.page-wrap{padding-top:36px;padding-bottom:36px}
.page-wrap h1.page-title{font-size:24px;text-transform:uppercase;margin-bottom:22px;border-left:6px solid var(--gold);padding-left:14px}
.entry-content p{margin-bottom:13px;font-size:15px}
.entry-content h2{margin:24px 0 12px;font-size:21px}
.entry-content h3{margin:18px 0 10px;font-size:17px}
.entry-content ul,.entry-content ol{margin:0 0 13px 24px}
.woocommerce ul.products li.product{background:#fff;padding-bottom:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;font-weight:500;padding:10px 10px 0}
.woocommerce ul.products li.product .price{color:#000!important;font-weight:600;padding:0 10px}
.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce div.product form.cart .button{background:var(--gold) var(--gold-tex) center/cover;color:#000;font-weight:700;text-transform:uppercase;font-size:12.5px;border-radius:12px}
.woocommerce ul.products li.product .button{margin:8px 10px 0}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce input.button:hover,.woocommerce div.product form.cart .button:hover{filter:brightness(1.06);background:var(--gold);color:#000}
.woocommerce div.product p.price{color:var(--red);font-size:24px;font-weight:800}
.woocommerce span.onsale{background:var(--red)}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:#888}

/* ===== Responsive ===== */
@media(max-width:900px){
  .carousel .product-card{flex-basis:calc(50% - 8px)}
  .values{grid-template-columns:repeat(2,1fr)}
  .fb-grid{grid-template-columns:1fr 1fr}
  .news-grid{grid-template-columns:1fr 1fr}
  .about-grid{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr 1fr}
}
@media(max-width:1080px){
  .site-header{display:flex;flex-direction:column}
  .header-top .addr{display:none}
  .nav-toggle{display:block}
  .nav-wrap{flex-wrap:wrap;justify-content:space-between}
  .logo-spacer{display:none}
  .nav-half{display:none;width:100%;flex-direction:column;align-items:stretch}
  .header-nav-row.open .nav-half{display:flex}
  .nav-half>li{display:block}
  .nav-half>li>a{padding:12px 16px;border-bottom:1px solid #f2f2f2}
  .nav-half>li>a::after{display:none}
  .nav-half .sub-menu{position:static;opacity:1;visibility:visible;box-shadow:none;background:#faf7ef}
  .logo-abs{position:static;transform:none;display:block;text-align:center;padding:10px 0 4px;background:transparent;order:-1;pointer-events:none}
  .logo-abs img{width:104px;height:104px;margin:0 auto}
}
@media(max-width:1080px){
  .site-header{padding-top:94px}
  .logo-abs{position:absolute;top:8px;left:50%;transform:translateX(-50%);padding:0;pointer-events:auto}
  .logo-abs img{width:78px;height:78px}
  .header-top .container{flex-wrap:nowrap;gap:14px;min-height:58px}
  .topbar-search{flex:1;width:auto;height:44px}
  .topbar-search input[type=search]{min-width:0;font-size:16px}
  .topbar-search button{min-width:44px}
  .cart-link{flex:none;width:42px;height:42px;margin-right:6px}
  .nav-toggle{min-height:44px;color:#211c14;font-family:inherit;font-size:15px;font-weight:700}
  .header-nav-row.open .nav-wrap{max-height:65vh;overflow-y:auto;overscroll-behavior:contain}
  .nav-half>li>a{white-space:normal;font-size:13px;min-height:44px}
  .nav-half .sub-menu{min-width:0;width:100%}
  .nav-half .sub-menu a{min-height:44px}
}
@media(max-width:640px){
  .container{padding-left:16px;padding-right:16px}
  .cat-btns{display:grid;grid-template-columns:1fr;gap:10px;padding:22px 0 4px}
  .btn-gold-cat{text-align:center;width:100%;padding:12px 16px;font-size:13px}
  .section{padding-top:22px}
  .gold-bar{padding:12px;margin-bottom:16px}
  .gold-bar h2{font-size:17px;line-height:1.45}
  .carousel-track{gap:12px}
  .carousel .product-card{flex-basis:calc(50% - 6px);min-width:0}
  .product-card .info{padding:10px 8px 12px}
  .product-card h3{font-size:13px;min-height:0;line-height:1.5;overflow-wrap:anywhere}
  .product-card .price{font-size:13px}
  .product-card .price del,.product-card .price ins{display:inline-block}
  .product-card .btn-buy{margin:10px 0 0;padding:12px 10px;font-size:11px}
  .carousel-arrow{width:32px;height:44px;font-size:14px}
  .carousel-arrow.prev{left:0}
  .carousel-arrow.next{right:0}
  .about-head{font-size:20px}
  .about-grid{gap:18px}
  .values,.fb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .value-box{padding:6px 0}
  .value-box img{width:80px;height:80px}
  .value-box h3{font-size:12px;line-height:1.5}
  .dark-sec{padding:28px 0 20px}
  .dark-sec-title strong{font-size:20px}
  .testi-slider{display:block;margin-top:22px;padding-bottom:54px}
  .testi-card{min-width:0;padding:24px 20px}
  .testi-arrow{position:absolute;bottom:0;width:44px;height:44px}
  .testi-arrow.prev{left:calc(50% - 50px);margin:0}
  .testi-arrow.next{right:calc(50% - 50px);margin:0}
  .news-grid,.footer-cols{grid-template-columns:minmax(0,1fr);gap:22px}
  .footer-logo img{max-width:110px}
  .footer-list{overflow-wrap:anywhere}
  .footer-bottom{color:#fff;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .footer-bottom strong{color:#fff}
  .float-contact{left:0;right:0;bottom:0;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -2px 12px rgba(0,0,0,.1)}
  .float-call{flex:1;justify-content:center;min-height:44px;padding:7px 10px;font-size:12px;animation:none;white-space:nowrap}
  .float-ico{flex:none;width:44px;height:44px}
  .page-wrap{padding-top:24px;padding-bottom:24px}
  .page-wrap h1.page-title{font-size:21px;overflow-wrap:anywhere}
  .entry-content{overflow-wrap:anywhere}
  .entry-content table{display:block;max-width:100%;overflow-x:auto}
  .entry-content iframe{max-width:100%}
  .woocommerce ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
  .woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:100%;margin:0;min-width:0}
  .woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none;width:100%}
  .woocommerce .woocommerce-ordering select{width:100%;min-height:44px}
  .woocommerce input.input-text,.woocommerce select,.woocommerce textarea{max-width:100%;font-size:16px}
  .woocommerce div.product form.cart .button{min-height:44px;max-width:100%;white-space:normal}
  .woocommerce div.product form.cart .variations{width:100%}
}
/* Product details and related cards share the same mobile gutters. */
@media(max-width:768px){
  .single-product .container.page-wrap{padding-left:20px;padding-right:20px}
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary{float:none;width:100%;min-width:0}
  .woocommerce div.product .product_title{font-size:23px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:12px}
  .woocommerce div.product .woocommerce-tabs .panel{overflow-wrap:anywhere}
  .woocommerce div.product .woocommerce-tabs ul.tabs{padding-left:0;display:flex;flex-wrap:wrap;gap:6px}
  .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0 12px}
  .woocommerce div.product .related{clear:both;margin-top:28px}
  .woocommerce div.product .related>h2{font-size:21px;margin-bottom:18px}
  .woocommerce .related ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;margin:0}
  .woocommerce .related ul.products::before,
  .woocommerce .related ul.products::after{display:none}
  .woocommerce .related ul.products li.product,
  .woocommerce-page .related ul.products li.product{float:none;width:100%;margin:0;min-width:0;display:flex;flex-direction:column}
  .woocommerce .related ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-width:0}
  .woocommerce .related ul.products li.product a img{width:100%;aspect-ratio:1/1;object-fit:cover;margin:0 0 10px}
  .woocommerce .related ul.products li.product .woocommerce-loop-product__title{font-size:13px;line-height:1.5;padding:0 8px 8px;overflow-wrap:anywhere}
  .woocommerce .related ul.products li.product .price{margin-top:auto;padding:0 8px;font-size:13px}
  .woocommerce .related ul.products li.product .price del,
  .woocommerce .related ul.products li.product .price ins{display:inline-block}
  .woocommerce .related ul.products li.product .button{align-self:center;margin:12px 8px 0;padding:12px 10px;max-width:calc(100% - 16px);font-size:11px;white-space:normal;text-align:center}
}
/* Catalog cards: even columns, square images and centered purchase controls. */
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px;margin:0 0 28px;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products::before,
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products::after{display:none}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product{
  float:none;width:100%;margin:0;min-width:0;display:flex;flex-direction:column;
  background:#faf8f2;border:1px solid #ece5d3;border-radius:14px;overflow:hidden;padding-bottom:16px;transition:none;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:flex;flex-direction:column;flex:1;min-width:0;color:#333;transition:none;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product a img{
  width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px 14px 0 0;margin:0 0 14px;box-shadow:none;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .woocommerce-loop-product__title{
  padding:0 14px 10px;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .price{
  margin-top:auto;margin-bottom:0;padding:0 12px;text-align:center;font-size:15px;line-height:1.6;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .price del,
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .price ins{display:inline-block}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .star-rating{margin:0 auto 10px}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .button{
  align-self:center;margin:14px 12px 0;padding:12px 18px;max-width:calc(100% - 24px);border-radius:12px;white-space:normal;text-align:center;line-height:1.4;transition:none;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product:hover{box-shadow:none}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .button:hover{
  background:var(--gold) var(--gold-tex) center/cover;color:#000;filter:none;
}
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce .woocommerce-ordering select{
  min-height:44px;padding:8px 12px;border:1px solid #ece5d3;border-radius:10px;background:#faf8f2;max-width:100%;color:#333;
}
@media(max-width:900px){
  :is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}
}
@media(max-width:640px){
  :is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  :is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;padding:0 10px 10px}
  :is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .price{font-size:13px;padding:0 8px}
  :is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .button{font-size:11px;padding:12px 10px;margin:12px 8px 0;max-width:calc(100% - 16px)}
}

/* Product names and prices use a consistent emphasis in every product list. */
.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  text-transform:uppercase;text-align:center;
}
.product-card .price,
.woocommerce ul.products li.product .price,
:is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .price,
.woocommerce .related ul.products li.product .price{
  font-size:18px;color:var(--red)!important;font-weight:700;text-align:center;line-height:1.5;
}
.product-card .price del,
.woocommerce ul.products li.product .price del{font-size:.8em;color:#888;font-weight:400}
.product-card .price ins,
.woocommerce ul.products li.product .price ins{background:transparent;text-decoration:none}
@media(max-width:640px){
  .product-card .price,
  .woocommerce ul.products li.product .price,
  :is(.tax-product_cat,.tax-product_tag,.post-type-archive-product) .woocommerce ul.products li.product .price,
  .woocommerce .related ul.products li.product .price{font-size:16px}
}

/* Center purchase buttons and separate related products from the details. */
.woocommerce ul.products li.product .button{
  display:table;margin-left:auto;margin-right:auto;text-align:center;
}
.woocommerce div.product form.cart .single_add_to_cart_button{
  float:left;clear:none;display:inline-block;width:auto;max-width:calc(100% - 96px);margin:0;min-height:48px;padding:14px 16px;text-align:center;line-height:20px;
}
.woocommerce div.product form.cart div.quantity{float:left;margin:0 12px 12px 0}
.woocommerce div.product form.cart .quantity .qty{
  width:84px;height:48px;padding:8px;border:1px solid #d9c996;border-radius:12px;
  background:#faf8f2;color:#33291b;font-family:inherit;font-size:16px;font-weight:600;text-align:center;
  box-shadow:inset 0 1px 2px rgba(51,41,27,.04);
}
.woocommerce div.product form.cart .quantity .qty:focus{
  outline:2px solid var(--gold-dark);outline-offset:2px;border-color:var(--gold-dark);
}
.woocommerce div.product .related{
  clear:both;display:flow-root;margin-top:40px;padding-top:32px;border-top:1px solid #ece5d3;
}
.woocommerce div.product .related>h2{margin-bottom:24px}
@media(max-width:768px){
  .woocommerce div.product .related{margin-top:32px;padding-top:28px}
  .woocommerce .related ul.products li.product .button{align-self:center;margin-left:auto;margin-right:auto}
}

/* Product description and reviews. */
.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:28px}
.woocommerce div.product .woocommerce-tabs ul.tabs{
  display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0 0 18px;overflow:visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  margin:0;padding:0;border:1px solid #ece5d3;border-radius:12px;background:#faf8f2;box-shadow:none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:block;padding:12px 22px;font-size:14px;font-weight:700;color:#554525;line-height:1.5;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{
  background:var(--gold) var(--gold-tex) center/cover;border-color:var(--gold-dark);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#211c14}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:focus-visible{outline:2px solid var(--gold-dark);outline-offset:3px;border-radius:12px}
.woocommerce div.product .woocommerce-tabs .panel{
  margin:0;padding:28px;border:1px solid #ece5d3;border-radius:16px;background:#fff;color:#444;line-height:1.8;
}
.woocommerce div.product .woocommerce-tabs .panel h2{margin:0 0 18px;font-size:22px;color:#33291b;line-height:1.4}
.woocommerce div.product .woocommerce-tabs .panel h3{color:#33291b}
.woocommerce div.product .woocommerce-tabs .panel p{font-size:15px;margin-bottom:14px}
.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce div.product .woocommerce-tabs .panel ol{padding-left:20px;margin:0 0 18px}
.woocommerce div.product .woocommerce-tabs .panel li{margin-bottom:6px}
.woocommerce div.product .woocommerce-tabs .panel img{border-radius:12px}
.woocommerce #reviews #comments ol.commentlist{padding:0;margin:0;list-style:none}
.woocommerce #reviews #comments ol.commentlist li{margin:0 0 18px}
.woocommerce #reviews #comments ol.commentlist li img.avatar{width:44px;padding:0;border:0;border-radius:50%;background:#faf8f2}
.woocommerce #reviews #comments ol.commentlist li .comment-text{
  margin-left:60px;padding:18px;border:1px solid #ece5d3;border-radius:12px;background:#faf8f2;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{font-size:13px;color:#777;margin-bottom:10px}
.woocommerce #reviews .woocommerce-review__author{color:#33291b}
.woocommerce #reviews .star-rating,.woocommerce #reviews p.stars a{color:var(--gold-dark)}
.woocommerce #review_form_wrapper{margin-top:26px;padding:24px;border-radius:14px;background:#faf8f2;border:1px solid #ece5d3}
.woocommerce #review_form #respond .comment-reply-title{display:block;font-size:19px;font-weight:700;color:#33291b;margin-bottom:12px}
.woocommerce #review_form #respond p{margin-bottom:16px}
.woocommerce #review_form #respond label{display:block;margin-bottom:7px;font-size:14px;font-weight:600;color:#554525}
.woocommerce #review_form #respond input[type=text],
.woocommerce #review_form #respond input[type=email],
.woocommerce #review_form #respond textarea{
  width:100%;max-width:100%;padding:12px 14px;border:1px solid #d9c996;border-radius:10px;background:#fff;font-family:inherit;font-size:16px;color:#333;
}
.woocommerce #review_form #respond textarea{min-height:140px;resize:vertical}
.woocommerce #review_form #respond input:focus-visible,
.woocommerce #review_form #respond textarea:focus-visible{outline:2px solid var(--gold-dark);outline-offset:2px}
.woocommerce #review_form #respond .comment-form-cookies-consent label{display:inline;font-weight:400;margin-left:6px}
.woocommerce #review_form #respond .form-submit{margin-bottom:0}
.woocommerce #review_form #respond .form-submit input{min-height:44px;padding:12px 24px;border-radius:12px}
@media(max-width:640px){
  .woocommerce div.product .woocommerce-tabs{padding-top:20px}
  .woocommerce div.product .woocommerce-tabs ul.tabs{gap:8px}
  .woocommerce div.product .woocommerce-tabs ul.tabs li{flex:1;text-align:center}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 10px;font-size:13px}
  .woocommerce div.product .woocommerce-tabs .panel{padding:18px 16px}
  .woocommerce div.product .woocommerce-tabs .panel h2{font-size:19px}
  .woocommerce #review_form_wrapper{padding:18px 14px}
  .woocommerce #reviews #comments ol.commentlist li .comment-text{margin-left:54px;padding:12px}
  .woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating{float:none;margin-bottom:8px}
}

/* News and customer feedback share the warm card styling. */
.news-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.news-card{
  min-width:0;display:flex;flex-direction:column;border:1px solid #ece5d3;border-radius:16px;
  overflow:hidden;background:#faf8f2;transition:none;
}
.news-card:hover{box-shadow:none}
.news-card .thumb{border-radius:16px 16px 0 0;background:#eee8da}
.news-card .info{display:flex;flex-direction:column;flex:1;padding:20px}
.news-card h3{font-size:16px;line-height:1.55;margin-bottom:12px;overflow-wrap:anywhere}
.news-card .date{align-self:flex-start;padding:4px 10px;border-radius:8px;background:#f0e7ca;color:#705a25;font-size:12px;margin-bottom:12px}
.news-card p{font-size:14px;line-height:1.75;color:#666;overflow-wrap:anywhere}
.news-card a:focus-visible{outline:2px solid var(--gold-dark);outline-offset:-3px}
.dark-sec-title{margin-top:32px}
.dark-sec-title strong{display:inline-block;padding-bottom:12px;border-bottom:2px solid var(--gold);line-height:1.5}
.testi-slider{max-width:800px;gap:16px;margin-top:28px;margin-bottom:12px}
.testi-card{
  min-width:0;background:#faf8f2;border:1px solid #ece5d3;border-radius:20px;
  box-shadow:0 6px 20px rgba(51,41,27,.06);padding:32px;
}
.testi-slide .avatar{width:84px;height:84px;padding:4px;background:#fff;border:1px solid #d9c996;margin-bottom:14px}
.testi-slide .stars{color:var(--gold-dark);font-size:18px;margin-bottom:16px}
.testi-slide .quote{font-size:15px;line-height:1.85;color:#554b3b;margin-bottom:20px}
.testi-slide .who{color:#33291b;font-size:15px}
.testi-slide .role{margin-top:4px;font-size:13px}
.testi-arrow{width:44px;height:44px;border:1px solid #d9c996;background:#faf8f2;color:#705a25}
.testi-arrow.prev,.testi-arrow.next{margin:0}
.testi-dots{margin-top:20px;gap:10px}
.testi-dots .dot{background:#d8ceb0}
.testi-dots .dot.active{background:var(--gold-dark)}
.fb-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:start;padding-top:8px;padding-bottom:28px}
.fb-grid img{
  width:100%;height:auto;padding:6px;border:1px solid #ece5d3;border-radius:16px;
  background:#faf8f2;box-shadow:0 4px 12px rgba(51,41,27,.04);
}
@media(max-width:900px){
  .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .fb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(max-width:640px){
  .news-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .news-card .info{padding:18px}
  .news-card h3{font-size:15px}
  .testi-slider{padding-bottom:58px}
  .testi-card{padding:24px 18px;border-radius:16px}
  .testi-slide .quote{font-size:14px;line-height:1.8}
  .fb-grid{gap:12px}
  .fb-grid img{padding:4px;border-radius:12px}
}

@media(prefers-reduced-motion:reduce){
  html,.carousel-track{scroll-behavior:auto}
  .float-call{animation:none}
}
