/* =============================================
   GENEVA SMOKE — SHARED STYLESHEET
   Tabler Icons webfont kullanımı varsayılmıştır.
   ============================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --gold: #c9a84c;
  --gold-light: #e4c47a;
  --gold-dark: #8c6d2f;
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --bg-card: #141414;
  --border: rgba(201, 168, 76, 0.15);
  --border-hover: rgba(201, 168, 76, 0.4);
  --text: #f0ece0;
  --text-muted: #7a7060;
  --text-dim: #4a4540;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

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

ul {
  list-style: none;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -1px;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.35);
  flex-shrink: 0;
}

.nav-logo-text span:first-child {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-logo-text span:last-child {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
  position: relative;
  font-size: 18px;
}

.nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  color: #0a0a0a;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-badge.visible {
  display: flex;
}

.nav-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
}

.nav-mobile-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
}

/* =============================================
   PAGE HERO (sub pages)
   ============================================= */
.page-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.07), transparent 70%);
  pointer-events: none;
}

.page-hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-hover);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero-title em {
  color: var(--gold);
  font-style: italic;
}

.page-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.28);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.48);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(240, 236, 224, 0.2);
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid var(--border-hover);
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
}

.btn-ghost:hover {
  background: rgba(201, 168, 76, 0.08);
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section {
  padding: 7rem 3rem;
}

.section-sm {
  padding: 5rem 3rem;
}

.container {
  /* max-width: 1280px; */
  width: 100%;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.25rem auto 0;
}

/* =============================================
   PRODUCT CARD (shared)
   ============================================= */
.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-hover);
}

.product-img-wrap {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--bg-3);
}

.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
}

.badge-new {
  background: var(--gold);
  color: #0a0a0a;
}

.badge-hot {
  background: #e05050;
  color: #fff;
}

.badge-sold {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-hover);
}

.product-quick-add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.4);
  z-index: 1;
}

.product-card:hover .product-quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-quick-add:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.6);
}

.product-info {
  padding: 1.2rem;
}

.product-cat {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.product-price-old {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: 5px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--text-muted);
}

.product-rating .ti {
  color: var(--gold);
  font-size: 13px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-2);
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.07);
}

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

/* =============================================
   PRODUCT MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
}

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

.modal-img {
  overflow: hidden;
  background: var(--bg-3);
}

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

.modal-body {
  padding: 2.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
  margin-bottom: 1.25rem;
}

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

.modal-cat {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.modal-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1rem;
  font-size: 13px;
  color: var(--text-muted);
}

.modal-rating .ti {
  color: var(--gold);
  font-size: 14px;
}

.modal-price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.modal-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(240, 236, 224, 0.6);
  margin-bottom: 1.25rem;
}

.modal-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.modal-tag {
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.qty-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
}

.qty-btn:hover {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
}

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 38px;
  line-height: 38px;
}

.modal-add-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.28);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
}

.modal-add-btn:hover {
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.48);
  transform: translateY(-2px);
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 1600;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  padding: 1.6rem 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-count-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition);
}

.cart-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  gap: 1rem;
  padding: 3rem 0;
}

.cart-empty .ti {
  font-size: 48px;
  opacity: 0.2;
}

.cart-empty p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.cart-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-3);
}

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

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

.cart-item-cat {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition);
}

.cart-item-qty button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cart-item-qty span {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition);
}

.cart-item-remove:hover {
  border-color: #e05050;
  color: #e05050;
  background: rgba(224, 80, 80, 0.05);
}

.cart-footer {
  padding: 1.6rem 1.75rem;
  border-top: 1px solid var(--border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.cart-subtotal span:first-child {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cart-subtotal-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}

.cart-free-ship {
  font-size: 11px;
  color: #5c5;
  margin-bottom: 1.25rem;
}

.cart-checkout-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.28);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cart-checkout-btn:hover {
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.48);
  transform: translateY(-2px);
}

/* =============================================
   TOAST
   ============================================= */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg-2);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 11px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

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

#toast .ti {
  color: var(--gold);
  font-size: 18px;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4.5rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 37px;
  height: 37px;
  border-radius: 9px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 17px;
  transition: all var(--transition);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.footer-col-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-payments {
  display: flex;
  gap: 7px;
  align-items: center;
}

.payment-badge {
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--border);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

/* =============================================
   INFO PAGES (quality, shipping, returns, privacy)
   ============================================= */
.info-section {
  background: var(--bg);
  padding: 5rem 3rem 7rem;
}

.info-content {
  max-width: 820px;
  margin: 0 auto;
}

.info-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(240, 236, 224, 0.65);
  margin-bottom: 1rem;
}

.info-content ul {
  margin: 0.75rem 0 1rem 1.25rem;
}

.info-content ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(240, 236, 224, 0.65);
  margin-bottom: 0.4rem;
  list-style: disc;
}

.info-content ul li::marker {
  color: var(--gold);
}

.info-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.info-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.info-table td {
  padding: 12px 14px;
  font-size: 0.875rem;
  color: rgba(240, 236, 224, 0.6);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover td {
  background: rgba(201, 168, 76, 0.03);
}

/* Step Cards */
.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.step-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   FILTER BAR & SORT
   ============================================= */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  border-color: transparent;
  font-weight: 700;
}

.sort-select {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

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

.sort-select option {
  background: var(--bg-3);
}

/* Cart empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  gap: 0.75rem;
}

.cart-empty .ti {
  font-size: 3rem;
  opacity: 0.2;
}

.cart-empty p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

  .nav-mobile-toggle {
    display: flex;
  }

  .step-cards {
    grid-template-columns: 1fr;
  }
}

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

  .modal-img {
    display: none;
  }

  .section {
    padding: 4.5rem 1.5rem;
  }

  .section-sm {
    padding: 3.5rem 1.5rem;
  }

  #navbar {
    padding: 0 1.5rem;
  }

  #footer {
    padding: 3rem 1.5rem 1.5rem;
  }

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

  .info-section {
    padding: 3rem 1.5rem 5rem;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

/* ---- Hero Slider ---- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease;
}

.slide.active .slide-img {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.5) 55%, rgba(10, 10, 10, 0.25) 100%);
}

.slide-content {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 600px;
}

.slide-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-hover);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.3s ease, transform 0.8s 0.3s ease;
}

.slide.active .slide-tag {
  opacity: 1;
  transform: translateY(0);
}

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s 0.5s ease, transform 0.8s 0.5s ease;
}

.slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
}

.slide-title em {
  color: var(--gold);
  font-style: italic;
}

.slide-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(240, 236, 224, 0.7);
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.7s ease, transform 0.8s 0.7s ease;
}

.slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}

.slide-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.9s ease, transform 0.8s 0.9s ease;
}

.slide.active .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 3rem;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(240, 236, 224, 0.3);
  transition: all var(--transition);
  cursor: pointer;
}

.dot.active {
  width: 28px;
  border-radius: 3px;
  background: var(--gold);
}

.slider-arrows {
  display: flex;
  gap: 8px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(240, 236, 224, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 236, 224, 0.6);
  font-size: 20px;
  transition: all var(--transition);
}

.slider-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
  }

  50% {
    opacity: 1;
  }
}

/* ---- Categories ---- */
#categories {
  background: var(--bg-2);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.cat-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--cat-glow, rgba(201, 168, 76, 0.07)), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cat-icon {
  font-size: 2.5rem;
  margin-bottom: 1.1rem;
  display: block;
}

.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cat-count {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.cat-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
  color: var(--gold);
  font-size: 20px;
}

.cat-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---- About Preview ---- */
#about-preview {
  background: var(--bg-2);
}

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

.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.about-badge-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(240, 236, 224, 0.65);
  margin-bottom: 1.2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---- Testimonials ---- */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testi-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--transition);
}

.testi-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testi-stars .ti {
  color: var(--gold);
  font-size: 15px;
}

.testi-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(240, 236, 224, 0.65);
  margin-bottom: 1.4rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.testi-location {
  font-size: 11px;
  color: var(--text-muted);
}

/* ---- Newsletter ---- */
#newsletter {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

#newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(201, 168, 76, 0.06), transparent);
  pointer-events: none;
}

.newsletter-inner {
  text-align: center;
  position: relative;
}

.newsletter-form {
  display: flex;
  gap: 0.7rem;
  max-width: 460px;
  margin: 2.25rem auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-input:focus {
  border-color: var(--gold);
}

.newsletter-input::placeholder {
  color: var(--text-dim);
}

/* Responsive extras */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonials-track {
    grid-template-columns: 1fr;
  }
}

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

  .about-badge-float {
    display: none;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .slide-content {
    left: 5%;
    right: 5%;
  }

  .slider-controls {
    left: 5%;
  }
}

/* WooCommerce Mini Cart Overrides */
.cart-total-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-wrap span:first-child {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cart-total-wrap .woocommerce-Price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}

.woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.woocommerce-mini-cart__buttons a.button {
  width: 100%;
  padding: 15px;
  background: var(--bg-3);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
}

.woocommerce-mini-cart__buttons a.button.checkout {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
}

.woocommerce-mini-cart__buttons a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.woocommerce-mini-cart__buttons a.button.checkout:hover {
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.widget_shopping_cart_content .cart-item dl.variation {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.widget_shopping_cart_content .cart-item dl.variation p {
  margin: 0;
}

/* ==========================================
   WOOCOMMERCE CART & CHECKOUT PAGE OVERRIDES
   ========================================== */

/* Page Headers & Wrappers */
.woocommerce-cart .page-hero,
.woocommerce-checkout .page-hero {
  background: var(--bg-2);
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Classic Cart Table */
.woocommerce table.shop_table {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  margin-bottom: 2rem;
}

.woocommerce table.shop_table th {
  background: var(--bg-3);
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px;
  border: none;
}

.woocommerce table.shop_table td {
  border-top: 1px solid var(--border);
  padding: 20px 15px;
  vertical-align: middle;
}

.woocommerce table.shop_table .product-name a {
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition);
}

.woocommerce table.shop_table .product-name a:hover {
  color: var(--gold);
}

.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.woocommerce table.shop_table .product-thumbnail img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.woocommerce table.shop_table td.product-remove a.remove {
  color: #e05050 !important;
  background: rgba(224, 80, 80, 0.1) !important;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
  background: #e05050 !important;
  color: #fff !important;
}

/* Cart Totals Box */
.woocommerce .cart-collaterals .cart_totals {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 100%;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.woocommerce .cart-collaterals .cart_totals table th {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.woocommerce .cart-collaterals .cart_totals table td {
  color: var(--text);
  text-align: right;
  font-weight: bold;
}

.woocommerce .cart-collaterals .cart_totals table .order-total td {
  color: var(--gold);
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
}

/* Checkout / Cart Buttons */
.woocommerce a.checkout-button,
.woocommerce button[name="update_cart"],
.woocommerce button[name="apply_coupon"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a !important;
  border-radius: 10px;
  padding: 15px 25px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  transition: all var(--transition);
}

.woocommerce a.checkout-button:hover,
.woocommerce button[name="update_cart"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.woocommerce .coupon input.input-text {
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  padding: 15px !important;
  border-radius: 10px !important;
  height: 50px;
}

/* WooCommerce Blocks (Cart / Checkout blocks compatibility) */
.wc-block-cart {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  color: var(--text);
}

.wc-block-cart__submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #0a0a0a !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

.wc-block-components-product-name {
  color: var(--text) !important;
  font-weight: 600;
}

.wc-block-components-product-price {
  color: var(--gold) !important;
  font-weight: bold;
}

.wc-block-components-totals-item__value {
  color: var(--gold) !important;
}

.wc-block-checkout {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
}

.wc-block-components-checkout-step {
  background: var(--bg-3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.wc-block-components-checkout-step__title {
  color: var(--gold) !important;
  font-family: 'Playfair Display', serif;
}

.wc-block-components-radio-control__label,
.wc-block-components-checkbox__label {
  color: var(--text) !important;
}

.wc-block-components-text-input input,
.wc-block-components-select-input select {
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px;
}

/* ==========================================
   WOOCOMMERCE CHECKOUT BLOCK DEEP OVERRIDES
   ========================================== */
.wc-block-checkout {
  color: var(--text) !important;
}

.wc-block-components-checkout-step {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
}

.wc-block-components-checkout-step__title {
  color: var(--gold) !important;
  border-bottom: 1px solid var(--border) !important;
  padding-bottom: 15px !important;
  margin-bottom: 20px !important;
}

.wc-block-components-checkout-step__content {
  color: var(--text) !important;
}

/* Inputs and Forms inside Block */
.wc-block-components-text-input input,
.wc-block-components-text-input input:focus,
.wc-block-components-combobox .components-combobox-control__input,
.wc-block-components-select-input select {
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .components-combobox-control__input:focus,
.wc-block-components-select-input select:focus {
  border-color: var(--gold) !important;
}

/* Floating Labels */
.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-select-input label {
  color: var(--text-muted) !important;
  background: transparent !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-combobox.is-active label {
  background: var(--bg-3) !important;
  color: var(--gold) !important;
  padding: 0 5px !important;
  margin-left: 10px !important;
  top: -10px !important;
  font-size: 0.8rem !important;
}

/* Order Summary Sidebar */
.wc-block-components-sidebar {
  background: transparent !important;
}

.wc-block-components-order-summary {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 20px !important;
}

.wc-block-components-order-summary-item__name {
  color: var(--text) !important;
  font-weight: 600 !important;
}

.wc-block-components-order-summary-item__quantity {
  color: var(--text-muted) !important;
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  color: var(--text) !important;
}

.wc-block-components-totals-wrapper {
  border-top: 1px solid var(--border) !important;
}

/* Payment Methods */
.wc-block-components-radio-control__option {
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  padding: 15px !important;
}

.wc-block-components-radio-control__option.is-active {
  border-color: var(--gold) !important;
}

.wc-block-components-radio-control__label {
  color: var(--text) !important;
  font-weight: 600 !important;
}

.wc-block-components-radio-control-accordion-content {
  color: var(--text-muted) !important;
}

/* Place Order Button */
.wc-block-components-checkout-place-order-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #0a0a0a !important;
  border-radius: 10px !important;
  padding: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3) !important;
  transition: all var(--transition) !important;
}

.wc-block-components-checkout-place-order-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.5) !important;
}

/* SVGs and Icons */
.wc-block-components-checkout-step__title svg,
.wc-block-components-radio-control__label svg {
  fill: var(--gold) !important;
}

/* ==========================================
   CLASSIC WOOCOMMERCE CHECKOUT STYLES
   ========================================== */
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid var(--border);
  padding: 20px;
  margin: 2em 0;
  text-align: left;
  border-radius: var(--radius-lg);
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.woocommerce-checkout #customer_details h3 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.woocommerce form .form-row label {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 15px;
  border-radius: 8px;
  width: 100%;
  transition: all var(--transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--gold);
  outline: none;
  background: var(--bg-card);
}

/* Select2 overrides for WC */
.select2-container--default .select2-selection--single {
  background-color: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  height: 46px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--text) !important;
  line-height: 46px !important;
}

.select2-dropdown {
  background-color: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
  background-color: var(--gold) !important;
  color: #000 !important;
}

/* Order Review Table */
#order_review_heading {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#order_review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.woocommerce-checkout-review-order-table th {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding: 15px 10px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.woocommerce-checkout-review-order-table td {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 15px 10px;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  border-bottom: none;
  font-size: 1.3rem;
  color: var(--gold);
}

/* Payment Methods */
#payment {
  background: var(--bg-3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 2rem;
}

#payment ul.payment_methods {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

#payment ul.payment_methods li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
}

#payment div.payment_box {
  background: rgba(0, 0, 0, 0.2) !important;
  color: var(--text-muted) !important;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
  font-size: 0.9rem;
}

#payment div.payment_box::before {
  border-bottom-color: rgba(0, 0, 0, 0.2) !important;
}

/* Checkout Button */
.woocommerce-checkout #place_order {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  font-size: 1.1rem;
  padding: 18px 30px;
  width: 100%;
  border-radius: 10px;
  margin-top: 20px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  transition: all var(--transition);
}

.woocommerce-checkout #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

/* ==========================================
   CLASSIC CHECKOUT GRID LAYOUT (2 COLUMNS)
   ========================================== */
@media (min-width: 992px) {
  .woocommerce form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
    align-items: start;
  }

  .woocommerce-checkout #customer_details {
    display: contents !important;
  }

  .woocommerce-checkout #customer_details .col-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    /* Span all rows on left */
    margin-bottom: 0 !important;
  }

  .woocommerce-checkout #customer_details .col-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-bottom: 0 !important;
  }

  #order_review_heading {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
  }

  #order_review {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    margin-top: 0 !important;
  }
}

@media (max-width: 991px) {

  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2 {
    margin-bottom: 2rem;
  }
}

/* ==========================================
   CLASSIC CHECKOUT GRID LAYOUT (FIXED COL CONFLICTS)
   ========================================== */
@media (min-width: 992px) {
  .woocommerce form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
    align-items: start;
    position: relative;
  }

  /* Force display contents on customer details so col-1 and col-2 become grid items */
  .woocommerce-checkout #customer_details {
    display: contents !important;
    width: auto !important;
    float: none !important;
  }

  /* Override ANY theme styles for .col-1 and .col-2 inside checkout */
  .woocommerce-checkout #customer_details .col-1 {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 4 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .woocommerce-checkout #customer_details .col-2 {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #order_review_heading {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    margin-top: 2rem !important;
    padding-top: 1rem !important;
    width: 100% !important;
  }

  #order_review {
    grid-column: 2 / 3 !important;
    grid-row: 3 / 4 !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}

/* Mobile Fallback */
@media (max-width: 991px) {

  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-bottom: 2rem !important;
  }
}

/* ==========================================
   WOOCOMMERCE NOTICES & COUPON TOGGLE
   ========================================== */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background-color: var(--bg-card) !important;
  border-top: 3px solid var(--gold) !important;
  color: var(--text) !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 20px 25px !important;
  margin-bottom: 2rem !important;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  color: var(--gold) !important;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
  color: var(--gold) !important;
  font-weight: bold;
  text-decoration: none;
  transition: all var(--transition);
}

.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover {
  color: #fff !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  border-top: 1px solid var(--border) !important;
  border-left: 3px solid var(--gold) !important;
}

/* Coupon Form */
.woocommerce form.checkout_coupon {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 15px;
}

.woocommerce form.checkout_coupon .form-row {
  margin: 0 !important;
  flex: 1;
}

.woocommerce form.checkout_coupon .form-row-last {
  flex: 0 0 auto;
}

.woocommerce form.checkout_coupon button.button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  border-radius: 8px;
  padding: 12px 25px;
  height: 50px;
  font-weight: bold;
  border: none;
  transition: all var(--transition);
}

.woocommerce form.checkout_coupon button.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}