/* single product page */
#primary {
  position: relative;
}

.product-section .content-container {
  padding: var(--xm) var(--tn);
}

.single-product #primary h2 {
  margin-block: var(--sm);
  padding-inline: var(--xs);
  line-height: 1.5;
  font-size: var(--t-md);
  border-right: var(--tn) solid var(--color-primary);
  padding-right: var(--tn);
}

.sec-title {
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  font-size: var(--t-xm);
  width: 100%;
  display: block;
  margin-block: var(--sm);
  line-height: 1.5;
  color: var(--color-dark-primary);
}

.single-product #primary h3 {
  margin-block: var(--sm);
  padding-inline: var(--xs);
  line-height: 1.5;
}

.single-product #primary h3:first-child {
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  font-size: var(--t-xm);
}

.single-product #primary h4 {
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  font-size: var(--t-md);
  color: var(--color-dark-primary);
  margin-block: var(--xs);
  padding-inline: var(--xs);
  line-height: 1.5;
}

.single-product #primary h5 {
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  font-size: var(--t-sm);
  color: var(--color-dark-primary);
  margin-block: var(--xs);
  padding-inline: var(--xs);
  line-height: 1.5;
}

.single-product #primary h6 {
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  font-size: var(--t-xs);
  color: var(--color-dark-primary);
  margin-block: var(--tn);
  padding-inline: var(--xs);
  line-height: 1.5;
}

.sec-title,
#product-comment .woocommerce-Reviews-title {
  border-right: var(--tn) solid var(--color-primary);
  padding-right: var(--tn);
}

.single-product #primary p {
  font-size: var(--t-sm);
  padding-inline: var(--xs);
  line-height: 2.5;
}

.single-product #primary hr {
  width: 100%;
  height: var(--tn);
  border-radius: var(--hg);
  border: none;
  background: var(--color-gray-third);
}

/* gallery quick access icons*/
.main-product-quick-access {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  color: var(--color-dark-royal);
  right: 2px;
  top: 2px;
  background: #fffc;
  padding: var(--tn);
  border-radius: 0 var(--sm) 0 var(--sm);
  backdrop-filter: blur(calc(var(--tn) / 2));
}

.main-product-quick-access li {
  cursor: pointer;
}

.main-product-quick-access li:hover {
  color: var(--color-secondary);
}

.main-product-quick-access li::before {
  font-size: var(--t-md);
}

/* product main section */
#product-main,
#product-tabs {
  width: 100%;
  display: block;
  position: relative;
  background: white;
}

#product-main .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: var(--xm);
  align-items: stretch;
  padding: var(--xm) var(--tn);
}

#product-main .container>div {
  box-sizing: border-box;
}

#product-main .container .product-gallery {
  max-width: 504px;
  position: relative;
}

.single-product .loop-off-badge {
    z-index: 3;
    font-variation-settings: "wght" var(--w-bld), "dots" 4;
    background: var(--color-primary-80);
    position: absolute;
    top: 0;
    left: 0;
    width: fit-content;
    text-align: center;
    border-radius: var(--xs) 0 var(--xs) 0;
    padding: calc(var(--xs) / 1.5) var(--tn) var(--tn) calc(var(--xs) / 1.5);
    line-height: 1;
    display: flex;
    align-items: center;
    backdrop-filter: blur(calc(var(--tn) / 2));
    font-size: var(--t-sm);
}

/*product details*/
.product-details {
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  width: 40%;
}

.main-product-tittle-sec {
  margin: 0 var(--tn);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--tn);
  border-right: var(--tn) solid var(--color-primary);
  padding-inline: var(--tn);
  text-align: right;
  font-size: var(--xs);
}

.main-product-tittle-sec h1 {
  margin: 0;
  display: block;
  font-size: var(--t-md);
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  line-height: 1.5;
}

.main-product-rates {
  display: flex;
  justify-content: flex-start;
  gap: var(--md);
  color: var(--color-gray-muted);
}

.main-product-rates .icon-rate::before {
  font-size: calc(var(--t-xs) + 100%);
  margin: auto auto auto var(--tn);
}

.main-product-tittle-sec b {
  margin-top: var(--xs);
}


.product-details ul {
  margin: 0 var(--tn);
  padding-inline: var(--xs);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  gap: var(--tn);
  color: var(--color-gray-muted);
  font-size: var(--t-sm);
}

.product-details li {
  background: var(--color-gray-secondary);
  padding: var(--tn);
  border-radius: var(--tn);
}

.product-details li[class^="icon-"]::before {
  padding: var(--tn);
  background: white;
  border-radius: var(--tn);
  margin-left: var(--tn);
  color: var(--color-gray-muted);
}

.product-details ul b {
  margin-left: var(--tn);
}

/*product main add to cart*/
.product-add-to-cart {
  position: relative;
  z-index: 0;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sm);
  padding-block: var(--sm);
}

.woocommerce div.product-add-to-cart form {
  width: 100%;
  margin-bottom: 0 !important;
}

.product-add-to-cart form>span {
  font-size: var(--t-sm);
  font-weight: bold;
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  display: block;
  margin-bottom: var(--xs);
}

#product-main .product-add-to-cart .variations {
  margin-bottom: var(--xs);
}

#product-main .variations tr:nth-child(2) {
  margin-top: var(--tn);
  display: block;
  border-top: 2px solid var(--color-gray-secondary);
  padding-top: var(--tn);
}

#product-main .product-add-to-cart .variations td {
  display: block;
}

.product-add-to-cart ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tn) var(--xs);
  align-items: center;
  justify-content: center;
  border-radius: var(--tn);
  padding: var(--tn);
}

.product-add-to-cart ul#pa_color {
  background: transparent;
}

.product-add-to-cart li {
  background-color: var(--color-gray-secondary-50);
  border-radius: var(--tn);
  border: 0px solid transparent;
  font-size: var(--t-xs);
  text-align: center;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-radius 0.4s ease, border-color 0.4s ease, border-style 0.4s ease;
  cursor: pointer;
  color: var(--color-dark-primary);
  min-width: 60px;
  height: auto;
  width: 100%;
  flex: 0 0 calc(33% - var(--xs));
  padding: calc(var(--tn)/2) 0;
}

.product-add-to-cart ul#pa_color li {
  height: 50px;
  width: 50px;
  padding: 0;
  min-width: auto;
  flex: 0 0 auto;
}

.product-add-to-cart li img {
  border-radius: var(--tn);
  height: 100%;
  border: 2px solid transparent;
}

.product-add-to-cart li.selected,
.product-add-to-cart li.selected-qw-var {
  border-radius: var(--xs);
  border: 2px solid var(--color-gray-muted-50);
  background: var(--color-primary);
  border-color: var(--color-secondary);
}

.product-add-to-cart ul#pa_color li.selected {
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
}

.product-add-to-cart li.selected img,
.product-add-to-cart li.selected-qw-var img {
  border-radius: 50%;
  transition: border-radius 0.4s ease;
  border-color: #fff;
}

#product-main .product-add-to-cart .reset_variations {
  position: absolute;
  top: 0;
  left: var(--xs);
  font-size: var(--t-tn);
}

.woocommerce-variation.single_variation,
div.product-type-simple .product-add-to-cart>p {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid var(--color-gray-secondary);
}

#product-main .product-add-to-cart .woocommerce-variation-description p {
  color: var(--color-dark-royal);
  font-size: var(--t-sm);
  margin-bottom: var(--xm);
}

.woocommerce-variation-add-to-cart,
div.product.product-type-simple form.cart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sm);
  margin-top: var(--xm);
}

div.product-type-simple .product-add-to-cart,
div.product.product-type-simple form.cart {
  margin: 0;
  justify-content: flex-start;
  text-align: center;
}

.woocommerce-variation-add-to-cart>div,
div.product.product-type-simple form.cart>div:first-child {
  display: flex;
  flex-direction: column;
  font-size: var(--t-md);
}

div.product-type-simple .product-add-to-cart>p {
  padding-bottom: var(--xm);
}

.quantity {
  width: 100%;
  max-width: 100px;
}

#product-main .quantity input {
  border-radius: var(--tn);
  width: 100%;
  text-align: center;
}

.woocommerce .product-add-to-cart del {
  font-size: var(--t-xs);
  color: var(--color-gray-muted) !important;
  line-height: var(--t-sm);
  text-align: center;
}

#product-main .product-add-to-cart .button,
#product-main .product-add-to-cart .added_to_cart,
#wishlist-action-btn,
#product-main #upsell-add-to-cart-btn {
  padding: var(--xs) var(--sm);
  border-radius: var(--tn);
  background: var(--color-dark-secondary);
  width: 100%;
  color: var(--color-gray-secondary);
  text-align: center;
  line-height: var(--t-sm);
  font-size: var(--t-sm);
}

#product-main .product-add-to-cart .added_to_cart {
  background: transparent;
  border: 1px solid var(--color-dark-primary);
  border-top: 0;
  color: var(--color-dark-primary);
  margin-top: calc((var(--sm)*-1) - var(--tn));
  border-radius: 0 0 var(--tn) var(--tn);
  padding-block: var(--xs) var(--tn);
}

#product-main #upsell-add-to-cart-btn {
  color: var(--color-dark-primary-80);
  background: var(--color-gy-1);
}

/*product main add to cart when out of stock*/
#primary .product-add-to-cart.product-out-of-stock .stock.out-of-stock {
  width: 100%;
  text-align: center;
  border-inline: var(--tn) solid var(--color-primary);
  color: var(--color-primary);
  padding: var(--tn);
  background: var(--color-dark-royal);
  font-size: var(--t-sm);
}

.whishlist-inner-sec {
  background: var(--color-gray-secondary);
  padding: var(--tn);
  border-radius: var(--tn);
}

#primary .whishlist-inner-sec>p {
  line-height: 2;
  margin-bottom: var(--tn);
  color: var(--color-dark-primary);
  font-size: var(--t-sm);
  text-align: justify;
}

#wishlist-action-btn {
  background: var(--color-primary);
  color: var(--color-dark-primary);
  padding: var(--tn);
  overflow: hidden;
}

#wishlist-action-btn.icon-close {
  background: var(--color-primary-80);
  animation: whishlist-on 0.4s ease forwards;
}

#wishlist-action-btn::before {
  margin-left: var(--tn);
}

#wishlist-action-btn:hover::before {
  margin-left: calc(var(--tn)/2);
}




/* product tabs */
#product-tabs {
  position: sticky;
  top: 84px;
  background: var(--color-primary);
  padding: var(--xs);
  box-sizing: border-box;
  z-index: 2;
  transition: top 0.4s ease;
}

body.notif-bar #product-tabs {
  top: calc(84px + var(--notif-h));
}

body.header-scroll-down #product-tabs {
  top: 0
}




#product-tabs .content-container {
  padding-block: var(--xs);
  border-radius: var(--xs);
  display: flex;
  justify-content: space-around;
  gap: var(--tn);
  align-items: center;
  background: white;
}

#product-tabs li {
  position: relative;
  cursor: pointer;
  transition: color 0.4s ease, left 0.4s ease-out, right 0.4s ease-out;
  transform: perspective(1px) translateZ(0);
}

#product-tabs li.product-active-tab {
  color: var(--color-primary);
}

#product-tabs li::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 100%;
  right: 100%;
  bottom: calc(var(--tn) * -1);
  background-color: var(--color-primary);
  height: 4px;
  transition: background-color 0.4s ease, left 0.4s ease-out, right 0.4s ease-out;
  border-radius: 10em;
}

#product-tabs li.product-active-tab::after {
  left: 0;
  right: 0;
}

#product-tabs li:hover {
  color: var(--color-primary);
}

/* product description */
#product-description h2,
#product-description h3,
#product-description h4,
#product-description h5,
#product-description h6 {
  color: var(--color-dark-primary);
}

#product-description h2 {
  font-size: var(--t-xm);
  margin-block: var(--sm);
  line-height: var(--t-xl);
  font-weight: var(--w-blk);
  font-variation-settings: "wght" var(--w-blk), "dots" 4;
}

#product-description h3,
#product-description h4,
#product-description h5,
#product-description h6 {
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  font-weight: var(--w-bld);
}

#product-description h3 {
  font-size: var(--t-md);
  margin-block: var(--xs);
  line-height: var(--t-lg);
}

#product-description h4 {
  font-size: var(--t-sm);
  margin-block: var(--xs);
  line-height: var(--t-xm);
}

#product-description h5 {
  font-size: var(--t-xs);
  margin-block: var(--tn);
  line-height: var(--t-md);
}

#product-description h6 {
  font-size: var(--t-tn);
  margin-block: var(--tn);
  line-height: var(--t-sm);
}


#product-description {
  color: var(--color-dark-royal);
  background: var(--color-gray-secondary);
}

#product-description li {
  list-style: disclosure-closed;
  font-size: var(--t-sm);
  padding-inline: var(--tn);
}

#product-description ul {
  padding-inline: var(--xs);
}

#product-description #primary li::marker {
  color: var(--color-gray-third);
}

/* product attributes */
#product-attributes {
  background: var(--color-dark-primary);
}

#product-attributes .sec-title {
  color: var(--color-gray-secondary);
}

#product-attributes table {
  width: 100%;
}

#product-attributes tr {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--tn);
  margin-bottom: var(--tn);
}

#product-attributes tr td:first-child {
  width: fit-content;
  color: var(--color-primary);
  font-size: 130%;
  padding: var(--tn);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
}

#product-attributes tr th {
  width: fit-content;
  color: white;
  min-width: 200px;
  text-align: right;
  align-self: center;
  padding-inline: var(--xs);
}

#product-attributes tr td:nth-of-type(2) {
  width: 100%;
  border-radius: var(--xs);
  padding: var(--tn) var(--xs);
  box-sizing: border-box;
  background-color: var(--color-dark-royal);
  color: var(--color-gray-third);
  display: flex;
  align-items: center;
  height: 100%;
}

/* product cross sell(accessory) */
#product-upsell {
  background: var(--color-primary);
}

#product-upsell .sec-title {
  border-right-color: var(--color-gray-secondary);
}

#product-upsell ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding-block: var(--md);
  gap: var(--xl);
}

#product-upsell li,
.product-compatibles li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--tn);
  flex: 1 1 0;
}

#product-upsell b,
.single-product #primary .product-compatibles li h3 {
  font-size: var(--t-sm);
  margin: 0;
  padding: 0;
}

.product-compatibles li a span {
  height: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-align: center;
}

#product-upsell img {
  max-width: 200px;
  border-radius: 50%;
  width: 100%;
  border: calc(var(--tn)/2) solid var(--color-secondary);
  position: relative;
  z-index: 0;
  background: white;
}

#product-upsell button {
  font-size: calc(var(--t-sm));
  padding: calc(var(--tn)/2);
  border-radius: var(--tn);
  background: var(--color-dark-primary);
  color: var(--color-gray-secondary);
  position: relative;
  bottom: calc(var(--tn) + var(--sm));
  z-index: 1;
  width: 140%;
  max-width: 140px;
}

/* product warning */
#product-warning {
  background: white;
}

/* product comments */
#product-comment {
  color: var(--color-dark-royal);
  background: var(--color-gray-secondary);
  overflow: hidden;
}

#product-comment #comments {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tn);
}

#product-comment #review_form_wrapper {
  width: 30%;
}

#product-comment #email-notes,
#product-comment #review_form_wrapper .required-field-message {
  display: none;
}

#product-comment #commentform {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: var(--md);
  align-items: flex-start;
}

#product-comment #review_form #respond #commentform p {
  padding: 0;
  margin: 0;
  width: 100%;
  color: var(--color-dark-royal);
  font-size: var(--t-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--tn);
}

#product-comment #rating,
#product-comment #comment,
#product-comment #author,
#product-comment #email {
  border: none;
  padding: var(--tn);
  width: 70%;
  max-width: 70%;
  min-width: 70%;
  background: var(--color-gray-third-50);
  border-radius: var(--tn);
  color: var(--color-gray-muted);
  cursor: pointer;
  text-align: center;
  height: var(--xm);
}

#product-comment #review_form #respond #comment {
  width: 70% !important;
  text-align: right;
}

#product-comment #respond input#submit {
  width: 100%;
  padding: var(--xs) var(--tn);
  border-radius: var(--tn);
  background: var(--color-primary);
  color: var(--color-dark-royal);
}

#product-comment #reviews #comments .commentlist {
  height: 50vh;
  width: calc(70% - var(--tn));
  overflow-y: scroll;
  padding: 0;
  scrollbar-width: auto;
  scrollbar-color: var(--color-primary) var(--color-gray-third-50);
}

#product-comment .children::before {
  content: "";
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  position: absolute;
  right: 40px;
  top: 0;
  border-radius: 10em;
}

#product-comment #reviews #comments .comment-text {
  border: none;
  display: grid;
  gap: var(--tn);
  grid-template: 100% / max(120px) calc(100% - 120px);
  grid-template-areas: "cm cd" "csr cd";
}

#product-comment .star-rating {
  grid-area: csr;
}

.woocommerce .star-rating span::before {
  font-family: WooCommerce;
  line-height: 1;
  color: var(--color-primary);
}

#product-comment #reviews #comments .meta {
  grid-area: cm;
  margin: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

#product-comment .meta .woocommerce-review__author {
  color: var(--color-dark-primary);
  font-size: var(--t-sm);
  line-height: 1.5;
}

#product-comment .woocommerce-review__dash {
  display: none;
}

#product-comment #reviews #comments .meta .woocommerce-review__published-date {
  color: var(--color-gray-third);
  font-size: var(--t-xs);
  line-height: var(--t-xs);
}

#product-comment .description {
  grid-area: cd;
  background-color: white;
  color: var(--color-gray-muted);
  border-radius: var(--tn);
  padding: var(--tn);
}

#product-comment #reviews #comments ul.children .description {
  background: var(--color-gray-muted);
  color: var(--color-gray-secondary);
}

#product-comment #reviews #comments .description p {
  margin: 0;
}


/* read more */
.product-section .load-more-attributes-btn::before,
.product-section .load-more-descriptions-btn::before {
  font-size: 100%;
  font-weight: var(--w-bld);
}


/* ------- Mobile Product -------- */
@media (max-width: 767px) {
  /* product main */
  #product-main .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--xs);
  }

  #product-main .container>div {
    width: 100%;
    order: 0;
  }

  /* details */
  #product-main div.product-details {
    order: 1;
  }

  .product-details ul {
    margin: 0;
    padding: 0;
  }

  #product-tabs .content-container {
    overflow-x: auto;
    justify-content: flex-start;
    text-align: center;
    scrollbar-width: none;
  }

  #product-tabs li {
    flex: 0 0 25%;
    scroll-snap-align: start;
  }

  /* attributes */
  #product-attributes tr {
    margin-bottom: var(--xs);
  }

  #product-attributes tr td:first-child {
    height: 100%;
    align-self: center;
    font-size: inherit;
  }

  #product-attributes tr th {
    min-width: auto;
    width: 35%;
    padding-inline: var(--tn);
  }

  #product-attributes tr td:nth-of-type(2) {
    width: 70%;
    height: auto;
    padding: var(--tn);
  }

  /* product upsell (accessory) */
  #product-upsell ul {
    overflow: scroll;
    gap: var(--sm);
  }

  #product-upsell li,
  .product-compatibles li a {
    flex: 0 0 auto;
  }

  #product-upsell button {
    width: 40%;
    bottom: var(--lg);
    max-width: 100px;
  }

  #product-upsell img {
    max-width: 150px;
  }

  .product-compatibles li a span {
    max-width: 150px;
  }

  /* comments */
  #product-comment #comments {
    flex-direction: column;
  }

  #product-comment #review_form_wrapper {
    width: 100%;
  }

  #product-comment #reviews #comments .commentlist {
    width: 100%;
  }

  #product-comment #reviews #comments .comment-text {
    display: block;
  }

  #product-comment #reviews #comments .meta {
    display: inline;
  }

  .woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0 var(--tn) 0 0;
  }

  #product-comment .children::before {
    right: var(--tn);
  }

  #product-comment #reviews #comments ol.commentlist ul.children {
    margin: var(--tn) var(--sm) 0 0;
  }

}



/* Single Similar */
#product-simm table {
  width: 100%;
  border-spacing: var(--tn);
  text-align: center;
  border-collapse: separate;
}

#product-simm thead th {
  border: none;
  vertical-align: top;
  padding: 0;
  background: var(--color-gray-secondary);
}

#product-simm thead th:nth-child(2n+1):not(:first-child) {
  background: var(--color-gray-secondary-50);
}

#product-simm thead th:first-child {
  background: transparent;
  padding: 0;
}

#product-simm thead th:nth-child(2) {
  border-top-right-radius: var(--tn);
}

#product-simm thead th:last-child {
  border-top-left-radius: var(--tn);
}

#product-simm thead th div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: var(--tn);
  height: 100%;
  height: 380px;
  padding: var(--tn);
}

#product-simm thead img {
  width: 100%;
  max-width: 250px;
}

#product-simm .product-title {
  margin-top: 0;
  margin-bottom: auto;
  height: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  font-weight: var(--w-bld);
  font-size: var(--t-sm);
  line-height: var(--md);
  color: var(--color-dark-primary);
}

#product-simm .view-link {
  padding: calc(var(--tn)/2);
  width: 100%;
  border-radius: var(--tn);
  background: var(--color-dark-royal);
  color: white;
}

#product-simm thead th:first-child b {
  padding: var(--tn);
  display: block;
  width: 100%;
}

#product-simm tbody th,
#product-simm tbody td {
  padding: var(--tn);
  vertical-align: middle;
}

#product-simm tbody tr td {
  background: var(--color-gray-secondary);
  color: var(--color-dark-primary);
}

#product-simm tbody tr td:nth-child(2n+1):not(:first-child) {
  background: var(--color-gray-secondary-50);
}

#product-simm tbody tr td:first-child {
  background: var(--color-gray-muted);
  color: white;
  font-variation-settings: "wght" var(--w-bld), "dots" 4;
  text-align: right;
  border-radius: 0 var(--tn) var(--tn) 0;
}

#product-simm tbody tr td:first-child::before {
  background: var(--color-dark-royal);
  border-radius: 50%;
  padding: var(--tn);
  margin-left: var(--tn);
  font-size: 150%;
}

#product-simm tbody tr td:last-child {
  border-radius: var(--tn) 0 0 var(--tn);
}

#product-simm+#product-warning {
  background: var(--color-dark-primary);
  color: var(--color-gray-third);
}

#product-simm+#product-warning .sec-title {
  color: var(--color-gray-secondary);
}

@media (max-width: 768px) {
  #product-simm .scrollable-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #product-simm table {
    width: max-content;
    min-width: 120%;
    table-layout: fixed;
  }

  #product-simm thead th,
  #product-simm tbody td {
    width: 40vw;
    min-width: 40vw;
  }

  #product-simm thead th:first-child,
  #product-simm tbody td:first-child {
    width: auto;
    min-width: unset;
  }

  #product-simm thead th div {
    height: max-content;
  }

  #product-simm thead th:first-child {
    vertical-align: bottom;
  }

  #product-simm .view-link {
    padding: calc(var(--tn)/2) 0;
  }
}