/* ==========================================================================
   iBin.Store - Apple Authorised Reseller Styles
   ========================================================================== */

:root {
  --ibin-blue: #0071e3;
  --ibin-blue-hover: #0077ed;
  --ibin-dark: #1d1d1f;
  --ibin-gray: #86868b;
  --ibin-light-gray: #f5f5f7;
  --ibin-border: #d2d2d7;
  --ibin-price-red: #d43232;
  --ibin-brand-red: #d60233;
  --ibin-sale-badge: #ffa033;
  --ibin-font: 'Montserrat', montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --page-max-width: 1560px;
}

body {
  font-family: var(--ibin-font);
  color: var(--ibin-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.ibin-top-bar {
  display: none; /* Hidden to match DigiBox clean white top header */
  background-color: #000000;
  color: #f5f5f7;
  font-size: 12.5px;
  line-height: 34px;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 101;
}

.ibin-top-bar a {
  color: #2997ff;
  font-weight: 500;
  margin-left: 6px;
  text-decoration: underline;
}

.ibin-top-bar .top-bar-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
}

/* --- HEADER ENHANCEMENTS --- */
.gt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gt-header_container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: 86px;
  margin: 0;
  padding: 0 24px;
  position: relative;
  box-sizing: border-box;
}

.gt-header_container_left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 24px;
}

.gt-header_container_center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gt-header_container_right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.gt-header_container_right .header-icon-btn:last-child {
  margin-right: -2px;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo-wrap img,
.header-logo-img {
  height: 56px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.header-logo-wrap:hover img,
.header-logo-img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .gt-header_container {
    height: 58px;
    padding: 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .gt-header_container_left {
    display: none;
  }
  .gt-header_container_center {
    flex: 1;
    justify-content: flex-start;
  }
  .header-logo-wrap img,
  .header-logo-img {
    height: 32px;
    max-width: 175px;
  }
  .gt-header_container_right {
    gap: 8px;
  }
  .gt-header_container_right .header-icon-btn {
    padding: 6px;
  }
  .gt-header_container_right .header-icon-btn svg {
    width: 20px;
    height: 20px;
  }
}

.header-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.header-icon-btn:hover {
  opacity: 0.65;
  transform: scale(1.06);
}

.header-icon-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

/* Header Search Overlay Dropdown */
.header-search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  padding: 16px 40px 20px;
  z-index: 120;
}

.header-search-overlay.active {
  display: block;
  animation: fadeInDown 0.2s ease;
}

.header-search-overlay-inner {
  max-width: 680px;
  margin: 0 auto;
}

.header-search-overlay-inner .header-search-box {
  max-width: 100%;
  margin: 0;
}

.btn-close-search {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #86868b;
  cursor: pointer;
  padding: 0 6px;
  margin-left: 8px;
}

.btn-close-search:hover {
  color: #1d1d1f;
}

.header-search-box {
  flex: 1;
  max-width: 480px;
  margin: 0 32px;
  position: relative;
}

.header-search-inner {
  display: flex;
  align-items: center;
  background-color: #f5f5f7;
  border-radius: 20px;
  padding: 6px 16px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.header-search-inner:focus-within {
  background-color: #ffffff;
  border-color: var(--ibin-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.header-search-inner input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  width: 100%;
  padding-left: 10px;
  color: #1d1d1f;
}

.search-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  padding: 16px;
  z-index: 150;
  display: none;
  border: 1px solid #ebebeb;
}

.search-dropdown.active {
  display: block;
}

.search-popular-title {
  font-size: 12px;
  color: #86868b;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.search-tag-chip {
  background: #f5f5f7;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.search-tag-chip:hover {
  background: #e8e8ed;
  color: var(--ibin-blue);
}

.search-results-list {
  max-height: 280px;
  overflow-y: auto;
}

.search-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}

.search-item:hover {
  background: #f9f9fb;
}

.search-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-right: 12px;
}

.search-item-info {
  flex: 1;
}

.search-item-name {
  font-size: 13.5px;
  font-weight: 500;
  color: #1d1d1f;
}

.search-item-price {
  font-size: 12.5px;
  color: var(--ibin-price-red);
  font-weight: 600;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: #1d1d1f;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.header-action-btn:hover {
  background: #f5f5f7;
  color: var(--ibin-blue);
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--ibin-price-red);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  height: 18px;
  min-width: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(212, 50, 50, 0.4);
}

/* --- NAVIGATION & MEGAMENU --- */
.gt-nav {
  position: relative;
  height: 46px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gt-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
}

.gt-nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.gt-nav__link {
  font-family: var(--ibin-font);
  font-size: 14.5px;
  font-weight: 500;
  color: #000000;
  padding: 0 2px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.15s ease;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.gt-nav__item:hover .gt-nav__link {
  color: #000000;
}

.gt-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ibin-brand-red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.gt-nav__item:hover .gt-nav__link::after {
  transform: scaleX(1);
}

/* Megamenu Card Dropdown (Device Image on Left, Series Links on Right) */
/* Megamenu Card Dropdown (Device Image on Left, Series Links on Right - Exact Screenshot Match) */
.gt-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 500px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.03);
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: none;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.2s;
  z-index: 120;
}

/* Positioning per item so dropdown is cleanly anchored and never overflows */
.gt-nav__item:nth-child(1) .gt-nav__dropdown { left: 0; right: auto; }
.gt-nav__item:nth-child(2) .gt-nav__dropdown { left: 0; right: auto; }
.gt-nav__item:nth-child(3) .gt-nav__dropdown { left: -60px; right: auto; }
.gt-nav__item:nth-child(4) .gt-nav__dropdown { left: -120px; right: auto; }
.gt-nav__item:nth-child(5) .gt-nav__dropdown { left: -180px; right: auto; }
.gt-nav__item:nth-child(6) .gt-nav__dropdown { right: 0; left: auto; }
.gt-nav__item:nth-child(7) .gt-nav__dropdown { right: 0; left: auto; }

/* Invisible hover bridge to eliminate gap/flicker */
.gt-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.gt-nav__item:hover .gt-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Submenu Product Image on Left */
.nav-sub-media {
  width: 195px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-sub-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Submenu Series Links on Right */
.nav-sub-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  flex: 1;
}

.nav-sub-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-family: var(--ibin-font);
  font-size: 15px;
  font-weight: 400;
  color: #222222;
  text-decoration: none;
  padding: 6px 0 3px 0;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.nav-sub-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ibin-brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-sub-link:hover {
  color: #000000;
}

.nav-sub-link:hover::after {
  transform: scaleX(1);
}

/* --- HERO SLIDER --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  background: #fbfbfd;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4000 / 1198;
  height: auto;
  min-height: 120px;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfbfd;
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
}

.slider-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s;
  color: #1d1d1f;
}

.slider-nav-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--ibin-blue);
  width: 24px;
  border-radius: 10px;
}

/* --- VALUE PROPOSITIONS (Cam kết Apple) --- */
.apple-commit-strip {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 24px 0;
}

.commit-grid {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.commit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fbfbfd;
  border: 1px solid #f0f0f2;
  transition: transform 0.2s, box-shadow 0.2s;
}

.commit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.commit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--ibin-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.commit-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.commit-desc {
  font-size: 12.5px;
  color: #86868b;
}

/* --- SECTION HEADINGS --- */
.section-container {
  width: 95%;
  max-width: var(--page-max-width);
  margin: 48px auto;
  padding: 0 24px;
}

.section-header-centered {
  text-align: center;
  margin: 52px auto 38px;
}

.section-header-centered .section-main-title {
  font-family: var(--ibin-font);
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.5px;
  margin: 0 auto;
  text-align: center;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f2;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-main-title {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.5px;
}

.section-sub-tag {
  background: linear-gradient(135deg, #0071e3, #47a0ff);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.section-tabs {
  display: flex;
  gap: 8px;
}

.tab-btn {
  background: #f5f5f7;
  border: 1px solid transparent;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1d1d1f;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: #e8e8ed;
}

.tab-btn.active {
  background: #000000;
  color: #ffffff;
}

/* --- PRODUCT CARDS GRID (5 COLUMNS DIGIBOX STYLE) --- */
.products-grid,
.products-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 44px 24px;
}

.product-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: transparent;
}

.product-badge-wrap {
  display: none;
}

.badge-new {
  background: var(--ibin-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-discount {
  background: var(--ibin-price-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.product-thumb-wrap {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.product-thumb {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.04);
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-name {
  font-family: var(--ibin-font);
  font-size: 14.5px;
  font-weight: 400;
  color: #6e6e73;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.2s;
  text-align: center;
}

.product-card:hover .product-name {
  color: #000000;
}

.product-prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 38px;
  gap: 2px;
  margin-bottom: 0;
}

.product-price-orig {
  font-size: 13.5px;
  color: #86868b;
  text-decoration: line-through;
  line-height: 1.3;
}

.product-price-current {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ibin-price-red);
  line-height: 1.3;
}

/* Color swatches under price */
.product-swatches {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  margin-bottom: 4px;
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.12);
}

.product-install-tag {
  display: none;
}

/* Actions inside card - reveal on hover */
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-card-quick {
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid #e1e1e6;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-quick:hover {
  background: #e8e8ed;
}

.btn-card-buy {
  background: var(--ibin-blue);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-card-buy:hover {
  background: var(--ibin-blue-hover);
}

.section-view-all-wrap {
  text-align: center;
  margin-top: 36px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--ibin-blue);
  background: #ffffff;
  color: var(--ibin-blue);
  font-size: 15px;
  font-weight: 600;
  border-radius: 24px;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-view-all:hover {
  background: var(--ibin-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.25);
}

/* Category Feature Banner */
.cat-feature-banner {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cat-feature-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- BUSINESS & PROMOTION BANNERS --- */
.promo-strip-container {
  max-width: var(--page-max-width);
  margin: 48px auto;
  padding: 0 20px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.promo-banner-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.promo-banner-card:hover {
  transform: translateY(-4px);
}

.promo-banner-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --- STORE LOCATOR & HOTLINE BLOCK --- */
.store-locator-strip {
  background: #f5f5f7;
  padding: 48px 0;
  margin-top: 60px;
}

.store-locator-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

.store-info-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.store-info-box p {
  color: #86868b;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.store-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #e1e1e6;
}

.contact-pill-icon {
  color: var(--ibin-blue);
  font-size: 20px;
}

.store-branch-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.branch-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #ebebeb;
}

.branch-name {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.branch-address {
  font-size: 13px;
  color: #666666;
  line-height: 1.4;
  margin-bottom: 8px;
}

.branch-hotline {
  font-size: 12.5px;
  color: var(--ibin-blue);
  font-weight: 600;
}

/* --- FOOTER ENHANCEMENTS --- */
.common-footer {
  background: #111111;
  color: #f5f5f7;
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 1px solid #222222;
}

.footer-content {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo-block img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-about-text {
  font-size: 13px;
  color: #a1a1a6;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #a1a1a6;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.newsletter-form {
  display: flex;
  margin-bottom: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: #222222;
  border: 1px solid #333333;
  border-radius: 8px 0 0 8px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--ibin-blue);
}

.newsletter-form button {
  background: var(--ibin-blue);
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--ibin-blue-hover);
}

.footer-bottom-bar {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 24px 20px 0;
  border-top: 1px solid #222222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-badges img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-copyright {
  font-size: 12.5px;
  color: #86868b;
}

/* --- SLIDE-IN CART DRAWER --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

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

.cart-drawer-title {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
}

.btn-close-drawer {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #86868b;
  transition: color 0.2s;
}

.btn-close-drawer:hover {
  color: #000;
}

.free-ship-progress {
  padding: 12px 20px;
  background: #f5f5f7;
  font-size: 12.5px;
  color: #1d1d1f;
}

.progress-bar-bg {
  height: 6px;
  background: #e1e1e6;
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #34c759;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-message {
  text-align: center;
  color: #86868b;
  margin: auto 0;
  font-size: 15px;
}

.cart-item-card {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f2;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fbfbfd;
  border-radius: 8px;
  padding: 4px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 12px;
  color: #86868b;
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ibin-price-red);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  background: #f5f5f7;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: bold;
}

.qty-input {
  width: 36px;
  text-align: center;
  border: none;
  font-size: 13px;
}

.btn-remove-item {
  background: none;
  border: none;
  color: #86868b;
  cursor: pointer;
  font-size: 12px;
}

.btn-remove-item:hover {
  color: var(--ibin-price-red);
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid #ebebeb;
  background: #ffffff;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-checkout {
  width: 100%;
  background: var(--ibin-blue);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-checkout:hover {
  background: var(--ibin-blue-hover);
}

/* --- QUICK VIEW MODAL & CHECKOUT MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

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

.modal-container {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  animation: modalScaleUp 0.3s ease;
}

@keyframes modalScaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f5f5f7;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #e8e8ed;
}

.quickview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 32px;
  gap: 32px;
}

.qv-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qv-main-img-wrap {
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfbfd;
  border-radius: 16px;
  margin-bottom: 16px;
}

.qv-main-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.qv-thumbs {
  display: flex;
  gap: 10px;
}

.qv-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #fbfbfd;
  cursor: pointer;
  object-fit: contain;
  padding: 4px;
}

.qv-thumb.active {
  border-color: var(--ibin-blue);
}

.qv-details {
  display: flex;
  flex-direction: column;
}

.qv-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.qv-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.qv-price-curr {
  font-size: 24px;
  font-weight: 700;
  color: var(--ibin-price-red);
}

.qv-price-orig {
  font-size: 16px;
  color: #86868b;
  text-decoration: line-through;
}

.qv-variants-group {
  margin-bottom: 16px;
}

.qv-group-title {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.qv-color-swatches {
  display: flex;
  gap: 10px;
}

.qv-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  outline: 2px solid transparent;
  transition: all 0.2s;
}

.qv-swatch.active {
  outline-color: var(--ibin-blue);
}

.qv-capacity-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qv-cap-chip {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #d2d2d7;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.qv-cap-chip.active {
  border-color: var(--ibin-blue);
  color: var(--ibin-blue);
  background: rgba(0, 113, 227, 0.05);
}

.qv-promo-box {
  background: #fbfbfd;
  border: 1px dashed #0071e3;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 20px;
}

.qv-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.qv-btn-add {
  flex: 1;
  background: var(--ibin-blue);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.qv-btn-add:hover {
  background: var(--ibin-blue-hover);
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(0, 0, 0, 0.88);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastFadeIn 0.3s ease;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- FLOATING CONTACT BUTTONS --- */
.floating-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  text-decoration: none;
  overflow: hidden;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.float-hotline {
  background: #0071e3;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.45);
}

.float-zalo {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 104, 255, 0.2);
}

.float-backtotop {
  background: #ffffff;
  color: #1d1d1f;
  border: 1px solid #d2d2d7;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
}

.float-backtotop.active {
  opacity: 1;
  visibility: visible;
}

/* --- MOBILE BOTTOM BAR --- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #ffffff;
  border-top: 1px solid #ebebeb;
  z-index: 800;
  justify-content: space-around;
  align-items: center;
}

.mb-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #86868b;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mb-nav-item.active {
  color: var(--ibin-blue);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
  .products-grid, .products-grid-5 { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
  .gt-nav__list { gap: 24px; padding: 0 20px; }
}

@media (max-width: 992px) {
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .products-grid-5 { grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .gt-nav__link { font-size: 13px; padding: 0 2px; }
  .gt-nav__list { gap: 16px; }
  .gt-nav__dropdown { width: 440px; padding: 20px 24px; gap: 20px; }
  .nav-sub-media { width: 150px; height: 150px; }
  .nav-sub-link { font-size: 14px; padding: 5px 0; }
}

@media (max-width: 768px) {
  .ibin-top-bar { display: none; }
  .header-search-box { display: none; }
  .gt-nav { display: none; }
  .slider-wrapper {
    aspect-ratio: 4000 / 1198;
    height: auto;
    min-height: 110px;
  }
  .slider-nav-btn {
    display: none;
  }
  .slider-dots {
    bottom: 6px;
    gap: 5px;
  }
  .slider-dot {
    width: 6px;
    height: 6px;
  }
  .slider-dot.active {
    width: 14px;
    border-radius: 6px;
  }
  .commit-grid { grid-template-columns: 1fr; }
  .products-grid, .products-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { padding: 12px; border-radius: 12px; }
  .product-thumb-wrap { height: 140px; }
  .product-name { font-size: 14px; min-height: 38px; }
  .product-price-current { font-size: 15px; }
  .promo-grid { grid-template-columns: 1fr; }
  .store-locator-inner { grid-template-columns: 1fr; }
  .store-branch-cards { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .quickview-body { grid-template-columns: 1fr; padding: 20px; }
  .qv-main-img-wrap { height: 220px; }
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 60px; }
}

/* --- MOBILE DRAWER STYLES --- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

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

.mobile-nav-content {
  padding: 20px;
  overflow-y: auto;
}

.mobile-nav-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 12px;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.mobile-nav-links a:hover {
  color: var(--ibin-blue);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - DIGIBOX REPLICA STYLING
   ========================================================================== */
.pdp-page-container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 20px 36px 60px;
}

/* Breadcrumbs */
.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #86868b;
  margin-bottom: 24px;
}
.pdp-breadcrumb a {
  color: #515154;
  text-decoration: none;
  transition: color 0.2s;
}
.pdp-breadcrumb a:hover {
  color: #000;
}
.pdp-breadcrumb .separator {
  color: #c7c7cc;
}
.pdp-breadcrumb .current {
  color: #1d1d1f;
  font-weight: 500;
}

/* Floating Sticky Top Bar */
.page-pdp_top {
  position: sticky;
  top: 68px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 95;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.page-pdp_top.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.page-pdp_top__inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 10px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-pdp_top .sticky-prod-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-pdp_top .sticky-prod-thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.page-pdp_top .product-name {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
}
.page-pdp_top .product-price {
  font-size: 16px;
  font-weight: 700;
  color: #d43232;
  margin-left: 10px;
}
.page-pdp_top .sticky-buy-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.page-pdp_top .sticky-buy-btn:hover {
  background: #d60233;
}

/* Two-column layout */
.page-pdp_content__main {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  align-items: flex-start;
}
.page-pdp_content__main .left {
  width: 520px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}
.page-pdp_content__main .right {
  flex: 1;
  min-width: 0;
}

/* Left Image Box & Zoom */
.pdp-main-image-container {
  width: 100%;
  height: 496px;
  background: #fafafc;
  border-radius: 12px;
  border: 1px solid #ebebed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}
.pdp-main-image-container img.main-img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: transform 0.15s ease-out;
  display: block;
}
.pdp-zoom-lens {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  display: none;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Thumbnails */
.pdp-thumbnails-strip {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}
.pdp-thumbnail-item {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1.5px solid #e5e5ea;
  background: #fafafc;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-thumbnail-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.pdp-thumbnail-item:hover {
  border-color: #86868b;
}
.pdp-thumbnail-item.active {
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

/* Left Bottom: Check store stock */
.left-bottom {
  margin-top: 24px;
  border-top: 1px solid #ebebed;
  padding-top: 20px;
}
.pick-up-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #fbfbfd;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.pick-up-title:hover {
  background: #f5f5f7;
}
.pick-up-title__left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  color: #1d1d1f;
}
.pick-up-title__left svg {
  color: #0071e3;
}
.pick-up-toggle-btn {
  font-size: 13px;
  color: #0071e3;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
}
.pick-up-drawer {
  display: none;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  padding: 16px;
  max-height: 280px;
  overflow-y: auto;
}
.pick-up-drawer.open {
  display: block;
}
.store-stock-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.store-stock-item:last-child {
  border-bottom: none;
}
.store-stock-name {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}
.store-stock-addr {
  font-size: 12px;
  color: #86868b;
  margin-top: 2px;
}
.store-stock-status {
  font-size: 12px;
  font-weight: 600;
  color: #34c759;
  background: rgba(52, 199, 89, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Right Column Details */
.pdp-title {
  font-size: 26px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.3;
  margin-bottom: 8px;
}
.pdp-sku-meta {
  font-size: 13px;
  color: #86868b;
  margin-bottom: 20px;
}
.pdp-price-box {
  padding-bottom: 20px;
  border-bottom: 1px solid #ebebed;
  margin-bottom: 24px;
}
.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pdp-current-price {
  font-size: 28px;
  font-weight: 700;
  color: #d43232;
}
.pdp-orig-price {
  font-size: 16px;
  color: #86868b;
  text-decoration: line-through;
}
.pdp-discount-badge {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #ffa033;
  padding: 2px 8px;
  border-radius: 4px;
}
.gt-pdp__discount-info {
  margin-top: 14px;
  background: #f5f5f7;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}
.gt-pdp__discount-info strong {
  color: #1d1d1f;
}
.gt-pdp__discount-info button {
  color: #0071e3;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.gt-pdp__discount-info button:hover {
  text-decoration: underline;
}

/* Attributes: Color and Capacity */
.product-attr-group {
  margin-bottom: 24px;
}
.product-attr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.product-attr-title {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
}
.product-attr-selected-value {
  color: #86868b;
  font-weight: 400;
}
.color-swatches-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.color-swatch-item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-swatch-item img, .color-swatch-item .color-inner-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.color-swatch-item:hover {
  transform: scale(1.08);
}
.color-swatch-item.active {
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}

/* Capacity Buttons */
.capacity-pills-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.capacity-pill {
  min-width: 100px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid #d2d2d7;
  background: #fff;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.capacity-pill:hover {
  border-color: #1d1d1f;
}
.capacity-pill.active {
  border-color: #000;
  background: #000;
  color: #fff;
  font-weight: 600;
}

/* Shipping and Stock notes */
.pdp-action-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid #ebebed;
  border-bottom: 1px solid #ebebed;
}
.pdp-action-bottom__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #515154;
}
.pdp-action-bottom__item strong {
  color: #1d1d1f;
}
.pdp-action-bottom__item svg {
  color: #86868b;
  flex-shrink: 0;
}
.pdp-action-bottom__item .stock-highlight {
  color: #34c759;
  font-weight: 600;
}
.pdp-action-bottom__item .stock-out {
  color: #d43232;
  font-weight: 600;
}

/* Action CTAs */
.pdp-action-box {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.pdp-btn-store {
  flex: 1;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1.5px solid #1d1d1f;
  background: #fff;
  color: #1d1d1f;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.pdp-btn-store:hover {
  background: #f5f5f7;
  border-color: #000;
}
.pdp-btn-add-cart {
  flex: 1;
  padding: 15px 20px;
  border-radius: 8px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pdp-btn-add-cart:hover {
  background: #d60233;
}
.pdp-btn-add-cart.disabled {
  background: #d2d2d7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Tabs: Description & Specs */
.page-pdp-description_container {
  margin-top: 60px;
  border-top: 1px solid #e5e5ea;
  padding-top: 40px;
}
.pdp-tabs-nav {
  display: flex;
  border-bottom: 2px solid #e5e5ea;
  margin-bottom: 32px;
  gap: 32px;
}
.pdp-tab-btn {
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 600;
  color: #86868b;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.pdp-tab-btn:hover {
  color: #1d1d1f;
}
.pdp-tab-btn.active {
  color: #1d1d1f;
}
.pdp-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #d60233;
}
.pdp-tab-panel {
  display: none;
}
.pdp-tab-panel.active {
  display: block;
}

/* Apple Description Styling */
.pdp-description-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333336;
}
.pdp-description-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: #1d1d1f;
}
.pdp-description-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}
.pdp-description-content li {
  margin-bottom: 14px;
  line-height: 1.7;
}
.pdp-description-content li span {
  color: #1d1d1f;
}
.pdp-description-content p {
  margin-bottom: 16px;
}
.pdp-description-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #ebebed;
  font-size: 12px;
  color: #86868b;
  line-height: 1.6;
}

/* Specs Table */
.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.pdp-specs-table tr {
  border-bottom: 1px solid #f0f0f2;
}
.pdp-specs-table tr:nth-child(even) {
  background: #fafafc;
}
.pdp-specs-table th {
  text-align: left;
  padding: 16px 20px;
  width: 25%;
  font-weight: 600;
  color: #1d1d1f;
  font-size: 14px;
  vertical-align: top;
}
.pdp-specs-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: #333336;
  line-height: 1.6;
}

/* Recommended Products section */
.pdp-recommend-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e5e5ea;
  width: 100%;
}
.pdp-recommend-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f2;
}
.pdp-recommend-title,
.pdp-recommend-section .section-main-title {
  font-size: 26px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

/* Installment Modal */
.installment-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.installment-modal.open {
  display: flex;
}
.installment-modal-content {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.installment-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #ebebed;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.installment-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
}
.installment-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #86868b;
}
.installment-modal-body {
  padding: 24px;
}
.bank-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.bank-plan-card {
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  background: #fafafc;
}
.bank-plan-card.active {
  border-color: #000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bank-plan-months {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
}
.bank-plan-monthly-pay {
  font-size: 15px;
  font-weight: 700;
  color: #d43232;
  margin: 6px 0;
}
.bank-plan-sub {
  font-size: 11px;
  color: #86868b;
}

@media (max-width: 991px) {
  .page-pdp_content__main {
    flex-direction: column;
    gap: 32px;
  }
  .page-pdp_content__main .left {
    width: 100%;
    position: static;
  }
  .pdp-main-image-container {
    height: 380px;
  }
  .pdp-action-box {
    flex-direction: column;
  }
}
