/* ==========================================================================
   J SHOES — Modern Footwear Store Stylesheet
   Real Local Shoe Business: Marghzar Housing Scheme, Lahore, Pakistan
   Mobile-first, fully responsive, zero overflow, production-ready
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary-dark: #10151f;
  --primary-deep: #0a0e16;
  --surface-card: #ffffff;
  --surface-subtle: #f8fafc;
  --surface-alt: #f1f5f9;
  
  --accent-leather: #b47539;
  --accent-leather-hover: #965c27;
  --accent-leather-light: #fbf5ee;
  --accent-leather-border: rgba(180, 117, 57, 0.25);

  --whatsapp-green: #25d366;
  --whatsapp-green-dark: #1da851;
  --whatsapp-green-light: #edfbf2;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-light: #ffffff;

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-dark: #2a3447;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(16, 21, 31, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  --header-height: 72px;
  --topbar-height: 38px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--topbar-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll anywhere */
body, main, section, header, footer, div {
  max-width: 100%;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition-base);
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

/* --- Skip Link for Accessibility --- */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 99999;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 1rem;
  outline: 2px solid var(--accent-leather);
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* --- Top Information Bar --- */
.top-bar {
  background-color: var(--primary-deep);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.top-bar-location svg {
  color: var(--accent-leather);
  flex-shrink: 0;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0;
  font-weight: 500;
}
.top-bar-link:hover {
  color: var(--accent-leather);
}

.top-bar-link.whatsapp-highlight {
  color: #4ade80;
}
.top-bar-link.whatsapp-highlight:hover {
  color: #86efac;
}

/* --- Main Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.99);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.brand-name span {
  color: var(--accent-leather);
}

.brand-tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 960px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.01em;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-leather);
    transition: width 0.25s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--accent-leather);
  }

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

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-header-call {
  display: none;
  background-color: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
}
.btn-header-call:hover {
  background-color: var(--border-light);
}

@media (min-width: 640px) {
  .btn-header-call {
    display: inline-flex;
  }
}

.btn-header-wa {
  background-color: var(--whatsapp-green);
  color: #ffffff;
}
.btn-header-wa:hover {
  background-color: var(--whatsapp-green-dark);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--primary-dark);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

@media (min-width: 960px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 2000;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 14, 22, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-main);
}

.drawer-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-link {
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  color: var(--primary-dark);
  border-bottom: 1px solid var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--accent-leather);
}

.drawer-actions {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: var(--surface-subtle);
}

.drawer-location-card {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: #ffffff;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.drawer-location-card strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0d121c 0%, #161f30 100%);
  color: #ffffff;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(180, 117, 57, 0.15);
  border: 1px solid rgba(180, 117, 57, 0.35);
  color: #e5b382;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-tag svg {
  color: var(--accent-leather);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-title span {
  color: #e5b382;
}

.hero-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--accent-leather);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(180, 117, 57, 0.35);
  transition: var(--transition-base);
  min-height: 48px;
}

.btn-primary:hover {
  background-color: var(--accent-leather-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(180, 117, 57, 0.45);
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition-base);
  min-height: 48px;
}

.btn-whatsapp-large:hover {
  background-color: var(--whatsapp-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.hero-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.hero-badge-item svg {
  color: #4ade80;
  flex-shrink: 0;
}

/* Hero Media Showcase */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1e293b;
}

.hero-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .hero-main-img {
    height: 440px;
  }
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.floating-icon {
  width: 42px;
  height: 42px;
  background: rgba(180, 117, 57, 0.2);
  border: 1px solid rgba(180, 117, 57, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5b382;
  flex-shrink: 0;
}

.floating-text strong {
  display: block;
  font-size: 0.9375rem;
  color: #ffffff;
}

.floating-text span {
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* --- Section Global Headers --- */
.section-padding {
  padding: 4.5rem 0;
}

@media (max-width: 640px) {
  .section-padding {
    padding: 3.25rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-leather);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.375rem;
  }
}

.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Categories Section --- */
.categories-section {
  background-color: var(--surface-subtle);
  border-bottom: 1px solid var(--border-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.category-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface-alt);
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-card-img {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 21, 31, 0.75) 0%, rgba(16, 21, 31, 0) 60%);
}

.category-badge-count {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  background: rgba(16, 21, 31, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.category-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.category-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-leather);
}

.category-card:hover .category-card-link {
  color: var(--accent-leather-hover);
}

/* --- Products / Catalog Section --- */
.products-section {
  background-color: #ffffff;
}

/* Catalog Filter Controls */
.catalog-toolbar {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  transition: var(--transition-base);
  min-height: 40px;
}

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

.filter-btn.active {
  background-color: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.search-box-wrap {
  position: relative;
  min-width: 260px;
}

.search-input {
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background-color: var(--surface-subtle);
  outline: none;
  transition: var(--transition-base);
}

.search-input:focus {
  background-color: #ffffff;
  border-color: var(--accent-leather);
  box-shadow: 0 0 0 3px rgba(180, 117, 57, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 540px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

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

.product-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  background-color: var(--surface-alt);
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(16, 21, 31, 0.85);
  backdrop-filter: blur(4px);
  color: #f1f5f9;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-leather);
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.84375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Craftsmanship / Specs Tag */
.product-specs-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.spec-pill {
  font-size: 0.71875rem;
  background-color: var(--surface-alt);
  color: var(--text-main);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Genuine Pricing Section */
.product-pricing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  background-color: var(--surface-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

.price-status {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.price-status svg {
  color: var(--accent-leather);
}

.size-availability {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Product Card Actions */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-card-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  min-height: 42px;
}

.btn-card-details:hover {
  background-color: var(--surface-alt);
  border-color: #cbd5e1;
}

.btn-card-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: var(--radius-sm);
  min-height: 42px;
  white-space: nowrap;
}

.btn-card-wa:hover {
  background-color: var(--whatsapp-green-dark);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* No results state */
.catalog-empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  grid-column: 1 / -1;
  display: none;
}

.catalog-empty-state.visible {
  display: block;
}

/* --- About & Craftsmanship Section --- */
.about-section {
  background-color: var(--surface-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-image-wrapper {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  max-width: 240px;
}

@media (max-width: 640px) {
  .about-badge-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
}

.about-badge-card strong {
  display: block;
  font-size: 1.125rem;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.about-badge-card span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.about-content-heading {
  font-family: var(--font-heading);
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-lead-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.about-body-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 500px) {
  .about-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar-item {
  display: flex;
  gap: 0.875rem;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-leather-light);
  border: 1px solid var(--accent-leather-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-leather);
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

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

/* --- Contact & Location Section --- */
.contact-section {
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
}

/* Contact Info Column */
.contact-info-card {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-header {
  margin-bottom: 2rem;
}

.contact-brand-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.contact-brand-subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-row-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-leather);
  flex-shrink: 0;
}

.contact-row-icon.wa-icon {
  color: #4ade80;
}

.contact-row-content label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.contact-row-content p,
.contact-row-content a {
  font-size: 0.9375rem;
  color: #f1f5f9;
  line-height: 1.5;
}

.contact-row-content a:hover {
  color: var(--accent-leather);
}

.contact-actions-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-contact-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  min-height: 44px;
}
.btn-contact-call:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-contact-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  background: var(--whatsapp-green);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  min-height: 44px;
}
.btn-contact-wa:hover {
  background: var(--whatsapp-green-dark);
}

/* Interactive Map & Quick Form Column */
.contact-interactive-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.map-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-card-header {
  padding: 1rem 1.25rem;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.map-link-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-leather);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.map-link-btn:hover {
  color: var(--accent-leather-hover);
  text-decoration: underline;
}

.map-iframe-container {
  width: 100%;
  height: 260px;
  background-color: var(--surface-alt);
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Quick Inquiry Form */
.quick-inquiry-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.quick-inquiry-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.quick-inquiry-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

@media (min-width: 500px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-field input,
.form-field textarea {
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  outline: none;
  font-size: 0.875rem;
  transition: var(--transition-base);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-leather);
  box-shadow: 0 0 0 3px rgba(180, 117, 57, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary-dark);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.8125rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  min-height: 46px;
}

.btn-submit-inquiry:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}

.form-status-msg {
  font-size: 0.875rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status-msg.success {
  display: block;
  background: var(--whatsapp-green-light);
  color: var(--whatsapp-green-dark);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary-deep);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
}

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

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand-col .brand-name {
  color: #ffffff;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
  color: #94a3b8;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

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

.footer-link {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: var(--transition-base);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.footer-contact-item svg {
  color: var(--accent-leather);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a:hover {
  color: var(--accent-leather);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-local-note {
  color: #94a3b8;
}

/* --- Product Detail Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 14, 22, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(16, 21, 31, 0.08);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-base);
}

.modal-close-btn:hover {
  background: rgba(16, 21, 31, 0.2);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.modal-media-wrap {
  position: relative;
  background: var(--surface-alt);
  min-height: 320px;
}

@media (min-width: 768px) {
  .modal-media-wrap {
    min-height: 100%;
  }
}

.modal-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.modal-content-wrap {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .modal-content-wrap {
    padding: 1.5rem;
  }
}

.modal-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-leather);
  margin-bottom: 0.35rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.modal-pricing-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-price-status {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9375rem;
}

.modal-stock-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--whatsapp-green-light);
  color: var(--whatsapp-green-dark);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.modal-desc {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.modal-spec-block {
  margin-bottom: 1.25rem;
}

.modal-spec-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.modal-spec-text {
  font-size: 0.875rem;
  color: var(--text-main);
  line-height: 1.5;
}

.modal-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.size-badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.modal-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84375rem;
  color: var(--text-muted);
}

.modal-feature-item svg {
  color: var(--whatsapp-green-dark);
  flex-shrink: 0;
}

.modal-ctas {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 500px) {
  .modal-ctas {
    flex-direction: row;
  }
}

.modal-btn-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  min-height: 48px;
}

.modal-btn-wa:hover {
  background: var(--whatsapp-green-dark);
}

.modal-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--surface-alt);
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  min-height: 48px;
}

.modal-btn-call:hover {
  background: var(--border-light);
}

/* --- Floating WhatsApp Quick Action Button --- */
.floating-wa-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.floating-wa-btn:hover {
  background-color: var(--whatsapp-green-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.floating-wa-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 500px) {
  .floating-wa-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem;
    border-radius: var(--radius-full);
  }
  .floating-wa-btn span {
    display: none;
  }
}
