/* ============================================
   CHSONKINE — SiBI Store Professional E-Commerce
   Stylesheet
   ============================================ */

/* --- CSS Variables & Reset --- */
:root {
  --clr-primary: #1a1a2e;
  --clr-primary-light: #16213e;
  --clr-accent: #e94560;
  --clr-accent-hover: #d63850;
  --clr-gold: #f4a261;
  --clr-dark: #0f0f1a;
  --clr-text: #1e1e2a;
  --clr-text-light: #555566;
  --clr-bg: #fafafa;
  --clr-bg-alt: #f0f0f5;
  --clr-white: #ffffff;
  --clr-border: #e0e0e8;
  --clr-success: #2ecc71;
  --clr-danger: #e74c3c;
  --clr-warning: #f39c12;
  --clr-star: #f1c40f;

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1280px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--clr-text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span { color: var(--clr-accent); }

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--clr-text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

/* SVG Logo */
.logo-svg {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: color var(--transition);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition);
}

.nav-desktop a:hover { color: var(--clr-accent); }
.nav-desktop a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions button,
.header-actions a {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--clr-text);
  padding: 8px;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.header-actions button:hover,
.header-actions a:hover {
  background: var(--clr-bg-alt);
  color: var(--clr-accent);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--clr-accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(4px, -4px);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--clr-text);
  padding: 8px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--clr-white);
  padding: 24px;
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}

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

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--clr-accent); }

/* --- Hero Layout: Sidebar + Slider (replicating donko-go pattern) --- */
.hero-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 104px auto 0;
  padding: 0 24px 32px;
}

/* Category Sidebar */
.cat-sidebar {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cat-sidebar h3 {
  background: var(--clr-primary);
  color: white;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  position: sticky;
  top: 0;
}

.cat-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-top: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
  text-decoration: none;
}

.cat-sidebar a:hover {
  background: rgba(233, 69, 96, 0.05);
  color: var(--clr-accent);
  padding-left: 20px;
}

.cat-sidebar .cat-icon {
  font-size: 1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.cat-sidebar .cat-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--clr-text-light);
  background: var(--clr-bg-alt);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.cat-sidebar .cat-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--clr-accent);
  color: white;
}

.cat-sidebar .cat-badge.sale {
  background: var(--clr-gold);
  color: var(--clr-dark);
}

.cat-sidebar .cat-all-link {
  border-top: 2px solid var(--clr-border);
  font-weight: 700;
  color: var(--clr-primary);
}

.cat-sidebar .cat-all-link:hover {
  color: var(--clr-accent);
}

/* Home Slider */
.home-slider {
  position: relative;
  width: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  padding: 48px 60px;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-slide-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 8px;
  color: white;
}

.hero-slide-text h1 span {
  color: var(--clr-accent);
}

.hero-slide-text .slide-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-gold);
  margin-bottom: 12px;
  display: block;
}

.hero-slide-text .slide-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-slide-btns .btn {
  padding: 12px 28px;
  font-size: 0.9rem;
}

.hero-slide-btns .btn-secondary {
  border-color: rgba(255,255,255,0.3);
}

.hero-slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-slide-icon {
  font-size: 5rem;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.hero-slide-products {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}

.hero-slide-product {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}

.hero-slide-product:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.2);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.25);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(0,0,0,0.45);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.slider-dots button.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--clr-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(233,69,96,0.35);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-border);
}

.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.btn-dark {
  background: var(--clr-primary);
  color: white;
}

.btn-dark:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-block { width: 100%; }

/* --- Featured / Categories Section --- */
.section {
  padding: 80px 24px;
}

.section-alt { background: var(--clr-bg-alt); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.category-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid var(--clr-border);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-accent);
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  transition: background var(--transition);
}

.category-card:hover .category-icon { background: rgba(233,69,96,0.1); }

.category-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.category-card p { font-size: 0.85rem; color: var(--clr-text-light); }

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--clr-border);
  position: relative;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--clr-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.product-badge.sold-out {
  background: var(--clr-text-light);
}

.product-badge.sale {
  background: var(--clr-gold);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--clr-text-light);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-type {
  font-size: 0.8rem;
  color: var(--clr-text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.product-price .original {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  text-decoration: line-through;
  font-weight: 400;
}

.product-card .btn {
  margin-top: 12px;
  width: 100%;
}

/* --- Deal / Countdown --- */
.deals-section {
  background: linear-gradient(135deg, var(--clr-dark), var(--clr-primary));
  color: white;
  padding: 80px 24px;
  text-align: center;
}

.deals-section .section-subtitle { color: rgba(255,255,255,0.6); }

.countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 32px 0;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  background: rgba(255,255,255,0.08);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  min-width: 80px;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-top: 8px;
  display: block;
}

.deal-cta { margin-top: 32px; }

/* --- Newsletter --- */
.newsletter-section {
  background: var(--clr-bg-alt);
  padding: 80px 24px;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 24px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--clr-accent);
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}

.testimonial-stars {
  color: var(--clr-star);
  font-size: 1rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-style: italic;
  color: var(--clr-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--clr-primary);
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--clr-text-light); }

/* --- Footer --- */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand .logo { color: white; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover { background: var(--clr-accent); }

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 6px 0;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-col a:hover { opacity: 1; color: var(--clr-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Header --- */
.page-header {
  padding: 120px 24px 48px;
  background: var(--clr-bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--clr-text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 60px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Product Detail Page --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-image {
  aspect-ratio: 1;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--clr-text-light);
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.product-detail-info .product-type {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-light);
  margin-bottom: 16px;
}

.product-detail-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: 20px;
}

.product-detail-price .original {
  font-size: 1.2rem;
  color: var(--clr-text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 12px;
}

.product-description {
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* --- Color Selector --- */
.color-selector { margin-bottom: 24px; }
.color-selector label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.color-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.color-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  padding: 2px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-btn:hover { transform: scale(1.15); }
.color-btn.active { border-color: var(--clr-accent); box-shadow: 0 0 0 2px white, 0 0 0 4px var(--clr-accent); }
.color-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}
.color-inner.active { box-shadow: inset 0 0 0 2px var(--clr-white); }
.color-names { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.color-name {
  font-size: 0.78rem;
  color: var(--clr-text-light);
  cursor: default;
  display: none;
}
.color-name.active { display: inline; color: var(--clr-text); font-weight: 600; }

.size-selector { margin-bottom: 24px; }
.size-selector label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }

.size-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-white);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.size-btn:hover { border-color: var(--clr-primary); }
.size-btn.active { border-color: var(--clr-accent); background: rgba(233,69,96,0.05); color: var(--clr-accent); }

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.quantity-selector label { font-weight: 600; font-size: 0.9rem; }

.qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { border-color: var(--clr-primary); }

.qty-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.qty-input:focus { border-color: var(--clr-accent); }

.product-meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border);
  font-size: 0.85rem;
  color: var(--clr-text-light);
}

.product-meta span { display: block; margin-bottom: 4px; }

/* --- Cart Page --- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart-items { min-height: 200px; }

.cart-empty {
  text-align: center;
  padding: 60px 24px;
}

.cart-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.cart-empty h2 { margin-bottom: 8px; }
.cart-empty p { color: var(--clr-text-light); margin-bottom: 24px; }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--clr-border);
  align-items: center;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.cart-item-info p { font-size: 0.8rem; color: var(--clr-text-light); }

.cart-item-actions {
  text-align: right;
}

.cart-item-price {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--clr-danger);
  font-size: 0.8rem;
  cursor: pointer;
  transition: opacity var(--transition);
}

.cart-item-remove:hover { opacity: 0.7; }

.cart-summary {
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cart-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 700;
  padding-top: 16px;
  border-top: 2px solid var(--clr-border);
  margin-top: 16px;
}

.summary-row .free { color: var(--clr-success); font-weight: 600; }

/* --- Checkout --- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.checkout-form h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-border);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
  background: var(--clr-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
}

.form-group textarea { min-height: 100px; resize: vertical; }

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

.payment-methods {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.payment-method {
  flex: 1;
  min-width: 100px;
  padding: 16px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--clr-white);
}

.payment-method:hover { border-color: var(--clr-primary); }
.payment-method.active { border-color: var(--clr-accent); background: rgba(233,69,96,0.05); }

.checkout-summary {
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.checkout-summary h3 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--clr-border); }

.checkout-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.order-placed {
  text-align: center;
  padding: 60px 24px;
}

.order-placed .check-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(46,204,113,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--clr-success);
  margin: 0 auto 24px;
}

.order-placed h2 { font-size: 2rem; margin-bottom: 8px; }
.order-placed p { color: var(--clr-text-light); margin-bottom: 32px; }

/* --- Account Page --- */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.account-nav {
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.account-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
  transition: all var(--transition);
}

.account-nav a:hover { background: var(--clr-white); }
.account-nav a.active { background: var(--clr-white); color: var(--clr-accent); font-weight: 600; }

.account-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.order-history-table {
  width: 100%;
  border-collapse: collapse;
}

.order-history-table th,
.order-history-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.9rem;
}

.order-history-table th { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--clr-text-light); }

.order-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.order-status.delivered { background: rgba(46,204,113,0.1); color: var(--clr-success); }
.order-status.processing { background: rgba(243,156,18,0.1); color: var(--clr-warning); }
.order-status.shipped { background: rgba(52,152,219,0.1); color: #3498db; }

/* --- Contact Page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.contact-info h2 { font-size: 1.5rem; margin-bottom: 16px; }

.contact-info p {
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: var(--clr-text-light); margin: 0; }

/* --- Policy Pages (Terms, Privacy, Returns) --- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
}

.policy-content h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
}

.policy-content p {
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.policy-content ul li {
  color: var(--clr-text-light);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* --- Shipping Page --- */
.shipping-content {
  max-width: 800px;
  margin: 0 auto;
}

.shipping-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.shipping-table th,
.shipping-table td {
  padding: 14px 16px;
  border: 1px solid var(--clr-border);
  text-align: left;
  font-size: 0.9rem;
}

.shipping-table th {
  background: var(--clr-bg-alt);
  font-weight: 600;
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-bar .result-count {
  font-size: 0.9rem;
  color: var(--clr-text-light);
}

.filter-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--clr-border);
  border-radius: 24px;
  background: var(--clr-white);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--clr-primary); }
.filter-btn.active { background: var(--clr-primary); color: white; border-color: var(--clr-primary); }

.sort-select {
  padding: 10px 16px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  background: var(--clr-white);
  font-family: var(--font-body);
}

.sort-select:focus { border-color: var(--clr-accent); }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 20px 0 0;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--clr-text-light);
}

.breadcrumb a { color: var(--clr-text-light); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--clr-accent); }
.breadcrumb span { color: var(--clr-text); }
.breadcrumb .sep { margin: 0 8px; }

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--clr-dark);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  max-width: 360px;
}

.toast.success { border-left: 4px solid var(--clr-success); }
.toast.error { border-left: 4px solid var(--clr-danger); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* --- Page Loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.4s;
}

.page-loader.hidden { opacity: 0; pointer-events: none; }

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--clr-border);
  border-top-color: var(--clr-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   Full-Width Hero Slider (default)
   ============================================ */

.hero-fullwidth {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  max-height: 800px;
  overflow: hidden;
  background: var(--clr-dark);
}

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

.fw-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.fw-slide.active {
  opacity: 1;
  visibility: visible;
}

.fw-bg-img {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(0px) brightness(0.7);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.fw-slide.active .fw-bg-img {
  transform: scale(1);
}

.fw-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
}

.fw-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.fw-copy {
  color: white;
}

.fw-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-gold);
  margin-bottom: 12px;
  display: block;
}

.fw-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.fw-copy h1 span { color: var(--clr-accent); }

.fw-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.fw-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.fw-btns .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: white;
}

.fw-btns .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.fw-btns .btn-outline-dark {
  border-color: rgba(0,0,0,0.25);
  color: var(--clr-primary);
}

.fw-btns .btn-outline-dark:hover {
  background: rgba(0,0,0,0.05);
  border-color: var(--clr-accent);
}

/* Light hero slides — dark text on light backgrounds */
.fw-text-light.fw-slide .fw-subtitle {
  color: var(--clr-accent);
}

.fw-text-light.fw-slide h1 {
  color: var(--clr-primary);
}

.fw-text-light.fw-slide .fw-desc-light {
  color: var(--clr-text-light);
}

.fw-text-light.fw-slide .fw-product-frame {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}

.fw-text-light.fw-slide .fw-product-price {
  color: var(--clr-primary);
}

.fw-text-light.fw-slide .fw-product-price .original {
  color: rgba(0,0,0,0.35);
}

/* Product visual on the right */
.fw-product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fw-product-frame {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.fw-product-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.fw-product-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fw-product-frame .fw-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: rgba(255,255,255,0.05);
}

.fw-product-price {
  margin-top: 16px;
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fw-product-price .original {
  text-decoration: line-through;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin-right: 8px;
}

/* Full-width arrows */
.fw-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  line-height: 1;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);
}

.fw-arrow:hover {
  background: rgba(0,0,0,0.5);
  transform: translateY(-50%) scale(1.1);
}

.fw-arrow.fw-prev { left: 20px; }
.fw-arrow.fw-next { right: 20px; }

/* Full-width dots */
.fw-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.fw-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.fw-dots button.active {
  background: white;
  width: 32px;
  border-radius: 6px;
}

/* Product card image styling */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.product-emoji-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  font-size: 4rem;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-sm);
}

.product-detail-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* ============================================
   Shop Layout: Sidebar + 3-col Grid
   ============================================ */

.shop-header {
  padding-bottom: 20px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Sidebar */
.shop-sidebar {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-section {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  padding: 16px;
  margin-bottom: 12px;
}

.sidebar-section h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-text-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}

.sidebar-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  text-decoration: none;
  transition: all 0.15s;
}

.sidebar-cat:hover {
  background: rgba(233, 69, 96, 0.05);
  color: var(--clr-accent);
}

.sidebar-cat.active {
  background: var(--clr-accent);
  color: white;
  font-weight: 600;
}

.cat-icon-sm {
  font-size: 1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.15s;
}

.filter-check:hover { color: var(--clr-accent); }

.filter-check input[type="checkbox"],
.filter-check input[type="radio"] {
  accent-color: var(--clr-accent);
}

.filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--clr-text-light);
  background: var(--clr-bg-alt);
  padding: 1px 8px;
  border-radius: 10px;
}

/* Price Range */
.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.range-field {
  flex: 1;
}

.range-field label {
  display: block;
  font-size: 0.7rem;
  color: var(--clr-text-light);
  margin-bottom: 2px;
}

.range-field input {
  width: 100%;
  padding: 6px 8px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.range-field input:focus { border-color: var(--clr-accent); }

.range-sep {
  color: var(--clr-text-light);
  padding-top: 14px;
}

.price-slider-container {
  position: relative;
  height: 24px;
  margin: 4px 0;
}

.price-slider {
  position: absolute;
  width: 100%;
  top: 4px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clr-accent);
  border: 3px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  cursor: pointer;
  pointer-events: all;
}

.price-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--clr-border);
}

/* Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-filter-toggle {
  display: none;
  padding: 8px 16px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-white);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-filter-toggle:hover { border-color: var(--clr-accent); }

.view-toggle {
  display: flex;
  gap: 2px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.view-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--clr-text-light);
  display: grid;
  place-items: center;
}

.view-btn.active {
  background: var(--clr-white);
  color: var(--clr-accent);
  box-shadow: var(--shadow-sm);
}

.view-btn:hover { color: var(--clr-accent); }

/* Shop Grid - 3 columns default */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* List view */
.shop-grid.grid-list {
  grid-template-columns: 1fr;
}

.shop-grid.grid-list .product-card {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.shop-grid.grid-list .product-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.shop-grid.grid-list .product-image {
  width: 200px;
  min-width: 200px;
  aspect-ratio: auto;
  height: auto;
  font-size: 3rem;
  flex-shrink: 0;
}

.shop-grid.grid-list .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-grid.grid-list .product-card:hover .product-image img {
  transform: none;
}

.shop-grid.grid-list .product-info {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-grid.grid-list .product-info .product-title {
  font-size: 1.1rem;
  -webkit-line-clamp: 1;
}

.shop-grid.grid-list .product-card .btn {
  margin-top: 12px;
  width: auto;
  align-self: flex-start;
}

.shop-grid.grid-list .product-badge {
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* Empty state */
.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
}

.shop-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* Mobile Filter Overlay */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2000;
  overflow-y: auto;
}

.filter-overlay.open { display: block; }

.filter-overlay-content {
  background: var(--clr-white);
  max-width: 340px;
  margin-left: auto;
  min-height: 100%;
  padding: 20px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  overflow-y: auto;
}

.filter-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-border);
}

.filter-overlay-header h3 {
  font-size: 1.1rem;
  margin: 0;
}

.filter-overlay-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--clr-bg-alt);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.filter-overlay-close:hover { background: var(--clr-border); }

/* Sidebar sort */
.sidebar-sort {
  width: 100%;
  padding: 8px 10px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  background: var(--clr-white);
  cursor: pointer;
}

.sidebar-sort:focus { border-color: var(--clr-accent); }

/* Full-width hero responsive */
@media (max-width: 1024px) {
  .hero-fullwidth { height: 80vh; min-height: 420px; }
  .fw-content { grid-template-columns: 1fr; text-align: center; }
  .fw-desc { margin: 0 auto 28px; }
  .fw-btns { justify-content: center; }
  .fw-product-visual { display: none; }
  .fw-arrow { width: 38px; height: 38px; font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .hero-fullwidth { height: 70vh; min-height: 360px; }
  .fw-copy h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .fw-desc { font-size: 0.95rem; }
  .fw-arrow { width: 32px; height: 32px; font-size: 1.2rem; }
  .fw-arrow.fw-prev { left: 10px; }
  .fw-arrow.fw-next { right: 10px; }
  .fw-dots { bottom: 16px; gap: 6px; }
  .fw-dots button { width: 8px; height: 8px; }
  .fw-dots button.active { width: 24px; }
}

/* --- Hero Slider Responsive --- */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    margin-top: 88px;
  }
  .cat-sidebar {
    display: none;
  }
  .hero-slide-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-slide-text .slide-desc {
    margin: 0 auto 24px;
  }
  .hero-slide-btns {
    justify-content: center;
  }
  .hero-slide-visual {
    display: none;
  }
  .hero-slide {
    padding: 40px 32px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }

  .hero-layout { margin-top: 76px; padding: 0 16px 24px; }
  .home-slider { min-height: 320px; }
  .slider-track { min-height: 320px; }
  .hero-slide { min-height: 320px; padding: 32px 24px; }
  .hero-slide h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .slider-dots { left: 24px; }
  .slider-arrow { width: 32px; height: 32px; font-size: 1.2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }

  .hero-slide-products { display: none; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .product-info { padding: 14px; }
  .product-title { font-size: 0.85rem; }

  .countdown { gap: 12px; }
  .countdown-number { min-width: 60px; padding: 12px 16px; font-size: 2rem; }

  .page-header { padding: 100px 20px 32px; }
  .page-content { padding: 40px 20px; }

  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item-image { width: 60px; height: 60px; }
  .cart-item-actions { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }

  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .mobile-filter-toggle { display: inline-flex; }
  .shop-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }

  .contact-layout { padding: 40px 20px; }
  .account-layout { padding: 40px 20px; }

  .filter-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .btn { font-size: 0.8rem; padding: 10px 16px; }
  .shop-grid.grid-list .product-card {
    flex-direction: row;
  }
  .shop-grid.grid-list .product-image {
    width: 100px;
    min-width: 100px;
  }
  .shop-grid.grid-list .product-card .btn { width: 100%; }
  .shop-grid.grid-list .product-badge { left: 112px; }
}

/* ============================================
   SiBI Sections (More Than Apparel)
   ============================================ */
.section-sibi {
  background: var(--clr-bg);
}

.sibi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}

.sibi-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sibi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

.sibi-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.sibi-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #818cf8, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sibi-slogan {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 14px;
  font-style: italic;
}

.sibi-card p:not(.sibi-slogan) {
  color: var(--clr-text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   Insights — General
   ============================================ */
.insights-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.insights-filter .filter-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text-light);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}

.insights-filter .filter-btn:hover {
  background: rgba(129,140,248,.1);
  color: var(--clr-text);
}

.insights-filter .filter-btn.active {
  background: linear-gradient(135deg, #818cf8, #22d3ee);
  color: #fff;
  border-color: transparent;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.insight-card {
  display: block;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.insight-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.insight-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.insight-card:hover .insight-card-image img {
  transform: scale(1.03);
}

.insight-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 3rem;
  background: var(--clr-bg);
}

.insight-card-body {
  padding: 20px;
}

.insight-card-featured .insight-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.insight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 8px 0;
  color: var(--clr-text);
  line-height: 1.4;
}

.insight-card-featured h3 {
  font-size: 1.4rem;
}

.insight-excerpt {
  color: var(--clr-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 4px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #64748b;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.insight-section-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag-advisory { background: rgba(129,140,248,.15); color: #818cf8; }
.tag-giveback { background: rgba(52,211,153,.15); color: #34d399; }
.tag-media { background: rgba(251,146,60,.15); color: #fb923c; }

/* ============================================
   Insights — Homepage Mini Grid
   ============================================ */
.insights-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-mini-card {
  display: block;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.insight-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.insight-mini-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.insight-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.insight-mini-card:hover .insight-mini-image img {
  transform: scale(1.03);
}

.insight-mini-body {
  padding: 16px;
}

.insight-mini-body .insight-section-tag {
  margin-bottom: 6px;
}

.insight-mini-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 6px 0 4px;
  color: var(--clr-text);
  line-height: 1.4;
}

.insight-mini-body p {
  color: var(--clr-text-light);
  font-size: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   Single Article Layout
   ============================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0 16px;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta-left {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
}

.article-author {
  font-weight: 600;
  color: var(--clr-text);
}

.article-meta-sep {
  color: #475569;
}

.article-featured-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16 / 9;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--clr-text);
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 10px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid #818cf8;
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(129,140,248,.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.article-body blockquote p {
  margin-bottom: 0;
}

.article-body a {
  color: #818cf8;
  text-decoration: underline;
}

.article-footer-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
}

/* ============================================
   Article Sidebar
   ============================================ */
.article-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-featured-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sidebar-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.sidebar-featured-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sidebar-featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.sidebar-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.sidebar-featured-card:hover .sidebar-featured-image img {
  transform: scale(1.03);
}

.sidebar-featured-title {
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px;
  line-height: 1.4;
  margin: 0;
}

.sidebar-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}

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

.sidebar-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: background 0.2s, transform 0.2s;
}

.sidebar-item:hover {
  background: rgba(129,140,248,.06);
  transform: translateX(3px);
}

.sidebar-item-thumb {
  width: 80px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-item-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.35;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-item-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ============================================
   Responsive — Insights
   ============================================ */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .insight-card-featured {
    grid-template-columns: 1fr;
  }
  .insights-mini-grid {
    grid-template-columns: 1fr;
  }
  .sibi-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    margin-top: 32px;
  }
  .sidebar-featured-card {
    max-width: 400px;
  }
  .article-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .insights-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .insights-filter .filter-btn {
    white-space: nowrap;
  }
}

/* Footer logo white bg */
.footer-brand .logo-svg {
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

/* Official social media icons */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Contact page social icons (light bg) */
.contact-info .footer-social a {
  background: var(--clr-bg-alt);
  color: var(--clr-primary);
}

.contact-info .footer-social a:hover {
  background: var(--clr-accent);
  color: #fff;
}

/* Stable text labels for header actions; avoids emoji fallback boxes. */
.header-actions a.header-link-text{width:auto;min-width:42px;padding:0 8px;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none}
.mobile-toggle{min-width:44px;padding:0 10px;font-size:12px;font-weight:800}
.cat-icon,.category-icon{font-weight:800;letter-spacing:0;font-size:.9rem}


/* Backend-managed SiBI storefront sections */
.section-kicker{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--clr-accent);margin-bottom:10px}.sibi-story{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:42px;align-items:start}.sibi-story p{color:var(--clr-text-light);font-size:1.04rem;line-height:1.8;margin-bottom:22px}.header-actions a.header-link-text{width:auto;min-width:42px;padding:0 8px;font-size:12px;font-weight:800;white-space:nowrap;text-decoration:none}.mobile-toggle{min-width:44px;padding:0 10px;font-size:12px;font-weight:800}.cat-icon,.category-icon{font-weight:800;letter-spacing:0;font-size:.9rem}@media(max-width:760px){.sibi-story{grid-template-columns:1fr;gap:14px}}

/* SiBI layout refinements 20260724 */
.header-actions {
  gap: 10px;
}

.header-actions .header-icon-link {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border: 1px solid var(--clr-border);
  background: var(--clr-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--clr-text);
  position: relative;
}

.header-actions .header-icon-link:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-bg-alt);
}

.header-action-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions .mobile-toggle.header-icon-link {
  display: none;
}

.shop-layout {
  align-items: start;
}

.shop-main {
  min-width: 0;
}

.shop-toolbar {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.sidebar-categories {
  display: grid;
  gap: 6px;
}

.filter-check {
  padding: 9px 10px;
  border-radius: var(--radius-sm);
}

.filter-check.active {
  background: var(--clr-accent);
  color: var(--clr-white);
  font-weight: 700;
}

.shop-grid {
  max-width: none;
  margin: 0;
}

.shop-grid.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-grid.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shop-grid .product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.shop-grid .product-image {
  background: #f6f6f8;
}

.shop-grid .product-info {
  padding: 18px 18px 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.shop-grid .product-price {
  margin-top: auto;
}

.shop-grid.grid-list .product-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.shop-grid.grid-list .product-image {
  width: 220px;
  min-width: 0;
  height: 220px;
}

.shop-grid.grid-list .product-info {
  padding: 24px;
}

.shop-grid.grid-list .product-title {
  font-size: 1.1rem;
  -webkit-line-clamp: 2;
}

.view-btn {
  font-weight: 800;
}

.view-btn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-detail-summary {
  margin: 24px 0;
  max-width: 620px;
  color: var(--clr-text-light);
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .shop-grid.grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-actions .mobile-toggle.header-icon-link {
    display: grid;
  }

  .shop-toolbar {
    align-items: stretch;
  }

  .toolbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .shop-grid.grid-3,
  .shop-grid.grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .shop-grid.grid-list .product-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .shop-grid.grid-list .product-image {
    width: 112px;
    height: 132px;
  }

  .shop-grid.grid-list .product-info {
    padding: 14px;
  }
}

/* SiBI product option refinements 20260724 */
.color-selector {
  margin-top: 20px;
}

.color-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.selected-color-name {
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--clr-bg-alt);
  color: var(--clr-text);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-detail-info .color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 420px;
}

.product-detail-info .color-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--clr-border);
  background: var(--clr-white);
  border-radius: 999px;
  padding: 3px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.product-detail-info .color-btn:hover {
  transform: translateY(-1px);
  border-color: var(--clr-accent);
}

.product-detail-info .color-btn.active {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(233,69,96,.16);
}

.product-detail-info .color-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 1px solid rgba(0,0,0,.1);
}

.product-detail-info .color-btn.active .color-inner {
  box-shadow: inset 0 0 0 2px var(--clr-white);
}

.product-detail-info .size-btn {
  display: inline-grid;
  place-items: center;
}

/* SiBI compact color overflow 20260724 */
.color-options:not(.expanded) .color-btn.is-extra {
  display: none;
}

.color-more-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  background: var(--clr-white);
  color: var(--clr-text);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.color-more-btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(233,69,96,.06);
}

/* SiBI cart and checkout refinements 20260724 */
.cart-items-panel,
.checkout-form-panel {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.cart-layout {
  gap: 28px;
}

.cart-item {
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 20px 0;
}

.cart-item-image {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: #f6f6f8;
}

.cart-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--clr-text-light);
  font-size: .85rem;
  font-weight: 800;
}

.cart-item-info h4 {
  font-size: 1rem;
  line-height: 1.35;
}

.cart-item-info .quantity-selector {
  width: max-content;
}

#cart-summary.cart-summary,
#checkout-summary.checkout-summary {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
}

.checkout-form-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-border);
}

.checkout-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.checkout-contact-left {
  display: grid;
  gap: 14px;
}

.checkout-contact-left .form-group,
.checkout-address-right .form-group {
  margin-bottom: 0;
}

.checkout-address-right,
.form-group-fill {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.form-group-fill textarea {
  flex: 1;
  min-height: 212px;
  resize: vertical;
}

.checkout-payment-block {
  margin-top: 22px;
}

.checkout-note {
  font-size: .85rem;
  color: var(--clr-text-light);
  margin-top: 8px;
}

.payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.payment-method-icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: .72rem;
  font-weight: 800;
}

.checkout-item {
  gap: 18px;
  align-items: flex-start;
}

.checkout-item strong {
  display: block;
  max-width: 230px;
  font-size: .9rem;
  line-height: 1.35;
}

.checkout-item small {
  display: block;
  margin-top: 3px;
  color: var(--clr-text-light);
  font-size: .78rem;
}

@media (max-width: 900px) {
  .checkout-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .checkout-contact-grid {
    grid-template-columns: 1fr;
  }

  .form-group-fill textarea {
    min-height: 140px;
  }
}

@media (max-width: 560px) {
  .cart-items-panel,
  .checkout-form-panel {
    padding: 18px;
  }

  .cart-item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-item-image {
    width: 78px;
    height: 78px;
  }
}

/* SiBI customer ecommerce 20260724 */
.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.auth-card,
.account-panel,
.account-section {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.auth-card h2,
.account-section h2,
.account-panel h2 { margin-bottom: 8px; }
.auth-card p,
.account-panel p,
.muted { color: var(--clr-text-light); }
.form-alert {
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.25);
  color: var(--clr-danger);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.account-dashboard {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.account-main {
  display: grid;
  gap: 18px;
}
.section-head-inline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.section-head-inline span,
.account-order small {
  color: var(--clr-text-light);
  font-size: .82rem;
}
.account-order-list {
  display: grid;
  gap: 10px;
}
.account-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--clr-border);
}
.account-order small { display: block; margin-top: 3px; }
.status-pill {
  display: inline-grid;
  place-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--clr-bg-alt);
  font-size: .75rem;
  font-weight: 800;
}
.wishlist-toggle.active {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(233,69,96,.06);
}
@media (max-width: 820px) {
  .auth-grid,
  .account-dashboard { grid-template-columns: 1fr; }
}

