/* ===================================
   MinMin Shopping - Pastel Purple Theme
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600&display=swap');

:root {
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --lavender: #ede9fe;
  --lavender-dark: #ddd6fe;
  --white: #ffffff;
  --gray-100: #f9fafb;
  --gray-200: #f3f4f6;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --shadow-sm: 0 2px 8px rgba(168,85,247,0.12);
  --shadow-md: 0 4px 20px rgba(168,85,247,0.18);
  --shadow-lg: 0 8px 40px rgba(168,85,247,0.22);
  --radius: 16px;
  --radius-sm: 8px;
  --font-th: 'Kanit', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-th); background: #fdf8ff; color: var(--gray-800); }

/* ===== NAVBAR ===== */
.navbar-minmin {
  background: linear-gradient(135deg, #7e22ce 0%, #9333ea 50%, #a855f7 100%);
  padding: 0;
  box-shadow: 0 4px 20px rgba(126,34,206,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-circle {
  width: 45px; height: 45px;
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: #7e22ce;
  box-shadow: 0 2px 10px rgba(255,255,255,0.3);
}
.brand-text-wrap .brand-en { font-size: 1.15rem; font-weight: 700; color: white; line-height: 1; letter-spacing: 1px; }
.brand-text-wrap .brand-th { font-size: 0.7rem; color: #e9d5ff; line-height: 1.2; }
.navbar-minmin .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 1.2rem 1.1rem !important;
  transition: all 0.2s;
  position: relative;
}
.navbar-minmin .nav-link:hover,
.navbar-minmin .nav-link.active {
  color: white !important;
  background: rgba(255,255,255,0.15);
}
.navbar-minmin .navbar-toggler { border-color: rgba(255,255,255,0.5); }
.navbar-minmin .navbar-toggler-icon { filter: invert(1); }

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #7e22ce 0%, #9333ea 35%, #c084fc 70%, #e9d5ff 100%);
  min-height: 560px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: #fdf8ff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 2; color: white; padding: 60px 0; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero-title { font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; margin-bottom: 30px; font-weight: 300; line-height: 1.6; }
.btn-hero-main {
  background: white;
  color: #7e22ce;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-th);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-decoration: none;
  display: inline-block;
}
.btn-hero-main:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); background: #f3e8ff; color: #7e22ce; }
.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-th);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-left: 12px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); color: white; border-color: white; }
.hero-float-cards { display: flex; gap: 16px; margin-top: 40px; }
.hero-stat-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 16px 22px;
  text-align: center;
}
.hero-stat-card .stat-num { font-size: 1.6rem; font-weight: 700; }
.hero-stat-card .stat-label { font-size: 0.75rem; opacity: 0.8; }
.hero-img-wrap {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
}
.hero-illustration {
  width: 100%; max-width: 400px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.25));
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block;
  background: var(--purple-100);
  color: var(--purple-600);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title { font-size: 2rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.section-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--purple-400), var(--purple-600));
  border-radius: 2px; margin: 0 auto 12px;
}
.section-desc { color: var(--gray-600); font-size: 1rem; }

/* ===== CATEGORY CARDS ===== */
.section-categories { padding: 80px 0; background: #fdf8ff; }
.cat-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--gray-800);
  display: block;
  border: 2px solid transparent;
  height: 100%;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--purple-300); color: var(--gray-800); }
.cat-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 16px;
}
.cat-icon-fruit { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.cat-icon-rubber { background: linear-gradient(135deg, #e9d5ff, #ddd6fe); }
.cat-icon-export { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.cat-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.cat-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

/* ===== PRODUCT CARDS ===== */
.section-products { padding: 80px 0; background: linear-gradient(180deg, white 0%, #fdf8ff 100%); }
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid #f3e8ff;
  height: 100%;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img-wrap {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--purple-100), var(--lavender));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { font-size: 3.5rem; opacity: 0.5; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--purple-600); color: white;
  padding: 3px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 600;
}
.product-body { padding: 20px; }
.product-cat { font-size: 0.75rem; color: var(--purple-500); font-weight: 600; margin-bottom: 6px; }
.product-name { font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.product-desc { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 14px; line-height: 1.5; }
.product-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid #f3e8ff; }
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--purple-600); }
.btn-inquire {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: white; border: none;
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-th);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-inquire:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(168,85,247,0.4); color: white; }

/* ===== ABOUT SECTION ===== */
.section-about { padding: 80px 0; background: white; }
.about-card {
  background: linear-gradient(135deg, var(--purple-100), #fff);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  border: 1px solid var(--purple-200);
}
.feature-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.feature-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
}
.feature-text h6 { font-weight: 600; margin-bottom: 4px; font-size: 0.95rem; }
.feature-text p { font-size: 0.82rem; color: var(--gray-600); margin: 0; line-height: 1.5; }

/* ===== CONTACT SECTION ===== */
.section-contact { padding: 80px 0; background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%); }
.contact-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 32px;
  color: white;
}
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-icon { font-size: 1.4rem; opacity: 0.9; min-width: 24px; }
.contact-item a { color: white; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer.site-footer {
  background: #1a0a2e;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-brand .footer-logo-text { font-size: 1.4rem; font-weight: 700; color: white; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-top: 10px; }
.footer-title { color: white; font-weight: 600; margin-bottom: 16px; font-size: 0.95rem; }
.footer-link { color: rgba(255,255,255,0.6); text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.85rem; transition: color 0.2s; }
.footer-link:hover { color: var(--purple-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 32px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%; color: white;
  text-decoration: none; font-size: 1rem;
  margin-right: 8px; transition: all 0.2s;
}
.social-btn:hover { background: var(--purple-500); color: white; transform: translateY(-2px); }

/* ===== ADMIN PANEL ===== */
.admin-sidebar {
  background: linear-gradient(180deg, #1a0a2e 0%, #2d1553 100%);
  min-height: 100vh;
  width: 260px;
  position: fixed; left: 0; top: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
}
.admin-sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-header .logo-text { color: white; font-size: 1.1rem; font-weight: 700; }
.admin-sidebar-header .logo-sub { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.admin-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.admin-nav-link i { font-size: 1rem; width: 18px; text-align: center; }
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(168,85,247,0.2);
  color: #d8b4fe;
  border-left-color: #a855f7;
}
.admin-nav-section { padding: 16px 20px 6px; font-size: 0.7rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1px; }
.admin-content { margin-left: 260px; min-height: 100vh; background: #f8f5ff; }
.admin-topbar {
  background: white;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 99;
}
.admin-topbar .page-title { font-size: 1.1rem; font-weight: 600; color: var(--gray-800); }
.admin-main { padding: 28px; }
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 18px;
  border-left: 4px solid;
}
.stat-card.purple { border-left-color: var(--purple-500); }
.stat-card.pink { border-left-color: #ec4899; }
.stat-card.green { border-left-color: #10b981; }
.stat-card.blue { border-left-color: #3b82f6; }
.stat-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.stat-icon.purple { background: var(--purple-100); color: var(--purple-600); }
.stat-icon.pink { background: #fce7f3; color: #ec4899; }
.stat-icon.green { background: #d1fae5; color: #10b981; }
.stat-icon.blue { background: #dbeafe; color: #3b82f6; }
.stat-num { font-size: 1.6rem; font-weight: 700; color: var(--gray-800); }
.stat-label { font-size: 0.82rem; color: var(--gray-600); }
.admin-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f3e8ff;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #fdf8ff, white);
}
.admin-card-header h5 { font-weight: 600; color: var(--gray-800); margin: 0; font-size: 1rem; }
.admin-card-body { padding: 24px; }
.form-label-th { font-weight: 500; color: var(--gray-800); font-size: 0.9rem; margin-bottom: 6px; }
.form-control:focus { border-color: var(--purple-400); box-shadow: 0 0 0 3px rgba(168,85,247,0.1); }
.btn-purple {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: white; border: none;
  padding: 10px 24px; border-radius: 8px;
  font-family: var(--font-th); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-purple:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: white; }
.table th { background: var(--purple-100); color: var(--purple-700); font-weight: 600; font-size: 0.85rem; }
.badge-cat { background: var(--purple-100); color: var(--purple-700); padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.alert-purple { background: var(--purple-100); border: 1px solid var(--purple-300); color: var(--purple-700); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-float-cards { flex-wrap: wrap; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .hero-section { min-height: 400px; }
}

/* ===== SHOP PAGE ===== */
.section-shop-hero {
  background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 50%, #fce7f3 100%);
  padding: 60px 0 40px;
}
.shop-filter-bar {
  background: white;
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.filter-btn {
  padding: 8px 20px; border-radius: 50px;
  border: 2px solid var(--purple-200);
  background: white; color: var(--gray-600);
  font-family: var(--font-th); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--purple-600); color: white;
  border-color: var(--purple-600);
}
.product-grid { padding: 40px 0 80px; background: #fdf8ff; }
.product-card-full { border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid #f3e8ff; height: 100%; }
.product-card-full:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ===== CONTACT PAGE ===== */
.section-contact-page { padding: 80px 0; background: #fdf8ff; }
.contact-form-card {
  background: white; border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-md);
  border-top: 4px solid var(--purple-500);
}
.contact-info-card {
  background: linear-gradient(135deg, #7e22ce, #9333ea);
  border-radius: var(--radius); padding: 40px; color: white;
  height: 100%;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(255,255,255,0.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 28px; }
.form-control-custom {
  border: 2px solid #f3e8ff; border-radius: 10px;
  padding: 12px 16px; font-family: var(--font-th); font-size: 0.9rem;
  transition: border-color 0.2s; width: 100%; outline: none;
  background: white;
}
.form-control-custom:focus { border-color: var(--purple-400); box-shadow: 0 0 0 3px rgba(168,85,247,0.1); }
.btn-submit-form {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: white; border: none; border-radius: 10px;
  padding: 14px 32px; font-family: var(--font-th); font-size: 1rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s; width: 100%;
}
.btn-submit-form:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(147,51,234,0.4); }

/* ===== BLOG PAGE ===== */
.section-blog { padding: 80px 0; background: #fdf8ff; }
.blog-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all 0.3s; border: 1px solid #f3e8ff; height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img-wrap { height: 200px; overflow: hidden; background: linear-gradient(135deg, var(--purple-100), var(--lavender)); display: flex; align-items: center; justify-content: center; position: relative; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.blog-emoji { font-size: 4rem; opacity: 0.6; }
.blog-date-badge {
  position: absolute; top: 12px; right: 12px;
  background: white; color: var(--purple-600);
  padding: 4px 12px; border-radius: 50px; font-size: 0.72rem;
  font-weight: 600; box-shadow: var(--shadow-sm);
}
.blog-body { padding: 24px; }
.blog-tag { display: inline-block; background: var(--purple-100); color: var(--purple-600); padding: 3px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; margin-bottom: 10px; }
.blog-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; color: var(--gray-800); }
.blog-excerpt { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.btn-read-more {
  color: var(--purple-600); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.btn-read-more:hover { gap: 10px; color: var(--purple-700); }

/* Blog Single */
.blog-single-hero { background: linear-gradient(135deg, #7e22ce, #c084fc); padding: 60px 0; color: white; }
.blog-content { padding: 48px 0 80px; }
.blog-content-wrap { background: white; border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow-sm); }
.blog-content-wrap h2,h3 { color: var(--purple-700); margin: 28px 0 12px; }
.blog-content-wrap p { line-height: 1.9; color: #374151; margin-bottom: 16px; }
.blog-content-wrap ul { padding-left: 1.5rem; color: #374151; line-height: 1.9; }

/* ===== SLIDER / GALLERY ===== */
.section-gallery { padding: 80px 0; background: white; }
.gallery-slider { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.gallery-slide { min-width: 100%; position: relative; }
.gallery-slide img { width: 100%; height: 420px; object-fit: cover; }
.gallery-slide-placeholder { width: 100%; height: 420px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(126,34,206,0.85));
  padding: 40px 32px 28px; color: white;
}
.gallery-caption h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.gallery-caption p { font-size: 0.9rem; opacity: 0.9; margin: 0; }
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--purple-700);
  border: none; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all 0.2s; z-index: 10;
}
.gallery-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.gallery-btn.prev { left: 16px; }
.gallery-btn.next { right: 16px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.gallery-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple-200); cursor: pointer; transition: all 0.2s; border: none;
}
.gallery-dot.active { background: var(--purple-600); width: 28px; border-radius: 5px; }
.gallery-thumb-row { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb {
  min-width: 80px; height: 60px; border-radius: 8px; overflow: hidden;
  cursor: pointer; border: 3px solid transparent; transition: all 0.2s;
  background: var(--purple-100); display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.gallery-thumb.active { border-color: var(--purple-500); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FLOATING BUTTONS ===== */
.float-btns {
  position: fixed; bottom: 28px; right: 24px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  z-index: 9999;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s; position: relative;
}
.float-btn:hover { transform: scale(1.15) translateY(-3px); }
.float-btn-line { background: #06c755; color: white; }
.float-btn-wa { background: #25d366; color: white; }
.float-btn-top { background: var(--purple-600); color: white; font-size: 1rem; }
.float-btn-tooltip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: #1f2937; color: white; padding: 5px 12px; border-radius: 8px;
  font-size: 0.78rem; white-space: nowrap; font-family: var(--font-th);
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-btn:hover .float-btn-tooltip { opacity: 1; }
.float-btn-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #1f2937;
}

/* ===== POPUP PROMO ===== */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); animation: fadeIn 0.3s ease;
}
.popup-overlay.hide { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.popup-box {
  background: white; border-radius: 24px; overflow: hidden;
  max-width: 500px; width: 92%; box-shadow: 0 25px 80px rgba(126,34,206,0.35);
  animation: slideUp 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
@keyframes slideUp { from { transform: translateY(60px) scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
.popup-header {
  background: linear-gradient(135deg, #7e22ce, #c084fc);
  padding: 36px 32px 28px; text-align: center; color: white;
}
.popup-header h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.popup-header p { opacity: 0.9; font-size: 0.95rem; }
.popup-body { padding: 28px 32px; text-align: center; }
.popup-code {
  background: var(--purple-100); border: 2px dashed var(--purple-400);
  border-radius: 12px; padding: 14px 24px;
  font-size: 1.5rem; font-weight: 700; color: var(--purple-700);
  letter-spacing: 4px; margin: 16px 0;
}
.popup-close-btn {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.2); border: none; color: white;
  width: 32px; height: 32px; border-radius: 50%; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.popup-close-btn:hover { background: rgba(255,255,255,0.35); }
.btn-popup-action {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: white; border: none; border-radius: 50px; padding: 13px 36px;
  font-family: var(--font-th); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-popup-action:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(147,51,234,0.4); color: white; }
.popup-skip { display: block; margin-top: 12px; color: var(--gray-600); font-size: 0.82rem; cursor: pointer; background: none; border: none; font-family: var(--font-th); }
.popup-skip:hover { color: var(--purple-600); }

/* ===== MOBILE RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; position: fixed; z-index: 1050; }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-content { margin-left: 0 !important; }
  .admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1040; }
  .admin-overlay.show { display: block; }
  .admin-topbar { padding: 12px 16px; }
  .admin-main { padding: 16px; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-float-cards { gap: 10px; }
  .hero-stat-card { padding: 12px 16px; }
  .section-categories, .section-products, .section-about, .section-blog, .section-shop-hero { padding: 50px 0; }
  .section-contact { padding: 50px 0; }
  .contact-form-card { padding: 24px; }
  .contact-info-card { padding: 24px; }
  .blog-content-wrap { padding: 28px 20px; }
  .gallery-slide img, .gallery-slide-placeholder { height: 260px; }
  .gallery-caption { padding: 20px 20px 16px; }
  .gallery-caption h4 { font-size: 1rem; }
  .float-btns { bottom: 20px; right: 16px; }
  .float-btn { width: 46px; height: 46px; font-size: 1.2rem; }
  .navbar-minmin .nav-link { padding: 0.8rem 1.2rem !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .shop-filter-bar { padding: 14px 16px; }
  .popup-box { margin: 16px; }
  .popup-header { padding: 28px 24px 22px; }
  .popup-body { padding: 20px 24px; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .hero-section { min-height: 380px; }
  .hero-float-cards .hero-stat-card { flex: 1; min-width: 0; }
  .cat-card { padding: 24px 16px; }
}
