/* ============================================================
   SS Clothing Mills — Main Stylesheet
   ============================================================ */

/* Google Fonts imported via HTML */

/* ── CSS Variables ── */
:root {
  --primary:        #0B0F19;
  --primary-light:  #1A2235;
  --accent:         #D4AF37;
  --accent-light:   #F3E5AB;
  --accent-pale:    rgba(212, 175, 55, 0.15);
  --white:          #FFFFFF;
  --off-white:      #1E293B;
  --bg-light:       #121826;
  --gray-border:    rgba(255,255,255,0.08);
  --text-dark:      #F8FAFC;
  --text-medium:    #94A3B8;
  --text-light:     #64748B;
  --shadow-sm:      0 4px 12px rgba(0,0,0,.3);
  --shadow:         0 8px 24px rgba(0,0,0,.4);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.5);
  --radius:         16px;
  --radius-sm:      10px;
  --radius-xl:      24px;
  --transition:     all .4s cubic-bezier(0.16, 1, 0.3, 1);
  --container:      1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--primary);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/knit_texture.png');
  background-repeat: repeat;
  background-size: 350px;
  opacity: 0.06; /* Very subtle */
  z-index: -1;
  pointer-events: none;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Section Spacing ── */
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { color: var(--text-medium); line-height: 1.8; font-size: 1.05rem; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 50px; }
.section-label {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title { margin-bottom: 14px; color: var(--text-dark); }
.section-desc  { max-width: 560px; margin: 0 auto; color: var(--text-medium); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm  { padding: 8px 18px; font-size: .82rem; }
.btn-lg  { padding: 15px 34px; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(255,255,255,0.2); }

.btn-accent {
  background: linear-gradient(135deg, #E5B742, #C29A26);
  color: #000;
  border: 1px solid #F3E5AB;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,.35); border-color: #FFF; color: #000; }

.btn-white {
  background: var(--primary-light);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); border-color: rgba(255,255,255,0.3); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--white); }

.mt-2 { margin-top: 16px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar a, .top-bar span {
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.top-bar a:hover { color: var(--accent-light); }
.top-bar i { font-size: .78rem; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: .75rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: var(--white); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); background: rgba(11, 15, 25, 0.95); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.logo-light .logo-icon { background: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text-dark); }
.logo-sub  { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .72rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.logo-light .logo-main { color: var(--white); }
.logo-light .logo-sub  { color: var(--accent-light); }

/* Nav */
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--bg-light); color: var(--primary); }
.nav-link.active { color: var(--accent); }

/* Desktop icon hiding */
.nav-icon { display: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--primary-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  color: var(--text-medium);
  transition: var(--transition);
}
.dropdown li a:hover { background: var(--bg-light); color: var(--accent); padding-left: 18px; }

/* Header CTA */
.header-cta { flex-shrink: 0; }
.mobile-only-nav { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: radial-gradient(circle at top right, var(--primary-light) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,.18);
  color: var(--accent-light);
  border: 1px solid rgba(212,160,23,.35);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title { color: var(--white); margin-bottom: 20px; }
.hero-title span { color: var(--accent-light); }
.hero-desc { color: rgba(255,255,255,.75); max-width: 520px; margin-bottom: 32px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-features { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
}
.hero-feature i { color: var(--accent-light); font-size: .9rem; }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 380px;
  width: 100%;
}
.hero-fabric-card {
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.hero-fabric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(0,0,0,.04) 8px,
    rgba(0,0,0,.04) 9px
  );
}
.hero-fabric-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hero-fabric-card span {
  position: relative;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--primary);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(212,160,23,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--accent-light);
  font-size: 1.2rem;
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: inline;
}
.stat-suffix {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  display: inline;
}
.stat-label {
  margin-top: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  text-align: center;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-content .section-label { display: inline-block; }
.about-content .section-title { text-align: left; margin-bottom: 18px; }
.about-content p { margin-bottom: 16px; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 32px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.highlight-item i {
  width: 22px;
  height: 22px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
}

/* About Visual */
.about-image-wrapper {
  position: relative;
  height: 440px;
}
.about-image-main, .about-image-accent { position: absolute; border-radius: var(--radius); overflow: hidden; }
.about-image-main {
  width: 75%;
  height: 80%;
  top: 0;
  right: 0;
  box-shadow: var(--shadow-lg);
}
.about-image-accent {
  width: 55%;
  height: 50%;
  bottom: 0;
  left: 0;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.fabric-visual {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.fabric-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.fabric-visual-1 {
  background: linear-gradient(135deg, #c5cae9 0%, #9fa8da 50%, #7986cb 100%);
}
.fabric-visual-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 20px,
    rgba(255,255,255,.08) 20px, rgba(255,255,255,.08) 21px
  ),
  repeating-linear-gradient(
    90deg, transparent, transparent 20px,
    rgba(255,255,255,.08) 20px, rgba(255,255,255,.08) 21px
  );
}
.fabric-visual-2 {
  background: linear-gradient(135deg, #ffe082 0%, #ffca28 50%, #ffa000 100%);
}
.fabric-visual-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 6px,
    rgba(255,255,255,.12) 6px, rgba(255,255,255,.12) 7px
  );
}
.experience-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
  z-index: 2;
}
.exp-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.exp-text {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* ============================================================
   FABRIC CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.category-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  display: block;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.category-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cat-icon {
  font-size: 2.5rem;
  color: rgba(0,0,0,.2);
  z-index: 1;
  position: relative;
  transition: var(--transition);
}
.category-card:hover .cat-icon { color: rgba(0,0,0,.35); transform: scale(1.1); }
.fabric-texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent, transparent 4px,
    rgba(0,0,0,.03) 4px, rgba(0,0,0,.03) 5px
  );
}
.category-info { padding: 18px; }
.category-info h3 { font-size: 1rem; margin-bottom: 7px; color: var(--text-dark); }
.category-info p  { font-size: .83rem; color: var(--text-light); line-height: 1.55; margin-bottom: 12px; }
.cat-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.cat-link i { font-size: .7rem; transition: var(--transition); }
.category-card:hover .cat-link i { transform: translateX(4px); }

/* CTA card */
.category-card-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-card-inner {
  text-align: center;
  padding: 24px;
}
.cta-card-inner i { font-size: 2rem; color: var(--accent-light); margin-bottom: 14px; }
.cta-card-inner h3 { color: var(--white); margin-bottom: 8px; }
.cta-card-inner p  { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: 20px; }

/* ============================================================
   GARMENT APPLICATIONS
   ============================================================ */
.garments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.garment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  background: var(--off-white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: default;
}
.garment-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.garment-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}
.garment-item:hover .garment-icon { background: var(--primary); color: var(--white); }
.garment-item span { font-size: .83rem; font-weight: 600; color: var(--text-dark); text-align: center; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  text-align: center;
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); }
.why-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-light);
  margin: 0 auto 18px auto;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--accent); color: var(--white); }

@keyframes iconPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.2) rotate(8deg); }
  70% { transform: scale(1.2) rotate(-8deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.why-card:hover .why-icon i {
  animation: iconPop 0.5s ease-in-out;
}
.why-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.why-card p  { font-size: .9rem; line-height: 1.65; }

/* ============================================================
   ORDER PROCESS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}
.process-step {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: var(--transition);
}
.process-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: .06em;
}
.step-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 16px auto 20px;
  border: 3px solid var(--gray-border);
  transition: var(--transition);
}
.process-step:hover .step-icon { background: var(--primary); color: var(--white); border-color: var(--primary); }
.process-step h3 { margin-bottom: 12px; }
.process-step p  { font-size: .9rem; line-height: 1.65; }
.step-connector {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  z-index: 1;
}
.process-cta { text-align: center; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #b8860b 100%);
  padding: 72px 0;
}
.cta-content { text-align: center; }
.cta-content h2 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.cta-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-top {
  background: var(--primary);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.6fr;
  gap: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.7;
  margin: 18px 0 22px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212,160,23,.4);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}
.footer-col ul a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-item i {
  color: var(--accent-light);
  font-size: .9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-item span, .contact-item a {
  color: rgba(255,255,255,.7);
  font-size: .86rem;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--white); }

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); font-size: .82rem; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--accent-light); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-light); transform: translateY(-3px); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
  font-size: .85rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.breadcrumb .current { color: var(--accent-light); font-weight: 500; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story .section-title { text-align: left; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-text p { margin-bottom: 18px; }
.mission-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.value-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  border-left: 3px solid var(--accent);
}
.value-card i { font-size: 1.4rem; color: var(--accent); margin-bottom: 10px; }
.value-card h4 { font-size: .95rem; margin-bottom: 6px; }
.value-card p  { font-size: .85rem; }
.team-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.team-stat {
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
}
.team-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-light);
  display: block;
}
.team-stat-label { color: rgba(255,255,255,.7); font-size: .82rem; }
.about-visual-2 {
  height: 480px;
  position: relative;
}
.av2-main, .av2-accent {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
}
.av2-main { width: 80%; height: 75%; top: 0; left: 0; box-shadow: var(--shadow-lg); }
.av2-accent { width: 58%; height: 55%; bottom: 0; right: 0; box-shadow: var(--shadow-lg); border: 4px solid var(--white); }
.fab-vis {
  width: 100%;
  height: 100%;
}
.fab-vis-a { background: linear-gradient(135deg, #9fa8da 0%, #5c6bc0 100%); }
.fab-vis-b { background: linear-gradient(135deg, #80cbc4 0%, #26a69a 100%); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
.contact-info-col h2 { margin-bottom: 16px; }
.contact-info-col > p { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cd-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cd-text h4 { font-size: .92rem; margin-bottom: 3px; }
.cd-text a, .cd-text span { font-size: .9rem; color: var(--text-medium); display: block; line-height: 1.6; }
.cd-text a:hover { color: var(--primary); }
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gray-border);
  margin-top: 28px;
}
.map-wrapper iframe { display: block; width: 100%; height: 260px; border: none; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
}
.contact-form-wrapper h3 { margin-bottom: 6px; }
.contact-form-wrapper > p { font-size: .9rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(26,74,122,.12); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; padding: 14px; border: none; }
.form-note { font-size: .78rem; color: var(--text-light); text-align: center; margin-top: 10px; }

/* ============================================================
   FABRICS PAGE
   ============================================================ */
.fabric-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--gray-border);
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-medium);
  background: var(--bg-light);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.fabric-category-section { margin-bottom: 70px; }
.fabric-category-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--gray-border);
}
.fab-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.fabric-category-header h2 { font-size: 1.4rem; margin-bottom: 4px; }
.fabric-category-header p  { font-size: .9rem; color: var(--text-light); }
.fabric-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.fabric-product-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.fabric-product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.fpc-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.fpc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.fpc-img::after {
  z-index: 2; /* Ensure pseudo texture is above background but we will remove it if there is an image */
}
.fpc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fpc-body { padding: 16px; }
.fpc-body h4 { font-size: .95rem; margin-bottom: 4px; }
.fpc-body p  { font-size: .82rem; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; }
.fpc-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.fpc-spec-tag {
  background: var(--bg-light);
  color: var(--text-medium);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.fpc-enquire {
  width: 100%;
  justify-content: center;
  padding: 9px;
  font-size: .83rem;
}

/* ============================================================
   ABOUT & CONTACT UTILITY GRIDS
   ============================================================ */
.about-strengths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .categories-grid    { grid-template-columns: repeat(3, 1fr); }
  .garments-grid      { grid-template-columns: repeat(4, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .story-grid         { grid-template-columns: 1fr; gap: 40px; }
  .about-visual-2     { height: 340px; }
  .fabric-products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Top bar */
  .top-bar { display: none; }

  /* Header */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0b0f19;
  }
  body { padding-bottom: 60px; }
  .nav {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: row;
    padding: 8px 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
    transform: none;
    transition: none;
    z-index: 1000;
    overflow: visible;
    margin: 0;
  }
  .nav.open { transform: none; }
  .nav-list { flex-direction: row; justify-content: space-around; width: 100%; align-items: center; gap: 0; margin: 0; padding: 0; }
  .nav-link { padding: 8px 4px; font-size: .65rem; text-align: center; justify-content: center; width: 100%; flex-direction: column; gap: 4px; }
  .nav-icon { 
    display: block; 
    font-size: 1.15rem; 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
  }
  .nav-link:hover .nav-icon,
  .nav-link.active .nav-icon {
    transform: scale(1.25) translateY(-2px);
    color: var(--accent);
  }
  .has-dropdown > .nav-link i.dropdown-arrow { display: none; }
  .dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary-light);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 6px;
    display: none;
    min-width: 150px;
  }
  .has-dropdown.open .dropdown { display: block; transform: translateX(-50%) translateY(0); }
  .header-inner { justify-content: center; gap: 16px; }
  .header-cta { display: none; }
  .mobile-only-nav { display: block; }
  .hamburger { display: none; }

  /* Hero */
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-actions, .hero-features { justify-content: center; }
  .hero-visual { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrapper { height: 320px; }
  .about-strengths-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); }

  /* Garments */
  .garments-grid { grid-template-columns: repeat(3, 1fr); }

  /* Why us */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .quick-contact-grid { grid-template-columns: 1fr; }

  /* Fabrics */
  .fabric-products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 10px; }

  /* Story */
  .mission-values, .team-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .garments-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: 1fr; }
  .stat-item       { border-bottom: 1px solid rgba(255,255,255,.1); }
  .fabric-products-grid { grid-template-columns: 1fr; }
  .hero-actions    { flex-direction: column; align-items: center; }
  .cta-actions     { flex-direction: column; align-items: center; }
  .about-highlights { grid-template-columns: 1fr; }
  .header-cta .btn { padding: 8px 12px; }
  .header-cta .btn i { margin: 0; }
  .header-cta .btn { font-size: 0; gap: 0; } /* Hide text, show only icon to save space */
  .header-cta .btn i { font-size: 1rem; }
}

/* ==========================================================================
   Fabric Details Clean Layout
   ========================================================================== */
.product-details-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-details-image {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.product-details-info {
  display: flex;
  flex-direction: column;
}

.product-main-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

.product-short-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-light);
}

.specs-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.mini-spec {
  display: flex;
  flex-direction: column;
}

.mini-spec .label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.mini-spec .val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.product-section-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.product-colors-section {
  margin-bottom: 35px;
}

.product-colors-section .color-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-details-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-details-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

.product-bottom-details {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.product-extended-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 800px;
}

@media (max-width: 992px) {
  .product-details-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-details-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .product-main-title { font-size: 1.8rem; }
  .product-details-actions { flex-direction: column; }
  .specs-mini-grid { grid-template-columns: 1fr; }
  .product-details-image { height: 300px; }
}

/* ==========================================================================
   Lightbox Styles
   ========================================================================== */
.lightbox {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  padding-top: 60px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 900px;
  animation-name: zoom;
  animation-duration: 0.4s;
  border-radius: 8px;
}

@keyframes zoom {
  from {transform:scale(0.8); opacity: 0;} 
  to {transform:scale(1); opacity: 1;}
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Thumbnail */
.shade-card-thumb {
  cursor: zoom-in;
  transition: 0.3s ease;
  object-fit: cover;
  object-position: top;
}

.shade-card-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ==========================================================================
   Fabric Detailed Description Styles
   ========================================================================== */
.fabric-detailed-description {
  margin-top: 10px;
}

.fabric-detailed-description .desc-section {
  margin-bottom: 30px;
}

.fabric-detailed-description h4 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-border);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: inline-block;
}

.fabric-detailed-description p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
}

.fabric-detailed-description ul {
  list-style: disc;
  margin-left: 22px;
}

.fabric-detailed-description li {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}

.fabric-detailed-description li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* -- Fabric Specifications Table -- */
.fabric-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid var(--gray-border);
}
.fabric-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.fabric-table th {
  background: var(--gray-bg);
  padding: 16px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  border-bottom: 2px solid var(--gray-border);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  white-space: nowrap;
}
.fabric-table th:hover {
  background: #e2e8f0;
}
.fabric-table th i {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 8px;
}
.fabric-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-border);
  color: var(--text-dark);
  font-size: 0.95rem;
}
.fabric-table tr:last-child td {
  border-bottom: none;
}
.fabric-table tbody tr {
  transition: background 0.2s;
}
.fabric-table tbody tr:hover {
  background: var(--gray-bg);
}
.table-search-wrapper {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 8px 16px;
  width: 100%;
  max-width: 400px;
}
.table-search-wrapper i {
  color: var(--muted);
  margin-right: 12px;
}
.table-search-wrapper input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 1rem;
  color: var(--text-dark);
}
.table-search-wrapper input::placeholder {
  color: var(--muted);
}

/* ==========================================================================
   Fabric Details Image Gallery
   ========================================================================== */
.fd-gallery { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.fd-gallery-main { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; background: #f8fafc; position: relative; border: 1px solid var(--gray-border); display: flex; align-items: center; justify-content: center; }
.fd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.fd-gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
.fd-gallery-thumbs::-webkit-scrollbar { height: 6px; }
.fd-gallery-thumbs::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.fd-thumb { width: 80px; height: 80px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; overflow: hidden; flex-shrink: 0; opacity: 0.6; transition: all 0.2s ease; background: #f1f5f9; }
.fd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fd-thumb:hover { opacity: 0.9; }
.fd-thumb.active { opacity: 1; border-color: var(--accent); }
