/*
Theme Name: TG Decors
Theme URI: https://tgdecors.com/
Author: TG Decors
Author URI: https://tgdecors.com/
Description: Ultra-fast, modern e-commerce theme for TG Decors storefront with WooCommerce integration.
Version: 1.0.0
Text Domain: tgdecors
Tested up to: 6.7
Requires PHP: 7.4
*/

:root {
  --primary: #432070;
  --primary-light: #5d3298;
  --primary-dark: #2f1452;
  --yellow-cart: #fed232;
  --yellow-cart-hover: #f0c31d;
  --green-cta: #278644;
  --green-cta-hover: #1e6935;
  --green-badge: #10b981;
  --red-discount: #ef4444;
  --whatsapp-green: #25D366;
  --amazon-orange: #ff9900;
  --bg-main: #f4f5f8;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-card: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tg-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.tg-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tg-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.tg-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  text-decoration: none;
}

.tg-brand-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.25s ease;
}

.tg-brand:hover .tg-brand-img {
  transform: scale(1.06);
}

.tg-brand-img-footer {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 4px;
}

.tg-brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(67, 32, 112, 0.25);
}

.tg-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.tg-nav-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.tg-nav-link:hover {
  color: var(--primary);
  background-color: #f8fafc;
}

.tg-nav-link svg, .tg-nav-link i {
  font-size: 1rem;
}

/* Cart Button (Yellow Pill) */
.tg-cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--yellow-cart);
  color: #000000;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.tg-cart-btn:hover {
  background-color: var(--yellow-cart-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  color: #000;
}

.tg-cart-count {
  background: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

/* Mobile Toggle */
.tg-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-heading);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   DYNAMIC ANIMATED FULLWIDTH HERO SLIDER
   ========================================================================== */
.tg-hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #1e293b;
  margin-bottom: 2rem;
}

.tg-slider-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.tg-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.tg-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

/* Background overlay with animated zoom */
.tg-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1);
}

.tg-slide.is-active .tg-slide-bg {
  transform: scale(1.06);
}

.tg-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 1;
}

/* Specific slide themes */
.tg-slide-1 .tg-slide-bg {
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 235, 170, 0.9) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(200, 140, 70, 0.8) 0%, transparent 50%),
    linear-gradient(135deg, #d8a05c 0%, #a66a2c 100%);
}
.tg-slide-1 .tg-slide-overlay {
  background: rgba(0, 0, 0, 0.18);
}

.tg-slide-2 .tg-slide-bg {
  background: 
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.tg-slide-3 .tg-slide-bg {
  background: 
    radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #2e1065 0%, #0f172a 100%);
}

.tg-slide-4 .tg-slide-bg {
  background: 
    radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}

/* Slide Content Container */
.tg-slide-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

/* Animated Elements inside slide */
.tg-slide-badge {
  background: #e11d48;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.4rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.5);
  transform: rotate(-2deg);
  display: inline-block;
  border: 2px solid #ffffff;
  text-transform: uppercase;
  opacity: 0;
}

.tg-slide-mat-visual {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 0.25rem 0;
  opacity: 0;
}

.tg-mat-card {
  background: #c28847;
  border: 4px solid #8d5c21;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
  font-family: 'Brush Script MT', 'Dancing Script', cursive, sans-serif;
  font-size: 2.2rem;
  color: #2b1807;
  font-weight: bold;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.tg-slide-title {
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  line-height: 1.15;
  opacity: 0;
}

.tg-slide-subtitle {
  font-size: 1.18rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
}

.tg-slide-btn {
  background-color: #2e7d32;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  opacity: 0;
}

.tg-slide-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.tg-slide-btn.btn-amber {
  background-color: #d97706;
}
.tg-slide-btn.btn-purple {
  background-color: #7c3aed;
}
.tg-slide-btn.btn-emerald {
  background-color: #059669;
}

/* Keyframe Animations when slide is active */
@keyframes tgSlideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-2deg);
  }
}

@keyframes tgSlideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tgZoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tg-slide.is-active .tg-slide-badge {
  animation: tgSlideInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.15s;
}

.tg-slide.is-active .tg-slide-mat-visual {
  animation: tgZoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.25s;
}

.tg-slide.is-active .tg-slide-title {
  animation: tgSlideInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s;
}

.tg-slide.is-active .tg-slide-subtitle {
  animation: tgSlideInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.45s;
}

.tg-slide.is-active .tg-slide-btn {
  animation: tgZoomIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.55s;
}

/* Navigation Arrow Buttons */
.tg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tg-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.tg-slider-prev {
  left: 24px;
}

.tg-slider-next {
  right: 24px;
}

/* Pagination Dots */
.tg-slider-pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tg-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tg-slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.tg-slider-dot.is-active {
  width: 34px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   WINDOW BLINDS SHOWCASE (4 Cards)
   ========================================================================== */
.tg-section-blinds {
  padding: 1.5rem 0 2rem;
}

.tg-blinds-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.tg-blinds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tg-blind-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.tg-blind-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tg-blind-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f1f5f9;
}

.tg-blind-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tg-blind-card:hover .tg-blind-thumb img {
  transform: scale(1.05);
}

/* ==========================================================================
   PRODUCT SECTIONS (Featured Products & Extra Merchandise)
   ========================================================================== */
.tg-section-products {
  padding: 1.5rem 0 2rem;
}

.tg-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tg-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Horizontal Product Card */
.tg-product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  min-height: 140px;
}

.tg-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.tg-product-image-wrap {
  width: 140px;
  min-width: 140px;
  height: auto;
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tg-product-card:hover .tg-product-image-wrap img {
  transform: scale(1.06);
}

.tg-product-info {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.tg-product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-badge);
  margin-bottom: 0.25rem;
}

.tg-product-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tg-product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.tg-price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0284c7;
}

.tg-price-old {
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.tg-price-discount {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e11d48;
}

.tg-delivery-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   CALLOUT BANNER STRIPS (Delivery, Videos, Amazon)
   ========================================================================== */
.tg-banner-strip-section {
  padding: 1rem 0;
}

.tg-banner-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.tg-banner-strip:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.tg-strip-icon {
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
}

.tg-strip-icon.truck {
  color: #1e293b;
}

.tg-strip-icon.youtube {
  color: #ff0000;
}

.tg-amazon-link {
  color: #0284c7;
  text-decoration: underline;
  font-weight: 600;
}

.tg-amazon-link:hover {
  color: #0369a1;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.tg-section-reviews {
  padding: 2.25rem 0 2.5rem;
}

.tg-reviews-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.tg-reviews-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.tg-rating-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  font-weight: 600;
}

.tg-stars {
  color: #f59e0b;
}

.tg-write-review-btn {
  background: var(--yellow-cart);
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.tg-write-review-btn:hover {
  background: var(--yellow-cart-hover);
  transform: translateY(-1px);
}

.tg-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tg-review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.tg-quote-icon {
  font-size: 1.8rem;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.tg-review-text {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.tg-reviewer-meta {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

.tg-reviewer-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}

.tg-google-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.tg-google-icon {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   PRE-FOOTER SUPPORT STRIP
   ========================================================================== */
.tg-prefooter {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.tg-prefooter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tg-prefooter-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tg-prefooter-text strong {
  color: var(--text-heading);
  display: block;
  font-size: 1.05rem;
}

.tg-prefooter-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.tg-support-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tg-support-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}

.tg-support-meta small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tg-support-meta a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.tg-support-meta a:hover {
  color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tg-footer {
  background: #b5c7d8;
  background: linear-gradient(180deg, #c7d7e6 0%, #b0c2d3 100%);
  color: #1e293b;
  padding: 3rem 0 1.5rem;
}

.tg-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.tg-footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tg-footer-address {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #334155;
}

.tg-footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.tg-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tg-footer-links a {
  font-size: 0.88rem;
  color: #334155;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.tg-footer-links a:hover {
  color: var(--primary-dark);
  font-weight: 600;
  transform: translateX(2px);
}

.tg-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.tg-floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-size: 1.85rem;
}

.tg-floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* ==========================================================================
   WOOCOMMERCE & INNER PAGES DESIGN SYSTEM
   ========================================================================== */

/* Page Headers & Breadcrumbs */
.tg-page-header {
  background: #ffffff;
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.tg-page-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

/* Page Content Container */
.tg-page-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 3.5rem;
}

/* On WooCommerce Pages, make outer container transparent so inner cards look pristine */
.woocommerce-page .tg-page-content,
.woocommerce-cart .tg-page-content,
.woocommerce-checkout .tg-page-content,
.woocommerce-account .tg-page-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Standard Inner Page Typography */
.tg-page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 1.75rem 0 0.85rem;
}

.tg-page-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 1.5rem 0 0.75rem;
}

.tg-page-content p {
  margin-bottom: 1.15rem;
  line-height: 1.7;
  color: #334155;
}

.tg-page-content ul, 
.tg-page-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: #334155;
  line-height: 1.7;
}

/* WooCommerce Alerts & Notices */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
  border-radius: var(--radius-md) !important;
  padding: 1rem 1.25rem 1rem 3rem !important;
  margin-bottom: 1.75rem !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid transparent !important;
  position: relative !important;
}

.woocommerce-message {
  background-color: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46 !important;
}

.woocommerce-message::before {
  color: #10b981 !important;
}

.woocommerce-info {
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}

.woocommerce-info::before {
  color: #3b82f6 !important;
}

.woocommerce-error {
  background-color: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
  list-style: none !important;
}

.woocommerce-error::before {
  color: #ef4444 !important;
}

/* Global WooCommerce Buttons */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.8rem 1.6rem !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: var(--primary-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(67, 32, 112, 0.25);
}

.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
  background-color: var(--yellow-cart) !important;
  color: #000000 !important;
  box-shadow: 0 2px 8px rgba(254, 210, 50, 0.35) !important;
}

.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
  background-color: var(--yellow-cart-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(254, 210, 50, 0.5) !important;
  color: #000000 !important;
}

/* Form Inputs & Select Controls */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.woocommerce-page input[type="text"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="password"],
.woocommerce-page select,
.woocommerce-page textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus,
.woocommerce-page input[type="text"]:focus,
.woocommerce-page input[type="email"]:focus,
.woocommerce-page input[type="tel"]:focus,
.woocommerce-page input[type="password"]:focus,
.woocommerce-page select:focus,
.woocommerce-page textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 32, 112, 0.12);
}

.woocommerce form .form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   WOOCOMMERCE CART PAGE
   ========================================================================== */
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}

.woocommerce-cart-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* Cart Table Layout */
.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  border: none !important;
}

.woocommerce-cart table.cart thead th {
  background: #f8fafc;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.woocommerce-cart table.cart td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

/* Product Thumbnail */
.woocommerce-cart table.cart td.product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid #f1f5f9;
}

/* Product Details */
.woocommerce-cart table.cart td.product-name a {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  text-decoration: none;
}

.woocommerce-cart table.cart td.product-name a:hover {
  color: var(--primary);
}

.tg-cart-item-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.35rem;
  max-width: 320px;
}

/* Cart Price Blocks */
.tg-cart-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tg-cart-strike-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.88rem;
}

.tg-cart-active-price {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.05rem;
}

.tg-cart-save-pill {
  display: inline-block;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Quantity Stepper Controller */
.quantity.tg-qty-ready {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.quantity.tg-qty-ready input.qty {
  width: 48px !important;
  height: 38px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: var(--text-heading) !important;
  padding: 0 !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.quantity.tg-qty-ready input.qty::-webkit-inner-spin-button,
.quantity.tg-qty-ready input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tg-qty-btn {
  width: 34px;
  height: 38px;
  background: #f8fafc;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.tg-qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Remove Item Link */
.tg-cart-remove-label {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.tg-cart-remove-label:hover {
  color: var(--red-discount);
}

/* Cart Actions / Coupon Row */
.woocommerce-cart table.cart td.actions {
  padding-top: 1.5rem;
}

.woocommerce-cart table.cart .coupon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  float: left;
}

.woocommerce-cart table.cart .coupon input[type="text"] {
  width: 160px;
  padding: 0.6rem 0.85rem;
}

.woocommerce-cart table.cart .coupon .button {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  font-weight: 600 !important;
  padding: 0.6rem 1.1rem !important;
}

.woocommerce-cart table.cart .coupon .button:hover {
  background: #e2e8f0 !important;
}

.woocommerce-cart table.cart .button[name="update_cart"] {
  float: right;
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

/* Cart Collaterals & Totals Card */
.cart-collaterals {
  width: 100%;
}

.cart_totals {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.cart_totals h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.cart_totals table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.cart_totals table.shop_table th {
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
  text-align: left;
}

.cart_totals table.shop_table td {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-heading);
  font-weight: 600;
  text-align: right;
}

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* Proceed to Checkout CTA Button (Classic & Blocks) */
.wc-proceed-to-checkout a.checkout-button,
.wp-block-woocommerce-proceed-to-checkout-block a,
.wc-block-cart__submit-button,
.wc-block-components-checkout-button,
a.checkout-button,
.wc-block-cart__submit-container .wc-block-components-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background-color: var(--yellow-cart) !important;
  color: #000000 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  padding: 1.15rem 1.5rem !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 14px rgba(254, 210, 50, 0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.wc-proceed-to-checkout a.checkout-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block a:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-button:hover,
a.checkout-button:hover,
.wc-block-cart__submit-container .wc-block-components-button:hover {
  background-color: var(--yellow-cart-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(254, 210, 50, 0.5) !important;
  color: #000000 !important;
}

/* ==========================================================================
   WOOCOMMERCE MY ACCOUNT DASHBOARD (LUXURY 2-COLUMN DESIGN)
   ========================================================================== */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation),
.woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 2.25rem !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: var(--max-width) !important;
  margin: 0 auto 3.5rem auto !important;
}

/* Notices banner must span full width across both columns */
.woocommerce:has(.woocommerce-MyAccount-navigation) .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce-notices-wrapper {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-bottom: 1rem !important;
}

/* Left Sidebar Navigation Card */
.woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 280px !important;
  background: #ffffff !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 0.85rem !important;
  position: sticky !important;
  top: 90px !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce-MyAccount-navigation ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.85rem 1.15rem !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: #475569 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

/* Icons for Navigation Links via FontAwesome Unicode */
.woocommerce-MyAccount-navigation ul li a::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
  width: 22px !important;
  text-align: center !important;
  color: #64748b !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f0e4" !important; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "\f468" !important; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: "\f019" !important; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f3c5" !important; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f007" !important; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
  content: "\f2f5" !important;
  color: #ef4444 !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: #f8fafc !important;
  color: var(--primary) !important;
  border-color: var(--border-light) !important;
  transform: translateX(4px) !important;
}

.woocommerce-MyAccount-navigation ul li a:hover::before {
  color: var(--primary) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(67, 32, 112, 0.3) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
  color: #ffffff !important;
}

/* Logout link special styling */
.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #64748b !important;
  margin-top: 0.5rem !important;
  border-top: 1px dashed var(--border-light) !important;
  padding-top: 0.95rem !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

/* Right Content Area Card */
.woocommerce-MyAccount-content {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-light) !important;
  padding: 2.5rem !important;
  box-shadow: var(--shadow-sm) !important;
  min-height: 420px !important;
  box-sizing: border-box !important;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: var(--text-heading) !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.3px !important;
}

.woocommerce-MyAccount-content p {
  line-height: 1.7 !important;
  color: #334155 !important;
  font-size: 1rem !important;
  margin-bottom: 1.25rem !important;
}

.woocommerce-MyAccount-content a {
  color: var(--primary) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.woocommerce-MyAccount-content a:hover {
  color: var(--primary-light) !important;
  text-decoration: underline !important;
}

/* Greeting Block */
.woocommerce-MyAccount-content > p:first-of-type {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 1.25rem 1.5rem !important;
  font-size: 1.05rem !important;
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-MyAccount-content > p:first-of-type strong {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.woocommerce-MyAccount-content > p:first-of-type a {
  color: #ef4444 !important;
  font-size: 0.88rem !important;
  background: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid #fecaca !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-content > p:first-of-type a:hover {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
  color: #b91c1c !important;
}
  background: #fee2e2;
  text-decoration: none;
}

/* My Account Orders Table */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.woocommerce-orders-table th {
  background: #f8fafc;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.woocommerce-orders-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
  vertical-align: middle;
}

.woocommerce-orders-table tr:last-child td {
  border-bottom: none;
}

.woocommerce-orders-table tr:hover td {
  background: #fafafa;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a.button {
  background: var(--primary);
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a.button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* My Account Addresses */
.woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.woocommerce-Address {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.woocommerce-Address header.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.woocommerce-Address header.title h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
}

.woocommerce-Address header.title a.edit {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-Address header.title a.edit:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.woocommerce-Address address {
  font-style: normal;
  line-height: 1.6;
  color: #475569;
  font-size: 0.95rem;
}

/* Edit Account & Address Form Styling */
.woocommerce-EditAccountForm,
.woocommerce-address-fields__field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.woocommerce-form-row {
  margin-bottom: 0 !important;
}

.woocommerce-form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.woocommerce-form-row input.input-text,
.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="email"],
.woocommerce-form-row input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-form-row input.input-text:focus,
.woocommerce-form-row input[type="text"]:focus,
.woocommerce-form-row input[type="email"]:focus,
.woocommerce-form-row input[type="password"]:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 32, 112, 0.12);
}

.woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

.woocommerce-EditAccountForm fieldset legend {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  padding: 0 0.5rem;
}

.woocommerce-EditAccountForm button.button,
.woocommerce-address-fields button.button,
.woocommerce form.login button.button,
.woocommerce form.register button.button {
  background: var(--yellow-cart);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(254, 210, 50, 0.3);
  margin-top: 1rem;
}

.woocommerce-EditAccountForm button.button:hover,
.woocommerce-address-fields button.button:hover,
.woocommerce form.login button.button:hover,
.woocommerce form.register button.button:hover {
  background: var(--yellow-cart-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(254, 210, 50, 0.4);
}

/* ==========================================================================
   CUSTOMER AUTHENTICATION (LOGIN & REGISTRATION PORTAL)
   ========================================================================== */

/* Outer Auth Card Layout */
.woocommerce:has(form.woocommerce-form-login),
.woocommerce:has(#customer_login),
.woocommerce:has(.tg-auth-container) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Page Heading for Auth */
.woocommerce > h2:first-child {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 auto 1.5rem auto;
  letter-spacing: -0.5px;
}

/* Auth Main Container / Card */
.tg-auth-container {
  background: #ffffff !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.07), 0 4px 12px -2px rgba(0, 0, 0, 0.03) !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 1.5rem auto 3.5rem auto !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Top Gradient Accent Line - ONLY ON OUTER CONTAINER */
.tg-auth-container::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #432070 0%, #7c3aed 50%, #fed232 100%) !important;
  z-index: 10 !important;
}

/* Clear any inherited pseudo-elements from standard WC forms */
.tg-auth-container form::before,
.tg-auth-container form::after,
.tg-auth-container #customer_login::before,
.tg-auth-container #customer_login::after {
  display: none !important;
}

/* Auth Header */
.tg-auth-header {
  padding: 2.25rem 2.25rem 1rem 2.25rem !important;
  text-align: center !important;
}

.tg-auth-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  background: rgba(67, 32, 112, 0.08) !important;
  color: var(--primary) !important;
  padding: 5px 14px !important;
  border-radius: 9999px !important;
  margin-bottom: 0.85rem !important;
}

.tg-auth-badge i {
  font-size: 0.82rem !important;
  color: var(--primary) !important;
}

.tg-auth-title {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: var(--text-heading) !important;
  margin: 0 0 0.4rem 0 !important;
  letter-spacing: -0.4px !important;
}

.tg-auth-subtitle {
  font-size: 0.9rem !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Tab Navigation */
.tg-auth-tabs-nav {
  display: flex !important;
  background: #f1f5f9 !important;
  padding: 4px !important;
  border-radius: 12px !important;
  margin: 0.5rem 2.25rem 1.75rem 2.25rem !important;
  gap: 4px !important;
  position: relative !important;
}

.tg-auth-tab-btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
}

.tg-auth-tab-btn i {
  font-size: 0.95rem !important;
  transition: transform 0.2s ease !important;
}

.tg-auth-tab-btn:hover {
  color: #1e293b !important;
}

.tg-auth-tab-btn.tg-tab-active {
  background: #ffffff !important;
  color: var(--primary) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  font-weight: 800 !important;
}

.tg-auth-tab-btn.tg-tab-active i {
  transform: scale(1.1) !important;
}

/* Panels Wrapper */
.tg-auth-panels-wrapper,
#customer_login {
  padding: 0 2.25rem 2rem 2.25rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  display: block !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.tg-auth-panel {
  width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  animation: tgAuthFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.tg-auth-panel.tg-panel-active {
  display: block !important;
}

@keyframes tgAuthFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Forms and Inputs (Guaranteed 100% Full Width) */
.tg-auth-container form,
.tg-auth-container .woocommerce-form,
.tg-auth-container .woocommerce-form-login,
.tg-auth-container .woocommerce-form-register {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.tg-auth-container .tg-form-group,
.tg-auth-container .form-row,
.tg-auth-container .woocommerce-form-row {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 0 1.25rem 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  box-sizing: border-box !important;
}

.tg-auth-container label {
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin: 0 !important;
}

.tg-auth-container label .required {
  color: #ef4444 !important;
}

/* Input Icon Wrap */
.tg-auth-container .tg-input-icon-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.tg-auth-container .tg-input-icon {
  position: absolute !important;
  left: 16px !important;
  color: #94a3b8 !important;
  font-size: 1rem !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: color 0.2s ease !important;
}

.tg-auth-container .tg-input-icon-wrap:focus-within .tg-input-icon {
  color: var(--primary) !important;
}

.tg-auth-container input.input-text,
.tg-auth-container input[type="text"],
.tg-auth-container input[type="email"],
.tg-auth-container input[type="password"] {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 50px !important;
  padding: 0 44px 0 46px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.tg-auth-container input.input-text:focus,
.tg-auth-container input[type="text"]:focus,
.tg-auth-container input[type="email"]:focus,
.tg-auth-container input[type="password"]:focus {
  background: #ffffff !important;
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3.5px rgba(67, 32, 112, 0.12) !important;
}

/* Password Eye Toggle Button */
.tg-auth-container .tg-password-toggle-btn {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #94a3b8 !important;
  font-size: 1.05rem !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
  transition: color 0.2s ease !important;
}

.tg-auth-container .tg-password-toggle-btn:hover {
  color: #334155 !important;
}

/* Actions Row (Remember Me + Forgot Password) */
.tg-auth-actions-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: -0.25rem 0 1.25rem 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tg-auth-container .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  user-select: none !important;
  margin: 0 !important;
}

.tg-auth-container .woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--primary) !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.tg-auth-actions-row .lost_password {
  margin: 0 !important;
}

.tg-auth-actions-row .lost_password a {
  font-size: 0.86rem !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.tg-auth-actions-row .lost_password a:hover {
  text-decoration: underline !important;
  color: var(--primary-light) !important;
}

/* Notice text */
.tg-auth-notice-text {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 0.84rem !important;
  color: #64748b !important;
  line-height: 1.45 !important;
  background: #f8fafc !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid #e2e8f0 !important;
  margin: 0 0 1.25rem 0 !important;
}

.tg-auth-notice-text i {
  color: var(--primary) !important;
  margin-top: 2px !important;
}

/* Submit Row */
.tg-auth-container .tg-submit-group {
  margin: 0.25rem 0 0 0 !important;
  width: 100% !important;
}

.tg-auth-container button.woocommerce-form-login__submit,
.tg-auth-container button.woocommerce-form-register__submit {
  width: 100% !important;
  height: 50px !important;
  background: var(--yellow-cart) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  box-shadow: 0 4px 14px rgba(254, 210, 50, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
}

.tg-auth-container button.woocommerce-form-login__submit:hover,
.tg-auth-container button.woocommerce-form-register__submit:hover {
  background: var(--yellow-cart-hover) !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(254, 210, 50, 0.5) !important;
}

/* Switch Footer */
.tg-auth-switch-footer {
  margin-top: 1rem !important;
  padding-top: 1.15rem !important;
  border-top: 1px dashed var(--border-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 0.88rem !important;
  color: #64748b !important;
  text-align: center !important;
  width: 100% !important;
}

.tg-auth-switch-link {
  color: var(--primary) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.tg-auth-switch-link:hover {
  color: var(--primary-light) !important;
  text-decoration: underline !important;
}

/* Trust Badge */
.tg-auth-trust-badge {
  background: #f8fafc !important;
  border-top: 1px solid var(--border-light) !important;
  padding: 12px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tg-auth-trust-badge i {
  color: #10b981 !important;
}

/* ==========================================================================
   WOOCOMMERCE CHECKOUT PAGE (BLOCKS & CLASSIC)
   ========================================================================== */

/* Outer block container */
.wp-block-woocommerce-checkout,
.wc-block-checkout {
  display: block !important;
  width: 100% !important;
  max-width: var(--max-width);
  margin: 0 auto 3.5rem !important;
}

/* Main 2-Column Sidebar Layout for WooCommerce Blocks */
.wc-block-components-sidebar-layout {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 2.5rem !important;
  width: 100% !important;
  margin: 0 auto 3.5rem !important;
}

/* Left Main Column (60%) */
.wc-block-components-main,
.wc-block-checkout__main {
  flex: 1 1 58% !important;
  width: 58% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Classic WooCommerce Form 2-column grid */
form.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) !important;
  gap: 2.5rem !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin: 0 0 3.5rem !important;
}

/* Blocks Form internal stack (Steps stack vertically on left) */
.wc-block-checkout__form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  width: 100% !important;
}

/* Left Column Cards (Steps: Contact, Shipping, Billing, Payment) */
#customer_details,
.wc-block-components-checkout-step {
  background: #ffffff !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-light) !important;
  padding: 1.75rem 2rem !important;
  box-shadow: var(--shadow-sm) !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Right Column (Sticky Sidebar: Order Summary & Place Order) */
.wc-block-components-sidebar,
.wc-block-checkout__sidebar,
#order_review {
  flex: 0 0 38% !important;
  width: 38% !important;
  min-width: 320px !important;
  position: sticky !important;
  top: 90px !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Order Summary Single Card Container */
.wp-block-woocommerce-checkout-order-summary-block,
#order_review {
  background: #ffffff !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border-light) !important;
  padding: 1.5rem !important;
  box-shadow: var(--shadow-sm) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Remove duplicate borders, padding and background from nested panels */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary__content,
.wc-block-components-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Section Titles / Headings */
#customer_details h3,
#order_review_heading,
.wc-block-components-checkout-step__heading,
.wc-block-components-checkout-step__title,
.wc-block-components-title,
.wc-block-components-panel__button {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--text-heading) !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.01em;
  padding: 0 !important;
}

.wc-block-components-checkout-step__description {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.5 !important;
}

/* Floating label text inputs (Prevent overlapping!) */
.wc-block-components-text-input {
  position: relative !important;
  margin-bottom: 1rem !important;
}

.wc-block-components-text-input input {
  height: 52px !important;
  padding: 18px 12px 6px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  font-size: 15px !important;
  color: var(--text-main) !important;
  background-color: #ffffff !important;
  font-family: inherit !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wc-block-components-text-input label {
  font-size: 14px !important;
  font-family: inherit !important;
}

.wc-block-components-combobox input,
.wc-block-components-select select,
.wc-blocks-components-select select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100% !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md) !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.95rem !important;
  color: var(--text-main) !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  font-family: inherit !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-select select:focus,
.wc-blocks-components-select select:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.wc-block-components-text-input.is-active input {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15) !important;
}

/* Order Summary Items List - Robust Grid preventing boundary overflow */
.wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto !important;
  gap: 0.85rem !important;
  align-items: flex-start !important;
  width: 100% !important;
  padding: 0.85rem 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  box-sizing: border-box !important;
}

.wc-block-components-order-summary-item__image {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-light) !important;
  overflow: hidden !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.wc-block-components-order-summary-item__description {
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: var(--text-heading) !important;
  line-height: 1.3 !important;
  margin-bottom: 0.25rem !important;
  display: block !important;
  word-break: break-word !important;
}

.wc-block-components-product-metadata,
.wc-block-components-order-summary-item__description p,
.wc-block-components-product-details__value {
  font-size: 0.8rem !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  margin: 0.25rem 0 0 !important;
}

.wc-block-components-order-summary-item__total-price {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: var(--text-heading) !important;
  white-space: nowrap !important;
  text-align: right !important;
  padding-left: 0.5rem !important;
  justify-self: end !important;
}

/* Order Review / Shop Table in Classic Checkout */
#order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

#order_review table.shop_table th {
  color: #475569;
  font-weight: 600;
}

/* Totals Breakdown */
.wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.75rem 0 !important;
  font-size: 0.95rem !important;
  color: #475569 !important;
  border-bottom: 1px solid #f8fafc !important;
}

.wc-block-components-totals-footer-item,
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--text-heading) !important;
  padding-top: 1rem !important;
  border-top: 2px solid var(--border-light) !important;
}

/* Payment Methods Section */
#payment,
.wc-block-components-checkout-step--payment {
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

#payment ul.payment_methods li {
  margin-bottom: 0.85rem;
}

#payment ul.payment_methods label {
  font-weight: 700;
  cursor: pointer;
}

#payment .payment_box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #475569;
}

/* Place Order CTA Button */
#payment #place_order,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button,
button.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  background-color: var(--yellow-cart) !important;
  color: #000000 !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  padding: 1.15rem 1.5rem !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 14px rgba(254, 210, 50, 0.4) !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border: none !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.03em !important;
  margin-top: 1rem !important;
  text-align: center !important;
  display: block !important;
}

#payment #place_order:hover,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button:hover,
.wc-block-components-checkout-place-order-button:hover,
button.wc-block-components-checkout-place-order-button:hover {
  background-color: var(--yellow-cart-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(254, 210, 50, 0.5) !important;
}

/* ==========================================================================
   WOOCOMMERCE SHOP & PRODUCT CATALOG
   ========================================================================== */
.woocommerce-products-header {
  display: none !important;
}

.woocommerce-shop .woocommerce,
.woocommerce-page .woocommerce {
  width: 100%;
}

/* Result Count and Ordering Toolbar */
.woocommerce .woocommerce-result-count {
  float: left !important;
  margin: 0 0 1rem !important;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  line-height: 44px;
}

.woocommerce .woocommerce-ordering {
  float: right !important;
  margin: 0 0 1.5rem !important;
}

.woocommerce .woocommerce-ordering select {
  height: 44px;
  padding: 0 2.25rem 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1e293b;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce .woocommerce-ordering select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 32, 112, 0.12);
}

/* Product Grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.75rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 3rem !important;
  float: none !important;
  clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

/* Product Card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-md) !important;
  padding: 1.25rem !important;
  box-shadow: var(--shadow-card) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: #cbd5e1 !important;
}

/* Product Link */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
  flex: 1 0 auto !important;
}

/* Product Image */
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  border-radius: var(--radius-sm) !important;
  margin: 0 0 0.85rem !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  background-color: #f8fafc !important;
  transition: transform 0.3s ease !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.02);
}

/* Modern Pill Sale Badge */
.woocommerce span.onsale,
.woocommerce-page span.onsale,
.woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 1.5rem !important;
  left: 1.5rem !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: var(--radius-pill) !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.2 !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
  z-index: 5 !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-heading) !important;
  margin: 0.25rem 0 0.5rem !important;
  line-height: 1.35 !important;
  padding: 0 !important;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Price */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--text-heading) !important;
  margin: 0.25rem 0 1rem !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
}

.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins {
  text-decoration: none !important;
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  margin-top: auto !important;
  width: 100% !important;
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(67, 32, 112, 0.2) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background-color: var(--primary-light) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(67, 32, 112, 0.3) !important;
  color: #ffffff !important;
}

.woocommerce ul.products li.product .button.added::after {
  margin-left: 0.5em;
}

.woocommerce ul.products li.product .added_to_cart {
  display: block !important;
  text-align: center !important;
  margin-top: 0.5rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  text-decoration: underline !important;
}

/* WhatsApp Enquiry Button in Product Cards */
.woocommerce ul.products li.product .tg-whatsapp-btn {
  margin-top: 0.5rem !important;
  width: 100% !important;
  background: #25D366 !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.65rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25) !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product .tg-whatsapp-btn:hover {
  background: #1DA851 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (INNER PAGES & WOOCOMMERCE)
   ========================================================================== */
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .woocommerce-cart-form {
    padding: 1.25rem;
  }

  /* Transform Cart Table to Mobile Stacked Cards */
  .woocommerce-cart table.cart, 
  .woocommerce-cart table.cart tbody, 
  .woocommerce-cart table.cart tr.cart_item {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .woocommerce-cart table.cart thead {
    display: none;
  }

  .woocommerce-cart table.cart tr.cart_item {
    position: relative;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .woocommerce-cart table.cart td.product-thumbnail {
    float: left;
    width: 90px;
    padding: 0 0.85rem 0.5rem 0;
  }

  .woocommerce-cart table.cart td.product-thumbnail img {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    object-fit: cover;
  }

  .woocommerce-cart table.cart td.product-name {
    padding: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .woocommerce-cart table.cart td.product-price {
    padding: 0 0 0.35rem;
  }

  .woocommerce-cart table.cart td.product-subtotal {
    float: right;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-top: -2.8rem;
  }

  .woocommerce-cart table.cart td.product-quantity {
    clear: both;
    padding: 0.75rem 0 0.35rem;
  }

  .woocommerce-cart table.cart td.product-remove {
    padding: 0.25rem 0 0;
    text-align: left;
  }

  .woocommerce-cart table.cart td.actions {
    display: block;
    width: 100%;
    padding: 1.25rem 0 0;
  }

  .woocommerce-cart table.cart .coupon {
    float: none;
    width: 100%;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .woocommerce-cart table.cart .coupon input[type="text"] {
    flex: 1;
  }

  .woocommerce-cart table.cart .button[name="update_cart"] {
    float: none;
    width: 100%;
  }

  /* ==========================================================================
     MY ACCOUNT & AUTHENTICATION ON MOBILE & TABLET (<= 768px)
     ========================================================================== */
  .woocommerce-account .woocommerce,
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation),
  .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.25rem !important;
    margin: 0 0 2.5rem 0 !important;
  }

  .woocommerce:has(.woocommerce-MyAccount-navigation) .woocommerce-notices-wrapper,
  .woocommerce-account .woocommerce-notices-wrapper {
    width: 100% !important;
    margin-bottom: 0.5rem !important;
  }

  /* Navigation Sidebar Card on Mobile: Sleek Grid of Pills */
  .woocommerce-MyAccount-navigation {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem !important;
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .woocommerce-MyAccount-navigation ul {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .woocommerce-MyAccount-navigation ul li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 0.5rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    gap: 0.4rem !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .woocommerce-MyAccount-navigation ul li a::before {
    font-size: 1.2rem !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto !important;
    color: #64748b !important;
  }

  .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(67, 32, 112, 0.25) !important;
  }

  .woocommerce-MyAccount-navigation ul li.is-active a::before {
    color: #ffffff !important;
  }

  .woocommerce-MyAccount-navigation-link--customer-logout a {
    margin-top: 0 !important;
    border: 1px solid #fecaca !important;
    background: #fff5f5 !important;
    color: #dc2626 !important;
  }

  .woocommerce-MyAccount-navigation-link--customer-logout a::before {
    color: #dc2626 !important;
  }

  /* Right Content Area on Mobile */
  .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 1.5rem 1.25rem !important;
    border-radius: var(--radius-lg) !important;
    box-sizing: border-box !important;
  }

  .woocommerce-MyAccount-content > p:first-of-type {
    padding: 1.15rem 1rem !important;
    font-size: 0.95rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .woocommerce-MyAccount-content > p:first-of-type a {
    margin-left: 0 !important;
    align-self: flex-start !important;
  }

  /* Addresses on Mobile */
  .woocommerce-Addresses {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
    margin-top: 1.25rem !important;
  }

  .woocommerce-Address {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.25rem !important;
  }

  /* Auth Container & Tabs on Mobile */
  .tg-auth-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 1rem auto 2.5rem auto !important;
    border-radius: var(--radius-md) !important;
  }

  .tg-auth-header {
    padding: 1.75rem 1.25rem 0.85rem 1.25rem !important;
  }

  .tg-auth-title {
    font-size: 1.45rem !important;
  }

  .tg-auth-subtitle {
    font-size: 0.86rem !important;
  }

  .tg-auth-tabs-nav {
    margin: 0.25rem 1.25rem 1.25rem 1.25rem !important;
    padding: 3px !important;
    gap: 3px !important;
  }

  .tg-auth-tab-btn {
    padding: 9px 8px !important;
    font-size: 0.86rem !important;
    gap: 6px !important;
  }

  .tg-auth-panels-wrapper,
  #customer_login {
    padding: 0 1.25rem 1.75rem 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tg-auth-actions-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  /* Checkout on Mobile */
  .wc-block-components-sidebar-layout,
  form.woocommerce-checkout,
  .wc-block-checkout__form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .wc-block-components-main,
  .wc-block-checkout__main {
    width: 100% !important;
    flex: 1 1 100% !important;
    order: 1 !important;
  }

  .wc-block-components-sidebar,
  .wc-block-checkout__sidebar,
  #order_review {
    width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    position: static !important;
    order: 2 !important;
  }

  #customer_details, 
  #order_review,
  .wc-block-components-checkout-step,
  .wc-block-components-order-summary,
  .wp-block-woocommerce-checkout-order-summary-block {
    padding: 1.25rem 1rem !important;
  }
}

/* Mobile Actions & Drawer Defaults (Hidden on Desktop) */
.tg-mobile-actions {
  display: none;
}

.tg-mobile-drawer {
  display: none;
}

/* Keyframe for mobile drawer slide down */
@keyframes tgDrawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
  }
  .tg-blinds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tg-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tg-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Header Bar */
  .tg-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }

  .tg-nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
  }

  /* Centered Brand Logo on Mobile */
  .tg-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tg-brand-name {
    display: none; /* Centered Logo Icon Only matching screenshot */
  }

  .tg-brand-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  /* Hide Desktop Menu */
  .tg-desktop-menu {
    display: none !important;
  }

  /* Show Mobile Actions */
  .tg-mobile-actions {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-left: auto;
  }

  .tg-mobile-cart-icon {
    font-size: 1.25rem;
    color: #1e293b;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.25rem;
    transition: color 0.15s ease;
  }

  .tg-mobile-cart-icon:hover {
    color: var(--primary);
  }

  .tg-mobile-cart-badge {
    position: absolute;
    top: -4px;
    right: -7px;
    background: #000000;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tg-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.35rem;
    color: #1e293b;
    cursor: pointer;
    padding: 0.25rem;
  }

  .tg-toggle-icon-open {
    display: block;
  }

  .tg-toggle-icon-close {
    display: none;
  }

  /* When Header is Open */
  .tg-header.tg-mobile-open .tg-toggle-icon-open {
    display: none !important;
  }

  .tg-header.tg-mobile-open .tg-toggle-icon-close {
    display: block !important;
    font-size: 1.4rem;
  }

  /* Mobile Drawer Dropdown Grid */
  .tg-mobile-drawer {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: #fbfcfd;
    border-bottom: 3px solid #fed232;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding-bottom: 0.5rem;
  }

  .tg-header.tg-mobile-open .tg-mobile-drawer {
    display: block !important;
    animation: tgDrawerSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .tg-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
    padding: 1.75rem 0.5rem 1.25rem;
    align-items: center;
  }

  .tg-mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: #1e293b;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    transition: all 0.15s ease;
  }

  .tg-mobile-menu-item:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.03);
  }

  .tg-m-icon {
    font-size: 1.15rem;
    color: #0f172a;
    width: 24px;
    height: 24px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .tg-m-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
  }

  /* My Cart Card Highlight matching screenshot */
  .tg-mobile-menu-item.tg-mobile-item-cart {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 700;
  }

  .tg-mobile-menu-item.tg-mobile-item-cart:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  /* Yellow Semi-Circle Collapse Tab */
  .tg-mobile-collapse-tab {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 48px;
    height: 20px;
    background: #fed232;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    z-index: 10;
  }

  .tg-mobile-collapse-tab:hover {
    background: #f0c31d;
    transform: translate(-50%, -2px);
  }

  .tg-hero-title {
    font-size: 2.1rem;
  }

  .tg-hero-badge-tag {
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
  }

  .tg-mat-card {
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
  }

  .tg-products-grid {
    grid-template-columns: 1fr;
  }

  .tg-blinds-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tg-reviews-grid {
    grid-template-columns: 1fr;
  }

  .tg-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tg-prefooter-content {
    flex-direction: column;
    align-items: flex-start;
  }

  /* WooCommerce Shop on Mobile */
  .woocommerce .woocommerce-result-count {
    float: none !important;
    display: block !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
  }

  .woocommerce .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100% !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin: 1rem 0 2rem !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 0.85rem !important;
  }

  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img {
    height: 160px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    min-height: 2.6em !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 1.05rem !important;
    margin-bottom: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img {
    height: 220px !important;
  }

  .tg-blinds-grid {
    grid-template-columns: 1fr;
  }

  .tg-product-card {
    flex-direction: column;
  }

  .tg-product-image-wrap {
    width: 100%;
    height: 180px;
  }

  .tg-hero-mat-visual {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   OFFER ZONE / DEALS PAGE STYLING (Matching gulftrading.in/offers)
   ========================================================================== */

.tg-offers-page-wrapper {
  padding-bottom: 4rem;
  background-color: var(--bg-main);
}

/* 1. Hero Card */
.tg-offers-hero {
  padding: 2.5rem 0 1.5rem 0;
}

.tg-offers-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.tg-offers-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  border: 1px solid #fde68a;
}

.tg-offers-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.tg-offers-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.6;
}

.tg-offers-features-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.tg-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.tg-feature-item i {
  color: var(--primary);
  font-size: 1rem;
}

/* 2. Filter Tabs */
.tg-offers-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem 0;
}

.tg-filter-tab {
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.tg-filter-tab:hover {
  background: #f1f5f9;
  color: var(--text-heading);
  border-color: #cbd5e1;
}

.tg-filter-tab.is-active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(67, 32, 112, 0.25);
}

/* 3. Products Grid */
.tg-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.tg-offer-product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.tg-offer-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.tg-offer-img-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.tg-offer-img-wrap {
  width: 100%;
  height: 380px;
  position: relative;
  background-color: #f1f5f9;
  overflow: hidden;
}

.tg-offer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tg-offer-product-card:hover .tg-offer-img-wrap img {
  transform: scale(1.05);
}

.tg-offer-tag-float {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  letter-spacing: 0.3px;
}

.tg-offer-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
}

.tg-offer-title-link {
  text-decoration: none;
  color: inherit;
}

.tg-offer-product-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  margin: 0;
  transition: color 0.2s ease;
}

.tg-offer-title-link:hover .tg-offer-product-name {
  color: var(--primary);
}

.tg-offer-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.tg-offer-price-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tg-offer-badge-percent {
  font-size: 0.85rem;
  font-weight: 700;
  color: #059669;
}

.tg-offer-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tg-offer-price-sale {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}

.tg-offer-price-old {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ef4444;
  text-decoration: line-through;
}

.tg-offer-btn-view {
  background: var(--yellow-cart);
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(254, 210, 50, 0.3);
}

.tg-offer-btn-view:hover {
  background: var(--yellow-cart-hover);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(254, 210, 50, 0.4);
}

.tg-offer-footer-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}

/* 4. WhatsApp Strip */
.tg-offers-whatsapp-strip {
  margin: 3.5rem 0 2rem 0;
}

.tg-wa-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.25);
}

.tg-wa-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 700px;
}

.tg-wa-icon-box {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #4ade80;
}

.tg-wa-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.tg-wa-desc {
  font-size: 0.92rem;
  color: #d1fae5;
  line-height: 1.5;
  margin: 0;
}

.tg-wa-btn {
  background: #25d366;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.tg-wa-btn:hover {
  background: #22c35e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

/* 5. FAQ Section */
.tg-offers-faq-section {
  padding: 2rem 0;
}

.tg-faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tg-faq-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.tg-faq-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.tg-faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tg-faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tg-faq-item.is-open {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.tg-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tg-faq-question:hover {
  color: var(--primary);
}

.tg-faq-icon {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.tg-faq-item.is-open .tg-faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.tg-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tg-faq-item.is-open .tg-faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .tg-offers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tg-offer-img-wrap {
    height: 320px;
  }

  .tg-offers-hero-title {
    font-size: 2rem;
  }

  .tg-wa-card {
    flex-direction: column;
    text-align: center;
  }

  .tg-wa-content {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .tg-offers-hero {
    padding: 1.5rem 0 1rem 0;
  }

  .tg-offers-hero-card {
    padding: 1.5rem 1rem;
  }

  .tg-offers-hero-title {
    font-size: 1.75rem;
  }

  .tg-offers-features-strip {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tg-offer-img-wrap {
    height: 240px;
  }

  .tg-offer-card-body {
    padding: 1.15rem;
  }

  .tg-offer-product-name {
    font-size: 1.05rem;
  }

  .tg-offer-prices {
    flex-wrap: wrap;
  }

  .tg-offer-price-sale {
    font-size: 1.25rem;
  }

  .tg-faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.15rem;
  }
}
