/*
Theme Name: Duty Free Jo
Theme URI: https://dutyfreejo.com
Author: Muhtawa Digital Solutions
Author URI: https://muhtawads.com
Description: A custom light, warm, bilingual (Arabic/English) WooCommerce theme built for Duty Free Jo. Arabic-first RTL layout with an instant English toggle, mobile menu, cart and wishlist icons, and a scent-note reveal on product cards.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perfumetheme
Tags: e-commerce, custom-colors, custom-logo, custom-menu, rtl-language-support, translation-ready
*/

/* ===== DESIGN TOKENS ===== */
:root{
  --cream:#FBF8F2;
  --cream-soft:#F4EFE0;
  --ink:#3A2E22;
  --oud:#A9784A;
  --gold:#D8AF66;
  --gold-light:#F0E3C6;
  --plum:#B15E75;
  --white:#FFFFFF;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--cream);
  color:var(--ink);
  font-family:'Cairo',sans-serif;
  line-height:1.7;
  overflow-x:hidden;
}
body.lang-en{font-family:'Poppins',sans-serif;}
h1,h2,h3,.display{font-family:Arial, sans-serif;font-weight:700;}
h1{font-size:2rem;line-height:1.5;}
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en .display{font-family:Arial, sans-serif;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{list-style:none;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
section{padding:88px 0;}
.eyebrow{font-size:.78rem;letter-spacing:0;color:var(--oud);font-weight:700;display:flex;align-items:center;gap:.6rem;margin-bottom:.6rem;}
body.lang-en .eyebrow{letter-spacing:.12em;}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--oud);display:inline-block;}

/* ===== HEADER / NAV ===== */
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,248,242,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--gold-light);}
body.admin-bar .site-header{top:32px;}
@media(max-width:782px){
  body.admin-bar .site-header{top:46px;}
}
.nav{padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.logo, .logo-wrap a{font-family:Arial, sans-serif;font-size:1.7rem;font-weight:700;color:var(--oud);letter-spacing:0;}
body.lang-en .logo, body.lang-en .logo-wrap a{letter-spacing:.02em;}
body.lang-en .logo, body.lang-en .logo-wrap a{font-family:Arial, sans-serif;}
.logo-wrap{display:flex;align-items:center;}
.logo-wrap img,
.custom-logo-link img,
img.custom-logo{
  max-height:56px;
  width:auto;
  height:auto;
  display:block;
}
@media(max-width:560px){
  .logo-wrap img,
  .custom-logo-link img,
  img.custom-logo{max-height:42px;}
}
.nav-links{display:flex;flex:1;justify-content:center;}
.nav-menu{display:flex;gap:34px;font-size:.94rem;font-weight:600;}
.nav-menu li a{position:relative;padding:4px 0;transition:color .25s;display:inline-block;}
.nav-menu li a:hover{color:var(--oud);}
.nav-menu li a::after{content:"";position:absolute;bottom:-4px;right:0;width:0;height:1.5px;background:var(--oud);transition:width .3s;}
body.lang-en .nav-menu li a::after{right:auto;left:0;}
.nav-menu li a:hover::after{width:100%;}

.nav-icons{display:flex;gap:12px;align-items:center;}
.lang-btn{border:1px solid var(--gold-light);border-radius:20px;padding:6px 14px;font-size:.76rem;font-weight:700;color:var(--oud);background:var(--white);cursor:pointer;transition:background .2s,color .2s;}
.lang-btn:hover{background:var(--oud);color:var(--white);}
.icon-btn{position:relative;display:flex;align-items:center;gap:4px;font-size:1.15rem;color:var(--oud);background:none;border:none;cursor:pointer;padding:4px;}
.icon-btn .icon{display:inline-flex;align-items:center;justify-content:center;}
.icon-btn .ico{width:20px;height:20px;}
.icon-btn .count{position:absolute;top:-6px;left:-8px;background:var(--plum);color:var(--white);font-size:.62rem;font-weight:700;border-radius:50%;width:16px;height:16px;display:flex;align-items:center;justify-content:center;line-height:1;}
body.lang-en .icon-btn .count{left:auto;right:-8px;}
.search-btn.active{color:var(--ink);}

.icon-dropdown-wrap{position:relative;}
.wishlist-panel{
  position:absolute;top:calc(100% + 14px);inset-inline-end:-10px;width:280px;
  background:var(--white);border:1px solid var(--gold-light);border-radius:8px;
  box-shadow:0 20px 40px -20px rgba(58,46,34,.35);padding:12px;
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity .2s, transform .2s, visibility .2s;
  z-index:70;max-height:360px;overflow-y:auto;text-align:start;
}
.wishlist-panel.open{opacity:1;visibility:visible;transform:translateY(0);}
.wishlist-item{display:flex;gap:10px;align-items:center;padding:9px 4px;border-bottom:1px solid var(--gold-light);}
.wishlist-item:last-child{border-bottom:none;}
.wishlist-item img{width:44px;height:44px;object-fit:cover;border-radius:4px;flex-shrink:0;background:var(--cream-soft);}
.wishlist-item-info{flex:1;min-width:0;}
.wishlist-item-info a{font-size:.82rem;font-weight:700;color:var(--ink);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wishlist-item-price{font-size:.78rem;color:var(--oud);font-weight:700;}
.wishlist-item-remove{background:none;border:none;color:var(--plum);font-size:1.1rem;cursor:pointer;flex-shrink:0;line-height:1;padding:4px;}
.wishlist-empty, .wishlist-loading{font-size:.85rem;color:#8A7550;text-align:center;padding:20px 4px;}

/* search panel */
.search-panel{max-height:0;overflow:hidden;background:var(--cream-soft);border-bottom:0 solid var(--gold-light);transition:max-height .3s ease;}
.search-panel.open{max-height:110px;border-bottom-width:1px;}
.search-form{display:flex;gap:10px;padding:18px 32px;max-width:1180px;margin:0 auto;}
.search-input{flex:1;padding:12px 16px;border:1px solid var(--gold-light);border-radius:6px;font-family:inherit;font-size:.95rem;background:var(--white);color:var(--ink);}
.search-input:focus{outline:none;border-color:var(--oud);}
.search-submit{background:var(--oud);color:var(--white);border:none;padding:0 26px;border-radius:6px;font-weight:700;cursor:pointer;white-space:nowrap;}
.search-submit:hover{background:var(--ink);}
.wishlist-heart{position:absolute;top:10px;inset-inline-end:10px;background:var(--white);border:1px solid var(--gold-light);border-radius:50%;width:32px;height:32px;font-size:1rem;color:var(--plum);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;transition:transform .2s;}
.wishlist-heart .ico{width:16px;height:16px;}
.wishlist-heart.active{background:var(--plum);color:var(--white);}
.wishlist-heart.active .ico{fill:currentColor;}
.wishlist-heart:hover{transform:scale(1.1);}

/* mobile hamburger */
.menu-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;}
.menu-toggle span{width:22px;height:2px;background:var(--ink);transition:transform .25s, opacity .25s;}
.menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle.active span:nth-child(2){opacity:0;}
.menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-menu{display:none;max-height:0;overflow:hidden;background:var(--cream-soft);border-top:1px solid var(--gold-light);transition:max-height .35s ease;}
.mobile-menu.open{max-height:520px;}
.mobile-menu-list{padding:14px 32px;}
.mobile-menu-list li a{display:block;padding:12px 0;font-weight:600;border-bottom:1px solid var(--gold-light);}
.mobile-menu-icons{display:flex;gap:24px;padding:14px 32px 22px;font-weight:700;font-size:.9rem;color:var(--oud);}
.mobile-search-btn{background:none;border:none;font-weight:700;font-size:.9rem;color:var(--oud);cursor:pointer;padding:0;font-family:inherit;}

@media(max-width:980px){
  .nav-links{display:none;}
  .menu-toggle{display:flex;}
  .mobile-menu{display:block;}
}

/* ===== HERO ===== */
.hero{position:relative;min-height:80vh;display:flex;align-items:center;background:radial-gradient(circle at 18% 30%, rgba(216,175,102,.20), transparent 55%), linear-gradient(160deg,#FBF8F2 0%,#F4EFE0 48%,#EFDFBE 100%);overflow:hidden;}
.hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:center;}
.hero-eyebrow{color:var(--oud);font-size:.8rem;letter-spacing:0;font-weight:700;margin-bottom:18px;display:flex;align-items:center;gap:.6rem;}
body.lang-en .hero-eyebrow{letter-spacing:.2em;}
.hero-eyebrow::before{content:"";width:26px;height:1px;background:var(--oud);}
.hero h1{color:var(--ink);font-size:3.1rem;line-height:1.35;margin-bottom:22px;max-width:620px;}
.hero p{color:#5C4B38;font-size:1.06rem;max-width:480px;margin-bottom:34px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--oud);color:var(--white);padding:15px 34px;border-radius:2px;font-weight:500;font-size:.96rem;transition:transform .25s, background .25s, color .25s;border:1px solid var(--oud);}
.btn:hover{background:transparent;color:var(--oud);transform:translateY(-2px);}
.btn-outline{background:transparent;color:var(--oud);border:1px solid var(--oud);}
.btn-outline:hover{background:var(--oud);color:var(--white);}
.hero-trust{margin-top:40px;display:flex;gap:26px;flex-wrap:wrap;font-size:.82rem;color:#8A7550;}
.hero-trust-item{display:flex;align-items:center;gap:7px;}
.hero-trust-item .ico{width:14px;height:14px;color:var(--oud);flex-shrink:0;}
.hero-visual{position:relative;height:460px;display:flex;align-items:center;justify-content:center;}
.bottle-frame{width:560px;max-width:100%;height:400px;border:1px solid var(--gold-light);border-radius:8px;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(180deg, rgba(255,255,255,.6), rgba(240,227,198,.3));}
.bottle-frame--photo{overflow:hidden;align-items:stretch;}
.bottle-frame--photo img{width:100%;height:100%;object-fit:cover;object-position:center;}
.bottle-frame svg{width:70%;}

/* ===== CATEGORY TILES ===== */
.cat-head{text-align:center;max-width:620px;margin:0 auto 50px;}
.cat-head .eyebrow{justify-content:center;}
.cat-head h2{font-size:2.2rem;color:var(--ink);}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;direction:rtl;}
.cat-tile{position:relative;height:320px;border-radius:8px;overflow:hidden;display:flex;align-items:flex-end;padding:26px;color:var(--white);isolation:isolate;border:1px solid var(--gold-light);}
.cat-tile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(190deg, transparent 20%, rgba(58,46,34,.72));}
.cat-tile-bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;transition:transform .6s ease;}
.cat-tile:hover .cat-tile-bg{transform:scale(1.08);}
.t1 .cat-tile-bg{background-image:linear-gradient(150deg,#C9A469,#EFDFBE);}
.t2 .cat-tile-bg{background-image:linear-gradient(150deg,#D9AEB9,#F0DCD8);}
.t3 .cat-tile-bg{background-image:linear-gradient(150deg,#C8AE7E,#E9D2A4);}
.t4 .cat-tile-bg{background-image:linear-gradient(150deg,#CBB48A,#EFE0C0);}
.cat-tile h3{font-size:1.3rem;margin-bottom:6px;}
.cat-tile p{font-size:.85rem;color:#F5EEDF;}
.cat-tile .arrow{margin-top:14px;font-size:.8rem;font-weight:700;color:var(--gold-light);display:flex;align-items:center;gap:6px;}

/* ===== STORY / TRUST ===== */
.story{background:var(--cream-soft);}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;}
.story-visual{height:360px;border-radius:8px;background:linear-gradient(135deg,#EFDFBE,#D8AF66);position:relative;overflow:hidden;border:1px solid var(--gold-light);}
.story h2{font-size:2.3rem;color:var(--ink);margin-bottom:20px;line-height:1.4;}
.story p{color:#5C4B38;font-size:1rem;max-width:480px;margin-bottom:14px;}
.trust-row{margin-top:64px;display:grid;grid-template-columns:repeat(6,1fr);gap:20px;border-top:1px solid var(--gold-light);padding-top:44px;}
.trust-item{text-align:center;}
.trust-item .ic{width:46px;height:46px;margin:0 auto 12px;border-radius:50%;background:var(--white);border:1px solid var(--gold-light);display:flex;align-items:center;justify-content:center;color:var(--oud);font-size:1.2rem;}
.trust-item .ic .ico{width:20px;height:20px;}
.trust-item h4{font-size:.86rem;font-weight:700;margin-bottom:4px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.trust-item p{font-size:.74rem;color:#8A7550;}

/* ===== PRODUCT GRID ===== */
.best-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:44px;flex-wrap:wrap;gap:16px;}
.best-head h2{font-size:2.2rem;color:var(--ink);}
.see-all{font-weight:700;font-size:.88rem;color:var(--oud);border-bottom:1px solid var(--oud);padding-bottom:3px;}
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.prod-card{background:var(--white);border:1px solid var(--gold-light);border-radius:8px;overflow:hidden;position:relative;transition:box-shadow .3s, transform .3s;display:flex;flex-direction:column;}
.prod-card:hover{box-shadow:0 20px 40px -22px rgba(58,46,34,.28);transform:translateY(-4px);}
.prod-img{height:220px;position:relative;overflow:hidden;background:linear-gradient(160deg,#F4EFE0,#EFDFBE);display:flex;align-items:center;justify-content:center;}
.prod-img img{width:100%;height:100%;object-fit:cover;}
.prod-img-placeholder{width:100%;height:100%;background:linear-gradient(160deg,#F4EFE0,#EFDFBE);}
.pyramid{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;opacity:0;transform:translateY(10px);transition:opacity .35s, transform .35s;background:rgba(251,248,242,.96);font-size:.78rem;color:var(--ink);}
.prod-card:hover .pyramid{opacity:1;transform:translateY(0);}
.prod-info{padding:18px;display:flex;flex-direction:column;flex:1;}
.prod-info h3{font-family:'Cairo';font-weight:700;font-size:1rem;margin-bottom:8px;color:var(--ink);
  min-height:2.6em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.lang-en .prod-info h3{font-family:'Poppins';}
.prod-price{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;}
.price, .price .amount{font-weight:800;color:var(--oud);font-size:1.05rem;}
.prod-price a.add,.prod-price .add_to_cart_button{background:var(--oud);color:var(--white);border-radius:20px;padding:8px 16px;font-size:.82rem;font-weight:700;white-space:nowrap;}
.prod-price a.add:hover,.prod-price .add_to_cart_button:hover{background:var(--ink);color:var(--white);}

/* ===== NEWSLETTER ===== */
.newsletter{background:linear-gradient(160deg,#F4EFE0,#EAD7AE);color:var(--ink);text-align:center;border-top:1px solid var(--gold-light);border-bottom:1px solid var(--gold-light);}
.newsletter h2{font-size:2.1rem;margin-bottom:12px;color:var(--ink);}
.newsletter p{color:#5C4B38;max-width:480px;margin:0 auto 30px;}
.nl-form{display:flex;max-width:440px;margin:0 auto;border:1px solid var(--oud);border-radius:2px;overflow:hidden;background:var(--white);}
.nl-form input{flex:1;background:transparent;border:none;padding:14px 18px;color:var(--ink);font-family:inherit;}
.nl-form input::placeholder{color:#9C8A6C;}
.nl-form button{background:var(--oud);border:none;padding:0 26px;font-weight:700;color:var(--white);cursor:pointer;}

/* ===== FOOTER ===== */
.site-footer{background:var(--cream-soft);color:var(--ink);padding:70px 0 30px;border-top:1px solid var(--gold-light);}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;margin-bottom:50px;}
.foot-logo{font-family:Arial, sans-serif;font-size:1.6rem;color:var(--oud);margin-bottom:14px;}
body.lang-en .foot-logo{font-family:Arial, sans-serif;}
.foot-grid p{font-size:.88rem;color:#7A6A50;max-width:280px;}
.foot-col h4{font-size:.82rem;color:var(--ink);margin-bottom:16px;letter-spacing:0;}
body.lang-en .foot-col h4{letter-spacing:.05em;}
.foot-col a{display:block;font-size:.85rem;color:#7A6A50;margin-bottom:10px;transition:color .2s;}
.foot-col a:hover{color:var(--oud);}
.foot-bottom{border-top:1px solid var(--gold-light);padding-top:24px;font-size:.78rem;color:#8A7550;text-align:center;}

/* ===== FLOATING BUTTON (recolored to match the theme, not WhatsApp green) ===== */
.wa-float{position:fixed;bottom:26px;left:26px;z-index:60;width:56px;height:56px;border-radius:50%;background:var(--oud);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(169,120,74,.4);color:var(--white);font-size:1.4rem;transition:background .2s, transform .2s;}
.wa-float .ico{width:26px;height:26px;}
.wa-float:hover{background:var(--ink);transform:translateY(-3px);}
body.lang-en .wa-float{left:auto;right:26px;}

/* ===== GENERIC CONTENT / BLOG ===== */
.generic-content{padding:60px 0;}
.archive-title{font-size:2rem;color:var(--ink);margin-bottom:30px;}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.archive-card{background:var(--white);border:1px solid var(--gold-light);border-radius:8px;overflow:hidden;padding-bottom:16px;}
.archive-card h3{font-size:1.05rem;padding:14px 16px 6px;}
.archive-card p{font-size:.85rem;color:#5C4B38;padding:0 16px;}
.single-thumb{margin:20px 0;border-radius:8px;overflow:hidden;}
.entry-content{max-width:760px;margin:0 auto;}

/* ===== WOOCOMMERCE BASICS ===== */
.woo-wrap{padding:50px 0;overflow-x:hidden;}
.woocommerce-products-header{margin-bottom:28px;}
.woocommerce-products-header__title.page-title,
.woocommerce-products-header .page-title,
.woocommerce h1.page-title,
h1.page-title{
  font-size:1.9rem;
  color:var(--ink);
  line-height:1.5;
  margin:0 0 10px;
  word-wrap:break-word;
  overflow-wrap:break-word;
}
.woocommerce-result-count{color:#8A7550;font-size:.88rem;margin:0 0 4px;}
.woocommerce-ordering{margin-bottom:24px;}
.woocommerce-ordering select,
select.orderby{
  border:1px solid var(--gold-light) !important;
  border-radius:6px !important;
  padding:9px 14px !important;
  font-family:inherit !important;
  font-size:.88rem !important;
  color:var(--ink) !important;
  background:var(--white) !important;
  cursor:pointer;
}
.woocommerce ul.products,
.woocommerce-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:24px !important;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  width:100% !important;
  float:none !important;
  margin:0 !important;
  background:var(--white);
  border:1px solid var(--gold-light);
  border-radius:8px;
  padding:16px;
  text-align:center;
  position:relative;
  display:flex;
  flex-direction:column;
}
.woocommerce ul.products li.product .wishlist-heart{top:12px;}
.woocommerce ul.products li.product img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:6px;
  margin-bottom:12px;
  display:block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:.98rem;font-weight:700;color:var(--ink);margin:6px 0 10px;line-height:1.4;
  min-height:4.2em;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.woocommerce ul.products li.product .price{
  display:block;margin-top:auto;margin-bottom:14px;font-size:.98rem;
}
.woocommerce ul.products li.product .star-rating{display:none;}
.woocommerce ul.products li.product .price del{color:#B0A188;opacity:.75;font-weight:400;margin-inline-end:6px;}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--oud);font-weight:800;}
.woocommerce ul.products li.product .onsale{
  position:absolute;top:12px;inset-inline-start:12px;
  background:var(--plum);color:var(--white);border-radius:20px;
  font-size:.68rem;font-weight:700;padding:4px 12px;min-height:auto;min-width:auto;
  line-height:1.6;text-transform:none;left:auto;
}
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.button{
  display:inline-block !important;
  width:auto !important;
  white-space:nowrap;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce input.button, .woocommerce #payment #place_order {
  background:var(--oud) !important;color:var(--white) !important;border-radius:20px !important;
  border:none !important;font-weight:700 !important;padding:12px 26px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #payment #place_order:hover{background:var(--ink) !important;}
.woocommerce table.shop_table{border-color:var(--gold-light) !important;}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea{
  border:1px solid var(--gold-light);border-radius:4px;padding:10px;
}
.woocommerce-message, .woocommerce-info{border-top-color:var(--oud) !important;}
.woocommerce-message::before, .woocommerce-info::before{color:var(--oud) !important;}
.woocommerce nav.woocommerce-pagination ul{border:none !important;display:flex;gap:8px;justify-content:center;margin-top:40px;}
.woocommerce nav.woocommerce-pagination ul li{border:none !important;}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  border:1px solid var(--gold-light) !important;border-radius:6px;color:var(--ink);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--oud) !important;color:var(--white) !important;
}

/* ===== RESPONSIVE ===== */
@media(max-width:980px){
  .hero-inner{grid-template-columns:1fr;text-align:center;}
  .hero-eyebrow,.hero-trust,.hero-actions{justify-content:center;}
  .hero-visual{display:none;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .story-grid{grid-template-columns:1fr;}
  .trust-row{grid-template-columns:repeat(3,1fr);row-gap:30px;}
  .prod-grid{grid-template-columns:repeat(2,1fr);}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .archive-grid{grid-template-columns:repeat(2,1fr);}
  .woocommerce ul.products,
  .woocommerce-page ul.products{grid-template-columns:repeat(2,1fr) !important;}
}
@media(max-width:560px){
  .cat-grid{grid-template-columns:repeat(2,1fr) !important;gap:12px;}
  .archive-grid{grid-template-columns:1fr;}
  .cat-tile{height:170px;padding:14px;}
  .cat-tile h3{font-size:1rem;margin-bottom:3px;}
  .cat-tile p{font-size:.74rem;line-height:1.35;}
  .cat-tile .arrow{margin-top:8px;font-size:.72rem;}
  .prod-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products{grid-template-columns:repeat(2,1fr) !important;gap:12px !important;}
  .foot-grid{grid-template-columns:1fr;}
  .hero h1{font-size:2.3rem;}
  .trust-item h4{font-size:.76rem;}
  .trust-item p{font-size:.68rem;}

  /* compact product cards on small screens */
  .prod-card,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{padding:10px !important;}
  .prod-img{height:150px;}
  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img{margin-bottom:8px !important;}
  .prod-info{padding:12px 4px 4px;}
  .prod-info h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.82rem !important;margin:4px 0 6px !important;line-height:1.35 !important;min-height:3.3em !important;-webkit-line-clamp:3 !important;}
  .price,
  .woocommerce ul.products li.product .price{font-size:.8rem !important;}
  .prod-price{flex-direction:column;align-items:flex-start;gap:8px;}
  .prod-price a.add,.prod-price .add_to_cart_button,
  .woocommerce ul.products li.product a.button{
    width:100% !important;text-align:center;padding:8px 10px !important;font-size:.76rem !important;
  }
  .wishlist-heart{width:26px;height:26px;top:8px;}
  .wishlist-heart .ico{width:13px;height:13px;}
  .onsale,
  .woocommerce ul.products li.product .onsale{font-size:.6rem !important;padding:3px 9px !important;}
}

/* ===== SOFT ANIMATIONS ===== */
/* image zoom on card hover (contained by overflow:hidden on .prod-img) */
.prod-img img{transition:transform .5s ease;}
.prod-card:hover .prod-img img{transform:scale(1.06);}

/* real WooCommerce grid: soft lift on hover */
.woocommerce ul.products li.product{transition:box-shadow .3s ease, transform .3s ease;}
.woocommerce ul.products li.product:hover{box-shadow:0 20px 40px -22px rgba(58,46,34,.28);transform:translateY(-4px);}

/* heart pop feedback */
@keyframes heartPop{
  0%{transform:scale(1);}
  35%{transform:scale(1.28);}
  60%{transform:scale(.92);}
  100%{transform:scale(1);}
}
.wishlist-heart.pop{animation:heartPop .35s ease;}

/* soft scroll-reveal for product cards & category tiles */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
.reveal.in-view{opacity:1;transform:translateY(0);}

@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1 !important;transform:none !important;transition:none !important;}
  .prod-img img,
  .prod-card,
  .cat-tile::after,
  .wishlist-heart,
  .wa-float{transition:none !important;animation:none !important;}
}

/* ===== SINGLE PRODUCT PAGE ===== */
.woocommerce div.product .woocommerce-product-gallery{border-radius:8px;overflow:hidden;border:1px solid var(--gold-light);}
.woocommerce div.product .woocommerce-product-gallery__trigger{
  background:var(--white) !important;border:1px solid var(--gold-light) !important;border-radius:50% !important;
  width:34px !important;height:34px !important;top:14px !important;right:14px !important;
}
.woocommerce div.product .summary .price{color:var(--oud);font-size:1.35rem;font-weight:800;margin:10px 0 16px;display:block;}
.woocommerce div.product .summary .price del{color:#B0A188;opacity:.75;font-weight:400;margin-inline-end:8px;font-size:.85em;}
.woocommerce div.product .summary .price ins{text-decoration:none;}
.woocommerce div.product .woocommerce-product-details__short-description{color:#5C4B38;line-height:1.9;margin-bottom:22px;}
.woocommerce div.product .woocommerce-product-details__short-description p{margin-bottom:10px;}
.woocommerce div.product form.cart{display:flex;align-items:center;gap:14px;margin-bottom:26px;flex-wrap:wrap;}
.woocommerce div.product form.cart .quantity{margin:0;}
.woocommerce div.product form.cart .qty{width:64px;padding:12px 10px;border:1px solid var(--gold-light);border-radius:6px;text-align:center;font-family:inherit;font-size:.95rem;}
.woocommerce div.product .product_meta{font-size:.85rem;color:#8A7550;border-top:1px solid var(--gold-light);padding-top:16px;margin-top:8px;}
.woocommerce div.product .product_meta a{color:var(--oud);}
.woocommerce div.product .product_meta > span{display:block;margin-bottom:4px;}

/* Tabs (Description / Reviews) */
.woocommerce-tabs{margin-top:50px;clear:both;}
.woocommerce-tabs ul.tabs{display:flex;gap:6px;border-bottom:1px solid var(--gold-light);list-style:none;padding:0;margin:0 0 26px;}
.woocommerce-tabs ul.tabs li{margin:0;}
.woocommerce-tabs ul.tabs li a{display:block;padding:12px 22px;font-weight:700;font-size:.92rem;color:#8A7550;border-radius:6px 6px 0 0;}
.woocommerce-tabs ul.tabs li.active a{color:var(--oud);background:var(--cream-soft);border:1px solid var(--gold-light);border-bottom-color:var(--cream-soft);position:relative;top:1px;}
.woocommerce-tabs .panel h2{font-size:1.4rem;color:var(--ink);margin-bottom:16px;}
.woocommerce-tabs .panel img{max-width:340px;width:100%;height:auto;border-radius:8px;margin:10px 0;display:block;}
.woocommerce-tabs .panel p{color:#5C4B38;line-height:1.9;}

/* Related products */
.related.products{margin-top:60px;clear:both;}
.related.products h2{font-size:1.8rem;color:var(--ink);margin-bottom:28px;}

@media(max-width:640px){
  .woocommerce-tabs ul.tabs{flex-wrap:wrap;}
  .woocommerce div.product form.cart{flex-direction:column;align-items:stretch;}
}

/* Kill WooCommerce's legacy float-clearfix pseudo-elements — under our CSS
   Grid layout these were being counted as actual (empty) grid items,
   shifting every real product over by one and leaving a blank slot. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after{
  content: none !important;
  display: none !important;
}

/* ===== ABOUT / CONTACT PAGE CONTENT (Elementor) OVERRIDES ===== */
/* Force body text on generic pages to use the clean button font,
   not the heavy display font — some page content was built with
   Heading widgets instead of Text widgets, making paragraphs bold
   and oversized. */
.generic-content p,
.generic-content .elementor-widget-text-editor,
.generic-content .elementor-heading-title{
  font-family:'Cairo', sans-serif !important;
  font-weight:400 !important;
  color:var(--ink);
  line-height:1.9;
}
body.lang-en .generic-content p,
body.lang-en .generic-content .elementor-widget-text-editor,
body.lang-en .generic-content .elementor-heading-title{
  font-family:'Poppins', sans-serif !important;
}

/* Contact form styling to match the rest of the theme */
.generic-content input[type="text"],
.generic-content input[type="email"],
.generic-content input[type="tel"],
.generic-content textarea{
  width:100% !important;
  border:1px solid var(--gold-light) !important;
  border-radius:6px !important;
  padding:12px 16px !important;
  font-family:'Cairo', sans-serif !important;
  font-size:.92rem !important;
  background:var(--white) !important;
  color:var(--ink) !important;
  margin-bottom:16px;
}
.generic-content input:focus,
.generic-content textarea:focus{
  outline:none !important;
  border-color:var(--oud) !important;
}
.generic-content button[type="submit"],
.generic-content input[type="submit"]{
  background:var(--oud) !important;
  color:var(--white) !important;
  border:none !important;
  border-radius:20px !important;
  padding:12px 32px !important;
  font-weight:500 !important;
  font-family:'Cairo', sans-serif !important;
  cursor:pointer;
  transition:background .2s;
  text-transform:none !important;
}
.generic-content button[type="submit"]:hover,
.generic-content input[type="submit"]:hover{
  background:var(--ink) !important;
}

/* Spectra/Gutenberg (uagb) "Advanced Heading" blocks used as body
   paragraphs on some pages (e.g. About) — these are literally <h3> tags,
   so they were inheriting the site's bold decorative heading font.
   Force them back to normal readable body text. */
.generic-content .uagb-heading-text{
  font-family:'Cairo', sans-serif !important;
  font-weight:400 !important;
  font-size:1rem !important;
  line-height:1.9 !important;
  color:var(--ink) !important;
}
body.lang-en .generic-content .uagb-heading-text{
  font-family:'Poppins', sans-serif !important;
}

/* ===== ABOUT / CONTACT CUSTOM PAGE SECTIONS ===== */
.pf-page-hero{background:var(--cream-soft);padding:70px 32px;text-align:center;border-bottom:1px solid var(--gold-light);}
.pf-page-hero h1{font-size:2.4rem;color:var(--ink);margin-bottom:10px;}
.pf-page-hero p{color:#8A7550;max-width:560px;margin:0 auto;}
.pf-section{max-width:900px;margin:0 auto;padding:60px 32px;}
.pf-section p{color:#5C4B38;font-size:1.02rem;line-height:1.95;margin-bottom:20px;}
.pf-cta{text-align:center;margin-top:30px;}
.pf-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:900px;margin:0 auto 60px;padding:0 32px;}
.pf-highlight{background:var(--white);border:1px solid var(--gold-light);border-radius:8px;padding:26px 20px;text-align:center;}
.pf-highlight .ic{width:44px;height:44px;margin:0 auto 12px;border-radius:50%;background:var(--cream-soft);border:1px solid var(--gold-light);display:flex;align-items:center;justify-content:center;color:var(--oud);}
.pf-highlight .ic svg{width:20px;height:20px;}
.pf-highlight h4{font-size:.95rem;font-weight:700;color:var(--ink);margin-bottom:4px;}
.pf-highlight p{font-size:.82rem;color:#8A7550;margin:0;}

.pf-contact-grid{max-width:1100px;margin:0 auto;padding:60px 32px;display:grid;grid-template-columns:1fr 1.2fr;gap:50px;}
.pf-contact-card{background:var(--white);border:1px solid var(--gold-light);border-radius:8px;padding:22px;margin-bottom:16px;}
.pf-contact-card h4{font-size:.85rem;color:var(--oud);font-weight:700;margin-bottom:6px;}
.pf-contact-card p, .pf-contact-card a{color:var(--ink);font-size:1rem;}
.pf-form label{display:block;font-size:.82rem;font-weight:700;color:var(--ink);margin-bottom:6px;}
.pf-form .pf-row{margin-bottom:16px;}
.pf-form input, .pf-form textarea{
  width:100%;border:1px solid var(--gold-light);border-radius:6px;padding:12px 16px;
  font-family:'Cairo', sans-serif;font-size:.92rem;background:var(--white);color:var(--ink);
}
body.lang-en .pf-form input, body.lang-en .pf-form textarea{font-family:'Poppins', sans-serif;}
.pf-form input:focus, .pf-form textarea:focus{outline:none;border-color:var(--oud);}
.pf-form textarea{min-height:130px;resize:vertical;}
.pf-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0;}
.pf-form button[type="submit"]{
  background:var(--oud);color:var(--white);border:none;border-radius:20px;
  padding:13px 34px;font-weight:500;font-family:'Cairo', sans-serif;cursor:pointer;transition:background .2s;
}
body.lang-en .pf-form button[type="submit"]{font-family:'Poppins', sans-serif;}
.pf-form button[type="submit"]:hover{background:var(--ink);}
.pf-form button[disabled]{opacity:.6;cursor:default;}
.contact-status{margin-top:14px;font-size:.88rem;font-weight:600;min-height:1.2em;}
.contact-status.success{color:#3E7A4A;}
.contact-status.error{color:var(--plum);}

@media(max-width:780px){
  .pf-contact-grid{grid-template-columns:1fr;}
  .pf-highlights{grid-template-columns:1fr;}
}

/* ===== CART PAGE — MOBILE RESPONSIVE TABLE ===== */
@media(max-width:768px){
  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tr,
  .woocommerce-cart table.shop_table td{
    display:block;
    width:100%;
  }
  .woocommerce-cart table.shop_table thead{display:none;}
  .woocommerce-cart table.shop_table tr{
    border:1px solid var(--gold-light);
    border-radius:8px;
    padding:14px;
    margin-bottom:14px;
    background:var(--white);
    position:relative;
  }
  .woocommerce-cart table.shop_table td{
    border:none !important;
    padding:4px 0 !important;
    text-align:start !important;
  }
  .woocommerce-cart table.shop_table td.product-thumbnail{
    display:inline-block;
    width:64px;
    vertical-align:top;
  }
  .woocommerce-cart table.shop_table td.product-thumbnail img{
    width:64px;
    border-radius:6px;
  }
  .woocommerce-cart table.shop_table td.product-name{
    display:inline-block;
    width:calc(100% - 76px);
    vertical-align:top;
    padding-inline-start:12px !important;
    font-weight:700;
    font-size:.92rem;
  }
  .woocommerce-cart table.shop_table td.product-price{
    display:none;
  }
  .woocommerce-cart table.shop_table td.product-subtotal{
    font-weight:800;
    color:var(--oud);
    font-size:.95rem;
    margin-top:6px;
  }
  .woocommerce-cart table.shop_table td.product-remove{
    position:absolute;
    top:10px;
    inset-inline-end:10px;
    width:auto;
    padding:0 !important;
  }
  .woocommerce-cart table.shop_table td.product-quantity{
    margin-top:6px;
  }
  .woocommerce-cart table.shop_table td.product-quantity .quantity{
    display:inline-flex;
  }
  .woocommerce-cart .cart-collaterals{padding:0 4px;}
}

/* ===== WOOCOMMERCE CART BLOCK (different system from the classic cart
   table styled above — this site's Cart page uses the newer block-based
   cart, wc-block-cart-items etc.) ===== */
@media(max-width:768px){
  /* This column duplicates the price already shown next to the product
     name/description on narrow screens — WooCommerce's own responsive
     toggle for this isn't kicking in, so we hide it ourselves. */
  .wp-block-woocommerce-cart .wc-block-cart-item__total{
    display:none !important;
  }
}

/* Phone numbers: keep digits in correct left-to-right order regardless of
   page direction, but align the whole link to match its column's language. */
.phone-ltr{unicode-bidi:embed;direction:ltr;text-align:right;}
body.lang-en .phone-ltr{text-align:left;}

/* Footer social icons row */
.socials{display:flex;gap:10px;margin-top:14px;}
.socials a{
  width:36px;height:36px;border-radius:50%;
  border:1px solid var(--gold-light);background:var(--white);
  display:flex;align-items:center;justify-content:center;
  color:var(--oud);transition:background .2s, color .2s;
}
.socials a:hover{background:var(--oud);color:var(--white);}
.socials a .ico{width:17px;height:17px;}

/* ===== MultiStep Checkout plugin nav buttons (thwmscf) ===== */
.thwmscf-buttons{display:flex;gap:12px;margin-top:18px;}
.thwmscf-buttons input.button-next.action-next,
input.button-next.action-next{
  background:var(--oud) !important;
  color:var(--white) !important;
  border:1px solid var(--oud) !important;
  border-radius:20px !important;
  padding:12px 30px !important;
  font-weight:500 !important;
  font-family:'Cairo', sans-serif !important;
  cursor:pointer;
  transition:background .2s;
}
body.lang-en input.button-next.action-next{font-family:'Poppins', sans-serif !important;}
input.button-next.action-next:hover{background:var(--ink) !important;}

.thwmscf-buttons input.button-prev.action-prev,
input.button-prev.action-prev{
  background:transparent !important;
  color:var(--oud) !important;
  border:1px solid var(--oud) !important;
  border-radius:20px !important;
  padding:12px 30px !important;
  font-weight:500 !important;
  font-family:'Cairo', sans-serif !important;
  cursor:pointer;
  transition:background .2s, color .2s;
}
body.lang-en input.button-prev.action-prev{font-family:'Poppins', sans-serif !important;}
input.button-prev.action-prev:hover{background:var(--oud) !important;color:var(--white) !important;}
