/* =========================================================
   X-TREME SMILE — PRODUCT PAGE
   Dedicated stylesheet for product pages only
   Requires xs-product-* classes in product_layout1.tpl
   ========================================================= */

body#product .xs-product-page {
  --xs-pink: #ff0077;
  --xs-pink-hover: #e6006b;
  --xs-dark: #1e2b2f;
  --xs-text: #3d3d3d;
  --xs-muted: #6f7375;
  --xs-border: #eeeeee;
  --xs-soft: #fff4f9;

  margin-top: 8px;
}

/* =========================================================
   GALLERY
   ========================================================= */

body#product .xs-product-gallery {
  padding-right: 34px;
}

body#product .xs-product-gallery .page-content {
  margin: 0;
}

body#product .xs-product-gallery img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   PRODUCT SUMMARY
   ========================================================= */

body#product .xs-product-summary {
  padding-left: 34px;
  color: var(--xs-text);
}

/* Product title */
body#product .xs-product-title {
  margin: 0 0 12px;
  padding: 0;
  color: var(--xs-dark);
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-transform: none;
}

body#product .xs-product-title::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 0 14px;
  background: var(--xs-pink);
  border-radius: 3px;
}

/* Reviews */
body#product .xs-product-reviews {
  margin: 0 0 22px;
  min-height: 20px;
}

body#product .xs-product-reviews a {
  color: var(--xs-text);
}

body#product .xs-product-reviews a:hover {
  color: var(--xs-pink);
}

/* Short description */
body#product .xs-product-short-description {
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--xs-border);
  color: #666666;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

body#product .xs-product-short-description p {
  margin: 0 0 10px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

body#product .xs-product-short-description p:last-child {
  margin-bottom: 0;
}

body#product .xs-product-short-description strong {
  color: var(--xs-text);
  font-weight: 600;
}

/* =========================================================
   PRICE
   ========================================================= */

body#product .xs-product-price {
  margin: 0 0 20px;
}

body#product .xs-product-price .current-price,
body#product .xs-product-price .current-price .price,
body#product .xs-product-price .product-price,
body#product .xs-product-price .price {
  color: var(--xs-dark);
}

body#product .xs-product-price .current-price,
body#product .xs-product-price .current-price .price {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

body#product .xs-product-price .tax-shipping-delivery-label {
  margin-top: 3px;
  color: var(--xs-muted);
  font-size: 13px;
  font-weight: 400;
}

/* =========================================================
   PRODUCT ACTIONS / VARIANTS
   ========================================================= */

body#product .xs-product-actions {
  margin-top: 16px;
}

body#product .xs-product-actions .product-variants {
  margin-bottom: 20px;
}

body#product .xs-product-actions .product-variants-item {
  margin-bottom: 16px;
}

body#product .xs-product-actions .product-variants-item > span,
body#product .xs-product-actions .product-variants-item label {
  color: var(--xs-dark);
  font-weight: 600;
}

/* =========================================================
   ADD TO CART
   ========================================================= */

body#product .xs-product-actions .product-add-to-cart .add-to-cart,
body#product .xs-product-actions .product-add-to-cart .btn-primary,
body#product .xs-product-actions button.add-to-cart {
  min-height: 48px;
  background: var(--xs-pink);
  border-color: var(--xs-pink);
  border-radius: 6px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body#product .xs-product-actions .product-add-to-cart .add-to-cart:hover,
body#product .xs-product-actions .product-add-to-cart .btn-primary:hover,
body#product .xs-product-actions button.add-to-cart:hover,
body#product .xs-product-actions .product-add-to-cart .add-to-cart:focus,
body#product .xs-product-actions .product-add-to-cart .btn-primary:focus,
body#product .xs-product-actions button.add-to-cart:focus {
  background: var(--xs-pink-hover);
  border-color: var(--xs-pink-hover);
  color: #ffffff;
}

body#product .xs-product-actions .product-add-to-cart .add-to-cart:active,
body#product .xs-product-actions button.add-to-cart:active {
  transform: translateY(1px);
}

/* Clearly disabled / unavailable */
body#product .xs-product-actions .product-add-to-cart .add-to-cart:disabled,
body#product .xs-product-actions .product-add-to-cart .add-to-cart.disabled,
body#product .xs-product-actions button.add-to-cart:disabled {
  background: #d9d9d9;
  border-color: #d9d9d9;
  color: #777777;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   QUANTITY / SECONDARY ACTIONS
   ========================================================= */

body#product .xs-product-actions .qty input,
body#product .xs-product-actions .bootstrap-touchspin input {
  min-height: 48px;
  border-color: var(--xs-border);
}

body#product .xs-product-actions .bootstrap-touchspin .btn {
  border-color: var(--xs-border);
}

body#product .xs-product-actions .wishlist-button-add,
body#product .xs-product-actions .compare-button {
  border-color: var(--xs-border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--xs-dark);
}

body#product .xs-product-actions .wishlist-button-add:hover,
body#product .xs-product-actions .compare-button:hover {
  border-color: var(--xs-pink);
  color: var(--xs-pink);
}

/* =========================================================
   REASSURANCE / MODULE CONTENT
   ========================================================= */

body#product .xs-product-reassurance {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--xs-border);
}

body#product .xs-product-information .card,
body#product .xs-product-information .alert {
  border-color: var(--xs-border);
  border-radius: 8px;
  box-shadow: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
  body#product .xs-product-gallery {
    padding-right: 15px;
  }

  body#product .xs-product-summary {
    padding-left: 15px;
  }

  body#product .xs-product-title {
    font-size: 27px;
  }
}

@media (max-width: 767px) {
  body#product .xs-product-page {
    margin-top: 0;
  }

  body#product .xs-product-gallery {
    margin-bottom: 26px;
    padding-right: 15px;
    padding-left: 15px;
  }

  body#product .xs-product-summary {
    padding-right: 15px;
    padding-left: 15px;
  }

  body#product .xs-product-title {
    font-size: 25px;
    line-height: 1.22;
  }

  body#product .xs-product-short-description {
    font-size: 15.5px;
    line-height: 1.65;
  }

  body#product .xs-product-price .current-price,
  body#product .xs-product-price .current-price .price {
    font-size: 24px;
  }
}

/* =========================================================
   PRODUCT TABS / LONG DESCRIPTION
   ========================================================= */

body#product .xs-product-content {
  margin-top: 48px;
  padding-top: 0;
}

/* Main tab container */
body#product .xs-product-tabs {
  width: 100%;
  margin: 0;
  color: var(--xs-text);
}

/* Horizontal tab navigation */
body#product .xs-product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--xs-border);
}

body#product .xs-product-tabs__nav .nav-item {
  margin: 0;
  padding: 0;
}

body#product .xs-product-tabs__nav .nav-link {
  position: relative;
  display: block;
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #777777;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: none;
  transition: color .2s ease;
}

body#product .xs-product-tabs__nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
  border-radius: 3px 3px 0 0;
  transition: background-color .2s ease;
}

body#product .xs-product-tabs__nav .nav-link:hover {
  color: var(--xs-pink);
}

body#product .xs-product-tabs__nav .nav-link.active,
body#product .xs-product-tabs__nav .nav-item.show .nav-link {
  color: var(--xs-dark);
  background: transparent;
}

body#product .xs-product-tabs__nav .nav-link.active::after,
body#product .xs-product-tabs__nav .nav-item.show .nav-link::after {
  background: var(--xs-pink);
}

/* Tab content */
body#product .xs-product-tabs__content {
  padding: 38px 0 36px;
}

body#product .xs-product-tabs__pane {
  color: var(--xs-text);
}

/* =========================================================
   LONG PRODUCT DESCRIPTION
   ========================================================= */

body#product .xs-product-description-long {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--xs-text);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

body#product .xs-product-description-long > :first-child {
  margin-top: 0;
}

body#product .xs-product-description-long > :last-child {
  margin-bottom: 0;
}

/* Paragraphs */
body#product .xs-product-description-long p {
  margin: 0 0 18px;
  color: #555b5d;
  font-size: inherit;
  line-height: inherit;
}

/* H2 — dark with pink accent line */
body#product .xs-product-description-long h2 {
  margin: 46px 0 18px;
  padding: 0;
  color: var(--xs-dark);
  font-size: 27px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.25px;
  text-transform: none;
}

body#product .xs-product-description-long h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 0 13px;
  background: var(--xs-pink);
  border-radius: 3px;
}

body#product .xs-product-description-long h2:first-child {
  margin-top: 0;
}

/* H3 */
body#product .xs-product-description-long h3 {
  margin: 32px 0 12px;
  padding: 0;
  color: var(--xs-dark);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: none;
}

/* H4 */
body#product .xs-product-description-long h4 {
  margin: 26px 0 10px;
  color: var(--xs-dark);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: none;
}

/* Links */
body#product .xs-product-description-long a {
  color: var(--xs-pink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body#product .xs-product-description-long a:hover {
  color: var(--xs-pink-hover);
}

/* Strong text */
body#product .xs-product-description-long strong,
body#product .xs-product-description-long b {
  color: var(--xs-dark);
  font-weight: 700;
}

/* Lists — X-treme Smile pink checks */
body#product .xs-product-description-long ul {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

body#product .xs-product-description-long ul li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
  color: #555b5d;
  line-height: 1.65;
}

body#product .xs-product-description-long ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--xs-pink);
  font-weight: 800;
}

body#product .xs-product-description-long ul li:last-child {
  margin-bottom: 0;
}

/* Numbered lists */
body#product .xs-product-description-long ol {
  margin: 20px 0 24px;
  padding-left: 24px;
}

body#product .xs-product-description-long ol li {
  margin-bottom: 10px;
  padding-left: 4px;
  color: #555b5d;
  line-height: 1.65;
}

body#product .xs-product-description-long ol li::marker {
  color: var(--xs-pink);
  font-weight: 700;
}

/* Images */
body#product .xs-product-description-long img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
}

/* Video / iframe */
body#product .xs-product-description-long iframe,
body#product .xs-product-description-long video {
  max-width: 100%;
  margin: 28px auto;
  border: 0;
  border-radius: 12px;
}

/* Horizontal rule */
body#product .xs-product-description-long hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--xs-border);
}

/* =========================================================
   OPTIONAL CONTENT BLOCKS
   Can be used in product HTML without inline CSS
   ========================================================= */

body#product .xs-product-description-long .xs-product-note,
body#product .xs-product-description-long .xs-product-info {
  margin: 28px 0;
  padding: 22px 24px;
  background: #F7F7F7;
  border-left: 4px solid var(--xs-pink);
  border-radius: 10px;
}

body#product .xs-product-description-long .xs-product-note > :last-child,
body#product .xs-product-description-long .xs-product-info > :last-child {
  margin-bottom: 0;
}

body#product .xs-product-description-long .xs-product-box {
  margin: 28px 0;
  padding: 24px;
  background: #f7f7f7;
  border: 1px solid var(--xs-border);
  border-radius: 12px;
}

body#product .xs-product-description-long .xs-product-box > :last-child {
  margin-bottom: 0;
}

/* =========================================================
   TABLES
   ========================================================= */

body#product .xs-product-description-long table {
  width: 100%;
  margin: 28px 0;
  border: 1px solid var(--xs-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

body#product .xs-product-description-long th,
body#product .xs-product-description-long td {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--xs-border);
  vertical-align: top;
  text-align: left;
  line-height: 1.5;
}

body#product .xs-product-description-long th {
  background: #F7F7F7;
  color: var(--xs-dark);
  font-weight: 700;
}

body#product .xs-product-description-long tr:last-child th,
body#product .xs-product-description-long tr:last-child td {
  border-bottom: 0;
}

body#product .xs-product-description-long td + td,
body#product .xs-product-description-long th + th,
body#product .xs-product-description-long th + td {
  border-left: 1px solid var(--xs-border);
}

/* =========================================================
   VERTICAL TAB MODE
   ========================================================= */

body#product .xs-product-tabs.tabs-left .xs-product-tabs__nav {
  gap: 0;
  border-bottom: 0;
}

body#product .xs-product-tabs.tabs-left .xs-product-tabs__nav .nav-link {
  padding: 12px 18px;
}

body#product .xs-product-tabs.tabs-left .xs-product-tabs__nav .nav-link::after {
  display: none;
}

/* =========================================================
   ACCORDION MODE
   ========================================================= */

body#product .xs-product-accordion {
  margin-top: 0;
}

body#product .xs-product-accordion__card {
  margin: 0 0 12px;
  border: 1px solid var(--xs-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
}

body#product .xs-product-accordion__header {
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 0;
}

body#product .xs-product-accordion__header a {
  display: block;
  padding: 17px 20px;
  color: var(--xs-dark);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: none;
}

body#product .xs-product-accordion__header a:hover {
  color: var(--xs-pink);
}

body#product .xs-product-accordion__body {
  padding: 24px 20px;
  border-top: 1px solid var(--xs-border);
  background: #ffffff;
}

/* =========================================================
   PRODUCT CONTENT — RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
  body#product .xs-product-content {
    margin-top: 38px;
  }

  body#product .xs-product-tabs__nav {
    gap: 22px;
  }

  body#product .xs-product-description-long {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  body#product .xs-product-content {
    margin-top: 32px;
  }

  body#product .xs-product-tabs__nav {
    gap: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  body#product .xs-product-tabs__nav .nav-item {
    flex: 0 0 auto;
  }

  body#product .xs-product-tabs__nav .nav-link {
    padding-bottom: 13px;
    white-space: nowrap;
    font-size: 14px;
  }

  body#product .xs-product-tabs__content {
    padding: 28px 0 30px;
  }

  body#product .xs-product-description-long {
    font-size: 15.5px;
    line-height: 1.7;
  }

  body#product .xs-product-description-long h2 {
    margin-top: 38px;
    font-size: 24px;
  }

  body#product .xs-product-description-long h3 {
    margin-top: 28px;
    font-size: 20px;
  }

  body#product .xs-product-description-long table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  body#product .xs-product-description-long .xs-product-note,
  body#product .xs-product-description-long .xs-product-info,
  body#product .xs-product-description-long .xs-product-box {
    padding: 18px;
  }
}

/* =========================================================
   PRODUCT DETAILS / SPECIFICATIONS
   ========================================================= */

body#product .xs-product-details {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

body#product .xs-product-specs {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--xs-border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

body#product .xs-product-specs__row {
  display: grid;
  grid-template-columns: minmax(190px, 30%) 1fr;
  margin: 0;
  border-bottom: 1px solid var(--xs-border);
}

body#product .xs-product-specs__row:last-child {
  border-bottom: 0;
}

body#product .xs-product-specs__name,
body#product .xs-product-specs__value {
  margin: 0;
  padding: 14px 18px;
  line-height: 1.5;
}

body#product .xs-product-specs__name {
  background: #f7f7f7;
  color: var(--xs-dark);
  font-weight: 700;
}

body#product .xs-product-specs__value {
  background: #ffffff;
  color: #555b5d;
  font-weight: 400;
}

body#product .xs-product-specs__value a {
  color: var(--xs-dark);
  font-weight: 600;
  text-decoration: none;
}

body#product .xs-product-specs__value a:hover {
  color: var(--xs-pink);
}

body#product .xs-product-details__out-of-stock:empty {
  display: none;
}

body#product .xs-product-details__out-of-stock {
  margin-top: 18px;
}

/* Product-details tab does not need the old Ecolife data-sheet styling */
body#product .xs-product-tabs__pane--details .product-features,
body#product .xs-product-tabs__pane--details .data-sheet,
body#product .xs-product-tabs__pane--details .product-manufacturer,
body#product .xs-product-tabs__pane--details .manufacturer-logo {
  margin: 0;
}

/* =========================================================
   PRODUCT DETAILS — RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {
  body#product .xs-product-specs__row {
    grid-template-columns: 1fr;
  }

  body#product .xs-product-specs__name {
    padding: 12px 16px 5px;
    background: #f7f7f7;
  }

  body#product .xs-product-specs__value {
    padding: 5px 16px 12px;
    background: #f7f7f7;
  }

  body#product .xs-product-specs__row + .xs-product-specs__row {
    border-top: 0;
  }
}

/* =========================================================
   PRODUCT TRUST / REASSURANCE
   Uses the original blockreassurance module markup directly.
   No template override required.
   ========================================================= */

body#product .xs-product-reassurance {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--xs-border);
}

body#product #block-reassurance {
  width: 100%;
  margin: 0;
  padding: 0;
}

body#product #block-reassurance > ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--xs-border);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

body#product #block-reassurance > ul > li {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--xs-border);
}

body#product #block-reassurance > ul > li:last-child {
  border-bottom: 0;
}

body#product #block-reassurance .block-reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  margin: 0 !important;
  padding: 13px 16px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

body#product #block-reassurance .block-reassurance-item img {
  flex: 0 0 auto;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  object-fit: contain;
}

body#product #block-reassurance .block-reassurance-item span,
body#product #block-reassurance .block-reassurance-item .h6 {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--xs-dark) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

/* Brand-color simple monochrome reassurance icons */
body#product #block-reassurance .block-reassurance-item img {
  filter:
    brightness(0)
    saturate(100%)
    invert(15%)
    sepia(100%)
    saturate(6815%)
    hue-rotate(326deg)
    brightness(101%)
    contrast(106%);
}

@media (max-width: 767px) {
  body#product .xs-product-reassurance {
    margin-top: 22px;
    padding-top: 18px;
  }

  body#product #block-reassurance .block-reassurance-item {
    min-height: 54px;
    padding: 12px 14px !important;
  }

  body#product #block-reassurance .block-reassurance-item img {
    width: 25px !important;
    height: 25px !important;
  }

  body#product #block-reassurance .block-reassurance-item span,
  body#product #block-reassurance .block-reassurance-item .h6 {
    font-size: 13.5px !important;
  }
}

/* =========================================================
   RELATED PRODUCTS — HEADING ONLY
   Safe: does not change product cards or login/price area.
   ========================================================= */

body#product .products-accessories {
  margin-top: 48px;
}

/* Section heading */
body#product .products-accessories .pos_title {
  position: relative;
  margin: 0 0 22px;
  padding: 0;
}

body#product .products-accessories .pos_title::before {
  content: "";
  display: block !important;
  width: 42px;
  height: 3px;
  margin: 0 0 13px;
  border-radius: 3px;
  background: var(--xs-pink) !important;
}

body#product .products-accessories .pos_title h2 {
  position: relative;
  margin: 0;
  padding: 0;
  color: var(--xs-dark);
  font-size: 27px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-transform: none !important;
}


@media (max-width: 991px) {
  body#product .products-accessories {
    margin-top: 40px;
  }

  body#product .products-accessories .pos_title h2 {
    font-size: 25px;
  }
}

@media (max-width: 767px) {
  body#product .products-accessories {
    margin-top: 34px;
  }

  body#product .products-accessories .pos_title {
    margin-bottom: 18px;
  }

  body#product .products-accessories .pos_title::before {
    width: 38px;
    margin-bottom: 11px;
  }

  body#product .products-accessories .pos_title h2 {
    font-size: 22px;
  }

/* =========================================================
   PRIMARY ADD TO CART BUTTON
   Dedicated class added in product-add-to-cart.tpl
   Default: X-treme Smile dark
   Hover/focus: X-treme Smile pink
   Buy Now remains unchanged.
   ========================================================= */

body#product .xs-product-actions button.xs-product-cart-button,
body#product .xs-product-actions .xs-product-cart-button {
  background: #1E2B2F !important;
  border-color: #1E2B2F !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

body#product .xs-product-actions button.xs-product-cart-button:hover,
body#product .xs-product-actions button.xs-product-cart-button:focus,
body#product .xs-product-actions .xs-product-cart-button:hover,
body#product .xs-product-actions .xs-product-cart-button:focus {
  background: #FF0077 !important;
  border-color: #FF0077 !important;
  color: #FFFFFF !important;
}

body#product .xs-product-actions button.xs-product-cart-button:active,
body#product .xs-product-actions .xs-product-cart-button:active {
  background: #E6006B !important;
  border-color: #E6006B !important;
  color: #FFFFFF !important;
}

body#product .xs-product-actions button.xs-product-cart-button:disabled,
body#product .xs-product-actions button.xs-product-cart-button.disabled,
body#product .xs-product-actions .xs-product-cart-button:disabled,
body#product .xs-product-actions .xs-product-cart-button.disabled {
  background: #D9D9D9 !important;
  border-color: #D9D9D9 !important;
  color: #777777 !important;
  opacity: 1 !important;
}

/* =========================================================
   PRODUCT DOWNLOADS
   Same approach as Description + Specifications:
   dedicated xs-product-* markup, no fallback selectors.
   ========================================================= */

body#product .xs-product-downloads {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

body#product .xs-product-downloads__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
}

body#product .xs-product-downloads__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: 100%;
  margin: 0 !important;
  padding: 18px 20px !important;

  background: #f7f7f7;
  border: 1px solid var(--xs-border);
  border-left: 4px solid var(--xs-pink);
  border-radius: 10px;
  box-shadow: none;
}

body#product .xs-product-downloads__content {
  flex: 1 1 auto;
  min-width: 0;
}

body#product .xs-product-downloads__title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--xs-dark);
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

body#product .xs-product-downloads__title a {
  color: var(--xs-dark) !important;
  text-decoration: none !important;
}

body#product .xs-product-downloads__title a:hover,
body#product .xs-product-downloads__title a:focus {
  color: var(--xs-pink) !important;
}

body#product .xs-product-downloads__description {
  margin: 6px 0 0 !important;
  color: #555b5d !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

body#product .xs-product-downloads__button {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 155px;
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 16px !important;

  background: var(--xs-dark) !important;
  border: 1px solid var(--xs-dark) !important;
  border-radius: 6px !important;

  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;

  box-shadow: none !important;
  transition: background-color .2s ease, border-color .2s ease;
}

body#product .xs-product-downloads__button:hover,
body#product .xs-product-downloads__button:focus {
  background: var(--xs-pink) !important;
  border-color: var(--xs-pink) !important;
  color: #ffffff !important;
}

/* Downloads in accordion use exactly the same component */
body#product .xs-product-accordion .xs-product-downloads {
  max-width: none;
}

@media (max-width: 991px) {
  body#product .xs-product-downloads__item {
    gap: 18px;
    padding: 16px 18px !important;
  }

  body#product .xs-product-downloads__button {
    min-width: 145px;
  }
}

@media (max-width: 767px) {
  body#product .xs-product-downloads__item {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px !important;
  }

  body#product .xs-product-downloads__title {
    font-size: 15px !important;
  }

  body#product .xs-product-downloads__description {
    font-size: 13.5px !important;
  }

  body#product .xs-product-downloads__button {
    width: 100%;
    min-width: 0;
  }
}

