/* ============================================
   Ferikart — Home Textiles & Furnishings
   Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

@font-face {
  font-family: 'SansAmpersand';
  src: local('DM Sans'), local('Inter'), local('Arial'), sans-serif;
  unicode-range: U+0026;
}

:root {
  /* Brand — warm earthy palette */
  --brand-charcoal: #2b2b2b;
  --brand-warm-dark: #3c3633;
  --brand-terracotta: #c4785a;
  --brand-terracotta-light: #d4937a;
  --brand-sage: #7b9e87;
  --brand-sage-light: #a3c4ad;
  --brand-cream: #faf6f1;
  --brand-linen: #f3ece4;
  --brand-sand: #e8ddd3;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;

  /* Semantic */
  --success: #4a7c59;
  --error: #b33a3a;
  --star-color: #d4a259;
  --price-color: #2b2b2b;
  --deal-color: #b33a3a;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.09);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'SansAmpersand', 'Playfair Display', Georgia, serif;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 250ms var(--ease);
  --t-slow: 400ms var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--brand-cream);
  color: var(--gray-800);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

body.login-body {
  background: var(--brand-cream);
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input,
select {
  font-family: inherit;
  outline: none;
  border: none;
}

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


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  transition: opacity var(--t-fast);
}

.navbar__logo:hover .navbar__logo-img {
  opacity: 0.85;
}

/* Right actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Profile */
.profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  color: var(--gray-800);
}

.profile:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.profile__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  flex-shrink: 0;
}

.profile__info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.profile__greeting {
  font-size: 11px;
  color: var(--gray-500);
}

.profile__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile__name-arrow {
  font-size: 9px;
  opacity: 0.6;
}

/* Profile dropdown */
.profile__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 230px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  overflow: hidden;
  z-index: 100;
}

.profile__dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile__dropdown-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.profile__dropdown-header-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-800);
}

.profile__dropdown-header-email {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.profile__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  transition: background var(--t-fast);
  cursor: pointer;
}

.profile__dropdown-item:hover {
  background: var(--brand-cream);
}

.profile__dropdown-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gray-400);
}

.profile__dropdown-divider {
  height: 1px;
  background: var(--gray-200);
}

/* Cart */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  transition: border-color var(--t-fast), background var(--t-fast);
}

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

.cart-btn svg {
  width: 24px;
  height: 24px;
}

.cart-btn__label {
  font-size: 13px;
  font-weight: 600;
}

.cart-btn__badge {
  position: absolute;
  top: 0;
  left: 24px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--brand-terracotta);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}




/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
  background: var(--brand-linen);
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gray-200);
}

.search-bar__form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 680px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 2px solid var(--brand-terracotta);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  position: relative;
}

.search-bar__form:focus-within {
  border-color: var(--brand-terracotta-light);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.15);
}

.search-bar__input {
  flex: 1;
  padding: 0 18px;
  font-size: 14px;
  color: var(--gray-700);
  background: transparent;
  min-width: 0;
}

.search-bar__input::placeholder {
  color: var(--gray-400);
}

.search-bar__btn {
  width: 46px;
  background: var(--brand-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
  flex-shrink: 0;
  border-top-right-radius: var(--radius-full);
  border-bottom-right-radius: var(--radius-full);
}

.search-bar__btn:hover {
  background: var(--brand-terracotta-light);
}

.search-bar__btn svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

/* Search Dropdown Results */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1005;
  overflow: hidden;
  display: none;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--t-fast);
}

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

.search-result-item:hover {
  background: var(--brand-linen);
}

.search-result-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--price-color);
  margin-top: 2px;
}

.search-result-cat {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-500);
}

.search-result-none {
  padding: 16px;
  font-size: 13px;
  color: var(--gray-600);
  text-align: center;
}

/* Search Recommendations */
.search-recommendations-header {
  padding: 8px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-recommendations-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 14px 10px;
}

.search-rec-chip {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-linen);
  border: 1px solid var(--gray-300);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-charcoal);
  cursor: pointer;
  transition: all var(--t-fast);
}

.search-rec-chip:hover {
  background: var(--brand-terracotta);
  color: var(--white);
  border-color: var(--brand-terracotta);
}


/* ============================================
   CATEGORY NAV
   ============================================ */
.category-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav__item {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}

.category-nav__item:hover {
  color: var(--brand-terracotta);
  border-bottom-color: var(--brand-terracotta);
}

.category-nav__item--active {
  color: var(--brand-terracotta);
  border-bottom-color: var(--brand-terracotta);
  font-weight: 600;
}


/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.login-page__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.login-page__logo-img {
  height: 180px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
}

/* ── Auth Tab Switcher ── */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-100);
}

.auth-tabs__btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
}

.auth-tabs__btn.active {
  color: var(--white);
  background: var(--brand-terracotta);
  box-shadow: 0 2px 8px rgba(196, 120, 90, 0.25);
}

.auth-tabs__btn:not(.active):hover {
  color: var(--gray-700);
  background: var(--gray-200);
}

/* ── Auth Panels ── */
.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
  animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Success message ── */
.form-success {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 13px;
  font-weight: 500;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
}

/* ── Button Loading Spinner ── */
.btn--primary {
  position: relative;
}

.btn__text {
  transition: opacity var(--t-fast);
}

.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn--loading .btn__spinner {
  display: block;
}

@keyframes btnSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── "or" Divider ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ── Google Sign-In Button ── */
.btn--google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.btn--google:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn--google:active {
  transform: scale(0.98);
}

.btn--google__icon {
  flex-shrink: 0;
}


.login-card__header {
  margin-bottom: 26px;
}

.login-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--gray-800);
}

.login-card__subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px;
}

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

.form-group__label-text {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group__input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group__input:focus {
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.12);
}

.form-group__input::placeholder {
  color: var(--gray-400);
}

.form-group__password-wrap {
  position: relative;
}

.form-group__password-wrap .form-group__input {
  padding-right: 42px;
}

.form-group__toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: var(--gray-400);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color var(--t-fast);
}

.form-group__toggle-password:hover {
  color: var(--gray-600);
}

.form-group__toggle-password svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.form-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}

.form-extras__remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
  cursor: pointer;
}

.form-extras__remember input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--gray-400);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.form-extras__remember input[type="checkbox"]:checked {
  background: var(--brand-terracotta);
  border-color: var(--brand-terracotta);
}

.form-extras__remember input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}

.form-extras__forgot {
  color: var(--brand-terracotta);
  font-weight: 500;
  transition: color var(--t-fast);
}

.form-extras__forgot:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  border: none;
}

.btn--primary {
  width: 100%;
  padding: 12px 20px;
  background: var(--brand-terracotta);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn--primary:hover {
  background: #b56c4e;
}

.btn--primary:active {
  transform: scale(0.98);
}

.form-error {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
}

.form-error.visible {
  display: flex;
}

.login-card__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
  color: var(--gray-400);
  font-size: 12px;
}

.login-card__divider::before,
.login-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.login-card__footer {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.login-card__footer a:hover {
  text-decoration: underline;
}

.login-card__terms {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.45;
}

.login-card__terms a {
  color: var(--brand-terracotta);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--t-fast);
}

.login-card__terms a:hover {
  color: var(--brand-terracotta-light);
}

.login-card__terms-footer {
  margin-top: 10px;
  font-size: 12px;
}

.login-card__terms-footer a {
  color: var(--gray-500);
  font-weight: 500;
}

.login-card__terms-footer a:hover {
  color: var(--brand-terracotta);
}


/* ============================================
   HOME PAGE
   ============================================ */

/* ── Hero ── */
.hero-banner {
  position: relative;
  width: 100%;
  padding: 70px 28px;
  background: linear-gradient(150deg, var(--brand-warm-dark) 0%, #4a3f3a 100%);
  overflow: hidden;
}

.hero-banner__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(196, 120, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(123, 158, 135, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-banner__inner {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-banner__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(196, 120, 90, 0.2);
  color: var(--brand-terracotta-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-banner__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 14px;
}

.hero-banner__title em {
  font-style: normal;
  color: var(--brand-terracotta-light);
}

.hero-banner__subtitle {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--brand-terracotta);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), transform var(--t-fast);
}

.hero-banner__cta:hover {
  background: #b56c4e;
  transform: translateY(-1px);
}

/* ── Section ── */
.section {
  padding: 36px 28px 8px;
  max-width: 1280px;
  margin: 0 auto;
}

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-800);
}

.section__see-all {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-terracotta);
  transition: color var(--t-fast);
}

.section__see-all:hover {
  text-decoration: underline;
}


/* ── Category Cards ── */
.category-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-card {
  flex: 0 0 150px;
  text-align: center;
  cursor: pointer;
}

.cat-card__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--brand-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  transition: transform var(--t-base), box-shadow var(--t-base);
  border: 2px solid var(--brand-sand);
}

.cat-card:hover .cat-card__icon {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-terracotta-light);
}

.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cat-card__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}


/* ── Collection Banner ── */
.collection-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.collection-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--t-base), transform var(--t-base);
  cursor: pointer;
}

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

.collection-card__emoji {
  font-size: 36px;
  margin-bottom: 12px;
}

.collection-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.collection-card__desc {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.collection-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-terracotta);
}

.collection-card__link:hover {
  text-decoration: underline;
}


/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--t-base), transform var(--t-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.product-card__image {
  width: 100%;
  height: 230px;
  background: var(--brand-linen);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card__image-placeholder {
  font-size: 60px;
  line-height: 1;
  opacity: 0.8;
}

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

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.product-card__badge--sale {
  background: var(--deal-color);
  color: var(--white);
}

.product-card__badge--bestseller {
  background: var(--brand-sage);
  color: var(--white);
}

.product-card__badge--new {
  background: var(--brand-charcoal);
  color: var(--white);
}

.product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast);
  cursor: pointer;
  border: none;
}

.product-card__wishlist:hover {
  transform: scale(1.1);
}

.product-card__wishlist svg {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  transition: color var(--t-fast), fill var(--t-fast);
}

.product-card__wishlist:hover svg {
  color: #e11d48;
}

.product-card__wishlist.active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

.product-card__wishlist.active svg {
  color: #e11d48;
  fill: #e11d48;
}

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

.product-card__category {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-sage);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.product-card__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.product-card__stars {
  color: var(--star-color);
  font-size: 13px;
  letter-spacing: -1px;
}

.product-card__rating-count {
  font-size: 12px;
  color: var(--gray-400);
}

.product-card__price-wrap {
  margin-top: auto;
}

.product-card__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--price-color);
  line-height: 1;
}

.product-card__price-symbol {
  font-size: 13px;
  vertical-align: top;
  font-weight: 500;
}

.product-card__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.product-card__mrp {
  font-size: 12px;
  color: var(--gray-400);
}

.product-card__mrp-value {
  text-decoration: line-through;
}

.product-card__discount {
  font-size: 12px;
  font-weight: 600;
  color: var(--deal-color);
}

.product-card__sizes {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.product-card__size {
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--gray-300);
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}

.product-card__add-btn {
  margin-top: 12px;
  width: 100%;
  padding: 9px 16px;
  background: var(--brand-charcoal);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}

.product-card__add-btn:hover {
  background: #3d3d3d;
}

.product-card__add-btn:active {
  transform: scale(0.97);
}


/* ── Trust Bar ── */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 36px 28px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-top: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.trust-item__icon {
  font-size: 28px;
  flex-shrink: 0;
}

.trust-item__text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.trust-item__text span {
  font-size: 12px;
  color: var(--gray-500);
}


/* ── Footer ── */
.footer {
  margin-top: 0;
}

.footer__main {
  background: var(--brand-charcoal);
  padding: 48px 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding: 3px 0;
  transition: color var(--t-fast);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  background: var(--brand-warm-dark);
  padding: 16px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--gray-400);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer__logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .navbar {
    padding: 0 12px;
    height: 60px;
    gap: 8px;
  }

  .navbar__logo-img {
    height: 110px;
  }

  .navbar__actions {
    position: static;
    transform: none;
    flex-direction: row;
    height: auto;
    width: auto;
    background: transparent;
    border: none;
    padding: 0;
    gap: 6px;
    margin-left: auto;
  }

  .navbar__actions .profile {
    padding: 4px 8px;
    border: none;
  }

  .navbar__actions .profile__info {
    display: none;
  }

  .navbar__actions .cart-btn {
    padding: 6px 8px;
    border: none;
  }

  .navbar__actions .cart-btn__label {
    display: none;
  }



  .search-bar {
    padding: 8px 16px;
  }

  .category-nav {
    padding: 0 16px;
  }

  .hero-banner {
    padding: 48px 20px;
  }

  .section {
    padding: 28px 16px 4px;
  }

  .collection-banner {
    grid-template-columns: 1fr;
  }

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

  .product-card__image {
    height: 160px;
  }

  .product-card__body {
    padding: 12px;
  }

  .product-card__title {
    font-size: 13px;
  }

  .product-card__price {
    font-size: 17px;
  }

  .product-card__sizes {
    display: none;
  }

  .trust-bar {
    gap: 24px;
    padding: 24px 16px;
  }

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

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

  .product-card__image {
    height: 130px;
  }

  .product-card__add-btn {
    font-size: 12px;
    padding: 7px 12px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   CATEGORY PAGE STYLES
   ============================================ */
.category-header {
  background: var(--brand-linen);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 28px;
}

.category-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  color: var(--gray-800);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.category-back-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  transform: translateX(-2px);
}

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

.category-header__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.2;
}

.category-header__count {
  font-size: 12px;
  color: var(--gray-500);
}

.category-types-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 28px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-types-nav::-webkit-scrollbar {
  display: none;
}

.cat-type-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  transition: all var(--t-fast);
  cursor: pointer;
}

.cat-type-chip:hover {
  background: var(--gray-200);
}

.cat-type-chip.active {
  background: var(--brand-terracotta);
  color: var(--white);
  border-color: var(--brand-terracotta);
  font-weight: 600;
}


/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */
.breadcrumb-trail {
  font-size: 13px;
  color: var(--gray-600);
}

.breadcrumb-trail a {
  color: var(--brand-terracotta);
  font-weight: 500;
}

.breadcrumb-trail a:hover {
  text-decoration: underline;
}

.product-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 28px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-main-img-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--brand-linen);
  box-shadow: var(--shadow-sm);
}

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

.product-detail-info {
  display: flex;
  flex-direction: column;
}

.product-detail__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  margin-top: 4px;
}

.product-detail-price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.product-detail__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--price-color);
  line-height: 1;
}

.product-detail-spec-group {
  margin-bottom: 20px;
}

.product-detail-spec-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.product-detail-sizes-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-detail-size-chip {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--t-fast);
}

.product-detail-size-chip:hover {
  border-color: var(--brand-terracotta-light);
}

.product-detail-size-chip.active {
  border-color: var(--brand-terracotta);
  background: var(--brand-linen);
  color: var(--brand-terracotta);
  font-weight: 600;
}

.product-detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.product-detail-add-btn {
  flex: 1;
  padding: 14px 20px;
  background: var(--brand-charcoal);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}

.product-detail-add-btn:hover {
  background: #3d3d3d;
}

.product-detail-buy-btn {
  flex: 1;
  padding: 14px 20px;
  background: var(--brand-terracotta);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}

.product-detail-buy-btn:hover {
  background: #b56c4e;
}

.product-detail-wishlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--white);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.product-detail-wishlist-btn:hover {
  border-color: #e53e3e;
  color: #e53e3e;
}

.product-detail-wishlist-btn.active {
  border-color: #e53e3e;
  background: #fff5f5;
  color: #e53e3e;
}

.product-detail-wishlist-btn.active svg {
  fill: #e53e3e;
  color: #e53e3e;
}

.fericart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #222222;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  pointer-events: none;
}

.fericart-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-detail-spec-table {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px;
  margin-bottom: 24px;
}

.product-detail-spec-heading {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-100);
}

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

.spec-key {
  color: var(--gray-500);
  font-weight: 500;
}

.spec-val {
  color: var(--gray-800);
}

.product-detail-description {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}

.similar-products-section {
  border-top: 1px solid var(--gray-200);
  padding-top: 36px;
}

@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-detail-container {
    padding: 20px 16px;
  }
  .product-detail__title {
    font-size: 20px;
  }
  .spec-row {
    grid-template-columns: 120px 1fr;
    font-size: 12px;
  }
  .product-detail-actions {
    flex-direction: column;
  }
}

.cat-type-chip.active {
  background: var(--brand-terracotta);
  color: var(--white);
  border-color: var(--brand-terracotta);
  font-weight: 600;
}


/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

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

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--gray-600);
  transition: all var(--t-fast);
}

.cart-drawer__close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.cart-item__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item__size {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--price-color);
  margin-top: 4px;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--t-fast);
}

.cart-item__qty-btn:hover {
  background: var(--brand-terracotta);
  color: var(--white);
  border-color: var(--brand-terracotta);
}

.cart-item__qty-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  min-width: 20px;
  text-align: center;
}

.cart-item__remove {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--t-fast);
}

.cart-item__remove:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Cart Empty State */
.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 8px;
}

.cart-drawer__empty-icon {
  font-size: 48px;
  opacity: 0.4;
}

.cart-drawer__empty-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-700);
}

.cart-drawer__empty-sub {
  font-size: 13px;
  color: var(--gray-500);
}

/* Cart Footer */
.cart-drawer__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: var(--brand-linen);
}

.cart-drawer__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
}

.cart-drawer__total {
  font-size: 20px;
  font-weight: 800;
  color: var(--price-color);
}

.cart-drawer__checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--brand-terracotta);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast);
}

.cart-drawer__checkout-btn:hover {
  background: var(--brand-terracotta-light);
}


/* ============================================
   CART PAGE (cart.html)
   ============================================ */
.cart-page {
  max-width: 640px;
  margin: 24px auto 40px;
  padding: 0 16px;
  min-height: calc(100vh - 220px);
}

.cart-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-page__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-800);
  margin: 0;
}

.cart-page__count {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 500;
}

.cart-page__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.cart-page-item {
  display: flex;
  gap: 20px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.cart-page-item__img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  flex-shrink: 0;
}

.cart-page-item__info {
  flex: 1;
  min-width: 0;
}

.cart-page-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
  line-height: 1.3;
}

.cart-page-item__size {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.cart-page-item__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--price-color);
}

.cart-page-item__mrp {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.cart-page-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 16px;
}

.cart-page-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-page-item__qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.cart-page-item__qty-btn:hover {
  background: var(--brand-terracotta);
  color: var(--white);
  border-color: var(--brand-terracotta);
}

.cart-page-item__qty-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  min-width: 24px;
  text-align: center;
}

.cart-page-item__remove-btn {
  background: transparent;
  border: none;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}

.cart-page-item__remove-btn:hover {
  background: #fee2e2;
}

/* Empty State */
.cart-page__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.cart-page__empty-icon {
  font-size: 64px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.cart-page__empty-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.cart-page__empty-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
  max-width: 400px;
}

.cart-page__empty-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--brand-terracotta);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--t-fast);
}

.cart-page__empty-btn:hover {
  background: var(--brand-terracotta-light);
}

/* Summary Card */
.cart-page__summary {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.cart-page__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.cart-page__shipping {
  color: #067d62;
  font-weight: 700;
}

.cart-page__summary-row--total {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-800);
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
  margin-top: 14px;
}

.cart-page__total {
  font-size: 22px;
  color: var(--price-color);
}

.cart-page__checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--brand-terracotta);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: background var(--t-fast);
}

.cart-page__checkout-btn:hover {
  background: var(--brand-terracotta-light);
}

.cart-page__continue-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--brand-terracotta);
  font-weight: 600;
  text-decoration: none;
}

.cart-page__continue-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cart-page-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-page-item__img {
    width: 100%;
    height: 160px;
  }
}


/* ============================================
   ACCOUNT, ORDERS & WISHLIST PAGES
   ============================================ */
.account-page {
  max-width: 940px;
  margin: 30px auto 60px;
  padding: 0 20px;
  min-height: calc(100vh - 220px);
}

.account-page--narrow {
  max-width: 680px;
}

.account-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.account-page__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin: 0;
}

/* Profile Summary Header Card */
.account-profile-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

.account-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.account-profile-info {
  flex: 1;
}

.account-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin: 0 0 2px;
}

.account-email {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0 0 6px;
}

.account-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-cream);
  border: 1px solid var(--brand-sand);
  color: var(--brand-terracotta);
  font-size: 11px;
  font-weight: 600;
}

/* Toast Banner */
.account-toast {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  animation: fadeIn 200ms var(--ease);
}

.account-toast__icon {
  width: 22px;
  height: 22px;
  background: #166534;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Vertical Menu Cards Stack (Main Account Page) */
.account-vertical-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.account-menu-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  transition: all var(--t-fast);
  cursor: pointer;
}

.account-menu-card:hover {
  border-color: var(--brand-terracotta);
  background: var(--brand-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.account-menu-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-linen);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.account-menu-card:hover .account-menu-card__icon-wrap {
  background: var(--brand-terracotta);
  color: var(--white);
}

.account-menu-card__icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.account-menu-card__content {
  flex: 1;
}

.account-menu-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin: 0 0 4px;
}

.account-menu-card__subtitle {
  font-size: 13px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.4;
}

.account-menu-card__arrow {
  font-size: 24px;
  font-weight: 400;
  color: var(--gray-400);
  transition: all var(--t-fast);
}

.account-menu-card:hover .account-menu-card__arrow {
  color: var(--brand-terracotta);
  transform: translateX(4px);
}

.account-menu-card--danger {
  border-color: #fecaca;
  background: #fff5f5;
}

.account-menu-card--danger .account-menu-card__icon-wrap {
  background: #fee2e2;
  color: #dc2626;
}

.account-menu-card--danger .account-menu-card__title,
.account-menu-card--danger .account-menu-card__arrow {
  color: #dc2626;
}

.account-menu-card--danger:hover {
  border-color: #f87171;
  background: #fef2f2;
}

.account-menu-card--danger:hover .account-menu-card__icon-wrap {
  background: #dc2626;
  color: #ffffff;
}

.account-menu-card--danger:hover .account-menu-card__arrow {
  color: #dc2626;
}

/* 2-Column Vertical Layout (Dedicated Option Pages) */
.account-grid-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

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

/* Vertical Sidebar */
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 90px;
}

.account-sidebar__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.account-sidebar__profile .account-avatar {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.account-sidebar__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-charcoal);
}

.account-sidebar__email {
  font-size: 12px;
  color: var(--gray-500);
}

.account-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--t-fast);
}

.account-sidebar-link:hover {
  background: var(--brand-cream);
  color: var(--brand-terracotta);
}

.account-sidebar-link.active {
  background: var(--brand-linen);
  color: var(--brand-terracotta);
  font-weight: 700;
}

/* Account Card Inside Tab */
.account-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px 32px;
  box-shadow: var(--shadow-xs);
}

.account-card__header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.account-card__header--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.account-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 4px;
}

.account-card__subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.form-input {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--t-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.15);
}

.form-input--disabled {
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: not-allowed;
}

.input-with-badge {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-badge .form-input {
  width: 100%;
  padding-right: 130px;
}

.input-badge {
  position: absolute;
  right: 12px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.input-badge--verified {
  background: #dcfce7;
  color: #166534;
}

.input-badge--unverified {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  display: flex;
  align-items: center;
}

.verify-now-link {
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-fast);
}

.verify-now-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

/* Verification Sent Toast */
.verify-sent-toast {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  animation: authFadeIn 0.3s ease;
}

.verify-sent-toast--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.verify-sent-toast--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--error);
}

.verify-sent-toast svg {
  flex-shrink: 0;
}

/* Account badge — unverified variant */
.account-badge--unverified {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.form-hint {
  font-size: 12px;
  color: var(--gray-500);
}

.save-settings-btn {
  padding: 12px 24px;
  background: var(--brand-terracotta);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast);
  align-self: flex-start;
}

.save-settings-btn:hover:not(:disabled) {
  background: var(--brand-warm-dark);
}

.save-settings-btn:disabled,
.save-settings-btn.disabled {
  background: var(--gray-300) !important;
  color: var(--gray-500) !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none !important;
  transform: none !important;
}

/* Address List & Cards */
.address-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

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

.address-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--t-fast);
}

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

.address-card.is-default {
  border: 2px solid var(--brand-terracotta);
  background: var(--brand-cream);
}

.address-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.address-card__type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.address-card__default-tag {
  background: var(--brand-terracotta);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.address-card__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.address-card__text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 12px;
}

.address-card__phone {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 16px;
}

.address-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}

.address-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--brand-terracotta);
  padding: 0;
  transition: color var(--t-fast);
}

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

.address-btn--danger {
  color: var(--error);
}

.address-btn--danger:hover {
  color: #991b1b;
}

/* Modal Overlay & Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 150ms ease;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.modal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.modal-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--gray-800);
}

.address-type-selector {
  display: flex;
  gap: 16px;
}

.address-type-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.modal-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
}

/* Help & Support Elements */
.help-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.help-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--brand-cream);
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--t-fast);
}

.help-card:hover {
  background: var(--white);
  border-color: var(--brand-terracotta);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.help-card__icon {
  font-size: 24px;
}

.help-card__info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 2px;
}

.help-card__info p {
  font-size: 12px;
  color: var(--gray-600);
  margin: 0;
}

.help-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 16px;
}

.help-faq-section {
  margin-bottom: 36px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item__summary {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__arrow {
  font-size: 12px;
  color: var(--gray-500);
  transition: transform var(--t-fast);
}

.faq-item__details[open] .faq-item__arrow {
  transform: rotate(180deg);
}

.faq-item__content {
  padding-bottom: 14px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.help-ticket-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-200);
}

/* My Orders Card */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.order-card__header {
  padding: 14px 18px;
  background: var(--brand-linen);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-id {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
}

.order-date {
  font-size: 12px;
  color: var(--gray-500);
}

.order-status {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.order-status--delivered {
  background: #dcfce7;
  color: #15803d;
}

.order-card__body {
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.order-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  flex-shrink: 0;
}

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

.order-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 4px;
}

.order-item-meta {
  font-size: 12px;
  color: var(--gray-500);
  margin: 0 0 4px;
}

.order-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--price-color);
  margin: 0;
}

.order-card__footer {
  padding: 12px 18px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.order-action-btn {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
}

.order-action-btn:hover {
  background: var(--gray-100);
}

.order-action-btn--primary {
  background: var(--brand-terracotta);
  color: var(--white);
  border-color: var(--brand-terracotta);
}

.order-action-btn--primary:hover {
  background: var(--brand-terracotta-light);
}

/* Wishlist Grid & Toolbar */
.wishlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}

.wishlist-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  cursor: pointer;
}

.wishlist-select-all input[type="checkbox"],
.wishlist-item-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-terracotta);
  cursor: pointer;
}

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

.wishlist-btn-action {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--t-fast);
}

.wishlist-btn-cart {
  background: var(--brand-terracotta);
  color: var(--white);
  border-color: var(--brand-terracotta);
}

.wishlist-btn-cart:hover {
  background: var(--brand-terracotta-light);
}

.wishlist-btn-delete {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.wishlist-btn-delete:hover {
  background: #fca5a5;
  color: #7f1d1d;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.wishlist-card {
  position: relative;
}

.wishlist-item-checkbox-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.wishlist-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.wishlist-card-actions .product-card__add-btn {
  flex: 1;
}

.wishlist-remove-single-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid #fca5a5;
  background: #fee2e2;
  color: #dc2626;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  flex-shrink: 0;
}

.wishlist-remove-single-btn:hover {
  background: #dc2626;
  color: var(--white);
}

/* ============================================
   TERMS & CONDITIONS PAGE
   ============================================ */

.terms-hero {
  background: linear-gradient(135deg, var(--brand-warm-dark) 0%, var(--brand-charcoal) 100%);
  color: var(--white);
  padding: 50px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.terms-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 120, 90, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.terms-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.terms-hero__badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(196, 120, 90, 0.25);
  border: 1px solid var(--brand-terracotta);
  color: var(--brand-terracotta-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.terms-hero__title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.terms-hero__subtitle {
  font-size: 15px;
  color: var(--brand-sand);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Search bar in Hero */
.terms-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 20px;
}

.terms-search__input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  transition: all var(--t-base);
}

.terms-search__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.terms-search__input:focus {
  outline: none;
  border-color: var(--brand-terracotta-light);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(212, 147, 122, 0.25);
}

.terms-search__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  display: flex;
}

.terms-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-400);
}

.terms-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Main Layout */
.terms-layout {
  max-width: 1240px;
  margin: 40px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar Navigation */
.terms-sidebar {
  position: sticky;
  top: 90px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  padding: 20px 16px;
}

.terms-sidebar__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-500);
  padding: 0 12px 12px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 12px;
}

.terms-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--t-fast);
  text-decoration: none;
  position: relative;
}

.terms-nav__link:hover {
  background: var(--brand-cream);
  color: var(--brand-terracotta);
}

.terms-nav__link.active {
  background: var(--brand-linen);
  color: var(--brand-terracotta);
  font-weight: 600;
}

.terms-nav__link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--brand-terracotta);
  border-radius: var(--radius-full);
}

.terms-nav__icon {
  font-size: 15px;
  display: flex;
  align-items: center;
}

.terms-sidebar__actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-sidebar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
}

.terms-sidebar__btn:hover {
  border-color: var(--brand-terracotta);
  color: var(--brand-terracotta);
  background: var(--brand-cream);
}

/* Content Area */
.terms-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.terms-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  padding: 36px 40px;
  scroll-margin-top: 100px;
  transition: box-shadow var(--t-fast);
}

.terms-section:hover {
  box-shadow: var(--shadow-md);
}

.terms-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.terms-section__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.terms-section__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-cream);
  color: var(--brand-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.terms-section__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.policy-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.policy-badge--primary {
  background: #fef3c7;
  color: #92400e;
}

.policy-badge--privacy {
  background: #dbeafe;
  color: #1e40af;
}

.policy-badge--shipping {
  background: #dcfce7;
  color: #166534;
}

.policy-badge--returns {
  background: #fae8ff;
  color: #86198f;
}

.terms-body {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
}

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

.terms-body h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  margin: 24px 0 10px;
}

.terms-body ul, .terms-body ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

.terms-body li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.policy-callout {
  background: var(--brand-cream);
  border-left: 4px solid var(--brand-terracotta);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-size: 14px;
  color: var(--brand-warm-dark);
}

.policy-callout--sage {
  background: #f0f7f3;
  border-left-color: var(--brand-sage);
}

.policy-callout strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--gray-800);
}

/* Policy Table */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.policy-table th,
.policy-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.policy-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-800);
}

.policy-table tr:hover td {
  background: var(--brand-cream);
}

/* Contact box */
.terms-contact-card {
  background: linear-gradient(135deg, var(--brand-linen) 0%, var(--brand-cream) 100%);
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.terms-contact-card__info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brand-charcoal);
  margin-bottom: 6px;
}

.terms-contact-card__info p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-600);
}

.terms-contact-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--brand-terracotta);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
}

.terms-contact-card__btn:hover {
  background: var(--brand-warm-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Floating Back to Top */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-charcoal);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--brand-terracotta);
  transform: translateY(-3px);
}

/* Search match highlighting */
mark.policy-highlight {
  background: #fef08a;
  color: #854d0e;
  padding: 2px 4px;
  border-radius: 3px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .terms-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
    padding: 0 16px;
  }

  .terms-sidebar {
    position: relative;
    top: 0;
  }

  .terms-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 6px;
  }

  .terms-nav__link {
    font-size: 12px;
    padding: 8px 10px;
    justify-content: center;
    text-align: center;
  }

  .terms-section {
    padding: 24px 20px;
  }

  .terms-hero__title {
    font-size: 28px;
  }
}

/* ============================================
   SUCCESS POPUP MODAL DIALOG
   ============================================ */
.popup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 200ms ease;
}

.popup-modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--gray-200);
  animation: popIn 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 8px rgba(220, 252, 231, 0.6);
}

.popup-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 8px;
}

.popup-modal-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 24px;
}

.popup-modal-btn {
  padding: 12px 32px;
  background: var(--brand-terracotta);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
}

.popup-modal-btn:hover {
  background: var(--brand-warm-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}


/* ════════════════════════════════════════════════════════
   ADMIN PANEL — Premium Dark Dashboard
   ════════════════════════════════════════════════════════ */

/* ─── Admin Body ─── */
.admin-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'DM Sans', -apple-system, sans-serif;
  background: #0f1117;
  color: #e4e4e7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Loading Screen ─── */
.admin-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 16px;
  color: #a1a1aa;
}
.admin-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #27272a;
  border-top-color: #c4785a;
  border-radius: 50%;
  animation: adminSpin 0.8s linear infinite;
}
@keyframes adminSpin {
  to { transform: rotate(360deg); }
}

/* ─── Access Denied ─── */
.admin-denied {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.admin-denied__card {
  text-align: center;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 420px;
}
.admin-denied__icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.admin-denied__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fafafa;
}
.admin-denied__text {
  color: #a1a1aa;
  margin: 0 0 24px;
  line-height: 1.5;
}
.admin-denied__btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #c4785a, #d4937a);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.admin-denied__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 120, 90, 0.3);
}

/* ─── Dashboard Layout ─── */
.admin-dashboard {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ─── */
.admin-sidebar {
  width: 260px;
  min-width: 260px;
  background: #18181b;
  border-right: 1px solid #27272a;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.admin-sidebar__header {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #27272a;
}
.admin-sidebar__logo-img {
  height: 32px;
  filter: brightness(1.2);
}
.admin-sidebar__badge {
  background: linear-gradient(135deg, #c4785a, #d4937a);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.admin-sidebar__nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
}
.admin-nav__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.admin-nav__item:hover {
  background: #27272a;
  color: #fafafa;
}
.admin-nav__item.active {
  background: linear-gradient(135deg, rgba(196,120,90,0.15), rgba(196,120,90,0.08));
  color: #d4937a;
  font-weight: 600;
}
.admin-nav__item.active svg {
  stroke: #d4937a;
}

/* Sidebar Footer */
.admin-sidebar__footer {
  padding: 16px;
  border-top: 1px solid #27272a;
}
.admin-sidebar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.admin-sidebar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4785a, #7b9e87);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.admin-sidebar__user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-sidebar__user-name {
  font-size: 13px;
  font-weight: 600;
  color: #fafafa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sidebar__user-email {
  font-size: 11px;
  color: #71717a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sidebar__back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #71717a;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 4px;
  transition: color 0.2s;
}
.admin-sidebar__back-link svg {
  width: 16px;
  height: 16px;
}
.admin-sidebar__back-link:hover {
  color: #d4937a;
}

/* ─── Mobile Top Bar ─── */
.admin-topbar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #18181b;
  border-bottom: 1px solid #27272a;
  position: sticky;
  top: 0;
  z-index: 90;
}
.admin-topbar__toggle {
  background: none;
  border: none;
  color: #fafafa;
  cursor: pointer;
  padding: 4px;
}
.admin-topbar__toggle svg {
  width: 24px;
  height: 24px;
}
.admin-topbar__logo {
  height: 28px;
  filter: brightness(1.2);
}

/* Sidebar Overlay (mobile) */
.admin-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  backdrop-filter: blur(4px);
}

/* ─── Main Content ─── */
.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: 32px;
  min-height: 100vh;
  overflow-y: auto;
}

/* ─── Sections ─── */
.admin-section {
  display: none;
  animation: adminFadeIn 0.3s ease;
}
.admin-section.active {
  display: block;
}
@keyframes adminFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-section__header {
  margin-bottom: 28px;
}
.admin-section__title {
  font-size: 28px;
  font-weight: 800;
  color: #fafafa;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}
.admin-section__subtitle {
  font-size: 14px;
  color: #71717a;
  margin: 0;
}

/* ─── Stats Grid ─── */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.admin-stat-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
}
.admin-stat-card--products::before { background: linear-gradient(90deg, #c4785a, #d4937a); }
.admin-stat-card--categories::before { background: linear-gradient(90deg, #7b9e87, #a3c4ad); }
.admin-stat-card--recent::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.admin-stat-card--value::before { background: linear-gradient(90deg, #d4a259, #f0c674); }

.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.admin-stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-stat-card--products .admin-stat-card__icon { background: rgba(196,120,90,0.15); color: #d4937a; }
.admin-stat-card--categories .admin-stat-card__icon { background: rgba(123,158,135,0.15); color: #a3c4ad; }
.admin-stat-card--recent .admin-stat-card__icon { background: rgba(99,102,241,0.15); color: #818cf8; }
.admin-stat-card--value .admin-stat-card__icon { background: rgba(212,162,89,0.15); color: #f0c674; }
.admin-stat-card__icon svg {
  width: 24px;
  height: 24px;
}
.admin-stat-card__info {
  display: flex;
  flex-direction: column;
}
.admin-stat-card__value {
  font-size: 28px;
  font-weight: 800;
  color: #fafafa;
  line-height: 1.1;
}
.admin-stat-card__label {
  font-size: 13px;
  color: #71717a;
  margin-top: 4px;
}

/* ─── Cards ─── */
.admin-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 14px;
  overflow: hidden;
}
.admin-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #27272a;
}
.admin-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #fafafa;
  margin: 0;
}
.admin-card__action-btn {
  background: none;
  border: none;
  color: #d4937a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
  font-family: inherit;
}
.admin-card__action-btn:hover {
  background: rgba(196,120,90,0.1);
}

/* ─── Table ─── */
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #27272a;
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(39,39,42,0.5);
  vertical-align: middle;
}
.admin-table tbody tr {
  transition: background 0.15s;
}
.admin-table tbody tr:hover {
  background: rgba(39,39,42,0.5);
}
.admin-table__empty {
  text-align: center;
  color: #71717a;
  padding: 40px 16px !important;
  font-size: 14px;
}
.admin-table__thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #27272a;
}
.admin-table__name {
  font-weight: 500;
  color: #e4e4e7;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-table__price {
  font-weight: 700;
  color: #fafafa;
}
.admin-table__mrp {
  color: #71717a;
  text-decoration: line-through;
}
.admin-table__cat-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(123,158,135,0.12);
  color: #a3c4ad;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.admin-table__discount-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(196,120,90,0.12);
  color: #d4937a;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.admin-table__size-chip {
  display: inline-block;
  padding: 2px 8px;
  background: #27272a;
  border-radius: 4px;
  font-size: 11px;
  color: #a1a1aa;
  margin: 1px;
  white-space: nowrap;
}
.admin-table__badge-pill {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99,102,241,0.12);
  color: #818cf8;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.admin-table__actions {
  display: flex;
  gap: 6px;
}

/* Action Buttons */
.admin-action-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #27272a;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.admin-action-btn svg {
  width: 16px;
  height: 16px;
}
.admin-action-btn--edit {
  color: #818cf8;
}
.admin-action-btn--edit:hover {
  background: rgba(99,102,241,0.12);
  border-color: #818cf8;
}
.admin-action-btn--delete {
  color: #f87171;
}
.admin-action-btn--delete:hover {
  background: rgba(248,113,113,0.12);
  border-color: #f87171;
}

/* ─── Admin Stock Toggle Switch ─── */
.admin-stock-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.admin-stock-toggle input[type="checkbox"] {
  display: none;
}
.admin-stock-toggle__slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #dc2626;
  border-radius: 24px;
  transition: background 0.25s ease;
}
.admin-stock-toggle__slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.admin-stock-toggle input:checked + .admin-stock-toggle__slider {
  background: #067d62;
}
.admin-stock-toggle input:checked + .admin-stock-toggle__slider::before {
  transform: translateX(20px);
}
.admin-stock-toggle__label {
  font-size: 13px;
  font-weight: 600;
  color: #067d62;
}

/* ─── Admin Stock Badge (Manage Table) ─── */
.admin-stock-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.admin-stock-badge--in {
  background: rgba(6,125,98,0.12);
  color: #067d62;
}
.admin-stock-badge--in:hover {
  background: rgba(6,125,98,0.2);
}
.admin-stock-badge--out {
  background: rgba(220,38,38,0.12);
  color: #dc2626;
}
.admin-stock-badge--out:hover {
  background: rgba(220,38,38,0.2);
}

/* ─── Frontend Out of Stock Label (Product Cards) ─── */
.product-card__out-of-stock {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #6b7280;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-xs, 6px);
  cursor: default;
  pointer-events: none;
}

/* ─── Frontend Out of Stock (Product Detail Page) ─── */
.product-detail-out-of-stock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  background: #6b7280;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm, 8px);
  cursor: default;
}

/* ─── Form Layout ─── */
.admin-form__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.admin-form__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.admin-form__card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 14px;
  padding: 24px;
}
.admin-form__card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fafafa;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #27272a;
}

/* Form Elements */
.admin-form-group {
  margin-bottom: 16px;
}
.admin-form-group:last-child {
  margin-bottom: 0;
}
.admin-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
  margin-bottom: 6px;
}
.admin-form-label .required {
  color: #f87171;
}
.admin-form-input,
.admin-form-select,
.admin-form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 10px;
  color: #fafafa;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.admin-form-input:focus,
.admin-form-select:focus,
.admin-form-textarea:focus {
  outline: none;
  border-color: #c4785a;
  box-shadow: 0 0 0 3px rgba(196,120,90,0.15);
}
.admin-form-input::placeholder,
.admin-form-textarea::placeholder {
  color: #3f3f46;
}
.admin-form-input[readonly] {
  background: #1a1a1e;
  color: #71717a;
  cursor: default;
}
.admin-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2371717a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.admin-form-select option {
  background: #18181b;
  color: #fafafa;
}
.admin-form-textarea {
  resize: vertical;
  min-height: 100px;
}
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-form-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.admin-form-hint {
  font-size: 12px;
  color: #52525b;
  margin-top: 6px;
}
.admin-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #52525b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.admin-form-divider::before,
.admin-form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #27272a;
}

/* ─── Image Upload Zone ─── */
.admin-upload-zone {
  border: 2px dashed #27272a;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.admin-upload-zone:hover,
.admin-upload-zone.dragover {
  border-color: #c4785a;
  background: rgba(196,120,90,0.05);
}
.admin-upload-zone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  text-align: center;
}
.admin-upload-zone__icon {
  width: 48px;
  height: 48px;
  color: #52525b;
  margin-bottom: 12px;
}
.admin-upload-zone__text {
  font-size: 14px;
  font-weight: 600;
  color: #a1a1aa;
  margin: 0 0 4px;
}
.admin-upload-zone__hint {
  font-size: 12px;
  color: #52525b;
  margin: 0;
}
.admin-upload-zone__input {
  display: none;
}
.admin-upload-zone__preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #09090b;
}
.admin-upload-zone__preview img {
  max-width: 100%;
  max-height: 220px;
  border-radius: 8px;
  object-fit: contain;
}
.admin-upload-zone__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.admin-upload-zone__remove:hover {
  background: #f87171;
}

/* Upload Progress */
.admin-upload-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 12px;
}
.admin-upload-progress__bar {
  flex: 1;
  height: 4px;
  background: #27272a;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.admin-upload-progress__bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #c4785a, #d4937a);
  border-radius: 4px;
  transition: width 0.3s;
}
.admin-upload-progress__text {
  font-size: 12px;
  font-weight: 600;
  color: #d4937a;
  min-width: 36px;
  text-align: right;
}

/* URL Preview */
.admin-url-preview {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #09090b;
  border: 1px solid #27272a;
}
.admin-url-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

/* ─── Tags Input ─── */
.admin-tags-input {
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: text;
}
.admin-tags-input:focus-within {
  border-color: #c4785a;
  box-shadow: 0 0 0 3px rgba(196,120,90,0.15);
}
.admin-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #27272a;
  border-radius: 6px;
  font-size: 13px;
  color: #e4e4e7;
  font-weight: 500;
  animation: tagPop 0.2s ease;
}
@keyframes tagPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.admin-tag__remove {
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.15s;
}
.admin-tag__remove:hover {
  color: #f87171;
}
.admin-tags-input__field {
  flex: 1;
  min-width: 120px;
  border: none;
  background: transparent;
  color: #fafafa;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  padding: 4px 0;
}
.admin-tags-input__field::placeholder {
  color: #3f3f46;
}

/* ─── Form Actions ─── */
.admin-form__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ─── Buttons ─── */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-btn svg {
  width: 18px;
  height: 18px;
}
.admin-btn--primary {
  background: linear-gradient(135deg, #c4785a, #d4937a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196,120,90,0.25);
}
.admin-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,120,90,0.35);
}
.admin-btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.admin-btn--secondary {
  background: #27272a;
  color: #a1a1aa;
}
.admin-btn--secondary:hover {
  background: #3f3f46;
  color: #fafafa;
}
.admin-btn--danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
}
.admin-btn--danger:hover {
  box-shadow: 0 8px 24px rgba(239,68,68,0.3);
}
.admin-btn__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: adminSpin 0.7s linear infinite;
}

/* ─── Filters Bar ─── */
.admin-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.admin-filters__search {
  flex: 1;
  max-width: 340px;
  position: relative;
}
.admin-filters__search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #52525b;
  pointer-events: none;
}
.admin-filters__input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  color: #fafafa;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.admin-filters__input:focus {
  outline: none;
  border-color: #c4785a;
}
.admin-filters__input::placeholder {
  color: #52525b;
}
.admin-filters__select {
  width: auto;
  min-width: 180px;
}

/* ─── Toast Notification ─── */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.admin-toast--visible {
  transform: translateY(0);
  opacity: 1;
}
.admin-toast--success {
  border-color: rgba(74,124,89,0.4);
}
.admin-toast--success .admin-toast__icon {
  background: rgba(74,124,89,0.15);
  color: #4ade80;
}
.admin-toast--error {
  border-color: rgba(248,113,113,0.4);
}
.admin-toast--error .admin-toast__icon {
  background: rgba(248,113,113,0.15);
  color: #f87171;
}
.admin-toast__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.admin-toast__message {
  color: #e4e4e7;
}

/* ─── Delete Modal ─── */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: adminFadeIn 0.2s ease;
}
.admin-modal {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 36px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: adminModalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes adminModalPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.admin-modal__icon {
  font-size: 42px;
  margin-bottom: 16px;
}
.admin-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #fafafa;
  margin: 0 0 8px;
}
.admin-modal__text {
  font-size: 14px;
  color: #71717a;
  margin: 0 0 28px;
  line-height: 1.5;
}
.admin-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-topbar {
    display: flex;
  }
  .admin-main {
    margin-left: 0;
    padding: 20px 16px;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .admin-stat-card {
    padding: 16px;
  }
  .admin-stat-card__value {
    font-size: 22px;
  }
  .admin-section__title {
    font-size: 22px;
  }
  .admin-form-row,
  .admin-form-row--3 {
    grid-template-columns: 1fr;
  }
  .admin-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-filters__search {
    max-width: 100%;
  }
  .admin-filters__select {
    width: 100%;
  }
  .admin-form__actions {
    flex-direction: column-reverse;
  }
  .admin-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-table__name {
    max-width: 140px;
  }
}


/* ════════════════════════════════════════════════════════
   CHECKOUT PAGE STYLES
   ════════════════════════════════════════════════════════ */
.checkout-page {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 60px;
  box-sizing: border-box;
}

.checkout-page__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-page__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-warm-dark);
  margin: 0;
  word-break: break-word;
}

/* ── Step Indicator ── */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-200);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: all var(--t-normal);
  flex-shrink: 0;
}

.checkout-step.active,
.checkout-step.completed {
  opacity: 1;
}

.checkout-step__number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--t-normal);
  flex-shrink: 0;
}

.checkout-step.active .checkout-step__number {
  background: var(--brand-terracotta);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 120, 90, 0.2);
}

.checkout-step.completed .checkout-step__number {
  background: var(--success);
  color: var(--white);
}

.checkout-step__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-warm-dark);
  white-space: nowrap;
}

.checkout-step__line {
  flex: 1;
  max-width: 100px;
  min-width: 10px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 16px;
}

/* ── Layout ── */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.checkout-layout__main,
.checkout-layout__sidebar {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

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

.checkout-step-panel {
  display: none;
  width: 100%;
  box-sizing: border-box;
}

.checkout-step-panel.active {
  display: block;
  width: 100%;
  box-sizing: border-box;
}


.checkout-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.checkout-card__header {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.checkout-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-warm-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Address Step ── */
.checkout-addresses {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-address-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.checkout-address-card:hover {
  border-color: var(--brand-terracotta-light);
  background: var(--brand-cream);
}

.checkout-address-card.selected {
  border-color: var(--brand-terracotta);
  background: var(--brand-cream);
}

.checkout-address-radio {
  margin-top: 4px;
  accent-color: var(--brand-terracotta);
  flex-shrink: 0;
}

.checkout-address-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--gray-700);
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.checkout-add-address-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 2px dashed var(--gray-300);
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border-radius: var(--radius-md);
  color: var(--brand-terracotta);
  font-weight: 600;
  cursor: pointer;
  justify-content: center;
  transition: all var(--t-fast);
  margin-bottom: 20px;
}

.checkout-add-address-btn:hover {
  border-color: var(--brand-terracotta);
  background: var(--brand-cream);
}

.checkout-address-form {
  background: var(--brand-cream);
  padding: 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 1px solid var(--brand-sand);
  box-sizing: border-box;
  width: 100%;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-form-group {
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-warm-dark);
  margin-bottom: 6px;
}

.checkout-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
}

.checkout-form-input:focus {
  outline: none;
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.15);
}

.checkout-save-addr-btn {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  background: var(--brand-warm-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}

.checkout-save-addr-btn:hover {
  background: var(--brand-charcoal);
}

.checkout-step-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-step-actions--dual {
  justify-content: space-between;
}

.checkout-next-btn,
.checkout-back-btn,
.checkout-place-order-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all var(--t-fast);
  box-sizing: border-box;
}

.checkout-next-btn {
  background: var(--brand-terracotta);
  color: var(--white);
}

.checkout-next-btn:hover:not(:disabled) {
  background: var(--brand-terracotta-light);
  transform: translateY(-1px);
}

.checkout-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-back-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.checkout-back-btn:hover {
  background: var(--gray-200);
}

/* ── Payment Step ── */
.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-payment-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--t-fast);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.checkout-payment-option:hover {
  border-color: var(--brand-terracotta-light);
}

.checkout-payment-option.selected {
  border-color: var(--brand-terracotta);
  background: var(--brand-cream);
}

.checkout-payment-radio {
  margin-top: 4px;
  accent-color: var(--brand-terracotta);
  flex-shrink: 0;
}

.checkout-payment-option__content {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.checkout-payment-option__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.checkout-payment-option__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-payment-option__icon--online {
  background: rgba(196, 120, 90, 0.1);
  color: var(--brand-terracotta);
}

.checkout-payment-option__icon--cod {
  background: rgba(74, 124, 89, 0.1);
  color: var(--success);
}

.checkout-payment-option__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-warm-dark);
}

.checkout-payment-option__desc {
  font-size: 13px;
  color: var(--gray-600);
}

.checkout-payment-option__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.checkout-pay-badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--gray-700);
}

.checkout-payment-info {
  margin-top: 14px;
}

.checkout-payment-info__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  padding: 12px;
  background: rgba(196, 120, 90, 0.08);
  border-radius: var(--radius-md);
  color: var(--brand-warm-dark);
  line-height: 1.4;
}

.checkout-payment-info__note--success {
  background: rgba(74, 124, 89, 0.1);
  color: var(--success);
}

/* ── Step 3: Confirmation ── */
.checkout-review-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.checkout-review-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.checkout-review-address,
.checkout-review-payment {
  font-size: 14px;
  line-height: 1.5;
  color: var(--brand-warm-dark);
}

.checkout-review-pay-tag {
  font-weight: 700;
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.checkout-review-pay-tag--online {
  background: rgba(196, 120, 90, 0.12);
  color: var(--brand-terracotta);
}

.checkout-review-pay-tag--cod {
  background: rgba(74, 124, 89, 0.12);
  color: var(--success);
}

.checkout-review-pay-note {
  font-size: 12px;
  color: var(--gray-500);
}

.checkout-review-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-review-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;

}

.checkout-review-item__name {
  flex: 1;
  color: var(--brand-warm-dark);
  font-weight: 500;
}

.checkout-review-item__qty {
  color: var(--gray-500);
  margin: 0 16px;
}

.checkout-review-item__price {
  font-weight: 700;
  color: var(--brand-warm-dark);
}

.checkout-place-order-btn {
  background: var(--success);
  color: var(--white);
}

.checkout-place-order-btn:hover {
  background: #3e684a;
  transform: translateY(-1px);
}

.checkout-place-order-btn__total {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
}

/* ── Sidebar Summary ── */
.checkout-summary-card {
  position: sticky;
  top: 100px;
}

.checkout-summary-items {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-summary-item__img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-100);
}

.checkout-summary-item__info {
  flex: 1;
  min-width: 0;
}

.checkout-summary-item__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-warm-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-summary-item__meta {
  font-size: 12px;
  color: var(--gray-500);
}

.checkout-summary-item__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-warm-dark);
}

.checkout-summary-pricing {
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gray-600);
}

.checkout-summary-row--total {
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-warm-dark);
}

.checkout-summary-free {
  color: var(--success);
  font-weight: 700;
}

.checkout-secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

/* ── Success Modal ── */
.checkout-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-success-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-hover);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.checkout-success__icon {
  width: 80px;
  height: 80px;
  background: rgba(74, 124, 89, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.checkout-success__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-warm-dark);
  margin: 0 0 6px;
}

.checkout-success__order-id {
  font-weight: 700;
  color: var(--brand-terracotta);
  font-size: 15px;
  margin: 0 0 12px;
}

.checkout-success__text {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0 0 24px;
  line-height: 1.5;
}

.checkout-success__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-success__btn {
  display: block;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: all var(--t-fast);
}

.checkout-success__btn--primary {
  background: var(--brand-warm-dark);
  color: var(--white);
}

.checkout-success__btn--primary:hover {
  background: var(--brand-charcoal);
}

.checkout-success__btn--secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.checkout-success__btn--secondary:hover {
  background: var(--gray-200);
}


/* ── Comprehensive Responsive Optimization for Checkout ── */
@media (max-width: 992px) {
  .checkout-page {
    padding: 20px 16px 40px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .checkout-layout__sidebar {
    order: 2;
  }

  .checkout-layout__main {
    order: 1;
    width: 100%;
  }

  .checkout-summary-card {
    position: static;
  }
}

@media (max-width: 768px) {
  /* Prevent browser auto-zoom on input focus in Android & iOS */
  .checkout-form-input {
    font-size: 16px !important;
    padding: 12px 14px;
    touch-action: manipulation;
  }

  .checkout-page__header {
    margin-bottom: 18px;
    gap: 10px;
  }

  .checkout-page__title {
    font-size: 20px;
  }

  .checkout-steps {
    padding: 12px 14px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .checkout-step {
    gap: 6px;
  }

  .checkout-step__number {
    width: 28px;
    height: 28px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .checkout-step__label {
    font-size: 12px;
  }

  .checkout-step__line {
    margin: 0 6px;
    max-width: 40px;
  }

  .checkout-card {
    padding: 18px 14px;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    width: 100%;
  }

  .checkout-card__title {
    font-size: 16px;
  }

  .checkout-payment-option {
    padding: 14px 12px;
    gap: 10px;
  }

  .checkout-payment-option__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .checkout-payment-option__title {
    font-size: 15px;
  }

  .checkout-payment-option__desc {
    font-size: 12px;
  }

  .checkout-step-actions {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 18px;
  }

  .checkout-step-actions--dual {
    flex-direction: column-reverse;
  }

  .checkout-next-btn,
  .checkout-back-btn,
  .checkout-place-order-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    box-sizing: border-box;
  }

  .checkout-address-form {
    padding: 14px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .checkout-page {
    padding: 12px 8px 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .checkout-steps {
    padding: 10px 8px;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .checkout-step__label {
    display: none;
  }

  .checkout-step__line {
    max-width: none;
    margin: 0 4px;
  }

  .checkout-address-card {
    padding: 12px 10px;
    gap: 8px;
    box-sizing: border-box;
  }

  .checkout-address-card__content {
    font-size: 13px;
    word-break: break-word;
  }

  .checkout-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checkout-review-item {
    flex-direction: row;
    justify-content: space-between;
    font-size: 13px;
    gap: 6px;
  }

  .checkout-review-item__qty {
    margin: 0 6px;
  }

  .checkout-success-card {
    padding: 24px 16px;
    max-width: 92%;
    box-sizing: border-box;
  }

  .checkout-success__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
  }

  .checkout-success__title {
    font-size: 18px;
  }

  .checkout-summary-item__name {
    font-size: 12px;
  }

  .checkout-pay-badge {
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* Fix navbar logo height on mobile screens */
@media (max-width: 768px) {
  .navbar__logo-img {
    max-height: 48px;
    height: auto;
  }
}

/* Height-based adjustments for shorter screens */
@media (max-height: 700px) {
  .checkout-summary-items {
    max-height: 160px;
  }

  .checkout-steps {
    margin-bottom: 18px;
  }
}


/* ════════════════════════════════════════════════════════
   INTERACTIVE STAR RATING STYLES (MY ORDERS & REVIEWS)
   ════════════════════════════════════════════════════════ */
.order-item-rating-box {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-item-rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.order-item-rating-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-warm-dark);
}

.order-star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}

.star-btn {
  font-size: 22px;
  color: var(--gray-300);
  cursor: pointer;
  transition: transform var(--t-fast), color var(--t-fast);
  user-select: none;
  line-height: 1;
}

.star-btn:hover,
.star-btn.active,
.star-btn.hovered {
  color: #f59e0b;
  transform: scale(1.15);
}

.order-rating-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.order-rating-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  min-height: 60px;
  box-sizing: border-box;
}

.order-rating-textarea:focus {
  outline: none;
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 3px rgba(196, 120, 90, 0.15);
}

.order-rating-submit-btn {
  align-self: flex-end;
  padding: 6px 16px;
  background: var(--brand-terracotta);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast);
}

.order-rating-submit-btn:hover {
  background: var(--brand-terracotta-light);
}

.rating-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  background: rgba(74, 124, 89, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.order-rating-pending-note {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ════════════════════════════════════════════════════════
   TRACK PACKAGE MODAL & TIMELINE STYLES
   ════════════════════════════════════════════════════════ */
.tracking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.tracking-modal {
  background: var(--white);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tracking-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 16px;
}

.tracking-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-warm-dark);
  margin: 0;
}

.tracking-modal__subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

.tracking-modal__close {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--t-fast);
}

.tracking-modal__close:hover {
  color: var(--brand-warm-dark);
}

.tracking-modal__info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.tracking-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tracking-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  font-weight: 600;
}

.tracking-info-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-warm-dark);
  word-break: break-word;
}

/* Vertical Timeline */
.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 8px;
}

.timeline-step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

/* Connecting Line */
.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-step.completed:not(:last-child)::before {
  background: var(--success);
}

.timeline-step__marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  z-index: 1;
  color: var(--gray-400);
}

.timeline-step.completed .timeline-step__marker {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.timeline-step.active .timeline-step__marker {
  background: #3b82f6;
  border-color: #93c5fd;
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.timeline-step__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 3px;
}

.timeline-step__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
}

.timeline-step.completed .timeline-step__title {
  color: var(--brand-warm-dark);
}

.timeline-step.active .timeline-step__title {
  color: #1d4ed8;
}

.timeline-step__location {
  font-size: 12px;
  color: var(--gray-600);
}

.timeline-step__time {
  font-size: 11px;
  color: var(--gray-400);
}

.tracking-modal__footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}

@media (max-width: 540px) {
  .tracking-modal__info-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ════════════════════════════════════════════════
   EMAIL VERIFICATION MODAL POPUP
   ════════════════════════════════════════════════ */
.verify-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: verifyFadeIn 0.25s ease-out;
}

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

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

@keyframes verifySlideUp {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.verify-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-400);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.verify-modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.verify-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(196, 112, 79, 0.12);
  color: var(--brand-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.verify-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin: 0 0 10px;
}

.verify-modal-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0 0 24px;
}

.verify-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.verify-modal-btn {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  border: none;
}

.verify-modal-btn--secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.verify-modal-btn--secondary:hover {
  background: var(--gray-200);
}

.verify-modal-btn--primary {
  background: var(--brand-terracotta);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(196, 112, 79, 0.3);
}

.verify-modal-btn--primary:hover {
  background: var(--brand-terracotta-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════
   CONSTANT +91 PHONE INPUT FIELD
   ════════════════════════════════════════════════ */
.phone-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.phone-input-group:focus-within {
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 3px rgba(196, 112, 79, 0.15);
}

.phone-prefix {
  padding: 0 14px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-charcoal);
  background: var(--gray-100);
  border-right: 1px solid var(--gray-300);
  user-select: none;
  flex-shrink: 0;
}

.phone-input-group .form-input,
.phone-input-group .checkout-form-input,
.phone-input-group input[type="tel"] {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  width: 100%;
  height: 44px;
  padding: 0 14px !important;
  outline: none !important;
  font-size: 14px;
  letter-spacing: 0.5px;
}