/* 
  =========================================
  Sahiba Jewellers - Premium Luxury Design System
  =========================================
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* --- Root Variables (Default Dark Theme) --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: rgba(18, 18, 18, 0.75);
  --bg-nav: rgba(10, 10, 10, 0.85);
  --text-primary: #ffffff;
  --text-secondary: #c5c5c5;
  --text-muted: #888888;
  --accent-gold: #c5a059;
  --accent-gold-hover: #e5c158;
  --accent-gold-rgb: 197, 160, 89;
  --border-color: rgba(197, 160, 89, 0.25);
  --border-color-light: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
  --container-width: 1280px;
}

/* --- Light Theme Variables Override --- */
body.light-theme {
  --bg-primary: #fcfcf9;
  --bg-secondary: #f6f5f0;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-nav: rgba(252, 252, 249, 0.9);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #777777;
  --border-color: rgba(197, 160, 89, 0.35);
  --border-color-light: rgba(0, 0, 0, 0.06);
  --shadow-color: rgba(197, 160, 89, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(197, 160, 89, 0.12);
}

/* --- Reset & Global Styling --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* --- Common Layout Elements --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 80px 0;
}

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

.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--accent-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 4px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border-radius: 0;
  gap: 8px;
}

.btn-primary {
  background: var(--accent-gold);
  color: #000000;
  border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.4);
}

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

.btn-secondary:hover {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.3);
}

.btn-text {
  padding: 5px 0;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--accent-gold);
  border-bottom: 1px solid transparent;
}

.btn-text:hover {
  color: var(--accent-gold-hover);
  border-bottom-color: var(--accent-gold-hover);
}

/* --- Loading Animation --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  animation: pulse 1.8s infinite alternate;
}

body.light-theme .loader-img,
body.light-theme .brand-logo-img {
  filter: invert(1);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  border-top-color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1.5s linear infinite;
}

.brand-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}


/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: var(--bg-nav);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color-light);
  box-shadow: var(--glass-shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  padding: 12px 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-gold);
}

.logo-symbol {
  font-size: 1.3rem;
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  padding: 10px 0;
  display: block;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

/* --- Mega Menu --- */
.has-mega-menu {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-nav);
  backdrop-filter: var(--backdrop-blur);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
  z-index: 1000;
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col h4 {
  font-size: 0.9rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.mega-col ul li {
  margin-bottom: 10px;
}

.mega-col ul li a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.mega-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.mega-promo {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 180px;
}

.mega-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.mega-promo-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.mega-promo-content h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.mega-promo-content .btn {
  align-self: flex-start;
  padding: 8px 15px;
  font-size: 0.7rem;
}

.mega-promo:hover img {
  transform: scale(1.05);
}

/* --- Header Icons --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.nav-icon-btn:hover {
  color: var(--accent-gold);
}

.badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent-gold);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Mobile Menu Trigger --- */
.mobile-nav-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* --- Breadcrumb Component --- */
.breadcrumb-section {
  padding-top: 130px;
  padding-bottom: 15px;
  background: var(--bg-secondary);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb-item {
  color: var(--text-muted);
}

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

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

.breadcrumb-item.active {
  color: var(--accent-gold);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

/* --- Luxury Product Card Component --- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-light);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: var(--glass-shadow);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.badge-discount, .badge-new {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  letter-spacing: 1px;
  z-index: 2;
}

.badge-new {
  left: auto;
  right: 15px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.product-action-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  transition: var(--transition-smooth);
  opacity: 0;
  z-index: 3;
}

.product-card:hover .product-action-overlay {
  bottom: 0;
  opacity: 1;
}

.overlay-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.overlay-btn:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-name {
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-rating {
  color: var(--accent-gold);
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.product-rating span {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-left: 5px;
}

.product-price-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.product-price {
  color: var(--accent-gold);
  font-weight: 600;
}

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

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 0;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-overlay-close:hover {
  color: var(--accent-gold);
}

.search-form-wrapper {
  max-width: 600px;
  width: 90%;
  margin: 40px auto 0;
  position: relative;
}

.search-input-field {
  width: 100%;
  border-bottom: 2px solid var(--border-color);
  padding: 15px 0;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  letter-spacing: 2px;
}

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

.search-input-field:focus {
  border-color: var(--accent-gold);
}

.search-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--accent-gold);
  cursor: pointer;
}

.search-suggestions {
  max-width: 600px;
  width: 90%;
  margin: 30px auto 0;
}

.search-suggestions h4 {
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suggestion-chip {
  padding: 6px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color-light);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.suggestion-chip:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.search-results-container {
  max-width: 600px;
  width: 90%;
  margin: 30px auto;
  overflow-y: auto;
  max-height: 400px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px;
  border-bottom: 1px solid var(--border-color-light);
  transition: var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(255,255,255,0.02);
}

.search-result-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.search-result-info h5 {
  font-size: 0.9rem;
}

.search-result-info p {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

/* --- Quick View Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.quickview-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* --- Newsletter Section --- */
.newsletter-section {
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color-light);
  padding: 15px 20px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

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

/* --- Footer --- */
footer {
  background-color: #050505;
  border-top: 1px solid var(--border-color-light);
  padding-top: 80px;
  padding-bottom: 30px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 45px;
  margin-bottom: 60px;
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 25px;
  font-family: var(--font-heading);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact li i {
  color: var(--accent-gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.payment-methods {
  display: flex;
  gap: 10px;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.payment-methods i:hover {
  color: var(--accent-gold);
}

/* --- Back To Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: -60px;
  width: 45px;
  height: 45px;
  background-color: var(--accent-gold);
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top.active {
  right: 30px;
}

.back-to-top:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-5px);
}

/* --- Keyframe Animations --- */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* --- Mobile Menu Drawer --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  z-index: 1500;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-close {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  font-size: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-nav-links a:hover {
  color: var(--accent-gold);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Hero Slider Styles --- */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  z-index: 2;
}

/* ==========================================================================
   Checkout Page Premium Styling
   ========================================================================== */
.cart-left-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-form-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px;
  box-shadow: var(--glass-shadow);
}

body.light-theme .checkout-form-container {
  background: #ffffff;
  border-color: rgba(0,0,0,0.06);
}

.checkout-step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.checkout-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.checkout-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.85rem;
  border-radius: 4px;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

body.light-theme .checkout-input {
  background: #f7f7f5;
  border-color: rgba(0,0,0,0.08);
}

.checkout-input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
}

body.light-theme .checkout-input:focus {
  background: #ffffff;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.payment-method-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

body.light-theme .payment-method-card {
  border-color: rgba(0,0,0,0.08);
}

.payment-method-card:hover {
  border-color: rgba(197, 168, 128, 0.5);
  background: rgba(197, 168, 128, 0.02);
}

.payment-method-card.active {
  border-color: var(--accent-gold);
  background: rgba(197, 168, 128, 0.06);
}

.payment-method-card i {
  font-size: 1.4rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.payment-method-card.active i {
  color: var(--accent-gold);
}

.payment-method-card span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--text-primary);
}

.payment-detail-pane {
  animation: checkoutFadeIn 0.3s ease;
}

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

