/* ==========================================================
   CROCHET WITH LOVE (@crochetwithlove394)
   Luxury Handmade Boutique Stylesheet
   Designed for Pakistan E-Commerce (Desktop & Mobile Perfect)
   ========================================================== */

/* Web fonts preconnected and loaded in parallel via HTML <head> for maximum speed & Core Web Vitals */

:root {
  /* Logo Color Palette */
  --rose-primary: #c85a6f;
  --rose-hover: #b44a5e;
  --rose-dark: #8c3243;
  --rose-light: #fdf2f4;
  --rose-subtle: #fae4e8;
  --rose-border: #f3cbd2;
  
  --gold-accent: #d4a34b;
  --gold-light: #fef8ed;
  
  --sage-accent: #7e8c56;
  --sage-light: #f1f4ea;
  
  --bg-cream: #fdfaf6;
  --bg-card: #ffffff;
  --bg-alt: #f7f1ea;
  
  --text-main: #331d17;       /* Dark espresso brown from logo */
  --text-muted: #735d56;
  --text-light: #9e8780;
  
  --border-light: #ede2db;
  --border-medium: #dfd0c7;
  
  --shadow-subtle: 0 4px 16px rgba(51, 29, 23, 0.05);
  --shadow-hover: 0 12px 32px rgba(200, 90, 111, 0.12);
  --shadow-modal: 0 20px 50px rgba(51, 29, 23, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', cursive;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Overflow Lock */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: #9a384b; /* Matches mobile address bar and announcement bar */
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg-cream);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================
   TOP ANNOUNCEMENT BAR (Full & Complete On Mobile & Desktop)
   ========================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #9a384b 0%, #c85a6f 50%, #9a384b 100%);
  color: #ffffff;
  padding: 8px 14px;
  font-size: 0.83rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.announcement-text {
  display: inline;
  white-space: nowrap;
}

.type-cursor {
  display: inline;
  font-weight: 300;
  color: #ffd6df;
  margin-left: 2px;
  font-size: 0.95rem;
  line-height: 1;
  animation: typeCursorBlink 0.75s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  user-select: none;
  vertical-align: baseline;
}

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

@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.74rem;
    padding: 6px 12px;
    min-height: 44px;
    line-height: 1.35;
  }
  .announcement-text {
    display: inline !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    word-break: normal !important;
  }
  .type-cursor {
    display: inline !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 380px) {
  .announcement-bar {
    font-size: 0.68rem;
    padding: 5px 8px;
    min-height: 44px;
    line-height: 1.3;
  }
}

/* ==========================================================
   SITE HEADER & NAVIGATION
   ========================================================== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(253, 250, 246, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

/* Brand Identity */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-primary);
  box-shadow: 0 2px 8px rgba(200, 90, 111, 0.2);
}

.brand-names {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.brand-tagline {
  font-family: var(--font-script);
  font-size: 0.95rem;
  color: var(--rose-primary);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 1px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--rose-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose-primary);
}

.nav-link.highlight {
  color: var(--rose-primary);
  font-weight: 700;
  background: transparent;
  padding: 6px 0;
  border-radius: 0;
  border: none;
}

.nav-link.highlight:hover {
  background: transparent;
  color: var(--rose-dark);
}

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

.header-cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--rose-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  position: relative;
}

.header-cart-link:hover {
  background: var(--rose-light);
  border-color: var(--rose-primary);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--rose-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

/* Mobile Dropdown Menu */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 20px;
  gap: 12px;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--bg-alt);
}

/* ==========================================================
   HERO SECTION (Balanced & Clean)
   ========================================================== */
.hero-section {
  padding: 50px 0 60px;
  background: radial-gradient(circle at 85% 20%, #fbedef 0%, rgba(253, 250, 246, 0.4) 60%, #fdfaf6 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--rose-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.hero-title .italic-accent {
  color: var(--rose-primary);
  font-style: italic;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Aesthetic Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
  color: #ffffff;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 90, 111, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 90, 111, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--rose-border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--rose-light);
  border-color: var(--rose-primary);
  color: var(--rose-primary);
  transform: translateY(-2px);
}

.btn-wa-soft {
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--rose-border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-wa-soft:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
  transform: translateY(-2px);
}

/* Hero Trust Bar */
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  font-size: 1.4rem;
}

.trust-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.trust-text p {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* Hero Showcase Card */
.hero-showcase {
  display: flex;
  justify-content: center;
}

.showcase-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--rose-border);
  width: 100%;
  max-width: 420px;
  transition: var(--transition);
}

.showcase-card:hover {
  transform: translateY(-4px);
}

.showcase-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.04);
}

.showcase-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(253, 250, 246, 0.95);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rose-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.showcase-footer {
  padding: 14px 8px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.showcase-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rose-primary);
}

/* ==========================================================
   CATEGORY CAROUSEL / GRID
   ========================================================== */
.section-pad {
  padding: 70px 0;
}

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

.section-subtitle {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--rose-primary);
  font-weight: 700;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.cat-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.cat-item-card:hover, .cat-item-card.active {
  border-color: var(--rose-primary);
  background: var(--rose-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-subtle);
}

.cat-icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.cat-title {
  font-size: 0.9rem;
  font-weight: 700;
}

/* ==========================================================
   PRODUCT CATALOG CARDS
   ========================================================== */
.catalog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.catalog-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.cat-pill-btn:hover {
  border-color: var(--rose-primary);
  color: var(--rose-primary);
}

.cat-pill-btn.active {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
  color: #ffffff;
}

.catalog-search-wrap {
  position: relative;
  width: 240px;
}

.catalog-search-input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  outline: none;
  background: #ffffff;
}

.catalog-search-input:focus {
  border-color: var(--rose-primary);
}

.search-icon-pos {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.products-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.clean-prod-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.clean-prod-card:hover {
  transform: translateY(-6px);
  border-color: var(--rose-border);
  box-shadow: var(--shadow-hover);
}

.prod-thumb-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.prod-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

.clean-prod-card:hover .prod-thumb-box img {
  transform: scale(1.04);
}

.prod-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  text-transform: uppercase;
}

.prod-info-block {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 6px;
}

.prod-cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prod-name-link {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.prod-name-link:hover {
  color: var(--rose-primary);
}

.prod-rating-stars {
  font-size: 0.8rem;
  color: #f59e0b;
}

.prod-rating-count {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-left: 4px;
}

.prod-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.price-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rose-dark);
}

.price-cut {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.prod-btn-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.btn-add-basket {
  background: var(--rose-light);
  color: var(--rose-dark);
  border: 1px solid var(--rose-border);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-add-basket:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
}

.btn-wa-icon-only {
  background: var(--rose-light);
  color: var(--rose-primary);
  border: 1px solid var(--rose-border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-wa-icon-only:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
  transform: scale(1.1);
}

/* ==========================================================
   DEDICATED PRODUCT DETAIL PAGE (product.html)
   ========================================================== */
.breadcrumbs {
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-muted);
}

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

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 60px;
}

.detail-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

.detail-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.detail-specs-box {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.detail-specs-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail-specs-box li::before {
  content: '🌸 ';
}

.variant-picker-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.variant-options-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.variant-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.variant-btn.active {
  border-color: var(--rose-primary);
  background: var(--rose-light);
  color: var(--rose-dark);
}

/* Luxury Artisan Quality & Artwork Card */
.artisan-quality-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbfc 50%, #fff7f8 100%);
  border: 1.5px solid var(--rose-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(200, 90, 111, 0.07);
  position: relative;
  overflow: hidden;
}

.artisan-quality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--rose-primary), var(--gold-accent));
}

.quality-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rose-border);
}

.quality-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1rem;
  color: var(--rose-dark);
}

.seal-icon {
  font-size: 1.15rem;
}

.quality-stamp {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rose-primary);
  background: var(--rose-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rose-border);
}

.quality-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quality-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-bullet {
  font-size: 1.25rem;
  background: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rose-border);
  box-shadow: 0 2px 8px rgba(200, 90, 111, 0.08);
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 3px;
}

.pillar-content p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.quality-trust-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.75rem;
  color: var(--text-light);
}

.quality-guarantee-tag {
  font-weight: 700;
  color: #15803d;
}

.quality-city-tag {
  font-weight: 600;
  color: var(--rose-primary);
}

@media (max-width: 540px) {
  .quality-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .quality-trust-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ==========================================================
   FLY-TO-CART PARABOLIC ANIMATION & CART POP
   ========================================================== */
.flying-cart-ghost {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  overflow: visible;
  box-shadow: 0 20px 48px rgba(200, 90, 111, 0.45), 0 0 0 3px #ffffff, 0 0 0 6px rgba(200, 90, 111, 0.28);
  background: radial-gradient(circle at top left, #ffffff 30%, #fff0f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 25px rgba(200, 90, 111, 0.35));
}

.flying-cart-ghost img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}

.flying-ghost-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--rose-dark);
  box-shadow: 0 4px 12px rgba(200, 90, 111, 0.35);
  border: 1.5px solid var(--rose-border);
  white-space: nowrap;
}

.flight-trail-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  font-size: 1.35rem;
  transform: translate(-50%, -50%);
  animation: flightSparkleFade 0.85s ease-out forwards;
}

@keyframes flightSparkleFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -36px) scale(0.3) rotate(45deg);
  }
}

@keyframes cartBouncePop {
  0% { transform: scale(1); }
  35% { transform: scale(1.38) rotate(-8deg); }
  65% { transform: scale(0.92) rotate(4deg); }
  85% { transform: scale(1.1) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.cart-bounce-pop {
  animation: cartBouncePop 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.cart-burst-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  font-size: 1.2rem;
  animation: burstParticle 0.75s ease-out forwards;
}

@keyframes burstParticle {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(1.2);
  }
}

@keyframes btnClickPulse {
  0% { transform: scale(1); }
  40% { transform: scale(0.94); }
  75% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.btn-click-pulse {
  animation: btnClickPulse 0.4s ease-out;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  background: #ffffff;
  gap: 12px;
}

.qty-step-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-step-btn:hover {
  background: var(--bg-alt);
}

.detail-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ==========================================================
   DEDICATED CART PAGE (cart.html)
   ========================================================== */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  margin: 30px 0 80px;
}

.cart-items-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-subtle);
}

.free-ship-meter-box {
  background: var(--rose-light);
  border: 1px solid var(--rose-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.free-ship-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 6px;
}

.free-ship-track {
  width: 100%;
  height: 6px;
  background: rgba(200, 90, 111, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.free-ship-fill {
  height: 100%;
  background: var(--rose-primary);
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

.cart-table-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-thumb-wrap {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-light);
  overflow: hidden;
  padding: 4px;
  flex-shrink: 0;
}

.cart-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

.cart-info-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cart-info-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cart-prod-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-prod-title:hover {
  color: var(--rose-primary);
}

.cart-craft-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #15803d;
  margin-top: 3px;
}

.btn-cart-delete {
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-cart-delete:hover {
  color: #dc2626;
  background: #fee2e2;
}

.cart-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: nowrap;
}

.cart-pricing-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.cart-unit-rate {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cart-total-rate {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--rose-dark);
  line-height: 1.2;
}

.qty-val {
  font-weight: 700;
  min-width: 22px;
  text-align: center;
  font-size: 0.95rem;
}

.cart-order-summary-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-calc-row.grand-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
}

.summary-calc-row.grand-total .val {
  color: var(--rose-primary);
}

.coupon-group {
  display: flex;
  gap: 8px;
}

.coupon-field {
  flex-grow: 1;
  padding: 9px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  outline: none;
}

.coupon-field:focus {
  border-color: var(--rose-primary);
}

.btn-apply-coupon {
  background: var(--text-main);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================
   DEDICATED CHECKOUT PAGE (checkout.html)
   ========================================================== */
/* ==========================================================
   LUXURY MINIMAL CHECKOUT PAGE (checkout.html)
   ========================================================== */
.checkout-page-body {
  background-color: #fbf8f6 !important;
}

/* Hide back-to-top button on checkout completely */
.checkout-page-body .back-to-top-btn,
body.checkout-page-body #cwlBackToTop {
  display: none !important;
}

/* Clean Minimal Header */
.checkout-header {
  background: #ffffff;
  border-bottom: 1px solid #ebd9dc;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.checkout-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.checkout-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.checkout-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--rose-primary);
  object-fit: cover;
}

.checkout-brand-name {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.checkout-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #e5dad5;
  background: #ffffff;
  transition: all 0.2s ease;
}

.checkout-back-btn:hover {
  background: var(--rose-light);
  border-color: var(--rose-primary);
  color: var(--rose-dark);
}

/* Page Container */
.checkout-main-wrap {
  max-width: 620px;
  margin: 18px auto 90px;
  padding: 0 4px;
}

.checkout-page-header {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.checkout-simple-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.checkout-secure-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #15803d;
  background: #eefbf3;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ==========================================
   ORDER SUMMARY (TOP CARD)
   ========================================== */
.checkout-card {
  background: #ffffff;
  border: 1px solid #ebd9dc;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(51, 29, 23, 0.03);
}

.summary-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f2e9ea;
}

.summary-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.summary-count-badge {
  background: var(--rose-light);
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.summary-edit-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Products List in Summary */
.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f2e9ea;
}

.summary-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-thumb-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #ebd9dc;
  padding: 2px;
  flex-shrink: 0;
}

.summary-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.summary-qty-bubble {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--rose-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.summary-item-details {
  flex-grow: 1;
  min-width: 0;
}

.summary-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-item-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.summary-item-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
}

/* Breakdown rows */
.summary-totals-box {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-row-total {
  border-top: 1px solid #f2e9ea;
  padding-top: 10px;
  margin-top: 4px;
}

.total-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.total-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rose-primary);
}

.free-tag {
  color: #15803d;
  font-weight: 800;
  font-size: 0.78rem;
  background: #eefbf3;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ==========================================
   DELIVERY & PAYMENT SECTIONS
   ========================================== */
.card-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rose-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-single-col {
  margin-bottom: 12px;
}

.input-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #5a423a;
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}

.clean-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5dad5;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  background: #faf8f6;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.clean-input:focus {
  border-color: var(--rose-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 90, 111, 0.12);
}

/* ==========================================
   PAYMENT OPTIONS (CLEAN & MODERN)
   ========================================== */
.payment-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-card {
  border: 1.5px solid #e5dad5;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #faf8f6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pay-card.active {
  border-color: var(--rose-primary);
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(200, 90, 111, 0.1);
}

.pay-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c7b8b2;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
}

.pay-card.active .pay-radio-circle {
  border-color: var(--rose-primary);
}

.pay-card.active .pay-radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose-primary);
}

.pay-info-col {
  flex-grow: 1;
}

.pay-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.pay-badge-cod {
  font-size: 0.7rem;
  font-weight: 800;
  background: #f1f4ea;
  color: #3b5014;
  padding: 2px 7px;
  border-radius: 4px;
}

.pay-badge-ep-img {
  height: 20px;
}

.pay-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* ==========================================
   EASYPAISA DETAILS (CLEAN SINGLE BOX)
   ========================================== */
.easypaisa-expand-box {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed #bbf7d0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ep-compact-account {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-acc-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.ep-acc-line .label {
  color: #374151;
  font-weight: 600;
}

.ep-acc-line .val {
  color: #00833e;
  font-weight: 800;
}

.ep-number-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 8px 12px;
}

.ep-digits {
  font-size: 1.18rem;
  font-weight: 800;
  color: #00833e;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ep-copy-btn {
  background: #00833e;
  color: #ffffff;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ep-copy-btn:hover {
  background: #006b32;
}

/* Proof Upload Zone (Clean & Compact) */
.ep-upload-zone {
  border: 1.5px dashed #86efac;
  background: #fafefb;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ep-upload-zone:hover {
  background: #f0fdf4;
  border-color: #00833e;
}

.ep-prompt-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ep-cam-icon {
  font-size: 1.4rem;
}

.ep-prompt-text {
  text-align: left;
}

.ep-prompt-text strong {
  display: block;
  font-size: 0.85rem;
  color: #1f2937;
}

.ep-prompt-text span {
  font-size: 0.74rem;
  color: #6b7280;
}

/* Proof Live View */
.ep-preview-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 10px;
}

.ep-preview-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #86efac;
  flex-shrink: 0;
}

.ep-preview-meta {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ep-status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
}

.ep-file-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-file-size {
  font-size: 0.7rem;
  color: #6b7280;
}

.ep-remove-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
  text-align: left;
  text-decoration: underline;
}

/* ==========================================
   SUBMIT BUTTON & TRUST FOOTER
   ========================================== */
.checkout-actions-wrap {
  margin-top: 20px;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-complete-order {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #c85a6f 0%, #a83d52 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(200, 90, 111, 0.35);
  transition: all 0.25s ease;
}

.btn-complete-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(200, 90, 111, 0.45);
}

.btn-complete-order:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-total-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.95rem;
}

.checkout-trust-line {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================
   ORDER SUCCESS RECEIPT PAGE (order-success.html)
   ========================================================== */
.success-page-card {
  max-width: 680px;
  margin: 40px auto 80px;
  background: #ffffff;
  border: 1px solid var(--rose-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.success-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.tracking-pill-box {
  background: var(--bg-cream);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--rose-border);
  font-weight: 800;
  color: var(--rose-dark);
  display: inline-block;
  margin: 10px 0;
}

/* ==========================================================
   CUSTOM ORDER SECTION (Home Page)
   ========================================================== */
.custom-section-wrap {
  background: linear-gradient(135deg, #fef4f6 0%, #faedf0 100%);
  border: 1px solid var(--rose-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ==========================================================
   PAKISTAN PAYMENT GATEWAYS BANNER
   ========================================================== */
.payment-grid-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.pay-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.pay-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--rose-border);
  box-shadow: var(--shadow-subtle);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: #23120d;
  color: #f7ebe6;
  padding: 60px 0 30px;
}

.footer-grid-4col {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: #c9b4ac;
  font-size: 0.88rem;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9c867e;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================
   FLOATING ACTION WIDGETS
   ========================================================== */
.floating-wa-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wa-btn-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--rose-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(200, 90, 111, 0.35);
  border: 2.5px solid var(--rose-primary);
  transition: var(--transition);
  position: relative;
}

.wa-btn-circle img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.25s ease;
  display: block;
}

.wa-btn-circle svg {
  fill: currentColor;
  width: 32px;
  height: 32px;
  transition: transform 0.25s ease;
}

.wa-btn-circle:hover {
  transform: scale(1.1);
  background: var(--rose-light);
  border-color: var(--rose-primary);
  box-shadow: 0 12px 30px rgba(200, 90, 111, 0.45);
}

.wa-btn-circle:hover img,
.wa-btn-circle:hover svg {
  transform: scale(1.08);
}

.wa-tooltip-pill {
  background: #ffffff;
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(200, 90, 111, 0.15);
  border: 1px solid var(--rose-border);
}

/* ==========================================================
   BACK TO TOP FLOATING BUTTON
   ========================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 899;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--rose-primary);
  border: 1.5px solid var(--rose-border);
  box-shadow: 0 6px 20px rgba(200, 90, 111, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease, background 0.25s, border-color 0.25s;
  padding: 0;
}

.back-to-top-btn svg {
  transition: transform 0.25s ease;
}

.back-to-top-btn .btt-label {
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: -2px;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
  box-shadow: 0 10px 24px rgba(200, 90, 111, 0.4);
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* Reviews Header Action Bar */
.reviews-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.reviews-actions-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reviews-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.rev-summary-score {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1.1;
}

.rev-summary-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .reviews-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .reviews-rating-summary {
    align-items: flex-start;
    text-align: left;
  }
}

/* ==========================================================
   CUSTOMER REVIEW SUBMISSION MODAL
   ========================================================== */
.review-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(35, 18, 13, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.review-modal-backdrop.open {
  display: flex;
}

.review-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--rose-border);
  position: relative;
  animation: modalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  0% { opacity: 0; transform: scale(0.92) translateY(15px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.review-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.btn-close-modal {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.btn-close-modal:hover {
  background: var(--rose-light);
  color: var(--rose-primary);
  border-color: var(--rose-border);
}

.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.star-pick {
  font-size: 1.85rem;
  color: #d1d5db;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
  line-height: 1;
}

.star-pick:hover,
.star-pick.active {
  color: #f59e0b;
}

.star-pick:hover {
  transform: scale(1.2);
}

.star-rating-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-dark);
  margin-left: 10px;
}

/* ==========================================================
   SLIDING REVIEWS MARQUEE (Moving Left & Right Smoothly)
   ========================================================== */
.reviews-marquee-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 0 10px;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.reviews-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.marquee-slide-left {
  animation: scrollTrackLeft 70s linear infinite;
}

.marquee-slide-right {
  animation: scrollTrackRight 75s linear infinite;
}

.reviews-marquee-track:hover {
  animation-play-state: paused;
}

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

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

.sliding-review-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(51, 29, 23, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.sliding-review-card:hover {
  transform: translateY(-4px);
  border-color: var(--rose-primary);
  box-shadow: 0 10px 28px rgba(200, 90, 111, 0.15);
}

.rev-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rev-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.rev-verified-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #15803d;
  background: #e6f9ed;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.rev-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
  font-style: italic;
  flex-grow: 1;
}

.rev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.8rem;
}

.rev-author {
  font-weight: 800;
  color: var(--text-main);
}

.rev-city {
  color: var(--text-light);
  font-size: 0.75rem;
}

.rev-item-tag {
  font-size: 0.74rem;
  color: var(--rose-primary);
  font-weight: 700;
}

/* Global Action Toast */
.cwl-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #ffffff;
  border: 1.5px solid var(--rose-primary);
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-modal);
  z-index: 9999;
  font-size: 0.88rem;
  font-weight: 700;
  transform: translateY(-30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cwl-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================
   RESPONSIVE DESIGN (Zero Horizontal Overflow on Mobile)
   ========================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-ctas {
    justify-content: center;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .cart-page-layout {
    grid-template-columns: 1fr;
  }
  .checkout-page-layout {
    grid-template-columns: 1fr;
  }
  .custom-section-wrap {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .footer-grid-4col {
    grid-template-columns: 1fr 1fr;
  }
}

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

  /* Site Header Mobile Polish - Zero Horizontal Overflow */
  .site-header .nav-inner {
    padding: 10px 0;
    gap: 10px;
  }
  .brand-identity {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }
  .brand-logo-img {
    width: 40px;
    height: 40px;
  }
  .brand-title {
    font-size: 1.05rem;
    white-space: nowrap;
  }
  .brand-tagline {
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .header-cart-link {
    padding: 6px 12px;
    font-size: 0.82rem;
    gap: 6px;
  }

  /* Checkout Mobile Polish */
  .checkout-main-wrap {
    margin: 12px auto 80px !important;
    padding: 0 4px !important;
  }
  .checkout-nav-inner {
    padding: 10px 0 !important;
  }
  .checkout-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
  }
  .form-grid-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .ep-number-line {
    padding: 8px 10px !important;
  }
  .ep-digits {
    font-size: 1.05rem !important;
  }
  .ep-upload-zone {
    padding: 12px !important;
  }
  .ep-preview-zone {
    padding: 8px !important;
    gap: 10px !important;
  }
  .ep-preview-img {
    width: 48px !important;
    height: 48px !important;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-item {
    justify-content: center;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .footer-grid-4col {
    grid-template-columns: 1fr;
  }
  .cart-page-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 16px 0 110px;
  }
  .cart-items-panel {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }
  .free-ship-meter-box {
    padding: 12px 14px;
    margin-bottom: 16px;
  }
  .free-ship-text {
    font-size: 0.8rem;
  }
  .cart-table-row {
    grid-template-columns: 74px 1fr !important;
    gap: 12px !important;
    padding: 16px 0 !important;
    align-items: center !important;
  }
  .cart-thumb-wrap {
    width: 74px !important;
    height: 74px !important;
    padding: 3px;
  }
  .cart-prod-title {
    font-size: 0.94rem;
  }
  .cart-craft-tag {
    font-size: 0.72rem;
  }
  .cart-total-rate {
    font-size: 1.08rem;
  }
  .cart-unit-rate {
    font-size: 0.72rem;
  }
  .qty-stepper {
    padding: 3px 6px;
    gap: 8px;
  }
  .qty-step-btn {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }
  .qty-val {
    font-size: 0.88rem;
    min-width: 18px;
  }
  .cart-order-summary-panel {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .ep-qr-wrap {
    flex-direction: column;
    text-align: center;
  }
  .floating-wa-launcher {
    bottom: 16px;
    right: 16px;
  }
  .wa-tooltip-pill {
    display: none;
  }

  /* Mobile 2-Column Aesthetic Catalog Grid */
  .products-grid-layout {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .clean-prod-card {
    border-radius: var(--radius-sm);
  }
  .prod-thumb-box {
    aspect-ratio: 1 / 1;
  }
  .prod-thumb-box img {
    padding: 6px;
  }
  .prod-badge-tag {
    top: 6px;
    left: 6px;
    font-size: 0.6rem;
    padding: 2px 6px;
  }
  .prod-info-block {
    padding: 10px 8px 12px;
    gap: 4px;
  }
  .prod-cat-label {
    font-size: 0.62rem;
    letter-spacing: 0.2px;
  }
  .prod-name-link {
    font-size: 0.92rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
  }
  .prod-rating-stars {
    font-size: 0.72rem;
  }
  .prod-rating-count {
    font-size: 0.66rem;
  }
  .prod-price-line {
    margin-top: 2px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .price-main {
    font-size: 1.02rem;
  }
  .price-cut {
    font-size: 0.74rem;
  }
  .prod-btn-row {
    padding-top: 8px;
    gap: 6px;
  }
  .btn-add-basket {
    padding: 7px 6px;
    font-size: 0.72rem;
    gap: 3px;
  }
  .btn-wa-icon-only {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .btn-wa-icon-only img {
    width: 17px;
    height: 17px;
  }
  .product-detail-layout {
    padding: 16px;
    gap: 20px;
  }
  .detail-title {
    font-size: 1.5rem;
  }

  /* Mobile Catalog Toolbar: Swipeable horizontal category bar & full-width search */
  .catalog-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .catalog-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 4px 8px;
    margin: 0 -4px;
  }

  .catalog-tabs::-webkit-scrollbar {
    display: none;
  }

  .cat-pill-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .catalog-search-wrap {
    width: 100% !important;
  }

  .catalog-search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .category-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .cat-item-card {
    padding: 14px 10px;
  }

  .cat-icon-bubble {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .cat-title {
    font-size: 0.82rem;
  }

  /* Back to Top Mobile Floating Adjustment */
  .back-to-top-btn {
    bottom: 74px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
  .floating-wa-launcher {
    bottom: 16px;
    right: 16px;
  }
  .wa-btn-circle {
    width: 48px;
    height: 48px;
  }
  .wa-btn-circle img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }
  .brand-title {
    font-size: 1.02rem;
  }
}

@media (max-width: 350px) {
  .products-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

/* ==========================================================
   LUXURY CROCHET PRELOADER ANIMATION
   ========================================================== */
.cwl-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #ffffff 0%, #fdf6f7 50%, #faeef0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.cwl-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  max-width: 340px;
  padding: 20px;
}

/* Crochet Animation Center Stage */
.preloader-crochet-stage {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Heart Yarn Ball Pulsing */
.preloader-yarn-heart {
  width: 90px;
  height: 90px;
  animation: heartKnitPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(200, 90, 111, 0.28));
  position: relative;
  z-index: 2;
}

@keyframes heartKnitPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08) rotate(2deg);
  }
}

/* Golden Hook Knitting Motion */
.preloader-golden-hook {
  position: absolute;
  top: 6px;
  right: 14px;
  width: 65px;
  height: 65px;
  z-index: 3;
  transform-origin: bottom left;
  animation: crochetHookStitch 2s ease-in-out infinite;
}

@keyframes crochetHookStitch {
  0% {
    transform: translate(0, 0) rotate(15deg);
  }
  25% {
    transform: translate(-12px, -8px) rotate(-5deg);
  }
  50% {
    transform: translate(6px, 12px) rotate(25deg);
  }
  75% {
    transform: translate(14px, -4px) rotate(10deg);
  }
  100% {
    transform: translate(0, 0) rotate(15deg);
  }
}

/* Floating Stitches & Sparkles */
.preloader-sparkle {
  position: absolute;
  font-size: 14px;
  pointer-events: none;
  animation: floatPreloaderSparkle 2s ease-in-out infinite;
  opacity: 0.8;
}

.preloader-sparkle.sp-1 { top: 10px; left: 10px; animation-delay: 0s; }
.preloader-sparkle.sp-2 { bottom: 12px; right: 8px; animation-delay: 0.7s; font-size: 16px; }
.preloader-sparkle.sp-3 { top: 20px; right: 5px; animation-delay: 1.3s; font-size: 12px; }

@keyframes floatPreloaderSparkle {
  0%, 100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-10px) scale(1.15);
    opacity: 1;
  }
}

/* Circular Orbit Thread */
.preloader-thread-ring {
  position: absolute;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  border: 2px dashed rgba(200, 90, 111, 0.4);
  animation: rotateThreadRing 8s linear infinite;
}

@keyframes rotateThreadRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Preloader Brand Titles */
.preloader-brand-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.preloader-brand-sub {
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--rose-primary);
  font-weight: 700;
  margin-top: 2px;
}

.preloader-loading-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 14px;
}

/* Delicate Progress Line */
.preloader-progress-track {
  width: 180px;
  height: 4px;
  background: rgba(200, 90, 111, 0.15);
  border-radius: var(--radius-pill);
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--rose-primary), var(--gold-accent), var(--rose-primary));
  border-radius: var(--radius-pill);
  animation: preloaderBarSweep 1.5s ease-in-out infinite;
}

@keyframes preloaderBarSweep {
  0% { left: -40%; width: 30%; }
  50% { width: 60%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================
   LUXURY SCROLL ANIMATIONS (60FPS Hardware Accelerated)
   ========================================================== */

/* Silk Thread Reading Progress Bar */
.cwl-scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 99999;
  pointer-events: none;
}

.cwl-scroll-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #9a384b 0%, #c85a6f 60%, #e27c90 100%);
  transform-origin: left center;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(200, 90, 111, 0.7);
  position: relative;
  transition: transform 0.05s linear;
}

.cwl-scroll-progress-fill::after {
  content: '🌸';
  position: absolute;
  right: -8px;
  top: -8px;
  font-size: 11px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* Scroll Reveal Base */
.cwl-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cwl-reveal.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger Delays for Grid Children */
.cwl-stagger-1 { transition-delay: 0.05s; }
.cwl-stagger-2 { transition-delay: 0.10s; }
.cwl-stagger-3 { transition-delay: 0.15s; }
.cwl-stagger-4 { transition-delay: 0.20s; }
.cwl-stagger-5 { transition-delay: 0.25s; }
.cwl-stagger-6 { transition-delay: 0.30s; }
.cwl-stagger-7 { transition-delay: 0.35s; }
.cwl-stagger-8 { transition-delay: 0.40s; }

/* Subtle Scale Reveal for visual hero & showcases */
.cwl-reveal-scale {
  opacity: 0;
  transform: scale(0.95) translate3d(0, 18px, 0);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cwl-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
}

/* Mobile: Snappy gentle glide */
@media (max-width: 768px) {
  .cwl-reveal {
    transform: translate3d(0, 16px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .cwl-reveal-scale {
    transform: scale(0.96) translate3d(0, 12px, 0);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .cwl-reveal,
  .cwl-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .cwl-scroll-progress-track {
    display: none !important;
  }
}

/* ==========================================================
   LUXURY ENVELOPE ENTER ANIMATION (Blossom & Oud Inspired)
   Seamless • 100% Clickable • Primary Berry Rose (#9a384b)
   ========================================================== */

.cwl-envelope-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999999;
  background-color: #faf5ee;
  background-image: radial-gradient(circle at 50% 48%, rgba(255, 253, 249, 0.98) 0%, rgba(248, 242, 233, 0.95) 55%, rgba(238, 227, 214, 0.92) 100%), url('images/envelope-paper-texture.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  pointer-events: auto !important;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cwl-envelope-intro.hiding {
  opacity: 0;
  pointer-events: none !important;
}

.cwl-envelope-intro.hidden {
  display: none !important;
}

/* Skip Button in upper right */
.cwl-env-skip-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(154, 56, 75, 0.25);
  color: #9a384b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(154, 56, 75, 0.14);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cwl-env-skip-btn:hover {
  background: #9a384b;
  color: #ffffff;
  border-color: #9a384b;
  box-shadow: 0 6px 20px rgba(154, 56, 75, 0.28);
  transform: translateY(-1px);
}

/* Envelope Scene (Fills mobile edge-to-edge, centered on desktop) */
.cwl-envelope-scene {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  pointer-events: auto;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cwl-envelope-scene {
    max-width: 100%;
    max-height: 100%;
  }
  .cwl-env-skip-btn {
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* Keepsake Letter Card Inside */
.cwl-envelope-card {
  position: absolute;
  width: calc(100% - 44px);
  max-width: 390px;
  background: #ffffff;
  background-image: radial-gradient(circle at 50% 10%, #fffdfa 0%, #faf5ef 100%);
  border: 2px solid #9a384b;
  border-radius: 20px;
  padding: 32px 24px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 28px 70px rgba(154, 56, 75, 0.28), 0 8px 24px rgba(0, 0, 0, 0.08);
  outline: 1.5px dashed #d4a373;
  outline-offset: -7px;
  transform: scale(0.86) translate3d(0, 40px, 0);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.cwl-envelope-intro.unsealed .cwl-envelope-card {
  transform: scale(1) translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.cwl-card-crest {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbecee, #f5d4da);
  border: 1.5px solid #d4a373;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(154, 56, 75, 0.18);
}

.cwl-card-brand {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #9a384b;
  margin: 0 0 8px 0;
  letter-spacing: 0.03em;
}

.cwl-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 14px auto;
  max-width: 220px;
}

.cwl-card-divider span:first-child,
.cwl-card-divider span:last-child {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4a373, transparent);
}

.cwl-card-knot {
  font-size: 14px;
}

.cwl-card-tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: #866739;
  margin: 0 0 10px 0;
  line-height: 1.45;
}

.cwl-card-welcome {
  font-size: 13px;
  color: #666;
  margin: 0 0 18px 0;
}

.cwl-card-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.cwl-card-badge {
  display: inline-block;
  background: #fdf5f6;
  border: 1px solid rgba(154, 56, 75, 0.18);
  color: #9a384b;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.cwl-card-enter-btn {
  background: linear-gradient(135deg, #9a384b, #c25e73);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(154, 56, 75, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.cwl-card-enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(154, 56, 75, 0.45);
}

/* Seamless Envelope Body */
.cwl-envelope-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
}

/* Top Triangular Flap with Authentic Embossed Relief (Clipped as genuine V-shape triangle) */
.cwl-env-flap-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  z-index: 20;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease 0.45s;
  pointer-events: none;
}

.cwl-flap-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cwl-envelope-intro.unsealed .cwl-env-flap-top {
  transform: translate3d(0, -115%, 0) rotateX(20deg);
  opacity: 0;
}

/* Bottom Envelope Paper Base (One smooth continuous parchment background) */
.cwl-env-flap-bottom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: #faf5ee;
  background-image: radial-gradient(ellipse at 50% 70%, rgba(255, 253, 249, 0.98) 0%, rgba(248, 241, 232, 0.95) 60%, rgba(238, 227, 214, 0.9) 100%), url('images/envelope-paper-texture.png');
  background-size: cover;
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease 0.45s;
  pointer-events: none;
}

.cwl-envelope-intro.unsealed .cwl-env-flap-bottom {
  transform: translate3d(0, 115%, 0);
  opacity: 0;
}

/* Center Interactive Seal & Callout */
.cwl-env-center-content {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: auto;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.cwl-envelope-intro.unsealed .cwl-env-center-content {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.15);
  pointer-events: none;
}

/* 3D Wax Seal Button */
.cwl-wax-seal-btn {
  position: relative;
  width: 142px;
  height: 142px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  border-radius: 50%;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cwl-wax-seal-btn:hover {
  transform: scale(1.06);
}

.cwl-seal-pulse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(154, 56, 75, 0.45);
  animation: cwlPulseRing 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes cwlPulseRing {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
    box-shadow: 0 0 0 0 rgba(154, 56, 75, 0.55), 0 0 15px rgba(212, 163, 115, 0.4);
  }
  70% {
    transform: scale(1.36);
    opacity: 0;
    box-shadow: 0 0 0 28px rgba(154, 56, 75, 0), 0 0 30px rgba(212, 163, 115, 0);
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

.cwl-seal-wrapper {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(154, 56, 75, 0.42), 0 4px 12px rgba(0, 0, 0, 0.22);
  border: 3.5px solid #d4a373;
  box-sizing: border-box;
  background: #c89658;
}

.cwl-seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}

/* Prompt Wrap (Clean serif, NO Urdu, NO white box) */
.cwl-prompt-wrap {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cwl-prompt-text {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #9a384b;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  text-shadow: 0 1px 2px rgba(212, 163, 115, 0.35);
}

.cwl-clean-divider {
  width: 240px;
  height: 24px;
  max-width: 80vw;
  display: block;
  margin: 0 auto;
}

/* Floating Particles */
.cwl-env-particles {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 50;
}

.cwl-env-particle {
  position: absolute;
  font-size: 22px;
  pointer-events: none;
  animation: cwlParticleShoot 1.1s cubic-bezier(0.12, 0.8, 0.32, 1) forwards;
}

@keyframes cwlParticleShoot {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(var(--rot, 180deg));
    opacity: 0;
  }
}

/* ==========================================================
   LUXURY CUSTOM INQUIRY STUDIO (FORM & BUTTON REDESIGN)
   ========================================================== */

.custom-section-wrap {
  background: linear-gradient(135deg, #fef4f6 0%, #faedf0 100%);
  border: 1.5px solid var(--rose-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(154, 56, 75, 0.06);
}

.custom-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-main);
  padding: 0;
  margin: 0;
}

.custom-perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}

.perk-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Card Container */
.custom-inquiry-card {
  background: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
  padding: 34px 30px;
  border-radius: 20px;
  border: 1.5px solid rgba(154, 56, 75, 0.16);
  box-shadow: 0 20px 48px rgba(154, 56, 75, 0.1), 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
}

.inquiry-card-header {
  margin-bottom: 20px;
  text-align: left;
}

.inquiry-badge {
  display: inline-block;
  background: #fdf2f4;
  color: #9a384b;
  border: 1px solid rgba(154, 56, 75, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.inquiry-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark, #2d181e);
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.inquiry-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Form Fields */
.custom-form .field-group {
  margin-bottom: 18px;
  text-align: left;
}

.custom-form .field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #9a384b;
  margin-bottom: 8px;
}

.custom-form .field-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid #ebdccc;
  background: #faf6f0;
  font-family: inherit;
  font-size: 0.95rem;
  color: #2d181e;
  outline: none;
  transition: all 0.25s ease;
  line-height: 1.4;
  display: block;
}

.custom-form .field-input::placeholder {
  color: #aa9599;
  font-size: 0.88rem;
}

.custom-form .field-input:hover {
  border-color: #d4a373;
  background: #fdfaf6;
}

.custom-form .field-input:focus {
  background: #ffffff;
  border-color: #9a384b;
  box-shadow: 0 0 0 4px rgba(154, 56, 75, 0.12);
}

/* Custom Select Dropdown with Rose/Gold Chevron */
.field-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-form select.field-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a384b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
}

.custom-form .field-textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.45;
}

/* Luxury WhatsApp Action Button */
.btn-custom-whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 15px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 6px;
  text-decoration: none;
}

.btn-custom-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
  background: linear-gradient(135deg, #2ae36e 0%, #169b52 100%);
  color: #ffffff;
}

.btn-custom-whatsapp:active {
  transform: translateY(0);
}

.whatsapp-btn-svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.custom-card-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #7d6b6e;
  margin-top: 12px;
  font-weight: 500;
}

/* Mobile Polish */
@media (max-width: 768px) {
  .custom-section-wrap {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 28px;
  }
  .custom-inquiry-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .inquiry-title {
    font-size: 1.25rem;
  }
  .btn-custom-whatsapp {
    padding: 14px 18px;
    font-size: 0.92rem;
    gap: 8px;
  }
}


/* Performance Optimization: Offscreen content rendering acceleration */
.catalog-grid,
.reviews-marquee-box,
.custom-section-wrap,
.payment-grid-showcase,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}
