body {
  font-family: 'Open Sans', Arial, sans-serif;
  margin:0; padding:0;
}

header {
  
  background:#f7f7f7;
  padding:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

nav a {
  margin:0 15px;
  text-decoration:none;
  color:#333;
  font-weight:bold;
}

/* Cart Icon */
.cart-icon {
  position: relative;
  font-size: 28px;
  color: #e91e63;
  cursor: pointer;
  transition: transform 0.2s;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e91e63;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.hero {
  position: relative;
  background: none; /* Remove direct background image */
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 150px 20px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  background: url('image/countdown-4-1000x1000 (logo).jpg') center center/cover no-repeat;
  border-radius: 50%; /* Perfect circle */
  opacity: 0.7; /* Fade effect */
  z-index: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3em;
  margin-top: 160px; /* Add space below the logo */
  margin-bottom: 40px;
}

.hero a {
  background:#e91e63; color:white;
  padding:15px 30px; border-radius:5px;
  text-decoration:none; font-weight:bold;
}

.products {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:30px; padding:50px 20px;
  background:#fff5f5;
}

.product {
  border:1px solid #ddd;
  border-radius:8px;
  padding:20px; text-align:center;
  background:pink;
  transition:0.3s;
}

.product:hover { transform:translateY(-5px); box-shadow:0 5px 15px rgba(0,0,0,0.2); }
.product img { width:100%; border-radius:8px; }
.product h3 { margin:15px 0 10px; }

.product button {
  margin-top:10px;
  padding:10px 20px;
  background:#e91e63; color:white;
  border:none; border-radius:5px;
  cursor:pointer;
  transition: background 0.3s;
}

.product button:hover {
  background: #ad1457;
}

.product-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.product-categories button {
  background: #e91e63;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.product-categories button:hover {
  background: #ad1457;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 10000;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Cart Modal */
.cart-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: 1000;
}

.cart-content {
  background:#fff; 
  padding:30px;
  border-radius:10px; 
  width:90%; 
  max-width:600px;
  max-height: 80vh;
  overflow-y: auto;
  position:relative;
}

.cart-content .close {
  position:absolute; 
  top:15px; 
  right:20px;
  font-size:28px; 
  cursor:pointer;
  color: #666;
}

.cart-content .close:hover {
  color: #e91e63;
}

.cart-content h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #e91e63;
  padding-bottom: 10px;
}

#cartItems {
  margin: 20px 0;
}

.empty-cart {
  text-align: center;
  color: #999;
  padding: 40px 20px;
  font-size: 18px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  margin: 0 0 5px 0;
  color: #333;
}

.cart-item-price {
  color: #666;
  margin: 5px 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.quantity-controls button {
  background: #e91e63;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-controls button:hover {
  background: #ad1457;
}

.quantity-controls span {
  min-width: 30px;
  text-align: center;
  font-weight: bold;
}

.cart-item-total {
  text-align: right;
}

.cart-item-total p {
  font-weight: bold;
  color: #e91e63;
  margin: 0 0 10px 0;
  font-size: 18px;
}

.remove-btn {
  background: #f44336;
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}

.remove-btn:hover {
  background: #d32f2f;
}

.cart-summary {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #eee;
}

.cart-summary h3 {
  text-align: right;
  color: #333;
  font-size: 24px;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.checkout-btn:hover {
  background: #45a049;
}

/* Checkout Modal */
.checkout-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: 1000;
  overflow-y: auto;
}

.checkout-content {
  background:#fff; 
  padding:30px;
  border-radius:10px; 
  width:90%; 
  max-width:600px;
  position:relative;
  margin: 20px auto;
}

.checkout-content .close {
  position:absolute; 
  top:15px; 
  right:20px;
  font-size:28px; 
  cursor:pointer;
  color: #666;
}

.checkout-content .close:hover {
  color: #e91e63;
}

.checkout-content h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #e91e63;
  padding-bottom: 10px;
}

.checkout-content h3 {
  color: #555;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Order Summary */
.order-summary {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.checkout-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.checkout-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.checkout-list li:last-child {
  border-bottom: none;
}

.total-amount {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #e91e63;
  text-align: right;
  font-size: 20px;
  color: #e91e63;
}

/* Payment Selection */
.payment-selection {
  margin: 25px 0;
}

.payment-options {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.payment-option {
  flex: 1;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-option:hover {
  border-color: #e91e63;
  background: #fff5f5;
}

.payment-option input[type="radio"] {
  cursor: pointer;
}

.payment-option input[type="radio"]:checked + span {
  color: #e91e63;
  font-weight: bold;
}

.payment-option span {
  font-size: 16px;
}

/* Payment Forms */
.payment-form {
  margin-top: 20px;
}

.payment-form input,
.payment-form textarea {
  width: 100%; 
  padding: 12px;
  margin: 8px 0; 
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, sans-serif;
}

.payment-form input:focus,
.payment-form textarea:focus {
  outline: none;
  border-color: #e91e63;
}

.payment-form textarea {
  resize: vertical;
  min-height: 80px;
}

.payment-form hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.card-row {
  display: flex;
  gap: 10px;
}

.card-row input {
  flex: 1;
}

.payment-form button {
  width: 100%; 
  padding: 15px;
  background: #e91e63; 
  color: white;
  border: none; 
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.payment-form button:hover {
  background: #ad1457;
}

/* Wish Payment Specific */
.wish-instructions {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
  border-left: 4px solid #2196F3;
}

.wish-instructions p {
  margin: 8px 0;
  color: #333;
}

.wish-details {
  background: white;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  font-family: monospace;
}

.note {
  margin-top: 15px; 
  font-size: 0.9em;
  color: #555; 
  text-align: center;
  padding: 10px;
  background: #fff3cd;
  border-radius: 5px;
}

.about, .contact { 
  padding: 50px 20px; 
  text-align: center; 
}

.footer { 
  background: #f7f7f7; 
  text-align: center; 
  padding: 20px; 
}

.footer {
  background: #f7f7f7;
  padding: 20px 10px;
  text-align: center;
}

.footer-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-text {
  font-weight: bold;
}

.footer-icons a {
  color: #333;
  font-size: 22px;
  transition: color 0.2s;
}

.footer-icons a:hover {
  color: #e91e63;
}

.footer-credit {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.footer-credit p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .payment-options {
    flex-direction: column;
  }
  
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-total {
    text-align: center;
  }
  
  .card-row {
    flex-direction: column;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav a {
    margin: 5px 10px;
  }
}

/* Order Confirmation Popup */
.order-confirmation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.confirmation-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: #4CAF50;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  margin: 0 auto 20px;
}

.confirmation-content h3 {
  color: #333;
  margin: 15px 0;
  font-size: 24px;
}

.confirmation-content p {
  color: #666;
  margin: 10px 0;
  line-height: 1.6;
}

.confirmation-content button {
  margin-top: 25px;
  padding: 12px 30px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.confirmation-content button:hover {
  background: #ad1457;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* =========================
   MOBILE RESPONSIVE FIX
========================= */
@media (max-width: 768px) {

  /* HEADER */
  header {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }

  nav {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  nav a {
    margin: 5px;
    font-size: 14px;
  }

  /* HERO SECTION */
  .hero {
    padding: 80px 15px;
  }

  .hero::before {
    width: 140px;
    height: 140px;
    top: 10px;
  }

  .hero h1 {
    font-size: 1.8em;
    margin-top: 110px;
    margin-bottom: 20px;
  }

  .hero a {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* PRODUCTS GRID */
  .products {
    grid-template-columns: 1fr;
    padding: 30px 10px;
  }

  .product {
    padding: 15px;
  }

  /* CART MODAL */
  .cart-content,
  .checkout-content {
    width: 95%;
    padding: 15px;
  }

  /* CART ITEMS */
  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item img {
    width: 100%;
    height: auto;
  }

  /* FOOTER */
  .footer-icons {
    gap: 10px;
  }

  .footer-credit {
    flex-direction: column;
    gap: 5px;
  }
}
/* ===== 2 PRODUCTS PER ROW ON MOBILE ===== */
@media (max-width: 768px) {

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 10px;
  }

  .product img {
    height: 150px;
    object-fit: cover;
  }

  .product h3 {
    font-size: 16px;
  }

  .product p {
    font-size: 14px;
  }

  .product button {
    padding: 8px 10px;
    font-size: 14px;
  }
}
/* ===== CENTER CATEGORY BUTTONS ===== */
.product-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

/* Default button */
.product-categories button {
  min-width: 110px;
  text-align: center;
  padding: 10px 18px;
  border-radius: 25px;
  background: #f3f3f3;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

/* Hover effect */
.product-categories button:hover {
  background: #e91e63;
  color: white;
  transform: translateY(-2px);
}

/* Active / Selected button */
.product-categories button.active {
  background: #e91e63;
  color: white;
  border-color: #e91e63;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  display: block;
  -webkit-user-select: none; /* Prevent selection on mobile */
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /* Disable long-press menu on iOS */
}

.image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0); /* Transparent but blocks long-press */
}

/* ===== VALENTINE'S DAY SECTION ===== */
.valentine-section {
  background: linear-gradient(135deg, #fff0f5 0%, #ffe6f0 100%);
  padding: 60px 20px;
  margin: 0;
}

.valentine-header {
  text-align: center;
  margin-bottom: 40px;
}

.valentine-header h2 {
  font-size: 2.5em;
  color: #e91e63;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.valentine-header p {
  font-size: 1.2em;
  color: #666;
  font-style: italic;
}

.valentine-products {
  background: transparent !important;
  padding: 0 !important;
}

.product.valentine {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f8 100%);
  border: 2px solid #e91e63;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
  transition: all 0.3s ease;
}

.product.valentine:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
  border-color: #c2185b;
}

.valentine-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.product.valentine h3 {
  color: #e91e63;
  font-size: 1.1em;
}

.product.valentine button {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
}

.product.valentine button:hover {
  background: linear-gradient(135deg, #c2185b 0%, #ad1457 100%);
  box-shadow: 0 5px 15px rgba(233, 30, 99, 0.5);
  transform: translateY(-2px);
}

/* Mobile responsive for Valentine section */
@media (max-width: 768px) {
  .valentine-header h2 {
    font-size: 1.8em;
  }
  
  .valentine-header p {
    font-size: 1em;
  }
  
  .valentine-section {
    padding: 40px 10px;
  }
  
  .valentine-badge {
    font-size: 10px;
    padding: 4px 8px;
  }
}