/* Self-hosted Montserrat (variable) - replaces Google Fonts */
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   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;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

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

img {
  max-width: 100%;
}

/* --- 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 {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 24px;
}

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

.gt-header_container_right {
  grid-column: 3;
  justify-self: end;
  width: 100%;
  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);
}

/* Responsive visibility helpers */
@media (min-width: 769px) {
  .is-mb { display: none !important; }
}
@media (max-width: 768px) {
  .is-pc { display: none !important; }
}

@media (max-width: 768px) {
  .gt-header {
    width: 100% !important;
    overflow: hidden !important;
  }
  .gt-header_container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 58px !important;
    padding: 0 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .gt-header_container_left {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 38px !important;
    width: 38px !important;
  }
  .gt-header_container_left .header-action-btn {
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
  }
  .gt-header_container_left .header-action-btn svg {
    width: 22px;
    height: 22px;
  }
  .gt-header_container_center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .header-logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .header-logo-wrap img,
  .header-logo-img {
    height: 36px !important;
    max-height: 38px !important;
    max-width: 210px !important;
    width: auto !important;
    object-fit: contain !important;
  }
  .gt-header_container_right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    gap: 4px !important;
  }
  .gt-header_container_right .header-icon-btn {
    padding: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }
  .gt-header_container_right .header-icon-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
  .gt-header_container_right .is-pc,
  .gt-header_container_right .header-icon-btn.is-pc {
    display: none !important;
  }
}

.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,
.slider-slide picture {
  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;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.section-tabs::-webkit-scrollbar {
  display: none;
}

.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%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.35s;
  display: flex;
  flex-direction: column;
}

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

.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; }

  /* --- HERO BANNER MOBILE: TO BỰ CHUẨN 1:1 DIGIBOX CHÍNH HÃNG --- */
  .hero-slider-section {
    width: 100%;
    padding: 0;
    margin: 0 0 16px 0;
    background: #fbfbfd;
  }
  .slider-wrapper {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    min-height: unset;
    position: relative;
    overflow: hidden;
  }
  .slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfbfd;
  }
  .slider-slide a,
  .slider-slide picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .slider-nav-btn {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
  }
  .slider-nav-btn svg {
    stroke: #ffffff;
    width: 18px;
    height: 18px;
  }
  .slider-nav-btn.prev {
    left: 8px;
  }
  .slider-nav-btn.next {
    right: 8px;
  }
  .slider-dots {
    bottom: 12px;
    gap: 6px;
    z-index: 10;
  }
  .slider-dot {
    width: 7px;
    height: 7px;
    background: rgba(0, 0, 0, 0.28);
    transition: all 0.3s;
  }
  .slider-dot.active {
    width: 20px;
    border-radius: 6px;
    background: #0071e3;
  }

  /* --- SECTION CONTAINERS & HEADINGS --- */
  .section-container {
    width: 100%;
    margin: 28px auto;
    padding: 0 12px;
  }
  .section-header-centered {
    margin: 24px auto 16px;
    padding: 0 12px;
  }
  .section-header-centered .section-main-title {
    font-size: 22px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
  .section-main-title {
    font-size: 20px;
  }
  .section-tabs {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .section-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }

  /* --- COMMITMENTS STRIP (2x2 Grid) --- */
  .apple-commit-strip {
    padding: 14px 0;
  }
  .commit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px;
  }
  .commit-item {
    padding: 10px;
    gap: 8px;
    border-radius: 10px;
  }
  .commit-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .commit-icon svg {
    width: 18px;
    height: 18px;
  }
  .commit-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
  }
  .commit-desc {
    font-size: 10.5px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* --- PRODUCT GRIDS (2 COLUMNS) & CARDS --- */
  .products-grid, .products-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card {
    padding: 10px;
    border-radius: 12px;
  }
  .product-thumb-wrap {
    height: 145px;
  }
  .product-name {
    font-size: 13.5px;
    min-height: 36px;
    line-height: 1.3;
  }
  .product-prices {
    margin: 4px 0 6px 0;
    flex-wrap: wrap;
    gap: 4px;
  }
  .product-price-current {
    font-size: 15px;
  }
  .product-price-orig {
    font-size: 11.5px;
  }
  .product-card-actions {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 6px;
    display: flex;
  }
  .btn-card-quick {
    display: none;
  }
  .btn-card-buy {
    width: 100%;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 8px;
    justify-content: center;
  }

  /* --- CATEGORY BANNERS & PROMO CARDS --- */
  .cat-feature-banner {
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .promo-strip-container {
    padding: 0 12px;
    margin: 28px auto;
  }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .store-locator-inner { grid-template-columns: 1fr; }
  .store-branch-cards { grid-template-columns: 1fr; }
  .footer-container { padding: 24px 14px 16px; }
  .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: 65px; }
}

/* --- 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%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.35s;
  display: flex;
  flex-direction: column;
}

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

.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;
  }
}

/* ==========================================================================
   PRE-OWNED (HÀNG CŨ 99%) - MINH TUẤN MOBILE DNA STYLES
   ========================================================================== */
.badge-condition {
  display: inline-block;
  background: linear-gradient(135deg, #ff9500 0%, #ff5e00 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(255, 149, 0, 0.25);
}

.badge-likenew {
  background: linear-gradient(135deg, #34c759 0%, #248a3d 100%);
  box-shadow: 0 2px 6px rgba(52, 199, 89, 0.25);
}

.badge-fair {
  background: linear-gradient(135deg, #8e8e93 0%, #636366 100%);
  box-shadow: 0 2px 6px rgba(142, 142, 147, 0.25);
}

.product-save-row {
  margin: 4px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.product-save-pill {
  font-size: 11px;
  color: #d60233;
  background: #fff1f2;
  border: 1px solid #ffd1d7;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.product-card-warranty {
  font-size: 11px;
  color: #0071e3;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  line-height: 1.3;
  font-weight: 500;
}

.product-card-warranty svg {
  flex-shrink: 0;
  color: #0071e3;
}

/* Nav Menu Hot Badge */
.gt-nav__badge-hot {
  display: inline-block;
  background: #e0052b;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.3px;
  animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* --- HÀNG CŨ PAGE LAYOUT --- */
.hangcu-page-wrapper {
  background-color: #f5f5f7;
  padding-bottom: 60px;
  min-height: 100vh;
}

/* Breadcrumbs */
.hangcu-breadcrumbs {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 16px 24px 8px;
  font-size: 13px;
  color: #86868b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hangcu-breadcrumbs a {
  color: #515154;
  text-decoration: none;
  transition: color 0.2s;
}

.hangcu-breadcrumbs a:hover {
  color: var(--ibin-blue);
}

.hangcu-breadcrumbs span.sep {
  color: #c7c7cc;
}

.hangcu-breadcrumbs span.curr {
  color: #1d1d1f;
  font-weight: 600;
}

/* Hero Banner */
.hangcu-hero-banner {
  max-width: var(--page-max-width);
  margin: 0 auto 20px;
  padding: 0 24px;
}

.hangcu-hero-card {
  background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 50%, #161617 100%);
  border-radius: 20px;
  padding: 36px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

.hangcu-hero-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(224, 5, 43, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hangcu-hero-content {
  flex: 1;
  max-width: 650px;
  z-index: 1;
}

.hangcu-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(224, 5, 43, 0.2);
  border: 1px solid rgba(224, 5, 43, 0.4);
  color: #ff453a;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hangcu-hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
}

.hangcu-hero-title span {
  background: linear-gradient(90deg, #ff9f0a, #ff453a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hangcu-hero-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #a1a1a6;
  margin-bottom: 20px;
}

.hangcu-hero-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hangcu-hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #f5f5f7;
  font-weight: 600;
}

.hangcu-hero-feat-item svg {
  color: #34c759;
  flex-shrink: 0;
}

.hangcu-hero-art {
  z-index: 1;
  flex-shrink: 0;
  text-align: center;
}

.hangcu-hero-art img {
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

/* Category Pills Navigation */
.hangcu-cat-pills-bar {
  max-width: var(--page-max-width);
  margin: 0 auto 24px;
  padding: 0 24px;
}

.hangcu-pills-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.hangcu-pills-container::-webkit-scrollbar {
  display: none;
}

.hangcu-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hangcu-cat-pill .pill-icon {
  font-size: 17px;
}

.hangcu-cat-pill .pill-count {
  font-size: 11px;
  color: #86868b;
  background: #f5f5f7;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 500;
}

.hangcu-cat-pill:hover {
  border-color: var(--ibin-blue);
  color: var(--ibin-blue);
  transform: translateY(-1px);
}

.hangcu-cat-pill.active {
  background: var(--ibin-dark);
  color: #ffffff;
  border-color: var(--ibin-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hangcu-cat-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* 4 Cam Kết Vàng */
.hangcu-commit-strip {
  max-width: var(--page-max-width);
  margin: 0 auto 28px;
  padding: 0 24px;
}

.hangcu-commit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hangcu-commit-card {
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.hangcu-commit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hangcu-commit-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 4px 0;
}

.hangcu-commit-info p {
  font-size: 12.5px;
  color: #86868b;
  line-height: 1.4;
  margin: 0;
}

/* Filter Toolbar */
.hangcu-filter-section {
  max-width: var(--page-max-width);
  margin: 0 auto 24px;
  padding: 0 24px;
}

.hangcu-filter-box {
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.hangcu-filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hangcu-filter-row:last-child {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid #f2f2f7;
}

.hangcu-filter-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d1d1f;
  min-width: 110px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hangcu-filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.hangcu-filter-btn {
  background: #f5f5f7;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #515154;
  cursor: pointer;
  transition: all 0.2s;
}

.hangcu-filter-btn:hover {
  background: #e8e8ed;
  color: #1d1d1f;
}

.hangcu-filter-btn.active {
  background: #e1f0ff;
  border-color: #0071e3;
  color: #0071e3;
}

.hangcu-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.hangcu-results-count {
  font-size: 14px;
  color: #515154;
}

.hangcu-results-count strong {
  color: #d60233;
}

.hangcu-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hangcu-sort-group label {
  font-size: 13px;
  color: #86868b;
}

.hangcu-sort-select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #d2d2d7;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  background: #ffffff;
  outline: none;
  cursor: pointer;
}

/* Products Container Grid */
.hangcu-products-section {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.hangcu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Trade-In Banner Strip */
.hangcu-tradein-banner {
  max-width: var(--page-max-width);
  margin: 40px auto;
  padding: 0 24px;
}

.hangcu-tradein-card {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 1px solid #ffcc80;
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hangcu-tradein-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #d84315;
  margin: 0 0 8px;
}

.hangcu-tradein-card p {
  font-size: 14.5px;
  color: #5d4037;
  margin: 0;
  line-height: 1.5;
}

.hangcu-tradein-steps {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hangcu-tradein-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #bf360c;
}

.hangcu-tradein-btn {
  background: #d84315;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(216, 67, 21, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.hangcu-tradein-btn:hover {
  background: #bf360c;
  transform: translateY(-2px);
}

/* FAQ & Buyer Guide */
.hangcu-faq-section {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.hangcu-faq-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e5ea;
  padding: 32px 36px;
}

.hangcu-faq-title {
  font-size: 22px;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 24px;
  text-align: center;
}

.hangcu-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hangcu-faq-item {
  border: 1px solid #f2f2f7;
  background: #fafafa;
  border-radius: 12px;
  padding: 18px 20px;
}

.hangcu-faq-q {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hangcu-faq-a {
  font-size: 13.5px;
  color: #515154;
  line-height: 1.55;
}

/* Responsive Media Queries for Hàng Cũ */
@media (max-width: 1280px) {
  .hangcu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .hangcu-hero-card {
    flex-direction: column;
    padding: 28px 24px;
    text-align: left;
  }
  .hangcu-hero-art img {
    max-height: 160px;
  }
  .hangcu-commit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hangcu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hangcu-faq-grid {
    grid-template-columns: 1fr;
  }
  .hangcu-tradein-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .hangcu-commit-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hangcu-hero-title {
    font-size: 24px;
  }
  .hangcu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hangcu-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hangcu-filter-label {
    min-width: auto;
  }
  .hangcu-filter-box {
    padding: 14px;
  }
}


/* ==========================================================================
   OPTIMISATION ADDITIONS (accessibility / link cards)
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
/* Product cards are now real links (crawlable) - keep the previous look */
a.product-thumb-wrap { text-decoration: none; color: inherit; }
.product-name a,
.product-name a:link,
.product-name a:visited,
.product-name a:hover { color: inherit; text-decoration: none; }
.product-name a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


/* ==========================================================================
   MOBILE POLISH (v8) - touch targets, readability, compact Hàng Cũ, PDP buy bar
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, .tab-btn, .hangcu-filter-btn, .mb-nav-item { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  /* iOS Safari zooms into inputs < 16px */
  input, select, textarea { font-size: 16px !important; }

  /* Bottom nav: bigger tap area + notch safe-area */
  .mobile-bottom-nav { height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px rgba(0,0,0,.05); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mb-nav-item { min-width: 64px; min-height: 48px; justify-content: center; }

  /* Floating call / Zalo buttons: smaller, never hide behind bottom nav */
  .floating-widgets { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); gap: 10px; }
  .float-btn { width: 46px; height: 46px; }
  .float-backtotop { display: none !important; }
  body:has(.page-pdp_top.is-visible) .floating-widgets { bottom: calc(136px + env(safe-area-inset-bottom)); }

  /* Product cards: clearer cards, darker names, easier tap */
  .product-card { background: #fff; border: 1px solid #ececf0; padding: 8px 8px 10px; border-radius: 14px; }
  .product-card:hover { transform: none; }
  .product-thumb-wrap { height: 150px; margin-bottom: 8px; }
  .product-name { color: #1d1d1f; font-weight: 500; font-size: 13px; min-height: 34px; margin-bottom: 4px; }
  .product-price-current { font-size: 15px; font-weight: 700; }
  .product-swatches { margin-top: 6px; }
  .btn-card-buy { min-height: 38px; font-size: 12.5px; font-weight: 600; }
  .section-container { padding-left: 10px; padding-right: 10px; }

  /* PDP: convert the scroll bar into a bottom buy bar (thumb-reachable) */
  .page-pdp_top { position: fixed; top: auto; bottom: calc(58px + env(safe-area-inset-bottom)); transform: translateY(120%); border-bottom: 0; border-top: 1px solid rgba(0,0,0,.08); box-shadow: 0 -4px 16px rgba(0,0,0,.08); z-index: 790; }
  .page-pdp_top.is-visible { transform: translateY(0); }
  .page-pdp_top__inner { padding: 8px 12px; gap: 10px; }
  .page-pdp_top .sticky-prod-info { gap: 8px; min-width: 0; flex: 1; }
  .page-pdp_top .sticky-prod-info > div { display: flex; flex-direction: column; min-width: 0; }
  .page-pdp_top .sticky-prod-thumb { width: 38px; height: 38px; flex-shrink: 0; }
  .page-pdp_top .product-name { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .page-pdp_top .product-price { font-size: 15px; margin-left: 0; }
  .page-pdp_top .sticky-buy-btn { padding: 11px 16px; font-size: 13.5px; border-radius: 10px; white-space: nowrap; min-height: 44px; }
}

/* Hàng Cũ page: compact on phones */
@media (max-width: 680px) {
  .hangcu-hero-card { padding: 20px 16px; border-radius: 16px; }
  .hangcu-hero-tag { font-size: 11px; padding: 5px 10px; }
  .hangcu-hero-title { font-size: 22px; line-height: 1.2; }
  .hangcu-hero-desc { font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hangcu-hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
  .hangcu-hero-feat-item { font-size: 12px; line-height: 1.35; }
  .hangcu-hero-art { display: none; }
  .hangcu-commit-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hangcu-commit-card { padding: 10px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .hangcu-commit-icon { width: 32px; height: 32px; font-size: 18px; }
  .hangcu-commit-info h4 { font-size: 12.5px; }
  .hangcu-commit-info p { font-size: 11px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hangcu-filter-box { padding: 12px; }
  .hangcu-filter-options { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hangcu-filter-options::-webkit-scrollbar { display: none; }
  .hangcu-filter-btn { white-space: nowrap; flex-shrink: 0; padding: 8px 12px; font-size: 12.5px; min-height: 36px; }
  .hangcu-pills-container { scroll-snap-type: x proximity; }
}

/* Mobile drawer: collapsible sub menu (rendered from Admin → Menu) */
.mnav-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mnav-row a { flex: 1; padding: 4px 0; }
.mnav-tg { background: #f5f5f7; border: 0; border-radius: 8px; width: 34px; height: 34px; font-size: 14px; color: #515154; cursor: pointer; transition: transform .2s; }
.mnav-item.open > .mnav-row .mnav-tg { transform: rotate(180deg); }
.mnav-sub { list-style: none; margin: 6px 0 2px; padding: 0 0 0 14px; border-left: 2px solid #ececf0; display: none; flex-direction: column; gap: 10px; }
.mnav-item.open > .mnav-sub { display: flex; }
.mnav-sub a { font-size: 14px; font-weight: 400; color: #515154; }


/* ==========================================================================
   HÀNG CŨ v2 - one coloured block per category (layout inspired by "Kèo thơm")
   ========================================================================== */
.hc2-head { max-width: var(--page-max-width); margin: 0 auto; padding: 8px 20px 4px; text-align: center; }
.hc2-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.3px; margin: 6px 0 6px; color: #1d1d1f; }
.hc2-head h1 span { color: #d70018; }
.hc2-head p { font-size: 14px; color: #6e6e73; margin: 0 auto; max-width: 820px; line-height: 1.5; }

.hc2-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; max-width: 1200px; margin: 18px auto 10px; padding: 0 16px; }
.hc2-cat { display: flex; flex-direction: column; align-items: center; width: 108px; text-decoration: none; color: #1d1d1f; transition: transform .18s; }
.hc2-cat:hover { transform: translateY(-3px); }
.hc2-cat-ic { position: relative; width: 78px; height: 78px; border-radius: 50%; background: #fff; border: 1px solid #eee; box-shadow: 0 2px 10px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 30px; }
.hc2-cat-ic img { width: 62px; height: 62px; object-fit: contain; position: relative; z-index: 1; }
.hc2-cat-ic i { position: absolute; font-style: normal; }
.hc2-cat-tx { margin-top: 8px; font-size: 13.5px; font-weight: 500; text-align: center; line-height: 1.3; }

.hc2-block { max-width: var(--page-max-width); margin: 22px auto 0; padding: 14px 16px 18px; border-radius: 10px; background: linear-gradient(180deg, var(--c1, #bcd9ff) 0, var(--c2, #fff) 100%); scroll-margin-top: 90px; }
.hc2-title { font-size: 21px; font-weight: 700; margin: 2px 4px 12px; color: #111; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hc2-title small { font-size: 12.5px; font-weight: 500; color: rgba(0,0,0,.55); }
.hc2-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.hc2-card { position: relative; background: #fff; border-radius: 8px; box-shadow: 0 1px 5px rgba(0,0,0,.12); padding: 8px 8px 10px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.hc2-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.16); transform: translateY(-2px); }
.hc2-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; position: relative; }
.hc2-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 6px; }
.hc2-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hc2-name { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 6px 2px 6px; color: #1d1d1f; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.hc2-row { display: flex; justify-content: center; align-items: baseline; gap: 8px; font-size: 13px; margin: 1px 0; color: #444; }
.hc2-row s { color: #555; font-size: 13.5px; }
.hc2-sale span { color: #d70018; font-weight: 500; }
.hc2-sale b { color: #d70018; font-size: 15.5px; font-weight: 800; }
.hc2-warranty { text-align: center; font-size: 11.5px; color: #0b7a4b; margin: 5px 4px 0; line-height: 1.35; }
.hc2-save { margin: 8px 2px 0; background: #d70018; color: #fff; text-align: center; font-size: 12.5px; font-weight: 700; padding: 6px 4px; border-radius: 4px; }
.hc2-add { margin: 7px 2px 0; border: 1px solid #d70018; color: #d70018; background: #fff; border-radius: 4px; padding: 7px 4px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; min-height: 36px; }
.hc2-add:hover:not(:disabled) { background: #d70018; color: #fff; }
.hc2-add:disabled { opacity: .5; cursor: not-allowed; }
.hc2-cond { position: absolute; left: 0; top: 0; z-index: 2; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px 0 6px 0; color: #fff; background: #0b7a4b; }
.hc2-cond--ln { background: #7c3aed; }
.hc2-cond--fair { background: #ea8a00; }
.hc2-sold { position: absolute; right: 0; top: 0; z-index: 2; background: #444; color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 0 4px 0 6px; }
.hc2-empty { max-width: 700px; margin: 40px auto; padding: 40px 20px; text-align: center; background: #fff; border: 1px dashed #d2d2d7; border-radius: 12px; color: #6e6e73; }

@media (max-width: 1200px) { .hc2-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .hc2-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
  .hc2-head h1 { font-size: 22px; }
  .hc2-head p { font-size: 12.5px; }
  .hc2-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 8px; margin: 12px 0 6px; padding: 4px 12px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hc2-cats::-webkit-scrollbar { display: none; }
  .hc2-cat { width: 84px; flex-shrink: 0; }
  .hc2-cat-ic { width: 64px; height: 64px; }
  .hc2-cat-ic img { width: 50px; height: 50px; }
  .hc2-cat-tx { font-size: 12px; }
  .hc2-block { margin: 14px 8px 0; padding: 10px 8px 12px; border-radius: 10px; }
  .hc2-title { font-size: 17px; margin-bottom: 8px; }
  .hc2-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hc2-card { padding: 6px 6px 8px; }
  .hc2-name { font-size: 12.5px; min-height: 34px; }
  .hc2-row { font-size: 11.5px; gap: 5px; flex-wrap: wrap; }
  .hc2-row s { font-size: 12px; }
  .hc2-sale b { font-size: 14px; }
  .hc2-save { font-size: 11.5px; padding: 5px 2px; }
  .hc2-add { font-size: 12.5px; min-height: 38px; }
}
.hc2-block { width: calc(100% - 40px); }
@media (max-width: 680px) { .hc2-block { width: calc(100% - 16px); } }

/* ==========================================================================
   v9 - UNIFIED CART DRAWER (all pages) + MOBILE POLISH
   - Fixes the unstyled cart drawer on product pages (checkout button looked like a plain
     browser button / was easy to miss). Footer is now always pinned & visible.
   ========================================================================== */
.cart-drawer { height: 100vh; height: 100dvh; max-width: 440px; }
.cart-drawer-header,
.free-ship-progress,
.cart-freeship-banner { flex-shrink: 0; }
.cart-drawer-items { min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cart-item-card { flex-shrink: 0; }
.cart-drawer-footer { flex-shrink: 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.06); position: relative; z-index: 2; }
.cart-drawer-title { display: flex; align-items: center; gap: 8px; }

/* Markup variant used on product pages */
.cart-drawer-close { background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer; color: #86868b; padding: 4px 8px; transition: color .2s; }
.cart-drawer-close:hover { color: #000; }
.cart-freeship-banner { padding: 12px 20px; background: #f5f5f7; font-size: 12.5px; color: #1d1d1f; }
.freeship-progress-bar { height: 6px; background: #e1e1e6; border-radius: 3px; margin-top: 6px; overflow: hidden; }
.freeship-progress-fill { height: 100%; background: #34c759; border-radius: 3px; transition: width .3s ease; }
.cart-subtotal-amount { color: var(--ibin-price-red); }
.cart-footer-note { font-size: 12px; color: #86868b; margin: -6px 0 12px; }
.cart-checkout-btn { display: block; width: 100%; background: var(--ibin-blue); color: #fff; border: none; padding: 14px; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.cart-checkout-btn:hover { background: var(--ibin-blue-hover); }
.cart-continue-btn { display: block; width: 100%; margin-top: 6px; background: transparent; color: var(--ibin-blue); border: none; padding: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }

@media (max-width: 768px) {
  .cart-drawer { max-width: 100%; }
  .cart-drawer-header { padding: 14px 16px; }
  .cart-drawer-items { padding: 14px 16px; gap: 12px; }
  .cart-drawer-footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .cart-subtotal-row { margin-bottom: 10px; }
  .cart-checkout-btn, .btn-checkout { min-height: 48px; }
  .qty-btn { width: 34px; height: 34px; }
  .btn-remove-item { padding: 8px 4px; }

  /* Product page */
  .pdp-title { font-size: 22px !important; line-height: 1.25 !important; }
  .pdp-current-price { font-size: 26px !important; }
  .pdp-recommend-section .section-title-wrap { flex-wrap: wrap; gap: 6px 10px; }
  .pdp-recommend-section .section-main-title { font-size: 20px !important; line-height: 1.25; }
  .pdp-btn-add-cart, .pdp-btn-store { min-height: 48px; }
  .pdp-main-image-container { max-height: 360px; }

  /* Modals: full-width sheet that never exceeds the screen */
  .modal-overlay { padding: 10px; align-items: flex-end; }
  .modal-container { max-height: 92dvh; border-radius: 18px 18px 14px 14px; }
}
