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

:root {
  --color-bg: #FFFFFF;
  --color-text: rgba(3, 3, 2, 0.76);
  --color-heading: rgba(3, 3, 2, 1.0);
  --color-primary: rgba(3, 3, 2, 1.0);
  --color-border: rgba(211, 206, 197, 1.0);
  --color-accent: rgba(162, 66, 42, 1.0);
  --color-scheme-2: rgba(237, 235, 231, 1.0);
  
  --font-body: 'Josefin Sans', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  --border-radius-btn: 2px;
  --border-radius-input: 8px;
  
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.explore-container {
  max-width: 1400px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: var(--border-radius-btn);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--color-accent);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

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

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

.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }

/* Announcement Bar */
.announcement-bar {
  background-color: var(--color-primary);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.announcement-message {
  display: none;
  text-align: center;
  width: 100%;
  animation: fadeIn 0.5s;
}

.announcement-message.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.header-logo img {
  height: 40px;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 20px;
}

.desktop-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-icons svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
  transition: var(--transition);
}

.header-icons a:hover svg {
  fill: var(--color-accent);
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--color-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background-color: var(--color-bg);
  z-index: 1100;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  padding: 20px;
  overflow-y: auto;
}

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

.drawer-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.drawer-close svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
}

.mobile-drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-drawer-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-scheme-2);
  padding-bottom: 10px;
  display: block;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  display: none;
}

.drawer-overlay.active {
  display: block;
}

/* Hero Slideshow */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 60vh;
  min-height: 400px;
  background-color: var(--color-scheme-2);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

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

.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 20px;
  pointer-events: none;
}

.slider-arrow {
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: #fff;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Trust Badges */
.trust-badges {
  background-color: var(--color-scheme-2);
  padding: 30px 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trust-badge-item svg {
  width: 32px;
  height: 32px;
  fill: var(--color-accent);
}

.trust-badge-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-heading);
}

/* Instagram Grid */
.instagram-section {
  padding: 60px 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.insta-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--color-border);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-item:hover img {
  transform: scale(1.05);
}

/* Category Grid */
.category-section {
  background-color: #faf9f8;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
  background-color: var(--color-border);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-content {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.9);
  padding: 10px 20px;
  border-radius: 2px;
  text-align: center;
  width: 80%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.category-content h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-body);
}

/* Product Carousel */
.product-section {
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.view-all {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  color: var(--color-primary);
}

.product-carousel-wrapper {
  position: relative;
}

.product-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.product-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.product-card {
  flex: 0 0 70%;
  scroll-snap-align: start;
}

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  background-color: var(--color-scheme-2);
  margin-bottom: 15px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--color-accent);
  color: #fff;
  padding: 4px 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-radius: 2px;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: var(--font-body);
}

.product-price {
  display: flex;
  gap: 10px;
  align-items: center;
}

.current-price {
  font-weight: 600;
  color: var(--color-heading);
}

.original-price {
  text-decoration: line-through;
  color: var(--color-text);
  font-size: 0.9rem;
}

.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 2;
  display: none; /* Hidden on mobile */
}

.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }

/* FAQ Accordion */
.faq-section {
  background-color: var(--color-scheme-2);
}

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

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding-bottom: 20px;
}

/* Rich Text */
.rich-text-section {
  max-width: 800px;
  margin: 0 auto;
}

.rich-text-content p {
  margin-bottom: 15px;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 20px;
}

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

.footer-col a {
  color: rgba(0,0,0,0.7);
}

.footer-col a:hover {
  color: #000;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0,0.2);
  background: transparent;
  color: #000;
  border-radius: var(--border-radius-input) 0 0 var(--border-radius-input);
}

.newsletter-input::placeholder {
  color: rgba(0,0,0,0.5);
}

.newsletter-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--border-radius-input) var(--border-radius-input) 0;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.7);
}

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

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: #000;
  opacity: 0.7;
  transition: var(--transition);
}

.social-icons a:hover svg {
  opacity: 1;
}

.footer-bottom-links a {
  color: rgba(0,0,0,0.7);
}

.footer-bottom-links a:hover {
  color: #000;
}

/* Media Queries */
@media (min-width: 750px) {
  .trust-badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-card {
    flex: 0 0 calc(33.333% - 14px);
  }
  
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 990px) {
  .hero-slider {
    height: 80vh;
  }

  .mobile-menu-btn {
    display: none;
  }
  
  .desktop-nav {
    display: block;
  }
  
  .header-logo {
    /* Logo positioning is now handled by the flex container in components.js */
  }
  
  .product-card {
    flex: 0 0 calc(25% - 15px);
  }
  
  .carousel-arrow {
    display: flex;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* EXPLORE PAGE STYLES */
.explore-layout {
  display: flex;
  gap: 30px;
  margin: 40px auto;
  align-items: flex-start;
}

/* Sidebar Filters */
.explore-sidebar {
  width: 250px;
  flex-shrink: 0;
  display: none;
  position: sticky;
  top: 90px;
  align-self: flex-start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-top: 15px;
  padding-right: 15px;
  scrollbar-width: thin;
}
.explore-sidebar::-webkit-scrollbar {
  width: 6px;
}
.explore-sidebar::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
@media (min-width: 990px) {
  .explore-sidebar {
    display: block;
  }
}
.filter-group {
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-heading);
  cursor: pointer;
  letter-spacing: 1px;
}
.filter-title svg {
  width: 12px;
  height: 12px;
}

/* Main Explore Content */
.explore-main {
  flex: 1;
}
.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.explore-header-left {
  font-size: 0.9rem;
  color: var(--color-text);
  letter-spacing: 1px;
}
.explore-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sort-dropdown {
  position: relative;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sort-dropdown svg {
  width: 12px;
  height: 12px;
}
.sort-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 200px;
  z-index: 100;
  display: none;
}
.sort-menu.active {
  display: block;
}
.sort-menu li {
  padding: 8px 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.sort-menu li:hover {
  background: var(--color-scheme-2);
}

/* Grid Layout */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card & Hover Effects */
.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.explore-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-scheme-2);
  margin-bottom: 15px;
}
.explore-img-main, .explore-img-hover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.explore-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.explore-card:hover .explore-img-hover {
  opacity: 1;
}
.explore-card:hover .explore-img-main {
  opacity: 0;
}
.explore-info h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--color-heading);
}
.explore-info p {
  font-size: 1rem;
  color: var(--color-text);
}

/* Quick Add Button */
.quick-add-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #fff;
  border-radius: 20px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 10;
  opacity: 0;
}
.explore-card:hover .quick-add-btn {
  opacity: 1;
}
.quick-add-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.quick-add-text {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.quick-add-btn:hover {
  width: 90px;
}
.quick-add-btn:hover .quick-add-text {
  opacity: 1;
  width: auto;
  margin-left: 8px;
}

/* Sidebar Accordion Styles */
.sidebar-filters {
  font-family: var(--font-body);
}
.filter-group {
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
}
.filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  cursor: pointer;
}
.filter-title svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s;
}
.filter-title.active svg {
  transform: rotate(180deg);
}
.filter-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.filter-content.active {
  max-height: 500px;
  margin-top: 15px;
}
.filter-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
}
.filter-checkbox input[type="checkbox"] {
  margin-right: 10px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.size-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.size-btn-filter {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.size-btn-filter:hover, .size-btn-filter.active {
  border-color: #000;
  background: #000;
  color: #fff;
}
.price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.price-inputs input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}
.price-inputs span {
  font-size: 14px;
  color: #555;
}
.price-max-label {
  font-size: 12px;
  color: #888;
}

/* Quick Add Modal */
.qa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qa-modal-overlay.active {
  display: flex;
}
.qa-modal {
  background: #fff;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  position: relative;
  max-height: 90vh;
}
@media (min-width: 768px) {
  .qa-modal {
    flex-direction: row;
  }
}
.qa-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  border: 1px solid var(--color-border);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}
.qa-modal-close svg {
  width: 14px;
  height: 14px;
}
.qa-img-container {
  width: 100%;
  height: 300px;
  background: var(--color-scheme-2);
}
@media (min-width: 768px) {
  .qa-img-container {
    width: 50%;
    height: auto;
  }
}
.qa-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qa-details {
  width: 100%;
  padding: 30px;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .qa-details {
    width: 50%;
    padding: 40px;
  }
}
.qa-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.qa-price {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 25px;
}
.qa-size-label {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}
.qa-size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.qa-size-btn {
  border: 1px solid var(--color-border);
  padding: 10px 15px;
  background: transparent;
  cursor: pointer;
  min-width: 45px;
  text-align: center;
  transition: var(--transition);
}
.qa-size-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.qa-submit {
  width: 100%;
  background: #c23333; /* Red color from reference */
  color: #fff;
  padding: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}
.qa-submit:hover {
  background: #a12727;
}
.qa-submit svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* --- PDP STYLES --- */
.pdp-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 20px;
  margin-bottom: 60px;
}
@media(min-width: 900px) {
  .pdp-container {
    flex-direction: row;
    align-items: flex-start;
  }
}
.pdp-gallery {
  flex: 1.5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.pdp-gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.pdp-details {
  flex: 1;
  position: sticky;
  top: 90px;
}
.pdp-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: var(--color-text);
}
.pdp-breadcrumb a {
  color: var(--color-heading);
  text-decoration: none;
}
.pdp-title {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  color: var(--color-heading);
}
.pdp-reviews {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.pdp-stars {
  color: #f5c518;
}
.pdp-price-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
}
.pdp-current-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-heading);
}
.pdp-original-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--color-text);
}
.pdp-discount {
  color: #d12e2e;
  font-size: 0.85rem;
  font-weight: 600;
}
.pdp-tax-info {
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 15px;
}
.pdp-sku {
  font-size: 0.75rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}
.pdp-color-swatches {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.pdp-swatch {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.7rem;
}
.pdp-swatch img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border: 1px solid transparent;
  margin-bottom: 5px;
  padding: 2px;
}
.pdp-swatch.active img {
  border-color: var(--color-heading);
}
.pdp-size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.pdp-size-chart-btn {
  background: none;
  border: 1px solid var(--color-text);
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pdp-sizes {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pdp-size-btn {
  border: 1px solid #ddd;
  background: transparent;
  padding: 10px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  min-width: 50px;
  text-align: center;
  transition: all 0.2s;
}
.pdp-size-btn.active {
  border-color: var(--color-heading);
  background: var(--color-primary);
  color: #fff;
}
.pdp-add-to-cart {
  width: 100%;
  background: #9b4028; /* The red-brownish color from screenshot */
  color: #fff;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: background 0.3s;
}
.pdp-add-to-cart:hover {
  background: #7a311e;
}
.pdp-error-msg {
  color: #d12e2e;
  font-size: 0.85rem;
  display: none;
  margin-bottom: 15px;
}
.pdp-features {
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 30px;
  line-height: 2;
}
.pdp-features svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.pdp-bundle {
  background: #f9f9f9;
  padding: 15px;
  margin-bottom: 30px;
  border: 1px solid #eee;
}
.pdp-bundle h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 600;
}
.pdp-bundle-items {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.pdp-bundle-item {
  width: 70px;
}
.pdp-bundle-item img {
  width: 100%;
  height: auto;
  display: block;
}
.pdp-bundle-plus {
  font-size: 1.2rem;
  color: var(--color-text);
}
.pdp-bundle-price {
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.pdp-bundle-price strong {
  color: #d12e2e;
}
.pdp-bundle-add-btn {
  background: #9b4028;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
}
.pdp-bundle-list {
  margin-top: 15px;
  font-size: 0.85rem;
}
.pdp-bundle-list-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.pdp-bundle-list-item select {
  padding: 3px;
  margin-left: 5px;
}
.pdp-accordion {
  border-top: 1px solid #ddd;
}
.pdp-accordion details {
  border-bottom: 1px solid #ddd;
}
.pdp-accordion summary {
  padding: 15px 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-accordion summary::-webkit-details-marker {
  display: none;
}
.pdp-accordion summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
}
.pdp-accordion details[open] summary::after {
  content: '-';
}
.pdp-accordion .content {
  padding-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
}
.pdp-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.pdp-spec-table td {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.pdp-spec-table td:first-child {
  font-weight: 600;
  width: 40%;
}

/* --- PDP REVIEWS SECTION --- */
.pdp-reviews-section {
  padding: 40px 0;
  border-top: 1px solid #eaeaea;
}
.pdp-reviews-header {
  text-align: center;
  margin-bottom: 40px;
}
.pdp-reviews-header h2 {
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.review-summary-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}
.review-overall {
  text-align: center;
}
.review-overall .stars {
  color: #f5c518;
  font-size: 1.2rem;
}
.review-bars {
  flex: 1;
  min-width: 200px;
}
.review-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 0.85rem;
}
.review-bar-row .stars {
  color: #f5c518;
  width: 70px;
}
.review-bar-outer {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
.review-bar-inner {
  height: 100%;
  background: #333;
}
.review-count {
  width: 20px;
  text-align: right;
  color: #666;
}
.review-write-btn {
  background: #000;
  color: #fff;
  padding: 12px 30px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}
.review-badge {
  text-align: center;
  margin: 30px 0;
}
.review-badge img {
  width: 80px;
}
.review-filter {
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.review-list {
  max-width: 800px;
  margin: 0 auto;
}
.review-item {
  border-top: 1px solid #eaeaea;
  padding: 20px 0;
  display: flex;
  gap: 15px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
}
.review-content {
  flex: 1;
}
.review-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 5px;
}
.review-date {
  font-size: 0.75rem;
  color: #999;
  float: right;
}
.review-item-stars {
  color: #f5c518;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.review-pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  font-size: 0.9rem;
  font-weight: 600;
}
.pdp-trust-badges-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid #eaeaea;
}
.trust-icon {
  margin-bottom: 15px;
}
.trust-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #333;
  stroke-width: 1.5;
}
.trust-title {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1rem;
}
.trust-subtitle {
  font-size: 0.85rem;
  color: #666;
}
@media (max-width: 768px) {
  .pdp-trust-badges-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}
