/* 
   AURA E-COMMERCE DESIGN SYSTEM
   Premium Minimalist Apparel Portfolio
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Tenor+Sans&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F2EFEA;
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --accent-gold: #C5A880;
  --accent-dark-gold: #A98C63;
  --border-color: #E2DFD8;
  --border-focus: #1A1A1A;
  --white: #FFFFFF;
  --overlay-bg: rgba(26, 26, 26, 0.4);
  --glass-bg: rgba(250, 248, 245, 0.75);
  
  /* Bespoke Editorial Fonts */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-header: 'Tenor Sans', sans-serif;
  
  /* Transitions & Animation Variables */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  
  /* Spacers */
  --container-max-width: 1400px;
}

/* CSS Resets & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

.font-header {
  font-family: var(--font-header);
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.text-center {
  text-align: center;
}

/* Structure Layouts */
.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 4rem 0;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Reusable Components */
/* 1. BUTTONS */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--white);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--accent-gold);
}

.btn-secondary {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent-gold);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--text-primary);
}

.btn-full {
  width: 100%;
  display: block;
}

/* 2. HEADER & NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 5%;
}

.site-logo {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

/* Mobile-only elements hidden on Desktop */
.mobile-nav-close,
.mobile-nav-brand {
  display: none !important;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-action-btn {
  position: relative;
  font-size: 1.2rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-action-btn:hover {
  color: var(--accent-gold);
}

.badge-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--text-primary);
  color: var(--white);
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
}

/* 3. HERO BANNER */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 26, 26, 0.4), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding-left: 5%;
  max-width: 650px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-title span {
  display: block;
  font-style: italic;
  font-family: var(--font-serif);
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.6s;
}

.hero-cta .btn {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--text-primary);
}

.hero-cta .btn:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--white);
}

/* 4. PRODUCT CARDS */
.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem 2rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-image-container {
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  gap: 0.5rem;
  transform: translateY(100%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 5;
  background: linear-gradient(to top, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0) 100%);
}

.product-card:hover .product-actions {
  transform: translateY(0);
  opacity: 1;
}

.product-action-btn {
  flex: 1;
  background-color: var(--white);
  color: var(--text-primary);
  padding: 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition-fast);
}

.product-action-btn:hover {
  background-color: var(--text-primary);
  color: var(--white);
}

.wishlist-btn {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background-color: var(--white);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.wishlist-btn:hover {
  background-color: var(--text-primary);
  color: var(--white);
}

.wishlist-btn.active {
  color: #D32F2F;
}

.product-info {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.product-name {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.product-price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

/* 5. SLIDING DRAWERS (Cart / Wishlist) */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.close-drawer-btn {
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.close-drawer-btn:hover {
  transform: rotate(90deg);
  color: var(--accent-gold);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.empty-drawer-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-secondary);
}

.empty-drawer-msg i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--border-color);
}

/* Cart Item Cards */
.drawer-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-item-img {
  width: 80px;
  aspect-ratio: 3/4;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.drawer-item-name {
  font-size: 0.95rem;
  font-weight: 500;
}

.drawer-item-options {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.drawer-item-price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.drawer-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.quantity-controller {
  display: flex;
  border: 1px solid var(--border-color);
  align-items: center;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.quantity-btn:hover {
  background-color: var(--bg-secondary);
}

.quantity-input {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.remove-item-btn {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: underline;
  transition: var(--transition-fast);
}

.remove-item-btn:hover {
  color: #D32F2F;
}

.drawer-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.drawer-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.drawer-summary-total {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
}

/* 6. TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--text-primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(50px);
  opacity: 0;
  animation: toastIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  position: relative;
}

.toast.removing {
  animation: toastOut 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.toast-msg {
  font-size: 0.8rem;
  font-weight: 500;
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  color: var(--border-color);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.toast-close:hover {
  color: var(--white);
}

/* 7. SHOP PAGE CATALOG & FILTERS */
.shop-layout {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.shop-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.shop-content {
  flex: 1;
}

.filter-group {
  margin-bottom: 2.5rem;
}

.filter-group-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-link:hover, .filter-link.active {
  color: var(--text-primary);
  padding-left: 5px;
}

.search-box {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  background-color: var(--white);
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--border-focus);
  outline: none;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.shop-toolbar {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.results-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.shop-sort select {
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.shop-sort select:focus {
  outline: none;
  border-color: var(--border-focus);
}

/* Mobile filter overlay */
.mobile-filters-trigger {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* 8. PRODUCT DETAIL PAGE */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.product-gallery {
  display: flex;
  gap: 1rem;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 90px;
  flex-shrink: 0;
}

.thumbnail-btn {
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.thumbnail-btn.active, .thumbnail-btn:hover {
  border-color: var(--text-primary);
}

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main {
  flex: 1;
  aspect-ratio: 3/4;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-info-column {
  display: flex;
  flex-direction: column;
}

.pd-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.pd-price {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.pd-description {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.pd-options-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-primary);
}

.option-label span {
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

.size-selector {
  display: flex;
  gap: 0.75rem;
}

.size-swatch {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}

.size-swatch:hover {
  border-color: var(--text-primary);
}

.size-swatch.active {
  border-color: var(--text-primary);
  background-color: var(--text-primary);
  color: var(--white);
}

.color-selector {
  display: flex;
  gap: 1rem;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

.color-swatch::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.color-swatch.active::after {
  border-color: var(--text-primary);
}

.pd-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pd-actions .btn {
  flex: 1;
}

.pd-actions .wishlist-btn {
  width: 54px;
  height: 54px;
  font-size: 1.3rem;
  border: 1px solid var(--border-color);
}

/* Accordion Tab List */
.accordion {
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-align: left;
}

.accordion-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.accordion-content p {
  padding-bottom: 1.25rem;
}

/* 9. CHECKOUT WIZARD */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.checkout-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.checkout-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.checkout-progress {
  position: absolute;
  top: 15px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-gold);
  z-index: 2;
  transition: width 0.4s ease;
}

.step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.step.active .step-indicator {
  border-color: var(--text-primary);
  background-color: var(--text-primary);
  color: var(--white);
}

.step.completed .step-indicator {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: var(--white);
}

.step-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-secondary);
}

.step.active .step-label, .step.completed .step-label {
  color: var(--text-primary);
}

.checkout-panel {
  display: none;
  background-color: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  animation: fadeIn 0.4s ease forwards;
}

.checkout-panel.active {
  display: block;
}

.checkout-panel-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: var(--white);
}

.form-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
}

/* Order Summary Column */
.checkout-summary-panel {
  background-color: var(--bg-secondary);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  align-self: flex-start;
}

.checkout-summary-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.summary-items {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.summary-item-img {
  width: 50px;
  aspect-ratio: 3/4;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-item-details {
  flex: 1;
  font-size: 0.85rem;
}

.summary-item-name {
  font-weight: 500;
}

.summary-item-meta {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.summary-item-price {
  font-family: var(--font-serif);
  font-weight: 600;
  margin-top: 0.2rem;
}

.summary-calculations {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-row.total {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

.calc-row.total span:last-child {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--accent-gold);
}

/* Order Success State */
.success-card {
  text-align: center;
  padding: 4rem 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(197, 168, 128, 0.1);
  color: var(--accent-gold);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: scaleUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-msg {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Confetti particles for checkout success */
.confetti-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent-gold);
  animation: confettiFall 4s linear infinite;
  opacity: 0.8;
}

/* 10. ABOUT & CONTACT PAGES */
.about-hero {
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  background-color: var(--text-primary);
  margin-bottom: 4rem;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  object-fit: cover;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.98rem;
}

.about-image {
  background-color: var(--bg-secondary);
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Details */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  margin-top: 2rem;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info-block h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.contact-info-block p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-form-panel {
  background-color: var(--white);
  padding: 3rem;
  border: 1px solid var(--border-color);
}

/* 11. FOOTER */
.site-footer {
  background-color: var(--text-primary);
  color: var(--white);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-logo {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.footer-brand-desc {
  color: #999;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.85rem;
  color: #999;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.85rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  background-color: var(--accent-gold);
  color: var(--white);
  padding: 0 1.5rem;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background-color: var(--white);
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

/* Keyframes & Animations */
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes toastIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes confettiFall {
  0% { transform: translateY(-50px) rotate(0deg); }
  100% { transform: translateY(100vh) rotate(360deg); }
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .hero-title { font-size: 3.25rem; }
  
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    gap: 2.5rem;
    z-index: 99;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: block;
    cursor: pointer;
  }
  
  .shop-layout {
    flex-direction: column;
  }
  
  .shop-sidebar {
    width: 100%;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.col-span-2 {
    grid-column: span 1;
  }
  
  .hero-title { font-size: 2.5rem; }
  .pd-title { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .product-gallery {
    flex-direction: column-reverse;
  }
  
  .gallery-thumbnails {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }
  
  .thumbnail-btn {
    width: 60px;
  }
  
  .checkout-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .checkout-steps::before, .checkout-progress {
    display: none;
  }
  
  .checkout-panel {
    padding: 1.5rem;
  }
  
  .checkout-summary-panel {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
  }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  text-align: center;
  position: relative;
  font-weight: 500;
  z-index: 1002;
  transition: var(--transition-fast);
}

.announcement-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement-badge {
  background-color: var(--accent-gold);
  color: var(--text-primary);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.65rem;
}

/* ==========================================================================
   DEMO WEBSITE NOTICE MODAL (paksitesserve.com)
   ========================================================================== */
.demo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.demo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.demo-modal-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  max-width: 520px;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-modal-overlay.active .demo-modal-card {
  transform: translateY(0) scale(1);
}

.demo-modal-header {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-header);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.demo-modal-close-btn {
  color: var(--bg-primary);
  font-size: 1.25rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.demo-modal-close-btn:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.demo-modal-body {
  padding: 2rem 1.75rem;
  text-align: center;
}

.demo-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--accent-gold);
}

.demo-modal-body h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.demo-modal-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.demo-brand-highlight {
  display: inline-block;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.demo-brand-highlight a {
  color: var(--accent-dark-gold);
  text-decoration: underline;
}

.demo-modal-footer {
  padding: 1.25rem 1.75rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   CHECKOUT DEMO TOP ALERT BANNER
   ========================================================================== */
.demo-checkout-banner {
  background: linear-gradient(135deg, #FAF6F0 0%, #F2EFEA 100%);
  border: 1px solid var(--accent-gold);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.demo-checkout-banner-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.demo-checkout-banner-text i {
  color: var(--accent-gold);
  font-size: 1.25rem;
}

/* ==========================================================================
   STORE BENEFITS BAR
   ========================================================================== */
.benefits-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 3rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.benefit-title {
  font-family: var(--font-header);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.benefit-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CRAFTSMANSHIP & SUSTAINABILITY PILLARS
   ========================================================================== */
.craftsmanship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.craftsmanship-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.craftsmanship-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--accent-gold);
}

.craftsmanship-icon {
  font-size: 2.25rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.craftsmanship-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.craftsmanship-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   EDITORIAL LOOKBOOK GRID
   ========================================================================== */
.lookbook-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .lookbook-grid {
    grid-template-columns: 1fr;
  }
}

.lookbook-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--bg-secondary);
}

.lookbook-card.featured-large {
  aspect-ratio: 16/11;
}

@media (max-width: 900px) {
  .lookbook-card.featured-large {
    aspect-ratio: 4/5;
  }
}

.lookbook-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.lookbook-card:hover .lookbook-img {
  transform: scale(1.04);
}

.lookbook-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--white);
}

.lookbook-season {
  font-family: var(--font-header);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.lookbook-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.lookbook-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
}

/* ==========================================================================
   TESTIMONIALS & PRESS QUOTES
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-location {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.press-banner {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition-fast);
}

.press-banner:hover {
  opacity: 0.9;
  filter: grayscale(0%);
}

.press-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  font-weight: 600;
}

/* ==========================================================================
   INSTAGRAM / SOCIAL SHOWCASE
   ========================================================================== */
.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.social-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.social-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.social-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26,26,26,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-item:hover .social-overlay {
  opacity: 1;
}

.social-item:hover .social-img {
  transform: scale(1.08);
}

/* ==========================================================================
   QUICK VIEW MODAL
   ========================================================================== */
.quick-view-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.quick-view-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quick-view-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .quick-view-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

.quick-view-overlay.active .quick-view-card {
  transform: scale(1);
}

.quick-view-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  z-index: 2;
}

/* ==========================================================================
   COUPON DISCOUNT ROW IN CART & CHECKOUT
   ========================================================================== */
.coupon-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.coupon-input {
  flex: 1;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.coupon-btn {
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
}

.discount-row {
  display: flex;
  justify-content: space-between;
  color: #2E7D32;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}


/* ==========================================================================
   MOBILE RESPONSIVE DESIGN — All Pages
   Target: max-width 768px (tablets) & max-width 480px (phones)
   ========================================================================== */

/* ──────────────────────────────────────────
   TABLET: up to 1024px
   ────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Hero title slightly smaller */
  .hero-title { font-size: 3rem; }

  /* Product grid 2 columns */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }

  /* Footer: 2 columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }

  /* Checkout layout stacks */
  .checkout-layout { grid-template-columns: 1fr; }

  /* Product detail: stack */
  .product-detail-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  /* About & contact grids */
  .about-grid { gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}


/* ──────────────────────────────────────────
   MOBILE: up to 768px
   ────────────────────────────────────────── */
@media (max-width: 768px) {

  /* === BASE FONT SIZE === */
  html { font-size: 15px; }

  /* === ANNOUNCEMENT BAR === */
  .announcement-bar { padding: 0.5rem 4%; font-size: 0.7rem; }
  .announcement-text { gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
  .announcement-text span { font-size: 0.68rem; }

  /* === HEADER / NAV === */
  .site-header {
    z-index: 2000 !important; /* Header layer sits above dark overlay */
  }

  .nav-container { height: 64px; padding: 0 4%; }
  .site-logo { font-size: 1.5rem; }

  /* Mobile slide-in menu panel */
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-primary) !important; /* Solid opaque background */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    flex-direction: column;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    z-index: 2500 !important; /* Highest layer for nav panel */
    box-shadow: 10px 0 40px rgba(0,0,0,0.25);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    overflow-y: auto;
    pointer-events: auto !important;
  }

  .nav-menu.mobile-open {
    transform: translateX(0);
  }

  /* Nav links in mobile panel */
  .nav-link {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    padding: 1.1rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: auto !important;
    position: relative;
    z-index: 2600 !important;
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active {
    color: var(--accent-gold) !important;
    padding-left: 0.8rem;
  }

  /* Show hamburger toggle */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
  }

  /* Mobile nav close button */
  .mobile-nav-close {
    display: flex !important;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2700;
  }

  .mobile-nav-brand {
    display: block !important;
  }

  /* Mobile nav overlay backdrop */
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500 !important; /* Lower than site-header and nav-menu */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .mobile-nav-overlay.active { display: block; }

  /* Nav actions smaller */
  .nav-actions { gap: 1rem; }
  .nav-action-btn { font-size: 1.1rem; }
  .badge-count { font-size: 0.6rem; min-width: 14px; height: 14px; top: -6px; right: -6px; }

  /* === CONTAINERS === */
  .container { padding: 3rem 0; }
  .container-narrow { padding: 3rem 4%; }

  /* === SECTION TITLES === */
  .section-title { font-size: 1.9rem; }
  .section-title-wrap { margin-bottom: 2.5rem; }

  /* === HERO SECTION === */
  .hero-section { height: 85vh; min-height: 480px; }
  .hero-content {
    padding: 0 5%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title { font-size: 2.4rem; margin-bottom: 1.5rem; }
  .hero-subtitle { font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 1rem; }
  .hero-cta { flex-direction: column; align-items: center; gap: 0.75rem; width: 100%; }
  .hero-cta .btn { width: 90%; max-width: 280px; padding: 0.9rem 1.5rem; }

  /* === BUTTONS === */
  .btn { padding: 0.85rem 2rem; font-size: 0.72rem; }

  /* === PRODUCT GRID === */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }

  /* Show product actions always on mobile (not hover-only) */
  .product-actions {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0) 100%);
    padding: 1rem;
    gap: 0.4rem;
  }
  .product-action-btn { padding: 0.6rem 0.4rem; font-size: 0.62rem; }
  .wishlist-btn { width: 36px; height: 36px; font-size: 0.9rem; }

  /* === CART / WISHLIST DRAWER === */
  .drawer { max-width: 100%; width: 100%; }
  .drawer-header { padding: 1.25rem 1.5rem; }
  .drawer-body { padding: 1.5rem; }
  .drawer-footer { padding: 1.5rem; }

  /* === SHOP PAGE === */
  .shop-layout { flex-direction: column; gap: 0; margin-top: 0; }
  .shop-sidebar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 1500;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25,1,0.5,1);
    box-shadow: 8px 0 30px rgba(0,0,0,0.1);
  }
  .shop-sidebar.mobile-open { transform: translateX(0); }
  .mobile-filters-trigger {
    display: flex;
    margin-bottom: 1.5rem;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* === PRODUCT DETAIL PAGE === */
  .product-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-gallery { flex-direction: column-reverse; }
  .gallery-thumbnails {
    flex-direction: row;
    width: 100%;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .thumbnail-btn { width: 70px; aspect-ratio: 3/4; flex-shrink: 0; }
  .gallery-main { aspect-ratio: 4/5; }
  .pd-title { font-size: 1.8rem; }
  .pd-price { font-size: 1.4rem; }
  .pd-actions { flex-direction: column; gap: 0.75rem; }
  .pd-actions .btn, .pd-actions .wishlist-btn { width: 100%; }
  .pd-actions .wishlist-btn { height: 50px; font-size: 1.1rem; }

  /* === CHECKOUT PAGE === */
  .checkout-layout { grid-template-columns: 1fr; gap: 2rem; }
  .checkout-steps { gap: 0.5rem; }
  .step-label { font-size: 0.6rem; }
  .step-indicator { width: 28px; height: 28px; font-size: 0.75rem; }
  .checkout-panel { padding: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; gap: 1rem; }
  .form-group.col-span-2 { grid-column: span 1; }
  .form-actions-row { flex-direction: column; gap: 1rem; align-items: stretch; }
  .form-actions-row .btn { width: 100%; text-align: center; }
  .checkout-summary-panel { padding: 1.5rem; }

  /* === ABOUT PAGE === */
  .about-hero { height: 280px; }
  .about-hero h1 { font-size: 2.2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { aspect-ratio: 16/9; }

  /* === CONTACT PAGE === */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-panel { padding: 1.75rem; }

  /* === FOOTER === */
  .site-footer { padding: 3rem 0 2rem; margin-top: 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand-desc { max-width: 100%; }
  .newsletter-form { flex-direction: column; gap: 0.75rem; }
  .newsletter-input { width: 100%; }
  .newsletter-submit { width: 100%; padding: 0.9rem; }

  /* === BENEFITS BAR === */
  .benefits-section {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
    padding: 2.5rem 5%;
  }

  /* === CRAFTSMANSHIP GRID === */
  .craftsmanship-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  /* === LOOKBOOK GRID === */
  .lookbook-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* === TESTIMONIALS === */
  .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* === SOCIAL GRID === */
  .social-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* === QUICK VIEW MODAL === */
  .quick-view-card {
    width: 95vw !important;
    max-height: 90vh;
    overflow-y: auto;
  }
  .quick-view-card .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* === DEMO MODAL === */
  .demo-modal-card {
    width: 92vw !important;
    padding: 2rem 1.5rem !important;
  }

  /* === TOAST === */
  .toast-container { right: 12px; bottom: 16px; left: 12px; }
  .toast { min-width: unset; width: 100%; }

  /* === BREADCRUMBS === */
  .breadcrumb { font-size: 0.75rem; padding: 1rem 4%; flex-wrap: wrap; gap: 0.35rem; }

  /* === GENERAL SPACER REDUCTIONS === */
  .section-title-wrap { margin-bottom: 2rem; }
  .philosophy-text { font-size: 1.1rem !important; }
}


/* ──────────────────────────────────────────
   SMALL PHONES: up to 480px
   ────────────────────────────────────────── */
@media (max-width: 480px) {
  html { font-size: 14px; }

  /* Hero */
  .hero-title { font-size: 2rem; }
  .hero-section { height: 80vh; min-height: 420px; }

  /* Products: single column on very small phones */
  .product-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .product-image-container { aspect-ratio: 4/5; }

  /* Section title */
  .section-title { font-size: 1.65rem; }

  /* Benefits grid: 1 column */
  .benefits-section { grid-template-columns: 1fr !important; }

  /* Craftsmanship: 1 column */
  .craftsmanship-grid { grid-template-columns: 1fr !important; }

  /* Social grid: 2 cols */
  .social-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* About hero */
  .about-hero h1 { font-size: 1.8rem; }

  /* Buttons full-width */
  .btn { width: 100%; text-align: center; display: block; }
  .btn-inline { width: auto; display: inline-block; }

  /* Nav logo */
  .site-logo { font-size: 1.35rem; }

  /* Footer */
  .footer-grid { gap: 1.75rem; }

  /* Checkout steps: hide labels on very small */
  .step-label { display: none; }
  .checkout-steps { justify-content: space-around; }
}

/* ==========================================================================
   MOBILE NAV PANEL BRANDING FOOTER
   ========================================================================== */
.mobile-nav-brand {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-align: left;
  border-top: 1px solid var(--border-color);
}
