/* ============================================
   AURUM — Component Styles
   ============================================ */

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: var(--z-sticky);
  transition: background-color var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.navbar--transparent {
  background-color: transparent;
}

.navbar--solid {
  background-color: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.navbar--dark {
  background-color: var(--color-black);
}

.navbar--dark .navbar__link,
.navbar--dark .navbar__brand {
  color: var(--color-bg-warm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.navbar__brand {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.navbar__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.navbar__link:hover::after,
.navbar__link:focus-visible::after,
.navbar__link--active::after {
  width: 100%;
}

.navbar__link:hover,
.navbar__link:focus-visible {
  color: var(--color-gold);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: background-color var(--duration-fast) var(--ease-smooth);
}

.navbar__icon-btn:hover,
.navbar__icon-btn:focus-visible {
  background-color: rgba(201, 169, 110, 0.1);
}

.navbar__icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.navbar__cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 10px;
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) var(--ease-bounce);
}

.navbar__cart-count.bump {
  transform: scale(1.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: var(--z-max);
}

.hamburger__line {
  width: 100%;
  height: 1.5px;
  background-color: var(--color-text);
  transition: all var(--duration-normal) var(--ease-smooth);
  transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 85vw);
  height: 100vh;
  background-color: var(--color-bg);
  z-index: var(--z-overlay);
  padding: var(--space-5xl) var(--space-2xl) var(--space-2xl);
  transition: right var(--duration-slow) var(--ease-smooth);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.mobile-drawer__overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-drawer__link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: color var(--duration-fast) var(--ease-smooth),
              padding-left var(--duration-normal) var(--ease-smooth);
}

.mobile-drawer__link:hover,
.mobile-drawer__link:focus-visible {
  color: var(--color-gold);
  padding-left: var(--space-md);
}

@media (max-width: 1024px) {
  .navbar__nav { display: none; }
  .hamburger { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left var(--duration-slow) var(--ease-smooth);
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--color-text);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: none;
  padding: var(--space-sm) var(--space-md);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--color-gold);
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-lg) var(--space-3xl);
  font-size: var(--text-base);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.btn-icon:hover,
.btn-icon:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-bg-warm);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

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

.product-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}

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

.product-card__wishlist:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.product-card__wishlist svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.product-card__actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.product-card:hover .product-card__actions {
  transform: translateY(0);
}

.product-card__actions .btn {
  width: 100%;
}

.product-card__info {
  padding: var(--space-lg) var(--space-md);
}

.product-card__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.product-card__name a {
  transition: color var(--duration-fast) var(--ease-smooth);
}

.product-card__name a:hover {
  color: var(--color-gold);
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.product-card__weight {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.product-card__price {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.product-card__price-old {
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-weight: var(--weight-regular);
  font-size: var(--text-sm);
  margin-left: var(--space-sm);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth);
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input--error {
  border-color: var(--color-error);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-xs);
}

.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: var(--text-base);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B0B0B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-lg) center;
  padding-right: var(--space-3xl);
  transition: border-color var(--duration-fast) var(--ease-smooth);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: var(--text-base);
  min-height: 120px;
  resize: vertical;
  transition: border-color var(--duration-fast) var(--ease-smooth);
}

.form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + var(--space-lg));
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-white);
  border-left: 3px solid var(--color-gold);
  box-shadow: var(--shadow-lg);
  animation: toastIn var(--duration-normal) var(--ease-smooth) forwards;
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
}

.toast--success {
  border-left-color: var(--color-success);
}

.toast--error {
  border-left-color: var(--color-error);
}

.toast--warning {
  border-left-color: var(--color-warning);
}

.toast.removing {
  animation: toastOut var(--duration-normal) var(--ease-smooth) forwards;
}

.toast__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast__content {
  flex: 1;
}

.toast__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: 2px;
}

.toast__message {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.toast__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--duration-fast);
  flex-shrink: 0;
}

.toast__close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .toast-container {
    left: var(--space-md);
    right: var(--space-md);
  }

  .toast {
    min-width: 0;
    max-width: 100%;
  }
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--color-black);
  color: var(--color-bg-warm);
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marquee__track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee__content {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xl);
  padding-right: var(--space-2xl);
}

.marquee__content span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.marquee__dot {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background-color: var(--color-gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-black);
  color: var(--color-bg-warm);
  padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-light);
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: var(--space-xl);
}

.footer__newsletter {
  display: flex;
  gap: 0;
}

.footer__newsletter-input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--color-bg-warm);
  font-size: var(--text-sm);
}

.footer__newsletter-input::placeholder {
  color: var(--color-text-muted);
}

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

.footer__newsletter-btn {
  padding: var(--space-md) var(--space-xl);
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color var(--duration-fast);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  background-color: var(--color-gold-dark);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__link {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease-smooth),
              padding-left var(--duration-normal) var(--ease-smooth);
}

.footer__link:hover {
  color: var(--color-bg-warm);
  padding-left: var(--space-sm);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer__social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
}

/* ============================================
   FILTER SIDEBAR (Shop)
   ============================================ */
.filter-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  padding-right: var(--space-2xl);
  border-right: 1px solid var(--color-border-light);
}

.filter-sidebar__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-sidebar__clear {
  font-size: var(--text-xs);
  color: var(--color-gold);
  cursor: pointer;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--duration-fast);
}

.filter-sidebar__clear:hover {
  color: var(--color-gold-dark);
}

.filter-group {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
}

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

.filter-group__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group__title svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform var(--duration-fast);
}

.filter-group.collapsed .filter-group__title svg {
  transform: rotate(-90deg);
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.filter-group.collapsed .filter-group__options {
  display: none;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  cursor: pointer;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast);
}

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

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-gold);
}

.filter-option__count {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Price range slider */
.price-range {
  padding: var(--space-sm) 0;
}

.price-range__inputs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.price-range__input {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  text-align: center;
}

.price-range__separator {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Mobile filter */
.filter-toggle {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

@media (max-width: 1024px) {
  .filter-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    max-height: 80vh;
    background: var(--color-bg);
    z-index: var(--z-modal);
    border-right: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-xl);
    padding-top: var(--space-2xl);
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-smooth);
    overflow-y: auto;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  }
  .filter-sidebar::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-lg);
  }
  .filter-sidebar.open { transform: translateY(0); }
  .filter-toggle { display: flex; }
}

/* ============================================
   PRODUCT GALLERY
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
}

.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.gallery__thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.5;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.gallery__thumb.active,
.gallery__thumb:hover {
  border-color: var(--color-gold);
  opacity: 1;
}

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

.gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-bg-warm);
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.gallery__main:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  .gallery__thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
  }
  .gallery__thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
}

/* ============================================
   SORT BAR
   ============================================ */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.sort-bar__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.sort-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.sort-bar__select {
  padding: var(--space-sm) var(--space-2xl) var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B0B0B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-color: var(--color-white);
  transition: border-color var(--duration-fast);
}

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

/* ============================================
   CART ITEMS
   ============================================ */
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-item__image {
  width: 100px;
  height: 120px;
  object-fit: cover;
  background: var(--color-bg-warm);
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.cart-item__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
}

.cart-item__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.cart-item__remove {
  font-size: var(--text-sm);
  color: var(--color-error);
  cursor: pointer;
  margin-top: var(--space-sm);
  transition: opacity var(--duration-fast);
}

.cart-item__remove:hover {
  opacity: 0.7;
}

.cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
}

.cart-item__price {
  font-weight: var(--weight-semibold);
  font-size: var(--text-md);
}

/* Quantity stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
}

.qty-stepper__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all var(--duration-fast);
  user-select: none;
}

.qty-stepper__btn:hover,
.qty-stepper__btn:focus-visible {
  background-color: var(--color-bg-warm);
  color: var(--color-gold);
}

.qty-stepper__value {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
  }
  .cart-item__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ============================================
   ORDER SUMMARY
   ============================================ */
.order-summary {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  padding: var(--space-2xl);
}

.order-summary__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
}

.order-summary__row--muted {
  color: var(--color-text-muted);
}

.order-summary__row--total {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  padding-top: var(--space-lg);
  margin-top: var(--space-md);
  border-top: 2px solid var(--color-text);
}

.order-summary__promo {
  display: flex;
  gap: 0;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.order-summary__promo-input {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.order-summary__promo-btn {
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-text);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--duration-fast);
}

.order-summary__promo-btn:hover {
  background: var(--color-gold);
}

/* ============================================
   CHECKOUT STEPS
   ============================================ */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-3xl);
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  position: relative;
}

.checkout-step__number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.checkout-step.active {
  color: var(--color-text);
}

.checkout-step.active .checkout-step__number {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

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

.checkout-step__separator {
  width: 60px;
  height: 1px;
  background: var(--color-border);
}

.checkout-step.completed + .checkout-step__separator,
.checkout-step.active ~ .checkout-step__separator {
  background: var(--color-gold);
}

@media (max-width: 768px) {
  .checkout-step span:not(.checkout-step__number) {
    display: none;
  }
  .checkout-step__separator {
    width: 30px;
  }
}

/* ============================================
   LIVE GOLD RATE BADGE
   ============================================ */
.gold-rate-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-gold);
  background: linear-gradient(135deg, rgba(201,169,110,0.08), transparent);
  font-size: var(--text-sm);
  position: relative;
  overflow: hidden;
}

.gold-rate-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.15), transparent);
  animation: shimmer 3s linear infinite;
}

.gold-rate-badge__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.gold-rate-badge__price {
  font-weight: var(--weight-bold);
  color: var(--color-gold);
}

.gold-rate-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  animation: pulse 2s infinite;
}

/* ============================================
   VARIANT SELECTOR
   ============================================ */
.variant-selector {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.variant-option {
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.variant-option:hover {
  border-color: var(--color-gold);
}

.variant-option.active {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-white);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg) 0;
}

.breadcrumb a {
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb__separator {
  font-size: var(--text-xs);
}

.breadcrumb__current {
  color: var(--color-text);
  font-weight: var(--weight-medium);
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.tab {
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--duration-fast);
}

.tab:hover {
  color: var(--color-text);
}

.tab.active {
  color: var(--color-text);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn var(--duration-normal) var(--ease-smooth);
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}

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

.payment-method.selected {
  border-color: var(--color-gold);
  background: rgba(201, 169, 110, 0.05);
}

.payment-method input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
}

.payment-method__icon {
  width: 40px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  background: var(--color-bg-warm);
  border-radius: var(--radius-sm);
}

.payment-method__info {
  flex: 1;
}

.payment-method__name {
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
}

.payment-method__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
