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

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #c9a961;
  --accent-color: #2d2d2d;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #ffffff;
  --bg-alt: #f8f8f8;
  --border-color: #e0e0e0;
  --container-width: 1200px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Helvetica Neue', 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 300;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.cart-link {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.4rem 1rem;
  border-radius: 4px;
}

/* Main Content */
main {
  min-height: calc(100vh - 250px);
  padding: 4rem 0;
}

main h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -1px;
}

main h2 {
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.5px;
}

main p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
}

main ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

main li {
  margin-bottom: 0.8rem;
  color: var(--text-light);
}

main a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

main a:hover {
  border-bottom-color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

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

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

/* Products Grid */
.products-header {
  text-align: center;
  margin-bottom: 4rem;
}

.subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 300;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  overflow: hidden;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 300px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.product-tagline {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Product Detail Page */
.product-detail {
  max-width: 1100px;
  margin: 0 auto;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-detail-images {
  width: 100%;
}

.main-image {
  width: 100%;
  height: 500px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.image-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
}

.thumbnail {
  width: 100%;
  height: 100px;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid var(--border-color);
  padding: 0.5rem;
  background: white;
  transition: var(--transition);
}

.thumbnail:hover {
  border-color: var(--secondary-color);
}

.thumbnail.active {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 1px var(--secondary-color);
}

.product-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.product-detail-tagline {
  color: var(--text-light);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.product-detail-price {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.product-description {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.product-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--secondary-color);
}

.product-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.product-section p {
  line-height: 1.8;
  color: var(--text-color);
}

.product-full-description {
  margin-bottom: 4rem;
}

.product-full-description > h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 1rem;
}

.full-description-content {
  line-height: 1.8;
  color: var(--text-color);
}

.full-description-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.full-description-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  border-left: 4px solid var(--secondary-color);
  background: var(--bg-alt);
  padding: 1rem 1.5rem;
}

.full-description-content h3:first-child {
  margin-top: 0;
}

.full-description-content strong {
  color: var(--primary-color);
  font-weight: 500;
}

.full-description-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.full-description-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.btn-add-cart {
  width: 100%;
  margin-bottom: 1rem;
}

.stock-notice {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

.product-details-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 100%;
}

.product-features,
.product-specs {
  width: 100%;
}

.product-features h2,
.product-specs h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.product-features ul {
  margin-left: 1.5rem;
  list-style-type: disc;
}

.product-features li {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.product-specs ul {
  margin-left: 1.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 1rem 0;
}

.specs-table td:first-child {
  font-weight: 500;
  width: 40%;
}

.back-to-products {
  text-align: center;
  padding: 2rem 0;
}

/* Cart Page */
.cart-page {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cart-empty {
  padding: 4rem 2rem;
}

.empty-cart-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-empty h2 {
  margin-top: 1rem;
  font-weight: 300;
}

.cart-empty p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Notification */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 400px;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-top: 5rem;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  margin: 0 0.5rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-links span {
  color: rgba(255,255,255,0.3);
}

footer p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 8rem 2rem;
  text-align: center;
  margin: -4rem 0 4rem 0;
  width: 100%;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.9);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1rem;
}

/* Home Page Sections */
.home-about,
.home-products {
  padding: 4rem 0;
}

.home-about h2,
.home-products h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background: white;
  border: 1px solid var(--border-color);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.feature h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.75rem;
}

.feature p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Featured Products Grid */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.featured-product-card {
  background: white;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: block;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}

.featured-product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.featured-product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.featured-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  transition: var(--transition);
}

.featured-product-card:hover .featured-product-image img {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.view-all {
  text-align: center;
  margin-top: 2rem;
}

/* Disabled Button */
.btn-disabled {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-disabled:hover {
  background-color: #999;
  color: white;
}

/* Responsive Design */
@media (max-width: 968px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  header {
    padding: 1rem 0;
  }

  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  main {
    padding: 0;
  }

  main h1 {
    font-size: 1.8rem;
  }

  main h2 {
    font-size: 1.6rem;
  }

  .hero {
    padding: 4rem 1rem;
    margin: -2rem 0 2rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }

  .home-about,
  .home-products {
    padding: 2.5rem 0;
  }

  .home-about h2,
  .home-products h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .feature {
    padding: 1.5rem;
  }

  .feature h3 {
    font-size: 1.2rem;
  }

  .feature p {
    font-size: 0.95rem;
  }

  .products-grid,
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .featured-product-image {
    height: auto;
    padding: 1rem;
  }

  .featured-product-image img {
    width: 100%;
    height: 100%;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    height: 300px;
  }

  .product-detail h1 {
    font-size: 1.6rem;
  }

  .product-detail-tagline {
    font-size: 0.9rem;
  }

  .product-detail-price {
    font-size: 1.6rem;
  }

  footer {
    padding: 2rem 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0.75rem;
    margin: -1rem 0 1.5rem 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .btn-large {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  .home-about h2,
  .home-products h2 {
    font-size: 1.4rem;
  }

  .products-grid,
  .featured-products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-product-card {
    max-width: 300px;
    margin: 0 auto;
  }

  .feature {
    padding: 1.25rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
