/*============================================================
   PRODUCT-DETAIL.HTML - PAGE STYLES
   ------------------------------------------------------------
   Change styles for ONLY this page here.
   Shared header/footer/navigation styles live in common.css.
   ============================================================*/

.pd-gallery {
  grid-template-columns: 1fr !important;
}

.pd-gallery-thumbs {
  display: none !important;
}

.pd-gallery-main {
  min-width: 0;
}

.pd-gallery-stage {
  overflow: hidden;
}

.pd-gallery-stage img {
  transition: transform .38s cubic-bezier(.22,.61,.36,1),opacity .38s ease !important;
}

.pd-gallery-main img,.pd-main-image {
  transition: opacity .36s ease,transform .36s ease !important;
}

/*============================================================
   PAGE-SPECIFIC STYLES MOVED FROM THE HTML
   ============================================================*/

:root {
  --navy: #062947;
  --navy-dark: #031d33;
  --blue: #087df1;
  --blue-dark: #0567cb;
  --green: #0a9c58;
  --red: #c52c2c;
  --orange: #b76500;
  --text: #092945;
  --muted: #6e8195;
  --line: #dce5ee;
  --soft: #f5f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f8fc;
  color: var(--text);
  font-family: Inter,
        Arial,
        Helvetica,
        sans-serif;
}

button,
    input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

/*=====================================
       HEADER
    =====================================*/

.pd-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid #e0e8f0;
}

.pd-header-inner {
  width: min(1180px,94%);
  min-height: 80px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.pd-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.pd-logo img {
  width: 76px;
  max-height: 58px;
  object-fit: contain;
}

.pd-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.pd-nav > a {
  color: #082944;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.pd-nav > a:hover {
  color: var(--blue);
}

.pd-header-cart {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e2ed;
  border-radius: 11px;
  background: #f8fbfe;
  color: var(--navy);
  cursor: pointer;
  transition: .18s ease;
}

.pd-header-cart:hover {
  background: #edf7ff;
  border-color: #b8d9fa;
}

.pd-header-cart svg {
  width: 21px;
  height: 21px;
}

.pd-header-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.pd-account {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7e2ed;
  border-radius: 10px;
  text-decoration: none;
  color: #082944;
  font-size: 13px;
  font-weight: 850;
}

/*=====================================
       BREADCRUMB
    =====================================*/

.pd-breadcrumb {
  width: min(1180px,94%);
  margin: 22px auto 0;
  color: #718196;
  font-size: 12px;
}

.pd-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 750;
}

/*=====================================
       MAIN PRODUCT
    =====================================*/

.pd-main {
  width: min(1180px,94%);
  margin: 18px auto 50px;
  display: grid;
  grid-template-columns: minmax(0,.95fr)
        minmax(420px,1.05fr);
  gap: 28px;
}

.pd-card {
  background: #fff;
  border: 1px solid #dce6ef;
  border-radius: 20px;
  box-shadow: 0 15px 40px
        rgba(13,42,68,.06);
}

/*=====================================
       PRODUCT IMAGE GALLERY
    =====================================*/

.pd-image-card {
  min-height: 540px;
  padding: 22px;
  display: block;
  position: relative;
  overflow: hidden;
}

.pd-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
          circle at 50% 35%,
          rgba(8,125,241,.08),
          transparent 46%
        );
  pointer-events: none;
}

.pd-gallery {
  position: relative;
  z-index: 1;
  min-height: 495px;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 12px;
}

.pd-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 495px;
  overflow-y: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.pd-gallery-thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  padding: 4px;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.pd-gallery-thumb:hover {
  border-color: #8cc7ff;
  transform: translateY(-1px);
}

.pd-gallery-thumb.active {
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 3px rgba(8,125,241,.10);
}

.pd-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pd-gallery-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.pd-gallery-stage {
  position: relative;
  min-width: 0;
  min-height: 495px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
  touch-action: pan-y;
}

.pd-gallery-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: 470px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform: translateX(0);
  opacity: 1;
  transition: transform .32s cubic-bezier(.22,.61,.36,1),
        opacity .32s ease;
  will-change: transform,opacity;
}

.pd-gallery-stage .pd-gallery-incoming {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .52s cubic-bezier(.22,.61,.36,1), opacity .52s ease;
  will-change: transform,opacity;
  pointer-events: none;
}

.pd-gallery-stage img.slide-out-left {
  transform: translateX(-42px);
  opacity: 0;
}

.pd-gallery-stage img.slide-out-right {
  transform: translateX(42px);
  opacity: 0;
}

.pd-gallery-stage img.slide-in-right {
  transform: translateX(42px);
  opacity: 0;
}

.pd-gallery-stage img.slide-in-left {
  transform: translateX(-42px);
  opacity: 0;
}

.pd-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  margin-top: 8px;
}

.pd-gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d3dc;
  cursor: pointer;
  transition: width .22s ease,
        border-radius .22s ease,
        background .22s ease,
        transform .22s ease;
}

.pd-gallery-dot:hover {
  background: #8ca0b3;
  transform: scale(1.12);
}

.pd-gallery-dot.active {
  width: 20px;
  border-radius: 999px;
  background: var(--blue);
}

.pd-gallery-hint {
  display: block;
  margin-top: 2px;
  text-align: center;
  color: #7a8da0;
  font-size: 9px;
  font-weight: 700;
  pointer-events: none;
}

.pd-gallery.single {
  grid-template-columns: 1fr;
}

.pd-gallery.single .pd-gallery-thumbs,
    .pd-gallery.single .pd-gallery-dots {
  display: none;
}

/* FULL IMAGE PREVIEW */

.pd-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(3,20,35,.86);
  opacity: 0;
  visibility: hidden;
  transition: .18s ease;
}

.pd-image-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.pd-lightbox-image-wrap {
  position: relative;
  width: min(1000px,92vw);
  height: min(760px,86vh);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;
}

.pd-lightbox-image {
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.pd-lightbox-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #e32d2d;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.pd-lightbox-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(6,41,71,.86);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  font-weight: 850;
}

.pd-lightbox-prev {
  left: 14px;
}

.pd-lightbox-next {
  right: 14px;
}

/* PRODUCT INFO */

.pd-info {
  padding: 34px;
}

.pd-category {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pd-title {
  margin: 10px 0 10px;
  color: #062947;
  font-size: clamp(28px,3vw,43px);
  line-height: 1.08;
}

.pd-description {
  margin: 0;
  color: #61788e;
  font-size: 14px;
  line-height: 1.7;
}

.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.pd-meta span {
  padding: 9px 11px;
  border: 1px solid #dce5ee;
  border-radius: 9px;
  background: #f9fbfd;
  color: #5e7489;
  font-size: 11px;
}

.pd-meta b {
  color: #082944;
}

.pd-separator {
  height: 1px;
  margin: 24px 0;
  background: #e4ebf2;
}

.pd-price-label {
  margin-bottom: 6px;
  color: #7c8fa2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pd-price {
  color: #062947;
  font-size: 34px;
  font-weight: 950;
}

.pd-price-note {
  margin-top: 6px;
  color: #7a8da0;
  font-size: 11px;
  line-height: 1.5;
}

.pd-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  font-size: 13px;
  font-weight: 850;
}

.pd-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.pd-stock.in {
  color: #06783f;
}

.pd-stock.out {
  color: var(--red);
}

.pd-stock.out .pd-stock-dot {
  background: var(--red);
}

/* QUANTITY */

.pd-buy-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pd-qty-label {
  font-size: 13px;
  font-weight: 850;
}

.pd-qty {
  display: grid;
  grid-template-columns: 44px 54px 44px;
  border: 1px solid #d8e2ec;
  border-radius: 10px;
  overflow: hidden;
}

.pd-qty button {
  height: 42px;
  border: 0;
  background: #f6f9fc;
  color: #073050;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.pd-qty button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.pd-qty span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #d8e2ec;
  border-right: 1px solid #d8e2ec;
  color: #082944;
  font-size: 14px;
  font-weight: 900;
}

/* ACTIONS */

.pd-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.pd-btn {
  min-height: 52px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.pd-add {
  border: 1.5px solid var(--blue);
  background: #fff;
  color: var(--blue);
}

.pd-buy {
  border: 0;
  background: linear-gradient(
          90deg,
          #087df1,
          #0567cc
        );
  color: #fff;
}

.pd-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.pd-dispatch {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #f0d087;
  border-radius: 11px;
  background: #fff8e7;
  color: #875400;
  font-size: 12px;
  line-height: 1.6;
}

.pd-dispatch strong {
  display: block;
  margin-bottom: 2px;
}

/*=====================================
       TRUST CARDS
    =====================================*/

.pd-trust {
  width: min(1180px,94%);
  margin: -22px auto 45px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

.pd-trust-card {
  padding: 18px;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 12px;
}

.pd-trust-card strong {
  display: block;
  margin-bottom: 5px;
  color: #082944;
  font-size: 12px;
}

.pd-trust-card span {
  color: #718196;
  font-size: 10px;
  line-height: 1.5;
}

/*=====================================
       PRODUCT INFORMATION
    =====================================*/

.pd-details {
  width: min(1180px,94%);
  margin: 0 auto 50px;
  padding: 30px;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 18px;
}

.pd-details h2 {
  margin: 0 0 18px;
  color: #062947;
  font-size: 22px;
}

.pd-details-content {
  color: #60778d;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
}

/*=====================================
       RELATED PRODUCTS
    =====================================*/

.pd-related {
  width: min(1180px,94%);
  margin: 0 auto 70px;
}

.pd-related h2 {
  margin-bottom: 18px;
  color: #062947;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.pd-related-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 14px;
  cursor: pointer;
}

.pd-related-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 15px;
  background: #f8fafc;
}

.pd-related-body {
  padding: 17px;
}

.pd-related-body small {
  color: var(--blue);
  font-weight: 850;
  text-transform: uppercase;
}

.pd-related-body h3 {
  margin: 7px 0;
  color: #082944;
  font-size: 15px;
}

.pd-related-price {
  margin-top: 12px;
  color: #062947;
  font-size: 17px;
  font-weight: 900;
}

/*=====================================
       CART DRAWER
    =====================================*/

.pd-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(2,18,33,.42);
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
}

.pd-cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pd-cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  z-index: 1200;
  width: min(430px,100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -20px 0 60px
        rgba(0,0,0,.18);
  transition: right .25s ease;
}

.pd-cart-drawer.open {
  right: 0;
}

.pd-cart-head {
  min-height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e9f0;
}

.pd-cart-head strong {
  font-size: 17px;
}

.pd-cart-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f3f6f9;
  cursor: pointer;
  color: #122b42;
  font-size: 24px;
}

.pd-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
}

.pd-cart-empty {
  padding: 70px 20px;
  text-align: center;
  color: #718196;
}

.pd-cart-line {
  display: grid;
  grid-template-columns: 62px minmax(0,1fr) auto;
  gap: 11px;
  padding: 16px 0;
  border-bottom: 1px solid #edf1f5;
}

.pd-cart-line img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  padding: 4px;
  border-radius: 8px;
  background: #f6f9fc;
}

.pd-cart-name {
  margin: 0;
  color: #122b42;
  font-size: 13px;
  line-height: 1.4;
}

.pd-cart-each {
  display: block;
  margin-top: 4px;
  color: #718196;
  font-size: 11px;
}

.pd-cart-stock {
  display: block;
  margin-top: 4px;
  color: #b45c00;
  font-size: 10px;
  font-weight: 800;
}

.pd-cart-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.pd-cart-controls button {
  min-width: 30px;
  height: 30px;
  border: 1px solid #d8e2eb;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  color: #12304c;
  font-weight: 800;
}

.pd-cart-controls button:disabled {
  background: #edf1f5;
  opacity: .45;
  cursor: not-allowed;
}

.pd-cart-controls .pd-remove {
  width: auto;
  margin-left: 5px;
  padding: 0 5px;
  border: 0;
  color: #c52c2c;
  font-size: 10px;
}

.pd-cart-line-total {
  color: #102a43;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.pd-cart-footer {
  padding: 18px;
  border-top: 1px solid #e2e9f0;
  background: #fff;
}

.pd-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 900;
}

.pd-checkout {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(
          90deg,
          #087df1,
          #0566c9
        );
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

/*=====================================
       TOAST
    =====================================*/

.pd-toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 1500;
  transform: translate(-50%,30px);
  max-width: calc(100% - 30px);
  padding: 12px 18px;
  border-radius: 10px;
  background: #062947;
  color: #fff;
  box-shadow: 0 12px 35px
        rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
  font-size: 12px;
  font-weight: 750;
}

.pd-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}

/*=====================================
       LOADING / ERROR
    =====================================*/

.pd-state {
  width: min(1180px,94%);
  margin: 70px auto;
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 16px;
  color: #718196;
}

/*=====================================
       MOBILE
    =====================================*/

@media (max-width:850px) {
  .pd-nav > a:not(
        .pd-account
      ) {
    display: none;
  }

  .pd-header-inner {
    min-height: 68px;
  }

  .pd-logo img {
    width: 64px;
  }

  .pd-nav {
    gap: 8px;
  }

  .pd-account {
    padding: 0 10px;
  }

  .pd-main {
    grid-template-columns: 1fr;
  }

  .pd-image-card {
    min-height: 350px;
  }

  .pd-info {
    padding: 23px;
  }

  .pd-trust {
    grid-template-columns: 1fr 1fr;
  }

  .pd-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:850px) {
  .pd-gallery {
    grid-template-columns: 64px minmax(0,1fr);
    min-height: 360px;
  }

  .pd-gallery-thumbs {
    max-height: 360px;
  }

  .pd-gallery-thumb {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .pd-gallery-stage {
    min-height: 360px;
  }
}

@media (max-width:560px) {
  .pd-image-card {
    padding: 12px 12px 16px;
  }

  .pd-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }

  .pd-gallery-thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 2px 6px;
  }

  .pd-gallery-thumb {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }

  .pd-gallery-stage {
    min-height: 300px;
  }

  .pd-gallery-stage img {
    max-height: 285px;
  }

  .pd-gallery-hint {
    display: none;
  }

  .pd-image-lightbox {
    padding: 12px;
  }

  .pd-lightbox-image-wrap {
    width: 96vw;
    height: 78vh;
  }

  .pd-lightbox-image {
    padding: 14px;
  }

  .pd-main {
    width: 100%;
    margin-top: 12px;
    gap: 10px;
  }

  .pd-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .pd-breadcrumb {
    width: 92%;
  }

  .pd-image-card {
    min-height: 310px;
    padding: 20px;
  }

  .pd-title {
    font-size: 29px;
  }

  .pd-actions {
    grid-template-columns: 1fr;
  }

  .pd-buy-row {
    align-items: flex-end;
  }

  .pd-trust {
    width: 92%;
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }

  .pd-details,
      .pd-related {
    width: 92%;
  }

  .pd-related-grid {
    grid-template-columns: 1fr;
  }

  .pd-cart-drawer {
    width: 100%;
  }
}

.pd-gallery {
  grid-template-columns: 1fr !important;
}

.pd-gallery-thumbs {
  display: none !important;
}

.pd-gallery-stage {
  position: relative;
  overflow: hidden;
}

.pd-gallery-stage #pdMainProductImage {
  transition: transform .52s cubic-bezier(.22,.61,.36,1),opacity .52s ease;
  will-change: transform,opacity;
}

.pd-gallery-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.pd-gallery-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  border-radius: 999px !important;
  padding: 0 !important;
  background: #cbd5e1 !important;
  border: 0 !important;
  transition: width .25s ease,background .25s ease,transform .25s ease;
}

.pd-gallery-dot.active {
  width: 26px !important;
  background: #087df1 !important;
}

/*============================================================
   SAFE CUSTOM OVERRIDES
   Add future page-only edits below this line.
   ============================================================*/

/*============================================================
   V6.2 LIVE CART IN GLOBAL HEADER
   ------------------------------------------------------------
   site-nav.js preserves #pdHeaderCart and moves it into the
   shared header. Keep this page-specific styling here.
   ============================================================*/

.his-pro-actions .his-product-live-cart {
  flex: 0 0 42px;
  margin: 0;
}

@media (max-width:900px) {
  .his-pro-actions .his-product-live-cart {
    display: inline-flex;
    width: 40px;
    height: 40px;
  }
}

@media (max-width:560px) {
  .his-pro-actions .his-product-live-cart {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}

/*============================================================
   V6.4 PRODUCT DETAIL - ICON ONLY LIVE CART
   ------------------------------------------------------------
   Desktop + mobile: only cart icon and live quantity badge.
   No "Cart" text label is rendered.
   ============================================================*/

.his-pro-actions .his-product-live-cart {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    gap: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e2ed;
    border-radius: 12px;
    background: #f8fbfe;
    color: #082944;
    box-shadow: 0 8px 22px rgba(8, 41, 68, 0.08);
}

.his-pro-actions .his-product-live-cart:hover {
    background: #eef7ff;
    border-color: #b7d8f7;
}

.his-pro-actions .his-product-live-cart svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

/* Safety: if an older cached script ever adds a text label, hide it. */
.his-pro-actions .his-product-live-cart .his-live-cart-label {
    display: none !important;
}

.his-pro-actions .his-product-live-cart .pd-header-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #087df1;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 900px) {
    .his-pro-actions .his-product-live-cart {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
}

@media (max-width: 560px) {
    .his-pro-actions .his-product-live-cart {
        width: 38px;
        min-width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}


/* FINAL V9 - product cart overlay/drawer above the global header */
.pd-cart-overlay { z-index: 12040; }
.pd-cart-drawer {
  z-index: 12050;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: contain;
}
.pd-cart-head {
  position: sticky;
  top: 0;
  z-index: 3;
  flex: 0 0 auto;
  background: #fff;
}
.pd-cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pd-cart-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}
.pd-cart-footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  flex: 0 0 auto;
  background: #fff;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}
@media (max-width:760px) {
  .pd-cart-drawer { width: 100%; }
  .pd-cart-head { min-height: 62px; padding: 0 16px; }
  .pd-cart-body { padding: 12px 16px; }
  .pd-cart-footer { padding: 14px 16px max(14px, env(safe-area-inset-bottom)); }
}
