/*
Theme Name: TanTap Performance
Theme URI: https://tantap.local
Author: TanTap Performance Team
Author URI: https://tantap.local
Description: High-performance, clean, lightweight custom WooCommerce theme built for TanTap.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: tantap
*/

:root {
  --primary: #FF4F40;
  --primary-hover: #e03b2d;
  --primary-light: #fff5f4;
  --primary-glow: rgba(255, 79, 64, 0.15);
  --dark: #1e293b;
  --dark-text: #0f172a;
  --body-text: #475569;
  --muted-text: #64748b;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --border-focus: #FF4F40;
  --success: #10b981;
  --success-light: #ecfdf5;
  --whatsapp: #25D366;
  --whatsapp-light: #f0fdf4;
  --font-heading: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

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

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background-color: var(--light-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-text);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

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

.tantap-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.tantap-container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   Hero Banner Component
   ========================================================================== */
/* Universal Page Banner Standards: Flush alignment & Square edge-to-edge corners */
.page-hero-banner,
.shop-banner,
.category-banner,
.category-hero-banner,
.about-hero-banner,
.hero-banner {
  margin-top: 0 !important;
  border-radius: 0 !important;
}

.page-hero-banner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 0 !important;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  margin: 0 auto 40px !important;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  background-color: #1e293b;
}

.page-hero-banner.has-bg {
  background-image: var(--banner-bg-desktop, var(--banner-fallback-bg));
}

.page-hero-banner .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.68) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-banner .hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 36px 30px;
}

.page-hero-banner .hero-content {
  max-width: 600px;
  text-align: left;
}

.page-hero-banner h1,
.page-hero-banner .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
  line-height: 1.25;
}

.page-hero-banner p,
.page-hero-banner .hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8vw, 16px);
  color: #ffffff;
  max-width: 680px;
  margin: 0 0 20px;
  font-weight: 400;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  line-height: 1.5;
}

.page-hero-banner .hero-btn-wrap {
  display: inline-block;
}

.page-hero-banner .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #7F54B3;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.page-hero-banner .hero-btn:hover {
  background-color: #D359FF;
  color: #000000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-hero-banner {
    min-height: 280px;
  }
  .page-hero-banner .hero-container {
    padding: 24px 20px;
  }
  .page-hero-banner.hero-contact {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/contact-us.phone_.avif') !important;
  }
  .page-hero-banner.hero-privacy {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/privacy-policie.phone_.avif') !important;
  }
  .page-hero-banner.hero-refund {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/REFUND.phone_.avif') !important;
  }
  .page-hero-banner.hero-qa {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/FAQ.phone_.avif') !important;
  }
}

/* ==========================================================================
   Values / Trust Highlights (4 Cards)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-card .value-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card .value-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.value-card .value-text h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 2px;
}

.value-card .value-text p {
  font-size: 13px;
  color: var(--muted-text);
  margin: 0;
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */
/* ==========================================================================
   About Us Page Styles (Exact Visual Match)
   ========================================================================== */

/* 1. Dedicated About Hero Banner */
.about-hero-banner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 0 !important;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  margin: 0 auto 40px !important;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.about-hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 36px 30px;
}

.about-hero-content {
  max-width: 580px;
  text-align: left;
}

.about-hero-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
  line-height: 1.25;
}

.about-hero-subtitle {
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);
}

.about-hero-btn-wrap {
  display: inline-block;
}

.about-hero-btn {
  display: inline-block;
  background-color: #7F54B3;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.about-hero-btn:hover {
  background-color: #D359FF;
  color: #000000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .about-hero-banner {
    min-height: 280px;
    background-position: center center;
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/about-us.phone_.avif') !important;
  }
  .about-hero-container {
    padding: 24px 20px;
  }
}

/* 2. About Us Lead & Born Section */
.about-lead-section {
  padding: 10px 0 24px;
}

.about-lead-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  color: #222222;
  margin-bottom: 8px;
}

.about-lead-desc {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: #272727;
  max-width: 800px;
  line-height: 1.65;
}

.born-section {
  margin-bottom: 60px;
}

.born-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.born-image-col {
  width: 100%;
}

.born-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: block;
}

.born-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.born-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #222222;
  margin-bottom: 12px;
  text-align: left;
}

.born-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 22px;
  text-align: left;
}

.born-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.born-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.born-check-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.born-check-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 1.4;
}

.born-signature-wrap {
  text-align: left;
  margin-top: 6px;
}

.born-signature-img {
  max-width: 240px;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .born-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .born-signature-wrap {
    margin-top: 12px;
  }
}

/* 3. About TanTap Centered Prose Layout */
.about-tantap-section {
  padding: 40px 0 50px;
  border-top: 1px solid #f1f5f9;
}

.about-tantap-prose {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-tantap-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}

.about-tantap-prose .prose-subhead {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 18px;
}

.about-tantap-prose p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-tantap-prose p strong {
  color: #111827;
}

.about-tantap-prose .visit-callout {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-top: 24px;
}

.prose-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 32px auto;
  width: 50%;
}

.prose-footer-meta {
  margin-top: 18px;
}

.prose-footer-meta em {
  color: #64748b;
  font-size: 14px;
}

.prose-contact-line {
  font-size: 14px !important;
  color: #64748b !important;
  margin-top: 12px !important;
}

.prose-contact-line a {
  color: var(--primary);
  font-weight: 600;
}

/* Team Grid */
.team-section {
  margin: 64px 0;
}

.section-header-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.section-header-center h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-header-center p {
  color: var(--muted-text);
  font-size: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.team-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background-color: #f1f5f9;
}

.team-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-card-body h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-card-body .team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card-body .team-quote {
  font-size: 14px;
  color: var(--muted-text);
  font-style: italic;
  line-height: 1.6;
  margin-top: auto;
}

/* 6. Why Choose Us (Split 2-Column Layout) */
.why-choose-split-section {
  padding: 40px 0 80px;
}

.why-choose-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.why-choose-content-col {
  display: flex;
  flex-direction: column;
}

.why-split-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #222222;
  margin-bottom: 12px;
  text-align: left;
}

.why-split-lead {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  margin-bottom: 28px;
  line-height: 1.65;
  text-align: left;
}

.why-split-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-split-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.why-split-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-split-icon svg {
  fill: #FF4F40;
  width: 22px;
  height: 22px;
}

.why-split-text h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 4px;
}

.why-split-text p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 1.55;
  margin: 0;
}

.why-choose-image-col {
  width: 100%;
}

.why-split-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: block;
}

@media (max-width: 860px) {
  .why-choose-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   Contact Us Page Styles
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 64px;
}

@media (max-width: 868px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.channel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.channel-card.whatsapp {
  border-left: 4px solid var(--whatsapp);
}

.channel-card.email {
  border-left: 4px solid var(--primary);
}

.channel-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.channel-card.whatsapp .channel-icon {
  background: var(--whatsapp-light);
  color: var(--whatsapp);
}

.channel-card.email .channel-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.channel-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.channel-info p {
  font-size: 14px;
  color: var(--muted-text);
  margin-bottom: 8px;
}

.channel-info .channel-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.contact-form-card .form-desc {
  color: var(--muted-text);
  font-size: 15px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.form-group .required {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark-text);
  background-color: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px;
  background-color: #7F54B3;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(127, 84, 179, 0.3);
}

.btn-submit:hover {
  background-color: #D359FF;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(211, 89, 255, 0.4);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.form-alert.success {
  background: var(--success-light);
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.form-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ==========================================================================
   Q&A / FAQs Page Styles (Accessible Details/Summary)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 64px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-icon-chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted-text);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--body-text);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid rgba(0,0,0,0.04);
  padding-top: 16px;
}

.faq-contact-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin-bottom: 64px;
}

.faq-contact-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.faq-contact-box p {
  color: var(--muted-text);
  margin-bottom: 20px;
}

/* ==========================================================================
   Legal & Institutional Prose Styles (Privacy, Refunds)
   ========================================================================== */
.prose-layout {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .prose-layout {
    padding: 24px;
  }
}

.prose-layout .policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.prose-layout h2 {
  font-size: 26px;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-bg);
}

.prose-layout h2:first-of-type {
  margin-top: 0;
}

.prose-layout h3 {
  font-size: 20px;
  margin: 24px 0 12px;
}

.prose-layout p {
  margin-bottom: 18px;
  line-height: 1.8;
  color: var(--body-text);
  font-size: 15px;
}

.prose-layout ul, 
.prose-layout ol {
  margin: 16px 0 24px 24px;
  color: var(--body-text);
  font-size: 15px;
  line-height: 1.8;
}

.prose-layout li {
  margin-bottom: 10px;
}

.prose-layout li strong {
  color: var(--dark-text);
}

.callout-box {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0;
}

.callout-box h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--dark-text);
}

.callout-box p {
  margin: 0;
  font-size: 14px;
  color: var(--body-text);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}

.step-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--muted-text);
  margin: 0;
}

.policy-contact-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted-text);
}

.policy-contact-footer a {
  font-weight: 600;
}

/* ==========================================================================
   Commerce Flow & Utility Pages (Cart, Checkout, My Account, Wishlist, Compare)
   ========================================================================== */

/* 1. Mobile Hero Banners for Commerce Pages */
@media (max-width: 768px) {
  .hero-cart,
  .hero-checkout {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/cart.phone_.avif') !important;
  }
  .hero-my-account {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/my-account-phone.avif') !important;
  }
  .hero-wishlist {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/wishlist.phone_.avif') !important;
  }
  .hero-compare {
    background-image: url('http://tantap-new.local/wp-content/uploads/2025/07/compare.phone_.avif') !important;
  }
}

/* 2. Commerce Flow Wrappers */
.commerce-flow-wrapper {
  padding: 40px 0 80px;
}

.cart-flow-wrapper,
.checkout-flow-wrapper,
.my-account-flow-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* 3. Global WooCommerce Button & Input Styling */
:root {
  --wc-purple: #7F54B3;
  --wc-purple-hover: #D359FF;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wc-block-components-button:not(.is-link) {
  background-color: var(--wc-purple) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  border: none !important;
  padding: 12px 26px !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 12px rgba(127, 84, 179, 0.25) !important;
  cursor: pointer;
  text-decoration: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-button:not(.is-link):hover {
  background-color: var(--wc-purple-hover) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 89, 255, 0.35) !important;
}

/* Form Controls & Inputs in Checkout/Cart/Account */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wc-block-components-text-input input,
.wc-block-components-combobox input {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--dark-text) !important;
  background-color: #ffffff !important;
  transition: var(--transition) !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.wc-block-components-text-input input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(127, 84, 179, 0.2) !important;
  outline: none !important;
}

/* 4. WooCommerce Blocks Layout Polishing */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  margin-top: 10px;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
  padding-right: 24px;
}

.wc-block-components-totals-wrapper {
  background: #fdfdfd;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

/* 5. My Account Specific Layout */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 240px;
  margin-right: 32px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-text);
  text-decoration: none;
  transition: var(--transition);
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: #f7f3fc;
  color: var(--primary);
  padding-left: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  width: calc(100% - 272px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  min-height: 400px;
}

@media (max-width: 820px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    margin-right: 0;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 24px;
  }
}

/* My Account Login & Register Cards */
.woocommerce-account .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .woocommerce-account .col2-set {
    grid-template-columns: 1fr;
  }
}

/* 6. Wishlist & Compare Layout & Components */
.wishlist-page-content,
.compare-page-content {
  padding: 40px 0 80px;
}

/* Empty State Card */
.flow-empty-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
  max-width: 580px;
  margin: 20px auto 60px;
  box-shadow: var(--shadow-sm);
}

.empty-icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #f5effc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.flow-empty-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.flow-empty-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.flow-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(127, 84, 179, 0.25);
}

.flow-primary-btn:hover {
  background-color: #D359FF;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 89, 255, 0.35);
}

/* Table Containers */
.flow-table-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tantap-commerce-table {
  width: 100%;
  border-collapse: collapse;
}

/* Wishlist Table */
.wishlist-table th {
  background: #f8fafc;
  color: var(--dark-text);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.wishlist-table td {
  padding: 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.item-remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.item-remove-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.table-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.table-product-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-text);
  text-decoration: none;
  transition: var(--transition);
}

.table-product-title:hover {
  color: var(--primary);
}

.table-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
}

.badge-stock {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-stock.in-stock {
  background: #e8f8f0;
  color: #107c41;
}

.table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #7F54B3 !important;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700 !important;
  padding: 10px 20px;
  border-radius: 8px !important;
  border: none !important;
  text-decoration: none;
  transition: var(--transition);
}

.table-action-btn:hover {
  background-color: #D359FF !important;
  color: #000000 !important;
}

/* Compare Table Specifics */
.compare-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.compare-table th.attr-label {
  background: #f8fafc;
  color: var(--dark-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 16px 20px;
  width: 170px;
  border: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table .row-action .table-action-btn {
  width: 100%;
}

/* ==========================================================================
   Single Product Template Styles (Comfort Sandals & Master Layout)
   ========================================================================== */

.tantap-single-product-wrap {
  padding: 30px 0 80px;
  background-color: #f4f5f7;
}

/* 1. Top Buy-Box Card & 2-Column Grid */
.product-buybox-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.product-buybox-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.product-gallery-col,
.product-buybox-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.product-gallery-sticky {
  position: sticky;
  top: 30px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Gallery Main Image Display */
.product-main-image-wrap {
  position: relative;
  background: #fdfdfd;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-badge-sale {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.main-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.main-display-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease-in-out;
}

/* Gallery Thumbnails Strip */
.product-thumbnails-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumb-btn {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #f8fafc;
  padding: 4px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-thumb-btn:hover {
  border-color: #cbd5e1;
}

.gallery-thumb-btn.is-active {
  border-color: #7F54B3;
  box-shadow: 0 0 0 2px rgba(127, 84, 179, 0.2);
}

/* Centered Helper Link Under Gallery Thumbnails */
.gallery-helper-wrap {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 12px;
}

.btn-gallery-helper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #faf5ff;
  border: 1px dashed #7F54B3;
  color: #7F54B3;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-gallery-helper:hover {
  background: #f3e8ff;
  border-color: #D359FF;
  color: #6b21a8;
  transform: translateY(-1px);
}

/* Feature Highlights Quad */
.product-features-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding: 16px 12px;
  background: #fafaf9;
  border: 1px solid #f0f0ed;
  border-radius: 14px;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4edf9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  line-height: 1.25;
}

.product-store-trust-banner {
  margin-top: 18px;
  text-align: center;
}

.trust-banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Buy-Box Details Column */
.product-buybox-col {
  display: flex;
  flex-direction: column;
}

.product-breadcrumb-wrap {
  margin-bottom: 12px;
}

.product-breadcrumbs {
  font-size: 13px;
  color: #6b7280;
}

.product-breadcrumbs a {
  color: #6b7280;
  text-decoration: none;
  transition: var(--transition);
}

.product-breadcrumbs a:hover {
  color: var(--primary);
}

.crumb-arrow {
  margin: 0 6px;
  color: #9ca3af;
}

.product-brand-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
  line-height: 1.25;
}

/* Star Rating Row */
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.star-rating-icons {
  position: relative;
  display: inline-block;
  font-size: 17px;
  line-height: 1;
  color: #d1d5db;
}

.stars-empty {
  letter-spacing: 2px;
}

.stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f59e0b;
  letter-spacing: 2px;
}

.rating-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--dark-text);
}

.rating-review-link {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  transition: var(--transition);
}

.rating-review-link:hover {
  color: var(--primary);
}

/* Dynamic Shopping Event Promotional Banner */
.product-promo-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fdfaf5;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: var(--transition);
}

.product-promo-banner:hover {
  background: #fff7ed;
  border-color: #fb923c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.15);
}

.promo-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.promo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.35;
}

.promo-text strong {
  color: #9a3412;
  font-weight: 700;
  font-family: var(--font-heading);
}

.promo-text span {
  color: #4b5563;
}

/* Price Display */
.product-price-display {
  font-family: var(--font-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price-display del {
  color: #9ca3af;
  font-size: 18px;
  font-weight: 500;
}

.product-price-display ins {
  text-decoration: none;
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
}

.product-price-display .amount {
  font-weight: 800;
}

/* Stock Availability & Pulse */
.product-stock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.stock-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.stock-label.in-stock {
  font-size: 14px;
  font-weight: 600;
  color: #065f46;
}

.stock-cod-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Urgency Stock Scarcity Status Bar (Orange Urgency Card) */
.product-scarcity-wrap {
  margin-bottom: 16px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 10px;
  padding: 12px 16px;
}

.scarcity-text {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #c2410c;
  margin-bottom: 8px;
}

.scarcity-text strong {
  color: #9a3412;
  font-weight: 700;
}

.scarcity-track {
  width: 100%;
  height: 8px;
  background: #fed7aa;
  border-radius: 999px;
  overflow: hidden;
}

.scarcity-bar {
  height: 100%;
  background: linear-gradient(90deg, #f97316 0%, #dc2626 100%);
  border-radius: 999px;
  animation: pulseScarcity 2s infinite ease-in-out;
  transition: width 0.4s ease-in-out;
}

@keyframes pulseScarcity {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* Urgency Countdown Timer */
.product-urgency-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.timer-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6b21a8;
  font-family: var(--font-heading);
}

.timer-digits-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: #6b21a8;
}

.timer-num {
  display: inline-block;
  background: #7F54B3;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  min-width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.product-short-description {
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 18px;
}

.product-buybox-divider {
  border: 0;
  border-top: 1px solid #f1f5f9;
  margin: 14px 0;
}

/* Variable Add to Cart Form & Dual Action Buttons */
.product-add-to-cart-wrap form.variations_form,
.product-add-to-cart-wrap form.cart {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  margin: 0 !important;
}

.variations {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse;
  margin: 0 0 12px 0 !important; /* Exactly 12px between dropdowns and button section */
  box-sizing: border-box !important;
}

.variations tr {
  border: none !important;
}

/* 8px to 10px compact vertical gap between Color and Size dropdowns */
.variations tr:first-child th,
.variations tr:first-child td {
  padding-top: 0 !important;
  padding-bottom: 9px !important;
}

.variations tr:last-child th,
.variations tr:last-child td {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.variations th.label,
.variations td.label {
  width: 65px;
  padding-right: 12px !important;
  vertical-align: middle;
  border: none !important;
}

.variations th.label label,
.variations td.label label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0;
  display: block;
}

.variations td.value {
  vertical-align: middle;
  border: none !important;
}

.variations td.value select {
  width: 100%;
  height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark-text);
  background-color: #ffffff;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  margin: 0 !important;
}

.variations td.value select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(127, 84, 179, 0.2);
}

.reset_variations {
  display: inline-block;
  font-size: 11px;
  color: #9ca3af;
  text-decoration: none;
  margin-top: 4px;
  margin-left: 2px;
  transition: var(--transition);
}

.reset_variations:hover {
  color: #dc2626;
  text-decoration: underline;
}

.single_variation_wrap {
  margin-top: 0 !important;
}

.single_variation_wrap .woocommerce-variation:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single_variation_wrap .woocommerce-variation:not(:empty) {
  margin-bottom: 8px !important;
}

.woocommerce-variation-price {
  margin-bottom: 4px !important;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

/* Permanently remove plain duplicate stock text output above quantity box */
.single-product .stock,
.single-product p.stock.in-stock,
.single-product p.stock,
.single_variation_wrap .woocommerce-variation-availability,
.woocommerce-variation-availability {
  display: none !important;
}

/* ==========================================================================
   Exact 3-Row Buy-Box Actions Layout & Quantity Stepper
   ========================================================================== */

/* Container for Row 1 (Qty + Add to Cart) and Row 2 (Buy Now) */
.woocommerce-variation-add-to-cart,
.product-add-to-cart-wrap form.cart:not(.variations_form) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  align-items: stretch !important;
}

/* Ensure variations form itself stacks table and variation buttons cleanly */
.product-add-to-cart-wrap form.variations_form {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
}

/* Prevent WooCommerce clearfix pseudo-elements from acting as empty flex items */
.product-add-to-cart-wrap form.cart::before,
.product-add-to-cart-wrap form.cart::after,
.woocommerce-variation-add-to-cart::before,
.woocommerce-variation-add-to-cart::after {
  display: none !important;
}

/* ROW 1 (Left): Compact Quantity Incrementer Stepper [ - 1 + ] (85px - 90px, height 48px) */
.product-add-to-cart-wrap .quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex: 0 0 88px !important;
  width: 88px !important;
  max-width: 88px !important;
  min-width: 88px !important;
  height: 48px !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  box-shadow: var(--shadow-sm) !important;
}

.product-add-to-cart-wrap .quantity .qty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  color: var(--dark-text) !important;
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
  line-height: 1 !important;
  user-select: none !important;
  transition: var(--transition) !important;
}

.product-add-to-cart-wrap .quantity .qty-btn:hover {
  background-color: #f1f5f9 !important;
  color: var(--primary) !important;
}

.product-add-to-cart-wrap .quantity input.qty {
  flex: 1 !important;
  width: 32px !important;
  min-width: 0 !important;
  height: 100% !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-heading) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--dark-text) !important;
  padding: 0 !important;
  margin: 0 !important;
  -moz-appearance: textfield !important;
}

.product-add-to-cart-wrap .quantity input.qty::-webkit-outer-spin-button,
.product-add-to-cart-wrap .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* ROW 1 (Right): Stretched "ADD TO CART" (flex: 1, height: 48px, clean border, bold uppercase) */
.product-add-to-cart-wrap .single_add_to_cart_button {
  flex: 1 !important;
  width: auto !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #ffffff !important;
  color: #7F54B3 !important;
  border: 2px solid #7F54B3 !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  box-shadow: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.product-add-to-cart-wrap .single_add_to_cart_button:hover {
  background-color: #f7f3fc !important;
  border-color: #7F54B3 !important;
  color: #7F54B3 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(127, 84, 179, 0.15) !important;
}

/* ROW 2: Full-Width "BUY NOW" (width: 100%, height: 48px, solid brand purple #7F54B3, white bold text) */
.product-add-to-cart-wrap .btn-buy-now,
.tt-btn-buy-now,
.single-product-buy-now,
.btn-buy-now {
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: #7F54B3 !important;
  color: #ffffff !important;
  border: 2px solid #7F54B3 !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 14px rgba(127, 84, 179, 0.25) !important;
  margin: 0 0 8px 0 !important;
  margin-bottom: 8px !important;
  box-sizing: border-box !important;
}

.product-add-to-cart-wrap .btn-buy-now:hover,
.tt-btn-buy-now:hover,
.single-product-buy-now:hover,
.btn-buy-now:hover {
  background-color: #D359FF !important;
  border-color: #D359FF !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(211, 89, 255, 0.35) !important;
}

/* ROW 3: 50/50 Split "ADD TO WISHLIST" & "ADD TO COMPARE" (gap: 10px, height: 42px, light border, white background, centered uppercase) */
.product-actions-bar {
  display: flex !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 15px 0 !important;
}

.product-actions-bar .btn-action-pill {
  flex: 1 1 50% !important;
  width: calc(50% - 5px) !important;
  max-width: calc(50% - 5px) !important;
  min-width: 0 !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #4b5563 !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.product-actions-bar .btn-action-pill svg {
  flex-shrink: 0;
}

.product-actions-bar .btn-action-pill:hover {
  border-color: #7F54B3 !important;
  color: #7F54B3 !important;
  background: #f7f3fc !important;
  transform: translateY(-1px) !important;
}

.product-actions-bar .btn-action-pill.is-in-list {
  background: #f7f3fc !important;
  border-color: #7F54B3 !important;
  color: #7F54B3 !important;
}

/* Collapsible Info Accordions */
.product-info-accordions {
  margin-top: 20px;
  border-top: 1px solid #f1f5f9;
  max-width: 100%;
  box-sizing: border-box;
}

.info-accordion {
  border-bottom: 1px solid #f1f5f9;
  max-width: 100%;
  box-sizing: border-box;
}

.info-accordion-summary {
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
  user-select: none;
  max-width: 100%;
  box-sizing: border-box;
}

.info-accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.info-accordion .chevron-icon {
  transition: transform 0.25s ease;
  color: #9ca3af;
  flex-shrink: 0;
}

.info-accordion[open] .chevron-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.info-accordion-content {
  padding: 0 0 16px 28px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.info-accordion-content p {
  margin-bottom: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.info-accordion-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   2. Visual Product Storytelling (Dark Hero Banner + Zig-Zag Layout)
   ========================================================================== */

.product-storytelling-section {
  padding: 40px 0 60px;
}

/* Dark Photographic Hero Banner */
.story-hero-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.story-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.story-hero-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #e9d5ff;
  background: rgba(127, 84, 179, 0.4);
  border: 1px solid rgba(211, 89, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.story-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.story-hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #e2e8f0;
  margin: 0;
}

@media (max-width: 768px) {
  .story-hero-banner {
    background-image: var(--story-bg-mobile, var(--story-bg-desktop)) !important;
    padding: 50px 20px;
  }
}

.story-zigzag-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}

.story-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: block;
}

.story-step-indicator {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.story-row-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 14px;
}

.story-row-p {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 16px;
}

.story-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.check-icon {
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   3. Dynamic Customer Reviews Section
   ========================================================================== */

.product-reviews-section {
  padding: 40px 0 60px;
}

/* Overview Card (CusRev Histogram Style) */
.reviews-overview-card {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}

.reviews-score-block {
  text-align: center;
  border-right: 1px solid #f1f5f9;
  padding-right: 20px;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1;
  margin-bottom: 6px;
}

.score-count {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}

.reviews-histogram-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.histogram-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.hist-label {
  width: 46px;
  font-weight: 600;
  color: var(--dark-text);
}

.hist-track {
  flex: 1;
  height: 10px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.hist-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}

.hist-pct {
  width: 86px;
  text-align: right;
  color: #6b7280;
  font-size: 12px;
}

.reviews-cta-block {
  text-align: center;
}

.btn-write-review {
  width: 100%;
  padding: 12px 20px;
  background: #ffffff;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-write-review:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 84, 179, 0.25);
}

/* Clean Zero-Reviews State Card */
.no-reviews-card {
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.no-reviews-card .no-reviews-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  background: #f4edf9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-reviews-card .no-reviews-icon svg {
  stroke: var(--primary);
}

.no-reviews-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.no-reviews-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 24px;
}

.no-reviews-card .btn-write-review {
  max-width: 200px;
  margin: 0 auto;
}

/* Review Form Collapsible */
.review-form-collapsible {
  margin-bottom: 36px;
}

.review-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.review-form-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Customer Photo Gallery Strip */
.customer-photo-strip-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.strip-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-text);
}

.photo-count-pill {
  background: #f3e8ff;
  color: #7F54B3;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.customer-photos-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.customer-photo-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid #f1f5f9;
}

.customer-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.customer-photo-thumb:hover img {
  transform: scale(1.08);
}

.photo-overlay-author {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 10px;
  text-align: center;
  padding: 2px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Review Cards List & Hidden Pagination */
.reviews-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.review-item-hidden {
  display: none !important;
}

.load-more-reviews-wrap {
  text-align: center;
  margin-top: 24px;
}

.btn-load-more-reviews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid #7F54B3;
  color: #7F54B3;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-load-more-reviews:hover {
  background: #7F54B3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(127, 84, 179, 0.25);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.reviewer-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-text);
}

.badge-verified-buyer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.review-date {
  font-size: 12px;
  color: #9ca3af;
}

.stars-gold {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 16px;
}

.review-body p {
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
  margin: 0;
}

.review-attachments {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.review-attachment-thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: var(--transition);
}

.review-attachment-thumb:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}

/* Lightbox Modal */
.photo-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

#lightboxImg {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #18181b;
  display: block;
}

.lightbox-caption {
  padding: 20px;
}

.lightbox-caption h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.lightbox-caption p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

/* ==========================================================================
   4. Product FAQ Section
   ========================================================================== */

.product-faq-section {
  padding: 40px 0 60px;
}

.product-faqs-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-faq-item:hover {
  border-color: #cbd5e1;
}

.product-faq-item[open] {
  border-color: var(--primary);
}

.faq-summary {
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-chevron {
  transition: transform 0.25s ease;
  color: #9ca3af;
}

.product-faq-item[open] .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

/* ==========================================================================
   5. Explore More Products Grid
   ========================================================================== */

/* ==========================================================================
   5. Universal Catalog Grid & Product Card Template
   ========================================================================== */

/* Universal Catalog Grid (Desktop > 768px: exactly 3 columns) */
.tantap-catalog-grid::before,
.tantap-catalog-grid::after,
.related-products-grid::before,
.related-products-grid::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

.tantap-catalog-grid,
.woocommerce ul.products:not(.tantap-related-carousel-track):not(.deals70-track):not(.featured-track):not(.deals50-track),
ul.products:not(.tantap-related-carousel-track):not(.deals70-track):not(.featured-track):not(.deals50-track) {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 40px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Universal Product Card Container */
/* Universal Product Card Container */
.tantap-product-card,
.tt-product-card,
.custom-product-card,
.woocommerce ul.products li.product,
ul.products li.product {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
}

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

/* Thumbnail Wrap (10px Inset Gap from card border & 8px border-radius) */
.product-card-thumb-wrap,
.product-image-wrap {
  position: relative !important;
  margin: 10px 10px 0 10px !important;
  width: calc(100% - 20px) !important;
  aspect-ratio: 1 / 1 !important;
  background: #f8fafc !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.product-card-thumb-link {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.product-card-img,
.product-image-wrap img,
.product-card-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  transition: transform 0.35s ease !important;
  display: block !important;
}

.tantap-product-card:hover .product-card-img,
.tt-product-card:hover .product-card-img,
.custom-product-card:hover .product-card-img,
ul.products li.product:hover .product-card-img {
  transform: scale(1.05) !important;
}

/* Sale Discount Percentage Badge (Cleanly inside inset area) */
.product-card-discount-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background-color: #FF4F40 !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  z-index: 3 !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 6px rgba(255, 79, 64, 0.35) !important;
  line-height: 1 !important;
}

/* Floating Quick Actions (Cleanly inside inset area: Wishlist & Compare) */
.product-card-floating-actions {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  z-index: 3 !important;
}

.btn-card-action {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid var(--border) !important;
  color: var(--dark-text) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: var(--transition) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.btn-card-action:hover {
  background: #ffffff !important;
  transform: scale(1.12) !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-card-wishlist.is-active {
  background: #FF4F40 !important;
  color: #ffffff !important;
  border-color: #FF4F40 !important;
}

.btn-card-wishlist.is-active svg {
  fill: #ffffff !important;
}

.btn-card-compare.is-active {
  background: #7F54B3 !important;
  color: #ffffff !important;
  border-color: #7F54B3 !important;
}

/* Card Body Content & Metadata */
.product-card-body {
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  box-sizing: border-box !important;
}

.product-card-category {
  font-family: var(--font-heading) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #94a3b8 !important;
  margin-bottom: 4px !important;
}

.product-card-title {
  font-family: var(--font-heading) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 0 6px 0 !important;
  color: var(--dark-text) !important;
}

.product-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
}

.product-card-title a:hover {
  color: var(--primary) !important;
}

.product-card-rating {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 8px !important;
}

.product-card-rating .stars-gold {
  color: #f59e0b !important;
  letter-spacing: 1px !important;
  font-size: 12px !important;
}

.product-card-rating .rating-score {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

.product-card-price {
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.product-card-price del {
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

.product-card-price ins {
  text-decoration: none !important;
  color: var(--primary) !important;
}

.product-card-excerpt {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  margin: 0 0 14px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* TWO STACKED FULL-WIDTH ACTION BUTTONS */
.product-card-actions-wrap {
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}

.btn-card-btn {
  width: 100% !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: 8px !important;
  font-family: var(--font-heading) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Button 1: Add to Cart */
.btn-card-cart {
  background-color: #ffffff !important;
  color: #7F54B3 !important;
  border: 1.5px solid #7F54B3 !important;
  box-shadow: none !important;
}

.btn-card-cart:hover {
  background-color: #f7f3fc !important;
  border-color: #7F54B3 !important;
  color: #7F54B3 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(127, 84, 179, 0.15) !important;
}

/* Button 2: Buy Now (Brand Purple #7F54B3) */
.btn-card-buy-now {
  background-color: #7F54B3 !important;
  color: #ffffff !important;
  border: 1.5px solid #7F54B3 !important;
  box-shadow: 0 3px 10px rgba(127, 84, 179, 0.22) !important;
}

.btn-card-buy-now:hover {
  background-color: #D359FF !important;
  border-color: #D359FF !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 16px rgba(211, 89, 255, 0.35) !important;
}

/* ==========================================================================
   Interactive Related Products Carousel ("Explore More Products")
   ========================================================================== */

.related-carousel-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 24px 0 10px;
}

.related-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 8px 4px 16px 4px;
  box-sizing: border-box;
}

.related-carousel-viewport::-webkit-scrollbar {
  display: none; /* WebKit */
}

.tantap-related-carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  box-sizing: border-box !important;
}

.tantap-related-carousel-track::before,
.tantap-related-carousel-track::after {
  display: none !important;
  content: none !important;
}

/* Desktop (> 768px): Exactly 4 product cards per row */
@media (min-width: 769px) {
  .tantap-related-carousel-track .tantap-product-card,
  .tantap-related-carousel-track .tt-product-card,
  .tantap-related-carousel-track .custom-product-card,
  .tantap-related-carousel-track li.product {
    flex: 0 0 calc((100% - (3 * 20px)) / 4) !important;
    max-width: calc((100% - (3 * 20px)) / 4) !important;
    min-width: calc((100% - (3 * 20px)) / 4) !important;
    box-sizing: border-box !important;
  }
}

/* Desktop Navigation Arrows (< and >) */
.carousel-nav-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border, #e2e8f0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--dark-text, #0f172a);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  padding: 0;
}

.carousel-nav-btn:hover {
  background: #7F54B3 !important;
  color: #ffffff !important;
  border-color: #7F54B3 !important;
  box-shadow: 0 6px 18px rgba(127, 84, 179, 0.35) !important;
  transform: translateY(-50%) scale(1.08) !important;
}

.carousel-nav-btn:disabled,
.carousel-nav-btn[aria-disabled="true"] {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
  transform: translateY(-50%) scale(1);
}

.carousel-prev {
  left: -20px;
}

.carousel-next {
  right: -20px;
}

/* Dynamic Swiping Indicator Dots */
.carousel-dots-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 16px !important;
  padding: 4px 0 !important;
}

.carousel-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #cbd5e1 !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.carousel-dot:hover {
  background: #94a3b8 !important;
}

.carousel-dot.is-active {
  width: 24px !important;
  background: #7F54B3 !important;
  box-shadow: 0 2px 6px rgba(127, 84, 179, 0.35) !important;
}

/* Mobile Touch Scroll-Snap (<= 768px) */
@media (max-width: 768px) {
  .carousel-nav-btn {
    display: none !important;
  }

  .related-carousel-viewport {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 6px 4px 14px 4px !important;
  }

  .tantap-related-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .tantap-related-carousel-track .tantap-product-card,
  .tantap-related-carousel-track .tt-product-card,
  .tantap-related-carousel-track .custom-product-card,
  .tantap-related-carousel-track li.product {
    flex: 0 0 calc(75% - 10px) !important;
    min-width: calc(75% - 10px) !important;
    max-width: calc(75% - 10px) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    box-sizing: border-box !important;
  }
}

/* Archive Template Layout & Utility Elements */
.tantap-archive-wrapper {
  padding-bottom: 60px;
}

.category-hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 20px;
  margin-top: 0 !important;
  margin-bottom: 30px;
  border-radius: 0 !important;
  text-align: center;
  color: #ffffff;
}

.hero-pill-category {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #e9d5ff;
  background: rgba(127, 84, 179, 0.45);
  border: 1px solid rgba(211, 89, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.archive-catalog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.archive-utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.tantap-breadcrumbs {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tantap-breadcrumbs a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 500;
}

.tantap-breadcrumbs a:hover {
  color: var(--primary);
}

.archive-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.archive-result-count {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.archive-ordering-wrap select.orderby {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  color: var(--dark-text);
  outline: none;
  cursor: pointer;
}

.archive-pagination-wrap {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.archive-pagination-wrap .page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-pagination-wrap .page-numbers li a,
.archive-pagination-wrap .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-text);
  text-decoration: none;
  background: #ffffff;
}

.archive-pagination-wrap .page-numbers li span.current {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.catalog-empty-card {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 40px 0;
}

/* ==========================================================================
   Responsive Rules for Single Product
   ========================================================================== */

@media (max-width: 960px) {
  .product-buybox-card {
    padding: 28px;
    border-radius: 16px;
  }
  .product-buybox-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px;
  }
  .product-gallery-sticky {
    position: static;
  }
  .reviews-overview-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .reviews-score-block {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-right: 0;
    padding-bottom: 20px;
  }
  .story-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
  .story-row.img-right .story-img-col {
    order: -1;
  }
}

@media (max-width: 768px) {
  .tantap-container,
  .tantap-container-narrow {
    padding: 0 16px !important;
  }
  
  .tantap-single-product-wrap {
    padding: 20px 0 60px;
  }

  /* Zig-zag storytelling: Clean 1-column stack, Image on top, Text underneath at 100% width */
  .story-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 24px 18px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .story-row .story-img-col {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .story-row .story-text-col {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .story-photo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  .tantap-catalog-grid,
  .woocommerce ul.products:not(.tantap-related-carousel-track):not(.deals70-track):not(.featured-track):not(.deals50-track),
  ul.products:not(.tantap-related-carousel-track):not(.deals70-track):not(.featured-track):not(.deals50-track) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-card-body {
    padding: 10px 12px 12px !important;
  }
  .product-card-title {
    font-size: 13.5px !important;
  }
  .product-card-price {
    font-size: 14.5px !important;
  }
  .product-card-excerpt {
    font-size: 11.5px !important;
    margin-bottom: 10px !important;
  }
  .btn-card-btn {
    height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 640px) {
  .product-buybox-card {
    padding: 18px 14px !important;
    border-radius: 14px;
  }
  .product-features-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px 10px !important;
  }
  .feature-item {
    padding: 8px 4px !important;
    min-width: 0 !important;
  }
  .feature-label {
    font-size: 11px !important;
  }
  .gallery-thumb-btn {
    width: 68px !important;
    height: 68px !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .product-actions-bar {
    column-gap: 8px !important;
    row-gap: 8px !important;
  }
  .product-actions-bar .btn-action-pill {
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    font-size: 11px !important;
    padding: 0 8px !important;
    gap: 5px !important;
  }
  .story-row {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
  .reviews-overview-card {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }
  .review-form-card {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }
  .customer-photo-strip-card {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }
  .review-item-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 480px) {
  .tantap-container,
  .tantap-container-narrow {
    padding: 0 12px !important;
  }
  .product-buybox-card {
    padding: 16px 12px !important;
    border-radius: 12px !important;
    margin-bottom: 36px !important;
  }
  .product-title {
    font-size: 24px !important;
  }
  .product-promo-banner {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .promo-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .promo-text {
    font-size: 12px !important;
  }
  .product-urgency-timer {
    padding: 10px 12px !important;
  }
  .timer-label-wrap {
    font-size: 12px !important;
  }
  .timer-num {
    padding: 2px 5px !important;
    font-size: 12px !important;
    min-width: 22px !important;
  }
  /* Row 1: Quantity + Add to Cart */
  .product-add-to-cart-wrap .quantity {
    flex: 0 0 76px !important;
    width: 76px !important;
    max-width: 76px !important;
    min-width: 76px !important;
    height: 44px !important;
  }
  .product-add-to-cart-wrap .quantity .qty-btn {
    width: 22px !important;
    font-size: 14px !important;
  }
  .product-add-to-cart-wrap .quantity input.qty {
    width: 28px !important;
    font-size: 14px !important;
  }
  .product-add-to-cart-wrap .single_add_to_cart_button {
    height: 44px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    letter-spacing: 0.3px !important;
  }
  /* Row 2: Buy Now */
  .product-add-to-cart-wrap .btn-buy-now,
  .tt-btn-buy-now,
  .single-product-buy-now,
  .btn-buy-now {
    height: 44px !important;
    font-size: 13px !important;
    margin: 0 0 8px 0 !important;
    margin-bottom: 8px !important;
  }
  /* Row 3: Wishlist + Compare compact display */
  .product-actions-bar {
    column-gap: 6px !important;
  }
  .product-actions-bar .btn-action-pill {
    width: calc(50% - 3px) !important;
    max-width: calc(50% - 3px) !important;
    padding: 0 6px !important;
    gap: 4px !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
    height: 42px !important;
  }
  .product-actions-bar .btn-action-pill svg {
    width: 15px !important;
    height: 15px !important;
  }
  .product-actions-bar .btn-text-prefix {
    display: none !important;
  }
  .variations th.label,
  .variations td.label {
    width: 55px !important;
    padding-right: 8px !important;
    font-size: 12px !important;
  }
  .variations td.value select {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
}

@media (max-width: 360px) {
  .tantap-container,
  .tantap-container-narrow {
    padding: 0 8px !important;
  }
  .product-buybox-card {
    padding: 14px 10px !important;
  }
  .product-add-to-cart-wrap .quantity {
    flex: 0 0 70px !important;
    width: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
  }
  .product-add-to-cart-wrap .quantity .qty-btn {
    width: 20px !important;
  }
  .product-add-to-cart-wrap .single_add_to_cart_button {
    font-size: 12px !important;
    padding: 0 6px !important;
  }
  .product-actions-bar .btn-action-pill {
    font-size: 10px !important;
    padding: 0 4px !important;
  }
}

/* ==========================================================================
   Summarized Mobile Product Description (Desktop 100% Untouched)
   ========================================================================== */
.product-mobile-storytelling,
.product-story-mobile,
.tt-desc-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .tantap-desktop-storytelling {
    display: none !important;
  }
  .product-mobile-storytelling,
  .product-story-mobile,
  .tt-desc-mobile {
    display: block !important;
    padding: 0 10px;
    margin: 25px 0 35px 0;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  /* Unified Heading & Body Text Colors on Mobile (Eliminating light blue / cyan) */
  .tt-desc-mobile h2,
  .tt-desc-mobile h3,
  .tt-desc-mobile h4,
  .product-story-mobile h2,
  .product-story-mobile h3,
  .product-story-mobile h4,
  .product-mobile-storytelling h2,
  .product-mobile-storytelling h3,
  .product-mobile-storytelling h4,
  .mobile-story-main-heading,
  .mobile-story-feat-title {
    color: var(--dark-text, #0f172a) !important;
    font-weight: 600 !important;
  }

  .tt-desc-mobile p,
  .tt-desc-mobile li,
  .product-story-mobile p,
  .product-story-mobile li,
  .product-mobile-storytelling p,
  .product-mobile-storytelling li,
  .mobile-story-feat-desc,
  .mobile-story-feat-desc p {
    color: var(--body-text, #475569) !important;
  }

  .mobile-story-main-heading {
    font-family: inherit;
    font-size: 24px;
    margin: 0 0 16px 0;
    line-height: 1.25;
  }
  .mobile-story-hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 20px;
    margin-bottom: 28px;
    box-sizing: border-box;
  }
  .mobile-story-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
  }
  .mobile-story-hero-content {
    position: relative;
    z-index: 2;
  }
  /* Photographic hero banner card uses white text for legibility over dark image overlay, matching desktop .story-hero-title */
  .mobile-story-hero-card .mobile-story-hero-title {
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff !important;
    text-shadow: 0 0 17px #000000;
    margin: 0 0 14px 0;
    line-height: 1.25;
  }
  .mobile-story-hero-card .mobile-story-hero-desc,
  .mobile-story-hero-card .mobile-story-hero-desc p {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff !important;
    text-shadow: 0 0 10px #000000;
    line-height: 1.6;
    margin: 0;
  }
  .mobile-story-features-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .mobile-story-feature-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-story-feat-title {
    font-family: inherit;
    font-size: 24px;
    margin: 0;
    line-height: 1.25;
  }
  .mobile-story-feat-desc,
  .mobile-story-feat-desc p {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
  }
  .mobile-story-feat-img-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 4px;
    box-sizing: border-box;
  }
  .mobile-story-feat-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
  }
}

/* ==========================================================================
   Homepage Master Styles: First 4 Containers
   ========================================================================== */

/* Zero horizontal scroll / overflow prevention */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

.tantap-homepage-wrapper {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Common fade transitions for dynamic rotations */
.sale-side-card,
.sale-center-spotlight-card,
.tech-card-left,
.tech-card-secondary {
  transition: opacity 0.3s ease-in-out, transform 0.25s ease, box-shadow 0.25s ease;
}

.fade-out {
  opacity: 0 !important;
}

/* --------------------------------------------------------------------------
   CONTAINER 1: 5-Category Hero Banner Slider
   -------------------------------------------------------------------------- */
.home-hero-slider-section {
  position: relative;
  width: 100%;
  height: 560px;
  min-height: 560px;
  overflow: hidden;
  background-color: #0f172a;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s ease;
  z-index: 1;
}

.hero-slide-item.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-slide-container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide-content {
  max-width: 640px;
  color: #ffffff;
  padding: 40px 0;
}

.hero-category-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d8b4fe;
  margin-bottom: 14px;
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-slide-desc {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px 0;
}

.hero-slide-cta {
  display: flex;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #7F54B3;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(127, 84, 179, 0.4);
  transition: all 0.25s ease;
}

.btn-hero-cta:hover {
  background-color: #6b21a8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(127, 84, 179, 0.55);
}

.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

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

.hero-dot.is-active {
  width: 32px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   CONTAINER 2: Value Proposition Trust Bar
   -------------------------------------------------------------------------- */
.home-trust-bar-section {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.trust-bar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.trust-icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3e8ff;
  color: #7F54B3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-text-box {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.trust-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   CONTAINER 3: "Products on Sale" Showcase
   -------------------------------------------------------------------------- */
.home-sale-showcase-section {
  padding: 60px 0 70px;
  background-color: #f8fafc;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.sale-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.sale-main-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.sale-cards-asymmetric-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Side Product Cards (Left & Right) */
.sale-side-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.sale-side-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Universal 10px inset gap & 8px border radius on card image */
.sale-card-thumb-wrap {
  position: relative;
  padding: 10px;
  background: #f8fafc;
  border-radius: 16px 16px 0 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sale-card-img-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.sale-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sale-side-card:hover .sale-card-img {
  transform: scale(1.04);
}

.sale-discount-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #ef4444;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.sale-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sale-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sale-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sale-card-title a:hover {
  color: #7F54B3;
}

.sale-card-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #7F54B3;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sale-card-price del {
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
}

.sale-card-price ins {
  text-decoration: none;
  color: #7F54B3;
}

.sale-card-excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Countdown Timer */
.sale-countdown-box {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
  text-align: center;
}

.countdown-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #c2410c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.countdown-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.c-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-val {
  background: #ea580c;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  min-width: 26px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.25);
}

.c-lbl {
  font-size: 9px;
  font-weight: 600;
  color: #9a3412;
  margin-top: 2px;
}

.c-sep {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #ea580c;
  font-size: 14px;
}

/* Side Card Actions (Dual Stacked Buttons) */
.sale-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-card-cart {
  background: #ffffff;
  color: #7F54B3 !important;
  border: 1.5px solid #7F54B3;
}

.btn-card-cart:hover {
  background: #f3e8ff;
  color: #6b21a8 !important;
}

.btn-card-buy-now {
  background: #7F54B3;
  color: #ffffff !important;
  border: 1.5px solid #7F54B3;
}

.btn-card-buy-now:hover {
  background: #6b21a8;
  border-color: #6b21a8;
  color: #ffffff !important;
}

/* Center Spotlight Card */
.sale-center-spotlight-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.5) 45%, rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
  pointer-events: none;
}

.spotlight-hot-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: #ef4444;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
}

.spotlight-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.spotlight-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 22px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-spotlight-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 34px;
  background-color: #7F54B3;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(127, 84, 179, 0.45);
  transition: all 0.25s ease;
}

.btn-spotlight-buy:hover {
  background-color: #6b21a8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(127, 84, 179, 0.6);
}

/* --------------------------------------------------------------------------
   CONTAINER 4: "Top Tech Picks for Every Lifestyle" (Electronics Showcase)
   -------------------------------------------------------------------------- */
.home-tech-showcase-section {
  padding: 60px 0 80px;
  background-color: #ffffff;
}

.tech-showcase-asymmetric-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Left: Large Featured Image Card */
.tech-card-left {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 32px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}

.tech-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.5) 55%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.tech-card-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  margin-top: auto;
}

.tech-card-prod-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.tech-card-subtitle {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #d8b4fe;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 18px 0;
}

.btn-tech-shop-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 30px;
  background-color: #7F54B3;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(127, 84, 179, 0.35);
  transition: all 0.25s ease;
}

.btn-tech-shop-now:hover {
  background-color: #6b21a8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(127, 84, 179, 0.5);
}

.tech-card-footnote {
  position: relative;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
  line-height: 1.45;
}

/* Right Column */
.tech-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Marketing Copywriting Box */
.tech-marketing-box {
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tech-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

.tech-main-paragraph {
  font-family: var(--font-body);
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 22px 0;
}

.btn-tech-discover-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  background-color: #0f172a;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-tech-discover-more:hover {
  background-color: #7F54B3;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(127, 84, 179, 0.35);
}

/* Secondary Compact Product Card */
.tech-card-secondary {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 240px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   CONTAINER 6: INNOVATIVE CATEGORY MARQUEE / TICKER STRIP
   ========================================================================== */
.home-marquee-section {
  background: linear-gradient(90deg, #0b0f19 0%, #1e1b4b 50%, #0b0f19 100%);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track-container {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.marquee-scroll-wrap {
  display: inline-flex;
  white-space: nowrap;
  animation: homeMarquee 28s linear infinite;
  will-change: transform;
}

.home-marquee-section:hover .marquee-scroll-wrap {
  animation-play-state: paused;
}

.marquee-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  color: #f8fafc;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.marquee-item:hover {
  color: #c084fc;
}

.marquee-sep {
  margin-left: 28px;
  color: #a855f7;
  font-size: 14px;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.6));
}

@keyframes homeMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   CONTAINER 7: BIG DEALS, BIGGER SAVINGS – UP TO 70% OFF!
   ========================================================================== */
.home-deals70-section {
  padding: 60px 0 70px;
  background-color: #ffffff;
}

.deals70-header-block {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.deals70-main-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.deals70-main-subtext {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.deals70-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.deals70-carousel-col {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.deals70-controls-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.deals-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.deals-nav-btn:hover {
  background: #7F54B3;
  color: #ffffff;
  border-color: #7F54B3;
  transform: translateY(-2px);
}

.deals70-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 14px;
}

.deals70-viewport::-webkit-scrollbar {
  display: none;
}

.deals70-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 4px 2px 14px !important;
  list-style: none !important;
}

.deals70-track > .tantap-product-card,
.deals70-track > .product {
  flex: 0 0 calc((100% - 20px) / 2) !important;
  min-width: calc((100% - 20px) / 2) !important;
  max-width: calc((100% - 20px) / 2) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  float: none !important;
}

.deals70-banner-col {
  display: flex;
  align-items: stretch;
}

.deals70-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deals70-banner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.deals70-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.deals70-reassurance-footer {
  text-align: center;
  margin-top: 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   CONTAINER 8: BRAND STORY FEATURE BLOCK
   ========================================================================== */
.home-brand-story-section {
  padding: 70px 0 80px;
  background-color: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.brand-story-media-col {
  position: relative;
}

.brand-story-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.brand-story-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.brand-story-img-wrap:hover .brand-story-img {
  transform: scale(1.03);
}

.brand-story-content-col {
  display: flex;
  flex-direction: column;
}

.brand-story-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: #7F54B3;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.brand-story-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.brand-story-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7F54B3, #d946ef);
  border-radius: 2px;
  margin-bottom: 18px;
}

.brand-story-paragraph {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 24px;
}

.brand-story-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-story-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
}

.checklist-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.brand-story-signature {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #1f2937;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-brand-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #7F54B3;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(127, 84, 179, 0.25);
}

.btn-brand-story-cta:hover {
  background-color: #D359FF;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 89, 255, 0.35);
}

/* ==========================================================================
   CONTAINER 9: PERFORMANCE MEETS STYLE (DUAL BANNERS)
   ========================================================================== */
.home-performance-section {
  padding: 60px 0 70px;
  background-color: #ffffff;
}

.performance-header-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.performance-main-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.performance-main-subtext {
  font-family: var(--font-body);
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.performance-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.performance-banner-card {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.performance-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.performance-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.performance-banner-card:hover .performance-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.performance-card-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.performance-badge {
  display: inline-block;
  background-color: #ef4444;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.performance-card-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.performance-card-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin-bottom: 20px;
}

.btn-performance-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #111827;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.performance-banner-card:hover .btn-performance-cta {
  background: #7F54B3;
  color: #ffffff;
  transform: translateX(4px);
}

.performance-card-full-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ==========================================================================
   CONTAINER 10: "FEATURED PRODUCTS" CAROUSEL
   ========================================================================== */
.home-featured-section {
  padding: 60px 0 80px;
  background-color: #fcfcfd;
  border-top: 1px solid #f1f5f9;
}

.featured-header-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.featured-main-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.5px;
}

.featured-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.featured-nav-btn:hover {
  background: #7F54B3;
  color: #ffffff;
  border-color: #7F54B3;
  transform: translateY(-2px);
}

.featured-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 14px;
}

.featured-viewport::-webkit-scrollbar {
  display: none;
}

.featured-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 4px 2px 14px !important;
  list-style: none !important;
}

/* Desktop: EXACTLY 4 CARDS VISIBLE PER VIEW */
.featured-track > .tantap-product-card,
.featured-track > .product {
  flex: 0 0 calc((100% - 72px) / 4) !important;
  min-width: calc((100% - 72px) / 4) !important;
  max-width: calc((100% - 72px) / 4) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  float: none !important;
}

.featured-dots-wrap {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.featured-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.featured-dot.is-active {
  width: 22px;
  border-radius: 10px;
  background-color: #7F54B3;
}

/* ==========================================================================
   CONTAINER 11: VIBRANT PROMO STRIP ("LOOK GOOD. FEEL SMART. SHOP BETTER.")
   ========================================================================== */
.home-promo-strip-section {
  padding: 40px 0 60px;
  background-color: #ffffff;
}

.promo-strip-card {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 48px 56px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-strip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.promo-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.25) 100%);
  z-index: 1;
}

.promo-strip-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #ffffff;
}

.promo-strip-badge {
  display: inline-block;
  background-color: #ef4444;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.promo-strip-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.promo-strip-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
}

.btn-promo-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #7F54B3;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(127, 84, 179, 0.35);
  position: relative;
  z-index: 3;
}

.btn-promo-strip-cta:hover {
  background-color: #D359FF;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(211, 89, 255, 0.45);
}

.promo-strip-full-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ==========================================================================
   CONTAINER 12: SPLIT "SAVE 50%" PROMOTIONAL GRID
   ========================================================================== */
.home-deals50-section {
  padding: 60px 0 70px;
  background-color: #ffffff;
}

.deals50-header-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.deals50-main-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.deals50-main-subtext {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.deals50-layout-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  align-items: stretch;
}

.deals50-banner-col {
  display: flex;
  align-items: stretch;
}

.deals50-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deals50-banner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.deals50-banner-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.deals50-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.deals50-carousel-col {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.deals50-controls-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.deals50-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 14px;
}

.deals50-viewport::-webkit-scrollbar {
  display: none;
}

.deals50-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 4px 2px 14px !important;
  list-style: none !important;
}

.deals50-track > .tantap-product-card,
.deals50-track > .product {
  flex: 0 0 calc((100% - 20px) / 2) !important;
  min-width: calc((100% - 20px) / 2) !important;
  max-width: calc((100% - 20px) / 2) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  float: none !important;
}

.deals50-reassurance-footer {
  text-align: center;
  margin-top: 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   CONTAINER 13: "JOIN OUR VIP CLUB" (NEWSLETTER & CUSTOMER REGISTRATION)
   ========================================================================== */
.home-vip-section {
  padding: 60px 0 70px;
  background-color: #f8fafc;
}

.vip-club-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
  border-radius: 24px;
  padding: 56px 40px;
  box-shadow: 0 16px 40px rgba(30, 27, 75, 0.2);
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.vip-club-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(127, 84, 179, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.vip-club-header {
  max-width: 680px;
  margin: 0 auto 34px;
  position: relative;
  z-index: 1;
}

.vip-eyebrow-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e9d5ff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.vip-club-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.vip-club-subtext {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.vip-club-form {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vip-form-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.vip-input-wrap {
  flex: 1 1 0;
  min-width: 0;
}

.vip-input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 0 18px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.vip-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.vip-input:focus {
  outline: none;
  border-color: #c084fc;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.25);
}

.btn-vip-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #7F54B3 0%, #a855f7 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
  flex-shrink: 0;
}

.btn-vip-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.55);
  background: linear-gradient(135deg, #9333ea 0%, #c084fc 100%);
}

.btn-vip-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.vip-form-alert {
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.vip-form-alert.success,
.vip-form-alert.is-success {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #86efac;
}

.vip-form-alert.error,
.vip-form-alert.is-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* ==========================================================================
   CONTAINER 14: SOCIAL PROOF & TESTIMONIAL BUBBLE CAROUSEL
   ========================================================================== */
.home-testimonials-section {
  padding: 60px 0 80px;
  background-color: #ffffff;
  overflow: hidden;
}

.testimonials-header-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.testimonials-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: #7F54B3;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.testimonials-main-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.testimonials-main-subtext {
  font-family: var(--font-body);
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.testimonials-viewport {
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0 20px;
  user-select: none;
}

.testimonials-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.testimonial-chat-card {
  flex: 0 0 auto;
  width: 340px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  border: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 8px;
  box-sizing: border-box;
}

.testimonial-chat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.testimonial-bubble-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  pointer-events: none;
}

/* ==========================================================================
   CONTAINER 14: DESKTOP SCALE-UP REFINEMENT (>= 769px)
   ========================================================================== */
@media (min-width: 769px) {
  .testimonial-chat-card,
  .testimonial-card,
  .tt-testimonial-slide {
    flex: 0 0 440px !important;
    width: 440px !important;
    min-width: 440px !important;
    max-width: 440px !important;
    height: auto !important;
    min-height: 270px !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
  }

  .testimonial-chat-card img,
  .testimonial-bubble-img,
  .testimonial-card img,
  .tt-testimonial-bubble-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE HOMEPAGE STYLES (<= 768px & <= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Container 1: Hero Banner (Zoomed Out & Clean Breathing Room) */
  .hero-slider-container,
  .home-hero-slider-section,
  .hero-slider-track,
  .hero-slide-item,
  .hero-slide-bg {
    height: 300px !important;
    min-height: 280px !important;
    max-height: 320px !important;
  }
  .hero-slide-bg,
  .hero-slide-item {
    background-size: cover !important;
    background-position: center center !important;
  }
  .hero-slide-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
  }
  .hero-slide-content {
    padding: 20px 24px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-category-tag {
    font-size: 11px !important;
    margin-bottom: 6px !important;
    letter-spacing: 1.5px !important;
  }
  .hero-slide-title {
    font-size: 21px !important;
    line-height: 1.25 !important;
    margin: 0 0 8px 0 !important;
  }
  .hero-slide-desc {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    max-width: 90% !important;
    margin: 0 0 12px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .hero-slide-cta {
    display: flex !important;
  }
  .btn-hero-cta {
    padding: 8px 18px !important;
    font-size: 13px !important;
    gap: 6px !important;
    height: auto !important;
  }
  .btn-hero-cta svg {
    width: 14px !important;
    height: 14px !important;
  }
  .hero-slider-dots {
    bottom: 12px !important;
    gap: 8px !important;
  }
  .hero-dot {
    width: 8px !important;
    height: 8px !important;
  }
  .hero-dot.is-active {
    width: 22px !important;
  }

  /* Container 2: Value Proposition Trust Bar - STRICT SINGLE LINE ON MOBILE */
  .home-trust-bar-section {
    padding: 14px 0 !important;
  }
  .trust-bar-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 4px !important;
    width: 100% !important;
  }
  .trust-bar-item {
    flex: 1 1 25% !important;
    max-width: 25% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 5px !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }
  .trust-icon-box {
    width: 32px !important;
    height: 32px !important;
  }
  .trust-icon-box svg {
    width: 18px !important;
    height: 18px !important;
  }
  .trust-text-box {
    align-items: center !important;
  }
  .trust-title {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    word-break: break-word !important;
  }
  .trust-desc {
    font-size: 8px !important;
    line-height: 1.15 !important;
    color: #94a3b8 !important;
  }

  /* Container 3: Products on Sale */
  .home-sale-showcase-section {
    padding: 40px 0 50px;
  }
  .section-header-center {
    margin-bottom: 26px;
  }
  .sale-main-heading {
    font-size: 24px;
  }
  .sale-main-subtitle {
    font-size: 13px;
  }
  .sale-cards-asymmetric-wrap {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .sale-center-spotlight-card {
    min-height: 360px;
    padding: 24px 20px;
  }

  /* Container 4: Electronics Showcase */
  .home-tech-showcase-section {
    padding: 40px 0 50px;
  }
  .tech-showcase-asymmetric-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .tech-card-left {
    min-height: 380px;
    padding: 24px 20px;
  }
  .tech-marketing-box {
    padding: 24px 20px;
  }
  .tech-card-secondary {
    min-height: 240px;
    padding: 20px 18px;
  }

  /* Container 6: Marquee Mobile */
  .home-marquee-section {
    padding: 10px 0 !important;
  }
  .marquee-item {
    font-size: 13.5px !important;
    padding: 0 16px !important;
  }
  .marquee-sep {
    margin-left: 16px !important;
    font-size: 12px !important;
  }

  /* Container 7: Up to 70% Off Mobile */
  .home-deals70-section {
    padding: 40px 0 50px !important;
  }
  .deals70-header-block {
    margin-bottom: 22px !important;
  }
  .deals70-main-heading {
    font-size: 22px !important;
  }
  .deals70-main-subtext {
    font-size: 13.5px !important;
  }
  .deals70-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .deals70-banner-col {
    order: 1 !important;
  }
  .deals70-carousel-col {
    order: 2 !important;
  }
  .deals70-banner-img {
    max-height: 240px !important;
    object-fit: cover !important;
  }
  .deals70-track {
    gap: 12px !important;
  }
  .deals70-track > .tantap-product-card,
  .deals70-track > .product {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    min-width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
  }

  /* Container 8: Brand Story Mobile */
  .home-brand-story-section {
    padding: 45px 0 55px !important;
  }
  .brand-story-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .brand-story-heading {
    font-size: 26px !important;
  }
  .brand-story-paragraph {
    font-size: 14px !important;
  }
  .brand-story-checklist li {
    font-size: 13.5px !important;
  }
  .brand-story-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  /* Container 9: Performance Dual Banners Mobile */
  .home-performance-section {
    padding: 40px 0 50px !important;
  }
  .performance-header-block {
    margin-bottom: 24px !important;
  }
  .performance-main-heading {
    font-size: 24px !important;
  }
  .performance-main-subtext {
    font-size: 13.5px !important;
  }
  .performance-dual-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .performance-banner-card {
    min-height: 260px !important;
    padding: 24px 20px !important;
  }
  .performance-card-title {
    font-size: 22px !important;
  }
  .performance-card-desc {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  /* Container 10: Featured Products Mobile (EXACTLY 2 CARDS PER VIEW) */
  .home-featured-section {
    padding: 40px 0 50px !important;
  }
  .featured-header-block {
    margin-bottom: 20px !important;
  }
  .featured-main-heading {
    font-size: 24px !important;
  }
  .featured-nav-controls {
    display: none !important;
  }
  .featured-track {
    gap: 12px !important;
  }
  .featured-track > .tantap-product-card,
  .featured-track > .product {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    min-width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
  }
  .featured-dots-wrap {
    display: flex !important;
  }

  /* Container 11: Promo Strip Mobile */
  .home-promo-strip-section {
    padding: 25px 0 35px !important;
  }
  .promo-strip-card {
    min-height: 220px !important;
    max-height: 280px !important;
    padding: 24px 20px !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  .promo-strip-title {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }
  .promo-strip-desc {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .btn-promo-strip-cta {
    padding: 9px 18px !important;
    font-size: 13px !important;
  }

  /* Container 12: Split 50% Off Mobile */
  .home-deals50-section {
    padding: 40px 0 50px !important;
  }
  .deals50-header-block {
    margin-bottom: 22px !important;
  }
  .deals50-main-heading {
    font-size: 22px !important;
  }
  .deals50-main-subtext {
    font-size: 13.5px !important;
  }
  .deals50-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .deals50-banner-col {
    order: 1 !important;
  }
  .deals50-carousel-col {
    order: 2 !important;
  }
  .deals50-banner-img {
    max-height: 240px !important;
    object-fit: cover !important;
  }
  .deals50-track {
    gap: 12px !important;
  }
  .deals50-track > .tantap-product-card,
  .deals50-track > .product {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    min-width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
  }

  /* Container 13: VIP Club Mobile */
  .home-vip-section {
    padding: 40px 0 50px !important;
  }
  .vip-club-card {
    padding: 32px 20px !important;
    border-radius: 18px !important;
  }
  .vip-club-heading {
    font-size: 22px !important;
  }
  .vip-club-subtext {
    font-size: 13.5px !important;
  }
  .vip-form-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .btn-vip-submit {
    width: 100% !important;
    height: 48px !important;
  }

  /* Container 14: Testimonials Mobile */
  .home-testimonials-section {
    padding: 40px 0 50px !important;
  }
  .testimonials-header-block {
    margin-bottom: 22px !important;
  }
  .testimonials-main-heading {
    font-size: 22px !important;
  }
  .testimonials-main-subtext {
    font-size: 13.5px !important;
  }
  .testimonials-viewport {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .testimonials-viewport::-webkit-scrollbar {
    display: none !important;
  }
  .testimonials-track {
    gap: 12px !important;
  }
  .testimonial-chat-card,
  .testimonial-card,
  .tt-testimonial-slide {
    width: 86vw !important;
    min-width: 86vw !important;
    max-width: 360px !important;
    flex: 0 0 86vw !important;
    flex-shrink: 0 !important;
    height: auto !important;
    min-height: 190px !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
  }
  .testimonial-chat-card img,
  .testimonial-bubble-img,
  .testimonial-card img,
  .tt-testimonial-bubble-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .promo-strip-title {
    font-size: 18px !important;
  }
  .promo-strip-card {
    padding: 20px 16px !important;
  }
  .vip-club-card {
    padding: 24px 16px !important;
  }
  .vip-club-heading {
    font-size: 20px !important;
  }
  .trust-title {
    font-size: 8.5px !important;
  }
  .trust-desc {
    font-size: 7.5px !important;
  }
  .trust-icon-box {
    width: 28px !important;
    height: 28px !important;
  }
  .trust-icon-box svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* ==========================================================================
   OFFICIAL 3-TIER GLOBAL HEADER (Desktop > 768px & Mobile <= 768px)
   ========================================================================== */

.tt-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tt-header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- TIER 1: Top Announcement & Contact Bar --- */
.tt-tier-top {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  height: 38px;
  display: flex;
  align-items: center;
}

.tt-tier-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.tt-announcement-ticker {
  height: 38px;
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.tt-ticker-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.tt-ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1e293b;
  white-space: nowrap;
}

.tt-ticker-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tt-top-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.tt-top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tt-top-contact-link:hover {
  color: var(--primary);
}

.tt-whatsapp-link .tt-contact-svg {
  fill: #25D366;
}

.tt-email-link .tt-contact-svg {
  fill: #64748b;
}

.tt-email-link:hover .tt-contact-svg {
  fill: var(--primary);
}

/* --- TIER 2: Main Bar & Utility Actions --- */
.tt-tier-main {
  background: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.tt-tier-main-inner {
  width: 100%;
}

.tt-desktop-main-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tt-mobile-main-bar {
  display: none;
}

.tt-brand-logo {
  flex-shrink: 0;
}

.tt-logo-link {
  display: block;
  line-height: 0;
}

/* Base Logo Rendering: Smooth, natural anti-aliased rendering */
.site-logo img,
.custom-logo,
.tt-logo img,
.tt-logo-img,
.tt-drawer-logo {
  image-rendering: auto !important;
  object-fit: contain !important;
  display: block;
}

@media (min-width: 769px) {
  .site-logo img,
  .custom-logo,
  .tt-logo img,
  .tt-logo-img {
    height: 72px !important;
    max-height: 75px !important;
    width: auto !important;
    max-width: 200px !important;
  }
}

/* Search Form (3-Part: Category Dropdown + Input + Square Black Button) */
.tt-search-container {
  flex: 1;
  max-width: 640px;
  margin: 0 16px;
}

.tt-product-search-form {
  width: 100%;
  margin: 0;
}

.tt-search-group {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  height: 44px;
}

.tt-search-group:focus-within {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.tt-search-cat-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 0 28px 0 16px;
  flex-shrink: 0;
}

.tt-search-cat-select {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 4px;
}

.tt-select-arrow {
  position: absolute;
  right: 12px;
  pointer-events: none;
  font-size: 11px;
  color: #64748b;
}

.tt-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #0f172a;
  min-width: 0;
  background: transparent;
}

.tt-search-input::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
}

.tt-search-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  width: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.tt-search-btn:hover {
  background: var(--primary);
}

/* Utility Action Icons */
.tt-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.tt-action-btn {
  display: inline-flex;
  align-items: center;
  color: #0f172a;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tt-action-btn:hover {
  color: var(--primary);
}

.tt-action-btn .tt-icon-action {
  transition: transform 0.2s ease;
}

.tt-action-btn:hover .tt-icon-action {
  transform: translateY(-2px);
}

.tt-header-cart-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tt-header-cart-price {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.tt-header-cart-icon-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Smart Counter Badges (Hide completely when 0) */
.tt-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  background: #FF4F40;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(255, 79, 64, 0.4);
}

.tt-badge:empty,
.tt-badge[data-count="0"],
.tt-badge[data-count=""] {
  display: none !important;
}

/* --- TIER 3: Purple Navigation Bar (#7F54B3) --- */
.tt-tier-nav {
  background: #7F54B3;
  color: #ffffff;
  height: 46px;
  display: flex;
  align-items: center;
}

.tt-tier-nav-inner {
  width: 100%;
  height: 100%;
}

.tt-desktop-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.tt-mobile-nav-bar {
  display: none;
}

.tt-nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.tt-nav-item {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.tt-nav-item:hover,
.tt-nav-item.is-active,
.tt-desktop-nav-bar .tt-nav-left a:hover,
.tt-desktop-nav-bar .tt-nav-left a.is-active {
  background: #D359FF !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.tt-nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 16px;
  display: inline-block;
}

.tt-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.tt-nav-cat-item {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.tt-nav-cat-item:hover,
.tt-nav-cat-item.is-active,
.tt-desktop-nav-bar .tt-nav-right a:hover,
.tt-desktop-nav-bar .tt-nav-right a.is-active,
.tt-tier-nav .current-menu-item > a,
.tt-tier-nav .is-active {
  background: #D359FF !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* --- OFFCANVAS MOBILE DRAWER & BACKDROP --- */
.tt-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tt-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.tt-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86vw;
  max-width: 350px;
  background: #ffffff;
  z-index: 10001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
}

.tt-mobile-drawer.is-open {
  transform: translateX(0);
}

.tt-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.tt-drawer-logo {
  max-height: 34px;
  width: auto;
  display: block;
}

.tt-drawer-close-btn {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 22px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tt-drawer-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.tt-drawer-search {
  padding: 16px 20px 10px;
}

.tt-drawer-search-form {
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  background: #f8fafc;
  height: 42px;
}

.tt-drawer-search-form:focus-within {
  border-color: #0f172a;
  background: #ffffff;
}

.tt-drawer-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #0f172a;
}

.tt-drawer-search-submit {
  background: #0f172a;
  color: #ffffff;
  border: none;
  width: 42px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.tt-drawer-section {
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.tt-drawer-section-title {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 10px;
  font-weight: 700;
}

.tt-drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tt-drawer-list li {
  margin: 0;
  border-bottom: 1px solid #f8fafc;
}

.tt-drawer-list li:last-child {
  border-bottom: none;
}

.tt-drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  color: #1e293b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.tt-drawer-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.tt-drawer-list a svg {
  color: #94a3b8;
}

.tt-drawer-footer {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  margin-top: auto;
}

.tt-drawer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  font-family: var(--font-heading);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (@media max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .tt-header-container {
    padding: 0 14px;
  }

  /* Tier 1 Mobile: Compact & Flush Announcement Bar */
  .top-announcement-bar,
  .tt-top-bar,
  .tt-tier-top {
    margin: 0 !important;
    padding: 5px 0 !important;
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
  }
  .tt-tier-top-inner {
    padding: 0 4px !important;
    width: 100% !important;
    height: auto !important;
  }
  .tt-top-contacts {
    display: none !important;
  }
  .tt-announcement-ticker {
    width: 100% !important;
    height: 18px !important;
    min-height: 18px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .tt-ticker-track {
    position: relative !important;
    width: 100% !important;
    height: 18px !important;
    min-height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .tt-ticker-item {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: clamp(8px, 2.25vw, 10.5px) !important;
    letter-spacing: 0px !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
  }
  .tt-ticker-item.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Tier 2 Mobile */
  .tt-desktop-main-bar {
    display: none !important;
  }
  .tt-mobile-main-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }
  .tt-tier-main {
    padding: 10px 0;
  }

  .tt-mob-col {
    display: flex;
    align-items: center;
  }
  .tt-mob-col-left {
    flex: 1 !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }
  .tt-mob-col-center {
    flex: 0 0 auto !important;
    justify-content: center !important;
  }
  .site-logo img,
  .custom-logo,
  .tt-logo img,
  .tt-mob-col-center .tt-logo-img,
  .tt-logo-img {
    height: 52px !important;
    max-height: 55px !important;
    width: auto !important;
    max-width: 145px !important;
    display: block !important;
    image-rendering: auto !important;
    object-fit: contain !important;
  }
  .tt-mob-col-right {
    flex: 1 !important;
    justify-content: flex-end !important;
    gap: 12px !important;
  }

  .tt-mob-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    color: #0f172a !important;
    text-decoration: none !important;
    position: relative !important;
    padding: 2px !important;
  }
  .tt-mob-action-btn .tt-icon-action,
  .tt-mob-action-btn .tt-icon-cart {
    width: 19px !important;
    height: 19px !important;
    display: block !important;
  }

  .tt-mobile-cart-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
  }
  .tt-mobile-cart-price {
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
  }
  .tt-mobile-cart-icon-box {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* Tier 3 Mobile */
  .tt-desktop-nav-bar {
    display: none !important;
  }
  .tt-mobile-nav-bar {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
  }
  .tt-tier-nav {
    height: 42px;
  }

  .tt-hamburger-btn {
    flex-shrink: 0 !important;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 26px;
  }
  .tt-hamburger-bar {
    width: 100%;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .tt-mob-nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    text-align: center !important;
    gap: 6px !important;
    padding-right: 30px !important; /* Offsets hamburger for true screen centering */
  }
  .tt-mob-nav-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 0.3px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
    white-space: nowrap !important;
  }
  .tt-mob-nav-link:hover,
  .tt-mob-nav-link.is-active {
    background: #5e398f !important;
  }

  /* Universal Page Banner Standards (Mobile): Flush alignment, Square corners & Mobile Background */
  .page-hero-banner,
  .shop-banner,
  .category-banner,
  .category-hero-banner,
  .about-hero-banner,
  .hero-banner {
    margin-top: 0 !important;
    border-radius: 0 !important;
    padding: 48px 16px !important;
  }
  .page-hero-banner.has-bg,
  .about-hero-banner.has-bg {
    background-image: var(--banner-bg-mobile, var(--banner-bg-desktop)) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* Explicit Fallbacks for All 10 Core Mobile Hero Banners (Mobile Only <= 768px) */
  .page-hero-banner.hero-about,
  .about-hero-banner.hero-about,
  .about-hero-banner {
    background-image: url('/wp-content/uploads/2025/07/about-us.phone_.avif') !important;
  }
  .page-hero-banner.hero-contact {
    background-image: url('/wp-content/uploads/2025/07/contact-us.phone_.avif') !important;
  }
  .page-hero-banner.hero-privacy {
    background-image: url('/wp-content/uploads/2025/07/privacy-policie.phone_.avif') !important;
  }
  .page-hero-banner.hero-refund {
    background-image: url('/wp-content/uploads/2025/07/REFUND.phone_.avif') !important;
  }
  .page-hero-banner.hero-qa {
    background-image: url('/wp-content/uploads/2025/07/FAQ.phone_.avif') !important;
  }
  .page-hero-banner.hero-cart {
    background-image: url('/wp-content/uploads/2025/07/cart.phone_.avif') !important;
  }
  .page-hero-banner.hero-checkout {
    background-image: url('/wp-content/uploads/2025/07/cart.phone_.avif') !important;
  }
  .page-hero-banner.hero-my-account {
    background-image: url('/wp-content/uploads/2025/07/my-account.phone_.avif') !important;
  }
  .page-hero-banner.hero-wishlist {
    background-image: url('/wp-content/uploads/2025/07/wishlist.phone_.avif') !important;
  }
  .page-hero-banner.hero-compare {
    background-image: url('/wp-content/uploads/2025/07/compare.phone_.avif') !important;
  }

  .page-hero-banner.hero-about,
  .about-hero-banner,
  .page-hero-banner.hero-contact,
  .page-hero-banner.hero-privacy,
  .page-hero-banner.hero-refund,
  .page-hero-banner.hero-qa,
  .page-hero-banner.hero-cart,
  .page-hero-banner.hero-checkout,
  .page-hero-banner.hero-my-account,
  .page-hero-banner.hero-wishlist,
  .page-hero-banner.hero-compare {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* ==========================================================================
   INTERACTIVE SLIDE-OUT SIDEBARS (Cart, Wishlist, Compare)
   ========================================================================== */
.tt-side-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tt-side-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.tt-side-drawer,
.tt-sidebar-drawer,
.tt-cart-drawer,
.cart-sidebar,
.tt-wishlist-drawer,
.wishlist-sidebar,
.tt-compare-drawer,
.compare-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(236, 228, 255, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.tt-side-drawer.is-open {
  transform: translateX(0);
}

/* 1. Header Zone */
.tt-side-drawer-header,
.tt-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(127, 84, 179, 0.15);
  background: rgba(236, 228, 255, 0.80) !important;
  flex-shrink: 0;
}

.tt-side-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tt-side-drawer-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.2px;
}

.tt-side-drawer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #7F54B3;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.tt-side-drawer-close {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.tt-side-drawer-close:hover {
  color: #0f172a;
  background: rgba(127, 84, 179, 0.12);
}

/* 2. Middle Scrollable Product List Zone */
.tt-side-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  box-sizing: border-box;
}

/* Empty State */
.tt-side-drawer-empty {
  text-align: center;
  padding: 40px 16px;
}

.tt-drawer-empty-icon {
  margin-bottom: 14px;
  opacity: 0.85;
}

.tt-drawer-empty-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}

.tt-drawer-empty-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.4;
}

.tt-drawer-empty-btn {
  display: inline-block;
  background: #7F54B3;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.tt-drawer-empty-btn:hover {
  background: #6a429a;
  transform: translateY(-1px);
}

/* Item List */
.tt-side-drawer-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tt-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(127, 84, 179, 0.12);
  border-radius: 10px;
  position: relative;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.tt-drawer-item:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(127, 84, 179, 0.08);
}

.tt-drawer-item-thumb-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-drawer-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tt-drawer-item-details {
  flex: 1;
  min-width: 0;
}

.tt-drawer-item-category {
  font-size: 10.5px;
  font-weight: 600;
  color: #7F54B3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-drawer-item-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: block;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.tt-drawer-item-title:hover {
  color: #7F54B3;
}

.tt-drawer-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.tt-drawer-item-price {
  font-weight: 700;
  color: #0f172a;
}

/* Currency symbol and price baseline alignment (Desktop & Mobile) */
.tt-drawer-item-price,
.tt-drawer-subtotal-price,
.tt-drawer-total-price,
.woocommerce-Price-amount {
  display: inline-flex !important;
  align-items: baseline !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1 !important;
  gap: 0 !important;
}

.woocommerce-Price-currencySymbol {
  font-size: 15px !important;
  margin-right: 1px !important;
}

/* Remove regular/strikethrough price from Wishlist & Compare */
.tt-wishlist-drawer .tt-drawer-item-price del,
.tt-compare-drawer .tt-drawer-item-price del,
.wishlist-sidebar .tt-drawer-item-price del,
.compare-sidebar .tt-drawer-item-price del {
  display: none !important;
}

.tt-drawer-item-qty {
  font-size: 12px;
  color: #64748b;
}

.tt-drawer-item-remove {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.tt-drawer-item-remove:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.tt-drawer-item-remove svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* 3. Bottom Sticky Footer Zone (NEVER HIDDEN) */
.tt-side-drawer-footer,
.tt-drawer-footer {
  position: sticky;
  bottom: 0;
  background: rgba(236, 228, 255, 0.80) !important;
  padding: 16px;
  border-top: 1px solid rgba(127, 84, 179, 0.15);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  z-index: 2;
}

.tt-drawer-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tt-drawer-total-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.tt-drawer-total-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.tt-drawer-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tt-drawer-btn {
  display: block;
  width: 100% !important;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-radius: 8px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

/* Upper Button: White background / purple text */
.tt-drawer-btn-secondary {
  background: #ffffff !important;
  color: #7F54B3 !important;
  border: 1.5px solid #7F54B3 !important;
}

.tt-drawer-btn-secondary:hover {
  background: #f5f0ff !important;
  border-color: #6a429a !important;
  color: #6a429a !important;
}

/* Lower Button: Solid brand purple #7F54B3, white bold text */
.tt-drawer-btn-primary {
  background: #7F54B3 !important;
  color: #ffffff !important;
  border: 1.5px solid #7F54B3 !important;
}

.tt-drawer-btn-primary:hover {
  background: #6a429a !important;
  border-color: #6a429a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   PAGE HEADER BANNERS ON DESKTOP (EXPANDED HEIGHT & FULL IMAGE SIZE)
   ========================================================================== */
@media (min-width: 769px) {
  .category-banner,
  .page-hero-banner,
  .shop-banner,
  .category-hero-banner {
    height: 460px !important;
    min-height: 460px !important;
  }
  .category-banner-bg,
  .page-hero-bg,
  .category-hero-banner,
  .page-hero-banner.has-bg {
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* ==========================================================================
   SLIDE-UP BOTTOM POPUP NOTIFICATION SYSTEM
   ========================================================================== */
.tt-notification-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  pointer-events: none;
}

@media (max-width: 768px) {
  .tt-notification-container {
    bottom: 16px;
    left: 16px;
    right: 16px;
    margin: 0 auto;
    max-width: 420px;
  }
}

.tt-notification-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(127, 84, 179, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  padding: 12px 14px;
  box-sizing: border-box;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  position: relative;
  max-width: 380px;
  width: 100%;
}

.tt-notification-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.tt-notification-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f3e8ff;
  color: #7F54B3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.tt-notification-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

.tt-notification-body {
  flex: 1;
  min-width: 0;
}

.tt-notification-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-notification-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  word-break: break-word;
}

.tt-notification-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.tt-notification-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  position: absolute;
  top: 8px;
  right: 8px;
}

.tt-notification-close:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

/* ==========================================================================
   GLOBAL SITE FOOTER
   ========================================================================== */
.site-footer.tt-footer {
  background-color: #ffffff;
  color: #000000;
  border-top: 1px solid #eef0f4;
  padding: 40px 0 0;
  width: 100%;
  clear: both;
}

.tt-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP ROW: Brand identity & Wide Search Form */
.tt-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
  margin-bottom: 35px;
  border-bottom: 1px solid #f0f0f0;
}

.tt-footer-brand {
  flex: 0 0 400px;
  max-width: 420px;
}

.tt-footer-logo-link {
  display: inline-block;
  margin-bottom: 12px;
}

.tt-footer-logo {
  height: 65px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.tt-footer-tagline {
  font-size: 16px;
  font-weight: 700;
  color: #747474;
  line-height: 1.3;
  margin: 0 0 8px 0;
  letter-spacing: 0.2px;
}

.tt-footer-desc {
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  line-height: 1.5;
  margin: 0;
}

.tt-footer-search-wrap {
  flex: 1;
  max-width: 820px;
}

.tt-footer-search-form {
  width: 100%;
}

.tt-footer-search-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.tt-footer-search-btn {
  width: 110px;
  height: 55px;
  background-color: #7F54B3;
  border: 2px solid #7F54B3;
  border-radius: 15px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.tt-footer-search-btn:hover {
  background-color: #6a4299;
  border-color: #6a4299;
}

.tt-footer-search-btn svg {
  stroke: #ffffff;
  display: block;
}

.tt-footer-search-input {
  flex: 1;
  height: 55px;
  padding: 0 20px;
  border: 2px solid #7F54B3;
  border-radius: 15px;
  font-size: 14px;
  color: #000000;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tt-footer-search-input::placeholder {
  color: #888888;
  font-size: 14px;
}

.tt-footer-search-input:focus {
  border-color: #5e398f;
  box-shadow: 0 0 0 3px rgba(127, 84, 179, 0.15);
}

/* 5-COLUMN NAVIGATION GRID */
.tt-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding-bottom: 40px;
}

.tt-footer-col {
  display: flex;
  flex-direction: column;
}

.tt-footer-col-title {
  font-size: 17px;
  font-weight: 900;
  color: #000000;
  line-height: 1.2;
  margin: 0 0 18px 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tt-footer-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tt-footer-hour-item {
  font-size: 15px;
  font-weight: 400;
  color: #363636;
  margin: 0;
  line-height: 1.4;
}

.tt-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tt-footer-nav-list li {
  margin: 0;
  padding: 0;
}

.tt-footer-nav-list a {
  font-size: 15px;
  font-weight: 400;
  color: #363636;
  text-decoration: none;
  text-transform: capitalize;
  line-height: 1.4;
  display: inline-block;
  transition: color 0.2s ease, transform 0.15s ease;
}

.tt-footer-nav-list a:hover {
  color: #7F54B3;
  transform: translateX(2px);
}

/* Social icons */
.tt-footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tt-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tt-footer-social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(127, 84, 179, 0.25);
}

.tt-footer-social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BOTTOM COPYRIGHT BAR */
.tt-footer-bottom {
  border-top: 1px solid #f0f0f0;
  padding: 24px 0 28px;
  text-align: center;
}

.tt-footer-copyright {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  margin: 0;
  letter-spacing: 0.2px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .tt-footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .site-footer.tt-footer {
    padding: 30px 0 0;
  }
  .tt-footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .tt-footer-brand {
    flex: none;
    max-width: 100%;
  }
  .tt-footer-search-wrap {
    max-width: 100%;
  }
  .tt-footer-search-group {
    gap: 8px;
  }
  .tt-footer-search-btn {
    width: 55px;
    height: 50px;
    border-radius: 12px;
  }
  .tt-footer-search-input {
    height: 50px;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 13.5px;
  }
  .tt-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 30px;
  }
  .tt-footer-col-title {
    margin-bottom: 12px;
    font-size: 16px;
  }
  .tt-footer-social-icons {
    gap: 12px;
    justify-content: flex-start;
  }
  .tt-footer-social-link {
    width: 44px;
    height: 44px;
  }
  .tt-footer-bottom {
    padding: 20px 0 24px;
  }

  /* PART 2: Universal Mobile Footer Logo Sizing */
  footer img,
  .site-footer img,
  .footer-logo img,
  .tt-footer-logo img,
  img.tt-footer-logo,
  .tt-footer-logo,
  footer .custom-logo,
  .site-footer .custom-logo {
    width: auto !important;
    max-width: 135px !important;
    height: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 0 12px 0 !important;
  }

  /* Preserve social icons from being constrained by footer img rule */
  .tt-footer-social-link img,
  .tt-footer-social-icons img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
  }

  /* PART 4: Mobile Team Member Photos Full-Head Framing */
  .team-card-img {
    height: 320px !important;
    object-fit: cover !important;
    object-position: top center !important;
  }
}

/* ==========================================================================
   PART 1: IN-BUTTON COMMERCE ACTION STATES & HIDE RED EXTERNAL LINK
   ========================================================================== */
a.added_to_cart,
.added_to_cart.wc-forward,
.woocommerce a.added_to_cart,
.woocommerce .added_to_cart.wc-forward {
  display: none !important;
}

.btn-card-cart.is-view-cart,
.single_add_to_cart_button.is-view-cart,
button.is-view-cart,
a.is-view-cart {
  background-color: #7F54B3 !important;
  border-color: #7F54B3 !important;
  color: #ffffff !important;
}

.btn-card-wishlist.is-view-wishlist,
#tantapAddToWishlistBtn.is-view-wishlist,
.btn-action-pill.is-view-wishlist {
  background-color: #fce7f3 !important;
  color: #db2777 !important;
  border-color: #f472b6 !important;
}

.btn-card-compare.is-view-compare,
#tantapAddToCompareBtn.is-view-compare,
.btn-action-pill.is-view-compare {
  background-color: #e0e7ff !important;
  color: #4338ca !important;
  border-color: #818cf8 !important;
}

/* ==========================================================================
   PART 3: COMPARE PAGE TABLE COLUMN GAPS
   ========================================================================== */
.tt-compare-table,
table.compare-table,
.tantap-commerce-table.compare-table {
  border-collapse: separate !important;
  border-spacing: 12px 0 !important;
}

.tt-compare-table th,
.tt-compare-table td,
table.compare-table th,
table.compare-table td,
.tantap-commerce-table.compare-table th,
.tantap-commerce-table.compare-table td {
  padding: 14px 16px !important;
}

/* ==========================================================================
   DESKTOP FOOTER LOGO SIZING (DESKTOP ONLY > 768px)
   ========================================================================== */
@media (min-width: 769px) {
  footer img.tt-footer-logo,
  .site-footer img.tt-footer-logo,
  .tt-footer-logo,
  .tt-footer-brand img,
  .tt-footer-logo-link img,
  footer .custom-logo,
  .site-footer .custom-logo {
    max-width: 155px !important;
    max-height: 55px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 12px !important;
    display: block !important;
  }

  /* Protect social icons */
  .tt-footer-social-link img,
  .tt-footer-social-icons img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
  }
}

/* ==========================================================================
   MY ACCOUNT PAGE: 15% WELCOME CALLOUT & 2-COLUMN LOGIN/REGISTER
   ========================================================================== */
.tt-account-welcome-callout {
  margin: 36px auto 28px;
  max-width: 860px;
  text-align: center;
  padding: 0 16px;
}

.tt-account-welcome-callout p {
  font-family: var(--font-heading), 'Jost', sans-serif;
  font-size: 21px;
  line-height: 1.5;
  color: #000000;
  margin: 0;
}

.tt-account-welcome-callout em strong span {
  text-decoration: underline;
  font-style: normal;
}

.my-account-flow-wrapper {
  max-width: 1040px;
  margin: 0 auto 60px;
}

.my-account-flow-wrapper .woocommerce #customer_login {
  display: flex !important;
  gap: 36px !important;
  justify-content: space-between !important;
  margin-top: 24px !important;
}

.my-account-flow-wrapper .woocommerce #customer_login .u-column1,
.my-account-flow-wrapper .woocommerce #customer_login .u-column2 {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  float: none !important;
  width: auto !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 32px 28px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.my-account-flow-wrapper .woocommerce #customer_login h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.my-account-flow-wrapper .woocommerce .woocommerce-form-row {
  margin-bottom: 16px;
}

.my-account-flow-wrapper .woocommerce .woocommerce-form-row label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.my-account-flow-wrapper .woocommerce input.input-text {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #0f172a;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.my-account-flow-wrapper .woocommerce input.input-text:focus {
  outline: none;
  border-color: #7F54B3;
  box-shadow: 0 0 0 3px rgba(127, 84, 179, 0.18);
}

.my-account-flow-wrapper .woocommerce button.woocommerce-button {
  width: 100%;
  height: 48px;
  background: #7F54B3;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  margin-top: 10px;
}

.my-account-flow-wrapper .woocommerce button.woocommerce-button:hover {
  background: #6a3e9e;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .tt-account-welcome-callout p {
    font-size: 17px !important;
    line-height: 1.45 !important;
  }
  .my-account-flow-wrapper .woocommerce #customer_login {
    flex-direction: column !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   HOMEPAGE VIP FORM WIDTH EXPANSION FOR 3 INPUTS
   ========================================================================== */
.vip-club-form {
  max-width: 860px !important;
}

/* ==========================================================================
   UNIVERSAL BUTTON BUBBLING RIPPLE EFFECT
   ========================================================================== */
.btn-card-cart,
.single_add_to_cart_button,
.btn-card-wishlist,
.btn-card-compare,
#tantapAddToWishlistBtn,
#tantapAddToCompareBtn,
.btn-action-pill,
.btn-vip-submit,
.btn-hero-cta,
.btn-promo-strip-cta,
button[type="submit"],
.woocommerce button.button,
.woocommerce a.button,
.woocommerce-button {
  position: relative !important;
  overflow: hidden !important;
}

.tt-ripple-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0) 100%);
  transform: scale(0);
  pointer-events: none;
  animation: tt-ripple-anim 0.65s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
  z-index: 10;
}

@keyframes tt-ripple-anim {
  0% {
    transform: scale(0);
    opacity: 0.8;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-card-cart::after,
  .single_add_to_cart_button::after,
  .btn-vip-submit::after,
  .btn-hero-cta::after,
  .woocommerce button.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
  }

  .btn-card-cart:hover::after,
  .single_add_to_cart_button:hover::after,
  .btn-vip-submit:hover::after,
  .btn-hero-cta:hover::after,
  .woocommerce button.button:hover::after {
    left: 160%;
    transition: left 0.75s ease-in-out;
  }
}

/* ==========================================================================
   TASK 4: NATIVE SCROLL-REVEAL ANIMATION (ALL STORE PAGES)
   ========================================================================== */
.tt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.tt-reveal.tt-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tt-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   WISHLIST & COMPARE COLOR OVERHAUL: BRAND PURPLE BUTTONS & DARK BLACK PRICES
   ========================================================================== */
.tt-wishlist-table .btn-add-to-cart,
.tt-compare-table .btn-add-to-cart,
.wishlist-table a.button,
.compare-table a.button,
.tt-wishlist-table .table-action-btn,
.tt-compare-table .table-action-btn,
.wishlist-table .table-action-btn,
.compare-table .table-action-btn,
.wishlist-table .btn-add-to-cart,
.compare-table .btn-add-to-cart {
  background-color: #7F54B3 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  text-decoration: none !important;
}

.tt-wishlist-table .btn-add-to-cart:hover,
.tt-compare-table .btn-add-to-cart:hover,
.wishlist-table a.button:hover,
.compare-table a.button:hover,
.tt-wishlist-table .table-action-btn:hover,
.tt-compare-table .table-action-btn:hover,
.wishlist-table .table-action-btn:hover,
.compare-table .table-action-btn:hover {
  background-color: #D359FF !important;
  color: #000000 !important;
}

.tt-wishlist-table .product-price,
.tt-compare-table .product-price,
.tt-compare-table td.price,
.wishlist-table .amount,
.wishlist-table .table-price,
.compare-table .table-price,
.tt-wishlist-table .table-price,
.tt-compare-table .table-price,
.wishlist-table td.col-price {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   STREAMLINED CHECKOUT STYLES (TANZANIA COD OPTIMIZED)
   ========================================================================== */
.checkout-flow-wrapper {
  max-width: 1100px;
  margin: 0 auto 60px;
}

.checkout-flow-wrapper form.checkout {
  display: flex !important;
  gap: 36px !important;
  justify-content: space-between !important;
  margin-top: 24px !important;
}

.checkout-flow-wrapper #customer_details {
  flex: 1 1 58% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 32px 28px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.checkout-flow-wrapper #order_review {
  flex: 1 1 42% !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 32px 28px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.checkout-flow-wrapper .woocommerce-billing-fields h3,
.checkout-flow-wrapper #order_review_heading {
  font-family: var(--font-heading) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

.checkout-flow-wrapper .form-row {
  margin-bottom: 16px !important;
}

.checkout-flow-wrapper .form-row label {
  display: block !important;
  font-family: var(--font-heading) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

.checkout-flow-wrapper input.input-text {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 14.5px !important;
  color: #0f172a !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.checkout-flow-wrapper input.input-text:focus {
  outline: none !important;
  border-color: #7F54B3 !important;
  box-shadow: 0 0 0 3px rgba(127, 84, 179, 0.18) !important;
}

.checkout-flow-wrapper #place_order {
  width: 100% !important;
  height: 50px !important;
  background: #7F54B3 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
  margin-top: 16px !important;
}

.checkout-flow-wrapper #place_order:hover {
  background: #6a3e9e !important;
  transform: translateY(-1px) !important;
}

.checkout-flow-wrapper #billing_country_field,
.checkout-flow-wrapper .woocommerce-additional-fields {
  display: none !important;
}

.checkout-flow-wrapper .wc_payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 20px 0 !important;
}

.checkout-flow-wrapper .wc_payment_method {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  margin-bottom: 12px !important;
}

.checkout-flow-wrapper .wc_payment_method label {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #0f172a !important;
  cursor: pointer !important;
}

.checkout-flow-wrapper .payment_box {
  margin-top: 10px !important;
  font-size: 13.5px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}

@media (max-width: 860px) {
  .checkout-flow-wrapper form.checkout {
    flex-direction: column !important;
    gap: 24px !important;
  }
}





