:root {
  --pj-green: #3d8745;
  --pj-green-dark: #2d6b34;
  --pj-green-light: #e8f5e9;
  --pj-gold: #eb9d3f;
  --pj-gold-light: #fef3e0;
  --pj-navy: #1d3579;
  --pj-navy-light: #e8ecf4;
  --pj-gray-50: #f8f9fa;
  --pj-gray-100: #f1f3f5;
  --pj-gray-200: #e9ecef;
  --pj-gray-300: #dee2e6;
  --pj-gray-400: #ced4da;
  --pj-gray-500: #adb5bd;
  --pj-gray-600: #6c757d;
  --pj-gray-700: #495057;
  --pj-gray-800: #343a40;
  --pj-gray-900: #212529;
  --pj-white: #ffffff;
  --pj-blue: #1a73e8;
  --pj-blue-light: #e8f0fe;
  --pj-red: #dc3545;
  --pj-red-light: #fbe9eb;
  --pj-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --pj-shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --pj-shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --pj-radius: 12px;
  --pj-radius-sm: 8px;
  --pj-transition: all .2s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--pj-white);
  color: var(--pj-gray-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--pj-green); }
img { max-width: 100%; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--pj-gray-300); border-radius: 3px; }

/* ── Top Bar ── */
.top-bar {
  background: var(--pj-navy);
  font-size: 12px;
  color: rgba(255,255,255,.75);
  padding: 6px 0;
  letter-spacing: .01em;
}
.top-bar a {
  color: rgba(255,255,255,.75);
  transition: var(--pj-transition);
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.top-bar a:hover { color: var(--pj-gold); }
.top-bar a i { font-size: 13px; }

/* ── Main Header ── */
.main-header {
  background: var(--pj-white);
  border-bottom: 1px solid var(--pj-gray-200);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: var(--pj-shadow-sm);
}
.main-header .container { display: flex; justify-content:space-between; align-items: center; gap: 20px; }

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo img {
  height: 36px;
}

.search-wrapper {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.search-wrapper .form-control {
  height: 44px;
  border-radius: 100px;
  border: 2px solid var(--pj-gray-200);
  padding: 0 48px 0 20px;
  font-size: 14px;
  background: var(--pj-gray-50);
  transition: var(--pj-transition);
}
.search-wrapper .form-control:focus {
  border-color: var(--pj-green);
  box-shadow: 0 0 0 4px rgba(61,135,69,.12);
  background: var(--pj-white);
}
.search-wrapper .btn-search {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 36px;
  width: 44px;
  border-radius: 100px;
  border: none;
  background: var(--pj-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--pj-transition);
}
.search-wrapper .btn-search:hover { background: var(--pj-green-dark); }
.search-close {
  display: none;
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--pj-gray-100);
  color: var(--pj-gray-500);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--pj-transition);
  z-index: 2;
}
.search-close:hover { background: var(--pj-gray-200); color: var(--pj-gray-700); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--pj-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  transition: var(--pj-transition);
  cursor: pointer;
  flex-shrink: 0;
}
.btn-icon:hover { background: var(--pj-gray-100); color: var(--pj-navy); }
.header-actions .badge-icon {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--pj-gold);
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid white;
}
.btn-login {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--pj-green);
  color: var(--pj-green);
  font-weight: 600;
  font-size: 13px;
  background: transparent;
  transition: var(--pj-transition);
}
.btn-login:hover { background: var(--pj-green); color: white; }
.btn-register {
  padding: 8px 20px;
  border-radius: 100px;
  border: none;
  background: var(--pj-green);
  color: white;
  font-weight: 600;
  font-size: 13px;
  transition: var(--pj-transition);
}
.btn-register:hover { background: var(--pj-green-dark); }

/* ── Header Dropdown Panels ── */
.dropdown-wrapper {
  position: relative;
}
.dropdown-wrapper .dropdown-trigger {
  cursor: pointer;
}
.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow-lg);
  border: 1px solid var(--pj-gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 1050;
}
.dropdown-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-panel .dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--pj-gray-100);
}
.dropdown-panel .dropdown-header h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--pj-gray-900);
  margin: 0;
}
.dropdown-panel .dropdown-header a,
.dropdown-panel .dropdown-header .btn-mark-read {
  font-size: 12px;
  font-weight: 500;
  color: var(--pj-green);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--pj-transition);
}
.dropdown-panel .dropdown-header a:hover,
.dropdown-panel .dropdown-header .btn-mark-read:hover {
  color: var(--pj-green-dark);
}
.dropdown-panel .dropdown-header .cart-count {
  font-size: 12px;
  color: var(--pj-gray-500);
}
.dropdown-panel .dropdown-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px 0;
}
.dropdown-panel .dropdown-body::-webkit-scrollbar { width: 4px; }
.dropdown-panel .dropdown-body::-webkit-scrollbar-thumb { background: var(--pj-gray-300); border-radius: 2px; }
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  transition: var(--pj-transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.dropdown-item:hover { background: var(--pj-gray-50); }
.dropdown-item.unread { background: var(--pj-navy-light); }
.dropdown-item.unread:hover { background: #dde2f0; }
.dropdown-item .dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pj-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--pj-navy);
  flex-shrink: 0;
}
.dropdown-item .dropdown-item-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.dropdown-item .dropdown-item-content { flex: 1; min-width: 0; }
.dropdown-item .dropdown-item-content p {
  font-size: 13px;
  color: var(--pj-gray-700);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dropdown-item .dropdown-item-content strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-gray-800);
}
.dropdown-item .dropdown-item-content .time {
  font-size: 11px;
  color: var(--pj-gray-500);
  margin-top: 2px;
  display: block;
}
.dropdown-panel .dropdown-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--pj-gray-100);
  text-align: center;
}
.dropdown-panel .dropdown-footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-green);
  transition: var(--pj-transition);
}
.dropdown-panel .dropdown-footer a:hover { color: var(--pj-green-dark); }

/* Cart-specific */
.cart-item-img {
  width: 48px;
  height: 48px;
  border-radius: var(--pj-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pj-gray-50);
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-title {
  font-size: 13px !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1!important;
  margin-bottom: 4px !important;
}
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--pj-navy);
}
.cart-item-qty {
  font-size: 12px;
  color: var(--pj-gray-500);
}
.cart-item-remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--pj-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: var(--pj-transition);
  cursor: pointer;
}
.cart-item-remove:hover { background: var(--pj-gray-100); color: #dc2626; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 12px;
  font-size: 14px;
  color: var(--pj-gray-700);
}
.cart-total strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--pj-navy);
}
.btn-cart-checkout {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--pj-green);
  color: white !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: var(--pj-transition);
}
.btn-cart-checkout:hover { background: var(--pj-green-dark) !important; color: white !important; }

/* ── Mega Menu ── */
.nav-mega {
  background: var(--pj-white);
  border-bottom: 1px solid var(--pj-gray-200);
  position: sticky;
  top: 73px;
  z-index: 1025;
}
.nav-mega .navbar { padding: 0; }
.nav-mega .nav-item { position: static; }
.nav-mega .nav-link {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pj-gray-700);
  transition: var(--pj-transition);
  white-space: nowrap;
}
.nav-mega .nav-link:hover,
.nav-mega .nav-link.active {
  color: var(--pj-green);
  background: var(--pj-green-light);
}
.nav-mega .nav-link i { margin-right: 6px; font-size: 14px; }

.mega-dropdown {
  width: 100%;
  left: 0 !important;
  right: 0;
  border: none;
  border-radius: 0 0 var(--pj-radius) var(--pj-radius);
  box-shadow: var(--pj-shadow-lg);
  padding: 24px 0;
  margin-top: 0 !important;
  border-top: 3px solid var(--pj-green);
  max-height: 70vh;
  overflow-y: auto;
}
.mega-dropdown .category-group h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--pj-navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pj-green);
}
.mega-dropdown .category-group a {
  display: block;
  font-size: 13px;
  color: var(--pj-gray-600);
  padding: 4px 0;
  transition: var(--pj-transition);
}
.mega-dropdown .category-group a:hover { color: var(--pj-green); padding-left: 4px; }

/* ── Promo Banner ── */
.promo-section { padding: 20px 0 10px; }
.promo-carousel .item { border-radius: var(--pj-radius); overflow: hidden; position: relative; }
.promo-carousel .item .slide-content {
  border-radius: var(--pj-radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 40px 50px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.promo-carousel .item .slide-text { max-width: 50%; position: relative; z-index: 2; }
.promo-carousel .item .slide-text .tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.promo-carousel .item .slide-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
.promo-carousel .item .slide-text p {
  font-size: 15px;
  opacity: .85;
  margin-bottom: 20px;
}
.promo-carousel .item .slide-text .btn-cta {
  padding: 10px 28px;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--pj-transition);
}
.promo-carousel .owl-dots { margin-top: 16px !important; }
.promo-carousel .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 4px;
  background: var(--pj-gray-300);
  transition: var(--pj-transition);
}
.promo-carousel .owl-dots .owl-dot.active span { background: var(--pj-green); width: 28px; border-radius: 4px; }
.promo-carousel .owl-nav { position: absolute; top: 50%; width: 100%; transform: translateY(-50%); pointer-events: none; }
.promo-carousel .owl-nav button {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: white !important;
  box-shadow: var(--pj-shadow-md);
  font-size: 20px !important;
  color: var(--pj-gray-700) !important;
  position: absolute;
  transition: var(--pj-transition);
}
.promo-carousel .owl-nav button:hover { background: var(--pj-green) !important; color: white !important; }
.promo-carousel .owl-prev { left: -22px; margin-top: -44px!important; }
.promo-carousel .owl-next { right: -22px; margin-top: -44px!important; }

/* ── Section Header ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--pj-gray-900);
  margin: 0;
}
.section-header h3 i { color: var(--pj-green); margin-right: 8px; }
.section-header a {
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-green);
  transition: var(--pj-transition);
}
.section-header a:hover { color: var(--pj-green-dark); gap: 6px; }
.section-header a i { transition: var(--pj-transition); }
.section-header a:hover i { transform: translateX(3px); }

/* ── Category ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.category-card {
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  padding: 20px 12px;
  text-align: center;
  transition: var(--pj-transition);
  border: 1px solid var(--pj-gray-100);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pj-shadow-md);
  border-color: var(--pj-green);
}
.category-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
}
.category-card .icon-wrap.green { background: linear-gradient(135deg, var(--pj-green), #4da554); }
.category-card .icon-wrap.gold { background: linear-gradient(135deg, var(--pj-gold), #f0b04f); }
.category-card .icon-wrap.navy { background: linear-gradient(135deg, var(--pj-navy), #2a4a9e); }
.category-card .icon-wrap.teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.category-card .icon-wrap.pink { background: linear-gradient(135deg, #db2777, #f472b6); }
.category-card .icon-wrap.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.category-card .icon-wrap.red { background: linear-gradient(135deg, #dc2626, #f87171); }
.category-card .icon-wrap.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.category-card span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--pj-gray-700);
  line-height: 1.3;
}

/* ── Product ── */
.product-section { padding: 20px 0 40px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  overflow: hidden;
  transition: var(--pj-transition);
  border: 1px solid var(--pj-gray-100);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pj-shadow-lg);
}
.product-card .img-wrap {
  position: relative;
  padding-top: 100%;
  background: var(--pj-gray-50);
  overflow: hidden;
}
.product-card .img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--pj-transition);
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--pj-gold);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.product-card .badge-free-ship {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(61,135,69,.9);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.product-card .body { padding: 12px; }
.product-card .body .title {
  font-size: 13px;
  font-weight: 500;
  color: var(--pj-gray-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 36px;
}
.product-card .body .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--pj-navy);
  margin-bottom: 4px;
}
.product-card .body .price .original {
  font-size: 11px;
  font-weight: 400;
  color: var(--pj-gray-500);
  text-decoration: line-through;
  margin-left: 6px;
}
.product-card .body .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--pj-gray-500);
}
.product-card .body .meta .rating i { color: var(--pj-gold); margin-right: 2px; }
.product-card .body .meta .location i { margin-right: 2px; }

/* ── Features Strip ── */
.features-strip {
  background: var(--pj-green-light);
  padding: 32px 0;
  margin: 20px 0 0;
}
.features-strip .feature-item {
  text-align: center;
  padding: 12px;
}
.features-strip .feature-item i {
  font-size: 32px;
  color: var(--pj-green);
  margin-bottom: 8px;
}
.features-strip .feature-item h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--pj-gray-800);
  margin-bottom: 4px;
}
.features-strip .feature-item p {
  font-size: 12px;
  color: var(--pj-gray-600);
  margin: 0;
}

/* ── Footer ── */
footer {
  background: var(--pj-navy);
  color: rgba(255,255,255,.8);
  padding: 48px 0 48px 0;
}
footer h6 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: .3px;
}
footer a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  padding: 3px 0;
  transition: var(--pj-transition);
}
footer a:hover { color: var(--pj-gold); padding-left: 4px; }
footer .social-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 8px;
  transition: var(--pj-transition);
  padding: 0;
}
footer .social-links a:hover {
  background: var(--pj-gold);
  color: var(--pj-navy);
  padding: 0;
}
footer .payment-methods img {
  height: 28px;
  margin-right: 8px;
  margin-bottom: 8px;
  background: white;
  border-radius: 4px;
  padding: 4px 8px;
}
footer .footer-bottom {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
footer .footer-bottom span { color: var(--pj-gold); font-weight: 600; }

/* ── Bottom Navigation (mobile) ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pj-white);
  border-top: 1px solid var(--pj-gray-200);
  display: none;
  z-index: 1040;
  padding: 4px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
.bottom-nav .nav-items {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
}
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  flex: 1;
  text-decoration: none;
  color: var(--pj-gray-500);
  transition: var(--pj-transition);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
}
.bottom-nav .nav-item iconify-icon {
  font-size: 22px;
  transition: var(--pj-transition);
}
.bottom-nav .nav-item span {
  line-height: 1;
}
.bottom-nav .nav-item.active {
  color: var(--pj-green);
}
.bottom-nav .nav-item.active iconify-icon {
  color: var(--pj-green);
}
.bottom-nav .nav-item:hover {
  color: var(--pj-green);
}
.bottom-nav .nav-item:hover iconify-icon {
  color: var(--pj-green);
}

body.has-bottom-nav {
  padding-bottom: 56px;
}

/* ── Auth Pages (Login / Register / Forgot Password) ── */
.auth-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--pj-green-light) 0%, #f0fdf4 50%, var(--pj-navy-light) 100%);
}
.auth-card {
  display: flex;
  background: var(--pj-white);
  border-radius: 20px;
  box-shadow: var(--pj-shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 920px;
  min-height: 560px;
}
.auth-left {
  flex: 1;
  background: linear-gradient(135deg, var(--pj-navy) 0%, #2a4a9e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(235,157,63,.15) 0%, transparent 70%);
  pointer-events: none;
}
.auth-left-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}
.auth-left-content .auth-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}
.auth-left-content .auth-logo span { color: var(--pj-gold); }
.auth-left-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.auth-left-content p {
  font-size: 14px;
  opacity: .75;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}
.auth-right {
  flex: 1.2;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-form-wrap {
  width: 100%;
  max-width: 400px;
}
.auth-form-wrap h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--pj-gray-900);
  margin-bottom: 4px;
}
.auth-form-wrap .auth-subtitle {
  font-size: 14px;
  color: var(--pj-gray-500);
  margin-bottom: 28px;
}
.auth-field {
  margin-bottom: 18px;
}
.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-gray-700);
  margin-bottom: 6px;
}
.auth-field .input-group {
  display: flex;
  align-items: stretch;
}
.auth-field .input-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pj-gray-700);
  background: var(--pj-gray-100);
  border: 2px solid var(--pj-gray-200);
  border-right: none;
  border-radius: 10px 0 0 10px;
  white-space: nowrap;
}
.auth-field .form-control {
  flex: 1;
  height: 48px;
  border-radius: 10px;
  border: 2px solid var(--pj-gray-200);
  padding: 0 16px;
  font-size: 14px;
  background: var(--pj-white);
  transition: var(--pj-transition);
}
.auth-field .input-group .form-control {
  border-radius: 0 10px 10px 0;
}
.auth-field .form-control:focus {
  border-color: var(--pj-green);
  box-shadow: 0 0 0 4px rgba(61,135,69,.12);
  outline: none;
}
.auth-field .input-suffix {
  position: absolute;
  right: 0;
  top: 0;
  height: 48px;
  width: 44px;
  border: 2px solid var(--pj-gray-200);
  border-left: none;
  border-radius: 0 10px 10px 0;
  background: transparent;
  color: var(--pj-gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--pj-transition);
  font-size: 18px;
}
.auth-field .input-suffix:hover { color: var(--pj-gray-700); }
.auth-field .input-group {
  position: relative;
}
.auth-field .input-group .form-control {
  padding-right: 44px;
}
.auth-forgot {
  text-align: right;
  margin: -10px 0 20px;
}
.auth-forgot a {
  font-size: 13px;
  font-weight: 500;
  color: var(--pj-green);
  transition: var(--pj-transition);
}
.auth-forgot a:hover { color: var(--pj-green-dark); text-decoration: underline; }
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--pj-transition);
}
.auth-btn-primary {
  background: var(--pj-green);
  color: white;
}
.auth-btn-primary:hover { background: var(--pj-green-dark); }
.auth-btn-google {
  background: var(--pj-white);
  color: var(--pj-gray-700);
  border: 2px solid var(--pj-gray-200);
}
.auth-btn-google:hover {
  background: var(--pj-gray-50);
  border-color: var(--pj-gray-300);
}
.auth-btn-google iconify-icon { font-size: 18px; color: #ea4335; }
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--pj-gray-200);
}
.auth-divider span {
  padding: 0 16px;
  font-size: 12px;
  color: var(--pj-gray-500);
  font-weight: 500;
}
.auth-switch {
  text-align: center;
  font-size: 14px;
  color: var(--pj-gray-600);
  margin-top: 24px;
}
.auth-switch a {
  color: var(--pj-green);
  font-weight: 600;
  transition: var(--pj-transition);
}
.auth-switch a:hover { color: var(--pj-green-dark); text-decoration: underline; }
.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--pj-green);
  flex-shrink: 0;
}
.auth-checkbox label {
  font-size: 13px;
  color: var(--pj-gray-600);
  line-height: 1.5;
}
.auth-checkbox label a {
  color: var(--pj-green);
  font-weight: 500;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .auth-card { flex-direction: column; max-width: 460px; min-height: auto; }
  .auth-left { padding: 32px 24px; }
  .auth-left-content .auth-logo { font-size: 22px; margin-bottom: 12px; }
  .auth-left-content h2 { font-size: 20px; }
  .auth-left-content p { font-size: 13px; }
  .auth-right { padding: 32px 24px; }
  .auth-form-wrap h1 { font-size: 22px; }
}

/* ── Product Detail ── */
.pd-page {
  padding: 20px 0 40px;
  background: var(--pj-gray-50);
  min-height: 100vh;
}
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pj-gray-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pd-breadcrumb a { color: var(--pj-gray-500); transition: var(--pj-transition); }
.pd-breadcrumb a:hover { color: var(--pj-green); }
.pd-breadcrumb iconify-icon { font-size: 14px; flex-shrink: 0; }
.pd-breadcrumb span { color: var(--pj-gray-700); font-weight: 500; }

/* ── Main Product Section ── */
.pd-main {
  display: flex;
  gap: 24px;
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow-sm);
  padding: 24px;
  margin-bottom: 20px;
}

/* Gallery */
.pd-gallery {
  flex: 0 0 460px;
  max-width: 460px;
}
.pd-gallery-main {
  position: relative;
  border-radius: var(--pj-radius);
  overflow: hidden;
  background: var(--pj-gray-50);
  margin-bottom: 12px;
  aspect-ratio: 1;
}
.pd-gallery-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.pd-gallery-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.pd-gallery-slide.active {
  opacity: 1;
  visibility: visible;
}
.pd-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  box-shadow: var(--pj-shadow-md);
  color: var(--pj-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--pj-transition);
  z-index: 2;
}
.pd-gallery-nav:hover { background: white; color: var(--pj-green); }
.pd-gallery-prev { left: 12px; }
.pd-gallery-next { right: 12px; }
.pd-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pd-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.pd-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--pj-gray-300); border-radius: 2px; }
.pd-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--pj-gray-200);
  padding: 0;
  cursor: pointer;
  transition: var(--pj-transition);
  background: var(--pj-gray-50);
}
.pd-thumb:hover { border-color: var(--pj-gray-400); }
.pd-thumb.active { border-color: var(--pj-green); box-shadow: 0 0 0 2px rgba(61,135,69,.2); }
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.pd-info { flex: 1; min-width: 0; }
.pd-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--pj-gray-900);
  line-height: 1.4;
  margin-bottom: 12px;
}
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pd-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--pj-gold);
  font-size: 14px;
}
.pd-stars .pd-rating-num {
  font-weight: 600;
  color: var(--pj-gray-700);
  margin-left: 4px;
  font-size: 13px;
}
.pd-stars-sm { font-size: 12px; }
.pd-rating-divider { color: var(--pj-gray-300); }
.pd-rating-link { color: var(--pj-green); font-weight: 500; }
.pd-rating-link:hover { text-decoration: underline; }
.pd-sold-count { color: var(--pj-gray-500); }
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  background: var(--pj-green-light);
  padding: 14px 20px;
  border-radius: var(--pj-radius-sm);
}
.pd-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--pj-navy);
}
.pd-price-original {
  font-size: 14px;
  color: var(--pj-gray-500);
  text-decoration: line-through;
}
.pd-price-discount {
  font-size: 12px;
  font-weight: 700;
  color: white;
  background: #dc2626;
  padding: 2px 10px;
  border-radius: 100px;
}

/* Variant Selector */
.pd-variant-section {
  margin-bottom: 20px;
}
.pd-variant-section h6 {
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-gray-700);
  margin-bottom: 10px;
}
.pd-variant-section h6 span { color: var(--pj-gray-900); }
.pd-variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-variant-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: 2px solid var(--pj-gray-200);
  background: var(--pj-white);
  font-size: 13px;
  font-weight: 500;
  color: var(--pj-gray-700);
  cursor: pointer;
  transition: var(--pj-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-variant-btn:hover { border-color: var(--pj-green); color: var(--pj-green); }
.pd-variant-btn.active {
  border-color: var(--pj-green);
  background: var(--pj-green-light);
  color: var(--pj-green);
  font-weight: 600;
}
.pd-variant-btn.disabled,
.pd-variant-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  border-color: var(--pj-gray-200);
  background: var(--pj-gray-50);
  color: var(--pj-gray-400);
}
.pd-variant-btn.disabled:hover,
.pd-variant-btn:disabled:hover { border-color: var(--pj-gray-200); color: var(--pj-gray-400); }
.pd-variant-stock-badge {
  font-size: 10px;
  font-weight: 600;
  color: #dc2626;
}

/* Checkout */
.pd-checkout-section {
  border-top: 1px solid var(--pj-gray-100);
  padding-top: 20px;
  margin-bottom: 20px;
}
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pd-qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-gray-700);
}
.pd-qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--pj-gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.pd-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--pj-gray-50);
  color: var(--pj-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--pj-transition);
  font-size: 16px;
}
.pd-qty-btn:hover { background: var(--pj-gray-200); }
.pd-qty-btn:disabled { color: var(--pj-gray-300); cursor: not-allowed; background: var(--pj-gray-50); }
.pd-qty-input {
  width: 56px;
  height: 36px;
  border: none;
  border-left: 2px solid var(--pj-gray-200);
  border-right: 2px solid var(--pj-gray-200);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--pj-gray-800);
  -moz-appearance: textfield;
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-stock-info { font-size: 12px; color: var(--pj-gray-500); }
.pd-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.pd-total-label { font-size: 14px; color: var(--pj-gray-600); }
.pd-total-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--pj-navy);
}
.pd-actions {
  display: flex;
  gap: 12px;
}
.pd-btn {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--pj-transition);
  border: none;
}
.pd-btn-cart {
  background: var(--pj-green-light);
  color: var(--pj-green);
  border: 2px solid var(--pj-green);
}
.pd-btn-cart:hover { background: var(--pj-green); color: white; }
.pd-btn-buy {
  background: var(--pj-green);
  color: white;
}
.pd-btn-buy:hover { background: var(--pj-green-dark); }

/* Services Strip */
.pd-services {
  display: flex;
  gap: 16px;
}
.pd-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--pj-gray-600);
  flex: 1;
}
.pd-service-item iconify-icon {
  font-size: 22px;
  color: var(--pj-green);
  flex-shrink: 0;
}
.pd-service-item strong {
  display: block;
  font-size: 12px;
  color: var(--pj-gray-800);
}

/* ── Bottom Section (Details + Merchant) ── */
.pd-bottom {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.pd-bottom-left { flex: 1; min-width: 0; }
.pd-bottom-right { flex: 0 0 340px; position: sticky; top: 90px; }

.pd-section {
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow-sm);
  padding: 24px;
  margin-bottom: 16px;
}
.pd-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pj-gray-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pj-gray-100);
}

/* Detail Table */
.pd-detail-table { width: 100%; font-size: 13px; }
.pd-detail-table td { padding: 8px 0; border-bottom: 1px solid var(--pj-gray-50); }
.pd-detail-table td:first-child {
  width: 140px;
  font-weight: 500;
  color: var(--pj-gray-500);
  vertical-align: top;
}
.pd-detail-table td:last-child { color: var(--pj-gray-800); }

/* Description */
.pd-desc-content { font-size: 14px; color: var(--pj-gray-700); line-height: 1.7; }
.pd-desc-content p { margin-bottom: 12px; }
.pd-desc-content ul { padding-left: 20px; margin-bottom: 12px; }
.pd-desc-content ul li { margin-bottom: 4px; }

/* ── Reviews ── */
.pd-review-summary {
  display: flex;
  gap: 24px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--pj-gray-100);
}
.pd-review-score {
  text-align: center;
  flex-shrink: 0;
}
.pd-review-score-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--pj-gray-900);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.pd-review-score .pd-stars { font-size: 16px; }
.pd-review-score-total {
  display: block;
  font-size: 12px;
  color: var(--pj-gray-500);
  margin-top: 4px;
}
.pd-review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.pd-review-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--pj-gray-600);
}
.pd-review-bar iconify-icon { font-size: 12px; color: var(--pj-gold); }
.pd-bar-track {
  flex: 1;
  height: 6px;
  background: var(--pj-gray-100);
  border-radius: 100px;
  overflow: hidden;
}
.pd-bar-fill {
  height: 100%;
  background: var(--pj-gold);
  border-radius: 100px;
}
.pd-review-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.pd-review-filter-btn {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--pj-gray-200);
  background: var(--pj-white);
  font-size: 12px;
  font-weight: 500;
  color: var(--pj-gray-600);
  cursor: pointer;
  transition: var(--pj-transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-review-filter-btn:hover { border-color: var(--pj-green); color: var(--pj-green); }
.pd-review-filter-btn.active {
  background: var(--pj-green);
  border-color: var(--pj-green);
  color: white;
}
.pd-review-list { display: flex; flex-direction: column; gap: 16px; }
.pd-review-card {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pj-gray-100);
}
.pd-review-card:last-child { border-bottom: none; padding-bottom: 0; }
.pd-review-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.pd-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pj-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--pj-gray-600);
  flex-shrink: 0;
}
.pd-review-card-top strong { font-size: 13px; color: var(--pj-gray-800); display: block; }
.pd-review-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.pd-review-card-date,
.pd-review-card-variant {
  font-size: 11px;
  color: var(--pj-gray-500);
}
.pd-review-card-text {
  font-size: 13px;
  color: var(--pj-gray-700);
  line-height: 1.6;
  margin-bottom: 8px;
}
.pd-review-card-imgs {
  display: flex;
  gap: 6px;
}
.pd-review-card-imgs img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--pj-gray-100);
}

/* ── Merchant ── */
.pd-merchant-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pd-merchant-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pj-green), #4da554);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.pd-merchant-name { font-size: 15px; color: var(--pj-gray-900); display: block; }
.pd-merchant-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--pj-green);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}
.pd-merchant-badge iconify-icon { font-size: 14px; }
.pd-merchant-stats {
  display: flex;
  border-top: 1px solid var(--pj-gray-100);
  border-bottom: 1px solid var(--pj-gray-100);
  margin-bottom: 16px;
}
.pd-merchant-stat {
  flex: 1;
  text-align: center;
  padding: 12px 0;
}
.pd-merchant-stat + .pd-merchant-stat { border-left: 1px solid var(--pj-gray-100); }
.pd-stat-label {
  display: block;
  font-size: 11px;
  color: var(--pj-gray-500);
  margin-bottom: 2px;
}
.pd-stat-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--pj-gray-800);
}
.pd-merchant-info-list {
  margin-bottom: 16px;
}
.pd-merchant-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pj-gray-700);
  padding: 5px 0;
}
.pd-merchant-info-item iconify-icon { font-size: 16px; color: var(--pj-green); flex-shrink: 0; }
.pd-merchant-chat-btn {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 2px solid var(--pj-green);
  background: var(--pj-white);
  color: var(--pj-green);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--pj-transition);
}
.pd-merchant-chat-btn:hover { background: var(--pj-green); color: white; }

/* Merchant Products */
.pd-merchant-product-list { display: flex; flex-direction: column; gap: 10px; }
.pd-mp-card {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--pj-transition);
  text-decoration: none;
}
.pd-mp-card:hover { background: var(--pj-gray-50); }
.pd-mp-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pj-gray-50);
}
.pd-mp-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-mp-body { flex: 1; min-width: 0; }
.pd-mp-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--pj-gray-800);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pd-mp-price {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--pj-navy);
}
.pd-mp-sold {
  font-size: 11px;
  color: var(--pj-gray-500);
}

/* ── Category Listing ── */
.cl-page {
  padding: 20px 0 40px;
  background: var(--pj-gray-50);
  min-height: 100vh;
}
.cl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pj-gray-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cl-breadcrumb a { color: var(--pj-gray-500); transition: var(--pj-transition); }
.cl-breadcrumb a:hover { color: var(--pj-green); }
.cl-breadcrumb iconify-icon { font-size: 14px; flex-shrink: 0; }
.cl-breadcrumb span { color: var(--pj-gray-700); font-weight: 500; }

.cl-mobile-toolbar {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cl-filter-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--pj-gray-200);
  background: var(--pj-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-gray-700);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--pj-transition);
}
.cl-filter-toggle:hover { border-color: var(--pj-green); color: var(--pj-green); }

.cl-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* ── Sidebar Filters ── */
.cl-sidebar {
  flex: 0 0 260px;
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.cl-sidebar-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}
.cl-sidebar-header h4 { font-size: 16px; font-weight: 700; color: var(--pj-gray-900); }
.cl-sidebar-close {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--pj-gray-100); color: var(--pj-gray-700);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--pj-transition);
}
.cl-sidebar-close:hover { background: var(--pj-gray-200); }
.cl-sidebar-body { padding: 16px; }
.cl-filter-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pj-gray-100);
}
.cl-filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cl-filter-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--pj-gray-800);
  margin-bottom: 12px;
}
.cl-filter-options { display: flex; flex-direction: column; gap: 6px; }
.cl-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pj-gray-700);
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 6px;
  transition: var(--pj-transition);
}
.cl-option:hover { background: var(--pj-gray-50); }
.cl-option input[type="checkbox"],
.cl-option input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--pj-green);
  flex-shrink: 0;
  margin: 0;
}
.cl-option .cl-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--pj-gray-400);
}
.cl-option-rating .cl-stars {
  display: inline-flex;
  gap: 1px;
  font-size: 14px;
  color: var(--pj-gold);
}
.cl-option-toggle iconify-icon { font-size: 16px; color: var(--pj-gray-500); }

/* Price inputs */
.cl-price-inputs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.cl-price-field { flex: 1; }
.cl-price-label {
  display: block;
  font-size: 11px;
  color: var(--pj-gray-500);
  margin-bottom: 4px;
}
.cl-price-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--pj-gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.cl-currency {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pj-gray-500);
  background: var(--pj-gray-50);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.cl-price-input {
  flex: 1;
  height: 36px;
  border: none;
  padding: 0 8px;
  font-size: 13px;
  color: var(--pj-gray-800);
  outline: none;
  -moz-appearance: textfield;
}
.cl-price-input::-webkit-outer-spin-button,
.cl-price-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cl-price-sep { display: none; }
.cl-price-apply {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--pj-green);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pj-transition);
}
.cl-price-apply:hover { background: var(--pj-green-dark); }
.cl-filter-reset {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  border: 2px solid var(--pj-gray-200);
  background: var(--pj-white);
  color: var(--pj-gray-600);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pj-transition);
  margin-top: 8px;
}
.cl-filter-reset:hover { border-color: var(--pj-gray-300); color: var(--pj-gray-800); }

.cl-overlay { display: none; }

/* ── Content Area ── */
.cl-content { flex: 1; min-width: 0; }

/* Toolbar */
.cl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow-sm);
  padding: 12px 16px;
  margin-bottom: 12px;
}
.cl-result-count {
  font-size: 13px;
  color: var(--pj-gray-600);
}
.cl-result-count strong { color: var(--pj-gray-800); }
.cl-sort-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cl-sort-select-wrap iconify-icon {
  position: absolute;
  right: 10px;
  pointer-events: none;
  font-size: 16px;
  color: var(--pj-gray-500);
}
.cl-sort-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 32px 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--pj-gray-200);
  background: var(--pj-white);
  font-size: 13px;
  color: var(--pj-gray-700);
  cursor: pointer;
  outline: none;
  transition: var(--pj-transition);
}
.cl-sort-select:hover { border-color: var(--pj-gray-300); }
.cl-sort-select:focus { border-color: var(--pj-green); }

/* Active Filter Tags */
.cl-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.cl-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--pj-green-light);
  color: var(--pj-green);
  font-size: 12px;
  font-weight: 500;
}
.cl-active-tag button {
  width: 16px; height: 16px; border-radius: 50%; border: none;
  background: transparent; color: var(--pj-green); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0; transition: var(--pj-transition); font-size: 12px;
}
.cl-active-tag button:hover { background: rgba(61,135,69,.15); }

/* Product Grid in Category */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.cl-grid .product-card { border-radius: 8px; }
.cl-grid .product-card .body { padding: 8px 10px; }
.cl-grid .product-card .body .title { font-size: 12px; min-height: 30px; }
.cl-grid .product-card .body .price { font-size: 14px; }
.cl-grid .product-card .body .price .original { font-size: 10px; }
.cl-grid .product-card .body .meta { font-size: 10px; }
.cl-grid .product-card .badge-discount { font-size: 9px; padding: 2px 6px; }
.cl-grid .product-card .badge-free-ship { font-size: 8px; padding: 1px 6px; }

/* Pagination */
.cl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cl-page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--pj-gray-200);
  background: var(--pj-white);
  color: var(--pj-gray-700);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--pj-transition);
}
.cl-page-btn:hover { border-color: var(--pj-green); color: var(--pj-green); }
.cl-page-btn.active {
  background: var(--pj-green);
  border-color: var(--pj-green);
  color: white;
}
.cl-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.cl-page-dots { font-size: 13px; color: var(--pj-gray-400); padding: 0 4px; }

/* ── Category Listing Mobile ── */
@media (max-width: 991.98px) {
  .cl-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767.98px) {
  .cl-page { padding: 12px 0 24px; }
  .cl-breadcrumb { font-size: 11px; margin-bottom: 10px; }
  .cl-mobile-toolbar { display: flex; }
  .cl-toolbar { display: none; }
  .cl-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 300px;
    max-width: 85vw;
    z-index: 1100;
    border-radius: 0;
    box-shadow: var(--pj-shadow-lg);
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .cl-sidebar.open { transform: translateX(0); }
  .cl-sidebar-header { display: flex; }
  .cl-sidebar-body { padding: 12px 16px; }
  .cl-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 1095;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
  }
  .cl-overlay.active { opacity: 1; visibility: visible; }
  .cl-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cl-result-count { font-size: 12px; }
  .cl-pagination { gap: 4px; }
  .cl-page-btn { min-width: 32px; height: 32px; font-size: 12px; }
}

/* ── Cart Page ── */
.cart-page {
  padding: 20px 0 100px;
  background: var(--pj-gray-50);
  min-height: 100vh;
}
.cart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cart-header h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--pj-gray-900);
  margin: 0;
}
.cart-header-count {
  font-size: 13px;
  color: var(--pj-gray-500);
  font-weight: 500;
}

/* Voucher */
.cart-voucher {
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow-sm);
  padding: 16px;
  margin-bottom: 12px;
}
.cart-voucher-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--pj-gray-100);
  margin-bottom: 12px;
}
.cart-voucher-input-row iconify-icon {
  font-size: 20px;
  color: var(--pj-gold);
  flex-shrink: 0;
}
.cart-voucher-input {
  flex: 1;
  height: 40px;
  border: 2px solid var(--pj-gray-200);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  transition: var(--pj-transition);
}
.cart-voucher-input:focus { border-color: var(--pj-green); }
.cart-voucher-btn {
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  border: none;
  background: var(--pj-green);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pj-transition);
  flex-shrink: 0;
}
.cart-voucher-btn:hover { background: var(--pj-green-dark); }
.cart-voucher-btn:disabled { opacity: .5; cursor: not-allowed; }

.cart-voucher-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-voucher-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--pj-gray-100);
  cursor: pointer;
  transition: var(--pj-transition);
}
.cart-voucher-option:hover { border-color: var(--pj-gray-200); }
.cart-voucher-option:has(input:checked) {
  border-color: var(--pj-green);
  background: var(--pj-green-light);
}
.cart-voucher-option input[type="radio"] {
  accent-color: var(--pj-green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}
.cart-voucher-info { flex: 1; }
.cart-voucher-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-gray-800);
}
.cart-voucher-info span {
  font-size: 11px;
  color: var(--pj-gray-500);
}
.cart-voucher-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--pj-gold);
  background: var(--pj-gold-light);
  padding: 2px 8px;
  border-radius: 100px;
}

/* Store Group */
.cart-store-group {
  background: var(--pj-white);
  border-radius: var(--pj-radius);
  box-shadow: var(--pj-shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.cart-store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pj-gray-100);
}
.cart-store-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-store-select-all input[type="checkbox"] {
  accent-color: var(--pj-green);
  width: 18px;
  height: 18px;
  margin: 0;
}
.cart-store-select-all label {
  font-size: 14px;
  font-weight: 600;
  color: var(--pj-gray-800);
  cursor: pointer;
}
.cart-store-link {
  font-size: 12px;
  color: var(--pj-green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--pj-transition);
}
.cart-store-link:hover { color: var(--pj-green-dark); }

/* Cart Item */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--pj-gray-50);
  transition: var(--pj-transition);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-check {
  padding-top: 8px;
}
.cart-item-check input[type="checkbox"] {
  accent-color: var(--pj-green);
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pj-gray-50);
  text-decoration: none;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-body {
  flex: 1;
  min-width: 0;
}
.cart-item-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--pj-gray-800);
  line-height: 1.4;
  margin-bottom: 2px;
  text-decoration: none;
  transition: var(--pj-transition);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-title:hover { color: var(--pj-green); }
.cart-item-variant {
  display: block;
  font-size: 12px;
  color: var(--pj-gray-500);
  margin-bottom: 8px;
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  border: 2px solid var(--pj-gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--pj-gray-50);
  color: var(--pj-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: var(--pj-transition);
}
.cart-qty-btn:hover { background: var(--pj-gray-200); }
.cart-qty-input {
  width: 44px;
  height: 32px;
  border: none;
  border-left: 2px solid var(--pj-gray-200);
  border-right: 2px solid var(--pj-gray-200);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--pj-gray-800);
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--pj-navy);
  white-space: nowrap;
}
.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--pj-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--pj-transition);
  margin-top: 4px;
}
.cart-item-remove:hover { background: var(--pj-gray-100); color: #dc2626; }

/* Checkout Bar (sticky bottom) */
.cart-checkout-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pj-white);
  border-top: 1px solid var(--pj-gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  z-index: 1035;
  padding: 12px 0;
}
.cart-checkout-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-checkout-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.cart-checkout-select-all input[type="checkbox"] {
  accent-color: var(--pj-green);
  width: 18px;
  height: 18px;
  margin: 0;
}
.cart-checkout-select-all span {
  font-size: 13px;
  font-weight: 500;
  color: var(--pj-gray-700);
}
.cart-checkout-total {
  text-align: right;
  margin-left: auto;
}
.cart-checkout-label {
  display: block;
  font-size: 11px;
  color: var(--pj-gray-500);
}
.cart-checkout-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--pj-navy);
}
.cart-checkout-btn {
  height: 44px;
  padding: 0 28px;
  border-radius: 12px;
  border: none;
  background: var(--pj-green);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pj-transition);
  flex-shrink: 0;
}
.cart-checkout-btn:hover { background: var(--pj-green-dark); }
.cart-checkout-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Voucher Modal */
.cart-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.cart-modal-overlay.active { opacity: 1; visibility: visible; }
.cart-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pj-white);
  border-radius: 16px 16px 0 0;
  z-index: 1210;
  transform: translateY(100%);
  transition: transform .3s ease;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 30px rgba(0,0,0,.15);
}
.cart-modal.open { transform: translateY(0); }
.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--pj-gray-100);
  flex-shrink: 0;
}
.cart-modal-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pj-gray-900);
  margin: 0;
}
.cart-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--pj-gray-100);
  color: var(--pj-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--pj-transition);
}
.cart-modal-close:hover { background: var(--pj-gray-200); }
.cart-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-modal-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--pj-gray-100);
  flex-shrink: 0;
}
.cart-voucher-apply {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: var(--pj-green);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pj-transition);
}
.cart-voucher-apply:hover { background: var(--pj-green-dark); }

/* Voucher Picker button in checkout bar */
.cart-voucher-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--pj-gray-200);
  background: var(--pj-white);
  font-size: 12px;
  font-weight: 500;
  color: var(--pj-gray-600);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--pj-transition);
}
.cart-voucher-picker:hover { border-color: var(--pj-green); color: var(--pj-green); }
.cart-voucher-picker iconify-icon:first-child { font-size: 16px; color: var(--pj-gold); }
.cart-voucher-picker-arrow { font-size: 14px; color: var(--pj-gray-400); }
.cart-voucher-picker.has-voucher {
  border-color: var(--pj-green);
  background: var(--pj-green-light);
  color: var(--pj-green);
  font-weight: 600;
}

/* Voucher selected indicator (inline) */
.cart-voucher-selected {
  display: block;
  font-size: 12px;
  color: var(--pj-gray-500);
  padding: 0 0 4px 4px;
}

@media (max-width: 767.98px) {
  .cart-page { padding: 12px 0 110px; }
  .cart-header h1 { font-size: 17px; }
  .cart-header-count { font-size: 12px; }
  .cart-voucher { border-radius: 10px; margin: 0 0 8px; }
  .cart-voucher-option { padding: 8px 10px; }
  .cart-store-group { border-radius: 10px; margin: 0 0 8px; }
  .cart-store-header { padding: 12px 14px; }
  .cart-item { padding: 12px 14px; gap: 10px; }
  .cart-item-img { width: 64px; height: 64px; }
  .cart-item-title { font-size: 13px; }
  .cart-item-price { font-size: 14px; }
  .cart-checkout-bar { padding: 8px 0; bottom: 56px; }
  .cart-checkout-inner { flex-wrap: wrap; gap: 4px; }
  .cart-checkout-select-all { flex: 1; min-width: 0; }
  .cart-voucher-picker { font-size: 11px; padding: 6px 10px; }
  .cart-checkout-total { width: 100%; text-align: left; margin-left: 0; }
  .cart-checkout-price { font-size: 16px; }
  .cart-checkout-btn { width: 100%; padding: 0; font-size: 14px; height: 40px; }
  .cart-checkout-select-all span { font-size: 12px; }
}

/* ── Product Detail Mobile ── */
@media (max-width: 991.98px) {
  .pd-main { flex-direction: column; }
  .pd-gallery { flex: 1; max-width: 100%; }
  .pd-bottom { flex-direction: column; }
  .pd-bottom-right { flex: 1; position: static; width: 100%; }
}
@media (max-width: 767.98px) {
  .pd-page { padding: 12px 0 24px; }
  .pd-breadcrumb { font-size: 11px; margin-bottom: 10px; }
  .pd-main { padding: 0; border-radius: 0; box-shadow: none; margin: 0 -12px 12px; gap: 0; }
  .pd-gallery { padding: 0; }
  .pd-gallery-main { border-radius: 0; max-width: 100%; }
  .pd-thumb { width: 52px; height: 52px; }
  .pd-info { padding: 16px 12px; }
  .pd-title { font-size: 15px; }
  .pd-rating-row { font-size: 12px; }
  .pd-price-row { padding: 12px 16px; }
  .pd-price { font-size: 22px; }
  .pd-variant-btn { padding: 6px 14px; font-size: 12px; }
  .pd-actions { gap: 8px; }
  .pd-btn { font-size: 13px; height: 44px; }
  .pd-btn-cart { flex: 0 0 auto; padding: 0 16px; }
  .pd-btn-cart span { display: none; }
  .pd-services { flex-direction: column; gap: 8px; padding: 0 12px 16px; }
  .pd-bottom-left .pd-section { border-radius: 0; box-shadow: none; margin: 0 -12px 8px; }
  .pd-bottom-left .pd-section h3 { font-size: 14px; }
  .pd-bottom-right .pd-section { border-radius: 0; box-shadow: none; margin: 0 -12px 8px; }
  .pd-detail-table td { font-size: 12px; }
  .pd-detail-table td:first-child { width: 110px; }
  .pd-desc-content { font-size: 13px; }
  .pd-review-summary { flex-direction: column; gap: 12px; }
  .pd-review-score { display: flex; align-items: center; gap: 12px; }
  .pd-review-score-num { font-size: 28px; margin-bottom: 0; }
  .pd-review-score .pd-stars { font-size: 14px; }
  .pd-merchant-stat { padding: 10px 0; }
  .pd-merchant-stat .pd-stat-value { font-size: 13px; }
}

/* ── Responsive ── */
@media (max-width: 1199.98px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 991.98px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-carousel .item .slide-content { min-height: 220px; padding: 30px; }
  .promo-carousel .item .slide-text { max-width: 70%; }
  .promo-carousel .item .slide-text h2 { font-size: 24px; }
}
@media (max-width: 767.98px) {
  .top-bar { display: none; }
  .nav-mega { display: none; }
  .bottom-nav { display: block; }
  body { padding-bottom: 56px; }
  .header-actions .d-md-flex { display: none !important; }

  .main-header {
    padding: 8px 0;
    top: 0;
  }
  .main-header .container { gap: 6px; }
  .main-header .logo { gap: 4px; }
  .main-header .logo-text { display: none; }
  .main-header .logo-icon { width: 30px; height: 30px; font-size: 14px; }

  .search-wrapper {
    flex: 1;
    max-width: 100%;
  }
  .search-wrapper .form-control {
    height: 36px;
    font-size: 13px;
    border-radius: 100px;
  }
  .search-wrapper .btn-search {
    height: 28px;
    width: 36px;
    top: 4px;
    right: 4px;
  }

  .header-actions .btn-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .dropdown-panel {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
    transform: translateY(0) !important;
    opacity: 0;
    visibility: hidden;
    z-index: 1070;
  }
  .dropdown-panel.active {
    opacity: 1;
    visibility: visible;
  }
  .dropdown-panel .dropdown-body {
    max-height: calc(100vh - 130px);
  }
  .btn-back-panel {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--pj-gray-100);
    color: var(--pj-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--pj-transition);
  }
  .btn-back-panel:hover { background: var(--pj-gray-200); }
  .btn-back-panel { display: flex !important; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card .body { padding: 8px 10px; }
  .product-card .body .title { font-size: 12px; min-height: 32px; }
  .product-card .body .price { font-size: 14px; }
  .product-card .body .price .original { font-size: 10px; }
  .product-card .body .meta { font-size: 10px; }
  .product-section { padding: 12px 0 24px; }

  .category-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -12px;
    padding: 0 12px 4px;
  }
  .category-scroll::-webkit-scrollbar { display: none; }
  .category-scroll .category-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
  }
  .category-card {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 10px 8px;
  }
  .category-card .icon-wrap { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .category-card span { font-size: 9px; }

  .promo-section { padding: 12px 0 6px; }
  .promo-carousel .item .slide-content { min-height: 160px; padding: 20px 24px; border-radius: 8px; }
  .promo-carousel .item .slide-text { max-width: 100%; }
  .promo-carousel .item .slide-text h2 { font-size: 18px; }
  .promo-carousel .item .slide-text p { font-size: 12px; margin-bottom: 12px; }
  .promo-carousel .item .slide-text .btn-cta { padding: 8px 18px; font-size: 12px; }
  .promo-carousel .item .slide-text .tag { font-size: 9px; padding: 3px 10px; }
  .promo-carousel .owl-nav { display: none; }
  .promo-carousel .owl-dots { margin-top: 8px !important; }
  .promo-carousel .owl-dots .owl-dot span { width: 6px; height: 6px; }
  .promo-carousel .owl-dots .owl-dot.active span { width: 20px; }

  .section-header { margin-bottom: 12px; }
  .section-header h3 { font-size: 15px; }
  .section-header h3 i { font-size: 16px; }
  .section-header a { font-size: 12px; }

  .features-strip { padding: 20px 0; margin: 8px 0 0; }
  .features-strip .feature-item { padding: 8px; }
  .features-strip .feature-item i { font-size: 24px; margin-bottom: 4px; }
  .features-strip .feature-item h6 { font-size: 12px; }
  .features-strip .feature-item p { font-size: 11px; }

  footer { padding: 32px 0 0; }
  footer .row > div { margin-bottom: 16px; }
  footer h6 { margin-bottom: 10px; }
  footer .social-links a { width: 32px; height: 32px; font-size: 14px; }
}
@media (max-width: 575.98px) {
  .product-grid { gap: 6px; }
  .product-card .badge-discount { font-size: 9px; padding: 2px 6px; }
  .product-card .badge-free-ship { font-size: 8px; padding: 1px 6px; }
  .category-card { padding: 8px 6px; min-width: 68px; }
  .category-card .icon-wrap { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; margin-bottom: 6px; }
  .category-card span { font-size: 9px; }
}

/* ── Checkout Page ── */
.co-page { padding: 16px 0 90px; }
.co-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.co-header h1 { font-size: 18px; font-weight: 700; color: var(--pj-gray-900); margin: 0; }
.co-back { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--pj-gray-100); color: var(--pj-gray-700); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; text-decoration: none; transition: var(--pj-transition); flex-shrink: 0; }
.co-back:hover { background: var(--pj-gray-200); }

.co-section { background: white; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); padding: 16px 20px; margin-bottom: 10px; }
.co-section-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--pj-gray-100); margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--pj-gray-900); }
.co-change-btn { font-size: 12px; color: var(--pj-green); font-weight: 500; border: none; background: none; cursor: pointer; }
.co-change-btn:hover { text-decoration: underline; }

.co-address-card { padding: 4px 0; }
.co-address-name { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.co-address-name strong { font-size: 14px; color: var(--pj-gray-900); }
.co-address-name span { font-size: 12px; color: var(--pj-gray-600); }
.co-address-badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: var(--pj-green-light); color: var(--pj-green); }
.co-address-detail { font-size: 13px; color: var(--pj-gray-600); line-height: 1.6; }

.co-store { margin-bottom: 12px; }
.co-store:last-child { margin-bottom: 0; }
.co-store-name { font-size: 13px; font-weight: 600; color: var(--pj-gray-800); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }

.co-product-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--pj-gray-50); }
.co-product-item:first-child { border-top: none; }
.co-product-img { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.co-product-img img { width: 100%; height: 100%; object-fit: cover; }
.co-product-body { flex: 1; min-width: 0; }
.co-product-title { font-size: 13px; color: var(--pj-gray-800); line-height: 1.3; margin-bottom: 2px; }
.co-product-variant { font-size: 11px; color: var(--pj-gray-500); margin-bottom: 4px; }
.co-product-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.co-product-price { font-size: 14px; font-weight: 600; color: var(--pj-gray-900); }
.co-product-qty { font-size: 12px; color: var(--pj-gray-500); }
.co-product-note { width: 100%; border: 1px solid var(--pj-gray-200); border-radius: 8px; padding: 8px 10px; font-size: 12px; color: var(--pj-gray-700); resize: none; min-height: 34px; outline: none; transition: var(--pj-transition); font-family: inherit; }
.co-product-note:focus { border-color: var(--pj-green); }

.co-shipping-group { margin-bottom: 14px; border: 1px solid var(--pj-gray-100); border-radius: 10px; padding: 10px 12px; }
.co-shipping-group:last-child { margin-bottom: 0; }
.co-shipping-label { font-size: 12px; font-weight: 600; color: var(--pj-gray-800); margin-bottom: 8px; }

.co-radio-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--pj-gray-50); cursor: pointer; transition: var(--pj-transition); }
.co-radio-row:first-child { border-top: none; }
.co-radio-row:hover { background: var(--pj-gray-50); margin: 0 -8px; padding: 10px 8px; border-radius: 8px; }
.co-radio-row input[type="radio"] { accent-color: var(--pj-green); width: 16px; height: 16px; flex-shrink: 0; margin: 0; cursor: pointer; }
.co-radio-body { flex: 1; min-width: 0; }
.co-radio-title { font-size: 13px; font-weight: 500; color: var(--pj-gray-900); }
.co-radio-sub { font-size: 11px; color: var(--pj-gray-500); margin-top: 1px; }
.co-radio-price { font-size: 13px; font-weight: 600; color: var(--pj-gray-900); flex-shrink: 0; }
.co-radio-icon { font-size: 22px; color: var(--pj-gray-600); flex-shrink: 0; }
.co-radio-row.active .co-radio-title { color: var(--pj-green); font-weight: 600; }

.co-summary-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--pj-gray-700); }
.co-summary-value { font-weight: 500; color: var(--pj-gray-900); }
.co-summary-discount { color: var(--pj-green); }
.co-summary-divider { border-top: 1px dashed var(--pj-gray-200); margin: 6px 0; }
.co-summary-total { font-size: 14px; font-weight: 700; }
.co-summary-total .co-summary-value { font-size: 16px; color: var(--pj-green); }

.co-order-bar { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid var(--pj-gray-100); padding: 12px 0; z-index: 1050; box-shadow: 0 -2px 10px rgba(0,0,0,0.06); }
.co-order-inner { display: flex; align-items: center; gap: 12px; }
.co-order-total { display: flex; flex-direction: column; }
.co-order-label { font-size: 11px; color: var(--pj-gray-500); }
.co-order-price { font-size: 18px; font-weight: 700; color: var(--pj-green); }
.co-order-btn { flex: 1; height: 46px; border-radius: 10px; border: none; background: var(--pj-green); color: white; font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--pj-transition); }
.co-order-btn:hover { background: var(--pj-green-dark); }

@media (max-width: 767.98px) {
  .co-page { padding: 12px 0 90px; }
  .co-header { margin-bottom: 12px; }
  .co-header h1 { font-size: 16px; }
  .co-section { border-radius: 0; margin: 0 -12px 8px; padding: 14px 12px; }
  .co-address-card { padding: 2px 0; }
  .co-address-name strong { font-size: 13px; }
  .co-address-detail { font-size: 12px; }
  .co-product-img { width: 60px; height: 60px; }
  .co-product-title { font-size: 12px; }
  .co-order-bar { padding: 10px 0; }
  .co-order-price { font-size: 16px; }
  .co-order-btn { height: 42px; font-size: 14px; }
  .co-shipping-group { padding: 8px 10px; }
}

/* ── Order Confirm Page ── */
.oc-page { padding: 24px 0; }
.oc-card { background: white; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); padding: 32px 20px; max-width: 560px; margin: 0 auto; text-align: center; }
.oc-success-icon { font-size: 56px; color: var(--pj-green); margin-bottom: 8px; }
.oc-title { font-size: 20px; font-weight: 700; color: var(--pj-gray-900); margin: 0 0 4px; }
.oc-subtitle { font-size: 13px; color: var(--pj-gray-500); margin: 0 0 20px; }

.oc-info-box { background: var(--pj-gray-50); border-radius: 10px; padding: 14px 16px; text-align: left; }
.oc-info-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 13px; }
.oc-info-row span { color: var(--pj-gray-600); }
.oc-info-row strong { color: var(--pj-gray-900); }
.oc-info-price { font-size: 16px; color: var(--pj-green) !important; }
.oc-info-expiry { color: var(--pj-red) !important; }

.oc-divider { border-top: 1px solid var(--pj-gray-100); margin: 20px 0; }

.oc-payment-guide h3 { font-size: 15px; font-weight: 700; color: var(--pj-gray-900); margin: 0 0 16px; text-align: left; }
.oc-qr-placeholder { text-align: center; margin-bottom: 20px; }
.oc-qr-box { display: inline-flex; align-items: center; justify-content: center; width: 180px; height: 180px; background: white; border: 2px dashed var(--pj-gray-200); border-radius: 16px; margin-bottom: 10px; }
.oc-qr-note { font-size: 12px; color: var(--pj-gray-500); margin: 0; }

.oc-steps { text-align: left; margin-bottom: 16px; }
.oc-step { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--pj-gray-50); }
.oc-step:last-child { border-bottom: none; }
.oc-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--pj-green); color: white; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.oc-step-text strong { display: block; font-size: 13px; color: var(--pj-gray-900); margin-bottom: 2px; }
.oc-step-text span { font-size: 12px; color: var(--pj-gray-500); line-height: 1.4; }

.oc-copy-btn { width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--pj-gray-200); background: white; font-size: 13px; font-weight: 500; color: var(--pj-gray-700); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: var(--pj-transition); margin-bottom: 20px; }
.oc-copy-btn:hover { border-color: var(--pj-green); color: var(--pj-green); }

.oc-actions { display: flex; flex-direction: column; gap: 8px; }
.oc-btn-primary { display: block; width: 100%; height: 46px; border-radius: 10px; border: none; background: var(--pj-green); color: white; font-size: 14px; font-weight: 600; text-decoration: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--pj-transition); }
.oc-btn-primary:hover { background: var(--pj-green-dark); color: white; }
.oc-btn-secondary { display: block; width: 100%; height: 46px; border-radius: 10px; border: 1px solid var(--pj-gray-200); background: white; color: var(--pj-gray-800); font-size: 14px; font-weight: 500; text-decoration: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--pj-transition); }
.oc-btn-secondary:hover { border-color: var(--pj-gray-300); color: var(--pj-gray-900); }

@media (max-width: 767.98px) {
  .oc-page { padding: 12px 0 24px; }
  .oc-card { border-radius: 0; padding: 24px 16px; margin: 0 -12px; box-shadow: none; max-width: 100%; }
  .oc-success-icon { font-size: 44px; }
  .oc-title { font-size: 18px; }
  .oc-qr-box { width: 150px; height: 150px; }
  .oc-qr-box iconify-icon { font-size: 110px !important; }
  .oc-actions { gap: 6px; }
  .oc-btn-primary, .oc-btn-secondary { height: 42px; font-size: 13px; }
}

/* ── Transactions Page ── */
.trx-page { padding: 16px 0 80px; }
.trx-header h1 { font-size: 18px; font-weight: 700; color: var(--pj-gray-900); margin: 0 0 14px; }

.trx-tabs { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 14px; }
.trx-tabs::-webkit-scrollbar { display: none; }
.trx-tab { flex-shrink: 0; padding: 7px 16px; border-radius: 100px; border: 1px solid var(--pj-gray-200); background: white; font-size: 12px; font-weight: 500; color: var(--pj-gray-600); cursor: pointer; transition: var(--pj-transition); white-space: nowrap; }
.trx-tab:hover { border-color: var(--pj-green); color: var(--pj-green); }
.trx-tab.active { background: var(--pj-green); border-color: var(--pj-green); color: white; }

.trx-card { background: white; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 10px; overflow: hidden; }
.trx-card-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--pj-gray-50); }
.trx-store { font-size: 13px; font-weight: 600; color: var(--pj-gray-800); display: flex; align-items: center; gap: 6px; }
.trx-status { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.trx-status-waiting { background: #fff3e0; color: #e65100; }
.trx-status-process { background: #e3f2fd; color: #1565c0; }
.trx-status-sent { background: #e8f5e9; color: #2e7d32; }
.trx-status-done { background: var(--pj-gray-100); color: var(--pj-gray-600); }

.trx-card-body { padding: 10px 16px; }
.trx-product { display: flex; gap: 12px; }
.trx-product-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.trx-product-img img { width: 100%; height: 100%; object-fit: cover; }
.trx-product-info { flex: 1; min-width: 0; }
.trx-product-name { font-size: 13px; color: var(--pj-gray-800); line-height: 1.3; margin-bottom: 2px; }
.trx-product-variant { font-size: 11px; color: var(--pj-gray-500); }
.trx-product-qty { font-size: 11px; color: var(--pj-gray-500); margin-top: 2px; }

.trx-card-footer { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--pj-gray-50); }
.trx-total-label { font-size: 12px; color: var(--pj-gray-600); flex-shrink: 0; }
.trx-total-value { font-size: 14px; font-weight: 700; color: var(--pj-gray-900); flex: 1; }
.trx-btn-pay, .trx-btn-detail, .trx-btn-track { flex-shrink: 0; height: 34px; padding: 0 16px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--pj-transition); }
.trx-btn-pay { background: var(--pj-green); color: white; border: none; }
.trx-btn-pay:hover { background: var(--pj-green-dark); color: white; }
.trx-btn-detail { background: white; color: var(--pj-gray-700); border: 1px solid var(--pj-gray-200); }
.trx-btn-detail:hover { border-color: var(--pj-gray-300); color: var(--pj-gray-900); }
.trx-btn-track { background: white; color: var(--pj-blue); border: 1px solid var(--pj-blue); }
.trx-btn-track:hover { background: var(--pj-blue); color: white; }

@media (max-width: 767.98px) {
  .trx-page { padding: 12px 0 72px; }
  .trx-header h1 { font-size: 16px; margin-bottom: 10px; }
  .trx-tabs { margin-bottom: 10px; }
  .trx-card { border-radius: 0; margin: 0 -12px 8px; }
  .trx-card-header { padding: 10px 12px; }
  .trx-card-body { padding: 8px 12px; }
  .trx-card-footer { padding: 8px 12px; }
  .trx-product-name { font-size: 12px; }
  .trx-total-value { font-size: 13px; }
  .trx-btn-pay, .trx-btn-detail, .trx-btn-track { height: 32px; padding: 0 14px; font-size: 11px; }
}
