/* ==========================================================================
   HAMMAD IQBAL PORTFOLIO - DIGITAL STORE & PRODUCTS STYLESHEET
   Clean, modern, responsive storefront with slideshow, modals & QR checkout.
   ========================================================================== */

:root {
  --store-primary: #2563eb;
  --store-primary-hover: #1d4ed8;
  --store-bg: #f8fafc;
  --store-card-bg: #ffffff;
  --store-border: #e2e8f0;
  --store-text: #0f172a;
  --store-text-muted: #64748b;
  --store-radius: 14px;
}

[data-theme="dark"] {
  --store-bg: #090d16;
  --store-card-bg: #111827;
  --store-border: #1f2937;
  --store-text: #f9fafb;
  --store-text-muted: #9ca3af;
}

/* Global Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.text-muted { color: #64748b !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100% !important; }

/* Store Hero Banner */
.store-hero {
  padding: 130px 0 40px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 168, 132, 0.08) 0%, rgba(37, 99, 235, 0.04) 50%, transparent 75%);
  text-align: center;
}

.store-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 132, 0.08);
  border: 1px solid rgba(0, 168, 132, 0.25);
  color: #00a884;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.store-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--store-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.store-subtitle {
  font-size: 1.05rem;
  color: var(--store-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Category Filter Pills */
.category-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem auto 0;
  max-width: 960px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  white-space: nowrap;
}

.cat-pill:hover {
  color: #00a884;
  border-color: #00a884;
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 132, 0.15);
}

.cat-pill.active {
  background: #00a884;
  color: #ffffff !important;
  border-color: #00a884;
  box-shadow: 0 4px 14px rgba(0, 168, 132, 0.3);
  transform: translateY(-1px);
}

.cat-pill i {
  font-size: 0.85rem;
}

/* Catalog Filter & Search Toolbar */
.catalog-section {
  padding: 2.25rem 0 4.5rem;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 2.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.catalog-toolbar-count {
  font-size: 0.88rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.catalog-toolbar-count strong {
  color: #0f172a;
}

.catalog-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 168, 132, 0.12);
  color: #00a884;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.catalog-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
}

.catalog-search-box {
  position: relative;
  width: 250px;
  max-width: 100%;
}

.catalog-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.82rem;
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  height: 40px;
  padding: 0.45rem 1rem 0.45rem 2.35rem;
  font-size: 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.catalog-search-input:focus {
  border-color: #00a884;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.14);
}

.catalog-sort-select {
  height: 40px;
  padding: 0.45rem 2.2rem 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2523475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 0.85rem center / 0.85rem;
  color: #334155;
  outline: none;
  cursor: pointer;
  appearance: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.catalog-sort-select:focus {
  border-color: #00a884;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.14);
}

.catalog-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ef4444;
  background: #fee2e2;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.catalog-clear-btn:hover {
  background: #fecaca;
  color: #dc2626;
}

@media (max-width: 768px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-toolbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-search-box {
    width: 100%;
  }
  .catalog-sort-select {
    width: 100%;
  }
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.product-card {
  background: var(--store-card-bg);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.1), 0 6px 12px -4px rgba(15, 23, 42, 0.05);
}

.product-card-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #f1f5f9;
}

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

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

.product-card-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card-digital-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

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

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--store-text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--store-border);
  margin-top: auto;
}

.product-card-price {
  display: flex;
  flex-direction: column;
}

.product-price-currency {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--store-text-muted);
  text-transform: uppercase;
}

.product-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--store-text);
  line-height: 1.1;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE - 2-COLUMN MINIMALIST STRUCTURE
   Matching modern fashion & digital storefront design
   ========================================================================== */

.product-detail-wrapper {
  padding: 110px 0 80px;
  background: #ffffff;
  min-height: calc(100vh - 80px);
}

[data-theme="dark"] .product-detail-wrapper {
  background: #0b0f19;
}

.product-detail-container {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Minimalist Breadcrumb */
.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 28px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.product-breadcrumb a {
  color: #737373;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
  color: #00a884;
}

.product-breadcrumb .sep {
  color: #bbbbbb;
  font-size: 11px;
}

.product-breadcrumb .active-item {
  color: #111827;
  font-weight: 700;
}

[data-theme="dark"] .product-breadcrumb .active-item {
  color: #f3f4f6;
}

/* 2-Column Main Layout Grid */
.product-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

@media (max-width: 860px) {
  .product-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   LEFT COLUMN: PRODUCT MEDIA & GALLERY
   ========================================================================== */
.product-gallery-box {
  width: 100%;
}

.gallery-main-view {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-code-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(45, 55, 72, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  z-index: 5;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.22s ease;
}

.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  opacity: 0.85;
}

.gallery-nav-arrow:hover {
  background: #ffffff;
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
  color: #00a884;
}

.gallery-nav-prev {
  left: 12px;
}

.gallery-nav-next {
  right: 12px;
}

/* 4-Thumbnail Row */
.gallery-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumb-card {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid #e5e7eb;
  background: #f8fafc;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: all 0.2s ease;
  outline: none;
  position: relative;
}

.gallery-thumb-card:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.gallery-thumb-card.active {
  border-color: #00a884;
  box-shadow: 0 0 0 1.5px #00a884;
}

.gallery-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.model-size-caption {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 12px;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   RIGHT COLUMN: PRODUCT DETAILS & CONTROLS
   ========================================================================== */
.product-summary-col {
  display: flex;
  flex-direction: column;
}

.product-collection-sub {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #00a884;
  margin-bottom: 6px;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.product-main-heading {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

[data-theme="dark"] .product-main-heading {
  color: #f9fafb;
}

/* Pricing Section */
.product-pricing-wrap {
  margin-bottom: 22px;
}

.price-discount-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.strike-price {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
}

.discount-tag {
  font-size: 12px;
  font-weight: 700;
  color: #ef4444;
}

.bold-price-number {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] .bold-price-number {
  color: #f9fafb;
}

.checkout-tax-note {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 0;
}

/* Size Selection */
.product-size-box {
  margin-bottom: 24px;
}

.size-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.select-size-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #374151;
  font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .select-size-title {
  color: #d1d5db;
}

.size-chart-trigger {
  font-size: 12px;
  font-weight: 600;
  color: #00a884;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.size-chart-trigger:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.size-options-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.size-pill-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  padding: 0;
}

[data-theme="dark"] .size-pill-btn {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.size-pill-btn:hover {
  border-color: #00a884;
  color: #00a884;
}

.size-pill-btn.active {
  background: #00a884;
  border-color: #00a884;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 168, 132, 0.35);
}

.size-stock-counter {
  font-size: 11px;
  font-weight: 700;
  color: #ef4444;
  margin-top: 6px;
  padding-left: 2px;
}

/* Action Buttons (Wishlist & Add to Cart) */
.product-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 26px;
}

.btn-wishlist {
  background: #788691;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  min-width: 128px;
}

.btn-wishlist:hover {
  background: #63717c;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-wishlist.active {
  background: #e11d48;
}

.btn-add-to-cart {
  background: #00a884;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 168, 132, 0.35);
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  min-width: 154px;
}

.btn-add-to-cart:hover {
  background: #009474;
  box-shadow: 0 6px 18px rgba(0, 168, 132, 0.45);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Product Meta Blocks (Details, Material & Care, Sold By) */
.product-meta-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

[data-theme="dark"] .product-meta-section {
  border-top-color: #1e293b;
}

.meta-section-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
}

.meta-section-header:first-child {
  margin-top: 0;
}

[data-theme="dark"] .meta-section-header {
  color: #9ca3af;
}

.meta-section-desc {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.55;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .meta-section-desc {
  color: #d1d5db;
}

.meta-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 13.5px;
  color: #374151;
  font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .meta-bullets {
  color: #d1d5db;
}

.meta-bullets li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.meta-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #6b7280;
  font-weight: bold;
}

.seller-store-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #00a884;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
  transition: opacity 0.2s;
}

.seller-store-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ==========================================================================
   SIMILAR PRODUCTS SECTION
   ========================================================================== */
.similar-products-wrap {
  margin-top: 56px;
}

.section-sep-line {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 32px;
}

[data-theme="dark"] .section-sep-line {
  border-top-color: #1f2937;
}

.similar-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] .similar-section-title {
  color: #f9fafb;
}

.similar-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .similar-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .similar-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.similar-product-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.similar-product-item:hover {
  transform: translateY(-4px);
  color: inherit;
}

.similar-image-holder {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 10px;
}

.similar-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.similar-product-item:hover .similar-image-holder img {
  transform: scale(1.05);
}

.similar-caption-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 2px;
}

.similar-name {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  flex: 1;
  font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .similar-name {
  color: #f3f4f6;
}

.similar-cost {
  font-size: 14px;
  font-weight: 800;
  color: #00a884;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.similar-shipping-text {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   SIZE CHART MODAL & TOAST
   ========================================================================== */
.size-chart-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.size-chart-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.size-chart-modal-card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

[data-theme="dark"] .size-chart-modal-card {
  background: #111827;
  border: 1px solid #1f2937;
}

.size-chart-modal-backdrop.active .size-chart-modal-card {
  transform: scale(1);
}

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

[data-theme="dark"] .size-chart-header {
  border-bottom-color: #1f2937;
}

.size-chart-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

[data-theme="dark"] .size-chart-title {
  color: #f9fafb;
}

.size-chart-close-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.size-chart-close-btn:hover {
  color: #111827;
}

.size-chart-body {
  padding: 20px;
}

.size-table-custom {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
}

.size-table-custom th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .size-table-custom th {
  background: #1e293b;
  color: #cbd5e1;
  border-bottom-color: #334155;
}

.size-table-custom td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

[data-theme="dark"] .size-table-custom td {
  border-bottom-color: #1e293b;
  color: #cbd5e1;
}

.size-table-custom tr.highlight-size {
  background: rgba(0, 168, 132, 0.08);
  font-weight: 700;
}

.wishlist-toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10002;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.wishlist-toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}



/* ==========================================================================
   BUY NOW & PAYMENT POPUP MODAL
   ========================================================================== */

.buy-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.buy-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.buy-modal-card {
  background: var(--store-card-bg);
  border: 1px solid var(--store-border);
  border-radius: 16px;
  width: 60vw;
  max-width: 60vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991px) {
  .buy-modal-card {
    width: 80vw;
    max-width: 80vw;
  }
}

@media (max-width: 768px) {
  .buy-modal-card {
    width: 95vw;
    max-width: 95vw;
  }
}

.buy-modal-backdrop.active .buy-modal-card {
  transform: scale(1);
}

.buy-modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--store-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--store-card-bg);
}

.buy-modal-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--store-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.buy-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--store-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 4px;
}

.buy-modal-close-btn:hover {
  color: #ef4444;
}

.buy-modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}

/* Modal Product Summary Banner */
.modal-product-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 168, 132, 0.06);
  border: 1px solid rgba(0, 168, 132, 0.2);
  border-radius: 10px;
  margin-bottom: 1.15rem;
}

.modal-product-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--store-text);
  margin: 0 0 0.25rem;
}

.modal-product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #00a884;
}

/* Modal QR Display Box (Center Aligned) */
.modal-qr-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-qr-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto 0.65rem;
  display: block;
  border: 1px solid #e2e8f0;
}

.modal-bank-info-table {
  width: 100%;
  max-width: 500px;
  font-size: 0.82rem;
  margin: 0.5rem auto 0;
  text-align: left;
}

/* 2-Column Checkout Form Grid */
.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .checkout-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.checkout-form-group {
  display: flex;
  flex-direction: column;
}

.checkout-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--store-text);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.checkout-form-group .form-control {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--store-border);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
  color: #111827;
}

.checkout-form-group .form-control:focus {
  border-color: #00a884;
  box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.15);
  outline: none;
}

.checkout-form-full {
  grid-column: 1 / -1;
}

.modal-bank-info-table td {
  padding: 0.3rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.modal-bank-info-table td:first-child {
  color: #64748b;
  width: 120px;
}

.modal-bank-info-table td:last-child {
  font-weight: 600;
  color: #0f172a;
}

.modal-instructions-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.45;
}

/* Modal Success State */
.modal-success-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  animation: fadeIn 0.3s ease-out;
}

.modal-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 168, 132, 0.12);
  color: #00a884;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.modal-success-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.modal-order-tag {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  font-size: 1.05rem;
  background: rgba(0, 168, 132, 0.1);
  color: #00a884;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 168, 132, 0.3);
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.modal-success-desc {
  font-size: 0.95rem;
  color: #334155;
  max-width: 620px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.modal-success-desc strong {
  color: #0f172a;
  font-weight: 700;
}

/* ==========================================================================
   PRODUCTS PAGES: CTA SECTION ABOVE FOOTER
   ========================================================================== */
.products-cta-section {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(241, 245, 249, 0.75) 100%);
}

.products-cta-card {
  position: relative;
  background: radial-gradient(circle at 10% 20%, #064e3b 0%, #022c22 45%, #0f172a 100%);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(2, 44, 34, 0.4);
  border: 1px solid rgba(0, 168, 132, 0.25);
  text-align: center;
}

.products-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 168, 132, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.products-cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.products-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 168, 132, 0.2);
  border: 1px solid rgba(0, 168, 132, 0.4);
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.products-cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.products-cta-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.products-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.products-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  border: none;
}

.products-cta-btn-primary:hover {
  background: #20ba5a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.products-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.products-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.products-cta-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

.cta-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 500;
}

.cta-feature-item i {
  color: #34d399;
}

@media (max-width: 768px) {
  .products-cta-card {
    padding: 2.5rem 1.25rem;
  }
  .products-cta-title {
    font-size: 1.6rem;
  }
  .products-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .products-cta-btn-primary,
  .products-cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .products-cta-features {
    gap: 0.85rem;
    flex-direction: column;
  }
}