/* ===== CSS Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== CSS Variables ===== */
:root {
  --primary-color: #6e4e29;
  --primary-dark: #5a4022;
  --text-color: #333;
  --text-light: #555;
  --bg-light: #f8f5f0;
  --bg-gray: #e3e5e7;
  --white: #fff;
  --black: #000;
  --error: #e74c3c;
  --shadow: 0 2px 5px rgba(0,0,0,0.1);
  --transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;

  --font-base: 16px;
  --font-large: 2rem;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --border-radius: 8px;
}

/* ===== Base Styles ===== */
html {
  scroll-behavior: smooth;
  font-size: var(--font-base);
  /* Fix scroll behavior trên mobile */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
  /* Fix iPhone X notch và safe area */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  /* Fix scroll behavior */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus, button:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

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

button, .button {
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

/* ===== Header & Navigation ===== */
.menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible; /* để badge không bị cắt */
}

/* Mobile Header - Rule này đã được định nghĩa ở dưới */

.logo-mobile {
  font: 700 1.8rem 'Playfair Display', serif;
  color: var(--primary-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  font: 700 1.8rem 'Playfair Display', serif;
  color: var(--primary-color);
  z-index: 1001;
}

/* Desktop Menu */
.main-menu {
  display: flex;
  gap: var(--spacing-lg);
  margin: 0 auto;
}

/* Text nút Add to Cart: desktop vs mobile */
@media (min-width: 769px) {
  .btn-text-desktop { display: inline !important; }
  .btn-text-mobile { display: none !important; }
}
@media (max-width: 768px) {
  .btn-text-desktop { display: none !important; }
  .btn-text-mobile { display: inline !important; }
}

/* Desktop: căn giữa cụm menu, cố định logo trái và giỏ hàng phải */
@media (min-width: 1024px) {
  /* Dùng grid để giữ menu luôn ở giữa và logo/cart ở hai bên, không chồng đè */
  .menu-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 20px;
    overflow: visible;
  }

  .menu-bar .logo {
    position: static;
    transform: none;
    justify-self: start;
  }

  .main-menu {
    position: static;
    transform: none;
    justify-self: center;
    display: flex;
    gap: var(--spacing-lg);
    white-space: nowrap;
  }

  .menu-bar .cart-icon {
    position: relative; /* để badge bám theo cart */
    transform: none;
    justify-self: end;
  }

  /* Điều chỉnh vị trí badge để không bị cắt mép trên */
  .cart-icon .cart-count {
    top: -8px; /* nhô lên đầu nhẹ cho đẹp */
    right: -4px; /* dính sát mép phải icon */
  }
}

/* Laptop widths: giữ menu ở giữa, tránh bị đè bởi logo/cart */
@media (min-width: 769px) and (max-width: 1279px) {
  .menu-bar { padding: var(--spacing-md) 40px; }
  .main-menu { gap: 20px; }
  
  /* Hiển thị 3 cột trên laptop */
  .product-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
  }
}

/* Kiểm soát header: Desktop hiển thị desktop header, ẩn mobile header */
@media (min-width: 1025px) {
  .mobile-menu-header { 
    display: none !important; 
  }
  .pdp-page .mobile-menu-header {
    display: none !important;
  }
  .menu-bar { 
    display: flex !important; 
  }
}

/* Đảm bảo mobile header ẩn trên desktop */
@media (min-width: 1024px) {
  .mobile-menu-header { 
    display: none !important; 
  }
  .pdp-page .mobile-menu-header {
    display: none !important;
  }
  /* Desktop: chỉ dùng nút back kiểu desktop, ẩn nút back mobile */
  .back-button-mobile {
    display: none !important;
  }
}

/* MOBILE HEADER - CỐ ĐỊNH HOÀN TOÀN TRÊN MOBILE */
@media (max-width: 1023px) {
  .mobile-menu-header {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transform: none !important;
    transition: none !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
  }
  
  /* Đảm bảo header KHÔNG BAO GIỜ biến mất */
  .mobile-menu-header.hide,
  .mobile-menu-header.show {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }
}



.main-menu > li {
  position: relative;
  padding: var(--spacing-sm) 0;
}

.main-menu > li > a {
  font-weight: 500;
  color: var(--text-color);
  text-transform: uppercase;
  transition: var(--transition);
  font-size: 0.9rem;
}

.main-menu > li > a:hover {
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.main-menu > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  padding: var(--spacing-sm) var(--spacing-md);
  position: relative;
}

.dropdown-menu li a {
  color: var(--text-color);
  white-space: nowrap;
  transition: var(--transition);
  font-size: 0.85rem;
  display: block;
}

.dropdown-menu li a:hover {
  color: var(--primary-color);
}

/* Nested Dropdown Menu */
.nested-dropdown {
  position: relative;
}

.nested-dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 101;
}

.nested-dropdown:hover .nested-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nested-dropdown-menu li {
  padding: var(--spacing-sm) var(--spacing-md);
}

.nested-dropdown-menu li a {
  font-size: 0.8rem;
}

/* Cart Icon */
.cart-icon {
  position: relative;
  cursor: pointer;
  margin-left: auto;
}

.cart-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--error);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Mobile Header */
.mobile-menu-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 20px;
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  transform: none !important;
  transition: none !important;
}



.logo-mobile {
  font: 700 1.2rem 'Playfair Display', serif;
  color: var(--primary-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger-menu, .close-menu {
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  min-width: 50px;
  min-height: 50px;
  background: transparent;
  border: none;
  position: relative;
}

.close-menu {
  display: none;
}

.cart-icon-mobile {
  position: relative;
  margin-left: auto;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon-mobile i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.cart-icon-mobile .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--error);
  color: var(--white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ===== Hero Section ===== */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  height: 89vh;
  min-height: 500px;
  position: relative;
}

/* Desktop/Mobile Hero Separation */
.desktop-hero {
  display: block;
}

.mobile-hero {
  display: none;
}

/* Mobile Hero Section - ONLY for phones, NOT tablets */
@media (max-width: 480px) {
  .desktop-hero {
    display: none;
  }
  
  .mobile-hero {
    display: block;
    height: 65vh;
    min-height: 350px;
  }
}

/* Mờ dần nhẹ ở chân banner để chuyển sang nền section tiếp theo êm hơn */
.hero-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(248,245,240,0.65) 60%, rgba(248,245,240,1) 100%);
}

/* Reusable vignette-style fades for section transitions */
.bg-fade-top { position: relative; }
.bg-fade-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.10) 35%, rgba(0,0,0,0.0) 70%);
  opacity: .10; pointer-events: none;
}

.bg-fade-bottom { position: relative; }
.bg-fade-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.10) 35%, rgba(0,0,0,0.0) 70%);
  opacity: .10; pointer-events: none;
}

/* ===== Introduction Section ===== */
.introduction-section {
  padding: 20px var(--spacing-lg) 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-light) 80%, #ffffff 100%);
  text-align: center;
  margin-top: 0;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.intro-title {
  font-size: var(--font-large);
  margin-bottom: var(--spacing-lg);
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: var(--spacing-lg) auto var(--spacing-lg);
}

.intro-text {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
}

.signature {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary-color);
  margin-top: var(--spacing-lg);
}

/* ===== Location Container ===== */
.location-container {
  display: flex;
  justify-content: space-around;
  padding: 60px var(--spacing-lg);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 60%, rgba(255,255,255,0.98) 100%);
  /* bỏ đường kẻ cứng, thay bằng đổ bóng nhẹ ở rìa trên/dưới */
  box-shadow: inset 0 8px 12px -12px rgba(0,0,0,0.12), inset 0 -8px 12px -12px rgba(0,0,0,0.12);
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.location-section {
  flex: 1;
  min-width: 280px;
  text-align: center;
  background-color: var(--bg-gray);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  /* đổ bóng mềm hơn */
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.location-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.address, .hours, .contact-info {
  font-size: 1rem;
  color: var(--text-light);
}

.contact-email, .contact-phone {
  margin-bottom: 5px;
}

/* ===== Product Gallery ===== */
.gallery-header {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: var(--bg-light);
  position: relative;
}

/* fade bottom of gallery header into next section */
.gallery-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(248,245,240,0) 0%, rgba(248,245,240,1) 100%);
}

.gallery-header .main-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

/* Elegant underline ornament for section title */
.gallery-header .main-title::after { content: none; }

.gallery-container {
  padding: 42px var(--spacing-lg);
  background-color: var(--bg-light);
  /* Clean background, gradients only handled by ::before/::after or section edges */
  background-image: none;
  position: relative;
}

.gallery-container::before,
.gallery-container::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 50px;
  pointer-events: none;
}
.gallery-container::before { top: 0; background: linear-gradient(to top, rgba(248,245,240,0) 0%, rgba(248,245,240,1) 100%); }
.gallery-container::after { bottom: 0; background: linear-gradient(to bottom, rgba(248,245,240,0) 0%, rgba(248,245,240,1) 100%); }

/* Mobile styles đã được xử lý trong responsive.css */

.products-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Product Types cards – compact and elegant */
.gallery-container .product-card {
  min-height: auto;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.gallery-container .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.gallery-container .product-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  letter-spacing: 0.3px;
  color: var(--primary-color);
}

.gallery-container .product-card .product-desc p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
}

/* Mobile styles đã được di chuyển vào responsive.css */

.product-card {
  background-color: var(--white);
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: visible !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 500px;
  padding: 20px;
  align-items: center;
  position: relative;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  margin-top: 20px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.product-card a {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.product-card a:focus {
  outline: none;
  box-shadow: none;
}

/* ===== Minimal Products ===== */
.minimal-products {
  padding: 80px var(--spacing-lg);
  background-color: var(--white);
  text-align: center;
  position: relative;
}

/* smooth transitions around minimal-products (white in giữa các block bg-light) */
.minimal-products::before,
.minimal-products::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  pointer-events: none;
}
.minimal-products::before { top: 0; background: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%, rgba(248,245,240,1) 100%); }
.minimal-products::after { bottom: 0; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%, rgba(248,245,240,1) 100%); }

.collection-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.collection-header h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.collection-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.container-parent {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Product Info Styles ===== */
.product-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
  width: 100%;
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-color);
  line-height: 1.3;
  font-weight: 600;
}

.product-info .price { display:none; }

/* ADD TO CART Button Styles */
.add-to-cart-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(110, 78, 41, 0.3);
  font-family: 'Montserrat', sans-serif;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 78, 41, 0.4);
}

.add-to-cart-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== Contact Section ===== */
.contact-section {
  background-color: var(--bg-light);
  padding: 80px var(--spacing-lg);
  text-align: center;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 60px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(248,245,240,0) 0%, rgba(248,245,240,1) 100%);
}

.contact-section h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-left, .form-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  text-align: left;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: #fcfcfc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(110, 78, 41, 0.2);
}

.form-group.message-group {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  flex-grow: 1;
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 25px;
  border: none;
}

.submit-button:hover {
  background-color: var(--primary-dark);
}

/* ===== Product Detail Page (PDP) Styles ===== */
.pdp-page {
  background-color: var(--bg-light);
}

.pdp-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 60px 20px;
  background: linear-gradient(135deg, #f8f5f0 0%, #ffffff 100%);
  min-height: 100vh;
}

/* Mobile PDP styles moved to responsive.css to avoid conflicts */

/* PDP mobile styles moved to responsive.css - NO CONFLICTS */

.pdp-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pdp-image {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 3px solid rgba(255, 255, 255, 0.8);
  padding: 20px;
}

.pdp-main-image {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: all 0.3s ease;
  will-change: transform, opacity;
}

/* Tablet PDP styles moved to responsive.css to avoid conflicts */

.pdp-image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Disable PDP hover zoom (keep static image) */
@media (hover: hover) and (pointer: fine) {
  .pdp-image { cursor: default; }
  .pdp-image:hover .pdp-main-image { transform: none; }
}

/* ===== PDP LIGHTBOX ===== */
.image-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
}

.image-lightbox-overlay.active { display: flex; }

.image-lightbox {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 80vh;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-stage {
  position: absolute;
  inset: 0 0 80px 0; /* leave space for thumbs */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#lightboxImage {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* always fit, no zoom */
}

.lightbox-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  overflow-x: auto;
  background: rgba(0,0,0,0.35);
}

.lightbox-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background-position: center;
  background-size: cover;
  border: 2px solid transparent;
  flex: 0 0 auto;
  cursor: pointer;
}

.lightbox-thumb.active { border-color: #c9a574; }

.lightbox-btn {
  position: absolute;
  top: 10px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  backdrop-filter: saturate(120%) blur(4px);
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.35); transform: translateY(-1px); }
.lightbox-btn:active { transform: translateY(0); }

.lightbox-close { right: 10px; }
.lightbox-nav.prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Lightbox mobile styles đã được di chuyển vào responsive.css */

/* Image Gallery Styles */
.pdp-image-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== GALLERY STYLES - DESKTOP ===== */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 20px;
  max-width: 100%;
}

.gallery-thumbnail {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0.8;
}

.gallery-thumbnail:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.gallery-thumbnail.active {
  opacity: 1;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(110, 78, 41, 0.3);
  transform: scale(1.05);
}

/* Tablet (<=1023px) */
/* PDP tablet styles đã được di chuyển vào responsive.css */

/* PDP mobile styles đã được xử lý trong responsive.css */

.pdp-info {
  padding: 20px 0;
}

.pdp-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.pdp-price { display:none; }

.pdp-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 40px;
  text-align: justify;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.pdp-description p {
  margin-bottom: 20px;
  padding: 0;
  text-indent: 0;
}

.pdp-description p:last-child {
  margin-bottom: 0;
}

.pdp-description p {
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
}

.pdp-description p:first-child {
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  font-size: inherit;
}

.add-to-cart-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 18px 45px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(110, 78, 41, 0.3);
  font-family: 'Montserrat', sans-serif;
}

.add-to-cart-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.back-button-container {
  position: absolute;
  left: 20px;
}

.back-button {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.back-button:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.back-button-mobile {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 10px;
}

/* Style riêng cho nút back trên PDP mobile */
.pdp-page .back-button-mobile {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  box-shadow: 0 2px 8px rgba(110, 78, 41, 0.2);
}

/* Rule ẩn mobile header đã được di chuyển lên trên */

.back-button-mobile:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ===== Back to Top Button ===== */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background-color: var(--primary-dark);
}

/* ===== Cart Sidebar ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Bảo đảm phần thân giỏ hàng có thể scroll khi nhiều sản phẩm */
.cart-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
}

.cart-sidebar.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  position: relative;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.item-details {
  flex: 1;
}

.item-details h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.item-details p {
  margin: 0 0 10px 0;
  color: #666;
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-input {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: white;
  color: var(--text-color);
  cursor: text;
  -ms-user-select: text;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

.quantity-input:hover {
  border-color: var(--primary-color);
  background-color: #f9f9f9;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(110, 78, 41, 0.2);
  background-color: white;
}

/* Remove spinner arrows */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type=number] {
  -moz-appearance: textfield;
}

/* ===== Checkout Popup Styles ===== */
.checkout-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.checkout-popup-overlay.active {
  display: flex;
}

/* Custom Alert Styles */
.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.custom-alert {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.custom-alert-message {
  margin-bottom: 20px;
  font-size: 16px;
}

.custom-alert-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.custom-alert-button:hover {
  background-color: var(--primary-dark);
}

.checkout-popup {
  background-color: var(--white);
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.checkout-popup-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-popup-header h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.close-checkout-popup {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.close-checkout-popup:hover {
  background-color: #f5f5f5;
  color: var(--primary-color);
}

.checkout-popup-body {
  padding: 20px;
}

.checkout-message {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkout-popup .form-group {
  margin-bottom: 15px;
}

.checkout-popup .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.checkout-popup .form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: var(--transition);
  box-sizing: border-box;
}

.checkout-popup .form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(110, 78, 41, 0.2);
}

.checkout-summary {
  margin: 20px 0;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.checkout-summary h3 {
  margin: 0 0 10px 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.checkout-total { display:none; }

.checkout-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.cancel-btn, .submit-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cancel-btn {
  background-color: #f5f5f5;
  color: var(--text-color);
}

.cancel-btn:hover {
  background-color: #e0e0e0;
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.remove-item {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.cart-footer p { display:none; }

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: #6e4e29;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.checkout-btn:hover {
  background: #5a4022;
}

.empty-cart-message {
  text-align: center;
  padding: 40px 0;
  color: #666;
}

/* Đảm bảo các nút có thể click */
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* ===== Responsive Styles ===== */

/* Desktop and below */
@media (max-width: 1200px) {
  .menu-bar {
    padding: var(--spacing-md) 20px;
  }

  .main-menu {
    gap: var(--spacing-md);
  }
}

/* Mobile Menu CSS moved to responsive.css to avoid conflicts */



.mobile-nav {
  padding: 80px 30px 30px;
  height: 100%;
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list > li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu-list > li > a {
  font-weight: 500;
  color: var(--text-color);
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  padding: 10px 0;
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 15px;
}

.mobile-submenu li {
  padding: 8px 0;
}

.mobile-submenu a {
  color: var(--text-light);
  font-size: 0.85rem;
  display: block;
}

.mobile-submenu a:hover,
.mobile-menu-list > li > a:hover {
  color: var(--primary-color);
}

/* Nested Submenu for Mobile */
.mobile-nested-submenu {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  border-left: 1px solid rgba(110, 78, 41, 0.2);
}

.mobile-nested-submenu li {
  padding: 5px 0;
}

.mobile-nested-submenu a {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition);
}

.mobile-nested-submenu a:hover {
  color: var(--primary-color);
}

/* Mobile ADD TO CART Button Styles */
.add-to-cart-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===== DUPLICATE CSS REMOVED ===== */
/* This section was causing conflicts with the main PDP styles above */

/* Gallery styles already restored above */

.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pdp-title {
  margin-bottom: 0;
}

/* Trust badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  font-size: 0.95rem;
}

.trust-badges .badge i { color: var(--primary-color); }

/* DUPLICATE REMOVED - Already handled in main PDP section */

/* PDP Menu Bar Layout - Logo ở giữa */
.pdp-page .menu-bar {
  justify-content: center;
  position: relative;
  padding: 40px var(--spacing-lg); /* mập hơn một chút */
  background-color: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Fade nhẹ dưới thanh PDP menubar để đồng bộ với ngoài */
.pdp-page .menu-bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(248,245,240,0.65) 70%, rgba(248,245,240,1) 100%);
}

/* Ẩn menubar trên trang PDP */
.pdp-page .main-menu {
  display: none !important;
}



.pdp-page .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1002;
  /* Đảm bảo cùng style với logo chính */
  font: 700 1.8rem 'Playfair Display', serif;
  color: var(--primary-color);
  /* Loại bỏ focus outline */
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.pdp-page .logo:focus {
  outline: none;
  box-shadow: none;
}

.pdp-page .back-button-container {
  position: absolute;
  left: var(--spacing-lg);
  z-index: 1001;
}

.pdp-page .cart-icon {
  position: absolute;
  right: var(--spacing-lg);
  z-index: 1001;
}



.back-button {
  background-color: var(--primary-color);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  transition: all 0.2s ease-in-out;
  margin-left: 20px;
}

.back-button:hover {
  background-color: rgba(0,0,0,0.05);
  transform: translateX(-3px);
}















/* Style cho nút Add to Cart trong product cards */
.add-to-cart-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 3px 12px rgba(110, 78, 41, 0.12);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.add-to-cart-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.4s;
}

.add-to-cart-btn:hover::before {
  left: 100%;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(110, 78, 41, 0.2);
}

.add-to-cart-btn:active {
  transform: translateY(0) scale(1.01);
}

.add-to-cart-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(110, 78, 41, 0.3), 0 3px 12px rgba(110, 78, 41, 0.12);
}

/* DUPLICATE REMOVED - This CSS was conflicting with tablet responsive design */

/* Mobile Header Fix */
/* Mobile PDP styles moved to responsive.css - NO CONFLICTS */

/* Cart sidebar open (JS toggled) */
#cartSidebar.open {
  transform: translateX(0);
  opacity: 1 !important;
  z-index: 1000 !important;
}
/* Loại bỏ viền khi focus hoặc active trên các link dropdown */
.dropdown-menu li a:focus,
.dropdown-menu li a:active,
.dropdown-menu li a:focus-visible {
    outline: none;
    box-shadow: none;
    border: none;
}
/* Product styles for 480px moved to responsive.css */
/* Ngăn chặn sự kiện click lan truyền */
.cart-item * {
  pointer-events: none;
}

.cart-item button {
  pointer-events: auto;
}

/* Đảm bảo các nút trong giỏ hàng có cursor pointer */
.quantity-btn, .remove-item {
  cursor: pointer;
}

/* ===== Back to Top Button ===== */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.back-top:active {
  transform: translateY(0);
}

/* ===== Loại bỏ viền focus cho logo ===== */
.logo:focus,
.logo:focus-visible,
.logo:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Loại bỏ viền focus cho tất cả links trong navigation */
.menu-bar a:focus,
.menu-bar a:focus-visible,
.menu-bar a:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Mobile logo cũng không có viền */
.logo-mobile:focus,
.logo-mobile:focus-visible,
.logo-mobile:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Mobile Menu styles moved to responsive.css */

/* Desktop-only: Ẩn hoàn toàn mobile header trong PDP (kể cả inline style) */
@media (min-width: 1024px) {
  .pdp-page .mobile-menu-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    z-index: -1 !important;
  }
}
/* Mobile PDP styles moved to responsive.css to avoid conflicts */

/* Layout updated - Single Column - 09/03/2025 08:17:38 */

/* ===== NOTIFICATION POPUP ===== */
.notification-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 10000;
  max-width: 400px;
  width: 90%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.notification-popup.show {
  opacity: 1;
  visibility: visible;
}

.notification-popup.success {
  border-left: 5px solid #27ae60;
}

.notification-popup.error {
  border-left: 5px solid #e74c3c;
}

.notification-popup h3 {
  margin: 0 0 15px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

.notification-popup.success h3 {
  color: #27ae60;
}

.notification-popup.error h3 {
  color: #e74c3c;
}

.notification-popup p {
  margin: 0 0 20px 0;
  color: #666;
  line-height: 1.5;
}

.notification-popup .popup-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notification-popup .popup-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.notification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.notification-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile notification popup */
@media (max-width: 768px) {
  .notification-popup {
    max-width: 320px;
    padding: 25px 20px;
  }
  
  .notification-popup h3 {
    font-size: 1.3rem;
  }
  
  .notification-popup p {
    font-size: 0.9rem;
  }
  
  .notification-popup .popup-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* ===== CONTACT FORM MOBILE FIX ===== */
@media (max-width: 480px) {
  .contact-form {
    padding: 20px 15px !important;
    gap: 20px !important;
    margin: 0 10px !important;
    max-width: calc(100vw - 20px) !important;
    box-sizing: border-box !important;
  }
  
  .form-left, .form-right {
    min-width: 0 !important;
    width: 100% !important;
    gap: 15px !important;
  }
  
  .form-group {
    width: 100% !important;
    margin: 0 !important;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  .form-group label {
    font-size: 0.95rem !important;
    margin-bottom: 5px !important;
  }
  
  .contact-section {
    padding: 40px 10px !important;
  }
  
  .contact-section h2 {
    font-size: 2rem !important;
    margin-bottom: 30px !important;
  }
}

@media (max-width: 320px) {
  .contact-form {
    margin: 0 5px !important;
    padding: 15px 10px !important;
    max-width: calc(100vw - 10px) !important;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 8px 10px !important;
    font-size: 0.85rem !important;
  }
}