:root {
  --primary-pink: #e91e63;
  --light-pink: #fff5f8;
  --dark-pink: #c2185b;
  --text-dark: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fff;
  color: var(--text-dark);
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--primary-pink);
}

.logo span {
  color: var(--text-dark);
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 60px 40px;
  background: var(--light-pink);
  gap: 30px;
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--primary-pink);
  line-height: 1.2;
}

.hero-text p {
  margin: 20px 0;
  font-size: 16px;
  color: #555;
}

.btn-primary {
  background: var(--primary-pink);
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--dark-pink);
}

.hero-img img {
  width: 350px;
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* SHOP */
.shop {
  padding: 60px 40px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.2s ease;
  width: 100%;
  padding: 12px;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  text-align: center;
}

.product-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  text-align: center;
}

.product-card strong {
  color: var(--primary-pink);
}

.product-card button {
  background: var(--primary-pink);
  color: white;
  border: none;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 20px;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s;
  width: auto;
}

.product-card button:hover {
  background: var(--dark-pink);
}

/* QUANTITY (PRODUCT PAGE) */
.qty {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty button {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--primary-pink);
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

/* ABOUT & CONTACT */
.about, .contact {
  padding: 60px 40px;
  text-align: center;
}

.contact-form {
  max-width: 400px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: var(--primary-pink);
  color: white;
  border: none;
  border-radius: 20px;
}

/* FLOATING BUTTONS */
.whatsapp-btn, .call-btn {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  font-size: 22px;
  color: white;
  text-decoration: none;
}

.whatsapp-btn {
  right: 20px;
  background: #25D366;
}

.call-btn {
  right: 80px;
  background: var(--primary-pink);
}

/* FOOTER */
footer {
  background: var(--primary-pink);
  color: white;
  text-align: center;
  padding: 15px;
}

/* ================= CART PAGE ================= */

.cart-container {
  display: flex;
  gap: 40px;
  padding: 40px 8%;
  flex-wrap: wrap;
}

.cart-left {
  flex: 2;
  min-width: 300px;
}

.cart-right {
  flex: 1;
  min-width: 280px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  height: fit-content;
}

.cart-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cart-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-info h4 {
  margin: 0 0 5px;
  font-size: 16px;
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.qty-box button {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--primary-pink);
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.qty-box button:hover {
  background: var(--dark-pink);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--primary-pink);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  transition: 0.3s;
}

.remove-btn:hover {
  color: var(--dark-pink);
}

#cartTotal p {
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
}

#cartTotal h3 {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.checkout-box {
  margin-top: 25px;
}

.checkout-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.order-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-pink);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.order-btn:hover {
  background: var(--dark-pink);
  transform: translateY(-2px);
}

/* ================= NOTIFICATION BOX ================= */

.notify {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  padding: 14px 22px;
  border-left: 5px solid var(--primary-pink);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-size: 14px;
  color: var(--text-dark);
  opacity: 0;
  transform: translateX(100%);
  transition: 0.4s ease;
  z-index: 9999;
}

.notify.show {
  opacity: 1;
  transform: translateX(0);
}

.notify.success {
  border-left-color: var(--primary-pink);
}

.notify.error {
  border-left-color: #ff4d4d;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .cart-container {
    flex-direction: column;
    padding: 20px;
  }

  .cart-right {
    width: 100%;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

.hero-img img {
  width: 500px;      /* Bigger size */
  height: 500px;     /* Square */
  object-fit: cover; 
  border-radius: 20px; /* Not circle */
}
@media (max-width: 768px) {
  .hero-img img {
    width: 300px;
    height: 300px;
  }
}
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 30px;
  }
}
.sold-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e91e63;
  color: white;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 20px;
  z-index: 5;

  white-space: nowrap;
  display: inline-block;
}
/* ================= GLOBAL RESPONSIVE FIX ================= */

img {
  max-width: 100%;
  height: auto;
}

/* ================= NAVBAR MOBILE ================= */

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    margin-left: 0;
    font-size: 14px;
  }
}

/* ================= HERO FIX ================= */



/* ================= PRODUCT CARD FIX ================= */

@media (max-width: 1024px) {

  .product-card {
    max-width: 100%;
  }

}

/* ================= PRODUCT DETAILS PAGE ================= */

@media (max-width: 900px) {

  .product-page {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .main-img {
    height: auto;
    max-height: 400px;
  }

  .product-info {
    max-width: 100%;
  }
}

/* ================= ADMIN TABLE RESPONSIVE ================= */

@media (max-width: 768px) {

  .product-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

}

/* ================= ORDERS PAGE RESPONSIVE ================= */

@media (max-width: 768px) {

  .order-header {
    flex-direction: column;
    gap: 5px;
  }

  .order-items {
    justify-content: center;
  }

  .item-box {
    width: 100%;
    max-width: 200px;
  }

}
/* ================= PRODUCT IMAGE MOBILE FIX ================= */

@media (max-width: 600px) {

  .product-card img {
    height: 160px;
  }

  .product-card {
    padding: 12px;
  }

  .product-card h3 {
    font-size: 16px;
  }

  .product-card p {
    font-size: 14px;
  }

}
/* ================= MOBILE PRODUCT GRID FIX ================= */

@media (max-width: 600px) {

  .shop {
    padding: 40px 15px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
  }

  .product-card img {
    height: 150px;
  }

}
/* ================= MOBILE GRID FIX (CORRECT CLASS) ================= */

@media (max-width: 600px) {

  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 10px !important;
  }

  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px;
  }

  .product-card img {
    height: 110px !important;
  }
  .product-card strong {
  color: var(--primary-pink);
  white-space: nowrap;   /* PREVENT PRICE BREAK */
}
}


/* ===== NEW NAVBAR ===== */
.admin-navbar {
  background: white;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.admin-logo {
  font-size: 20px;
  font-weight: 700;
  color: #e91e63;
}

.admin-logo span {
  color: black;
}

.admin-menu {
  display: flex;
  gap: 25px;
}

.admin-menu button {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #555;
}

.admin-menu button:hover {
  color: #e91e63;
}

/* ===== MESSAGE CARDS ===== */
#messagesSection {
  display: none;
  margin-top: 30px;
}

.message-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 15px;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.message-name {
  font-weight: 600;
  color: #e91e63;
}

.message-email {
  font-size: 13px;
  color: #777;
}

.message-text {
  font-size: 14px;
  color: #444;
}
.product-card button {
  background: var(--primary-pink);
  color: white;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 20px;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  white-space: nowrap;  /* PREVENT BREAK */
}
.product-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.2s ease;
  width: 100%;
  max-width: 260px;
  margin: auto;
  padding: 10px;   /* REDUCED */
}
.product-card img {
  width: 100%;
  height: 240px;   /* Slightly taller */
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
  }

  .product-card {
    padding: 10px;
  }

  .product-card img {
    height: 160px;
  }

}
body {
  overflow-x: hidden;
}

.insta-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #E1306C;
  color: white;
  font-size: 22px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.insta-btn:hover {
  transform: scale(1.1);
}