/* --- CSS VARIABLES & RESET --- */
:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color: #C99A8C; /* Muted rose-tan */
  --text-gray: #666666;
  --light-bg: #f9f9f9;
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-logo: 'Brush Script MT', 'Lucida Handwriting', cursive;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--secondary-color);
  color: var(--primary-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- TYPOGRAPHY --- */
.hollow-text {
  -webkit-text-stroke: 1px #000;
  color: transparent;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin: 2rem 0;
  font-size: 2.5rem;
  /* Fix overlapping strokes on variable fonts */
  paint-order: stroke fill;
}

/* --- PERSISTENT HEADER --- */
.announcement-bar {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-bottom: 1px solid #eee;
  position: relative;
}

.announcement-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-utilities {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0.2rem;
  font-size: 0.8rem;
  outline: none;
}

.cart-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: bold;
}

.main-nav {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1rem 0;
  text-align: center;
}

.logo {
  font-family: var(--font-logo);
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links li a {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after, .nav-links li a.active::after {
  width: 100%;
}

/* --- HERO SECTION (Homepage) --- */
.hero {
  position: relative;
  height: 80vh;
  background: url('assets/new-in.jpg?v=2');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 6rem;
  -webkit-text-stroke: 2px #fff;
  color: transparent;
  font-weight: 900;
  letter-spacing: 5px;
  text-shadow: 0px 0px 20px rgba(255,255,255,0.5);
}

/* --- CATEGORY BLOCKS (Homepage) --- */
.category-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 5px;
}

.category-tile {
  position: relative;
  height: 400px;
  overflow: hidden;
  background-color: #eee;
}

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

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

.category-tile-content {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: #fff;
  z-index: 2;
}

.category-tile h2 {
  display: none;
}

.shop-btn-white {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
  font-size: 0.8rem;
}
.shop-btn-white:hover {
  background-color: #f0f0f0;
}

/* --- AS SEEN IN --- */
.as-seen-in {
  text-align: center;
  padding: 3rem 1rem;
  border-bottom: 1px dashed #eee;
}
.as-seen-in h3 {
  -webkit-text-stroke: 1px #000;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}
.logos-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  font-family: serif;
  font-size: 2rem;
  font-weight: bold;
}

/* --- PRODUCT GRID --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-image-container {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f4f4f4;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: normal;
  text-align: center;
  margin-bottom: 0.5rem;
}

.product-details-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.details-left {
  display: flex;
  flex-direction: column;
}

.details-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-sale {
  font-weight: bold;
  font-size: 0.9rem;
}

.price-original {
  text-decoration: line-through;
  color: #999;
  font-size: 0.7rem;
}

.loving-it {
  font-size: 0.65rem;
  font-weight: bold;
  color: #333;
  margin-top: 0.2rem;
}

.loving-it i {
  color: var(--accent-color);
  margin-right: 0.1rem;
}

.stars {
  color: #f1c40f;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.buy-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0.3rem 0.8rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.75rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.buy-btn:hover {
  opacity: 0.9;
}

/* --- PRODUCT DETAIL PAGE --- */
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.media-viewer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: #f4f4f4;
}

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

.nav-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
}
.nav-chevron.left { left: 0; }
.nav-chevron.right { right: 0; }

.thumbnail-strip {
  display: flex;
  gap: 1rem;
}

.thumbnail-strip img {
  width: calc(25% - 0.75rem);
  aspect-ratio: 4/5;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.thumbnail-strip img:hover, .thumbnail-strip img.active {
  opacity: 1;
  border: 2px solid var(--primary-color);
}

.conversion-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.conversion-controls h1 {
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.selector-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.selector-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-gray);
}

.selector-group select {
  padding: 0.8rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.delivery-info {
  display: flex;
  justify-content: space-around;
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 1rem;
}

details {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

summary {
  cursor: pointer;
  font-weight: bold;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '▼';
  font-size: 0.8rem;
}
details[open] summary::after {
  content: '▲';
}
details p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* --- CONTACT / LEGAL PAGES --- */
.page-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: bold;
}

.form-group input, .form-group textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  font-family: inherit;
}

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

.submit-btn {
  background: #eee;
  color: #000;
  border: none;
  padding: 1rem 2rem;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
}

.legal-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
}
.legal-text h3 {
  margin: 1.5rem 0 0.5rem 0;
  text-transform: uppercase;
  font-size: 1rem;
}
.red-text {
  color: #FF0000;
  font-weight: bold;
}

/* --- FOOTER --- */
.stay-in-loop {
  background: var(--light-bg);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid #eee;
}

.stay-in-loop h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.loop-input-group {
  display: flex;
  max-width: 500px;
  margin: 2rem auto;
  border-bottom: 1px solid #000;
}

.loop-input-group input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 0.5rem;
  outline: none;
}

.loop-input-group button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.perks-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}
.perks-bar > div {
  border-right: 1px solid #eee;
}
.perks-bar > div:last-child {
  border-right: none;
}
.perks-bar h4 { margin-bottom: 0.5rem; }
.perks-bar p { color: var(--text-gray); }

.main-footer {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 4rem 2rem 1rem 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: #ccc;
}
.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 3rem auto 0 auto;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #888;
}

.payment-logos {
  display: flex;
  gap: 0.5rem;
}

.payment-icon {
  width: 38px;
  height: 24px;
  background-color: transparent;
}

/* --- REVIEWS --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.review-card {
  background: var(--light-bg);
  padding: 1.5rem;
  border: 1px solid #eee;
}
.review-stars {
  color: gold;
  margin-bottom: 0.5rem;
}
.review-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.review-text {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1rem;
}
.review-author {
  font-size: 0.8rem;
  color: var(--text-gray);
}
.review-product {
  font-size: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .product-detail-container {
    grid-template-columns: 1fr;
  }
  .category-blocks {
    grid-template-columns: 1fr 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
  .perks-bar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .perks-bar > div {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
    color: white;
  }
}
@media (max-width: 480px) {
  .category-blocks {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
}
