/* ==========================================
   LUXURY PLACEHOLDER LAYOUT
   ========================================== */

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

:root {
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #888888;
  --placeholder-bg: #F0F0F0;
  --border: #EAEAEA;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: var(--text-muted);
}

/* --- HEADER --- */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  align-items: center;
}

.nav-links a svg {
  transition: transform 0.3s ease;
}

.nav-links a:hover svg {
  transform: translateY(-2px);
}

.cartCountNav {
  font-size: 9px;
  background: var(--text);
  color: var(--bg);
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: -8px;
  vertical-align: top;
  position: relative;
  top: -5px;
  font-weight: 600;
}

.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* --- IMAGE PLACEHOLDERS --- */
.img-placeholder {
  background-color: var(--placeholder-bg);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.img-placeholder::after {
  content: 'IMAGE';
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  color: #BBBBBB;
}

/* --- HERO --- */
.hero {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .img-placeholder {
  height: 70vh;
  margin-bottom: 40px;
}

.hero-text {
  text-align: center;
  max-width: 600px;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* --- SHOP GRID --- */
.shop-section {
  padding: 80px 40px;
}

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

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
}

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card .img-placeholder {
  aspect-ratio: 4/5;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-img:not(.hover-img) {
  opacity: 0.2;
}

.product-card:hover .hover-img {
  opacity: 1 !important;
}

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

.product-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.product-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.product-price {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--text);
}

/* --- FOOTER --- */
footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* --- PRODUCT DETAILS PAGE --- */
.product-detail-section {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.product-gallery .img-placeholder {
  aspect-ratio: 4/5;
  width: 100%;
}

.product-info-detail {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 120px; /* Adjust based on header height */
  height: fit-content;
}

.product-info-detail .product-title {
  font-size: 32px;
  margin-bottom: 10px;
  text-align: left;
}

.product-info-detail .product-price {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text);
  margin-bottom: 30px;
}

.product-info-detail .product-description {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Size Selector */
.size-selector {
  margin-bottom: 40px;
}

.size-selector-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.size-btn {
  padding: 12px 0;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: all 0.3s;
}

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

.btn-primary {
  width: 100%;
  padding: 18px;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.8;
}

.product-accordion {
  margin-top: 50px;
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CART POPUP --- */
#cartPopup {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#cartPopup.open {
  visibility: visible;
  opacity: 1;
}
.cart-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.cart-drawer {
  position: absolute; top: 0; right: 0; width: 100%; max-width: 400px; height: 100%;
  background: var(--bg);
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
#cartPopup.open .cart-drawer {
  transform: translateX(0);
}
.cart-header {
  padding: 30px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; }
.close-cart { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.cart-item { display: flex; gap: 15px; border-bottom: 1px solid var(--border); padding-bottom: 20px; position: relative; }
.cart-item-img { width: 80px; height: 100px; background: var(--placeholder-bg); display: flex; align-items: center; justify-content: center; font-size: 8px; color: #bbb; letter-spacing: 2px;}
.cart-item-details { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cart-item-title { font-family: var(--font-serif); font-size: 14px; margin-bottom: 5px; padding-right: 20px; }
.cart-item-meta { font-size: 11px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 10px; }
.cart-item-price { font-size: 14px; }
.remove-item { position: absolute; top: 0; right: 0; background: none; border: none; font-size: 18px; color: var(--text-muted); cursor: pointer; }
.cart-footer { padding: 30px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-family: var(--font-serif); margin-bottom: 20px; }/* --- UTILITIES --- */
.hidden, .hidden-search, .hidden-filter {
  display: none !important;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  z-index: 9999;
  font-size: 13px;
  font-family: var(--font-sans);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner p {
  flex: 1;
  line-height: 1.5;
  color: #ccc;
}
.cookie-banner p a {
  color: #fff;
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 25px;
  border: none;
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.cookie-btn:hover { opacity: 0.8; }
.cookie-accept {
  background: #fff;
  color: #1a1a1a;
}
.cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid #555;
}

/* --- BREADCRUMBS --- */
.breadcrumbs {
  padding: 15px 40px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  max-width: 1400px;
  margin: 0 auto;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumbs a:hover {
  color: var(--text);
}
.breadcrumbs span {
  margin: 0 8px;
  color: var(--border);
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-header h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 10px;
}
.testimonials-header p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-card {
  text-align: center;
  padding: 40px 30px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.testimonial-card:hover {
  border-color: var(--text-muted);
}
.testimonial-stars {
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: #c9a96e;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 25px;
}
.testimonial-author {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}
.testimonial-meta {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

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

/* --- TRUST BADGES --- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px 0;
  margin-top: 30px;
  border-top: 1px solid var(--border);
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.trust-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-muted);
}
.trust-badge span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .trust-badges { flex-wrap: wrap; gap: 25px; }
}

/* --- RELATED PRODUCTS --- */
.related-section {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
}
.related-header {
  text-align: center;
  margin-bottom: 50px;
}
.related-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- ACCORDION CONTENT --- */
.accordion-item {
  cursor: pointer;
  user-select: none;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 0;
}
.accordion-item.open .accordion-content {
  max-height: 300px;
  padding: 0 0 20px 0;
}
.accordion-item.open span:last-child {
  transform: rotate(45deg);
}
.accordion-item span:last-child {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* --- STANDARDIZED FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 70px 40px 50px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
}
.footer-col p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.footer-payment {
  display: flex;
  gap: 15px;
  align-items: center;
}
.footer-payment span {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 4px 10px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
