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

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #f7f4ef;
  color: #222;
  min-height: 100vh;
}

/* Header */
.header {
  background: #fff8f1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  flex-wrap: wrap;
}
.logo-img {
  height: 42px;
  border-radius: 6px;
}
.nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-link {
  color: #795548;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.2rem 0.6rem;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #d4a373;
  background: #fff3e6;
  border-radius: 5px;
}
.cart-icon {
  vertical-align: middle;
  margin-right: 0.15em;
}
.cart-count {
  background: #d4a373;
  color: #fff;
  font-size: 0.9em;
  border-radius: 50%;
  padding: 0.15em 0.5em;
  margin: 0 0.4em;
  font-weight: 700;
  display: inline-block;
}

/* Hero */
.hero {
  background: linear-gradient(90deg, #f7f4ef 60%, #fff8f1 100%);
  min-height: 390px;
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
}
.hero-bg-images {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  display: flex; justify-content: center; align-items: flex-end;
  pointer-events: none;
}
.hero-bg-img {
  opacity: 0.14;
  width: 330px; max-width: 30vw;
  margin: 0 2vw;
  border-radius: 16px;
  filter: blur(1.5px);
  height: 330px;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 2.5rem;
}
.hero-title {
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  color: #a98467;
  margin-bottom: 1.3rem;
}
.hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  color: #d4a373;
  letter-spacing: 0.09em;
  margin-bottom: 1.3rem;
}

/* Section titles */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #a98467;
  margin: 2.6rem 0 1.2rem 0;
  text-align: center;
}

/* Products Grid */
.products-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  width: 270px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(212,163,115,0.18);
  transform: translateY(-3px) scale(1.04);
}
.card .image {
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #f7f4ef;
}
.card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1rem;
  flex-wrap: wrap;
}
.card-info-row .title {
  font-weight: 600;
  color: #222;
}
.card-info-row .price {
  font-weight: 700;
  color: #d4a373;
  margin-right: 0.7em;
}
.card-add-btn {
  background: #d4a373;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 0.45em 1.2em;
  cursor: pointer;
  transition: background 0.16s;
}
.card-add-btn:hover,
.similar-add-btn:hover,
.product-add-btn:hover {
  background: #a98467;
}
.card-add-btn.added,
.similar-add-btn.added,
.product-add-btn.added {
  animation: popAdded 1s;
}
@keyframes popAdded {
  0% { transform: scale(1);}
  30% { transform: scale(1.11);}
  60% { transform: scale(0.97);}
  100% { transform: scale(1);}
}

/* Product main page */
.product-main .container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.09);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
}

/* Similar Products Section */
.similar-products-section {
  background: #f7f4ef;
  padding: 2.2rem 0 2.5rem 0;
}
.similar-products-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #a98467;
  margin-bottom: 1.2rem;
  text-align: center;
}
/* Similar Products Grid */
.similar-products-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.similar-card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(212,163,115,0.09);
  width: 210px;
  padding: 1rem 1rem 1.2rem 1rem;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.similar-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.7em;
}
.similar-title {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.25em;
}
.similar-price {
  font-weight: 700;
  color: #d4a373;
  margin-bottom: 0.5em;
}
.similar-add-btn {
  background: #d4a373;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 0.45em 1.1em;
  cursor: pointer;
  transition: background 0.16s;
}

/* Cart Modal/Page */
.cart-page {
  display: none;
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(212,163,115,0.14);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.cart-content {
  background: #fff;
  max-width: 355px;
  margin: auto;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(212,163,115,0.13);
  padding: 2rem 1.3rem 1.25rem 1.3rem;
  position: relative;
}
.cart-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #a98467;
  text-align: center;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.cart-items {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 1.2rem;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1em;
  border-bottom: 1px solid #f7f4ef;
  padding: 0.7em 0;
}
.cart-item-img {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-weight: 600;
  color: #222;
  display: block;
  margin-bottom: 0.2em;
}
.cart-item-price {
  color: #d4a373;
  font-size: 0.97em;
  font-weight: 500;
}
.cart-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.cart-item-actions button {
  background: #fff3e6;
  color: #a98467;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  padding: 0.13em 0.6em;
  cursor: pointer;
  transition: background 0.15s;
}
.cart-item-actions button:hover {
  background: #f7f4ef;
  color: #d4a373;
}
.cart-total {
  font-size: 1.15em;
  font-weight: 700;
  color: #d4a373;
  margin-right: 1em;
}
.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9em;
}
.cart-checkout-btn {
  background: #a98467;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 0.45em 1.1em;
  cursor: pointer;
  transition: background 0.16s;
}
.cart-checkout-btn:hover {
  background: #d4a373;
}
.cart-close-btn {
  background: #eaeaea;
  color: #222;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  padding: 0.45em 1.1em;
  cursor: pointer;
}
/* Empty cart message */
.cart-empty {
  text-align: center;
  color: #888;
  padding: 1.4em 0;
  font-size: 1.1em;
}

/* Footer */
.footer {
  background: #fff8f1;
  padding: 2.2rem 0 1.2rem 0;
  margin-top: 2rem;
  box-shadow: 0 -2px 12px rgba(212,163,115,0.07);
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.footer-section {
  min-width: 170px;
  margin-bottom: 1.3em;
}
.footer-section h3 {
  font-size: 1.1rem;
  color: #a98467;
  margin-bottom: 0.7em;
  font-weight: 700;
}
.footer-section ul {
  list-style: none;
  margin: 0 0 0.7em 0;
}
.footer-section ul li {
  margin-bottom: 0.5em;
}
.footer-section ul li a {
  color: #795548;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.19s;
}
.footer-section ul li a:hover {
  color: #d4a373;
}
.social-icon svg {
  margin-top: 0.85em;
  color: #d4a373;
  opacity: 0.75;
}
.why-choose p {
  color: #444;
  font-size: 0.97em;
  margin-top: 0.5em;
  margin-bottom: 0.8em;
}
.newsletter {
  margin-top: 2.2em;
  text-align: center;
}
.newsletter h3 {
  font-size: 1.1em;
  margin-bottom: 0.7em;
  color: #a98467;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.5em;
}
.newsletter-form input[type="email"] {
  border: 1px solid #f7f4ef;
  border-radius: 5px;
  padding: 0.5em 1em;
  font-size: 1em;
  outline: none;
  background: #fff;
}
.newsletter-form button {
  background: #d4a373;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.5em 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s;
}
.newsletter-form button:hover {
  background: #a98467;
}

/* Pre-order Section Styling */
.preorder-section {
  background: #fff8f1;
  padding: 2.5rem 0 2.5rem 0;
  margin-bottom: 30px;
}
.preorder-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4a373;
  text-align: center;
  margin-bottom: 1.1rem;
}
.preorder-desc {
  text-align: center;
  font-size: 1.12rem;
  color: #795548;
  margin-bottom: 1.5rem;
}
.preorder-products-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.preorder-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(212,163,115,0.10);
  width: 270px;
  margin-bottom: 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1em;
}
.preorder-image {
  width: 100%;
  height: 170px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #f7f4ef;
  margin-bottom: 0.9em;
}
.preorder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preorder-product-title {
  font-weight: 600;
  font-size: 1.09rem;
  color: #222;
}
.preorder-status {
  color: #d4a373;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6em;
}
.preorder-btn {
  background: #a98467;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 0.45em 1.2em;
  cursor: pointer;
  transition: background 0.16s;
  margin-top: 0.8em;
}
.preorder-btn:hover {
  background: #d4a373;
}

/* Responsive Enhancements */
@media (max-width: 1000px) {
  .products-grid, .similar-products-grid, .preorder-products-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .product-card {
    flex-direction: column;
    align-items: center;
  }
  .footer-content {
    flex-direction: column;
    gap: 1.3em;
    align-items: center;
  }
  .footer-section {
    min-width: 0;
    margin-bottom: 1.3em;
  }
}

/* MOBILE FRIENDLY - CRITICAL BREAKPOINTS */
@media (max-width: 600px) {
  body {
    font-size: 0.97rem;
  }
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 0.5rem 0;
  }
  .logo-img {
    height: 32px;
  }
  .nav {
    gap: 0.3rem;
    flex-wrap: wrap;
    font-size: 0.98rem;
    width: 100%;
    margin-bottom: 4px;
  }
  .nav-link {
    font-size: 0.98rem;
    padding: 0.15rem 0.35rem;
    margin-bottom: 2px;
  }

  .hero {
    min-height: 180px;
    padding: 1.7rem 0 1.3rem 0;
  }
  .hero-bg-img {
    width: 95px;
    height: 95px;
    max-width: 30vw;
    min-width: 60px;
    border-radius: 10px;
  }
  .hero-title {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }

  .section-title, .similar-products-title {
    font-size: 1.05rem;
    margin: 1.1rem 0 0.7rem 0;
  }
  .products-grid, .similar-products-grid, .preorder-products-grid {
    gap: 0.8rem;
    padding: 0 1vw;
  }
  .card, .similar-card, .preorder-card {
    width: 97vw;
    max-width: 350px;
    min-width: 0;
    padding: 0.5em 0.4em;
    margin-bottom: 1rem;
    border-radius: 9px;
  }
  .card .image, .preorder-image, .similar-image img {
    height: 100px !important;
    min-height: 70px;
    max-height: 120px;
    border-radius: 9px 9px 0 0;
  }
  .card .image img, .preorder-image img, .similar-image img {
    border-radius: 9px 9px 0 0;
  }
  .card-info-row, .product-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0.7rem 0.6rem;
  }
  .card-info-row .title,
  .card-info-row .price {
    font-size: 1.03rem;
  }
  .card-add-btn, .preorder-btn, .similar-add-btn, .product-add-btn {
    font-size: 0.99rem;
    padding: 0.4em 0.9em;
    margin: 0.3em 0 0 0;
  }

  .product-main .container {
    padding: 0.7rem 0.3rem;
    border-radius: 9px;
  }
  .product-card {
    flex-direction: column;
    align-items: center;
    padding: 0 2px;
    max-width: 100vw;
  }
  .product-images-slider {
    width: 100vw;
    padding: 0;
  }
  .slider-images {
    width: 100vw;
    min-width: 0;
  }
  .slider-img {
    max-width: 98vw;
    max-height: 40vw;
    object-fit: contain;
    border-radius: 7px;
  }
  .product-details {
    padding: 0 8px;
  }
  .product-name {
    font-size: 1.1rem;
  }
  .product-price {
    font-size: 1.02rem;
  }
  .product-desc ul, .product-desc p {
    font-size: 0.96rem;
  }
  .slider-btn {
    font-size: 1rem;
    padding: 4px 8px;
  }
  .slider-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 2px;
  }

  .cart-content {
    max-width: 99vw;
    padding: 0.8rem 0.4rem 0.5rem 0.4rem;
    border-radius: 9px;
  }
  .cart-title {
    font-size: 1rem;
  }
  .cart-item-img {
    width: 35px;
    height: 35px;
    border-radius: 6px;
  }
  .cart-item-title, .cart-item-price {
    font-size: 0.96rem;
  }
  .cart-item-actions button {
    font-size: 0.95em;
    padding: 0.10em 0.5em;
    border-radius: 3px;
  }
  .cart-total {
    font-size: 0.98em;
    margin-right: 0.4em;
  }

  .footer {
    padding: 1.2rem 0 0.7rem 0;
    margin-top: 1rem;
  }
  .footer-content {
    gap: 1.1em;
  }
  .footer-section {
    min-width: 0;
    margin-bottom: 0.7em;
  }
  .footer-section h3, .newsletter h3 {
    font-size: 1.01rem;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.5em;
    align-items: stretch;
  }
  .newsletter-form input[type="email"] {
    font-size: 0.98em;
  }
  .newsletter-form button {
    font-size: 0.98em;
    padding: 0.4em 0.8em;
  }
  .policy-container {
    padding: 1.2rem 0.7rem;
    border-radius: 6px;
    font-size: 0.97rem;
  }
  .policy-container h1 {
    font-size: 1.08rem;
    margin-bottom: 1.1em;
  }

  /* Mobile Responsive Header Styles */
@media screen and (max-width: 600px) {
  .header {
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
  }
  .header .container {
    width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Global Mobile Responsive Adjustments */
@media screen and (max-width: 600px) {
  body, html {
    font-size: 14px;
    margin: 0;
    padding: 0;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .container {
    width: 100%;
    padding: 0 10px;
  }
  .product-main, .policy-container, .about-main, .preorder-main {
    padding: 20px;
  }
}
}