.product-headline { font-family: 'Dancing Script', cursive; text-align: center;  margin-bottom: 5px;}
.product-headline h3 { font-size: 28px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; margin-top: 0;}
.product-headline h2 { font-size: 22px; font-weight: 700; margin-bottom: 5px; margin-top: 0;}

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 2px 0; }
.cat-card { position: relative; height: 260px; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center;
     background-size: cover; background-position: center;
    /* Pink glow shadow */ box-shadow: 0 8px 8px rgba(230, 0, 126, 0.35); transition: all .35s ease; }
	
 .cat1 { background-image: url('../img/image/shops02.jpg'); }
 .cat2 { background-image: url('../img/image/shops01.jpg'); }
 .cat3 { background-image: url('../img/image/shops03b.jpg'); }
 .cat4 { background-image: url('../img/image/shops04.jpg'); }
 .cat5 { background-image: url('../img/image/shops05.jpg'); }
 .cat6 { background-image: url('../img/image/shops06.jpg'); }
 .cat7 { background-image: url('../img/image/shops07.jpg'); }
 .cat8 { background-image: url('../img/image/shops08.jpg'); } 

/* Dark color overlay with neon tint */
.cat-card::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 0, 150, 0.55),
        rgba(0, 150, 255, 0.55)
    );
    mix-blend-mode: overlay;
}

/* Category title */
.cat-card span { position: relative; font-size: 35px; font-weight: 700; color: #fff; text-transform: uppercase; text-align: center; letter-spacing: 2px; z-index: 2;}

/* Hover effect — zoom + stronger glow */
.cat-card:hover { transform: translateY(-6px) scale(1.03);box-shadow: 0 6px 6px rgba(230, 0, 126, 0.65); }



/* ================================
   RESPONSIVE BREAKPOINTS
=================================== */
@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .category-grid { grid-template-columns: 2, 1fr; }
    .cat-card { height: 220px; }
    .cat-card span { font-size: 30px; }
}

/* Animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px);    }
    to { opacity: 1; transform: translateY(0); }
}


/* PAGE WRAPPER */
.page {
    padding: 25px 0;
}

/* CATEGORY */

.breadcrumbb {
  /*background: linear-gradient(to right, #FFF1FA, #FFFFFF, #FFF1FA);*/
  margin-top: -25px;
  
    padding: 12px 20px;         /* inner spacing */
    border-radius: 5px;        /* rounded corners */
    margin-bottom: 8px;        /* spacing below breadcrumb */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* subtle shadow */
}

.breadcrumbb ul li {
  float: left;
  list-style-type: none;
  margin-right: 10px;
  color: #e6007e;
  font-weight: 500;
}
.breadcrumbb ul li:last-child {
  color: #000;
  font-weight: 500;
}

.breadcrumbb ul li a {
  color: #c60067;
  font-weight: 700;
}



/* ============================
   Desktop Product Layout (≥992px)
============================ */

  .product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr; /* left = image, right = details */
    gap: 40px;
    max-width: 1200px;
  }

  /* ==== LEFT: Product Image + Thumbnails ==== */
  .product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-gallery img.main-image {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    object-fit: cover;
  }

  .thumbnails {
    margin: 10px;
    display: flex;
    gap: 12px;
    justify-content: center;
  }

  .thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
  }

  .thumbnails img:hover,
  .thumbnails img.active {
    border: 2px solid #c60067;
  }

  /* ==== RIGHT: Details stacked ==== */
  .product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

.product-detail .category {
  display: inline-block;
  font-size: 8px;
  color: #e6007e;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(230, 0, 126, 0.1); /* soft tinted background */
  border-radius: 4px;
  margin-bottom: 5px;
}

  .product-info h2 {
    font-size: 32px;
    margin: 0 0 2px;
	font-weight: 600;
  }

  .product-info .price {
    font-size: 23px;
    color: #c60067;
    margin: 2px 0;
	font-weight: 700;
	font-style: italic;
  }

  .product-info .stock {
    font-size: 12px;
    margin-bottom: 5px;
	color: #d10024;
  }

  /* ==== BELOW BOTH: Summary ==== */
  .product-summary {
    grid-column: span 2;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
	
	max-height: 80px;
	overflow: hidden;
  }
  
  .product-info .sizes,
  .product-info .colors{
    margin: 10px 0;
  }
	/* =======================
	   Quantity Selector
	======================= */
	.product-info .quantity {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  gap: 8px;
	  margin: 10px 0;
	}

	.product-info .quantity input {
	  width: 60px;
	  text-align: center;
	  font-size: 16px;
	  padding: 8px;
	  border: 1px solid #ddd;
	  border-radius: 6px;
	}

	.product-info .qty-btn {
	  background: #f1f1f1;
	  border: 1px solid #ddd;
	  padding: 8px 14px;
	  font-size: 18px;
	  cursor: pointer;
	  border-radius: 6px;
	}

	.product-info .qty-btn:hover {
	  background: #e6007e;
	  color: #fff;
	}
  
  .product-info button.add-cart {
    margin-top: 20px;
    padding: 14px 28px;
    font-size: 18px;
    background: #e6007e;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
	width: 100%;
  }
  
  .product-info button.add-cart:hover {
	  background: #c60067;
	  color: #fff;
  }  

  .product-info button.out-of-stock {
    margin-top: 20px;
    padding: 14px 28px;
    font-size: 18px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
	width: 100%;
    cursor: not-allowed;        /* Prevents pointer cursor */
    opacity: 0.6;               /* Dim to show disabled state */
    pointer-events: none;       /* Makes it 100% unclickable */	
  }
  
.product-options {
  margin-bottom: 10px;
}

.option-label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-btn {
  position: relative;
  cursor: pointer;
}

.option-btn input {
  display: none;
}

.option-btn span {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  background: #f8f8f8;
  font-size: 14px;
  display: inline-block;
  transition: 0.2s;
}

.option-btn:hover span {
  border-color: var(--primary);
  background: #fff;
}

.option-btn input:checked + span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}


.variant-group {
  margin-bottom: 15px;
}

/* Hide actual radio button */
.variant-group input[type="radio"] {
  display: none;
}

/* Unselected button */
.variant-btn {
  display: inline-block;
  padding: 10px 18px;
  margin: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 14px;
  transition: 0.25s;
}

/* Hover */
.variant-btn:hover {
  background: #e9e9e9;
}

/* Selected button */
.variant-group input[type="radio"]:checked + .variant-btn {
  background: #ff3b3f;
  color: white;
  border-color: #ff3b3f;
  box-shadow: 0 0 6px rgba(255, 59, 63, 0.5);
}

/* ============================
   MoBILE Product Layout 
============================ */
@media (max-width: 992px) {
	/* Product card */
	.product-detail {
		display: grid;
      grid-template-columns: 1fr; /* left = image, right = details */
	  max-width: 420px;
	  margin: 0 auto;
	  text-align: center;
	}
  
	/* Product image */
	.product-detail img {
	  width: 100%;
	  border-radius: 10px;
	  margin-bottom: 5px;
	}

	/* Product title */
	.product-detail h2 {
	  font-size: 22px;
	  margin: 0 0 2px;
	  color: #000;
	  font-weight: 600;
	}

	.product-detail .category {
	  font-size: 8px;
	  color: #e6007e;
	  font-weight: 500;
	  margin-bottom: 5px;
	  display: inline-block;
	  padding: 4px 8px;
	  background: rgba(230, 0, 126, 0.1); /* soft tinted background */
	  border-radius: 4px;
	}

  /* ==== BELOW BOTH: Summary ==== */
  .product-summary {
    grid-column: span 2;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
	
	max-height: 80px;
	overflow: hidden;
  }
  
	/* Price and stock */
	.product-detail .price {
	  font-size: 22px;
	  font-weight: 700;
	  color: #c60067;
	  margin: 2px 0;
	  font-style: italic;
	}

	.product-detail .stock {
	  font-size: 12px;
	  color: #d10024;
	  margin-bottom: 5px;
	}
  
	/* Sizes */
	.product-detail .sizes {
	  display: flex;
	  justify-content: center;
	  gap: 10px;
	  margin-bottom: 20px;
	}

	.product-detail .sizes button {
	  border: 1px solid #ddd;
	  background: #fff;
	  padding: 10px 15px;
	  border-radius: 8px;
	  cursor: pointer;
	  font-size: 14px;
	  min-width: 50px;
	}

	.product-detail .sizes button:hover {
	  border-color: #f39c12;
	  color: #f39c12;
	}

	.product-detail .sizes button.active {
	  background: #fce6c1;
	  border-color: #f39c12;
	  color: #f39c12;
	}

	/* Description */
	.product-detail .desc {
	  font-size: 14px;
	  color: #555;
	  line-height: 1.5;
	  margin-bottom: 20px;
	  text-align: justify;
	}

	/* Add to cart button */
	.product-detail .add-cart {
	  background: #e74c3c;
	  color: #fff;
	  border: none;
	  padding: 15px;
	  font-size: 16px;
	  width: 100%;
	  border-radius: 10px;
	  cursor: pointer;
	}

  
	.product-detail .add-cart:hover {
	  background: #c0392b;
	}

	/* Thumbnails (mobile) */
	.thumbnails {
	  margin-top: 15px;
	  display: flex;
	  justify-content: center;
	  gap: 10px;
	}

	.thumbnails img {
	  width: 60px;
	  height: 60px;
	  object-fit: cover;
	  border-radius: 6px;
	  cursor: pointer;
	  border: 2px solid transparent;
	  transition: border 0.3s;
	}

	.thumbnails img.active,
	.thumbnails img:hover {
	  border: 2px solid #c60067;
	}


	/* =======================
	   Color Swatches
	======================= */
	.product-detail .colors {
	  display: flex;
	  justify-content: center;
	  gap: 10px;
	  margin: 15px 0 20px;
	}

	.product-detail .color-swatch {
	  width: 28px;
	  height: 28px;
	  border-radius: 50%;
	  border: 2px solid #ddd;
	  cursor: pointer;
	  outline: none;
	  transition: transform 0.2s, border-color 0.2s;
	}

	.product-detail .color-swatch.active {
	  border: 2px solid #f39c12;
	  transform: scale(1.1);
	}

	/* =======================
	   Quantity Selector
	======================= */
	.product-detail .quantity {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  gap: 8px;
	  margin: 20px 0;
	}

	.product-detail .quantity input {
	  width: 60px;
	  text-align: center;
	  font-size: 16px;
	  padding: 8px;
	  border: 1px solid #ddd;
	  border-radius: 6px;
	}

	.product-detail .qty-btn {
	  background: #f1f1f1;
	  border: 1px solid #ddd;
	  padding: 8px 14px;
	  font-size: 18px;
	  cursor: pointer;
	  border-radius: 6px;
	}

	.product-detail .qty-btn:hover {
	  background: #e6007e;
	  color: #fff;
	}
}


/* Success Popup*/

.cart-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #28a745;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: slideIn 0.4s ease-out, fadeOut 0.5s ease-in 2.5s forwards;
}

.cart-popup i {
    font-size: 20px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.divider { border: none; height: 2px; background-color: #e6007e; margin: 20px 20px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	background: linear-gradient(to right, #c60067, #e6007e); border-radius: 2px;  /* smooth edges */}
	
/* ========================================
	CAROUSEL WRAPPER 
========================================== */

.product-carousel-wrapper1 {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

/* === TRACK (HOLDS SLIDES) === */
.product-carousel-track1 {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

/* === EACH SLIDE === */
.product-slide1 {
    /*min-width: 250px;    Adjust depending on design */
    flex-shrink: 0;
    flex: 0 0 20%;    /* exactly 5 items visible */
    max-width: 20%;	
}

/* === NAV BUTTONS === */
.carousel-btn1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 6px 12px;
    border-radius: 10%;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s ease;
	background: var(--primary);
}

.carousel-btn1:hover {
    background: var(--accent-dark);
}

.carousel-prev1 {
    left: 5px;
}

.carousel-next1 {
    right: 5px;
}

/* Disable button look */
.carousel-btn1.disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 992px) {
	.product-slide1 {
		/*min-width: 250px;    Adjust depending on design */
		flex-shrink: 0;
		flex: 0 0 25%;    /* exactly 2 items visible */
		max-width: 25%;	
	}
}

/* Responsive */
@media (max-width: 768px) {
	.product-slide1 {
		/*min-width: 250px;    Adjust depending on design */
		flex-shrink: 0;
		flex: 0 0 33%;    /* exactly 2 items visible */
		max-width: 33%;	
	}
}

@media (max-width: 576px) {
	.product-slide1 {
		/*min-width: 250px;    Adjust depending on design */
		flex-shrink: 0;
		flex: 0 0 50%;    /* exactly 2 items visible */
		max-width: 50%;	
	}
}

    .card1{ background:var(--card); border-radius:6px; padding:8px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:12px; transition:transform .18s ease, box-shadow .18s ease; }
    .card:focus-within, .card:hover{ transform: translateY(-6px); box-shadow: 0 10px 30px rgba(22,22,22,0.08); }
    .media1{
      width:100%; aspect-ratio: 1 / 1; overflow:hidden; border-radius:6px; background:#f6f1f6; display:flex; align-items:center; justify-content:center;
    }
    .media1 img{width:100%; height:100%; object-fit:cover; display:block;}

    .meta1{display:flex; flex-direction:column; gap:6px; padding:0 2px;}
    .title1{font-weight:550; font-size:1.25rem; color:#222; min-height:35px;}
    .price-row1{display:flex; justify-content:space-between; align-items:center; gap:8px;}
    .price1{font-weight:700; color:var(--accent-dark); font-size:12px;}
	.old-price1{font-weight:400; color:var(--dark); font-size:0.9rem;}
    .category1{font-size:0.82rem; color:var(--muted);}

    .actions1{display:flex; gap:8px; align-items:center;}
    .btn1{flex:1; padding:8px 10px; border-radius:6px; border:none; cursor:pointer; font-weight:700;}
    .btn-add1{background:var(--accent); color:white;}
	.btn-disabled1{background:var(--muted); color:black; font-size: 8px;}
    .btn-wish1{background:transparent; border:1px solid #eee; color:var(--muted); padding:8px; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px;}

    /* Badges */
    /* .badge{position:absolute; top:6px; left:10px; background:var(--accent); color:white; padding:6px 10px; border-radius:999px; font-size:0.78rem;} */
	.badge-container1 { position: absolute; top: 3px; left: 6px; display: flex; gap: 6px; /* space between badges */ flex-wrap: wrap; /* optional: wrap if too many */ }
	.badge1 { font-size: 0.78rem; font-weight: 600; }
	.badge.placeholder1 { min-width: 50px; /* adjust width to match typical badge */ }