.hero {
  position: relative;
  height: 320px;
  min-height: 200px;
  background: url('image-25.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 16px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.049);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.logo-img {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  object-fit: contain;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.breadcrumb {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.breadcrumb a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb span {
  margin: 0 6px;
  color: #b08d3e;
}

.cart-container {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  margin: 60px auto;
  flex-wrap: wrap;
}

/* LEFT: Cart Table */
.cart-table {
  flex: 2;
  min-width: 300px;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: #f7ece0;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.cart-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-info img {
  width: 105px;
  height: 105px;
  object-fit: cover;
  border-radius: 4px;
}

.product-info span {
  font-size: 14px;
  color: #333;
}

.price,
.subtotal {
  font-size: 14px;
  color: #333;
}

.quantity-box {
  width: 45px;
  height: 35px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.delete-icon {
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* RIGHT: Cart Totals */
.cart-totals {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 380px;
  min-width: 390px;
  height: 380px;
  padding: 30px;
  background: #f9ece0;
}

.cart-totals h2 {
  font-size: 22px;
  margin: 0 0 25px 0;
  font-weight: 600;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid #e6d5c3;
}

.totals-row.total .amount {
  color: #c99b3f;
  font-weight: 600;
  font-size: 15px;
}

.subtotal-amount {
  color: #999;
}

.checkout-btn {
  width: 200px;
  margin-top: 25px;
  padding: 14px;
  background: transparent;
  border: 1px solid #222;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.checkout-btn:hover {
  background: #222;
  color: #fff;
}

.feature-bar {
  display: flex;
  height: 260px;
  max-width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: #f7ede1;
  border-radius: 6px;
  padding: 25px 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  margin-top: 100px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px;
  padding: 10px 15px;
}

.feature-item svg {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  stroke: #2b2b2b;
}

.feature-text h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
  color: #2b2b2b;
}

.feature-text p {
  margin: 0;
  font-size: 13px;
  color: #9a9a9a;
}

/* ===================== MOBILE RESPONSIVE (FULL) ===================== */

@media (max-width: 1024px) {
  .cart-container {
    gap: 24px;
  }

  .cart-totals {
    width: 320px;
    min-width: 300px;
    height: auto;
  }

  .feature-bar {
    margin-top: 60px;
  }
}

@media (max-width: 900px) {
  .cart-container {
    flex-direction: column;
    margin: 40px auto;
  }

  .cart-table {
    width: 100%;
    min-width: 0;
  }

  .cart-totals {
    width: 100%;
    min-width: 0;
    height: auto;
  }
}

@media (max-width: 700px) {
  .hero {
    height: auto;
    min-height: 220px;
    padding: 40px 16px;
  }
}

@media (max-width: 768px) {
  .feature-bar {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 40px;
  }

  .feature-item {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .cart-container {
    padding: 0 16px;
    margin: 30px auto;
  }

  /* Convert grid rows to stacked cards */
  .cart-table-header {
    display: none;
  }

  .cart-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "product"
      "price"
      "qty"
      "subtotal";
    padding: 16px 45px 16px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    gap: 8px;
  }

  .product-info {
    grid-area: product;
  }

  .product-info img {
    width: 80px;
    height: 80px;
  }

  .price {
    grid-area: price;
  }

  .price::before {
    content: "Price: ";
    color: #9a9a9a;
  }

  .quantity-box {
    grid-area: qty;
    justify-self: start;
  }

  .subtotal {
    grid-area: subtotal;
  }

  .subtotal::before {
    content: "Subtotal: ";
    color: #9a9a9a;
  }

  .delete-icon {
    position: absolute;
    top: 16px;
    right: 0;
    grid-area: unset;
  }

  .cart-totals {
    padding: 22px;
  }

  .cart-totals h2 {
    font-size: 19px;
  }

  .totals-row {
    gap: 16px;
    font-size: 13px;
  }

  .checkout-btn {
    width: 100%;
  }

  .feature-item svg {
    width: 46px;
    height: 46px;
  }

  .feature-text h3 {
    font-size: 15px;
  }

  .feature-text p {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .product-info img {
    width: 65px;
    height: 65px;
  }
}

  .feature-item {
    width: 100%;
    min-width: 0;
  }
}
