/* 6october.shop - Logo-Themed Storefront Stylesheet (Arabic RTL) */

:root {
  /* Brand Palette Tokens (Logo: yellow "6", multicolor stitched letters, black cart) */
  --yellow: #FCDD09;
  --yellow-hover: #E6C800;
  --yellow-light: #FFF8CC;

  --ink: #1A1A1A;
  --ink-hover: #333333;

  --cream: #FFFBEA;
  --cream-border: #EFE6B8;

  --accent-red: #C74A5C;
  --accent-pink: #E5929B;
  --accent-orange: #F5A623;
  --accent-purple: #9B7FBF;
  --logo-blue: #3F83A8;

  /* Success Tokens */
  --success: #2F8F5B;
  --success-hover: #267349;
  --success-bg: #EAF6EF;
  --success-border: #BDE3CD;

  /* Compatibility & Legacy Token Mappings */
  --navy: var(--ink);
  --navy-hover: var(--ink-hover);
  --paper: var(--cream);
  --green: var(--success);
  --green-hover: var(--success-hover);
  --green-light: var(--success-bg);
  --green-border: var(--success-border);

  --zinc-border: #e4e4e7;
  --zinc-bg: #f4f4f5;
  --zinc-hover: #e4e4e7;

  /* Semantic Theme Mappings */
  --primary: var(--yellow);
  --primary-hover: var(--yellow-hover);
  --primary-light: #FFF8CC;
  --accent: var(--accent-orange);

  --bg-body: #ffffff;
  --bg-card: #ffffff;
  --bg-paper: var(--cream);

  --text-main: var(--ink);
  --text-body: #1A1A1A;
  --text-muted: #52525b;
  --text-subtle: #71717a;

  --border: var(--zinc-border);
  --border-focus: var(--logo-blue);

  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  --warning: #b45309;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;

  --radius-sm: 6px;
  --radius-card: 8px;
  --radius-btn: 12px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 5px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: "Segoe UI", Tahoma, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
}

/* LTR override for admin panels if loaded with this stylesheet */
html[dir="ltr"] body, .admin-body, .login-body {
  direction: ltr;
  text-align: left;
}

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

/* ==========================================================================
   Header (White with 4px Solid Yellow Bottom Border)
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 4px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 12px;
}

@media (min-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0;
    height: 78px;
  }
}

.header-start {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.site-brand:hover {
  opacity: 0.9;
}

.brand-name {
  color: var(--ink);
}

/* Search Input (Pill Shaped) */
.header-search {
  order: 3;
  width: 100%;
}

@media (min-width: 768px) {
  .header-search {
    order: 2;
    width: auto;
    flex: 1;
    max-width: 460px;
    margin-inline: 32px;
  }
}

.search-form {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  height: 44px;
  background-color: var(--zinc-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding-inline-start: 20px;
  padding-inline-end: 46px;
  font-size: 0.92rem;
  color: var(--text-body);
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:hover {
  border-color: #d4d4d8;
}

.search-input:focus {
  background-color: #ffffff;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(63, 131, 168, 0.15);
}

.search-btn {
  position: absolute;
  inset-inline-end: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.2s ease;
}

.search-btn:hover {
  opacity: 0.75;
}

/* Header End (Actions & Cart) */
.header-end {
  display: flex;
  align-items: center;
  gap: 16px;
  order: 2;
  margin-inline-start: auto;
}

@media (min-width: 768px) {
  .header-end {
    order: 3;
    margin-inline-start: 0;
  }
}

.header-contact .phone-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  background-color: var(--cream);
  transition: opacity 0.2s ease;
}

.header-contact .phone-link:hover {
  opacity: 0.85;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.cart-link:hover {
  background-color: var(--zinc-bg);
}

.cart-icon {
  stroke: var(--ink);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */

.site-main {
  flex: 1;
  padding-bottom: 64px;
}

/* ==========================================================================
   Hero Section (Full-width banner on Cream #FFFBEA, serif heading in Ink #1A1A1A, Yellow CTA)
   ========================================================================== */

.hero-section {
  background-color: var(--cream);
  border-bottom: 4px solid var(--primary);
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: 64px 20px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 80px 20px;
    margin-bottom: 60px;
  }
}

.hero-card {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.hero-title {
  font-family: Georgia, "Times New Roman", "Segoe UI", Tahoma, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 16px;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-action {
  display: flex;
  justify-content: center;
}

.hero-action .btn,
.hero-action .btn-primary,
.hero-btn {
  background-color: var(--primary);
  color: var(--ink);
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(252, 221, 9, 0.4);
}

.hero-action .btn:hover,
.hero-action .btn-primary:hover,
.hero-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--ink);
}

/* ==========================================================================
   Buttons (Rounded 12px, Yellow fill #FCDD09, Ink text #1A1A1A, 14px 28px, Hover .9)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  border: 1px solid transparent;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--ink);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--ink);
  opacity: 0.95;
}

/* Secondary Button: Ink background #1A1A1A, White text */
.btn-secondary {
  background-color: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.btn-secondary:hover {
  background-color: var(--ink-hover);
  border-color: var(--ink-hover);
  color: #ffffff;
}

.btn-dark {
  background-color: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.btn-dark:hover {
  background-color: var(--ink-hover);
  border-color: var(--ink-hover);
  color: #ffffff;
}

.btn-link {
  background: none;
  color: var(--ink);
  padding: 4px 8px;
  font-size: 0.95rem;
  border: none;
  min-height: auto;
  font-weight: 600;
}

.btn-link:hover {
  color: var(--logo-blue);
  text-decoration: underline;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* ==========================================================================
   Category & Products Grid (4 columns desktop, 2 mobile, gap 24px)
   ========================================================================== */

.products-section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* Product Cards: White, Radius 8px, Hover shadow, Cream img bg, Name 16px medium, Price bold accent red #C74A5C */
.product-card {
  background-color: #ffffff;
  border: 1px solid var(--zinc-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--zinc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

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

.no-thumb {
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

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

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-red);
}

.product-card .btn-primary {
  padding: 10px 18px;
  font-size: 0.9rem;
  min-height: 40px;
  border-radius: var(--radius-btn);
  background-color: var(--primary);
  color: var(--ink);
  border-color: var(--primary);
}

.product-card .btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--ink);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  background-color: var(--zinc-bg);
  border-radius: var(--radius-card);
  border: 1px dashed var(--zinc-border);
}

/* ==========================================================================
   Product Detail Page (.product-page-grid)
   ========================================================================== */

.product-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-block: 24px 48px;
}

@media (min-width: 900px) {
  .product-page-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
    gap: 48px;
  }
}

/* Product Media Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--zinc-bg);
  border: 1px solid var(--zinc-border);
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-thumb-large {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-subtle);
  font-size: 1.1rem;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.thumb-btn {
  width: 72px;
  height: 72px;
  border: 2px solid var(--zinc-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--zinc-bg);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.thumb-btn:hover {
  opacity: 0.85;
}

.thumb-btn.active {
  border-color: var(--primary);
}

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

.product-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #000000;
}

.product-video iframe {
  width: 100%;
  height: 100%;
}

.product-details-card {
  margin-top: 16px;
}

.product-description {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* Order Column & Heading */
.product-order-column {
  display: flex;
  flex-direction: column;
}

.order-card {
  border-radius: var(--radius-card);
}

.product-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-short-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-banner {
  background-color: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-red);
}

.price-note {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Offers Radio Cards
   ========================================================================== */

.offers-group {
  margin-bottom: 24px;
}

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

.offer-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--zinc-border);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 14px;
  background-color: #ffffff;
}

.offer-card:hover {
  border-color: #cbd5e1;
}

.offer-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
  cursor: pointer;
}

.offer-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.offer-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offer-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.offer-price {
  font-weight: 800;
  color: var(--accent-red);
}

/* ==========================================================================
   Form Controls
   ========================================================================== */

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

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.req {
  color: var(--danger);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--zinc-border);
  border-radius: var(--radius-card);
  background-color: #ffffff;
  color: var(--text-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(63, 131, 168, 0.15);
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.turnstile-container {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

/* ==========================================================================
   Badges (Pink / Orange / Purple / Yellow, Success Green #2F8F5B)
   ========================================================================== */

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-success {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.badge-discount,
.badge-sale {
  background-color: var(--accent-pink);
  color: var(--ink);
}

.badge-new {
  background-color: var(--accent-purple);
  color: #ffffff;
}

.badge-custom,
.badge-category {
  background-color: var(--accent-orange);
  color: var(--ink);
}

.badge-yellow {
  background-color: var(--yellow);
  color: var(--ink);
}

/* ==========================================================================
   Cards (General)
   ========================================================================== */

.card {
  background-color: #ffffff;
  border: 1px solid var(--zinc-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--zinc-border);
  padding-bottom: 8px;
}

.card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--zinc-border);
}

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

/* ==========================================================================
   Notices & Alerts
   ========================================================================== */

.notice-box {
  padding: 16px 20px;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
}

.notice-warning {
  background-color: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning);
}

.notice-error {
  background-color: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.notice-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.notice-box ul {
  padding-inline-start: 20px;
}

/* ==========================================================================
   OTP, Thanks, Policy, and Error Pages
   ========================================================================== */

.otp-wrapper, .thanks-wrapper, .policy-wrapper, .error-wrapper {
  max-width: 540px;
  margin-inline: auto;
  margin-block: 36px 48px;
}

.otp-card, .thanks-card, .error-card {
  text-align: center;
  padding: 36px 28px;
}

.otp-icon, .thanks-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.page-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.text-success {
  color: var(--success);
}

.otp-desc, .thanks-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.otp-input {
  font-size: 2rem;
  letter-spacing: 12px;
  text-align: center;
  font-weight: 800;
  height: 60px;
  color: var(--ink);
}

.otp-resend-box {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--text-subtle);
}

/* Thanks Page Order Summary */
.order-summary-box {
  background-color: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: right;
  margin-bottom: 24px;
}

.summary-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--cream-border);
  padding-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--cream-border);
  color: var(--text-body);
}

.summary-row.total-row {
  border-bottom: none;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-red);
  padding-top: 14px;
}

.order-num {
  font-weight: 800;
  color: var(--ink);
}

.thanks-instructions {
  background-color: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--warning);
  text-align: right;
  margin-bottom: 24px;
}

/* Policy Page */
.policy-card {
  padding: 36px 32px;
}

.policy-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-block: 20px 28px;
}

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

/* Error Pages */
.error-code {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   Footer (Ink Background #1A1A1A, Text #F5F5F5, Yellow Links #FCDD09, 4 Policy Columns, Copyright Row)
   ========================================================================== */

.site-footer {
  background-color: var(--ink);
  color: #F5F5F5;
  border-top: 1px solid #333333;
  padding-block: 48px 24px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-policies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-policies {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
  }
}

.footer-col {
  padding: 8px 12px;
}

.footer-col a, .footer-policies a {
  color: #F5F5F5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s ease, color 0.15s ease;
  display: inline-block;
}

.footer-col a:hover, .footer-policies a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-copy {
  border-top: 1px solid #333333;
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #a1a1aa;
}

.brand-logo {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .header-start {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .site-brand {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .brand-logo {
    height: 40px;
    max-width: 200px;
  }
  .header-end {
    order: 2;
  }
}


/* ===== v2 layout ===== */

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Scroll Lock */
body.body-scroll-locked {
  overflow: hidden !important;
}

/* Thin Top Bar */
.top-bar {
  background-color: var(--ink);
  color: #ffffff;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 6px;
  min-height: 32px;
  gap: 12px;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-notice .notice-icon {
  color: var(--yellow);
  flex-shrink: 0;
}

.top-bar-contact {
  display: flex;
  align-items: center;
}

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.top-bar-phone:hover {
  color: var(--yellow);
}

.top-bar-phone .phone-icon {
  color: var(--yellow);
}

/* Sticky Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 4px solid var(--primary);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--primary);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  min-height: 64px;
}

.site-header .header-start {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-header .site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header .brand-logo {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

/* Categories Dropdown */
.category-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.category-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--zinc-border);
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.category-dropdown-btn:hover,
.category-dropdown-wrapper.is-open .category-dropdown-btn {
  background: var(--cream-border);
  border-color: var(--primary);
}

.category-btn-icon {
  color: var(--ink);
}

.chevron-icon {
  transition: transform 0.2s ease;
}

.category-dropdown-wrapper.is-open .chevron-icon {
  transform: rotate(180deg);
}

.category-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--zinc-border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.category-dropdown-wrapper.is-open .category-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.category-dropdown-all {
  padding: 2px 0 6px 0;
  border-bottom: 1px solid var(--zinc-border);
}

.cat-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cat-panel-link:hover {
  background-color: var(--cream);
  color: var(--ink-hover);
}

.cat-panel-all {
  font-weight: 700;
  color: var(--logo-blue);
}

.cat-panel-arrow {
  font-size: 0.95rem;
}

.category-panel-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 0;
  max-height: 320px;
  overflow-y: auto;
}

.category-panel-item {
  margin: 0;
}

.cat-panel-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Header Search & Live Suggestions */
.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
  margin-inline: 16px;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  height: 42px;
  border: 1.5px solid var(--zinc-border);
  border-radius: var(--radius-btn);
  padding: 8px 46px 8px 16px;
  font-size: 0.875rem;
  background: var(--zinc-bg);
  color: var(--ink);
  transition: all 0.2s ease;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(63, 131, 168, 0.15);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: var(--ink);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--zinc-border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  z-index: 150;
  max-height: 380px;
  overflow-y: auto;
  padding: 4px 0;
}

.search-suggestions[hidden] {
  display: none !important;
}

.suggestion-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f4f4f5;
}

.suggestion-row:last-child {
  border-bottom: none;
}

.suggestion-row:hover,
.suggestion-row.is-active {
  background-color: var(--cream);
}

.suggestion-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f4f4f5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suggestion-img-placeholder {
  font-size: 1.25rem;
}

.suggestion-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.suggestion-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-red);
}

.suggestion-empty {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* Header End */
.site-header .header-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-home-link:hover {
  background-color: var(--cream);
  color: var(--ink-hover);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.cart-link:hover {
  background-color: var(--cream);
}

/* Category Nav Strip (Desktop) */
.category-nav-strip {
  background-color: var(--cream);
  border-bottom: 1px solid var(--cream-border);
}

.nav-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 8px;
}

.nav-strip-inner::-webkit-scrollbar {
  display: none;
}

.nav-strip-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-strip-link:hover {
  color: var(--logo-blue);
}

/* Mobile Controls & Drawers (Hidden on Desktop) */
.mobile-drawer-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.mobile-search-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.mobile-search-row {
  display: none;
}

.site-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}

.site-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.site-drawer-overlay[hidden] {
  display: none !important;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.16);
}

.site-drawer.is-open {
  transform: translateX(0);
}

.site-drawer[hidden] {
  display: none !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--zinc-border);
  background-color: var(--cream);
}

.drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.drawer-close-btn:hover {
  opacity: 0.7;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-section-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.drawer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.drawer-menu-link:hover {
  background-color: var(--cream);
  color: var(--logo-blue);
}

.drawer-cat-badge {
  font-size: 0.75rem;
  background: var(--zinc-bg);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.drawer-contact-block {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--zinc-border);
}

.drawer-contact-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.drawer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.drawer-phone-btn:hover {
  background: var(--ink-hover);
}

/* Breadcrumb Macro */
.breadcrumb-nav {
  background-color: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  padding-block: 10px;
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-link:hover {
  color: var(--logo-blue);
  text-decoration: underline;
}

.breadcrumb-current {
  color: var(--text-muted);
  font-weight: 600;
}

.breadcrumb-separator {
  color: #a1a1aa;
  font-size: 0.8rem;
}

/* Footer Layout & Trust Badges */
.site-footer {
  background-color: var(--ink);
  color: #F5F5F5;
  border-top: 1px solid #333333;
  padding-block: 44px 24px;
  margin-top: 48px;
}

.trust-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid #333333;
  margin-bottom: 36px;
}

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

.badge-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-card);
  background: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  border: 1px solid #404040;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #F5F5F5;
}

.badge-desc {
  font-size: 0.8rem;
  color: #a1a1aa;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 14px;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #F5F5F5;
  margin-bottom: 14px;
}

.footer-phone-wrap .footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F5F5F5;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-phone-wrap .footer-phone-link:hover {
  color: var(--yellow);
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #F5F5F5;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: var(--ink);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.25);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}

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

.back-to-top:hover {
  background-color: var(--ink-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.35);
}

.back-to-top[hidden] {
  display: none !important;
}

/* Responsive Overrides (Mobile <= 768px) */
@media (max-width: 768px) {
  .site-header .header-inner {
    padding-block: 8px;
    gap: 8px;
    min-height: 54px;
  }

  .site-header .header-start {
    flex: 1 1 auto;
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .site-header .site-brand {
    display: flex;
    justify-content: flex-start;
    width: auto;
  }

  .site-header .brand-logo {
    height: 40px;
    max-width: 200px;
  }

  .site-header .header-end {
    order: unset;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .category-dropdown-wrapper {
    display: none !important;
  }

  .category-nav-strip {
    display: none !important;
  }

  .header-search {
    display: none !important;
  }

  .mobile-drawer-toggle {
    display: inline-flex !important;
  }

  .mobile-search-toggle {
    display: inline-flex !important;
  }

  .header-home-link .home-label {
    display: none !important;
  }

  .mobile-search-row {
    display: block;
    background: #ffffff;
    border-top: 1px solid var(--zinc-border);
    padding: 8px 0;
  }

  .mobile-search-row[hidden] {
    display: none !important;
  }

  .mobile-search-inner {
    position: relative;
  }

  .top-bar-notice {
    font-size: 0.75rem;
    justify-content: center;
    width: 100%;
  }

  .top-bar-contact {
    display: none;
  }

  .trust-badges-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

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

  .back-to-top {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .trust-badges-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}


/* ===== v2 home/listing ===== */

/* Product Card - Logo Theme Style */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.product-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--cream);
  overflow: hidden;
}

.product-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

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

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

.product-card-img.secondary-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

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

.product-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.85rem;
  background: #f1f5f9;
}

.product-card-badges {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.badge-discount,
.badge-sale {
  background-color: var(--accent-pink);
  color: var(--ink);
}

.badge-new {
  background-color: var(--accent-purple);
  color: #ffffff;
}

.badge-custom,
.badge-category {
  background-color: var(--accent-orange);
  color: var(--ink);
}

.product-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85em;
}

.product-card-title a {
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-card-title a:hover {
  color: var(--logo-blue);
}

.product-card-desc {
  display: none;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.product-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-red);
}

.product-card-old-price {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px 14px;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  background-color: var(--primary);
  color: var(--ink);
  border: 1px solid var(--primary);
  transition: all 0.2s ease;
}

.product-card-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--ink);
}

/* Product Card List Mode */
.products-view-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.products-view-list .product-card,
.product-card-list {
  flex-direction: row;
  align-items: stretch;
  height: auto;
}

.products-view-list .product-card .product-card-image-wrap,
.product-card-list .product-card-image-wrap {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  aspect-ratio: 1 / 1;
}

.products-view-list .product-card .product-card-content,
.product-card-list .product-card-content {
  padding: 16px 20px;
}

.products-view-list .product-card .product-card-title,
.product-card-list .product-card-title {
  min-height: auto;
  font-size: 1.1rem;
}

.products-view-list .product-card .product-card-desc,
.product-card-list .product-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 6px 0 14px;
}

.products-view-list .product-card .product-card-actions,
.product-card-list .product-card-actions {
  display: flex;
}

.products-view-list .product-card .product-card-btn,
.product-card-list .product-card-btn {
  width: auto;
  min-width: 140px;
}

@media (max-width: 640px) {
  .products-view-list .product-card,
  .product-card-list {
    flex-direction: column;
  }

  .products-view-list .product-card .product-card-image-wrap,
  .product-card-list .product-card-image-wrap {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .products-view-list .product-card .product-card-btn,
  .product-card-list .product-card-btn {
    width: 100%;
  }
}

/* Hero Slider */
.hero-slider-section {
  margin-top: 16px;
  margin-bottom: 32px;
}

.hero-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: #1A1A1A;
  min-height: 380px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #C74A5C 0%, #F5A623 100%);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0.35) 55%, rgba(26, 26, 26, 0.1) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 52px;
}

.slide-content-inner {
  color: #ffffff;
  max-width: 620px;
}

.slide-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.slide-subtitle {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 20px;
  line-height: 1.5;
}

.slide-btn {
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  background-color: var(--primary);
  color: var(--ink);
  border: 1px solid var(--primary);
}

.slide-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--ink);
}

/* Light slide: product composition with dark text (image name ends with _m.webp, desktop twin _d.webp) */
.slide-light .slide-overlay { display: none; }
.slide-light .slide-media picture { display: block; width: 100%; height: 100%; }
.slide-light .slide-content { align-items: flex-start; padding-top: 22px; padding-bottom: 0; }
.slide-light .slide-content-inner { color: #1A1A1A; }
.slide-light .slide-title { color: #1A1A1A; font-size: 1.5rem; margin-bottom: 6px; }
.slide-light .slide-subtitle { color: #4a3b2c; font-size: 0.95rem; margin-bottom: 12px; }
.slide-light .slide-img { object-position: center bottom; }
@media (min-width: 768px) {
  .slide-light .slide-content { align-items: center; padding-top: 0; padding-bottom: 20px; }
  .slide-light .slide-content-inner { max-width: 340px; margin-inline-start: 0; margin-inline-end: auto; }
  .slide-light .slide-title { font-size: 2.1rem; }
  .slide-light .slide-subtitle { font-size: 1.1rem; margin-bottom: 20px; }
}

.hero-slider:has(.slide-light) { background-color: #e9d8c2; }
@media (max-width: 768px) {
  .hero-slider:has(.slide-light) { min-height: 0; }
  .hero-slider:has(.slide-light) .slider-track { height: 430px; min-height: 0; }
  .slide-light .slide-btn { padding: 8px 18px; font-size: 0.95rem; }
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

[dir="rtl"] .slider-arrow-next {
  left: 18px;
}

[dir="rtl"] .slider-arrow-prev {
  right: 18px;
}

[dir="ltr"] .slider-arrow-next {
  right: 18px;
}

[dir="ltr"] .slider-arrow-prev {
  left: 18px;
}

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.is-active {
  width: 28px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .slider-track {
    height: 340px;
    min-height: 320px;
  }

  .slide-title {
    font-size: 1.65rem;
  }

  .slide-subtitle {
    font-size: 0.95rem;
  }

  .slider-arrow {
    display: none;
  }
}

/* Services Strip */
.services-strip-section {
  margin-bottom: 36px;
}

.services-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-text {
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 3px;
}

.service-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .services-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .services-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Categories Section */
.home-categories-section {
  margin-bottom: 42px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0;
}

.section-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--logo-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.section-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 16px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--zinc-border, #e4e4e7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.06);
  border-color: var(--primary);
}

.category-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.category-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-no-img {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 3px;
}

.category-card-count {
  font-size: 0.775rem;
  color: #64748b;
}

@media (max-width: 768px) {
  .categories-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .categories-container::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    flex: 0 0 115px;
    scroll-snap-align: start;
  }
}

/* Horizontal Product Carousel Rows */
.home-products-section {
  margin-bottom: 46px;
}

.product-carousel-wrapper {
  position: relative;
}

.product-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 14px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-carousel-track::-webkit-scrollbar {
  display: none;
}

.product-carousel-track .product-card {
  flex: 0 0 255px;
  min-width: 255px;
  max-width: 255px;
  scroll-snap-align: start;
}

.carousel-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--zinc-border, #e4e4e7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--cream);
  transform: translateY(-50%) scale(1.08);
}

[dir="rtl"] .carousel-arrow-next {
  left: -14px;
}

[dir="rtl"] .carousel-arrow-prev {
  right: -14px;
}

[dir="ltr"] .carousel-arrow-next {
  right: -14px;
}

[dir="ltr"] .carousel-arrow-prev {
  left: -14px;
}

@media (max-width: 768px) {
  .carousel-arrow {
    display: none !important;
  }

  .product-carousel-track .product-card {
    flex: 0 0 205px;
    min-width: 205px;
    max-width: 205px;
  }
}

/* Listing Page Styles */
.listing-page-container {
  padding: 12px 0 48px;
}

.listing-header {
  margin-bottom: 24px;
}

.listing-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1A1A1A;
  margin: 10px 0 0;
}

.listing-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
}

/* Sidebar with CSS Logical Properties (starts on right in RTL, left in LTR) */
.listing-sidebar {
  inline-size: 260px;
  min-inline-size: 260px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 14px;
  padding: 20px;
}

.sidebar-drawer-header {
  display: none;
}

.filter-section {
  margin-bottom: 24px;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.filter-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}

.filter-category-link:hover {
  background: var(--cream);
  color: var(--ink);
}

.filter-category-item.is-active .filter-category-link {
  background: var(--primary-light);
  color: var(--ink);
  font-weight: 700;
}

.filter-count {
  font-size: 0.8rem;
  color: #94a3b8;
}

.filter-category-item.is-active .filter-count {
  color: var(--ink);
}

/* Price Filter Form */
.price-inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.price-field {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 8px;
  padding: 4px 8px;
  background: #ffffff;
}

.price-field label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-inline-end: 4px;
}

.price-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: #1A1A1A;
  padding: 2px 0;
  background: transparent;
}

.price-unit {
  font-size: 0.75rem;
  color: #94a3b8;
}

.price-sep {
  color: #cbd5e1;
  font-weight: 700;
}

.price-slider-wrap {
  margin-bottom: 14px;
}

.price-range-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.price-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-apply-btn {
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
}

.price-reset-link {
  font-size: 0.8rem;
  color: var(--accent-red);
  text-decoration: none;
}

.price-reset-link:hover {
  text-decoration: underline;
}

/* Listing Main Area */
.listing-main {
  flex: 1 1 0;
  min-inline-size: 0;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 24px;
}

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

.mobile-filter-btn {
  display: none;
}

.listing-total {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

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

.sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.875rem;
  color: #64748b;
  white-space: nowrap;
}

.sort-select {
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.875rem;
  color: #1A1A1A;
  background: #ffffff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

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

.view-toggle-btns {
  display: flex;
  align-items: center;
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 8px;
  overflow: hidden;
}

.view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
}

.view-btn:hover {
  background: var(--primary-light);
  color: var(--ink);
}

.view-btn.is-active {
  background: var(--ink);
  color: #ffffff;
}

/* Products Grid on Listing */
.products-view-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  background: #ffffff;
  border: 1px solid var(--zinc-border, #e4e4e7);
  border-radius: 14px;
}

.empty-state-icon {
  color: #94a3b8;
  margin-bottom: 16px;
}

.empty-state-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 8px;
}

.empty-state-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 24px;
}

/* Pagination */
.pagination-nav {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.pagination-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--zinc-border, #e4e4e7);
  background: #ffffff;
  color: #1A1A1A;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.page-link:hover:not(.disabled):not(.is-active) {
  background: var(--primary-light);
  border-color: #cbd5e1;
}

.page-link.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.page-link.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  background: var(--zinc-bg);
}

.page-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 38px;
  color: #94a3b8;
  font-weight: 700;
}

/* Mobile Filter Drawer for <= 768px */
@media (max-width: 768px) {
  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
  }

  .listing-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .listing-filter-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .listing-sidebar {
    position: fixed;
    inset-block: 0;
    top: 0;
    bottom: 0;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    z-index: 1001;
    background: #ffffff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    border-radius: 0;
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .listing-sidebar.is-open {
    visibility: visible;
  }

  [dir="rtl"] .listing-sidebar {
    inset-inline-end: 0;
    inset-inline-start: auto;
    right: 0;
    left: auto;
    transform: translateX(100%);
  }

  [dir="rtl"] .listing-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  [dir="ltr"] .listing-sidebar {
    inset-inline-start: 0;
    inset-inline-end: auto;
    left: 0;
    right: auto;
    transform: translateX(-100%);
  }

  [dir="ltr"] .listing-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .sidebar-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--zinc-border, #e4e4e7);
  }

  .sidebar-drawer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1A1A1A;
  }

  .sidebar-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 4px;
  }

  .products-view-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .products-view-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card-content {
    padding: 10px;
  }

  .product-card-title {
    font-size: 0.85rem;
    min-height: 2.7em;
  }

  .product-card-price {
    font-size: 1rem;
    color: var(--accent-red);
  }

  .product-card-old-price {
    font-size: 0.775rem;
  }

  .product-card-btn {
    padding: 7px 10px;
    font-size: 0.85rem;
  }
}


/* ===== v2 product ===== */
.product-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.product-page-wrapper .breadcrumb-nav {
  margin-bottom: 20px;
}

.product-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* Gallery Layout */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-container {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

/* Side Thumbnails Column on Desktop */
.gallery-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
  width: 84px;
  flex-shrink: 0;
  scrollbar-width: thin;
}

.gallery-thumbs-col::-webkit-scrollbar {
  width: 4px;
}

.gallery-thumbs-col::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.gallery-thumb-btn {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--cream);
  padding: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gallery-thumb-btn:hover {
  border-color: #cbd5e1;
}

.gallery-thumb-btn.is-active,
.gallery-thumb-btn.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Main Image Stage */
.gallery-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--border-color, #e2e8f0);
  overflow: hidden;
}

.gallery-main-zoom {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  background-repeat: no-repeat;
  background-size: 200% 200%;
  background-position: center;
  transition: background-position 0.05s ease-out;
}

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

.gallery-main-zoom.is-zooming .gallery-main-img {
  opacity: 0;
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gallery-main-zoom.is-zooming .gallery-zoom-badge {
  opacity: 0;
}

/* Gallery Navigation Arrows */
.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1A1A1A;
  z-index: 5;
  transition: all 0.2s ease;
}

.gallery-nav-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  color: var(--ink);
}

[dir="rtl"] .gallery-nav-prev {
  right: 12px;
}

[dir="rtl"] .gallery-nav-next {
  left: 12px;
}

[dir="ltr"] .gallery-nav-prev {
  left: 12px;
}

[dir="ltr"] .gallery-nav-next {
  right: 12px;
}

/* Product Info Column */
.product-order-column .order-card {
  padding: 24px;
}

.product-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.4;
  margin-bottom: 10px;
}

.product-short-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Price Box */
.product-price-section {
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--cream-border);
  margin-bottom: 16px;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price-current {
  color: var(--accent-red);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.product-old-price {
  color: #94a3b8;
  font-size: 1.15rem;
  text-decoration: line-through;
  font-weight: 500;
}

.product-price-row .badge-discount {
  background: var(--accent-pink);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 6px;
}

.product-price-section .price-note {
  font-size: 0.825rem;
  color: #64748b;
  margin-top: 6px;
}

/* Trust Badges Strip */
.product-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
  padding: 10px 14px;
  background: var(--success-bg);
  border-radius: 8px;
  border: 1px solid var(--success-border);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--success);
}

.trust-badge svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Selectable Offer Cards */
.offers-group .form-label {
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
  display: block;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.offer-card:hover {
  border-color: #cbd5e1;
  background: var(--primary-light);
}

.offer-card.selected,
.offer-card:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
}

.offer-card input[type="radio"] {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
  margin-inline-end: 12px;
  cursor: pointer;
}

.offer-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.offer-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.offer-price {
  font-weight: 800;
  color: var(--accent-red);
  font-size: 1.05rem;
}

.offer-card .badge-success {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--success-bg);
  color: var(--success);
  font-weight: 700;
}

/* Tabs Section */
.product-tabs-wrapper {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-tabs-nav {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  background: var(--cream);
  overflow-x: auto;
}

.product-tab-btn {
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.product-tab-btn:hover {
  color: var(--ink);
}

.product-tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.product-tabs-content {
  padding: 24px 28px;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.is-active {
  display: block;
}

.tab-static-content {
  color: #334155;
  line-height: 1.8;
}

.tab-content-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1A1A1A;
}

.tab-bullet-list {
  list-style: disc;
  padding-inline-start: 22px;
  margin-bottom: 16px;
}

.tab-bullet-list li {
  margin-bottom: 8px;
}

.tab-policy-note {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 16px;
}

.policy-inline-link {
  color: var(--logo-blue);
  font-weight: 600;
  text-decoration: underline;
}

/* Related Products Section */
.related-products-section {
  margin-top: 48px;
  margin-bottom: 32px;
}

.related-products-section .section-header {
  margin-bottom: 18px;
}

.related-products-section .section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1A1A1A;
}

/* Mobile Sticky Order Bar */
.mobile-sticky-order-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.25s ease;
}

.mobile-sticky-order-bar.is-hidden {
  transform: translateY(100%);
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-bar-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A1A1A;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sticky-bar-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-red);
}

.sticky-bar-old-price {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.sticky-order-btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  background-color: var(--primary);
  color: var(--ink);
  border: 1px solid var(--primary);
}

.sticky-order-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--ink);
}

/* Lightbox Modal */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox-container {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
  box-sizing: border-box;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #ffffff;
}

.lightbox-counter {
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: 16px;
}

.lightbox-close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.08);
}

[dir="rtl"] .lightbox-arrow-prev {
  right: 20px;
}

[dir="rtl"] .lightbox-arrow-next {
  left: 20px;
}

[dir="ltr"] .lightbox-arrow-prev {
  left: 20px;
}

[dir="ltr"] .lightbox-arrow-next {
  right: 20px;
}

.lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 4px;
  max-width: 100%;
}

.lightbox-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

.lightbox-thumb.is-active {
  border-color: #ffffff;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

body.lightbox-open {
  overflow: hidden;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .product-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .gallery-container {
    flex-direction: column-reverse;
  }

  .gallery-thumbs-col {
    flex-direction: row;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    padding-top: 10px;
    gap: 8px;
    justify-content: flex-start;
  }

  .gallery-thumb-btn {
    width: 68px;
    height: 68px;
  }

  .mobile-sticky-order-bar {
    display: flex;
  }

  body {
    padding-bottom: 74px;
  }

  .product-tabs-nav {
    padding: 0 8px;
  }

  .product-tab-btn {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .product-tabs-content {
    padding: 18px 16px;
  }
}

/* Brand Logo Custom Elements */
.hero-logo {
  display: block;
  margin: 0 auto 20px;
  height: 120px;
  width: auto;
  max-width: 90%;
}

@media (max-width: 768px) {
  .hero-logo {
    height: 80px;
  }
}

.footer-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.footer-social{display:flex;gap:10px;margin-top:14px}
.footer-social a{width:40px;height:40px;border-radius:50%;background:#FCDD09;color:#1A1A1A;display:flex;align-items:center;justify-content:center}
.footer-social a:hover{background:#fff}
.contact-box{background:#FFF8CC;border:1px solid #EFE6B8;border-radius:12px;padding:16px;margin-top:24px}
.contact-box .footer-social a{background:#1A1A1A;color:#FCDD09}
.footer-wa-link{display:inline-flex;align-items:center;margin-right:8px;padding:2px 8px;border-radius:4px;background:#25D366;color:#ffffff;text-decoration:none;font-size:0.85rem;font-weight:600}
.footer-wa-link:hover{background:#1ebc57;color:#ffffff}
.contact-wa-link{display:inline-flex;align-items:center;margin-right:8px;padding:2px 8px;border-radius:4px;background:#25D366;color:#ffffff;text-decoration:none;font-size:0.85rem;font-weight:600}
.contact-wa-link:hover{background:#1ebc57;color:#ffffff}
.contact-box-title{font-size:1.15rem;font-weight:700;margin-bottom:10px;color:#1A1A1A}
.contact-phone-wrap{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.contact-phone-link{font-weight:700;color:#1A1A1A;text-decoration:none}

.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#fff;border-top:1px solid #e4e4e7;box-shadow:0 -4px 16px rgba(0,0,0,.12);padding:14px 16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.cookie-banner[hidden]{display:none}
.cookie-text{margin:0;flex:1 1 320px;font-size:.95rem;line-height:1.7;color:#1A1A1A}
.cookie-text a{text-decoration:underline;color:inherit}
.cookie-actions{display:flex;gap:10px;flex:0 0 auto}
.cookie-btn{min-width:110px;min-height:44px;padding:8px 18px;border-radius:8px;border:2px solid #1A1A1A;background:#fff;color:#1A1A1A;font:inherit;font-weight:700;cursor:pointer}
.cookie-btn:hover{background:#f4f4f5}
@media(max-width:480px){.cookie-actions{width:100%}.cookie-btn{flex:1}}
