/*
Theme Name: Warisha Fashion Theme
Theme URI: https://warishafashion.com/
Author: Antigravity AI & Shakib
Author URI: https://warishafashion.com/
Description: Exclusive Bangladeshi E-commerce Theme for Warisha Fashion (Three-piece, Saree, Lehenga) with WooCommerce support, organic SEO, and custom royal design.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: warisha-fashion-theme
Tags: e-commerce, woocommerce, fashion, custom-menu, responsive-layout, bangladesh, seo-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&family=Hind+Siliguri:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;1,400;1,500;1,600&display=swap');

:root {
  --wine-deep: #3E0F20;
  --wine: #6E1B39;
  --gold: #C89B3C;
  --gold-light: #E8CD8A;
  --ivory: #F7EFE0;
  --emerald: #1E4A3B;
  --emerald-light: #2C6350;
  --ink: #2A1712;
  --muted: #8a7360;
  --border-gold: rgba(200, 155, 60, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  font-family: 'Hind Siliguri', sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

/* ---------- NAV ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--ivory);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(62, 15, 32, 0.05);
}
.site-header .logo {
  font-family: 'Tiro Bangla', serif;
  font-size: 26px;
  color: var(--wine-deep);
  letter-spacing: 0.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header .logo img {
  height: 42px;
  width: auto;
  border-radius: 6px;
}
.site-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.site-nav ul li a {
  position: relative;
  padding-bottom: 4px;
}
.site-nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.site-nav ul li a:hover::after,
.site-nav ul li.current-menu-item a::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-actions .cta {
  border: 1.5px solid var(--wine-deep);
  color: var(--wine-deep);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}
.nav-actions .cta:hover {
  background: var(--wine-deep);
  color: #fff;
}
.nav-actions .cta-whatsapp {
  background: var(--emerald);
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-actions .cta-whatsapp:hover {
  background: var(--emerald-light);
}

.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(110, 27, 57, 0.08);
  color: var(--wine-deep);
}
.cart-icon-btn .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--wine-deep);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ivory);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--wine-deep) 0%, var(--wine) 62%, #5A1730 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 80px 24px 100px;
}
.drift-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.drift-layer svg { position: absolute; width: 160%; left: -30%; opacity: 0.5; }
.drift-1 { top: -8%; animation: driftA 34s linear infinite; }
.drift-2 { bottom: -10%; animation: driftB 42s linear infinite; opacity: 0.35; }
@keyframes driftA {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-4%) translateY(2%); }
  100% { transform: translateX(0) translateY(0); }
}
@keyframes driftB {
  0% { transform: translateX(0); }
  50% { transform: translateX(3%); }
  100% { transform: translateX(0); }
}
.motif { position: absolute; opacity: 0.18; animation: float 9s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 21px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 1s ease forwards .2s;
}
.hero h1 {
  font-family: 'Tiro Bangla', serif;
  color: #FBF3E3;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.25;
  margin: 0 0 20px;
  opacity: 0;
  animation: fadeUp 1s ease forwards .5s;
}
.hero-sub {
  font-size: 18px;
  color: #E9D3B8;
  max-width: 540px;
  margin: 0 auto 34px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s ease forwards .8s;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-btns { display: flex; gap: 16px; justify-content: center; opacity: 0; animation: fadeUp 1s ease forwards 1.1s; }
.btn-gold {
  background: var(--gold);
  color: var(--wine-deep);
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 4px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(200, 155, 60, 0.4);
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -60%; } 100% { left: 130%; } }
.btn-outline {
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 4px;
  font-weight: 600;
}
.btn-outline:hover {
  background: rgba(232, 205, 138, 0.15);
}

.zari-strip { height: 14px; position: relative; overflow: hidden; background: var(--ivory); }
.zari-strip svg { width: 100%; height: 100%; display: block; }

/* ---------- SECTIONS ---------- */
.section-label {
  text-align: center;
  margin: 76px 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--wine);
}
.section-title {
  text-align: center;
  font-family: 'Tiro Bangla', serif;
  font-size: 36px;
  color: var(--wine-deep);
  margin: 0 0 48px;
}

/* ---------- CATEGORY SECTION ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1080px;
  margin: 0 auto 90px;
  padding: 0 24px;
}
.cat-card { text-align: center; cursor: pointer; display: block; }
.arch {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #e8d3ae, #cfa96a);
  border-radius: 140px 140px 8px 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px rgba(200, 155, 60, 0.4);
  transition: transform .5s ease;
}
.cat-card:hover .arch { transform: translateY(-6px); }
.arch-fill {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(110, 27, 57, 0.16) 0 2px, transparent 2px 22px);
}
.arch-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card:hover .arch-img { transform: scale(1.05); }
.arch .tag {
  position: absolute; bottom: 16px; left: 0; right: 0;
  font-family: 'Tiro Bangla', serif;
  color: var(--wine-deep); font-size: 16px; font-weight: 600;
  background: rgba(247, 239, 224, 0.9);
  padding: 6px 0;
}
.cat-name { margin-top: 16px; font-family: 'Tiro Bangla', serif; font-size: 22px; color: var(--wine-deep); }
.cat-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- PRODUCT SHOWCASE ---------- */
.products-wrapper {
  max-width: 1180px;
  margin: 0 auto 90px;
  padding: 0 24px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid rgba(200, 155, 60, 0.3);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s ease, transform .35s ease;
}
.product-card:hover {
  box-shadow: 0 14px 30px rgba(62, 15, 32, 0.14);
  transform: translateY(-4px);
}
.product-media {
  aspect-ratio: 4/5;
  position: relative;
  background: linear-gradient(150deg, #f0e2c4, #d9b978);
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media .weave {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(110, 27, 57, 0.10) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(90deg, rgba(110, 27, 57, 0.10) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.discount-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--wine-deep); color: var(--gold-light);
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 3px; letter-spacing: .4px;
  z-index: 2;
}
.product-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.product-name { font-family: 'Tiro Bangla', serif; font-size: 19px; color: var(--wine-deep); margin: 0 0 6px; }
.product-desc { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; flex-grow: 1; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.price-now { font-size: 20px; color: var(--wine-deep); font-weight: 700; }
.price-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.order-row { display: flex; gap: 10px; margin-top: auto; }
.order-btn {
  flex: 1; text-align: center; padding: 10px 8px; font-size: 13.5px; font-weight: 600; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; border: none;
}
.order-whatsapp { background: var(--emerald); color: #fff; }
.order-whatsapp:hover { background: var(--emerald-light); }
.order-buy { background: var(--wine-deep); color: var(--gold-light); }
.order-buy:hover { background: var(--wine); }

.view-more-wrap { text-align: center; margin-top: 36px; }
.view-more {
  display: inline-block; border: 1.5px solid var(--wine-deep); color: var(--wine-deep);
  padding: 12px 34px; border-radius: 4px; font-size: 15px; font-weight: 600;
}
.view-more:hover { background: var(--wine-deep); color: #fff; }

/* ---------- TRUST BADGES ---------- */
.trust {
  background: #fff;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 48px 24px;
}
.trust-inner {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center;
}
.trust-item .icon {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--ivory);
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--wine-deep);
  font-size: 22px; font-weight: 700;
}
.trust-item h4 { font-family: 'Tiro Bangla', serif; font-size: 18px; color: var(--wine-deep); margin: 0 0 6px; font-weight: 600; }
.trust-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- FEATURED STRIP ---------- */
.feature-strip {
  background: var(--emerald); color: #EFE7D6; padding: 56px 24px; text-align: center; position: relative; overflow: hidden;
}
.feature-strip::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(200, 155, 60, 0.14) 1px, transparent 1.4px);
  background-size: 26px 26px; animation: twinkle 6s linear infinite;
}
@keyframes twinkle { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.feature-strip h3 { font-family: 'Tiro Bangla', serif; font-weight: 400; font-size: 28px; margin: 0 0 10px; position: relative; z-index: 2; }
.feature-strip p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--gold-light); position: relative; z-index: 2; margin: 0; }

/* ---------- REVIEWS ---------- */
.reviews { max-width: 1080px; margin: 0 auto 90px; padding: 0 24px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card {
  background: #fff; border: 1px solid rgba(200, 155, 60, 0.3); border-radius: 8px; padding: 26px 24px;
}
.stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 14.5px; color: var(--ink); line-height: 1.8; margin: 0 0 16px; }
.reviewer { font-family: 'Tiro Bangla', serif; font-size: 15px; color: var(--wine-deep); font-weight: 600; }
.reviewer span { display: block; font-family: 'Hind Siliguri', sans-serif; font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 400; }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 60px 24px 30px; background: var(--wine-deep); color: #E9D3B8;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  border-bottom: 1px solid rgba(232, 205, 138, 0.25); padding-bottom: 36px; margin-bottom: 24px;
}
.site-footer .logo2 { font-family: 'Tiro Bangla', serif; font-size: 24px; color: #FBF3E3; margin-bottom: 12px; }
.site-footer .col h5 { font-family: 'Tiro Bangla', serif; font-weight: 600; font-size: 17px; color: var(--gold-light); margin: 0 0 16px; }
.site-footer .col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer p { font-size: 14px; color: #d8bd9a; margin: 6px 0; line-height: 1.7; }
.footer-bottom { text-align: center; font-size: 13px; color: #c7a983; }

/* ---------- FLOATING WHATSAPP & CALL WIDGET ---------- */
.float-widget {
  position: fixed; bottom: 22px; right: 22px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); color: #fff; transition: transform 0.3s ease;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--wine-deep); border: 1px solid var(--gold); }

/* ---------- WOOCOMMERCE STYLING OVERRIDES ---------- */
.woocommerce-container {
  max-width: 1180px;
  margin: 40px auto 80px;
  padding: 0 24px;
}
.woocommerce-page .woocommerce-breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.woocommerce-page .woocommerce-breadcrumb a {
  color: var(--wine);
}
.woocommerce-page h1.page-title {
  font-family: 'Tiro Bangla', serif;
  color: var(--wine-deep);
  font-size: 36px;
  margin-bottom: 24px;
}
.woocommerce div.product .product_title {
  font-family: 'Tiro Bangla', serif;
  color: var(--wine-deep);
  font-size: 32px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--wine-deep);
  font-size: 24px;
  font-weight: 700;
}
.woocommerce div.product .button.single_add_to_cart_button {
  background-color: var(--wine-deep) !important;
  color: var(--gold-light) !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.woocommerce div.product .button.single_add_to_cart_button:hover {
  background-color: var(--wine) !important;
}

@media(max-width: 820px) {
  .site-header { padding: 14px 20px; }
  .site-nav ul { display: none; }
  .hero h1 { font-size: 38px; }
  .categories { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .float-widget { bottom: 16px; right: 16px; }
}
