/* ============================================================
   K9 INTERIOR — Inner Pages & Customer Dashboard Styles
   Matches Homepage Design Tokens, Typography & Aesthetics
   ============================================================ */

/* ---------- BREADCRUMB & PAGE HEADER ---------- */
.page-breadcrumb {
  position: relative;
  background: #1e293b url('../images/hero/hero-1.webp') center/cover no-repeat;
  padding: 56px 0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  min-height: 180px;
}

/* Black Overlay */
.page-breadcrumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.page-breadcrumb .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-breadcrumb__title {
  font-size: 2.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-family: var(--font-heading, 'Poppins', sans-serif);
}

.page-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-breadcrumb__item a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--duration-fast, 0.2s) var(--ease-out, ease);
  text-decoration: none;
}

.page-breadcrumb__item a:hover {
  color: var(--orange, #e36f0e);
}

.page-breadcrumb__sep {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  fill: none;
}

.page-breadcrumb__item.is-active {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-breadcrumb {
    padding: 36px 0;
  }

  .page-breadcrumb__title {
    font-size: 1.5rem;
  }
}

.page-hero__desc {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Quick Category Badges Strip */
.page-hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-out);
}

.hero-chip:hover,
.hero-chip.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   1. AUTHENTICATION & LOGIN PAGE
   ============================================================ */
.auth-page {
  padding: 60px 0 90px;
  background: var(--grey-bg);
  min-height: calc(100vh - 250px);
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 1050px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Auth Visual Showcase Side */
.auth-banner {
  background: linear-gradient(rgba(29, 34, 38, 0.75), rgba(29, 34, 38, 0.85)), url('../images/hero/hero-1.webp') center/cover no-repeat;
  padding: 48px 40px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

@media (max-width: 900px) {
  .auth-banner {
    display: none;
  }
}

.auth-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 111, 14, 0.9);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: flex-start;
}

.auth-banner__quote h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #fff;
}

.auth-banner__quote p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.auth-banner__perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.92);
}

.auth-perk svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
}

/* Auth Card Form Side */
.auth-form-panel {
  padding: 48px 44px;
}

/* Google Identity button — center once; do not restyle iframe or force width (causes blink). */
.google-signin-btn {
  width: 100%;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.google-signin-btn > div {
  display: inline-flex;
  max-width: 100%;
}

.google-signin-btn iframe {
  max-width: none !important;
}

@media (max-width: 600px) {
  .auth-form-panel {
    padding: 32px 24px;
  }
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--grey-200);
  margin-bottom: 30px;
  gap: 20px;
}

.auth-tab {
  padding: 12px 6px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.auth-tab.is-active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.auth-view {
  display: none;
}

.auth-view.is-active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-heading {
  margin-bottom: 24px;
}

.auth-heading h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.auth-heading p {
  color: var(--ink-soft);
  font-size: 0.875rem;
  margin-top: 4px;
}

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

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

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-wrap svg.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  stroke: var(--ink-muted);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--white);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-input-wrap.has-icon .form-input {
  padding-left: 44px;
}

.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(227, 111, 14, 0.12);
  outline: none;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.password-toggle:hover {
  color: var(--ink);
}

.form-row-space {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 0.8125rem;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink-soft);
  user-select: none;
}

.custom-checkbox input {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.auth-link {
  color: var(--orange-deep);
  font-weight: 600;
  transition: color var(--duration-fast) var(--ease-out);
}

.auth-link:hover {
  color: var(--orange);
  text-decoration: underline;
}

.btn--block {
  width: 100%;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.auth-divider span {
  padding: 0 12px;
}

.social-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.social-btn:hover {
  background: var(--grey-100);
  border-color: var(--grey-300);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   2. PROFILE / MY ACCOUNT DASHBOARD
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 48px 0 80px;
  align-items: start;
}

@media (max-width: 980px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    position: static;
    top: auto;
    overflow: visible;
    width: 100%;
  }
}

/* Sidebar Nav */
.dash-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height, 100px) + 48px + 16px);
}

.dash-user-card {
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--ink) 0%, #2c333a 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.dash-user-meta h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.dash-user-meta span {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.75);
}

.dash-nav {
  padding: 8px 0;
}

.dash-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease-out);
  border-left: 3px solid transparent;
  cursor: pointer;
}

.dash-nav__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dash-nav__link:hover {
  color: var(--orange);
  background: var(--orange-light);
}

.dash-nav__link.is-active {
  color: var(--orange);
  background: var(--orange-light);
  border-left-color: var(--orange);
  font-weight: 700;
}

.dash-nav__badge {
  margin-left: auto;
  background: var(--orange);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.dash-nav__divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}

.dash-nav__link--logout {
  color: var(--red);
}

.dash-nav__link--logout:hover {
  background: #fdf2f2;
  color: var(--red);
}

/* Dashboard Panels */
.dash-panel {
  display: none;
}

.dash-panel.is-active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.dash-panel__header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.dash-panel__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.dash-panel__subtitle {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Stat Cards */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 680px) {
  .dash-stats-grid {
    grid-template-columns: 1fr;
  }
}

.dash-stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-stat-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.dash-stat-num {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 5px;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  line-height: 1.2;
}

.dash-stat-label {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Dashboard Box */
.dash-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .dash-box {
    padding: 20px 16px;
  }
}

.dash-box__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Orders List */
.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  transition: all var(--duration-fast) var(--ease-out);
}

.order-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--grey-300);
}

.order-card__header {
  background: var(--grey-bg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--line);
}

.order-meta-item {
  display: flex;
  flex-direction: column;
}

.order-meta-label {
  color: var(--ink-muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 600;
}

.order-meta-val {
  color: var(--ink);
  font-weight: 700;
}

.order-status-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.order-status-badge--delivered {
  background: #e6f7ee;
  color: var(--green);
}

.order-status-badge--shipped {
  background: #e8f0fe;
  color: #1a73e8;
}

.order-status-badge--processing {
  background: #fef7e0;
  color: #b06000;
}

.order-status-badge--denied {
  background: #fef2f2;
  color: #b91c1c;
}

.order-card__body {
  padding: 20px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--grey-100);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.order-item-info {
  flex: 1;
}

.order-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.order-item-meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.order-item-price {
  font-weight: 700;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
}

.order-card__footer {
  padding: 14px 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Order Step Tracker */
.order-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 30px 0 20px;
  padding: 0 10px;
}

.order-tracker::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 25px;
  right: 25px;
  height: 3px;
  background: var(--grey-200);
  z-index: 1;
}

.tracker-progress-bar {
  position: absolute;
  top: 16px;
  left: 25px;
  height: 3px;
  background: var(--green);
  z-index: 1;
  transition: width 0.4s ease;
}

.tracker-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tracker-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--grey-300);
  color: var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all var(--duration-fast) var(--ease-out);
}

.tracker-step.is-done .tracker-circle {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.tracker-step.is-current .tracker-circle {
  background: var(--white);
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 0 4px rgba(227, 111, 14, 0.2);
}

.tracker-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

/* Addresses Grid */
.address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .address-grid {
    grid-template-columns: 1fr;
  }
}

.address-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  transition: all var(--duration-fast) var(--ease-out);
}

.address-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.address-card.is-default {
  border-color: var(--orange);
  background: rgba(227, 111, 14, 0.02);
}

.address-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--grey-200);
  color: var(--ink);
  margin-bottom: 10px;
}

.address-tag--default {
  background: var(--orange-light);
  color: var(--orange-deep);
}

.address-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.address-text {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 12px;
}

.address-actions {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.address-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-deep);
  background: none;
  border: none;
  cursor: pointer;
}

.address-btn:hover {
  text-decoration: underline;
}

.address-btn--delete {
  color: var(--red);
  margin-left: auto;
}

/* ============================================================
   3. SHOPPING CART PAGE
   ============================================================ */
.cart-section {
  padding: 40px 0 80px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

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

/* Free Shipping Meter */
.shipping-meter {
  background: var(--orange-light);
  border: 1px solid rgba(227, 111, 14, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.shipping-meter__text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange-deep);
  margin-bottom: 10px;
}

.shipping-meter__text svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.shipping-meter__bar {
  height: 8px;
  background: rgba(227, 111, 14, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.shipping-meter__fill {
  height: 100%;
  background: var(--orange);
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease-out);
}

/* Cart Items Table / List */
.cart-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-header-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 16px 24px;
  background: var(--grey-bg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 700px) {
  .cart-header-row {
    display: none;
  }
}

.cart-item {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 20px 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background var(--duration-fast) var(--ease-out);
}

.cart-item:last-child {
  border-bottom: none;
}

@media (max-width: 700px) {
  .cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px;
    position: relative;
  }
}

.cart-item__product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item__img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--grey-100);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-item__details h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.cart-item__details h4 a:hover {
  color: var(--orange);
}

.cart-item__variant {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.cart-item__price {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

/* Quantity Control Stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-bg);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.qty-btn:hover {
  background: var(--grey-200);
  color: var(--orange);
}

.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  outline: none;
}

.cart-item__subtotal {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all var(--duration-fast) var(--ease-out);
}

.cart-item__remove:hover {
  color: var(--red);
  background: #fde8e8;
}

.cart-item__remove svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 700px) {
  .cart-item__remove {
    position: absolute;
    top: 14px;
    right: 14px;
  }
}

/* Cart Summary Card */
.cart-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.cart-summary__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  text-transform: uppercase;
}

.coupon-input:focus {
  border-color: var(--orange);
  outline: none;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
}

.summary-row--discount {
  color: var(--green);
  font-weight: 600;
}

.summary-row--total {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ink);
  border-top: 1.5px dashed var(--line);
  padding-top: 14px;
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
}

.cart-trust-badges {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-trust-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   4. WISHLIST PAGE
   ============================================================ */
.wishlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 14px;
}

.wishlist-count-text {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.wishlist-actions {
  display: flex;
  gap: 12px;
}

/* Empty State Component */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--grey-300);
  max-width: 600px;
  margin: 40px auto;
}

.empty-state__icon {
  width: 80px;
  height: 80px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.empty-state__icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.empty-state__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.empty-state__desc {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 24px;
}

/* ============================================================
   5. COMMON CATEGORIES & PRODUCT LISTING PAGE (FACETED FILTERS)
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
  align-items: start;
}

@media (max-width: 980px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

@media (max-width: 980px) {
  .filter-sidebar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    padding: 24px;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    background: #fff;
    box-sizing: border-box;
  }

  .filter-sidebar.is-open {
    display: block;
  }
}

.filter-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.filter-sidebar__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-sidebar__title svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
}

.filter-clear-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-deep);
  background: none;
  border: none;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: none;
  overflow: visible;
  padding-bottom: 4px;
}

.filter-options-list--scroll {
  max-height: min(320px, 40vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.filter-show-more {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-deep);
  cursor: pointer;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.filter-option:hover {
  color: var(--orange);
}

.filter-option input {
  margin-right: 8px;
  accent-color: var(--orange);
}

.filter-option__count {
  font-size: 0.6875rem;
  color: var(--ink-muted);
}

/* Color Swatches Filter */
.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--grey-300);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-spring);
  position: relative;
}

.color-swatch:hover,
.color-swatch.is-active {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--orange);
}

/* Price Range Slider */
.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.price-range-input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
  text-align: center;
}

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

/* Shop Controls Bar */
.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.shop-controls__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shop-results-count {
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.shop-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

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

.view-toggles {
  display: none !important;
}

.view-toggle-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--ink-muted);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.view-toggle-btn.is-active {
  background: var(--white);
  color: var(--orange);
  box-shadow: var(--shadow-xs);
}

.view-toggle-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Mobile Filter Trigger */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .mobile-filter-btn {
    display: inline-flex;
  }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-btn:hover:not(:disabled),
.page-btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ============================================================
   6. PRODUCT DETAIL PAGE
   ============================================================ */
.pdp-section {
  padding: 40px 0 80px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* PDP Gallery */
.pdp-gallery {
  position: sticky;
  top: 100px;
  align-self: start;
}

.pdp-gallery__main {
  position: relative;
  background: var(--grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 16px;
  cursor: zoom-in;
  user-select: none;
}

.pdp-gallery__main.is-zoomed {
  cursor: zoom-out;
}

.pdp-gallery__main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.15s cubic-bezier(0.1, 1, 0.1, 1);
  transform-origin: center center;
  will-change: transform, transform-origin;
}

.pdp-gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
}

.pdp-gallery__thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pdp-thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: var(--grey-100);
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-out);
}

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

.pdp-thumb.is-active,
.pdp-thumb:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* PDP Information Side */
.pdp-info {
  display: flex;
  flex-direction: column;
}

.pdp-brand-tag {
  color: var(--orange-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.pdp-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .pdp-title {
    font-size: 1.6rem;
  }
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.875rem;
}

.pdp-price-box {
  background: var(--grey-bg);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border: 1px solid var(--line);
}

.pdp-price-now {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
}

.pdp-price-old {
  font-size: 1.125rem;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.pdp-save-badge {
  background: #e6f7ee;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.pdp-short-desc {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Variant Pickers */
.pdp-option-group {
  margin-bottom: 22px;
}

.pdp-option-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.pdp-option-title span {
  font-weight: 400;
  color: var(--ink-muted);
}

.pdp-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-chip {
  padding: 8px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.pdp-chip:hover,
.pdp-chip.is-active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange-deep);
}

/* Pincode checker */
.pdp-pincode-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 28px;
  background: var(--white);
}

.pdp-pincode-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdp-pincode-input-wrap {
  display: flex;
  gap: 8px;
}

.pdp-pincode-input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

.pdp-pincode-result {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  display: none;
}

/* PDP Actions */
.pdp-actions-row {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 500px) {
  .pdp-actions-row {
    flex-direction: column;
  }
}

.btn--pdp-cart {
  flex: 2;
  height: 50px;
  font-size: 1rem;
}

.btn--pdp-wish {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  color: var(--ink);
}

.btn--pdp-wish:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--pdp-wish svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* PDP Tabs Section */
.pdp-tabs-container {
  margin-top: 50px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pdp-tab-headers {
  display: flex;
  background: var(--grey-bg);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.pdp-tab-btn {
  padding: 18px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
}

.pdp-tab-btn.is-active {
  color: var(--orange);
  background: var(--white);
  border-bottom-color: var(--orange);
}

.pdp-tab-content {
  padding: 36px;
  display: none;
}

.pdp-tab-content.is-active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@media (max-width: 600px) {
  .pdp-tab-content {
    padding: 24px 16px;
  }
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--line);
}

.specs-table th,
.specs-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.875rem;
}

.specs-table th {
  color: var(--ink-soft);
  width: 35%;
  background: var(--grey-bg);
  font-weight: 600;
}

.specs-table td {
  color: var(--ink);
  font-weight: 500;
}

/* Why You'll Love It Highlight Cards */
.love-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .love-grid {
    grid-template-columns: 1fr;
  }
}

.love-card {
  background: var(--grey-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange);
}

.love-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.love-card p {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* Review Breakdown */
.reviews-breakdown {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  align-items: center;
}

@media (max-width: 700px) {
  .reviews-breakdown {
    grid-template-columns: 1fr;
  }
}

.review-score-box {
  text-align: center;
}

.review-big-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.review-bar {
  flex: 1;
  height: 8px;
  background: var(--grey-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.review-bar__fill {
  height: 100%;
  background: var(--star);
  border-radius: var(--radius-full);
}

/* ============================================================
   7. CUSTOMER CARE / FOOTER PAGES
   (FAQ, Track Order, About, Contact, Policies)
   ============================================================ */
/* FAQ Accordion */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
}

.faq-cat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out);
}

.faq-item.is-open {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--ink-muted);
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  stroke: var(--orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.35s var(--ease-out);
  padding: 0 24px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* Track Order Page */
.track-card {
  max-width: 650px;
  margin: 40px auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
  .track-card {
    padding: 24px 18px;
  }
}

.track-result-box {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1.5px dashed var(--line);
  display: none;
}

.track-result-box.is-visible {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

/* Legal & Policy Pages (Clean Sidebar Navigation) */
.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

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

.policy-toc {
  background: var(--grey-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: 100px;
}

.policy-toc__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 12px;
}

.policy-toc__link {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
}

.policy-toc__link:hover,
.policy-toc__link.is-active {
  color: var(--orange);
  border-left-color: var(--orange);
  background: rgba(227, 111, 14, 0.06);
  font-weight: 600;
}

.policy-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  line-height: 1.7;
}

.policy-body h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  color: var(--ink);
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.policy-body ul {
  list-style: disc;
  margin: 0 0 20px 24px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

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

/* Contact & Showroom Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 48px 0 80px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: linear-gradient(135deg, #1d2226 0%, #2b333a 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(227, 111, 14, 0.2);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-circle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* CMS Pages HTML rendered inside the showroom card */
.contact-info-card--cms {
  padding: 28px 32px;
}

.contact-info-card .cms-body-render {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.contact-info-card .cms-body-render h1,
.contact-info-card .cms-body-render h2,
.contact-info-card .cms-body-render h3,
.contact-info-card .cms-body-render h4,
.contact-info-card .cms-body-render strong {
  color: #fff;
}

.contact-info-card .cms-body-render a {
  color: var(--orange, #e36f0e);
  font-weight: 600;
}

.contact-info-card .cms-body-render p {
  margin: 0 0 14px;
}

.contact-info-card .cms-body-render ul,
.contact-info-card .cms-body-render ol {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

/* About Us Story Showcase */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}

@media (max-width: 840px) {
  .story-split {
    grid-template-columns: 1fr;
  }
}

.story-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.story-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.stat-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 40px 0;
}

@media (max-width: 768px) {
  .stat-counters {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-counter-item {
  text-align: center;
}

.stat-counter-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: var(--orange);
}

.stat-counter-label {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

/* Step Indicator */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 12px;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.checkout-step__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grey-100);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
  transition: all 0.3s ease;
}

.checkout-step.is-active .checkout-step__circle {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(227, 111, 14, 0.15);
}

.checkout-step.is-done .checkout-step__circle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.checkout-step__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.checkout-step.is-active .checkout-step__label {
  color: var(--orange);
  font-weight: 700;
}

.checkout-step.is-done .checkout-step__label {
  color: var(--green);
}

.checkout-step__line {
  width: 80px;
  height: 2px;
  background: var(--line);
  margin: 0 8px;
  margin-bottom: 22px;
}

.checkout-step__line.is-done {
  background: var(--green);
}

/* Checkout Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* Checkout Card (form sections) */
.checkout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.checkout-card__header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.checkout-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

/* Saved Addresses */
.saved-addr-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.saved-addr-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.saved-addr-option:hover {
  border-color: var(--orange-soft);
  background: var(--orange-light);
}

.saved-addr-option.is-selected {
  border-color: var(--orange);
  background: var(--orange-light);
}

.saved-addr-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.saved-addr-body strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.saved-addr-body span {
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.new-addr-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Delivery Options */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.delivery-option:hover {
  border-color: var(--orange-soft);
}

.delivery-option.is-selected {
  border-color: var(--orange);
  background: var(--orange-light);
}

.delivery-option input[type="radio"] {
  accent-color: var(--orange);
  flex-shrink: 0;
}

.delivery-option__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.delivery-option__body strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
}

.delivery-option__eta {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.delivery-option__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* Payment Methods */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-method:hover {
  border-color: var(--orange-soft);
}

.payment-method.is-selected {
  border-color: var(--orange);
  background: var(--orange-light);
}

.payment-method input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.payment-method__body strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.payment-method__body span {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* Order Summary Sidebar */
.checkout-summary {
  position: sticky;
  top: 100px;
  align-self: start;
}

.checkout-summary__inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.checkout-summary__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* Mini Cart Items */
.co-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-100);
}

.co-item:last-of-type {
  border-bottom: none;
}

.co-item__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.co-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.co-item__info strong {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.co-item__info span {
  font-size: 0.6875rem;
  color: var(--ink-muted);
}

.co-item__price {
  font-weight: 700 !important;
  color: var(--ink) !important;
  font-size: 0.8125rem !important;
}

.co-divider {
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}

.co-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding: 4px 0;
}

.co-row--total {
  font-size: 1.0625rem;
  color: var(--ink);
  padding: 8px 0 0;
}

/* GSTIN Input Group & Feedback */
.gstin-input-group,
.pincode-input-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.gstin-input-group .form-input,
.pincode-input-wrap .form-input {
  height: 46px;
  box-sizing: border-box;
  padding: 12px 16px;
}

.gstin-input-group .btn,
.pincode-input-group .btn {
  height: 46px;
  padding: 0 24px;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  flex-shrink: 0;
}

.gstin-input-group .form-input {
  flex: 1;
}

.gstin-feedback {
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.gstin-feedback.is-valid {
  background: rgba(40, 167, 69, 0.1);
  color: #1e7e34;
  border: 1px solid rgba(40, 167, 69, 0.25);
}

.gstin-feedback.is-invalid {
  background: rgba(220, 53, 69, 0.1);
  color: #bd2130;
  border: 1px solid rgba(220, 53, 69, 0.25);
}

/* Pincode Checker Card Styles */
.pincode-checker-box {
  background: var(--grey-50, #f8f9fa);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pincode-input-wrap {
  position: relative;
  flex: 1;
}

.pincode-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--ink-muted);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

.pincode-input-wrap .form-input {
  padding-left: 38px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pincode-result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  transition: all 0.25s ease;
}

.pincode-result.is-deliverable {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.pincode-result.is-not-deliverable {
  background: #fff5f5;
  border: 1.5px solid #feb2b2;
  color: #9b1c1c;
  box-shadow: 0 2px 6px rgba(229, 62, 62, 0.08);
}

.pincode-result__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.pincode-result.is-not-deliverable .pincode-result__header strong {
  color: #c53030;
  font-weight: 700;
}

.pincode-result__icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.pincode-result.is-not-deliverable .pincode-result__icon {
  stroke: #e53e3e;
}

.pincode-result__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78125rem;
  color: #15803d;
}

.pincode-result.is-not-deliverable .pincode-result__details {
  color: #742a2a;
}

.pincode-unserviceable-action {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pincode-unserviceable-action a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e53e3e;
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.pincode-unserviceable-action a:hover {
  background: #c53030;
}

/* Labour / Help Service Checkbox */
.labour-service-card {
  border: 1.5px dashed var(--orange-soft, #ff9f43);
  background: rgba(255, 159, 67, 0.05);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.labour-service-card:hover {
  background: rgba(255, 159, 67, 0.09);
  border-color: var(--orange);
}

.labour-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.labour-checkbox {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}

.labour-checkbox-content {
  flex: 1;
}

.labour-checkbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.labour-checkbox-header strong {
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 700;
}

.labour-price-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-deep, #e65100);
  background: rgba(255, 159, 67, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.labour-desc {
  font-size: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

.co-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.co-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}

.co-trust span:first-child {
  font-size: 1.25rem;
}

/* ============================================================
   TAX INVOICE PAGE
   ============================================================ */

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

.invoice-paper {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  color: #1a1a1a;
  max-width: 960px;
  margin: 0 auto;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.invoice-brand {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.invoice-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.invoice-seller-info h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.invoice-seller-info p {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.invoice-badge-box {
  text-align: right;
}

.invoice-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.invoice-status-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--grey-100);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.invoice-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.invoice-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
  background: #fdfdfd;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

@media (max-width: 768px) {
  .invoice-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.invoice-col-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.invoice-meta-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-meta-table td {
  padding: 3px 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.invoice-meta-table td:first-child {
  width: 110px;
}

.invoice-table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.invoice-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
}

.invoice-table td {
  padding: 12px;
  border: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}

.invoice-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.invoice-item-sub {
  font-size: 0.7188rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.invoice-summary-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 28px;
  align-items: start;
}

@media (max-width: 768px) {
  .invoice-summary-grid {
    grid-template-columns: 1fr;
  }
}

.invoice-bank-box {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.invoice-bank-box h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.invoice-terms-list {
  padding-left: 16px;
  margin-top: 4px;
}

.invoice-terms-list li {
  margin-bottom: 3px;
  font-size: 0.7188rem;
}

.invoice-totals-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #fff;
}

.invoice-totals-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.invoice-totals-table td {
  padding: 5px 0;
  color: var(--ink-soft);
}

.invoice-grand-total {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  padding-top: 10px !important;
}

.invoice-grand-total td {
  color: var(--ink);
}

.invoice-words {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 0.75rem;
  color: var(--ink-soft);
  background: #fff9f5;
  padding: 8px 10px;
  border-radius: 4px;
}

.invoice-footer-sign {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }

  .no-print,
  .top-strip,
  .header,
  .catnav,
  .page-breadcrumb,
  .footer,
  .toast-container,
  .back-to-top {
    display: none !important;
  }

  .section {
    padding: 0 !important;
  }

  .wrap {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .invoice-paper {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    font-size: 10pt !important;
  }

  .invoice-table th {
    background: #222 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .invoice-details-grid,
  .invoice-bank-box,
  .invoice-words {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ============================================================
   WRITE A REVIEW & LOGIN POPUP MODAL STYLES
   ============================================================ */

.reviews-breakdown {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  align-items: center;
}

@media (max-width: 840px) {
  .reviews-breakdown {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-action-box {
    align-items: center;
    text-align: center;
  }
}

.review-action-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange, #e36f0e);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 22px;
  border-radius: var(--radius-md, 8px);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(227, 111, 14, 0.25);
  transition: all 0.25s ease;
}

.btn-write-review:hover {
  background: #ca6007;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(227, 111, 14, 0.35);
}

.btn-write-review svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
}

/* Expandable Review Form Card */
.review-form-card {
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  animation: slideDownFade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.review-form-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.btn-close-review-form {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.btn-close-review-form:hover {
  color: var(--ink);
}

.star-rating-select {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 16px;
}

.star-btn {
  background: transparent;
  border: none;
  padding: 2px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.star-btn:hover {
  transform: scale(1.2);
}

.star-btn svg {
  width: 26px;
  height: 26px;
  fill: #cbd5e1;
  transition: fill 0.2s;
}

.star-btn.active svg {
  fill: var(--star, #f59e0b);
}

.rating-label-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: 8px;
}

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

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

.review-form-card .form-group {
  margin-bottom: 16px;
}

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

.review-form-card label .required {
  color: var(--red, #ef4444);
}

.review-form-card .form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line, #cbd5e1);
  border-radius: var(--radius-md, 8px);
  font-size: 0.875rem;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.review-form-card .form-control:focus {
  outline: none;
  border-color: var(--orange, #e36f0e);
  box-shadow: 0 0 0 3px rgba(227, 111, 14, 0.15);
}

.review-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

/* Modal Backdrop & Card for Login First Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: popInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popInModal {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: rgba(227, 111, 14, 0.1);
  color: var(--orange, #e36f0e);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--orange, #e36f0e);
  fill: none;
  stroke-width: 2;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--secondary {
  background: #f1f5f9;
  color: var(--ink);
  border: 1px solid var(--line, #cbd5e1);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn--secondary:hover {
  background: #e2e8f0;
}

/* ============================================================
   FULLSCREEN PRODUCT IMAGE LIGHTBOX ZOOM MODAL
   ============================================================ */

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeInModal 0.25s ease;
}

.pdp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(8px);
}

.pdp-lightbox__container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 28px;
}

.pdp-lightbox__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  padding-bottom: 12px;
}

.pdp-lightbox__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.pdp-lightbox__tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdp-lightbox__btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdp-lightbox__btn:hover {
  background: var(--orange, #e36f0e);
  border-color: var(--orange, #e36f0e);
  transform: scale(1.08);
}

.pdp-lightbox__btn svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
}

.pdp-lightbox__close {
  font-size: 1.85rem;
  line-height: 1;
}

.pdp-lightbox__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 10px 0;
}

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

.pdp-lightbox__nav:hover {
  background: var(--orange, #e36f0e);
  transform: translateY(-50%) scale(1.1);
}

.pdp-lightbox__nav svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
}

.pdp-lightbox__prev {
  left: 24px;
}

.pdp-lightbox__next {
  right: 24px;
}

.pdp-lightbox__img-wrap {
  position: relative;
  max-width: 88vw;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 12px;
}

.pdp-lightbox__img-wrap img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.12s cubic-bezier(0.1, 1, 0.1, 1);
  transform-origin: center center;
}

.pdp-lightbox__thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 10px;
}

.pdp-lightbox-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.pdp-lightbox-thumb.is-active,
.pdp-lightbox-thumb:hover {
  border-color: var(--orange, #e36f0e);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(227, 111, 14, 0.4);
}

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

/* ============================================================
   CMS Rich Content & Static Pages (Responsive Web & Mobile)
   ============================================================ */
.cms-rich-content {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.cms-rich-content h1,
.cms-rich-content h2,
.cms-rich-content h3,
.cms-rich-content h4 {
  color: var(--ink);
  font-family: var(--font-heading, inherit);
  line-height: 1.3;
}

.cms-rich-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 12px;
}

.cms-rich-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.cms-rich-content p {
  margin-bottom: 16px;
}

.cms-rich-content ul,
.cms-rich-content ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

.cms-rich-content li {
  margin-bottom: 8px;
}

.cms-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md, 8px);
  display: block;
}

/* Responsive Grid (1 col on mobile, 2 cols on desktop >= 768px) */
.cms-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .cms-grid-2 {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
  }
}

.cms-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 32px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cms-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 36px 0;
  }
}

.cms-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.cms-faq-card {
  background: var(--grey-bg, #f8fafc);
  padding: 18px 20px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--line, #e2e8f0);
}

.cms-faq-card h3,
.cms-faq-card h4 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
}

.cms-faq-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft, #475569);
}

/* ============================================================
   Account Dashboard Modals (Edit & Delete Confirmation)
   ============================================================ */
.account-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.18s ease-out;
}

.account-modal-dialog {
  background: #ffffff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: modalPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 720px);
}

/* Form must participate in flex height so body scrolls and footer stays visible */
.account-modal-dialog > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.account-modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.account-modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.account-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.account-modal-body {
  padding: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
}

.account-modal-footer {
  padding: 16px 22px;
  background: #f8fafc;
  border-top: 1px solid var(--line, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   K9 Confirm Modal — compact trading-style, brand-themed
   ============================================================ */
.k9-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(227, 111, 14, 0.12), transparent 55%),
    rgba(29, 34, 38, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalFadeIn 0.18s ease-out;
}

.k9-confirm-card {
  position: relative;
  width: min(100%, 380px);
  padding: 28px 24px 22px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid var(--line, #E7E9EC);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 24px 48px -12px rgba(29, 34, 38, 0.35),
    0 8px 16px -8px rgba(29, 34, 38, 0.2);
  text-align: center;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.k9-confirm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--orange, #E36F0E), #f0a04b);
}

.k9-confirm-card.k9-confirm--danger::before {
  background: linear-gradient(90deg, #dc2626, #f87171);
}

.k9-confirm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.k9-confirm-close:hover:not(:disabled) {
  background: #f1f5f9;
  color: var(--ink, #1D2226);
}

.k9-confirm-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.k9-confirm-icon {
  width: 56px;
  height: 56px;
  margin: 4px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--orange-light, #FFF3E8);
  color: var(--orange, #E36F0E);
  box-shadow: 0 0 0 6px rgba(227, 111, 14, 0.08);
}

.k9-confirm--danger .k9-confirm-icon {
  background: #fef2f2;
  color: #dc2626;
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.08);
}

.k9-confirm-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink, #1D2226);
  line-height: 1.25;
}

.k9-confirm-message {
  margin: 0 0 22px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
}

.k9-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.k9-confirm-btn {
  appearance: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.k9-confirm-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.k9-confirm-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.k9-confirm-btn--ghost {
  background: #fff;
  border: 1px solid var(--line, #E7E9EC);
  color: var(--ink, #1D2226);
}

.k9-confirm-btn--ghost:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.k9-confirm-btn--primary {
  background: linear-gradient(180deg, #f0842a 0%, var(--orange, #E36F0E) 100%);
  border: 1px solid var(--orange, #E36F0E);
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(227, 111, 14, 0.45);
}

.k9-confirm-btn--primary:hover:not(:disabled) {
  filter: brightness(1.04);
}

.k9-confirm-btn--danger {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  border: 1px solid #dc2626;
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(220, 38, 38, 0.4);
}

.k9-confirm-btn--danger:hover:not(:disabled) {
  filter: brightness(1.04);
}

@media (max-width: 420px) {
  .k9-confirm-card {
    padding: 24px 18px 18px;
  }

  .k9-confirm-actions {
    grid-template-columns: 1fr;
  }

  .k9-confirm-btn--danger,
  .k9-confirm-btn--primary {
    order: -1;
  }
}