
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.pagination {
  margin-bottom: 20px;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #f7ecef, #fbeff2);
}

/* HEADER FIXED */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 40px;
  height: 90px;
  background: linear-gradient(90deg, #f5a7b8 0%, #f0b8c4 42%, #f8d1d9 100%);
  box-shadow: 0 4px 14px rgba(224, 124, 150, 0.25);
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.logo {
  width: 200px;
  position: relative;
  z-index: 1;
}

.logo img {
  width: 100%;
  height: auto;
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(255,255,255,0.6));
}

.logo img {
  width: 100%;
  height: auto;
}
/* NAV */
.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #555;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav a:hover {
  background: #e79aa8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(231, 154, 168, 0.3);
}

/* RIGHT */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.categories-header {
  margin-left: 12px;
}

.right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.right-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.right-section input {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #ddd;
}

/* ICONS */
.icon-btn {
  font-size: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.icon-btn:hover {
  background: #f3dce3;
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 4px 12px rgba(231, 154, 168, 0.2);
}

.icon-btn:active {
  transform: scale(1.15) rotate(10deg);
}

.icon-btn.active {
  background: #e79aa8;
  color: white;
  box-shadow: 0 4px 12px rgba(231, 154, 168, 0.3);
}

.icon-btn[data-count]::after {
  content: attr(data-count);
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e79aa8;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(231, 154, 168, 0.3);
}

/* HERO */
.hero {
  min-height: 50vh;
  background-image: url('images/4444.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 40px 20px;
  color: #4a2f2f;
  text-shadow: 0 2px 8px rgba(255,255,255,0.8);
  max-width: 100%;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  color: #6b4f4f;
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero p {
  color: #5c474b;
  font-size: 1.05rem;
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

.action-btn {
  display: inline-block;
  border: none;
  border-radius: 24px;
  padding: 11px 28px;
  background: #e79aa8;
  color: white;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 15px;
}

.action-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(231, 154, 168, 0.45);
}

.action-btn:active {
  transform: translateY(-2px) scale(0.98);
}


/* CONTROL BAR */
.control-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  border: 1px solid #ddd;
  background: white;
  color: #333;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropbtn:hover {
  background: #f3dce3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 154, 168, 0.25);
}

.dropbtn.active {
  background: #e79aa8;
  color: white;
  box-shadow: 0 4px 12px rgba(231, 154, 168, 0.35);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 190px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  border-radius: 12px;
  z-index: 100;
  overflow: hidden;
  border: 1px solid #eee;
  margin-top: 8px;
}

.dropdown-content a,
.dropdown-content button {
  color: #333;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  border: 0;
  width: 100%;
  text-align: left;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dropdown-content a:hover,
.dropdown-content button:hover {
  background: #f3dce3;
  padding-left: 18px;
}

.dropdown-content .active {
  background: #e79aa8;
  color: white;
}

.dropdown.show > .dropdown-content {
  display: block;
}

#favoritesDropdown, #userDropdown {
  top: 100%;
  right: 0;
  left: auto;
  min-width: 180px;
  z-index: 10;
}

.sort-option.active {
  font-weight: 600;
}

/* CATEGORY */
.category-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -30px;
}

.cat {
  padding: 8px 16px;
  border-radius: 25px;
  background: #f3dce3;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
}

.cat:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(231, 154, 168, 0.2);
}

.cat.active {
  background: #e79aa8;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(231, 154, 168, 0.35);
  border-color: #c66080;
}

/* PRODUCTS */
.product-wrapper {
  width: 100%;
}

.product-container {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr)); /* ✅ FIX */

  gap: 20px;

  width: 100%;          /* ✅ CHANGE */
  max-width: 1200px;
  margin: 0 auto;

  padding: 20px;        /* ✅ reduce a bit */
  box-sizing: border-box; /* ✅ IMPORTANT */

  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 30px;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;

  width: 95%;        /* wider */
  max-width: none;   /* ❌ remove limit */
  margin: 0 auto;

  padding: 20px;
  box-sizing: border-box;

  background: rgba(255,255,255,0.6);
  border-radius: 30px;
}

.product-container.fade-out {
  opacity: 0;
  transform: translateX(-20px);
}

.product-container.fade-in {
  opacity: 1;
  transform: translateX(0);
}

.home-page .product-container {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.page {
  background: #fff;
  border: 2px solid #e79aa8;
  color: #e79aa8;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page:hover {
  background: #f7dee5;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(231, 154, 168, 0.25);
}

.page.active {
  background: #e79aa8;
  color: #fff;
  border-color: #e79aa8;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(231, 154, 168, 0.4);
}

.product {
  background: #fff;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(231, 154, 168, 0.22);
}

.product:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(231, 154, 168, 0.35);
  border-color: #c66080;
}

.img-box {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 15px;
}

/* Modal product detail */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-content {
  width: min(90%, 680px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(20px);
  animation: modal-pop 0.28s ease forwards;
}

@keyframes modal-pop {
  from { transform: translateY(20px) scale(0.96); }
  to { transform: translateY(0) scale(1); }
}

.product-modal-header,
.product-modal-body,
.product-modal-footer {
  padding: 18px 20px;
}

.product-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.product-modal-title {
  margin: 0;
  font-size: 1.2rem;
  color: #4f2a39;
}

.product-modal-close {
  background: none;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: #b45f7c;
}

.product-modal-body img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 12px;
}

.product-modal-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ce3d70;
  margin: 10px 0;
}

.product-modal-description {
  color: #5c4b52;
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.product-modal-footer button {
  padding: 10px 16px;
  border-radius: 12px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}

.product-modal-footer .add-cart {
  background: #e79aa8;
  color: white;
}

.product-modal-footer .close-modal {
  background: #f5d7e0;
  color: #7c3753;
}

/* GENERIC MODAL STYLES */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: min(90%, 600px);
  height: 500px; /* FIXED HEIGHT */
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
}
.modal-footer {
  padding: 15px;
  border-top: 1px solid #eee;
  background: #fff;
  position: sticky;
  bottom: 0;
}


.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #f5a7b8 0%, #f0b8c4 100%);
  color: white;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.modal-close:hover {
  transform: scale(1.2);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* ACTIVITIES LIST */
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 10px;
  border-left: 4px solid #e79aa8;
  font-size: 14px;
  color: #555;
}

.activity-item strong {
  color: #4f2a39;
  display: block;
  margin-bottom: 4px;
}

.activity-time {
  font-size: 12px;
  color: #999;
}

.empty-message {
  text-align: center;
  padding: 30px 20px;
  color: #999;
  font-size: 14px;
}

/* FAVORITES LIST */
.favorites-list {
  display: grid;
  gap: 12px;
}

.favorite-item {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.favorite-item:hover {
  background: #f3dce3;
  border-color: #e79aa8;
}

.favorite-item strong {
  color: #4f2a39;
}

.favorite-item-price {
  color: #e79aa8;
  font-weight: 600;
}

.remove-favorite-btn {
  background: #ffcccc;
  color: #c24040;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.remove-favorite-btn:hover {
  background: #ff9999;
  color: #fff;
}

/* CART LIST */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-item {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.cart-item:hover {
  background: #f3dce3;
  border-color: #e79aa8;
}

.cart-item-info strong {
  color: #4f2a39;
  display: block;
  margin-bottom: 4px;
}

.cart-item-price {
  color: #e79aa8;
  font-weight: 600;
}

.remove-cart-btn {
  background: #ffcccc;
  color: #c24040;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.remove-cart-btn:hover {
  background: #ff9999;
  color: #fff;
}

.cart-summary {
  border-top: 2px solid #eee;
  padding-top: 15px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.cart-total span {
  color: #e79aa8;
  font-size: 1.3rem;
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  background: #e79aa8;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 15px;
}

.checkout-btn:hover {
  background: #d87b8d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 154, 168, 0.4);
}

.checkout-btn:active {
  transform: translateY(0);
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PRODUCT ACTIONS */
.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
  width: 100%;
}

/* BUTTON */
.product button {
  background: #e79aa8;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 500;
}

.product button:hover {
  background: #d87b8d;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 154, 168, 0.4);
}

.product button:active {
  transform: scale(0.98);
}

.add-cart-btn {
  flex: 1;
}

.heart-btn {
  background: white;
  color: #e79aa8;
  border: 2px solid #e79aa8;
  padding: 8px 12px;
  min-width: 44px;
  font-size: 1.1rem;
  font-weight: 700;
}

.heart-btn:hover {
  background: #f3dce3;
  border-color: #d87b8d;
}

.heart-btn.favorited {
  background: #e79aa8;
  color: white;
  border-color: #e79aa8;
}

.details-btn {
  background: white;
  color: #e79aa8;
  border: 2px solid #e79aa8;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.details-btn:hover {
  background: #e79aa8;
  color: white;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 154, 168, 0.3);
}

.details-btn:active {
  transform: scale(0.98);
}

/* PAGINATION */
.pagination {
  text-align: center;
  margin: 30px 0;
}

.page {
  background: white;
  border: 1px solid #ddd;
  padding: 8px 14px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
}

/* FOOTER */
.site-footer {
  background: #fff;
  padding: 35px 40px 20px;
  color: #444;
  font-size: 14px;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 15px;
  color: #222;
}

.footer-col a {
  display: block;
  color: #555;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: #e79aa8;
}

.social-icons, .social-icons-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.social-icons-grid a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
}

.social-icons-grid a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-icons-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
}

.signup-subtitle {
  margin: 5px 0 9px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

.social-footer h4 {
  margin-top: 0;
}

.subscribe-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.subscribe-row input {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.accepted-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #333;
}

.payment-icons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.payment-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 5px;
  background: linear-gradient(135deg, #f5d4da 0%, #ffffff 100%);
  border: 1px solid #e8b4c9;
  color: #a13d54;
  font-size: 12px;
  height: 24px;
}

.social-icons-grid a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 79, 112, 0.45);
}

.footer-col input {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.footer-btn {
  width: 100%;
  padding: 8px;
  border: none;
  background: #e79aa8;
  color: white;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 500;
}

.footer-btn:hover {
  background: #d87b8d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 154, 168, 0.3);
}

.footer-btn:active {
  transform: scale(0.98);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 12px;
  font-size: 13px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  margin-left: 10px;
}

.footer-links a:hover {
  color: #e79aa8;
}

.page:hover {
  background: #f3dce3;
}

.page.active {
  background: #e79aa8;
  color: white;
}

/* ABOUT US PAGE */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 40px;
}

.about-left h2 {
  font-size: 28px;
  color: #7f4e6e;
  margin-bottom: 12px;
}

.about-left p {
  color: #5c5c5c;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 15px;
}

.about-left h3 {
  color: #7f4e6e;
  margin-top: 24px;
  margin-bottom: 12px;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlights-list li {
  color: #5c5c5c;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.contact-card {
  background: linear-gradient(135deg, #f5a7b8 0%, #f0b8c4 42%, #f8d1d9 100%);
  padding: 24px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(224, 124, 150, 0.25);
}

.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: #555;
}

.contact-icon {
  font-size: 18px;
}

.values-section {
  background: rgba(245, 220, 227, 0.3);
  padding: 48px 40px;
  margin-top: 24px;
}

.values-section h2 {
  font-size: 32px;
  color: #7f4e6e;
  text-align: center;
  margin-bottom: 32px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(231, 154, 168, 0.2);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.value-card h4 {
  color: #7f4e6e;
  margin: 10px 0;
}

.value-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* BLOG PAGE */
.blog-wrapper {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 20px;
}

.blog-container {
  display: flex;
  flex-direction: column;
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

.post-image-large {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.post-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e79aa8;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
}

.post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-category {
  display: inline-block;
  background: #f5a7b8;
  color: white;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.featured-post h2 {
  color: #7f4e6e;
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.post-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 15px;
}

.post-meta {
  display: flex;
  gap: 16px;
  color: #888;
  font-size: 14px;
  margin-bottom: 16px;
}

.read-more {
  color: #e79aa8;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.read-more:hover {
  color: #d87b8d;
  text-decoration: underline;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(231, 154, 168, 0.2);
}

.post-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.blog-card:hover .post-image img {
  transform: scale(1.05);
}

.post-category-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e79aa8;
  color: white;
  padding: 5px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
}

.blog-card-content {
  padding: 18px;
}

.blog-card h4 {
  color: #7f4e6e;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.3;
  min-height: 40px;
}

.blog-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
  min-height: 42px;
}

.post-stats {
  display: flex;
  gap: 14px;
  color: #999;
  font-size: 13px;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: white;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-widget h4 {
  color: #7f4e6e;
  margin: 0 0 12px;
  font-size: 15px;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget li {
  margin-bottom: 8px;
}

.sidebar-widget a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.sidebar-widget a:hover {
  color: #e79aa8;
}

.tip-card {
  background: linear-gradient(135deg, #f5e8ec 0%, #fef3f5 100%);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 3px solid #e79aa8;
}

.tip-card p {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

.sidebar-widget input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .blog-wrapper {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT PAGE */
.contact-hero {
  background-image: url('images/4444.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  color: #4a2f2f;
  text-align: center;
  padding: 80px 20px;
  min-height: 50vh;
  text-shadow: 0 2px 8px rgba(255,255,255,0.8);
}

.contact-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.contact-hero p {
  font-size: 20px;
  opacity: 0.9;
}

.contact-section {
  padding: 60px 20px;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.contact-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(231, 154, 168, 0.15);
}

.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #7f4e6e;
  margin-bottom: 16px;
}

.contact-card p {
  color: #666;
  margin-bottom: 12px;
}

.contact-card a {
  color: #e79aa8;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

.contact-card a:hover {
  text-decoration: underline;
}

.social-media-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.social-media-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #7f4e6e;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.social-icon:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 36px;
  }

  .contact-hero p {
    font-size: 18px;
  }
}

/* FAVORITED HEART */
.heart-btn.favorited {
  background: #e79aa8;
  color: white;
}

.product-modal {
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,0.6);
justify-content:center;
align-items:center;
z-index:999;
}

.product-modal.active {
display:flex;
}

.product-modal-content {
background:white;
width:400px;
border-radius:10px;
padding:15px;
}

.product-modal img {
width:100%;
height:250px;
object-fit:cover;
border-radius:10px;
}

.product-modal-header {
display:flex;
justify-content:space-between;
align-items:center;
}

.product-modal-footer button {
width:100%;
padding:10px;
background:#e79aa8;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
}


/* BIG MODAL STYLE (LAZADA STYLE) */

.big-modal {
  width: 900px;
  max-width: 95%;
}

.product-layout {
  display: flex;
  gap: 25px;
}

/* LEFT */
.modal-left img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* RIGHT */
.modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* PRICE */
.price-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.new-price {
  font-size: 28px;
  font-weight: 700;
  color: #e79aa8;
}

.old-price {
  text-decoration: line-through;
  color: #999;
}

.discount {
  background: #e79aa8;
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
}

/* RATING */
.rating {
  color: #f5a623;
}

/* SHIPPING */
.shipping {
  font-size: 14px;
  color: #555;
}

/* DESCRIPTION */
.description {
  font-size: 14px;
  color: #666;
}

/* QUANTITY */
.quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity button {
  padding: 6px 12px;
  border: none;
  background: #f3dce3;
  cursor: pointer;
  border-radius: 6px;
}

/* BUTTONS */
.modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#buyNow {
  flex: 1;
  background: #ff6b81;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

#modalAddCart {
  flex: 1;
  background: #e79aa8;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

.checkout-box {
  width: 650px;
  height: 500px;      /* fixed size */
  overflow-y: auto;   /* scroll instead of resize */
}

.order-tabs {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.order-tabs span {
  cursor: pointer;
  color: #777;
}

.order-tabs .active {
  color: #e79aa8;
  font-weight: bold;
}

#checkoutList {
  padding: 15px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.checkout-footer {
  padding: 15px;
  border-top: 1px solid #eee;
}

#placeOrder {
  width: 100%;
  padding: 10px;
  background: #e79aa8;
  color: white;
  border: none;
  border-radius: 8px;
}

/* BUTTON HOVER EFFECT */
.modal-buttons button {
  transition: all 0.3s ease;
  cursor: pointer;
}

.modal-buttons button:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: #ff4d6d;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.add-cart-btn,
#buyNow {
  transition: all 0.3s ease;
}

.add-cart-btn:hover,
#buyNow:hover {
  transform: scale(1.05);
  background-color: #ff4d6d;
  color: white;
}


.favorite-item,
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fav-img,
.cart-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.fav-info,
.cart-info {
  flex: 1;
}

.open-product {
  cursor: pointer;
  color: #333;
}

.open-product:hover {
  text-decoration: underline;
}

.fav-img,
.cart-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}