/* Home Page CSS */
/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  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;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(12, 6, 8, 0.4) 0%, rgba(12, 6, 8, 0.95) 75%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary-hover);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: clamp(40px, 6vw, 75px);
  line-height: 1.05;
  margin-bottom: 25px;
  color: #fff;
}

.hero-title span {
  color: var(--primary);
  display: block;
  font-style: italic;
  font-family: var(--font-display);
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Collections section */
.collections {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-burgundy);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
  font-weight: 500;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.collection-card {
  position: relative;
  aspect-ratio: 0.75;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-burgundy);
}

.collection-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(12, 6, 8, 0) 40%, rgba(12, 6, 8, 0.95) 90%);
  z-index: 2;
  transition: var(--transition);
}

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

.collection-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.collection-info h3 {
  font-size: 18px;
  margin-bottom: 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition);
}

.collection-info .btn-text {
  display: block;
  max-height: 0;
  opacity: 0;
  transform: translateY(15px);
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), margin-top 0.35s ease;
}

.collection-card:hover .collection-info h3 {
  color: var(--accent);
}

.collection-card:hover .btn-text {
  max-height: 30px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
}

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

.collection-card:hover::after {
  background: linear-gradient(to bottom, rgba(12, 6, 8, 0.1) 30%, rgba(12, 6, 8, 0.98) 85%);
  border-color: var(--border-gold);
}


/* Featured Products & Slider list */
.featured-products {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-burgundy);
  overflow: hidden;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 15px;
  border: 1px solid var(--border-burgundy);
  background: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 178, 140, 0.05);
}

.product-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.product-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 10px 0;
  width: 100%;
}

.product-card {
  flex: 0 0 calc((100% - (20px * 4)) / 4.5); /* exactly 4.5 cards visible */
  min-width: unset;
  background: var(--bg-card);
  border: 1px solid var(--border-burgundy);
  border-radius: 15px;
  padding: 10px; /* inset padding */
  position: relative;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 15px;
  z-index: 10;
}

.product-like {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-muted);
  font-size: 16px;
  z-index: 10;
  cursor: pointer;
}

.product-like:hover, .product-like.liked {
  color: var(--primary-hover);
}

.product-media {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Enforces 1:1 aspect ratio */
  overflow: hidden;
  border-radius: 5px; /* R_inner = R_outer(15) - padding(10) = 5px */
  margin-bottom: 12px;
  background-color: #080304;
  display: block;
}

.product-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.product-title {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.3;
  height: 36px; /* exactly 2 lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  margin: 0;
}

.product-title a {
  color: #fff;
  transition: var(--transition);
}

.product-title a:hover {
  color: var(--accent);
}

.stars {
  font-size: 11px;
  color: #ffb703;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

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

.add-to-cart-quick {
  width: 32px;
  height: 32px;
  border-radius: 15px;
  border: 1px solid var(--border-burgundy);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.add-to-cart-quick:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-main);
}

/* Responsiveness for 4.5 card slider */
@media (max-width: 1024px) {
  .product-card {
    flex: 0 0 calc((100% - (20px * 3)) / 3.5); /* 3.5 cards visible */
  }
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none !important; /* Hide carousel arrows on mobile */
  }
  .product-slider-wrapper {
    overflow: visible; /* Show all cards in grid */
  }
  .product-slider {
    flex-wrap: wrap;
    transform: none !important; /* Disable carousel sliding on mobile */
    gap: 15px;
  }
  .product-card {
    flex: 0 0 calc((100% - 15px) / 2); /* 2 columns grid layout */
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .product-card {
    flex: 0 0 calc((100% - 10px) / 2); /* 2 columns grid layout on small phones */
  }
  .product-slider {
    gap: 10px;
  }
}


/* Features reassurance strip */
.features-reassurance {
  background-color: #060304;
  border-bottom: 1px solid var(--border-burgundy);
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid (四宫格) */
    gap: 25px;
  }
  .feature-item {
    gap: 8px;
  }
  .feature-item p {
    font-size: 12px;
  }
}

.feature-icon {
  font-size: 28px;
  color: var(--accent);
}

.feature-item h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.feature-item p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 200px;
}

/* Testimonials Grid */
.testimonials {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-burgundy);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-burgundy);
  border-radius: 15px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 60px;
  color: rgba(139, 21, 45, 0.15);
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: serif;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}


/* Blog Preview Listing */
.blog-preview {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-burgundy);
  overflow: hidden;
}

.blog-slider-wrapper {
  position: relative;
  width: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-burgundy);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
}

.blog-media {
  aspect-ratio: 1.7;
  overflow: hidden;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-media img {
  transform: scale(1.05);
}

.blog-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.blog-meta {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-hover);
}

.blog-title {
  font-size: 18px;
  color: #fff;
  line-height: 1.4;
}

.blog-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer CTA section */
.footer-cta {
  padding: 100px 0;
  background: linear-gradient(rgba(12, 6, 8, 0.7), rgba(12, 6, 8, 0.95)), url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid var(--border-burgundy);
}

.footer-cta-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.footer-cta h2 {
  font-size: 40px;
  color: #fff;
}

.footer-cta p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.footer-cta-actions {
  display: flex;
  gap: 20px;
}

/* Page Headers (Shop, Blog, About, Contact) */
.page-header {
  padding: 100px 0;
  background: linear-gradient(to bottom, rgba(12,6,8,0.7), rgba(12,6,8,0.95)), url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-burgundy);
}

.page-header-content {
  text-align: center;
}

.breadcrumbs {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 15px;
}

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

.page-title {
  font-size: clamp(32px, 5vw, 55px);
  color: #fff;
  margin-bottom: 15px;
}

.page-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Sidebar Layout (Shop & Blog Page) */
.shop-layout, .blog-layout {
  padding: 80px 0;
}

.layout-sidebar-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

@media (max-width: 1024px) {
  .layout-sidebar-main {
    grid-template-columns: 1fr;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.filter-section {
  border-bottom: 1px solid var(--border-burgundy);
  padding-bottom: 25px;
}

.filter-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.filter-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-link-item a {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.filter-link-item a:hover,
.filter-link-item.active a {
  color: var(--accent);
}

/* Price Range Slider */
.price-range-slider {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.range-track {
  position: relative;
  height: 2px;
  background-color: var(--border-burgundy);
  margin: 10px 0;
}

.range-fill {
  position: absolute;
  height: 100%;
  background-color: var(--accent);
  left: 0;
  right: 0;
}

.range-inputs {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Checkboxes */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-item input {
  accent-color: var(--primary);
}

/* Color Circles */
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transition: var(--transition);
}

.color-option:hover,
.color-option.selected {
  transform: scale(1.2);
  border-color: #fff;
}

/* Shop main results sorting */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.sort-select {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-burgundy);
  padding: 8px 15px;
  border-radius: 15px;
  outline: none;
  font-family: var(--font-body);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.page-num {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-burgundy);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}

.page-num:hover,
.page-num.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.page-num.arrow:hover {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

/* About Page Specific Layout */
.about-story {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-burgundy);
}

.about-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-media-box {
  border: 1px solid var(--border-gold);
  padding: 15px;
  border-radius: 15px;
  background-color: var(--bg-card);
}

.about-media-box img {
  border-radius: 15px;
  width: 100%;
}

.about-text h3 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 15px;
}

.about-text h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 25px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.design-values {
  padding: 100px 0;
  background-color: #060304;
  border-bottom: 1px solid var(--border-burgundy);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.value-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.value-icon {
  font-size: 32px;
  color: var(--accent);
}

.value-card h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 220px;
}

.premium-materials {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-burgundy);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.material-card {
  background: var(--bg-card);
  border: 1px solid var(--border-burgundy);
  border-radius: 15px;
  overflow: hidden;
}

.material-media {
  aspect-ratio: 1.5;
  overflow: hidden;
}

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

.material-info {
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.material-info h3 {
  font-size: 16px;
  color: var(--accent);
}

.material-info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Product Detail Page Specific */
.product-detail-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-burgundy);
}

.product-detail-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 1024px) {
  .product-detail-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery-main {
    height: auto !important;
    aspect-ratio: 1 !important;
  }
}

/* Gallery swapper */
.product-gallery {
  display: flex;
  flex-direction: column; /* Main image on top, thumbs on bottom */
  gap: 20px;
  width: 100%;
}

.gallery-thumbs {
  display: flex;
  flex-direction: row; /* Horizontal thumbs list */
  gap: 15px;
  width: 100%;
  justify-content: center;
  order: 2; /* Position at the bottom */
}



.thumb-item {
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-burgundy);
  cursor: pointer;
}

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

.gallery-main {
  order: 1; /* Position on top */
  width: 100%;
  aspect-ratio: 1 !important; /* Perfect 1:1 square ratio */
  height: auto !important;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-burgundy);
  background-color: #080304;
}

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

/* Product Options info */
.product-meta-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.product-meta-header {
  border-bottom: 1px solid var(--border-burgundy);
  padding-bottom: 20px;
}

.product-meta-title {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 10px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-count {
  font-size: 13px;
  color: var(--text-muted);
}

.product-meta-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 15px;
}

.installment-text {
  font-size: 12px;
  color: var(--text-muted);
}

.inclusions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border-burgundy);
  padding: 20px;
  border-radius: 15px;
}

.inclusion-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.inclusion-icon {
  color: var(--accent);
  margin-top: 3px;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #2ec4b6;
  border-radius: 50%;
}

/* Quantity and cart buttons */
.purchase-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-burgundy);
  height: 48px;
  border-radius: 15px;
}

.qty-btn {
  width: 40px;
  height: 100%;
  color: var(--text-muted);
  font-size: 16px;
}

.qty-input {
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.product-meta-details .btn-primary {
  flex-grow: 1;
  height: 48px;
}

/* Tabs structure */
.tabs-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-burgundy);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border-burgundy);
  margin-bottom: 40px;
  list-style: none;
}

.tab-btn {
  padding: 15px 30px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

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

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

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.tab-content-inner p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Blog Article Detail Page specific */
.article-section {
  padding: 80px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
}

.article-body p {
  margin-bottom: 30px;
}

.article-body h2, .article-body h3 {
  color: #fff;
  margin: 45px 0 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 30px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body img {
  border-radius: 15px;
  margin: 40px 0;
  border: 1px solid var(--border-burgundy);
}

.sidebar-callout {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 30px;
  border-radius: 15px;
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callout-icon {
  font-size: 32px;
  color: var(--accent);
}

.callout-title {
  font-size: 18px;
  color: #fff;
}

.callout-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contact Page Specific Layout */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Styles */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-burgundy);
  padding: 50px;
  border-radius: 15px;
}

@media (max-width: 600px) {
  .contact-form-box {
    padding: 30px;
  }
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}

.form-input, .form-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-burgundy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 15px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

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

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* FAQ Accordion dropdowns */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid var(--border-burgundy);
  border-radius: 15px;
  overflow: hidden;
  background-color: var(--bg-card);
}

.faq-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
  width: 100%;
  text-align: left;
}

.faq-question {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.faq-arrow {
  font-size: 12px;
  color: var(--accent);
  transition: var(--transition);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-body {
  height: 0;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-content {
  padding: 0 25px 25px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* World Map overlay */
.world-map-section {
  padding: 100px 0;
  text-align: center;
  background-color: #060304;
  border-top: 1px solid var(--border-burgundy);
  border-bottom: 1px solid var(--border-burgundy);
}

.map-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  aspect-ratio: 2;
  background-color: #0c0608;
  border: 1px solid var(--border-burgundy);
  border-radius: 15px;
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-dotted-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(var(--text-muted) 1px, transparent 1px);
  background-size: 16px 16px;
}

.map-overlay-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.map-circle-brand {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 0 30px rgba(212, 178, 140, 0.2);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 178, 140, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(212, 178, 140, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 178, 140, 0);
  }
}

/* Modal overlays */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  background: var(--bg-main);
  border: 1px solid var(--border-gold);
  border-radius: 15px;
  padding: 50px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.85);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal-icon {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.modal-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 65px;
    min-height: 80vh;
  }
  .hero-content {
    max-width: 100%;
    text-align: left;
  }
  .blog-slider-arrows {
    display: flex !important;
  }
  .blog-slider-wrapper {
    overflow: hidden;
  }
  .blog-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
  }
  .blog-card {
    flex: 0 0 100%;
    min-width: unset;
  }
}

/* Tabbed Showcase Styling (Added) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.showcase-tab-content {
  display: none;
}

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

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
}
