/* 
   Vellum & Thread — Style Guide & Premium CSS
   Luxury Fashion E-Commerce Design System
   Colors: Navy (#1a1a2e), Gold (#c8a97e), Cream (#f8f4f0), Tan (#e8d5c4)
   Fonts: Playfair Display & Outfit
*/

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

:root {
  --navy: #1a1a2e;
  --navy-light: #25253c;
  --navy-dark: #0f0f1c;
  --gold: #c8a97e;
  --gold-hover: #bda073;
  --cream: #f8f4f0;
  --cream-dark: #f0ebe4;
  --tan: #e8d5c4;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #4c4c6d;
  --text-light: #80809b;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.04);
  --shadow-md: 0 10px 30px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 20px 40px rgba(26, 26, 46, 0.1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.text-gold {
  color: var(--gold);
}

.text-navy {
  color: var(--navy);
}

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

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

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  border-bottom: 1px solid rgba(200, 169, 126, 0.15);
  height: 80px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
}

.nav-logo span {
  color: var(--white);
  font-weight: 400;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.nav-btn {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

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

.cart-icon-wrapper {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

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

.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--white);
}

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

.btn-gold:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--navy);
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  color: var(--white);
  z-index: 2;
}

.hero-subtitle {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-image-wrapper {
  position: relative;
  height: 550px;
}

.hero-img-box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(200, 169, 126, 0.3);
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.02);
}

/* Category Grid */
.categories-section {
  padding: 7.5rem 0;
  background-color: var(--cream);
}

.section-header {
  max-width: 600px;
  margin: 0 auto 4.5rem auto;
}

.section-subtitle {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 1.5rem auto 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--tan);
}

.category-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.85) 0%, rgba(26, 26, 46, 0.2) 60%, rgba(26, 26, 46, 0) 100%);
  z-index: 2;
  transition: var(--transition);
}

.category-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem;
  width: 100%;
  color: var(--white);
}

.category-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.category-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-link svg {
  transition: var(--transition);
}

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

.category-card:hover::after {
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.3) 70%, rgba(26, 26, 46, 0.1) 100%);
}

.category-card:hover .category-link svg {
  transform: translateX(5px);
}

/* Product Cards */
.products-section {
  padding: 0 0 7.5rem 0;
}

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

.product-card {
  background-color: var(--white);
  border: 1px solid var(--tan);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.product-img-box {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
  background-color: var(--cream);
}

.product-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  z-index: 2;
}

.product-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0) 100%);
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 2;
}

.product-img-box:hover .product-actions-overlay {
  opacity: 1;
  transform: translateY(0);
}

.btn-quickview {
  background-color: var(--white);
  color: var(--navy);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quickview:hover {
  background-color: var(--gold);
  color: var(--white);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
}

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

.btn-cart {
  background: transparent;
  border: 1px solid var(--tan);
  color: var(--navy);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cart:hover {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Editorial lookbook section */
.editorial-section {
  padding: 7.5rem 0;
  background-color: var(--navy);
  color: var(--white);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.editorial-content {
  max-width: 550px;
}

.editorial-subtitle {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: block;
}

.editorial-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.editorial-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.editorial-image {
  position: relative;
  border: 1px solid rgba(200, 169, 126, 0.3);
  padding: 12px;
}

.editorial-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* Features bar */
.features-bar {
  background-color: var(--white);
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
  padding: 3.5rem 0;
}

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

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

.feature-icon {
  margin-bottom: 1.25rem;
  color: var(--gold);
  display: flex;
  justify-content: center;
}

.feature-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(200, 169, 126, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--white);
  font-weight: 400;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.75rem;
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 300;
}

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

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
}

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

.newsletter-form button {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy);
  padding: 0 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--white);
  border-color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Page Headers */
.page-header {
  background-color: var(--navy);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
  border-bottom: 1px solid rgba(200, 169, 126, 0.15);
}

.page-title {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  gap: 8px;
}

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

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.3);
}

/* SHOP PAGE STYLES */
.shop-container {
  padding: 6rem 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
}

.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.filter-widget {
  background-color: var(--white);
  border: 1px solid var(--tan);
  padding: 2rem;
}

.widget-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-item label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-item input[type="checkbox"] {
  accent-color: var(--gold);
}

.filter-item:hover, .filter-item.active {
  color: var(--gold);
}

.filter-count {
  font-size: 0.8rem;
  color: var(--text-light);
  background-color: var(--cream);
  padding: 2px 8px;
  border-radius: 99px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  background-color: var(--white);
  border: 1px solid var(--tan);
  padding: 1rem 1.5rem;
}

.products-count {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.toolbar-sorting select {
  border: 1px solid var(--tan);
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: var(--white);
}

.toolbar-sorting select:focus {
  outline: none;
  border-color: var(--gold);
}

/* PRODUCT SINGLE PAGE STYLES */
.product-detail-container {
  padding: 6rem 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  margin-bottom: 6rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery-main {
  border: 1px solid var(--tan);
  background-color: var(--white);
  padding: 1rem;
  height: 600px;
}

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

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

.thumb-item {
  border: 1px solid var(--tan);
  cursor: pointer;
  height: 120px;
  opacity: 0.6;
  transition: var(--transition);
}

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

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

.product-summary {
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-title {
  font-size: 2.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.stars {
  color: var(--gold);
}

.rating-count {
  color: var(--text-light);
}

.product-price-box {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--tan);
}

.price-now {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.product-desc-short {
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.product-options {
  margin-bottom: 2.5rem;
}

.option-group {
  margin-bottom: 1.5rem;
}

.option-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: block;
}

.size-selector {
  display: flex;
  gap: 0.75rem;
}

.size-btn {
  border: 1px solid var(--tan);
  background-color: var(--white);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.size-btn:hover, .size-btn.active {
  border-color: var(--navy);
  background-color: var(--navy);
  color: var(--white);
}

.color-selector {
  display: flex;
  gap: 0.75rem;
}

.color-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-btn.active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--navy);
  border-radius: 50%;
}

.product-add-to-cart-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.qty-selector {
  display: flex;
  border: 1px solid var(--tan);
  background-color: var(--white);
  height: 54px;
  align-items: center;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 45px;
  height: 100%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  color: var(--gold);
}

.qty-input {
  width: 45px;
  height: 100%;
  border: none;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.qty-input:focus {
  outline: none;
}

.btn-add-cart {
  flex: 1;
  height: 54px;
}

.product-meta {
  padding-top: 2rem;
  border-top: 1px solid var(--tan);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  gap: 8px;
}

.meta-label {
  font-weight: 600;
  color: var(--navy);
  min-width: 80px;
}

.meta-value {
  color: var(--text-mid);
}

/* Tabs section in Single Product */
.product-tabs-container {
  margin-bottom: 6rem;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--tan);
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  color: var(--text-light);
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  color: var(--navy);
}

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

/* ABOUT PAGE STYLES */
.about-story-section {
  padding: 7.5rem 0;
}

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

.story-image {
  border: 1px solid var(--tan);
  padding: 12px;
  position: relative;
}

.story-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.story-content {
  max-width: 550px;
}

.story-lead {
  font-size: 1.35rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-style: italic;
}

.story-text p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.about-values-section {
  background-color: var(--navy);
  color: var(--white);
  padding: 7.5rem 0;
}

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

.value-item {
  text-align: center;
  padding: 0 1rem;
}

.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.value-desc {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: 0.95rem;
}

/* CONTACT PAGE STYLES */
.contact-container {
  padding: 7.5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-title {
  font-size: 2rem;
  color: var(--navy);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  color: var(--gold);
  margin-top: 4px;
}

.contact-label {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.contact-form-box {
  background-color: var(--white);
  border: 1px solid var(--tan);
  padding: 3rem;
}

.contact-form-title {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: var(--cream);
  border: 1px solid var(--tan);
  padding: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
}

textarea.form-control {
  resize: none;
  height: 150px;
}

/* FAQ Section in contact.html */
.faq-section {
  padding: 7.5rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--tan);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--tan);
  padding-bottom: 1.5rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: var(--text-mid);
  font-size: 0.95rem;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* CART DRAWER INTERACTION */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100%;
  background-color: var(--white);
  z-index: 10001;
  box-shadow: -10px 0 40px rgba(26, 26, 46, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: var(--navy);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-drawer-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.cart-drawer-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
  transition: var(--transition);
}

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

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 1.5rem;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-img {
  width: 80px;
  height: 105px;
  object-fit: cover;
  border: 1px solid var(--tan);
  background-color: var(--cream);
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

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

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--tan);
  background-color: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.cart-item-qty span {
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  padding: 0;
  text-decoration: underline;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--navy);
}

.cart-drawer-footer {
  padding: 2rem;
  border-top: 1px solid var(--tan);
  background-color: var(--cream);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.cart-drawer-checkout-btn {
  width: 100%;
}

/* Floating Showcase Exit Badge */
.showcase-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  padding: 8px 16px;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  transition: var(--transition);
}

.showcase-badge-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-badge-text {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.showcase-badge-text strong {
  color: #fff;
  font-weight: 700;
}

.showcase-badge-btn {
  background: var(--gold);
  color: var(--navy) !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.showcase-badge-btn:hover {
  background: var(--gold-hover);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-image-wrapper {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-desc {
    margin: 0 auto 2.5rem auto;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    height: 400px;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .editorial-content {
    max-width: 100%;
    text-align: center;
  }
  .editorial-image img {
    height: 450px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    display: none; /* Can toggle filters on mobile if needed, let's keep it simple or collapsable */
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .gallery-main {
    height: 500px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .story-image img {
    height: 400px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--navy);
    flex-direction: column;
    padding: 3rem 0;
    gap: 2rem;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  /* When toggle is active */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  .showcase-badge {
    position: fixed;
    bottom: 10px;
    right: 10px;
    left: 10px;
    border-radius: 8px;
    padding: 10px 14px;
  }
  .showcase-badge-inner {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .gallery-main {
    height: 350px;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .thumb-item {
    height: 80px;
  }
  .contact-form-box {
    padding: 1.5rem;
  }
  .product-add-to-cart-row {
    flex-direction: column;
    height: auto;
  }
  .qty-selector {
    width: 100%;
  }
}
