:root {
  --primary-color: #1f2937;
  --accent-color: #d4af37;
  --background-color: #fcfbf8;
  --section-color: #faf8f5;
  --text-color: #1f2937;
  --muted-color: #6b7280;
  --border-color: #e5e7eb;

  --zyra-gold: #d4af37;
  --zyra-gold-light: #e8cc6b;
  --zyra-black: #111111;
  --zyra-cream: #f8f5f2;
  --zyra-gray: #6b7280;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1280px;
  margin: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

body {
  background: var(--background-color);
  color: var(--text-color);
  min-height: 100vh;
}

.summary-box {
  background: var(--section-color);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border-radius: 0.75rem;
  transition: 0.3s;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--accent-color);
  color: black;
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: #6b7280;
  color: white;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #374151;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  transition: 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* =========================================
   BUTTONS
========================================= */

.btn-secondary {
  border: 1px solid #ddd;
  transition: 0.3s ease;
}

.btn-secondary:hover {
  background: var(--zyra-gold);
}

/* =========================================
   PRODUCT CARDS
========================================= */

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.product-card.out-of-stock {
  filter: grayscale(100%);
}

.product-card,
.related-card,
.summary-box,
.card {
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.section-light {
  background: var(--section-color);
}

.section-white {
  background: white;
}

img {
  display: block;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

a {
  transition: 0.3s ease;
}

button {
  transition: 0.3s ease;
}

.card {
  display: block;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.shadow-soft {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

input,
select,
textarea,
button {
  font: inherit;
}

/* =========================================
   RELATED PRODUCT CARDS
========================================= */

.related-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* =========================================
   THUMBNAILS
========================================= */

.thumbnail {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.thumbnail.active {
  border: 2px solid black;
}

/* =========================================
   SIZE BUTTONS
========================================= */

.size-button {
  border: 1px solid #ddd;
  padding: 0.5rem 1rem;
  transition: 0.3s ease;
}

.size-button:hover {
  background: var(--zyra-gold);
  color: black;
}

.size-button.selected {
  background: black;
  color: white;
}

.size-button.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* =========================================
   STOCK STATUS
========================================= */

.stock-out {
  color: #dc2626;
  font-weight: 600;
}

.stock-low {
  color: #d97706;
  font-weight: 600;
}

.stock-in {
  color: #16a34a;
}

/* =========================================
   SECTION BACKGROUNDS
========================================= */

.section-bg {
  background: var(--zyra-cream);
}

/* =========================================
   GOLD TEXT
========================================= */

.gold-text {
  color: var(--zyra-gold);
}

/* =========================================
   SUCCESS TEXT
========================================= */

.success-text {
  color: #16a34a;
}

/* =========================================
   NAV LINKS
========================================= */

.nav-link {
  position: relative;
  display: inline-block;
  font-weight: 500;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.nav-link:hover {
  color: var(--zyra-gold);
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--zyra-gold);
  transition: 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================================
   CART ITEM
========================================= */

.cart-item {
  transition: 0.3s ease;
}

.cart-item:hover {
  background: #f9fafb;
}

/* =========================================
   CART IMAGE
========================================= */

.cart-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  object-position: top;
  border: 1px solid #ddd;
  border-radius: 12px;
}

/* =========================================
   QUANTITY BUTTONS
========================================= */

.qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #ddd;
  transition: 0.3s ease;
}

.qty-btn:hover {
  background: var(--zyra-gold);
  color: black;
}

/* =========================================
   REMOVE BUTTON
========================================= */

.remove-btn {
  color: #dc2626;
  transition: 0.3s ease;
}

.remove-btn:hover {
  color: #991b1b;
}

.text-gold {
  color: var(--zyra-gold);
}

#shippingProgress {
  transition: width 0.4s ease;
}

footer {
  background: var(--section-color);
}

.footer-link {
  display: block;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #d4af37;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.8;
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0.02em;
}

p {
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: #d4af37;
  color: black;
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: #faf8f5;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c19b2d;
}
