/*
Theme Name: Tapaanshi Creation
Theme URI: https://example.com
Author: Tapaanshi Creation
Description: Premium, animated, mobile-responsive informational catalog theme for Tapaanshi Creation. Includes Home, About Us, Products (catalog) and Contact Us. No cart or checkout — each product simply shows a feature image, gallery images, title, description and an SKU code.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tapaanshi
*/

:root{
  --ink:#14171C;
  --ink-soft:#1D2129;
  --ivory:#FAF7F1;
  --ivory-dim:#F1ECE1;
  --gold:#C9A24A;
  --gold-soft:#E4CD8F;
  --emerald:#1F4D3D;
  --text-on-dark:#EDEAE3;
  --text-on-light:#191B1D;
  --muted:#8a8f88;
  --muted-dark:#9AA0A6;
  --danger:#B5482E;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Work Sans', sans-serif;
  background:var(--ivory);
  color:var(--text-on-light);
  line-height:1.65;
  margin:0;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Fraunces', serif; font-weight:500; letter-spacing:-0.01em; margin:0 0 .5em;}
p{margin:0 0 1em;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block; height:auto;}
button, input, textarea, select{font-family:inherit;}
.wrap{max-width:1200px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){.wrap{padding:0 18px;}}
.section-pad{padding:90px 0;}
@media (max-width:640px){.section-pad{padding:56px 0;}}
.seal{width:24px; height:24px;}
.seal circle{fill:none; stroke:currentColor; stroke-width:1.1;}
.seal path{fill:currentColor;}

/* -------- Reveal animation -------- */
.reveal{opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease;}
.reveal.is-visible{opacity:1; transform:none;}
.reveal-stagger > *{opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease;}
.reveal-stagger.is-visible > *{opacity:1; transform:none;}
.reveal-stagger.is-visible > *:nth-child(1){transition-delay:.05s;}
.reveal-stagger.is-visible > *:nth-child(2){transition-delay:.12s;}
.reveal-stagger.is-visible > *:nth-child(3){transition-delay:.19s;}
.reveal-stagger.is-visible > *:nth-child(4){transition-delay:.26s;}
.reveal-stagger.is-visible > *:nth-child(5){transition-delay:.33s;}
.reveal-stagger.is-visible > *:nth-child(6){transition-delay:.40s;}
@media (prefers-reduced-motion:reduce){*{transition:none !important; animation:none !important;}}

/* -------- Header -------- */
.site-header{position:sticky; top:0; z-index:200; background:rgba(20,23,28,0.95); backdrop-filter:blur(8px); border-bottom:1px solid rgba(201,162,74,0.18);}
.nav{display:flex; align-items:center; justify-content:space-between; padding:16px 0;}
.brand{color:var(--ivory); font-size:1.15rem; display:flex; align-items:center; gap:12px;}
.brand .seal{color:var(--gold); width:24px; height:24px;}
.brand-logo{width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.brand-text{display:flex; flex-direction:column; line-height:1.15;}
.brand-text small{font-size:.6rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-soft); opacity:.8; font-weight:400; margin-top:2px;}
@media (max-width:480px){.brand-text small{display:none;}}
.navlinks{display:flex; gap:30px;}
.navlinks ul{list-style:none; display:flex; gap:30px; margin:0; padding:0;}
.navlinks a{color:var(--text-on-dark); opacity:.78; font-size:.85rem; letter-spacing:.04em; text-transform:uppercase; transition:opacity .2s, color .2s;}
.navlinks a:hover{opacity:1; color:var(--gold-soft);}
.header-actions{display:flex; align-items:center; gap:14px;}
.cart-btn{position:relative; display:flex; align-items:center; gap:8px; border:1px solid rgba(201,162,74,0.4); color:var(--gold-soft); padding:9px 16px; font-size:.8rem; letter-spacing:.04em; text-transform:uppercase; transition:background .2s;}
.cart-btn:hover{background:rgba(201,162,74,0.12);}
.cart-count{background:var(--gold); color:var(--ink); font-size:.68rem; font-weight:700; width:18px; height:18px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;}
.menu-toggle{display:none; background:none; border:none; color:var(--ivory); font-size:1.5rem; cursor:pointer;}
@media (max-width:820px){
  .navlinks{position:fixed; top:64px; left:0; right:0; background:var(--ink); flex-direction:column; padding:0; max-height:0; overflow:hidden; transition:max-height .35s ease; border-bottom:1px solid rgba(201,162,74,0.18);}
  .navlinks.open{max-height:400px;}
  .navlinks ul{flex-direction:column; padding:20px 32px; gap:18px;}
  .menu-toggle{display:block;}
}

/* -------- Hero banner strip (manufacturing banner image) -------- */
.hero-banner-strip{background:var(--ink); padding:18px 0; border-bottom:1px solid rgba(201,162,74,.25);}
.hero-banner-strip .wrap{padding:0 24px;}
.hero-banner-frame{
	border:1px solid rgba(201,162,74,.4); padding:6px;
	box-shadow:0 20px 50px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(201,162,74,.08);
	background:linear-gradient(180deg, rgba(201,162,74,.08), transparent);
}
.hero-banner-frame img{width:100%; height:auto; display:block;}
@media (max-width:640px){.hero-banner-strip{padding:12px 0;} .hero-banner-strip .wrap{padding:0 14px;} .hero-banner-frame{padding:4px;}}

/* -------- Hero -------- */
.hero{
	background:
		radial-gradient(circle at 82% 18%, rgba(201,162,74,0.16), transparent 42%),
		radial-gradient(circle at 10% 85%, rgba(31,77,61,0.35), transparent 45%),
		repeating-linear-gradient(45deg, rgba(201,162,74,.025) 0px, rgba(201,162,74,.025) 1px, transparent 1px, transparent 26px),
		var(--ink);
	color:var(--text-on-dark); padding:90px 0 90px; position:relative; overflow:hidden;
}
.eyebrow{display:inline-flex; align-items:center; gap:10px; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-soft); margin-bottom:20px;}
.eyebrow::before{content:""; width:22px; height:1px; background:var(--gold-soft);}
.eyebrow::after{content:"\25C6"; font-size:.55rem; color:var(--gold); margin-left:2px;}
.hero h1{font-size:clamp(2.2rem, 5vw, 3.6rem); max-width:16ch; line-height:1.08;}
.hero h1 em{font-style:italic; color:var(--gold-soft);}
.hero p{margin-top:20px; max-width:50ch; color:var(--muted-dark); font-size:1.05rem;}
.hero-actions{display:flex; gap:16px; margin-top:34px; flex-wrap:wrap;}

.trust-row{display:flex; flex-wrap:wrap; justify-content:center; gap:28px; margin-top:48px; padding-top:28px; border-top:1px solid rgba(201,162,74,.18); width:100%;}
.trust-item{display:flex; align-items:center; gap:8px; font-size:.8rem; letter-spacing:.03em; color:var(--muted-dark);}
.trust-item .seal{width:18px; height:18px; color:var(--gold);}
@media (max-width:640px){.trust-row{gap:16px 22px;} .trust-item{font-size:.74rem;}}
.btn-primary{
	display:inline-block; position:relative; overflow:hidden;
	background:linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, #B7862E);
	color:var(--ink); padding:15px 30px; font-size:.85rem; letter-spacing:.05em; text-transform:uppercase; font-weight:600;
	box-shadow:0 10px 24px -10px rgba(201,162,74,.55);
	transition:transform .2s, box-shadow .2s;
}
.btn-primary::after{
	content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
	background:linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
	transform:skewX(-20deg); transition:left .6s ease;
}
.btn-primary:hover::after{left:130%;}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 30px -10px rgba(201,162,74,.65);}
.btn-ghost{display:inline-block; border:1px solid rgba(237,234,227,.35); color:var(--text-on-dark); padding:15px 30px; font-size:.85rem; letter-spacing:.05em; text-transform:uppercase; transition:border-color .2s, background .2s;}
.btn-ghost:hover{border-color:var(--gold-soft); background:rgba(201,162,74,.08);}

.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
@media (max-width:900px){.hero-grid{grid-template-columns:1fr; gap:40px;}}
.hero-visual{position:relative;}
.hero-visual .frame{
	position:relative; border:1px solid rgba(201,162,74,.35); padding:14px;
	background:linear-gradient(155deg, rgba(31,77,61,.25), rgba(20,23,28,.05));
}
.hero-visual img{width:100%; aspect-ratio:4/5; object-fit:cover;}
.hero-visual::before{
	content:""; position:absolute; top:-18px; left:-18px; right:18px; bottom:18px;
	border:1px solid rgba(201,162,74,.25); z-index:-1;
}
.floating-badge{
	position:absolute; bottom:-22px; left:-22px; background:var(--gold); color:var(--ink);
	padding:16px 20px; font-family:'Fraunces', serif; font-size:.85rem; box-shadow:0 16px 30px -12px rgba(0,0,0,.4);
	animation:floatY 4s ease-in-out infinite;
}
.floating-badge b{display:block; font-size:1.3rem;}
@media (max-width:640px){.floating-badge{left:8px; bottom:-16px; padding:12px 16px;}}
@keyframes floatY{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}

/* -------- Page hero (About/Contact/Shop) -------- */
.page-hero{background:var(--ink); color:var(--text-on-dark); padding:70px 0; text-align:center;}
.page-hero h1{font-size:clamp(1.9rem, 3.6vw, 2.6rem);}

/* -------- Bulk / Wholesale section -------- */
.bulk-section{
	background:
		radial-gradient(circle at 15% 20%, rgba(201,162,74,0.14), transparent 45%),
		repeating-linear-gradient(45deg, rgba(201,162,74,.025) 0px, rgba(201,162,74,.025) 1px, transparent 1px, transparent 26px),
		var(--ink);
	color:var(--text-on-dark);
}
.bulk-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
@media (max-width:900px){.bulk-grid{grid-template-columns:1fr; gap:40px;}}
.bulk-points{display:flex; flex-direction:column; gap:24px;}
.bulk-point{display:flex; gap:16px; align-items:flex-start; padding-bottom:20px; border-bottom:1px solid rgba(201,162,74,.15);}
.bulk-point:last-child{border-bottom:none; padding-bottom:0;}
.bulk-point .seal{color:var(--gold); flex-shrink:0; margin-top:2px;}
.bulk-point b{display:block; color:var(--gold-soft); font-family:'Fraunces', serif; font-size:1.02rem; margin-bottom:4px;}
.bulk-point span{font-size:.88rem; color:var(--muted-dark);}

/* -------- Process steps -------- */
.process-row{display:grid; grid-template-columns:repeat(4,1fr); gap:28px;}
@media (max-width:900px){.process-row{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.process-row{grid-template-columns:1fr;}}
.process-step{position:relative; padding-top:8px;}
.step-num{
	display:block; font-family:'Fraunces', serif; font-size:2.2rem; color:transparent;
	-webkit-text-stroke:1.5px var(--gold); font-weight:500; margin-bottom:14px;
}
.process-step h3{font-size:1.05rem; margin-bottom:8px;}
.process-step p{color:var(--muted); font-size:.9rem; margin:0;}

/* -------- Section head -------- */
.section-head{max-width:640px; margin:0 auto 56px;}
.section-head.left{margin-left:0;}
.section-eyebrow{display:flex; align-items:center; gap:10px; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--emerald); margin-bottom:16px;}
.section-eyebrow::before{content:""; width:22px; height:1px; background:var(--emerald);}
.section-eyebrow::after{content:"\25C6"; font-size:.55rem; color:var(--gold); margin-left:2px;}
.section-head h2{font-size:clamp(1.7rem, 3.2vw, 2.4rem);}
.section-head p{color:var(--muted); margin-top:14px;}

/* -------- Category / feature cards -------- */
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
@media (max-width:960px){.grid-3, .grid-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.grid-3, .grid-4{grid-template-columns:1fr;}}

.feature-card{background:#fff; border:1px solid rgba(31,77,61,.14); border-top:3px solid var(--gold); padding:32px 26px; transition:box-shadow .25s, transform .25s;}
.feature-card:hover{transform:translateY(-4px); box-shadow:0 20px 40px -26px rgba(20,23,28,.35);}
.feature-card .seal{color:var(--emerald); margin-bottom:16px;}
.feature-card h3{font-size:1.1rem;}
.feature-card p{color:var(--muted); font-size:.92rem; margin:0;}

.cat-card{position:relative; background:var(--ink-soft); color:var(--text-on-dark); padding:36px 26px; overflow:hidden; transition:background .3s, transform .3s; border-top:3px solid var(--gold);}
.cat-card:hover{background:#242A34; transform:translateY(-4px);}
.cat-card .seal{position:absolute; right:-8px; bottom:-8px; width:80px; height:80px; opacity:.06; color:var(--gold);}
.cat-card h3{font-size:1.2rem;}
.cat-card span{font-size:.82rem; color:var(--muted-dark);}
.cat-card{border:1px solid rgba(201,162,74,.15);}

/* Category card with a real photo background */
.cat-card.photo{padding:0; min-height:260px; display:flex; align-items:flex-end; background-size:cover; background-position:center;}
.cat-card.photo::after{
	content:""; position:absolute; inset:0;
	background:linear-gradient(180deg, rgba(20,23,28,0) 35%, rgba(20,23,28,.88) 100%);
}
.cat-card.photo .cat-body{position:relative; z-index:2; padding:22px 24px;}
.cat-card.photo:hover img{transform:scale(1.06);}
.cat-card.photo .cat-img-wrap{position:absolute; inset:0; overflow:hidden;}
.cat-card.photo .cat-img-wrap img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}

/* -------- Gallery (auto-responsive, no breakpoints needed) -------- */
.gallery-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
	gap:18px;
}
.gallery-item{
	position:relative; aspect-ratio:1/1; overflow:hidden; border:1px solid rgba(201,162,74,.18);
	background:var(--ivory-dim);
}
.gallery-item img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.gallery-item:hover img{transform:scale(1.08);}
.gallery-item::after{
	content:""; position:absolute; inset:0;
	background:linear-gradient(180deg, rgba(20,23,28,0) 55%, rgba(20,23,28,.75) 100%);
	opacity:0; transition:opacity .3s ease;
}
.gallery-item:hover::after{opacity:1;}
.gallery-caption{
	position:absolute; left:0; right:0; bottom:0; padding:14px 16px; color:#fff;
	font-size:.82rem; letter-spacing:.02em; transform:translateY(8px); opacity:0; transition:all .3s ease;
}
.gallery-item:hover .gallery-caption{transform:translateY(0); opacity:1;}

/* -------- Reviews -------- */
.reviews-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media (max-width:900px){.reviews-grid{grid-template-columns:1fr; max-width:520px; margin:0 auto;}}
.review-card{background:#fff; border:1px solid rgba(31,77,61,.14); padding:30px 26px; transition:transform .25s, box-shadow .25s;}
.review-card:hover{transform:translateY(-4px); box-shadow:0 20px 40px -26px rgba(20,23,28,.3);}
.review-card .stars{color:var(--gold); letter-spacing:2px; font-size:.95rem; display:block; margin-bottom:14px;}
.review-card p{font-size:.95rem; color:var(--text-on-light); margin-bottom:18px;}
.review-card .reviewer{display:flex; align-items:center; gap:12px;}
.review-avatar{width:36px; height:36px; border-radius:50%; background:var(--emerald); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Fraunces', serif; font-size:.9rem; flex-shrink:0;}
.review-name{font-size:.85rem; font-weight:600;}
.review-loc{font-size:.76rem; color:var(--muted);}

/* -------- Gallery showcase -------- */
.gallery-grid{
	display:grid;
	grid-template-columns:repeat(4, 1fr);
	grid-auto-rows:160px;
	gap:16px;
}
.gallery-grid .g-item{grid-column:span 1; grid-row:span 1; overflow:hidden; position:relative; border:1px solid rgba(31,77,61,.14);}
.gallery-grid .g-item.big{grid-column:span 2; grid-row:span 2;}
.gallery-grid .g-item img{width:100%; height:100%; object-fit:cover; transition:transform .6s ease;}
.gallery-grid .g-item:hover img{transform:scale(1.08);}
.gallery-grid .g-item::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,23,28,0) 60%, rgba(20,23,28,.55) 100%); opacity:0; transition:opacity .3s;}
.gallery-grid .g-item:hover::after{opacity:1;}
.gallery-grid .g-item span{position:absolute; left:14px; bottom:12px; color:#fff; font-size:.78rem; letter-spacing:.04em; text-transform:uppercase; opacity:0; transform:translateY(8px); transition:all .3s; z-index:2;}
.gallery-grid .g-item:hover span{opacity:1; transform:translateY(0);}
@media (max-width:900px){
	.gallery-grid{grid-template-columns:repeat(2,1fr); grid-auto-rows:150px;}
	.gallery-grid .g-item.big{grid-column:span 2; grid-row:span 1;}
}
@media (max-width:560px){
	.gallery-grid{grid-template-columns:1fr; grid-auto-rows:220px;}
	.gallery-grid .g-item.big{grid-column:span 1;}
}

/* -------- Trust badge strip -------- */
.trust-strip{display:flex; align-items:center; justify-content:center; gap:48px; flex-wrap:wrap; padding:34px 0;}
.trust-strip .t-item{display:flex; align-items:center; gap:12px; color:var(--text-on-dark); opacity:.9;}
.trust-strip img{width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.trust-strip span{font-size:.82rem; letter-spacing:.03em; text-transform:uppercase;}
@media (max-width:640px){.trust-strip{gap:26px;}}

/* -------- Testimonial -------- */
.testimonial{background:var(--ivory-dim); text-align:center;}
.testimonial .stars{color:var(--gold); letter-spacing:3px; font-size:1.2rem; display:block; margin-bottom:20px;}
.testimonial blockquote{font-family:'Fraunces', serif; font-style:italic; font-size:clamp(1.2rem,2.4vw,1.7rem); max-width:22ch; margin:0 auto;}
.testimonial cite{display:block; margin-top:22px; font-style:normal; font-size:.82rem; letter-spacing:.05em; text-transform:uppercase; color:var(--muted);}

/* -------- About page -------- */
.about-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center;}
@media (max-width:900px){.about-grid{grid-template-columns:1fr; gap:32px;}}
.about-figure{border:1px solid rgba(31,77,61,.2); overflow:hidden;}
.about-figure img{width:100%; aspect-ratio:1/1; object-fit:cover;}

/* -------- Stats -------- */
.stat-row{display:flex; gap:48px; flex-wrap:wrap;}
.stat b{display:block; font-family:'Fraunces', serif; font-size:2rem; color:var(--emerald);}
.stat span{font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted);}

/* -------- Contact page -------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px;}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}
.contact-list{display:flex; flex-direction:column; gap:20px; margin-top:22px;}
.contact-row{display:flex; gap:14px; align-items:flex-start;}
.contact-row .seal{color:var(--emerald); margin-top:2px;}
.contact-row b{display:block; font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:4px;}
.map-embed{margin-top:24px; border:1px solid rgba(31,77,61,.2); aspect-ratio:16/10; overflow:hidden;}
.map-embed iframe{width:100%; height:100%; border:0;}

.contact-form{background:#fff; border:1px solid rgba(31,77,61,.16); border-top:3px solid var(--gold); padding:36px; box-shadow:0 20px 44px -30px rgba(20,23,28,.3);}
.field{margin-bottom:18px;}
.field label{display:block; font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:7px;}
.field input, .field textarea{width:100%; border:1px solid rgba(31,77,61,.25); background:#fff; padding:11px 13px; font-size:.94rem;}
.field input:focus, .field textarea:focus{outline:none; border-color:var(--emerald);}
.submit-btn{background:var(--ink); color:var(--gold-soft); border:none; padding:15px 30px; font-size:.85rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; cursor:pointer; transition:background .2s;}
.submit-btn:hover{background:var(--emerald); color:#fff;}
.success-msg{background:rgba(31,77,61,.1); border:1px solid var(--emerald); color:var(--emerald); padding:16px 20px; margin-bottom:24px; font-size:.92rem;}

/* -------- Footer -------- */
.site-footer{background:var(--ink); color:var(--muted-dark); padding-top:60px;}
.footer-grid{display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(201,162,74,.12);}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr;}}
.footer-brand{color:var(--ivory); margin-bottom:10px;}
.footer-widget h4{color:var(--gold-soft); font-size:.9rem; text-transform:uppercase; letter-spacing:.05em;}
.footer-bottom{padding:22px 0; font-size:.8rem; text-align:center;}


/* ================================================================
   Product Catalog Grid (archive-tp_product.php)
   ================================================================ */
.catalog-wrap{padding:60px 0 100px;}
.catalog-filters{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:44px;}
.catalog-filters a{
	background:var(--ivory-dim); border:1px solid transparent; padding:9px 18px;
	font-size:.82rem; letter-spacing:.02em; color:var(--text-on-light); transition:all .2s;
}
.catalog-filters a.active, .catalog-filters a:hover{background:var(--ink); color:var(--gold-soft); border-color:var(--ink);}

.product-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px;}
@media (max-width:1020px){.product-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:768px){.product-grid{grid-template-columns:repeat(2,1fr); gap:16px;}}
@media (max-width:480px){.product-grid{grid-template-columns:1fr; gap:16px;}}

.product-card{background:#fff; border:1px solid rgba(31,77,61,.14); border-top:3px solid var(--gold); overflow:hidden; transition:transform .3s, box-shadow .3s;}
.product-card:hover{transform:translateY(-5px); box-shadow:0 22px 44px -26px rgba(20,23,28,.35);}
.product-card .thumb{aspect-ratio:1/1; overflow:hidden; background:var(--ivory-dim);}
.product-card .thumb img{width:100%; height:100%; object-fit:cover; transition:transform .55s ease;}
.product-card:hover .thumb img{transform:scale(1.08);}
.product-card .body{padding:18px 18px 22px;}
.product-card .sku-tag{font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; display:block;}
.product-card h3{font-size:1rem; margin-bottom:0; line-height:1.35;}
.no-products{padding:60px 20px; text-align:center; color:var(--muted);}

/* ================================================================
   Single Product Page (single-tp_product.php)
   ================================================================ */
.product-single{padding:60px 0 100px;}
.product-single-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:flex-start;}
@media (max-width:900px){.product-single-grid{grid-template-columns:1fr; gap:32px;}}

.product-main-image{
	border:1px solid rgba(31,77,61,.16); aspect-ratio:1/1; overflow:hidden; cursor:zoom-in;
	background:var(--ivory-dim); position:relative;
}
.product-main-image img{width:100%; height:100%; object-fit:cover; transition:opacity .3s ease;}

.product-thumbs{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;}
.product-thumbs button{
	width:74px; height:74px; padding:0; border:1px solid rgba(31,77,61,.18); background:var(--ivory-dim);
	overflow:hidden; cursor:pointer; transition:border-color .2s; flex-shrink:0;
}
.product-thumbs button.active{border-color:var(--gold); border-width:2px;}
.product-thumbs img{width:100%; height:100%; object-fit:cover;}

.product-info .sku-badge{
	display:inline-block; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
	color:var(--emerald); border:1px solid rgba(31,77,61,.3); padding:5px 12px; margin-bottom:18px;
}
.product-info h1{font-size:clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom:18px;}
.product-info .desc{color:var(--text-on-light); font-size:1rem; line-height:1.75;}
.product-info .cat-tags{margin-top:26px; display:flex; gap:8px; flex-wrap:wrap;}
.product-info .cat-tags a{
	font-size:.76rem; letter-spacing:.04em; text-transform:uppercase; color:var(--muted);
	border:1px solid rgba(31,77,61,.2); padding:6px 12px; transition:all .2s;
}
.product-info .cat-tags a:hover{background:var(--ink); color:var(--gold-soft); border-color:var(--ink);}
.product-info .enquire-row{margin-top:34px; display:flex; gap:14px; flex-wrap:wrap;}

.related-products{margin-top:90px;}

/* Lightbox */
.tp-lightbox{
	position:fixed; inset:0; background:rgba(15,17,20,.94); z-index:500;
	display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none;
	transition:opacity .3s ease;
}
.tp-lightbox.open{opacity:1; pointer-events:auto;}
.tp-lightbox img{max-width:88vw; max-height:82vh; object-fit:contain; transform:scale(.94); transition:transform .3s ease;}
.tp-lightbox.open img{transform:scale(1);}
.tp-lightbox-close{position:absolute; top:24px; right:28px; color:#fff; font-size:2rem; background:none; border:none; cursor:pointer; line-height:1;}
.tp-lightbox-nav{position:absolute; top:50%; transform:translateY(-50%); background:none; border:none; color:#fff; font-size:2.2rem; cursor:pointer; padding:10px 16px; opacity:.7; transition:opacity .2s;}
.tp-lightbox-nav:hover{opacity:1;}
.tp-lightbox-prev{left:10px;}
.tp-lightbox-next{right:10px;}
@media (max-width:640px){.tp-lightbox-nav{font-size:1.6rem; padding:8px 10px;}}
