/* ===== NAVBAR (SAME AS HOME / ABOUT) ===== */

.navbar {
  background: #111;
  padding: 20px 0;
  color: #fff;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.1;
}

.logo span {
  color: #f4c430;
  font-size: 14px;
  letter-spacing: 1px;
}

nav a {
  margin: 0 18px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

nav a:hover,
nav a.active {
  color: #f4c430;
}

/* underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #f4c430;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-icons {
  font-size: 18px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 900px) {
  nav {
    display: none;
  }
}

/* LINKS */
.nav-links a {
  margin: 0 18px;
  color: #e5e5e5;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f4c430;
}

/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f4c430, #fff3b0);
  transition: width 0.35s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #f4c430;
}

/* ICONS */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon {
  cursor: pointer;
  color: #eee;
  transition: transform 0.3s, color 0.3s;
}

.icon:hover {
  color: #f4c430;
  transform: translateY(-2px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* MOBILE NAV */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #111;
    display: none;
    flex-direction: column;
    padding: 30px 0;
  }

  .nav-links a {
    margin: 14px 0;
    font-size: 18px;
  }

  .hamburger {
    display: block;
  }
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
}

h1, h3 {
  font-family: 'Playfair Display', serif;
}

.shop .container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

/* HERO */
.shop-hero {
  background: #111 url("frame.png") center/cover;
  color: #fff;
  padding: 110px 15px;
  text-align: center;
  margin-bottom: 95px
}

.shop-hero h1 {
  color: #f4c430;
  font-size: 42px;
}

/* LAYOUT */
.shop {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-bottom: 100px;
}

/* FILTERS */
.filters {
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.filter-group {
  margin-bottom: 30px;
}

.filter-group label {
  display: block;
  margin: 6px 0;
}

/* PRODUCTS */
.shop-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 16px;
  transition: 0.3s;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product img {
  width: 100%;
}

.price {
  font-weight: 600;
}

.load-btn {
  margin: 50px auto 0;
  display: block;
  padding: 12px 30px;
  border-radius: 30px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .shop {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
/* fade into footer */
.section-fade {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #111);
}
.footer {
  background: #111;
  color: #ccc;
  padding: 100px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h5 {
  color: #fff;
  margin-bottom: 20px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: #aaa;
  transition: 0.3s;
}

.footer a:hover {
  color: #f4c430;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 20px;
}

.socials span {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  border-radius: 50%;
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 60px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* mobile */
@media (max-width: 900px) {
  .testimonial-grid,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }
}


.load-more-container {
  margin: 60px 0;
  text-align: center;
}


/* Buttons */

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.add-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.checkout-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
}

.add-btn:hover {
  background: #000;
}

.checkout-btn:hover {
  background: #111;
  color: #fff;
}


  /* Toast */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111;
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Cart  */

.cart-icon {
  position: relative;
  font-size: 20px;
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #f4c430;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}

.cart-badge {
  transition: transform 0.2s ease;
}

.cart-badge.bump {
  transform: scale(1.2);
}


/* ===== CART BUTTON STYLES =====

/* Quantity buttons */
.qty-control button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #111;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qty-control button:hover {
  background: #111;
  color: #fff;
}

.qty-control span {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
}

/* Remove button */
.remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fbeaea;
  color: #c0392b;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.remove-btn:hover {
  background: #c0392b;
  color: #fff;
}

/* Checkout button */
.cart-summary .checkout-btn {
  padding: 16px 40px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-summary .checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
} 

.cart-page {
  max-width: 900px;
  margin: 80px auto;
}

#cartItems {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 10px 30px;
}


/* Cart item as horizontal card */
.cart-item {
  display: flex;
  align-items: center;
  gap: 24px;

  padding: 24px;
  margin-bottom: 20px;

  border: 1px solid #eaeaea;
  border-radius: 18px;
  background: #fff;
}

/* Image on left */
.cart-item img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

/* Middle content */
.cart-item .cart-details {
  flex: 1;
}

/* Right side (remove / actions) */
.cart-item .cart-actions {
  text-align: right;
}


/* Empty cart text ONLY */
#cartItems .empty-cart {
  text-align: center;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 500px;
  border: 2px dashed #ddd;
  border-radius: 24px;
  font-size: 16px;
  color: #666;
  background: #fafafa;
}

/* Cart price ONLY */
.cart-item .cart-price {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}




/* ===== CART TOTAL SECTION (MODERN) ===== */

.cart-summary {
  margin-top: 60px;
  padding: 40px 30px;

  background: linear-gradient(180deg, #fafafa, #f4f4f4);
  border-radius: 22px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

/* Total container */
.total-box {
  text-align: center;
}

/* Small label */
.total-label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 6px;
}

/* Big amount */
.total-amount {
  font-family: 'Playfair Display', serif; /* premium contrast */
  font-size: 34px;
  font-weight: 600;
  color: #111;
}

/* Checkout button – HERO CTA */
.cart-summary .checkout-btn {
  padding: 16px 48px;
  border-radius: 999px;

  border: none;
  background: linear-gradient(135deg, #111, #333);
  color: #fff;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;

  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-summary .checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}


/* ===== MOBILE CART FIXES ===== */
@media (max-width: 700px) {

  .cart-page {
    margin: 40px 16px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cart-item img {
    width: 100%;
    max-width: 160px;
    align-self: center;
  }

  .cart-actions {
    align-self: flex-end;
  }

  .cart-summary {
    padding: 28px 20px;
  }

  .total-amount {
    font-size: 28px;
  }

  .cart-summary .checkout-btn {
    width: 100%;
    text-align: center;
  }
}
 

.checkout-btn.disabled {
  background: #ccc;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* modal background */
.modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

/* modal box */
.modal-box{
  background:#fff;
  padding:40px;
  border-radius:20px;
  width:400px;
  position:relative;
}

.modal-box input,
.modal-box textarea{
  width:100%;
  padding:12px;
  margin-bottom:14px;
  border-radius:10px;
  border:1px solid #ddd;
}

.pay-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:30px;
  background:#111;
  color:white;
  cursor:pointer;
}

#closeModal{
  position:absolute;
  top:10px;
  right:16px;
  cursor:pointer;
}
