/* ==========================================================================
   PRODUCT DETAILS PAGE Ã¢â‚¬â€ scoped styles, built on the shared token system
   ========================================================================== */

.pd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--steel-light);
  text-transform: uppercase;
}

.pd-breadcrumb a {
  transition: color .25s var(--ease);
}

.pd-breadcrumb a:hover {
  color: var(--primary);
}

.pd-breadcrumb span.sep {
  opacity: .5;
}

.pd-breadcrumb span.current {
  color: var(--ink);
  font-weight: 700;
}

.pd-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 40px 50px 0;
}

.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.pd-gallery {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 0px);
  transition: top 0.35s var(--ease);
}

body.subnav-collapsed .pd-gallery {
  top: calc(var(--header-h) + 0px);
}

.pd-thumbrail {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 78px;
}

.pd-thumb-arrow {
  width: 78px;
  height: 24px;
  border-radius: 6px;
  border: none;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  z-index: 5;
}

.pd-thumb-arrow:hover {
  background: var(--primary);
}

.pd-thumb-arrow:active {
  transform: scale(0.92);
}

.pd-thumb-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  max-height: 228px;
  scroll-behavior: smooth;
  width: 100%;
}

.pd-thumb {
  position: relative;
  width: 78px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  background: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  flex-shrink: 0;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.pd-thumb:hover {
  transform: translateY(-2px);
}

.pd-thumb.active {
  border-color: var(--primary);
}

.pd-thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(155, 28, 31, 0.35);
}

.pd-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 480px;
  max-height: 78vh;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
  cursor: zoom-in;
}

.pd-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  z-index: 2;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}

.pd-stage__img.active {
  opacity: 1;
  transform: scale(1);
}

.pd-stage:hover .pd-stage__img.active {
  transform: scale(1.03);
}

.pd-stage__zoomhint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.pd-stage:hover .pd-stage__zoomhint {
  opacity: 1;
  transform: translateY(0);
}

.pd-stage__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .pd-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 40px;
  }

  .pd-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pd-gallery {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .pd-stage {
    order: 1;
  }

  .pd-thumbrail {
    order: 2;
  }

  .pd-thumbrail {
    position: static;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
    flex-direction: row;
    width: 100%;
    gap: 6px;
    overflow: visible;
  }

  .pd-thumb-arrow {
    display: none;
  }

  .pd-thumb-container {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 4px;
    max-height: none;
    max-width: 100%;
    gap: 10px;
  }

  .pd-thumb-container::-webkit-scrollbar {
    display: none;
  }

  .pd-thumb {
    flex: 0 0 auto;
    width: 68px;
    height: 56px;
  }

  .pd-stage {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 68vh;
  }
}

@media (max-width: 480px) {
  .pd-stage {
    aspect-ratio: 1 / 1;
    max-height: 58vh;
  }

  .pd-thumb {
    width: 58px;
    height: 50px;
  }

  .pd-stage__zoomhint {
    font-size: 10px;
    padding: 6px 10px;
    right: 10px;
    bottom: 10px;
  }

  .pd-stage__tag {
    font-size: 10px;
    padding: 5px 10px;
    top: 10px;
    left: 10px;
  }

  .pd-stage__img {
    object-position: 130% 100%;
  }
}

.pd-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.pd-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  letter-spacing: -0.5px;
  line-height: 1.03;
  margin-bottom: 14px;
}

.pd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  cursor: pointer;
  width: fit-content;
}

.pd-rating .stars {
  color: #e8a13c;
  font-size: 14px;
  letter-spacing: 2px;
}

.pd-rating .stars i {
  margin-right: 1px;
}

.pd-rating .count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-rating:hover .count {
  color: var(--primary);
}

.pd-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 26px;
}

.pd-price .was {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--steel-light);
  text-decoration: line-through;
  margin-left: 10px;
}

.pd-option-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: 10px;
}

.pd-options {
  margin-bottom: 22px;
}

.pd-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-size-btn {
  min-width: 48px;
  height: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  background: var(--paper-2);
  transition: all .25s var(--ease);
}

.pd-size-btn:hover {
  border-color: var(--primary-light);
}

.pd-size-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.pd-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
}

.pd-qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.pd-qty-btn:hover {
  background: var(--ink);
  color: #fff;
}

.pd-qty-input {
  width: 56px;
  height: 44px;
  border: none;
  border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  -moz-appearance: textfield;
}

.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-colors {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-color-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pd-color-opt .swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.pd-color-opt span.label {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  transition: color .25s var(--ease);
}

.pd-color-opt.active span.label {
  color: var(--ink);
}

.pd-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #2f8f4e;
  margin-bottom: 24px;
}

.pd-stock .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8f4e;
  box-shadow: 0 0 0 3px rgba(47, 143, 78, 0.18);
}

.pd-stock.is-low {
  color: var(--primary);
}

.pd-stock.is-low .dot {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 28, 31, 0.15);
}

.pd-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  position: relative;
}

.pd-add-btn {
  flex: 1;
  height: 56px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 16px 34px rgba(155, 28, 31, 0.28);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: visible;
}

.pd-add-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.pd-add-btn:active {
  transform: translateY(0) scale(.98);
}

.pd-fav-btn {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  transition: all .25s var(--ease);
}

.pd-fav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pd-fav-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pd-fav-btn.active i {
  font-weight: 900;
}

.pd-toast {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translate(-50%, -100%) scale(.92);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 18px 40px rgba(13, 13, 13, 0.14);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 20;
}

.pd-toast.show {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1);
  pointer-events: auto;
}

.pd-toast strong {
  display: block;
  color: #2f8f4e;
  margin-bottom: 2px;
}

.pd-toast a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pd-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--steel);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.pd-accordion {
  border-top: 1px solid var(--line);
}

.pd-acc-item {
  border-bottom: 1px solid var(--line);
}

.pd-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-align: left;
}

.pd-acc-head i {
  font-size: 13px;
  color: var(--steel);
  transition: transform .35s var(--ease);
}

.pd-acc-item.open .pd-acc-head i {
  transform: rotate(180deg);
  color: var(--primary);
}

.pd-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}

.pd-acc-item.open .pd-acc-body {
  max-height: 400px;
}

.pd-acc-body-inner {
  padding: 0 2px 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.pd-acc-body-inner ul {
  list-style: none;
}

.pd-acc-body-inner li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.pd-acc-body-inner li:last-child {
  border-bottom: none;
}

.pd-acc-body-inner li span:first-child {
  color: var(--ink);
  font-weight: 600;
}

.pd-tabbtns {
  display: flex;
  gap: 12px;
  margin: 28px 0 0;
}

.pd-tabbtn {
  flex: 1;
  height: 50px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--ink);
  transition: all .25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pd-tabbtn:hover,
.pd-tabbtn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.pd-panel {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: none;
}

.pd-panel.show {
  display: block;
  animation: pdFadeIn .5s var(--ease);
}

@keyframes pdFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pd-panel-inner {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  margin-top: 46px;
}

.pd-panel-inner h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--line);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 14px 8px;
  font-size: 14px;
}

.specs-table td:first-child {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--steel);
  width: 220px;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: .6px;
}

.specs-table td:last-child {
  color: var(--ink);
  font-weight: 500;
}

.rev-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.rev-score {
  text-align: center;
}

.rev-score .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.2rem;
  line-height: 1;
}

.rev-score .stars {
  color: #e8a13c;
  font-size: 16px;
  margin: 8px 0 4px;
}

.rev-score .of {
  font-size: 12px;
  color: var(--steel-light);
}

.rev-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.rev-bar-row {
  display: grid;
  grid-template-columns: 50px 1fr 34px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--steel);
}

.rev-bar-track {
  height: 7px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}

.rev-bar-fill {
  height: 100%;
  background: #e8a13c;
  border-radius: 999px;
}

.rev-form {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.rev-form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rev-form input[type="text"] {
  flex: 1;
  min-width: 200px;
  height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: var(--paper);
}

.rev-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.rev-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 22px;
  color: var(--line);
}

.rev-picker i {
  cursor: pointer;
  transition: color .15s var(--ease), transform .15s var(--ease);
}

.rev-picker i.filled,
.rev-picker i:hover {
  color: #e8a13c;
}

.rev-picker i:hover {
  transform: scale(1.12);
}

.rev-form textarea {
  width: 100%;
  min-height: 90px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: var(--paper);
  resize: vertical;
}

.rev-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.rev-submit {
  height: 46px;
  padding: 0 26px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: background .25s var(--ease);
}

.rev-submit:hover {
  background: var(--primary);
}

.rev-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rev-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.rev-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rev-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.rev-item-name {
  font-weight: 700;
  font-size: 14px;
}

.rev-item-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel-light);
}

.rev-item .stars {
  color: #e8a13c;
  font-size: 12px;
  margin-bottom: 8px;
}

.rev-item p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .rev-summary {
    grid-template-columns: 1fr;
  }

  .rev-score {
    text-align: left;
  }
}

.pd-related {
  max-width: 1360px;
  margin: 0 auto;
  padding: 50px 40px 100px;
}

.pd-related-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.pd-related-track::-webkit-scrollbar {
  display: none;
}

.pd-related-track .product-card {
  flex: 0 0 clamp(220px, 24vw, 280px);
  scroll-snap-align: start;
}

.pd-related .section-head {
  padding: 0 0 30px;
}

.pd-related-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.pd-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.pd-price-row .pd-price {
  margin-bottom: 0;
}

.pd-bulk-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.pd-bulk-toggle i.fa-boxes-stacked {
  color: var(--primary);
  font-size: 12px;
}

.pd-bulk-toggle i.fa-chevron-down {
  font-size: 9px;
  transition: transform .25s var(--ease);
}

.pd-bulk-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pd-bulk-toggle.open i.fa-chevron-down {
  transform: rotate(180deg);
}

.pd-bulk-panel {
  max-width: 480px;
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  animation: pdBulkIn .25s var(--ease);
}

@keyframes pdBulkIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pd-bulk-panel[hidden] {
  display: none;
}

.pd-bulk-panel__head {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--paper-2);
}

.pd-bulk-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.pd-bulk-tier .qty {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}

.pd-bulk-tier .price {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.pd-bulk-tier .price small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--steel-light);
}

.pd-bulk-tier--best {
  background: rgba(155, 28, 31, 0.05);
  position: relative;
}

.pd-bulk-tier--best .qty,
.pd-bulk-tier--best .price {
  color: var(--primary);
}

.pd-bulk-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}

.pd-bulk-add i {
  font-size: 10px;
}

.pd-bulk-add:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.pd-bulk-add:active {
  transform: scale(0.95);
}

.pd-bulk-tier--best .pd-bulk-add {
  background: var(--primary);
  border-color: var(--primary);
}

.pd-bulk-tier--best .pd-bulk-add:hover {
  background: #7a1518;
  border-color: #7a1518;
}

.pd-bulk-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 3px 8px;
  border-radius: 20px;
  position: absolute;
  top: -9px;
  right: 16px;
}

.pd-bulk-note {
  padding: 12px 16px 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--steel-light);
  line-height: 1.5;
}

.pd-bulk-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ===== B2B logged-in / approved-account states ===== */
.pd-bulk-toggle--approved {
  border-color: #1e8e5a;
  background: #eafaf1;
  color: #1e8e5a;
}

.pd-bulk-toggle--approved:hover {
  border-color: #1e8e5a;
  color: #166b45;
}

.pd-bulk-toggle--approved i.fa-circle-check {
  color: #1e8e5a;
  font-size: 12px;
}

.pd-bulk-panel--approved {
  border-color: #1e8e5a;
}

.pd-bulk-note--approved {
  color: #1e8e5a;
  font-weight: 600;
}

.pd-bulk-note--approved i {
  margin-right: 4px;
}

.pd-bulk-note--approved a {
  color: var(--primary);
}

.icon-btn--account-b2b {
  position: relative;
}

.badge--b2b {
  background: #1e8e5a;
  font-size: 9px;
  letter-spacing: 0.3px;
  padding: 1px 4px;
  min-width: 22px;
}

@media (max-width: 480px) {
  .pd-bulk-tier {
    flex-wrap: wrap;
  }

  .pd-bulk-add {
    margin-left: auto;
  }
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(7, 7, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  padding: 20px;
}

.pd-lightbox.open {
  opacity: 1;
  visibility: visible;
  display: flex !important;
}

.pd-lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 20;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  border: none;
}

.pd-lightbox__close:hover {
  background: var(--primary, #e63946);
  transform: scale(1.08);
}

.pd-lightbox__inner {
  width: 100%;
  max-width: 1300px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.pd-lightbox__stage {
  flex: 1;
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-lightbox__img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.pd-lightbox__img-container.zoomed {
  cursor: grab;
}

.pd-lightbox__img-container.grabbing {
  cursor: grabbing;
}

.pd-lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.1s ease-out;
  user-select: none;
}

.pd-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 15;
  cursor: pointer;
  border: none;
  transition: background .25s ease, transform .25s ease;
}

.pd-lightbox__nav:hover {
  background: var(--primary, #e63946);
  transform: translateY(-50%) scale(1.1);
}

.pd-lightbox__nav--prev {
  left: 16px;
}

.pd-lightbox__nav--next {
  right: 16px;
}

.pd-lightbox__thumbs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 10px 0;
  flex-shrink: 0;
  z-index: 10;
}

.pd-lightbox__thumbs img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 0.5;
  transition: all .25s ease;
}

.pd-lightbox__thumbs img:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

.pd-lightbox__thumbs img.active {
  opacity: 1;
  border-color: var(--primary, #e63946);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.6);
}

.pd-info {
  padding-top: 20px;
}

.pd-info>* {
  opacity: 0;
  transform: translateY(18px);
  animation: pdInfoRise .65s var(--ease) forwards;
}

.pd-info>*:nth-child(1) {
  animation-delay: .05s;
}

.pd-info>*:nth-child(2) {
  animation-delay: .12s;
}

.pd-info>*:nth-child(3) {
  animation-delay: .19s;
}

.pd-info>*:nth-child(4) {
  animation-delay: .26s;
}

.pd-info>*:nth-child(5) {
  animation-delay: .33s;
}

.pd-info>*:nth-child(6) {
  animation-delay: .40s;
}

.pd-info>*:nth-child(7) {
  animation-delay: .47s;
}

.pd-info>*:nth-child(8) {
  animation-delay: .54s;
}

.pd-info>*:nth-child(9) {
  animation-delay: .61s;
}

.pd-info>*:nth-child(10) {
  animation-delay: .68s;
}

@keyframes pdInfoRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pd-cart-flyer {
  animation: pdFlyerSpawn .25s ease;
}

@keyframes pdFlyerSpawn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.icon-btn {
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.icon-btn.cart-bump {
  position: relative;
}

.icon-btn.cart-bump::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 1;
  animation: pdCartRing .5s ease-out forwards;
  pointer-events: none;
}

@keyframes pdCartRing {
  from {
    transform: scale(0.6);
    opacity: .9;
  }

  to {
    transform: scale(1.6);
    opacity: 0;
  }
}

.icon-btn .badge {
  transition: transform .25s var(--ease);
}

.icon-btn.cart-bump .badge {
  animation: pdBadgePop .4s var(--ease);
}

@keyframes pdBadgePop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}


/* ============================================================
   PRODUCT DETAILS PAGE â€” PD GALLERY FIXES
   ============================================================ */

.pd-gallery {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 0px);
  /* ØªÙ… Ø¥Ø²Ø§Ù„Ø© transition Ù„Ù…Ù†Ø¹ Ø§Ù„Ø§Ù‡ØªØ²Ø§Ø² */
  /* transition: top 0.35s var(--ease); */
  will-change: transform;
  transform: translateZ(0);
}

/* Ø¹Ù†Ø¯ Ø§Ù†Ù‡ÙŠØ§Ø± Ø§Ù„Ù€ subnavØŒ Ù†Ø¶Ø¨Ø· top Ù…Ø¨Ø§Ø´Ø±Ø© */
body.subnav-collapsed .pd-gallery {
  top: calc(var(--header-h) + 0px);
}


/* ============================================================
   PD RELATED - IMPROVED SCROLLING
   ============================================================ */

.pd-related-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.pd-related-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.pd-related-track::-webkit-scrollbar {
  display: none;
}


.cat-shop {
  padding: 64px 0 100px;
}

.cat-shop__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: start;
}


/* ==========================================================================
   FILTERS
   ========================================================================== */

.filter-fab {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.filter-fab-backdrop {
  display: none;
}

.cat-filters {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 24px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.cat-filters__head {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cat-filters__head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.cat-filters__close {
  font-size: 24px;
  line-height: 1;
  color: var(--steel);
}

.filter-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.filter-group:first-child {
  padding-top: 0;
}

.filter-group:last-of-type {
  border-bottom: none;
}

.cat-filters .filter-group {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.cat-filters.is-inview .filter-group {
  opacity: 1;
  transform: translateY(0);
}

.cat-filters.is-inview .filter-group:nth-child(2) {
  transition-delay: .08s;
}

.cat-filters.is-inview .filter-group:nth-child(3) {
  transition-delay: .14s;
}

.cat-filters.is-inview .filter-group:nth-child(4) {
  transition-delay: .2s;
}

.cat-filters.is-inview .filter-group:nth-child(5) {
  transition-delay: .26s;
}

.cat-filters.is-inview .filter-group:nth-child(6) {
  transition-delay: .32s;
}

.cat-filters.is-inview .filter-group:nth-child(7) {
  transition-delay: .38s;
}

@keyframes filterCheckPop {
  0% {
    transform: scale(0.8);
  }

  60% {
    transform: scale(1.18);
  }

  100% {
    transform: scale(1);
  }
}

.filter-check input:checked {
  animation: filterCheckPop .3s var(--ease);
}

.filter-group h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}

.filter-price input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.filter-price__value {
  font-size: 13px;
  color: var(--steel);
  margin-top: 8px;
}

.filter-price__value span {
  color: var(--ink);
  font-weight: 700;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
  cursor: pointer;
}

.filter-check input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-check span {
  flex: 1;
}

.filter-check em {
  font-style: normal;
  font-size: 12px;
  color: var(--steel-light);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  min-width: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  transition: all .25s var(--ease);
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-filters-apply {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 22px;
  padding: 13px 20px;
  font-size: 13px;
}

.filter-reset {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--steel-light);
  text-decoration: underline;
}

.filter-reset:hover {
  color: var(--primary);
}


/* ==========================================================================
   RESULTS
   ========================================================================== */

.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.cat-toolbar__count {
  font-size: 14px;
  color: var(--steel);
}

.cat-toolbar__count strong.pulse,
.cat-hero__stat strong.pulse {
  display: inline-block;
  animation: countPulse .4s var(--ease);
}

.cat-toolbar__count strong {
  color: var(--ink);
}

.cat-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-toolbar__sort label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--steel-light);
}

.cat-toolbar__sort select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-2);
  cursor: pointer;
}

.cat-toolbar__sort select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cat-grid .product-card__media {
  aspect-ratio: 4/3;
  background: #fdfdfd;
}

.cat-empty {
  display: block;
  text-align: center;
  padding: 60px 20px;
  color: var(--steel);
  font-size: 15px;
}


/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 52px;
}

.pagination__arrow,
.pagination__num {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--steel);
  transition: all .25s var(--ease);
}

.pagination__arrow:hover:not(:disabled),
.pagination__num:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination__arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.pagination__num.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}


/* ==========================================================================
   CATEGORY CTA
   ========================================================================== */

.cat-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 45%, #6f1215 100%);
  padding: 76px 0 0;
}

.cat-cta::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.14), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.cat-cta__motif-wrap {
  position: absolute;
  top: 46%;
  right: -70px;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.cat-cta__motif {
  width: 100%;
  height: 100%;
  animation: motifSpin 50s linear infinite;
}

.cat-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.cat-cta__content {
  max-width: 560px;
}

.cat-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.cat-cta__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: ctaPulseDot 1.8s ease-in-out infinite;
}

@keyframes ctaPulseDot {

  0%,
  100% {
    opacity: .5;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
}

.cat-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin-top: 10px;
}

.cat-cta .section-eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

.cat-cta__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 420px;
}

.cat-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cat-cta__btn {
  opacity: 1;
  transform: none;
}

.cat-cta .btn-main--light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.cat-cta .btn-main--light:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.cat-cta__btn-arrow {
  transition: transform .35s var(--ease);
}

.cat-cta .btn-main--light:hover .cat-cta__btn-arrow {
  transform: translateX(5px);
}

.cat-cta .btn-whatsapp {
  transition: transform .35s var(--ease), background .3s var(--ease);
}

.cat-cta .btn-whatsapp:hover {
  background: var(--ink);
  transform: translateY(-3px);
}

/* ---- Bottom marquee ribbon ---- */
.cat-cta__marquee {
  position: relative;
  z-index: 1;
  height: 42px;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cat-cta__marquee-track {
  display: flex;
  width: max-content;
}

.cat-cta__marquee-set {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: chainScroll 24s linear infinite;
}

.cat-cta__marquee-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 0 20px;
}

.cat-cta__marquee-dot {
  color: var(--primary-light);
  font-size: 13px;
}


/* ==========================================================================
   CATEGORY RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .cat-shop__inner {
    grid-template-columns: 1fr;
  }

  .filter-fab {
    display: flex;
    position: sticky;
    top: var(--header-h);
    z-index: 370;
    box-shadow: 0 10px 22px rgba(13, 13, 13, 0.16);
  }

  .cat-toolbar {
    position: sticky;
    top: calc(var(--header-h) + 46px + 14px);
    z-index: 360;
    background: var(--paper);
    margin: 0 0 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .cat-filters {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    border-radius: 0;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
  }

  .cat-filters.is-open {
    transform: translateX(0);
  }

  .cat-filters__head {
    display: flex;
  }

  .filter-fab-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease);
  }

  .filter-fab-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 640px) {
  .cat-hero {
    padding-bottom: 40px;
  }

  .cat-hero__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .cat-hero__stats {
    gap: 26px;
  }

  .cat-shop__inner {
    padding: 0 20px;
  }

  .cat-hero__inner {
    padding: 0 20px;
  }

  .cat-cta__inner {
    padding: 0 20px 44px;
    text-align: left;
  }

  .cat-cta__motif-wrap {
    width: 220px;
    height: 220px;
    top: 30%;
    right: -90px;
    opacity: .7;
  }

  .cat-cta__marquee-item {
    font-size: 10px;
    padding: 0 14px;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .cat-toolbar {
    align-items: flex-start;
  }
}


/* ==========================================================================
   SCROLL REVEAL (category page)
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}

[data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Hand transition control back to the card's own hover transition
   once the reveal has finished, so hover/lift stays snappy. */
.product-card[data-reveal].is-inview {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .cat-hero .breadcrumb,
  .cat-hero .section-eyebrow,
  .cat-hero__desc,
  .cat-hero__stat,
  .cat-hero__title-line,
  .cat-hero__motif-wrap {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .cat-hero__motif {
    animation: none !important;
  }

  .cat-filters .filter-group {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .filter-check input:checked,
  .cat-toolbar__count strong.pulse,
  .cat-hero__stat strong.pulse {
    animation: none !important;
  }
}


/* ==========================================================================
   PAGE-SPECIFIC ADDITIONS (extracted from inline <style> blocks)
   ========================================================================== */

/* ============================================================
   PRODUCT-DETAILS PAGE — extracted from inline <style>
   ============================================================ */
  /* ============================================================
     RENT OPTION STYLES
     ============================================================ */
  .pd-rent-section {
    margin: 18px 0;
    border: 1.5px solid var(--primary);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
    overflow: hidden;
  }
  .pd-rent-section:hover {
    background: rgba(155, 28, 31, 0.03);
  }
  .pd-rent-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    background: rgba(155, 28, 31, 0.06);
    transition: background 0.3s var(--ease);
  }
  .pd-rent-head:hover {
    background: rgba(155, 28, 31, 0.10);
  }
  .pd-rent-head i {
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.3s var(--ease);
  }
  .pd-rent-head .chevron-icon {
    margin-left: auto;
    transition: transform 0.3s var(--ease);
    color: var(--steel);
  }
  .pd-rent-section.open .pd-rent-head .chevron-icon {
    transform: rotate(180deg);
  }
  .pd-rent-head h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    margin: 0;
  }
  .pd-rent-head .badge-rent {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    padding: 2px 12px;
    border-radius: 999px;
    margin-left: 0;
  }
  .pd-rent-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }
  .pd-rent-section.open .pd-rent-body {
    max-height: 800px;
    padding: 20px 20px 20px 20px;
    opacity: 1;
  }
  .pd-rent-body .rent-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--steel-light);
    margin-bottom: 3px;
  }
  .pd-rent-body .rent-field input,
  .pd-rent-body .rent-field select {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
    background: var(--paper);
    appearance: none;
    -webkit-appearance: none;
  }
  .pd-rent-body .rent-field input:focus,
  .pd-rent-body .rent-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(155, 28, 31, 0.08);
  }
  .pd-rent-body .rent-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b8e92' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }
  .pd-rent-body .rent-avail {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
  }
  .pd-rent-body .rent-avail .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2f8f4e;
  }
  .pd-rent-body .rent-avail .dot.low {
    background: #f59e0b;
  }
  .pd-rent-body .rent-avail .dot.out {
    background: #d32f2f;
  }
  .pd-rent-body .rent-avail span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }
  .pd-rent-body .rent-avail small {
    font-size: 11px;
    color: var(--steel-light);
  }

  /* Rent Price & Deposit Summary */
  .rent-summary {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: var(--paper);
    border-radius: 10px;
    border: 1px solid var(--line);
  }
  .rent-summary .rent-total {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
  }
  .rent-summary .rent-total small {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    color: var(--steel-light);
    margin-left: 4px;
  }
  .rent-summary .rent-deposit {
    font-size: 12px;
    color: var(--steel);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .rent-summary .rent-deposit i {
    color: var(--primary);
    font-size: 14px;
  }
  .rent-summary .rent-deposit strong {
    color: var(--ink);
  }
  .rent-summary .rent-breakdown {
    font-size: 11px;
    color: var(--steel-light);
    width: 100%;
    text-align: right;
    border-top: 1px dashed var(--line);
    padding-top: 6px;
    margin-top: 2px;
  }

  .pd-rent-btn {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(155, 28, 31, 0.25);
  }
  .pd-rent-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(155, 28, 31, 0.35);
  }
  .pd-rent-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  .pd-rent-btn i {
    font-size: 16px;
  }

  .pd-rent-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    padding: 0;
    max-height: 0;
    overflow: hidden;

    transition:
        max-height 0.4s ease,
        padding 0.3s ease,
        opacity 0.3s ease;

    opacity: 0;
}

.pd-rent-section.open .pd-rent-body {
    max-height: 800px;
    padding: 20px;
    opacity: 1;
}

  @media (max-width: 768px) {
    .pd-rent-body {
      grid-template-columns: 1fr;
    }
    .pd-rent-btn {
      width: 100%;
      justify-content: center;
    }
    .rent-summary {
      flex-direction: column;
      align-items: stretch;
      text-align: center;
    }
    .rent-summary .rent-breakdown {
      text-align: center;
    }
  }

  /* Color option - clean swatch (no rent indicator) */
  .pd-color-opt .swatch-wrap {
    position: relative;
    display: inline-block;
  }
  .pd-color-opt .swatch {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--line);
    transition: all 0.25s var(--ease);
    cursor: pointer;
    flex-shrink: 0;
  }
  .pd-color-opt.active .swatch {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(155, 28, 31, 0.15);
  }
  .pd-color-opt .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--steel);
  }
  .pd-color-opt.active .label {
    color: var(--ink);
  }
  .pd-section {
    padding-top: 0;
  }
  @media (max-width: 768px) {
    .pd-panel {
      padding: 0 5px;
    }
    .pd-panel-inner {
      padding: 5px;
    margin-top: 15px;
    }
  }


/* ============================================================
   PRODUCT-DETAILS-B2B PAGE — extracted from inline <style>
   ============================================================ */
      .pd-section {
    padding-top: 0;
  }
  


/* ============================================================
   ROAD-BIKES PAGE — extracted from inline <style>
   ============================================================ */
    .cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
/* تأكد من أن الكود ده موجود في ملف CSS */
@media (max-width: 900px) {
    .cat-filters {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(360px, 86vw);
        border-radius: 0;
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        overflow-y: auto;
        background: var(--paper-2); /* تأكد من وجود خلفية */
        padding: 20px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .cat-filters.is-open {
        transform: translateX(0);
    }

    .filter-fab-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(13, 13, 13, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s var(--ease);
    }

    .filter-fab-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* إخفاء الفلتر نهائياً لو مش مفتوح */
    .cat-filters:not(.is-open) {
        pointer-events: none;
        visibility: hidden;
        transition: visibility 0.4s, transform 0.4s var(--ease);
    }

    .cat-filters.is-open {
        pointer-events: all;
        visibility: visible;
    }
}

/* ==========================================================================
   ROAD-BIKES / CATEGORY CARDS — mobile Add to Cart + Compare
   Matches index.html card behaviour on touch devices
   ========================================================================== */

@media (max-width: 860px) {
  .cat-grid .product-card {
    grid-template-areas:
      "media"
      "body"
      "quick";
  }

  .cat-grid .product-card__wish,
  .cat-grid .product-card__compare {
    opacity: 1;
    transform: translateY(0);
  }

  .cat-grid .product-card__quick {
    grid-area: quick;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 10px 0 0;
    background: none;
  }

  .cat-grid .btn-quick {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
  }
}


/* ==========================================================================
   PRODUCT DETAILS PAGE — MOBILE FIX
   Restores the exact mobile layout that worked in the old inline version.
   (Appended only — does not modify any rules above.)
   ========================================================================== */

.pd-section {
  padding-top: 0;
}

@media (max-width: 768px) {
  .pd-section {
    padding: 10px;
  }

  .pd-grid {
    display: block;
  }

  .pd-gallery {
    position: relative;
    top: 0;
  }

  .pd-info {
    padding: 10px;
    padding-top: 20px;
    background: #fff;
    position: relative;
  }

  .pd-panel {
    padding: 0 5px;
  }

  .pd-panel-inner {
    padding: 5px;
    margin-top: 15px;
  }

  .pd-stage {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 60vh;
  }
}

@media (max-width: 480px) {
  .pd-section {
    padding: 10px;
  }

  .pd-grid {
    display: block;
  }

  .pd-gallery {
    position: relative;
    top: 0;
  }

  .pd-info {
    padding: 10px;
    padding-top: 20px;
    background: #fff;
    position: relative;
  }

  .pd-stage {
    aspect-ratio: 1 / 1;
    max-height: 55vh;
  }
}

html[dir="rtl"] .pd-section {
  padding: 0px 0px 50px 40px;
}

html[dir="rtl"] .pd-stage__tag{
  right: 16px;
  left: auto;
}

html[dir="rtl"] .pd-thumbrail {
  right: 16px;
  left: auto;
}

@media (max-width: 480px) {
    html[dir="rtl"] .pd-section {
        padding: 10px;
    }
}

/* ==========================================================================
   ACCESSIBILITY 100% + PERFORMANCE FIXES
   ========================================================================== */

/* Screen-reader only helper */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   COLOR CONTRAST FIXES (WCAG AAA where possible)
   ========================================================================== */

/* Breadcrumb */
.pd-breadcrumb {
  color: #4a4d52;
}
.pd-breadcrumb a {
  color: #3a3d42;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s var(--ease);
}
.pd-breadcrumb a:hover,
.pd-breadcrumb a:focus-visible {
  color: var(--primary);
}
.pd-breadcrumb span.current {
  color: var(--ink);
  font-weight: 700;
}

/* Price strikethrough */
.pd-price .was {
  color: #4a4d52;
}

/* Product category */
.product-card__cat {
  color: #4a4d52;
}

/* Review score "of" */
.rev-score .of {
  color: #4a4d52;
}

/* Review date */
.rev-item-date {
  color: #4a4d52;
}

/* Review placeholder */
.rev-form input::placeholder,
.rev-form textarea::placeholder {
  color: #4a4d52;
  opacity: 1;
}

/* Rent badges */
.pd-bulk-tag {
  background: #7a1518;
  color: #ffffff;
}
.badge-rent {
  background: #7a1518;
  color: #ffffff;
}

/* Stock low */
.pd-stock.is-low {
  color: #7a1518;
}

/* ==========================================================================
   FOCUS VISIBLE — clear keyboard focus
   ========================================================================== */

.pd-thumb:focus-visible,
.pd-size-btn:focus-visible,
.pd-color-opt:focus-visible,
.pd-qty-btn:focus-visible,
.pd-add-btn:focus-visible,
.pd-fav-btn:focus-visible,
.pd-compare-btn:focus-visible,
.pd-rent-head:focus-visible,
.pd-rent-btn:focus-visible,
.pd-acc-head:focus-visible,
.pd-tabbtn:focus-visible,
.pd-bulk-toggle:focus-visible,
.pd-bulk-add:focus-visible,
.rev-submit:focus-visible,
.carousel-arrow:focus-visible,
.swatch:focus-visible,
.size-cube:focus-visible,
.btn-quick:focus-visible,
.product-card__wish:focus-visible,
.product-card__compare:focus-visible,
.contact-action .item:focus-visible,
.icon-btn:focus-visible,
.pd-stage:focus-visible,
.pd-rating:focus-visible,
.pd-thumb-arrow:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.pd-stage:focus-visible {
  outline-offset: -4px;
}

/* ==========================================================================
   RENT SECTION — button reset
   ========================================================================== */

.pd-stage[role="button"] { cursor: zoom-in; }
.pd-thumb[role="button"],
.pd-color-opt[role="button"],
.pd-rating[role="button"] { cursor: pointer; }

button.pd-rent-head {
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: none;
  background: rgba(155, 28, 31, 0.06);
  transition: background .3s var(--ease);
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}
button.pd-rent-head:hover {
  background: rgba(155, 28, 31, 0.10);
}
.pd-rent-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}
.pd-rent-head i:first-child {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.pd-rent-head .chevron-icon {
  margin-left: auto;
  transition: transform .3s var(--ease);
  color: var(--steel);
  flex-shrink: 0;
}
.pd-rent-section.open .pd-rent-head .chevron-icon {
  transform: rotate(180deg);
}

/* Accordion aria-expanded */
.pd-acc-head[aria-expanded="true"] i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ==========================================================================
   MOBILE PERFORMANCE — disable heavy animations below 900px
   ========================================================================== */

@media (max-width: 900px) {
  /* Disable entrance animations */
  .pd-info > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  
  /* Disable pulse animations on mobile */
  .reserve-btn-premium,
  .reserve-btn-premium::before {
    animation: none !important;
  }
  
  /* Disable chainbar animation transitions */
  .chainbar__set {
    animation-duration: 60s !important;
  }
  
  /* Reduce card hover transitions */
  .product-card {
    transition: border-color .2s var(--ease) !important;
  }
  .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Disable slide image scale animations */
  .slide.active .slide__image {
    transform: none !important;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .pd-stage__img,
  .pd-thumb,
  .pd-info > * {
    transition: none !important;
    animation: none !important;
  }
  
  .pd-info > * {
    opacity: 1 !important;
    transform: none !important;
  }
}