@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

:root {
  --j9-orange: #ff6b35;
  --j9-orange-dark: #e85a28;
  --j9-peach: #fff0e8;
  --j9-peach-dark: #ffe4d6;
  --j9-teal: #2bbbad;
  --j9-btn-bg: var(--j9-orange);
  --j9-btn-bg-hover: var(--j9-orange-dark);
  --j9-btn-shadow-color: var(--j9-orange);
  --j9-text: #333333;
  --j9-text-muted: #888888;
  --j9-border: #e8e8e8;
  --j9-white: #ffffff;
  --j9-radius: 16px;
  --j9-radius-sm: 10px;
  --j9-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body, h1, h2, h3, h4, h5, h6 {
  font-family: var(--cassiopeia-font-family-body, 'Noto Sans Thai', sans-serif);
}

.j9-page {
  font-family: var(--cassiopeia-font-family-body, 'Noto Sans Thai', sans-serif);
  color: var(--j9-text);
  background: var(--j9-white);
  line-height: 1.5;
}

.j9-page a {
  color: inherit;
  text-decoration: none;
}

.j9-page a:hover {
  color: var(--j9-orange);
}

.j9-page img {
  max-width: 100%;
  height: auto;
}

.j9-header-wrap {
  z-index: 1030;
  background: var(--j9-white);
}

.j9-brand__description {
  font-size: 0.75rem;
  color: var(--j9-text-muted);
  margin-top: 0.15rem;
}

.j9-brand img {
  max-height: 48px;
  width: auto;
}

/* Top utility bar */
.j9-topbar {
  background: var(--j9-peach);
  font-size: 0.8rem;
  font-weight: bolder;
  color: #666;
  border-bottom: 1px solid rgba(255, 107, 53, 0.08);
}

.j9-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.j9-topbar__item svg,
.j9-topbar__link svg,
.j9-topbar__link i {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.j9-topbar__item svg {
  color: var(--j9-orange);
}

.j9-topbar__left,
.j9-topbar__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.j9-topbar__left {
  justify-content: flex-start;
}

.j9-topbar__links {
  justify-content: flex-end;
}

.j9-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  transition: color 0.2s;
  line-height: 1;
}

.j9-topbar__link:hover {
  color: var(--j9-orange);
}

/* Main header */
.j9-header {
  background: var(--j9-white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--j9-border);
}

.j9-logo {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.j9-logo__j9 {
  color: var(--j9-orange);
}

.j9-logo__phone {
  color: var(--j9-text);
}

.j9-search .mzc-ajaxsearch-clear {
  color: #888;
}

.j9-search .mzc-ajaxsearch-results {
  overflow-x: hidden;
  font-family: var(--cassiopeia-font-family-body, 'Noto Sans Thai', sans-serif);
  font-size: 0.9rem;
  color: var(--j9-text);
}

.mod-sp-vmajaxsearch .j9-search .mzc-ajaxsearch-results ul {
  max-height: none;
  overflow: visible;
}

.mod-sp-vmajaxsearch .mzc-ajaxsearch-results a,
.mod-sp-vmajaxsearch .mzc-ajaxsearch-results li,
.mod-sp-vmajaxsearch .mzc-ajaxsearch-results span,
.mod-sp-vmajaxsearch .mzc-ajaxsearch-results .search-highlight,
.mod-sp-vmajaxsearch .mzc-ajaxsearch-results .sp-vmajax-search-product-title,
.mod-sp-vmajaxsearch .mzc-ajaxsearch-results .sp-vmajax-search-product-price {
  font-family: inherit;
}

.mod-sp-vmajaxsearch .j9-search .j9-search__field {
  position: relative;
  width: 100%;
}

.mod-sp-vmajaxsearch .j9-search .form-control {
  width: 100% !important;
  display: block;
  border: 1px solid #ddd !important;
  border-radius: 999px !important;
  padding: 0.72rem 3.6rem 0.72rem 1.25rem !important;
  font-family: var(--cassiopeia-font-family-body, 'Noto Sans Thai', sans-serif);
  font-size: 0.9rem;
  min-height: 52px;
  box-shadow: none !important;
}

.sp-vmajax-courses-search img {
  width: auto !important;
}

.mod-sp-vmajaxsearch .j9-search .form-control:focus {
  border-color: var(--j9-orange) !important;
  box-shadow: none !important;
}

.mod-sp-vmajaxsearch .j9-search .j9-search__btn,
.mod-sp-vmajaxsearch .j9-search .j9-header-search__button {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  min-width: 40px;
  aspect-ratio: 1 / 1;
  border: 0 !important;
  border-radius: 50%;
  cursor: pointer;
  color: var(--j9-white);
  font-size: 0;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    90deg,
    var(--j9-btn-gradient-1, var(--j9-orange)) 0%,
    var(--j9-btn-gradient-2, var(--j9-orange-dark)) 48%,
    var(--j9-btn-gradient-3, var(--j9-teal)) 100%
  );
  box-shadow: 0 5px 12px color-mix(in srgb, var(--j9-btn-shadow-color, var(--j9-orange)) 22%, transparent);
  transition: 0.25s ease;
}

.mod-sp-vmajaxsearch .j9-search .mzc-ajaxsearch-clear {
  right: 2.85rem !important;
}

.mod-sp-vmajaxsearch .j9-search .j9-search__btn:hover,
.mod-sp-vmajaxsearch .j9-search .j9-header-search__button:hover {
  filter: brightness(0.96);
  color: var(--j9-white);
}

.j9-header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  color: var(--j9-text);
  white-space: nowrap;
  font-weight: 500;
}

.j9-header-action svg {
  color: var(--j9-orange);
}

.j9-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--j9-orange);
  color: var(--j9-white);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
}

/* Main navigation */
.j9-nav {
  background: var(--j9-white);
  border-bottom: 1px solid var(--j9-border);
  font-weight: 500;
}

.j9-nav__list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  list-style: none;
  margin: 0;
  width: 100%;
}

.j9-nav .j9-nav__list > .nav-item,
.j9-nav .j9-nav__list > li.nav-item {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  min-width: 0;
  width: auto;
}

.j9-nav .nav-link.j9-nav__link {
  color: var(--j9-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  width: auto;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.j9-nav .nav-link.j9-nav__link:hover,
.j9-nav .nav-link.j9-nav__link:focus-visible {
  color: var(--j9-orange);
}

.j9-nav .nav-link.j9-nav__link.is-active,
.j9-nav .nav-link.j9-nav__link.active {
  font-weight: 800;
  color: var(--j9-white);
  min-height: 42px;
  padding: 0 22px;
  border-bottom-color: transparent;
  border-radius: 9px;
  background: linear-gradient(
    90deg,
    var(--j9-btn-gradient-1, var(--j9-orange)) 0%,
    var(--j9-btn-gradient-2, var(--j9-orange-dark)) 48%,
    var(--j9-btn-gradient-3, var(--j9-teal)) 100%
  );
  box-shadow: 0 7px 16px color-mix(in srgb, var(--j9-btn-shadow-color, var(--j9-orange)) 24%, transparent);
  -webkit-text-fill-color: var(--j9-white);
}

.j9-nav .nav-link.j9-nav__link.is-active:hover,
.j9-nav .nav-link.j9-nav__link.active:hover {
  color: var(--j9-white);
  filter: brightness(0.98);
}

/* ── Hamburger button: hidden on desktop, shown on mobile ── */
.j9-mob-toggle {
  display: none;
}

.j9-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.j9-nav__dropdown-icon {
  font-size: 0.65rem;
  margin-left: 0.15rem;
}

.j9-nav .nav-item.dropdown,
.j9-nav .dropend {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.j9-nav .nav-item.dropdown > .nav-link.j9-nav__link {
  padding-right: 6px;
}

.j9-nav .j9-nav__dropdown-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 0;
  padding: 0 12px 0 4px;
  line-height: 1;
}

.j9-nav .j9-nav__dropdown-btn.dropdown-toggle-split::before {
  display: none;
}

.j9-nav .j9-nav__dropdown-btn:hover,
.j9-nav .j9-nav__dropdown-btn:focus-visible {
  color: var(--j9-orange);
}

/* Keep parent link + caret as one active pill */
.j9-nav .nav-item.dropdown:has(> .nav-link.is-active),
.j9-nav .nav-item.dropdown:has(> .nav-link.active) {
  border-radius: 9px;
  background: linear-gradient(
    90deg,
    var(--j9-btn-gradient-1, var(--j9-orange)) 0%,
    var(--j9-btn-gradient-2, var(--j9-orange-dark)) 48%,
    var(--j9-btn-gradient-3, var(--j9-teal)) 100%
  );
  box-shadow: 0 7px 16px color-mix(in srgb, var(--j9-btn-shadow-color, var(--j9-orange)) 24%, transparent);
}

.j9-nav .nav-item.dropdown:has(> .nav-link.is-active) > .nav-link.j9-nav__link,
.j9-nav .nav-item.dropdown:has(> .nav-link.active) > .nav-link.j9-nav__link {
  background: transparent;
  box-shadow: none;
  min-height: 42px;
}

.j9-nav .nav-item.dropdown:has(> .nav-link.is-active) > .j9-nav__dropdown-btn,
.j9-nav .nav-item.dropdown:has(> .nav-link.active) > .j9-nav__dropdown-btn {
  color: var(--j9-white);
  min-height: 42px;
}

.j9-nav .j9-nav__dropdown-btn--sub {
  min-height: auto;
  padding: 0.45rem 0.75rem 0.45rem 0.25rem;
  color: var(--j9-text);
}

.j9-nav .dropend {
  justify-content: space-between;
}

.j9-nav .dropend > .dropdown-item {
  flex: 1 1 auto;
}

/* ── Mobile menu list: always hidden — JS+CSS controls visibility ── */
.j9-mob__list {
  display: none;
}

/* Override Cassiopeia .mod-menu vertical default inside j9 nav */
.j9-nav .mod-menu,
.j9-nav .j9-nav__list.mod-menu,
.j9-nav .j9-nav__list.nav {
  flex-direction: row !important;
}

.j9-nav .dropdown-menu {
  border: 1px solid var(--j9-border);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
  margin-top: 0.15rem;
  min-width: 12rem;
  padding: 0.35rem 0;
}

/* Align submenu under the parent item (static display — no Popper offset) */
.j9-nav .nav-item.dropdown > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  margin-top: 0.15rem;
}

.j9-nav .dropdown-item {
  color: var(--j9-text);
  font-size: 0.875rem;
  padding: 0.45rem 1rem;
}

.j9-nav .dropdown-item:hover,
.j9-nav .dropdown-item:focus {
  background-color: rgba(255, 102, 0, 0.08);
  color: var(--j9-orange);
}

.j9-nav .dropdown-item.active,
.j9-nav .dropdown-item:active {
  background-color: rgba(255, 102, 0, 0.12);
  color: var(--j9-orange);
}

.j9-nav .dropdown-header {
  color: var(--j9-text-muted, #6c757d);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.j9-nav .j9-nav__dropdown-btn.dropdown-toggle::after {
  margin-left: 0;
  vertical-align: 0.15em;
}

.j9-nav .j9-nav__dropdown-btn--sub.dropdown-toggle::after {
  transform: rotate(-90deg);
}

/* Brand circles */
.j9-brands {
  padding: 0.75rem 0;
  background: var(--j9-white);
}

.j9-brands__list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
}

.j9-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0.5rem 0.25rem;
  text-decoration: none;
  color: inherit;
}

.j9-brand-item__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--j9-white);
  border: 1px solid var(--j9-border);
  box-shadow: var(--j9-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.j9-brand-item:hover .j9-brand-item__circle {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.15);
}

.j9-brand-item__label {
  font-size: 0.78rem;
  color: var(--j9-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Hero carousel */
.j9-hero {
  padding: 1rem 0 1.5rem;
}

.j9-hero__carousel {
  position: relative;
}

.j9-hero__carousel .carousel-inner {
  border-radius: var(--j9-radius);
  overflow: hidden;
}

.j9-hero__carousel .carousel-item > img,
.j9-hero__carousel .carousel-item img.d-block.w-100 {
  display: none !important;
}

.j9-hero__slide {
  background: linear-gradient(135deg, var(--j9-peach) 0%, #fff8f4 50%, var(--j9-peach-dark) 100%);
  border-radius: var(--j9-radius);
  overflow: hidden;
  min-height: 340px;
  position: relative;
}

.j9-hero__slide--has-image {
  min-height: auto;
  background: transparent;
  position: relative;
}

.j9-hero__slide--has-image::before {
  display: none;
}

.j9-hero__slide--has-image .j9-hero__media {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.j9-hero__slide--has-image .j9-hero__image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: unset;
}

.j9-hero__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 0;
  overflow: hidden;
}

.j9-hero__slide .row:has(.j9-hero__media) {
  min-height: 340px;
}

.j9-hero__slide .row:has(.j9-hero__media) > .col-lg-6:last-child {
  display: flex;
  padding: 0;
}

.j9-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
}

.j9-hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(255, 180, 140, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255, 200, 170, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.j9-hero__content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
}

.j9-hero__content.j9-hero__content--overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 520px);
  padding: 2.5rem 2rem 3rem;
  pointer-events: none;
}

.j9-hero__content.j9-hero__content--overlay .j9-hero__btn {
  pointer-events: auto;
  align-self: flex-start;
}

.j9-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.j9-hero__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #666;
}

.j9-hero__feature svg {
  color: var(--j9-teal);
}

.j9-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--j9-orange);
  color: var(--j9-white);
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.j9-hero__btn:hover {
  background: var(--j9-orange-dark);
  color: var(--j9-white);
}

.j9-hero__phones {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  min-height: 280px;
}

.j9-hero__phone {
  width: 90px;
  height: 180px;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  position: relative;
}

.j9-hero__phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.j9-hero__phone--1 {
  background: linear-gradient(160deg, #c8d8e8 0%, #8aabcc 100%);
  transform: rotate(-8deg) translateY(10px);
}

.j9-hero__phone--2 {
  background: linear-gradient(160deg, #f5e6d3 0%, #d4b896 100%);
  width: 100px;
  height: 200px;
  z-index: 2;
}

.j9-hero__phone--3 {
  background: linear-gradient(160deg, #2a2a2a 0%, #555 100%);
  transform: rotate(8deg) translateY(10px);
}

.j9-hero .carousel-indicators,
.j9-hero__carousel .carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0.75rem;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.j9-hero .carousel-indicators [data-bs-target],
.j9-hero__carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.15);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.j9-hero .carousel-indicators .active,
.j9-hero__carousel .carousel-indicators .active {
  background: var(--j9-orange);
  border-color: var(--j9-orange);
}

/* Service highlights */
.j9-services {
  font-size: 14px;
}

.j9-service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 12px;
}

.j9-service-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--j9-teal);
}

.j9-service-item__title {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.j9-service-item__desc {
  font-size: 0.75rem;
  color: var(--j9-text-muted);
  margin: 0;
}

/* Section headers */
.j9-section {
  padding: 1rem 0;
}

.j9-section__deals {
  background: var(--j9-white);
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  padding: .5rem 1.25rem;
}

.j9-section__deals .j9-product-card__badge {
  top: 10px;
}

.j9-section__deals .j9-deals-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

@media (min-width: 1200px) {
  .j9-section__deals .j9-deals-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
  }

  .j9-section__deals .j9-deals-grid > .j9-deals-grid__col {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

.j9-section__categories, .j9-section__recommended {
  background: var(--j9-white);
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  padding: .5rem 1.25rem;
  height: 100%;
}

.j9-section__categories .j9-section__header {
  margin-bottom: 1.5rem;
}

.j9-section__categories .j9-section__link, .j9-section__deals .j9-section__link, .j9-section__recommended .j9-section__link {
  color: var(--j9-teal);
}

.j9-section__categories .j9-section__link:hover, .j9-section__deals .j9-section__link:hover, .j9-section__recommended .j9-section__link:hover {
  color: var(--j9-teal);
  opacity: 0.85;
}

.j9-section__categories .j9-category-card__img {
  padding: 0;
}

.j9-section__categories .j9-category-card__img svg {
  width: 50%;
  max-height: 48px;
}

.j9-section__categories .j9-category-card__label {
  margin-top: 0.4rem;
  padding: 0;
  font-size: 0.68rem;
  line-height: 1.2;
}

@media (min-width: 576px) {
  .j9-section__categories .j9-category-card__label {
    font-size: 0.72rem;
  }
}

@media (min-width: 992px) {
  .j9-section__categories .j9-category-card__label {
    font-size: 0.65rem;
    margin-top: 0.5rem;
  }
}

.j9-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.j9-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.j9-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--j9-text-muted);
}

.j9-section__link:hover {
  color: var(--j9-orange);
}

.j9-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--j9-text-muted);
}

.j9-countdown__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 0.35rem;
  background: var(--j9-orange);
  color: var(--j9-white);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Category cards */
.j9-category-card {
  text-align: center;
  transition: transform 0.2s;
}

.j9-category-card:hover {
  transform: translateY(-2px);
}

.j9-category-card:hover .j9-category-card__img {
  box-shadow: var(--j9-shadow);
}

.j9-category-card__img {
  aspect-ratio: 1 / 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  transition: box-shadow 0.2s;
}

.j9-category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.j9-category-card__img svg {
  width: 60%;
  max-height: 80px;
  color: #bbb;
}

.j9-category-card__label {
  display: block;
  margin-top: 0.5rem;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--j9-text);
  background: transparent;
}

/* Main category listing page */
.j9-maincategory {
  padding-bottom: 2rem;
}

.j9-maincategory__desc {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--j9-text-muted);
  line-height: 1.6;
}

.j9-maincategory__desc p:last-child {
  margin-bottom: 0;
}

.j9-maincategory__grid .j9-category-card__img {
  aspect-ratio: unset;
  height: 72px;
  padding: 0.4rem;
}

.j9-maincategory__grid .j9-category-card__img img {
  width: auto;
  max-width: 80%;
  max-height: 48px;
  object-fit: contain;
}

.j9-maincategory__grid .j9-category-card__label {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.25;
}

@media (min-width: 576px) {
  .j9-maincategory__grid .j9-category-card__img {
    height: 76px;
  }

  .j9-maincategory__grid .j9-category-card__img img {
    max-height: 52px;
  }

  .j9-maincategory__grid .j9-category-card__label {
    font-size: 0.75rem;
  }
}

/* Product cards */
.j9-product-card {
  background: var(--j9-white);
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.j9-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--j9-shadow);
}

.j9-product-card__badge {
  position: absolute;
  left: 10px;
  background: var(--j9-orange);
  color: var(--j9-white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  z-index: 1;
}

.j9-product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  z-index: 1;
  transition: color 0.2s;
}

.j9-product-card__wishlist:hover {
  color: var(--j9-orange);
}

.j9-product-card__img {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fafafa;
}

.j9-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.j9-product-card__img-placeholder {
  width: 45%;
  height: 75%;
  background: linear-gradient(145deg, #e8e8e8 0%, #d0d0d0 100%);
  border-radius: 12px;
  position: relative;
}

.j9-product-card__img-placeholder::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.j9-product-card__body {
  padding: 0.75rem;
}

.j9-product-card__name {
  font-size: 12px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.5em;
}

.j9-product-card__prices {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}

.j9-product-card__price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--j9-orange);
}

.j9-product-card__price-old {
  font-size: 0.72rem;
  color: var(--j9-text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.j9-product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  z-index: 2;
}

.j9-product-card__badge--new {
  background: var(--j9-teal);
}

.j9-product-card__badge--sale {
  background: var(--j9-orange);
}

.j9-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.j9-product-card__cart {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--j9-orange);
  border-radius: 8px;
  color: var(--j9-orange);
  background: var(--j9-white);
  transition: background 0.2s, color 0.2s;
}

.j9-product-card__cart:hover {
  background: var(--j9-orange);
  color: var(--j9-white);
}

.j9-product-card__stock {
  font-size: 0.72rem;
  color: #c0392b;
  margin-top: 0.25rem;
}

/* Module breadcrumbs (mod_breadcrumbs override) */
.mod-breadcrumbs__wrapper {
  margin: 0 0 0.75rem;
  padding: 0;
}

.mod-breadcrumbs__wrapper .mod-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 400;
  color: #555;
}

.mod-breadcrumbs__wrapper .mod-breadcrumbs__divider,
.mod-breadcrumbs__wrapper .mod-breadcrumbs__here {
  display: none;
}

.mod-breadcrumbs__wrapper .mod-breadcrumbs__item {
  float: none;
  display: inline-flex;
  align-items: center;
  color: #555;
}

.mod-breadcrumbs__wrapper .mod-breadcrumbs__item a {
  color: #555;
  text-decoration: none;
}

.mod-breadcrumbs__wrapper .mod-breadcrumbs__item a:hover {
  color: var(--j9-orange);
}

.mod-breadcrumbs__wrapper .mod-breadcrumbs__item.active {
  color: #555;
}

.mod-breadcrumbs__wrapper .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.mod-breadcrumbs__wrapper .breadcrumb-item + .breadcrumb-item::before {
  float: none;
  display: inline-block;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  content: "\f105";
  padding: 0 0.75rem;
  color: #555;
  font-size: 0.7rem;
}

/* Product list page (PLP) */
.j9-plp {
  padding-bottom: 2rem;
}

.j9-plp__breadcrumb {
  margin-bottom: 0.75rem;
}

.j9-plp__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--j9-text-muted);
}

.j9-plp__breadcrumb-list li + li::before {
  content: '>';
  margin-right: 0.35rem;
  color: #ccc;
}

.j9-plp__header {
  margin-bottom: 1.25rem;
}

.j9-plp__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--j9-text);
}

.j9-plp__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--j9-text-muted);
}

.j9-plp__tabs {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 1.25rem;
  height: 50px;
}

.j9-plp__tab {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--j9-border);
  border-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--j9-white);
  color: var(--j9-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, z-index 0s;
}

.j9-plp__tab:not(:first-child) {
  margin-left: -1px;
}

.j9-plp__tab:first-child {
  border-top-left-radius: var(--j9-radius-sm);
}

.j9-plp__tab:last-child {
  border-top-right-radius: var(--j9-radius-sm);
}

.j9-plp__tab:hover {
  border-color: #ddd;
  z-index: 1;
}

.j9-plp__tab.is-active {
  border-color: transparent;
  background: var(--j9-peach);
  color: var(--j9-orange);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.08);
  z-index: 2;
}

.j9-plp__tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.j9-plp__tab-icon svg {
  display: block;
}

.j9-plp__tab-icon--samsung svg {
  width: auto;
  height: 13px;
}

.j9-plp__tab-label {
  line-height: 1.2;
}

.j9-plp__services {
  padding: 1rem 0 1.5rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--j9-border);
  border-bottom: 1px solid var(--j9-border);
}

.j9-plp__layout {
  align-items: flex-start;
}

.j9-plp__sidebar {
  position: sticky;
  top: 1rem;
}

.j9-plp__filters-header {
  display: none;
}

.j9-plp__filters-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.j9-plp__filters-body {
  padding: 0;
}

.j9-plp__filters {
  background: var(--j9-white);
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  padding: 1rem;
}

.j9-plp__toolbar-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.j9-plp__filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--j9-border);
  border-radius: 8px;
  background: var(--j9-white);
  color: var(--j9-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.j9-plp__filter-toggle:hover {
  border-color: var(--j9-orange);
  color: var(--j9-orange);
  background: var(--j9-peach);
}

.j9-plp__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--j9-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
}

.j9-plp__filter-count[hidden] {
  display: none !important;
}

.j9-plp__filter-block + .j9-plp__filter-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--j9-border);
}

.j9-plp__filter-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.j9-plp__filter-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.j9-plp__filter-list li + li {
  margin-top: 0.35rem;
}

.j9-plp__filter-link,
.j9-plp__filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--j9-text);
  cursor: pointer;
}

.j9-plp__filter-icon {
  display: inline-flex;
  color: var(--j9-text-muted);
}

.j9-plp__filter-check input,
.j9-plp__filter-link input {
  accent-color: var(--j9-orange);
}

.j9-plp__price-slider {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
}

.j9-plp__price-track {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}

.j9-plp__price-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: #eee;
  pointer-events: none;
}

.j9-plp__price-range {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 999px;
  background: var(--j9-orange);
  pointer-events: none;
}

.j9-plp__price-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.j9-plp__price-range-input--min {
  z-index: 3;
}

.j9-plp__price-range-input--max {
  z-index: 4;
}

.j9-plp__price-handle {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 5;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--j9-white);
  border-radius: 50%;
  background: var(--j9-orange);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
}

.j9-plp__price-handle:active {
  cursor: grabbing;
}

.j9-plp__price-handle:focus {
  outline: none;
}

.j9-plp__price-handle:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.25);
}

.j9-plp__price-track {
  cursor: pointer;
}

.j9-plp__price-range-input:focus {
  outline: none;
}

.j9-plp__price-range-input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: none;
}

.j9-plp__price-range-input::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

.j9-plp__price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid var(--j9-white);
  border-radius: 50%;
  background: var(--j9-orange);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: grab;
}

.j9-plp__price-range-input:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.j9-plp__price-range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--j9-white);
  border-radius: 50%;
  background: var(--j9-orange);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: grab;
}

.j9-plp__price-range-input:active::-moz-range-thumb {
  cursor: grabbing;
}

.j9-plp__price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.j9-plp__price-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  color: var(--j9-text-muted);
}

.j9-plp__price-field .form-control {
  width: 100%;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--j9-border);
  border-radius: 8px;
  font-size: 0.85rem;
}

.j9-plp__filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.j9-plp__filter-btn {
  background: var(--j9-orange);
  border-color: var(--j9-orange);
}

.j9-plp__filter-clear {
  font-size: 0.82rem;
  color: var(--j9-text-muted);
}

.j9-plp__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--j9-border);
}

.j9-plp__result-count {
  font-size: 0.9rem;
  color: var(--j9-text-muted);
}

.j9-plp__result-count strong {
  color: var(--j9-text);
}

.j9-plp__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.j9-plp__sort-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.85rem;
  white-space: nowrap;
}

.j9-plp__sort-text {
  flex-shrink: 0;
}

.j9-plp__sort-label select,
.j9-plp__sort-label .form-select {
  border: 1px solid var(--j9-border);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font-size: 0.85rem;
  width: auto;
  min-width: 8rem;
  flex: 0 1 auto;
}

.j9-plp__sort-dir {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.j9-plp__view-toggle {
  display: inline-flex;
  border: 1px solid var(--j9-border);
  border-radius: 8px;
  overflow: hidden;
}

.j9-plp__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--j9-white);
  color: var(--j9-text-muted);
  cursor: pointer;
}

.j9-plp__view-btn + .j9-plp__view-btn {
  border-left: 1px solid var(--j9-border);
}

.j9-plp__view-btn.is-active {
  background: var(--j9-peach);
  color: var(--j9-orange);
}

.j9-plp__grid.is-list > .row {
  --bs-gutter-y: 0.75rem;
}

.j9-plp__grid.is-list > .row > .col {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
}

.j9-plp__grid.is-list .block_product {
  height: 100%;
}

.j9-plp__grid.is-list .j9-product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: auto;
}

.j9-plp__grid.is-list .j9-product-card:hover {
  transform: none;
}

.j9-plp__grid.is-list .j9-product-card__img {
  width: 110px;
  min-width: 110px;
  margin-top: 0;
  aspect-ratio: 1;
  border-radius: var(--j9-radius-sm) 0 0 var(--j9-radius-sm);
}

.j9-product-card__desc {
  display: none;
}

.j9-plp__grid.is-list .j9-product-card__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(100px, 150px) 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.25rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
}

.j9-plp__grid.is-list .j9-product-card__name {
  grid-column: 1;
  grid-row: 1;
  -webkit-line-clamp: 2;
  min-height: auto;
}

.j9-plp__grid.is-list .j9-product-card__stock {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
}

.j9-plp__grid.is-list .j9-product-card__footer {
  display: contents;
}

.j9-plp__grid.is-list .j9-product-card__prices {
  grid-column: 1;
  grid-row: 2;
}

.j9-plp__grid.is-list .j9-product-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  grid-column: 2;
  grid-row: 1 / -1;
  font-size: 0.8rem;
  color: var(--j9-text-muted);
  line-height: 1.45;
  align-self: center;
}

.j9-plp__grid.is-list .j9-product-card__cart {
  grid-column: 3;
  grid-row: 1 / -1;
  align-self: center;
}

.j9-plp__pagination {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--j9-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.j9-plp__pagination-inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.j9-plp__pagination .pagination__wrapper {
  display: flex;
  justify-content: center;
}

.j9-plp__pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 !important;
  padding: 0;
}

.j9-plp__pagination .page-item .page-link {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: var(--j9-text);
  background: var(--j9-white);
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.j9-plp__pagination .page-item .page-link:hover {
  color: var(--j9-orange);
  border-color: rgba(255, 107, 53, 0.35);
  background: var(--j9-peach);
}

.j9-plp__pagination .page-item.active .page-link {
  color: var(--j9-white);
  background: var(--j9-orange);
  border-color: var(--j9-orange);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}

.j9-plp__pagination .page-item.disabled .page-link {
  color: var(--j9-text-muted);
  background: #fafafa;
  border-color: var(--j9-border);
  opacity: 0.75;
}

.j9-plp__pagination-counter {
  font-size: 0.85rem;
  color: var(--j9-text-muted);
  text-align: center;
}

.j9-plp__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--j9-text-muted);
}

.j9-plp__empty-icon {
  margin-bottom: 0.75rem;
  color: #ccc;
}

@media (max-width: 991.98px) {
  .j9-plp__sidebar.offcanvas-lg {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1045;
    width: min(20rem, 88vw);
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    border-right: 1px solid var(--j9-border);
    background: var(--j9-white);
  }

  .j9-plp__main {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .j9-plp__filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--j9-border);
  }

  .j9-plp__filters-body {
    padding: 1rem;
    overflow-y: auto;
  }

  .j9-plp__filters-body .j9-plp__filters {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .j9-plp__toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding: 0.65rem 0.25rem 0.75rem;
    background: color-mix(in srgb, var(--j9-white) 92%, transparent);
    backdrop-filter: blur(6px);
  }

  .j9-plp__tab {
    padding: 0.5rem 0.35rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }

  .j9-plp__tab--icon-only-mobile {
    gap: 0;
  }

  .j9-plp__tab--icon-only-mobile .j9-plp__tab-icon svg,
  .j9-plp__tab--icon-only-mobile .j9-plp__tab-icon img {
    max-height: 22px;
    width: auto;
  }

  .j9-plp__tab-icon--samsung svg {
    height: 11px;
  }
}

@media (min-width: 992px) {
  .j9-plp__sidebar.offcanvas-lg {
    position: sticky;
    top: 1rem;
    transform: none !important;
    visibility: visible !important;
    z-index: auto;
    height: auto;
    max-height: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .j9-plp__sidebar.offcanvas-lg .offcanvas-header {
    display: none;
  }

  .j9-plp__sidebar.offcanvas-lg .offcanvas-body {
    display: block;
    width: 100%;
    flex-grow: 0;
    overflow: visible;
    padding: 0;
  }
}

/* Floating chat buttons */
.j9-float-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1050;
}

.j9-float-chat__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.j9-float-chat__btn:hover {
  transform: scale(1.08);
}

.j9-float-chat__btn--line {
  background: #06c755;
  color: var(--j9-white);
}

.j9-float-chat__btn--messenger {
  background: #0084ff;
  color: var(--j9-white);
}

/* Footer — match header / topbar tone */
.j9-page .footer {
  margin-top: 0;
  color: #666;
  background-color: var(--j9-white);
  background-image: none;
  border-top: 1px solid var(--j9-border);
}

.j9-page .footer .grid-child {
  max-width: 1320px;
  margin-inline: auto;
  padding: 2rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.j9-page .footer a:not(.btn),
.j9-page .footer .btn-link {
  color: #666;
  transition: color 0.2s;
}

.j9-page .footer a:not(.btn):hover,
.j9-page .footer a:not(.btn):focus,
.j9-page .footer .btn-link:hover,
.j9-page .footer .btn-link:focus {
  color: var(--j9-orange);
}

.j9-page .footer .mod-footer {
  color: #666;
}

.j9-page .footer .mod-footer .footer1 {
  font-weight: 500;
  color: var(--j9-text);
  margin-bottom: 0.25rem;
}

.j9-page .footer .mod-footer .footer2 {
  font-size: 0.8125rem;
  color: var(--j9-text-muted);
}

.j9-page .footer .mod-menu .nav-link,
.j9-page .footer .mod-menu a {
  color: #666;
}

.j9-page .footer .mod-menu .nav-link:hover,
.j9-page .footer .mod-menu .nav-link:focus,
.j9-page .footer .mod-menu a:hover,
.j9-page .footer .mod-menu a:focus {
  color: var(--j9-orange);
}

.j9-page .footer .metismenu.mod-menu .mm-collapse {
  background: var(--j9-white);
}

/* Bottom credit bar */
.j9-bottombar {
  background: var(--j9-peach);
  font-size: 0.8rem;
  color: #666;
  border-top: 1px solid rgba(255, 107, 53, 0.08);
}

.j9-bottombar__inner {
  text-align: center;
  line-height: 1.4;
}

.j9-page .back-to-top-link {
  color: var(--j9-orange);
  background-color: var(--j9-white);
  border-color: var(--j9-orange);
  box-shadow: var(--j9-shadow);
}

.j9-page .back-to-top-link:hover,
.j9-page .back-to-top-link:focus {
  color: var(--j9-white);
  background-color: var(--j9-orange);
  border-color: var(--j9-orange);
}

/* Responsive */
/* ================================================================
   DESKTOP (≥992px): show j9-nav__list, hide mobile elements
   ================================================================ */
@media (min-width: 992px) {
  .j9-mob-toggle {
    display: none !important;
  }

  .j9-mob__list {
    display: none !important;
  }
}

/* ================================================================
   MOBILE (<992px): hide j9-nav__list, show hamburger + j9-mob__list
   ================================================================ */
@media (max-width: 991.98px) {
  .j9-header-action span:not(.j9-cart-badge) {
    display: none;
  }

  /* Hide desktop nav list completely */
  .j9-nav__list {
    display: none !important;
  }

  /* Show hamburger button */
  .j9-mob-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--j9-border);
    border-radius: 0.375rem;
    color: var(--j9-text);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
    margin: 0.5rem 0;
    width: 100%;
  }

  .j9-mob-toggle__label {
    flex: 1;
    text-align: left;
  }

  /* Mobile menu list panel */
  .j9-mob__list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--j9-border);
  }

  .j9-mob__list.is-open {
    display: block;
  }

  /* Top-level items */
  .j9-mob__item {
    border-bottom: 1px solid var(--j9-border);
  }

  .j9-mob__item:last-child {
    border-bottom: none;
  }

  .j9-mob__link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--j9-text);
    text-decoration: none;
    font-size: 0.95rem;
  }

  .j9-mob__link:hover,
  .j9-mob__link.active {
    color: var(--j9-orange);
    background: var(--j9-peach);
  }

  .j9-mob__link.active {
    font-weight: 600;
  }

  /* Parent item row: link + expand button side by side */
  .j9-mob__row {
    display: flex;
    align-items: center;
  }

  .j9-mob__row .j9-mob__link {
    flex: 1;
  }

  .j9-mob__expand-btn {
    background: transparent;
    border: none;
    color: var(--j9-text-muted);
    cursor: pointer;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
  }

  .j9-mob__expand-btn.is-open {
    transform: rotate(180deg);
    color: var(--j9-orange);
  }

  /* Sub-menu list */
  .j9-mob__sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--j9-peach);
  }

  .j9-mob__sub.is-open {
    display: block;
  }

  .j9-mob__sub-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .j9-mob__sub-item:last-child {
    border-bottom: none;
  }

  .j9-mob__sub-item .j9-mob__link {
    padding-left: 1.75rem;
    font-size: 0.875rem;
  }

  /* Hero */
  .j9-hero__phones {
    min-height: 200px;
    padding-top: 0;
  }

  .j9-hero__phone {
    width: 70px;
    height: 140px;
  }

  .j9-hero__phone--2 {
    width: 80px;
    height: 160px;
  }
}

@media (max-width: 767.98px) {
  .j9-brand {
    text-align: center;
  }

  .j9-brands__list {
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 0.5rem 0;
  }

  .j9-brand-item {
    flex: 0 0 calc(33.333% - 0.5rem);
    min-width: 80px;
  }
  .j9-topbar {
    padding-top: 0.5rem;
    font-size: 0.72rem;
  }

  .j9-topbar__left {
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .j9-topbar__left .j9-topbar__item {
    flex: 1 1 0;
    gap: 0.25rem;
  }

  .j9-header-action span:not(.j9-cart-badge) {
    display: block;
  }

  .j9-topbar__links {
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .j9-hero__content {
    padding: 1.5rem 1.25rem 0.5rem;
    text-align: center;
  }

  .j9-hero__content.j9-hero__content--overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    padding: 1.25rem 1rem 2.75rem;
    text-align: center;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.35) 100%);
  }

  .j9-hero__content.j9-hero__content--overlay .j9-hero__btn {
    align-self: center;
  }

  .j9-hero__features {
    justify-content: center;
  }

  .j9-service-item {
    margin-bottom: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE  (.pd-*)
   ═══════════════════════════════════════════════════ */

/* Suppress original jshop defaults inside our redesigned wrapper */
.pd-page > form > h1,
.pd-page .block_rating_hits {
  display: none !important;
}

/* ── Main two-column layout ── */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 1.5rem 0 2rem;
}

/* ── Images column ── */
.pd-images-col {
  position: relative;
  background: #f9f9f9;
  border-radius: var(--j9-radius);
}

.pd-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
}

.pd-badge__text {
  display: inline-block;
  background: var(--j9-teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pd-main-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #fafafa;
}

/* span wrapper fills the square box */
.pd-main-image #list_product_image_middle {
  position: absolute;
  inset: 0;
  display: block;
}

/*
 * Each image link fills its container.
 * NO !important on display — so the inline style="display:none" that
 * MooZiiCart sets on hidden images (k != 0) is still respected.
 */
.pd-main-image .pd-main-image__link {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
}

.pd-main-image img,
.pd-main-image #main_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pd-main-image .text_zoom {
  display: none;
}

/* Navigation arrows */
.pd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--j9-text);
  transition: box-shadow 0.2s, color 0.2s;
  padding: 0;
}

.pd-arrow:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: var(--j9-orange);
}

.pd-arrow--prev { left: 10px; }
.pd-arrow--next { right: 10px; }

/* Thumbnails – 5 per row, equal width */
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
  padding: 1.5rem;
}

.pd-thumb {
  aspect-ratio: 4 / 3.5;
  border-radius: var(--j9-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f9f9f9;
  transition: border-color 0.18s;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pd-thumb--active { border-color: var(--j9-orange); }
.pd-thumb:hover { border-color: var(--j9-orange-dark); }

/* ── Info column ── */
.pd-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Top bar */
.pd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pd-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pd-brand__logo {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.pd-brand__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--j9-text-muted);
}

.pd-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.pd-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  font-family: inherit;
  transition: color 0.18s;
  text-decoration: none;
  white-space: nowrap;
}

.pd-action-btn:hover { color: var(--j9-orange); }

/* Product title */
.pd-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--j9-text);
  margin: 0;
  line-height: 1.2;
}

/* Meta row (rating + SKU) */
.pd-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--j9-text-muted);
}

.pd-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Keep MooZiiCart star images inline */
.pd-rating .jshop_mark_star,
.pd-rating img {
  vertical-align: middle;
}

.pd-rating__score {
  font-weight: 600;
  color: var(--j9-orange);
}

.pd-rating__count { color: var(--j9-text-muted); }

.pd-meta__sep { color: var(--j9-border); }

.pd-sku { font-size: 0.82rem; }

/* Price block */
.pd-price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-price__old {
  font-size: 0.88rem;
  color: var(--j9-text-muted);
  text-decoration: line-through;
}

.pd-price__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-price__value,
.pd-page #block_price.pd-price__value,
.pd-page .pd-price-block #block_price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--j9-orange);
  line-height: 1.2;
}

.pd-installment {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--j9-orange);
  color: var(--j9-orange);
  font-size: 0.73rem;
  font-weight: 500;
  padding: 3px 11px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Short description */
.pd-short-desc {
  font-size: 12px;
  line-height: 1.65;
}

/* ── Specs row ── */
.pd-specs {
  display: flex;
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  overflow: hidden;
}

.pd-spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 6px;
  border-right: 1px solid var(--j9-border);
  gap: 5px;
}

.pd-spec:last-child { border-right: none; }

.pd-spec__icon {
  color: var(--j9-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
}

.pd-spec__icon i {
  color: var(--j9-teal);
}

.pd-spec__icon svg,
.pd-spec__icon .pd-spec__svg {
  width: 22px;
  height: 22px;
  color: var(--j9-teal);
}

.pd-spec__icon svg [fill]:not([fill="none"]) {
  fill: currentColor;
}

.pd-spec__icon svg path:not([fill="none"]),
.pd-spec__icon svg circle:not([fill="none"]),
.pd-spec__icon svg rect:not([fill="none"]),
.pd-spec__icon svg polygon:not([fill="none"]) {
  fill: currentColor;
}

.pd-spec__icon svg [stroke]:not([stroke="none"]) {
  stroke: currentColor;
}

.pd-spec__icon img {
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
}

.pd-spec__icon--chip {
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--j9-border);
  border-radius: 5px;
  padding: 3px 7px;
  color: var(--j9-text);
  height: auto;
  line-height: 1.4;
}

.pd-spec__label {
  font-size: 0.7rem;
  color: var(--j9-text-muted);
  line-height: 1.35;
}

/* ── Attribute group title ── */
.pd-attr-group-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--j9-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* ── Attribute row ── */
.pd-attr {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-attr__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--j9-text);
}

.pd-attr__desc {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--j9-text-muted);
  margin-left: 5px;
}

.pd-attr__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Hide native radio input */
.pd-attr__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* ─ Pill option (e.g. storage) ─ */
.pd-attr__option--pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pd-attr__option--pill .pd-attr__name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border: 1.5px solid var(--j9-border);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--j9-text);
  background: #fff;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  white-space: nowrap;
}

.pd-attr__option--pill input:checked ~ .pd-attr__name {
  border-color: var(--j9-orange);
  background: var(--j9-peach);
  color: var(--j9-orange);
  font-weight: 600;
}

.pd-attr__option--pill:hover .pd-attr__name {
  border-color: var(--j9-orange-dark);
}

/* ─ Swatch option (e.g. color) ─ */
.pd-attr__option--swatch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pd-attr__option--swatch .pd-attr__name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 8px;
  border: 1.5px solid var(--j9-border);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--j9-text);
  background: #fff;
  transition: border-color 0.18s, background 0.18s;
  white-space: nowrap;
}

.pd-attr__option--swatch input:checked ~ .pd-attr__name {
  border-color: var(--j9-orange);
  background: var(--j9-peach);
}

.pd-attr__option--swatch:hover .pd-attr__name {
  border-color: var(--j9-orange-dark);
}

/* Swatch color circle inside name span */
.pd-attr__swatch-img,
.pd-attr__swatch-dot {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-attr__swatch-img {
  background-size: cover;
  background-position: center;
}

.pd-attr__swatch-dot {
  background: var(--j9-border);
}

/* Checkmark on selected swatch */
.pd-attr__option--swatch input:checked ~ .pd-attr__name .pd-attr__swatch-img::after,
.pd-attr__option--swatch input:checked ~ .pd-attr__name .pd-attr__swatch-dot::after {
  content: '✓';
  font-size: 0.6rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.pd-attr__option--swatch input:checked ~ .pd-attr__name .pd-attr__swatch-img {
  border-color: var(--j9-orange);
  box-shadow: 0 0 0 2px var(--j9-orange);
}

/* ── Quantity control ── */
.pd-buy-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-qty__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--j9-text);
}

.pd-qty__controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--j9-border);
  border-radius: 8px;
  overflow: hidden;
}

.pd-qty__btn {
  width: 34px;
  height: 34px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 1rem;
  color: var(--j9-text);
  transition: background 0.15s;
  line-height: 1;
  padding: 0;
}

.pd-qty__btn:hover { background: var(--j9-border); }

.pd-qty__input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--j9-border);
  border-right: 1px solid var(--j9-border);
  padding: 6px 4px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--j9-text);
}

.pd-qty__input:focus { outline: none; }

/* ── Main buy button ── */
.pd-btn-buy {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 14px 22px;
  background: var(--j9-btn-bg);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.12s, background 0.18s;
  font-family: inherit;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--j9-btn-shadow-color) 30%, transparent);
  text-decoration: none;
}

.pd-btn-buy:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff;
}

.pd-btn-buy:active { transform: translateY(0); }

.pd-btn-buy__icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
}

.pd-btn-buy__icons svg {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pd-btn-buy__text {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}

.pd-btn-buy__arrow {
  justify-self: end;
  font-size: 1.4rem;
  line-height: 1;
}

.pd-buy-modal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.pd-buy-modal .modal-header {
  border-bottom: 1px solid var(--j9-border);
  padding: 1rem 1.25rem;
}

.pd-buy-modal .modal-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.pd-buy-modal .modal-body {
  padding: 1.25rem;
}

.pd-buy-modal__channels {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.pd-buy-modal__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 140px;
  padding: 18px 12px;
  border: 1px solid var(--j9-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--j9-text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.pd-buy-modal__channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: var(--j9-text);
}

.pd-buy-modal__channel svg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.pd-buy-modal__channel--line:hover {
  border-color: #06C755;
}

.pd-buy-modal__channel--messenger:hover {
  border-color: #1877F2;
}

/* ── Bottom action row ── */
.pd-bottom-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.pd-bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 11px 12px;
  font-size: 0.875rem;
  color: var(--j9-text);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  font-family: inherit;
  white-space: nowrap;
}

.pd-bottom-btn:hover {
  background: var(--j9-peach);
  color: var(--j9-orange);
  border-color: var(--j9-orange);
}

/* ── Full product description (below fold) ── */
.pd-full-desc {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ── Product reviews (below fold) ── */
.pd-reviews {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius);
  background: var(--j9-white);
}

.pd-reviews__title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--j9-border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--j9-text);
}

.pd-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pd-reviews__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--j9-border);
}

.pd-reviews__item:last-child {
  border-bottom: none;
}

.pd-reviews__item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pd-reviews__stars.pd-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pd-reviews__stars .jshop_mark_star,
.pd-reviews__stars img {
  height: 16px;
}

.pd-reviews__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-size: 0.875rem;
}

.pd-reviews__author {
  font-weight: 600;
  color: var(--j9-text);
}

.pd-reviews__date {
  color: var(--j9-text-muted);
  font-size: 0.82rem;
}

.pd-reviews__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--j9-text);
}

.pd-reviews__pagination {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--j9-border);
}

.pd-reviews__form-wrap {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--j9-border);
}

.pd-reviews__form-title {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--j9-text);
}

.pd-reviews__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pd-reviews__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-reviews__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--j9-text);
}

.pd-reviews__input,
.pd-reviews__textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--j9-text);
  background: var(--j9-white);
  border: 1px solid var(--j9-border);
  border-radius: var(--j9-radius-sm);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.pd-reviews__input:focus,
.pd-reviews__textarea:focus {
  outline: none;
  border-color: var(--j9-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.pd-reviews__textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}

.pd-reviews__rating-input {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.pd-reviews__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.25rem;
}

.pd-reviews__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--j9-orange);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.12s;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
}

.pd-reviews__submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff;
}

.pd-reviews__notice {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--j9-text-muted);
  background: var(--j9-peach);
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: var(--j9-radius-sm);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .pd-layout {
    gap: 1.5rem;
  }

  .pd-title,
  .pd-price__value,
  .pd-page #block_price.pd-price__value,
  .pd-page .pd-price-block #block_price {
    font-size: 1.5rem;
  }

  .pd-spec__label {
    font-size: 0.65rem;
  }
}

@media (max-width: 767.98px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem 0 1.5rem;
  }

  .pd-thumbs {
    gap: 6px;
  }

  .pd-title,
  .pd-price__value,
  .pd-page #block_price.pd-price__value,
  .pd-page .pd-price-block #block_price {
    font-size: 1.35rem;
  }

  .pd-specs {
    overflow-x: auto;
  }

  .pd-spec {
    min-width: 70px;
    padding: 10px 5px;
  }

  .pd-btn-buy {
    font-size: 0.92rem;
    padding: 12px 16px;
  }
}
