* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fffaf7;
  color: #241c1e;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
select,
input {
  font-family: inherit;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: auto;
}


/* ================= HEADER ================= */

.header {
  background: #fff;
  border-bottom: 1px solid #eee5e1;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  color: #222;
}

.logo span {
  color: #a7194b;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #3b3436;
}

.nav-links a:hover {
  color: #a7194b;
}

.nav-button,
.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #a7194b;
  color: #fff;
  padding: 13px 22px;
  border-radius: 5px;
  font-weight: 700;
  transition: 0.3s;
}

.nav-button:hover,
.primary-button:hover {
  background: #81143a;
  transform: translateY(-2px);
}


/* ================= HERO ================= */

.hero {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(255, 250, 247, 0.96) 0%,
      rgba(255, 250, 247, 0.80) 38%,
      rgba(255, 250, 247, 0.20) 72%,
      rgba(255, 250, 247, 0) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1180px;
  margin: auto;
}

.eyebrow {
  color: #a7194b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #a7194b;
}

.hero-description {
  max-width: 500px;
  color: #62595a;
  font-size: 18px;
  margin-bottom: 30px;
}


/* ================= SECTIONS ================= */

.section {
  width: 92%;
  max-width: 1180px;
  margin: auto;
  padding: 95px 0;
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 45px;
}

.section-heading h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-heading > p:last-child {
  color: #756b6d;
}


/* ================= CATEGORIES ================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee4e0;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.category-image {
  height: 320px;
  overflow: hidden;
}

.category-image img {
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-content {
  padding: 18px;
}

.category-content h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.category-content span {
  color: #a7194b;
  font-size: 13px;
  font-weight: 700;
}


/* ================= FILTERS ================= */

.filter-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  border: 1px solid #ddd2ce;
  background: #fff;
  color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.filter-btn:hover {
  border-color: #a7194b;
  color: #a7194b;
}

.filter-btn.active {
  background: #a7194b;
  color: #fff;
  border-color: #a7194b;
}


/* ================= PRODUCTS ================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid #eee4e0;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.product-image {
  height: 350px;
  overflow: hidden;
  background: #f2ebe7;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-info {
  padding: 20px;
}

.product-category {
  color: #a7194b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.product-info h3 {
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 9px;
}

.price {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-info label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}

.product-info select,
.product-info input {
  width: 100%;
  border: 1px solid #ddd2ce;
  background: #fff;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  outline: none;
}

.product-info select:focus,
.product-info input:focus {
  border-color: #a7194b;
}

.order-button {
  width: 100%;
  border: none;
  cursor: pointer;
  background: #a7194b;
  color: white;
  padding: 13px;
  border-radius: 5px;
  font-weight: 700;
  margin-top: 17px;
  transition: 0.3s;
}

.order-button:hover {
  background: #81143a;
}


/* ================= ABOUT ================= */

.about-section {
  background: #f2e4df;
  padding: 100px 20px;
  text-align: center;
}

.about-content {
  max-width: 750px;
  margin: auto;
}

.about-content h2 {
  font-size: clamp(35px, 5vw, 55px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-content > p:not(.eyebrow) {
  color: #665d5e;
  font-size: 17px;
  margin-bottom: 30px;
}


/* ================= CONTACT ================= */

.contact-section {
  text-align: center;
}

.contact-box {
  max-width: 600px;
  margin: auto;
  background: #fff;
  border: 1px solid #eee4e0;
  padding: 40px 25px;
  border-radius: 8px;
}

.contact-box .primary-button {
  gap: 8px;
}

.address {
  margin-top: 25px;
  color: #62595a;
}


/* ================= FOOTER ================= */

footer {
  background: #211b1d;
  color: #fff;
  padding: 65px 20px 25px;
}

.footer-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.footer-content h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.footer-content p {
  color: #cfc4c5;
  margin: 7px 0;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: #40383a;
  margin: 35px 0 20px;
}

.copyright {
  font-size: 13px;
}


/* ================= FLOATING WHATSAPP ================= */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #fff;

  border-radius: 50%;

  font-size: 29px;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);

  z-index: 9999;

  transition: 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}


/* ================= TABLET ================= */

@media (max-width: 950px) {

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

  .nav {
    min-height: 70px;
  }

  .nav-links {
    display: none;
  }

  .logo {
    font-size: 21px;
  }

  .nav-button {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero {
    min-height: 600px;
    background-position: 65% center;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-image {
    height: 220px;
  }

  .category-content {
    padding: 14px;
  }

  .category-content h3 {
    font-size: 15px;
  }

  .filter-buttons {
    gap: 7px;
  }

  .filter-btn {
    padding: 8px 13px;
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .product-image {
    height: 420px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}
/* ================= PRODUCT IMAGE POPUP ================= */

.image-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.88);

  display: none;

  align-items: center;
  justify-content: center;

  padding: 30px;

  z-index: 10000;
}

.image-modal.show {
  display: flex;
}

.image-modal img {
  max-width: 90%;
  max-height: 88vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 6px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.close-modal {
  position: absolute;

  top: 20px;
  right: 25px;

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: #fff;
  color: #222;

  font-size: 32px;
  line-height: 1;

  cursor: pointer;

  z-index: 2;
}

.close-modal:hover {
  transform: scale(1.08);
}


/* Make product images clickable */

.product-image {
  cursor: zoom-in;
}
/* ================= ORDER SUMMARY ================= */

.order-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.65);

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  z-index: 11000;
}

.order-modal.show {
  display: flex;
}

.order-box {
  width: 100%;
  max-width: 480px;

  background: #fff;

  border-radius: 12px;

  padding: 35px;

  position: relative;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);

  max-height: 90vh;
  overflow-y: auto;
}

.order-box h2 {
  font-size: 30px;
  margin-bottom: 25px;
}

.close-order {
  position: absolute;

  top: 15px;
  right: 15px;

  width: 40px;
  height: 40px;

  border: none;
  border-radius: 50%;

  background: #f3eeee;

  font-size: 27px;

  cursor: pointer;
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 12px 0;

  border-bottom: 1px solid #eee4e0;
}

.order-item span {
  color: #756b6d;
}

.order-item strong {
  text-align: right;
}

.order-total {
  display: flex;
  justify-content: space-between;

  font-size: 20px;

  margin: 25px 0;
}

.order-total strong {
  color: #a7194b;
}

.confirm-order {
  width: 100%;

  border: none;

  background: #25d366;

  color: white;

  padding: 15px;

  border-radius: 6px;

  font-size: 15px;

  font-weight: 800;

  cursor: pointer;

  transition: 0.3s;
}

.confirm-order:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
/* ================= CUSTOMER DETAILS ================= */

.customer-details {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee4e0;
}

.customer-details h3 {
  font-size: 19px;
  margin-bottom: 18px;
}

.customer-details label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 5px;
}

.customer-details input,
.customer-details textarea {
  width: 100%;
  border: 1px solid #ddd2ce;
  background: #fff;
  padding: 12px;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
  resize: vertical;
}

.customer-details input:focus,
.customer-details textarea:focus {
  border-color: #a7194b;
}


/* CUSTOMER WARNING */

.customer-warning {
  margin-top: 18px;
  padding: 13px 15px;

  background: #fff7e8;

  border-left: 4px solid #e0a21a;

  border-radius: 5px;
}

.customer-warning strong {
  font-size: 13px;
}

.customer-warning p {
  margin-top: 5px;

  font-size: 12px;

  color: #665d55;

  line-height: 1.5;
}
/* ================= PRODUCT SEARCH ================= */

.search-box {
  max-width: 550px;
  margin: 0 auto 25px;

  position: relative;
}

.search-box i {
  position: absolute;

  left: 16px;
  top: 50%;

  transform: translateY(-50%);

  color: #8a7d80;
}

.search-box input {
  width: 100%;

  padding: 14px 18px 14px 45px;

  border: 1px solid #ddd2ce;

  border-radius: 30px;

  background: #fff;

  outline: none;

  font-size: 14px;
}

.search-box input:focus {
  border-color: #a7194b;

  box-shadow:
    0 0 0 3px rgba(167, 25, 75, 0.08);
}
/* ================= NEW ARRIVALS ================= */

.new-arrivals {
  background: #fff;
}

.new-arrivals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.new-arrivals-grid > a {
  background: #fff;
  border: 1px solid #eee4e0;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}

.new-arrivals-grid > a:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.new-arrivals-grid img {
  height: 330px;
  object-fit: cover;
}

.new-arrivals-grid div {
  padding: 17px;
}

.new-arrivals-grid span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #a7194b;
}

.new-arrivals-grid h3 {
  font-size: 16px;
  margin: 5px 0;
}

.new-arrivals-grid p {
  font-weight: 800;
  font-size: 17px;
}


@media (max-width: 950px) {

  .new-arrivals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 600px) {

  .new-arrivals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .new-arrivals-grid img {
    height: 230px;
  }

  .new-arrivals-grid div {
    padding: 12px;
  }

  .new-arrivals-grid h3 {
    font-size: 14px;
  }

}
/* ================= WHY SHOP ================= */

.why-shop {
  background: #f8eeeb;
  padding: 90px 4%;
}

.why-shop .section-heading {
  margin-bottom: 45px;
}

.why-shop-grid {
  max-width: 1180px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.why-card {
  background: #fff;

  padding: 30px 22px;

  text-align: center;

  border-radius: 8px;

  border: 1px solid #eee4e0;

  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.07);
}

.why-icon {
  font-size: 35px;

  margin-bottom: 15px;
}

.why-card h3 {
  font-size: 17px;

  margin-bottom: 9px;
}

.why-card p {
  color: #756b6d;

  font-size: 13px;

  line-height: 1.6;
}


@media (max-width: 950px) {

  .why-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 600px) {

  .why-shop {
    padding: 65px 4%;
  }

  .why-shop-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
  }

  .why-card {
    padding: 22px 14px;
  }

  .why-icon {
    font-size: 28px;
  }

  .why-card h3 {
    font-size: 14px;
  }

  .why-card p {
    font-size: 12px;
  }

}
/* ================= MOBILE MENU ================= */

.menu-button {
  display: none;

  border: none;
  background: transparent;

  font-size: 24px;
  color: #241c1e;

  cursor: pointer;
}


@media (max-width: 600px) {

  .menu-button {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    display: none;

    position: absolute;

    top: 70px;
    left: 0;
    right: 0;

    background: #fff;

    flex-direction: column;

    gap: 0;

    border-top: 1px solid #eee4e0;

    box-shadow:
      0 10px 25px rgba(0, 0, 0, 0.08);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 15px 20px;

    border-bottom: 1px solid #eee4e0;
  }

}
/* ==========================================
   MOBILE PRODUCT LAYOUT
========================================== */

@media (max-width: 600px) {

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    width: 100%;
    overflow: hidden;
  }

  .product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .product-card h3 {
    font-size: 14px;
    line-height: 1.3;
  }

  .product-card .price {
    font-size: 15px;
  }

  .product-card button {
    width: 100%;
    padding: 11px 8px;
    font-size: 12px;
  }

}
/* ================= CART BUTTON ================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-button {
  position: relative;

  width: 42px;
  height: 42px;

  border: 1px solid #ddd2ce;

  background: #fff;

  border-radius: 50%;

  color: #241c1e;

  font-size: 17px;

  cursor: pointer;

  transition: 0.3s;
}

.cart-button:hover {
  color: #a7194b;
  border-color: #a7194b;
}

#cartCount {
  position: absolute;

  top: -5px;
  right: -5px;

  min-width: 19px;
  height: 19px;

  padding: 2px 5px;

  background: #a7194b;
  color: #fff;

  border-radius: 50%;

  font-size: 10px;
  font-weight: 800;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* MOBILE */

@media (max-width: 600px) {

  .header-actions {
    gap: 8px;
  }

  .cart-button {
    width: 38px;
    height: 38px;
  }

}
/* ==========================================
   SHOPPING CART
========================================== */

.cart-modal {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  z-index: 9999;
}

.cart-modal.show {
  display: flex;
}

.cart-box {
  width: 100%;
  max-width: 520px;

  max-height: 90vh;

  background: #fff;

  border-radius: 14px;

  overflow: hidden;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.2);

  display: flex;

  flex-direction: column;
}


/* HEADER */

.cart-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 20px 22px;

  border-bottom: 1px solid #eee4e0;
}

.cart-header h2 {
  margin: 0;

  font-size: 21px;
}

.cart-close {
  width: 36px;
  height: 36px;

  border: none;

  background: #f6efed;

  border-radius: 50%;

  font-size: 25px;

  cursor: pointer;

  line-height: 1;
}

.cart-close:hover {
  background: #eadeda;
}


/* CART ITEMS */

.cart-items {
  padding: 15px 20px;

  overflow-y: auto;

  flex: 1;
}

.cart-item {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  padding: 15px 0;

  border-bottom: 1px solid #eee4e0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  margin: 0 0 5px;

  font-size: 15px;
}

.cart-item-info p {
  margin: 3px 0;

  font-size: 12px;

  color: #777;
}

.cart-item-price {
  font-weight: 800;

  font-size: 14px;
}

.remove-cart-item {
  border: none;

  background: transparent;

  color: #b22;

  cursor: pointer;

  font-size: 13px;
}


/* EMPTY CART */

.cart-empty {
  text-align: center;

  padding: 45px 20px;

  color: #777;
}

.cart-empty-icon {
  font-size: 45px;

  margin-bottom: 10px;
}

.cart-empty h3 {
  margin: 5px 0 8px;

  color: #241c1e;
}

.cart-empty p {
  margin: 0;

  font-size: 13px;
}


/* FOOTER */

.cart-footer {
  padding: 18px 20px;

  border-top: 1px solid #eee4e0;

  background: #fff;
}

.cart-total-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 15px;

  font-size: 16px;
}

.cart-total-row strong {
  font-size: 20px;
}


/* CHECKOUT */

.checkout-button {
  width: 100%;

  border: none;

  padding: 14px;

  border-radius: 6px;

  background: #a7194b;

  color: #fff;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s;
}

.checkout-button:hover {
  opacity: 0.9;

  transform: translateY(-1px);
}


/* MOBILE */

@media (max-width: 600px) {

  .cart-modal {
    padding: 10px;
  }

  .cart-box {
    max-height: 92vh;

    border-radius: 12px;
  }

  .cart-header {
    padding: 17px;
  }

  .cart-items {
    padding: 10px 15px;
  }

  .cart-item {
    gap: 8px;
  }

  .cart-item-info h4 {
    font-size: 13px;
  }

  .cart-item-price {
    font-size: 13px;
  }

}