/* ================================================================
   Single Product base
   ================================================================ */
.tkk-single-product-section {
  padding: 14px 0 52px;
  background: #f3f5f7;
  color: #182230;
}

.tkk-single-product-container {
  width: min(var(--tkk-container, 1320px), calc(100% - 32px));
  max-width: var(--tkk-container, 1320px);
  margin-inline: auto;
  padding: 0;
  gap: 12px;
}

/* ---------- Breadcrumb + heading ---------- */

.tkk-product-breadcrumbs {
  width: 100%;
  min-height: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.tkk-product-breadcrumbs a {
  color: #405a7d;
  text-decoration: none;
}

.tkk-product-breadcrumbs a:hover {
  color: var(--tkk-blue-700, #2f66c8);
}

.tkk-product-breadcrumbs .separator {
  color: #98a2b3;
}

.tkk-product-heading {
  width: 100%;
  padding: 16px 18px 14px;
  gap: 8px;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
}

.tkk-product-title {
  margin: 0;
  color: #101828;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.tkk-product-heading-meta {
  width: 100%;
  min-height: 22px;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: #475467;
  font-size: 13px;
}

.tkk-product-rating,
.tkk-product-rating .woocommerce-product-rating {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.tkk-product-rating .star-rating {
  margin: 0;
  color: #f5a000;
  font-size: 14px;
}

.tkk-product-rating .woocommerce-review-link {
  color: #405a7d;
  font-size: 13px;
  text-decoration: none;
}

.tkk-product-sales.product_meta {
  width: auto;
  margin: 0;
  padding-left: 14px;
  display: flex;
  flex-direction: row;
  border-left: 1px solid #e4e7ec;
  color: #667085;
  font-size: 13px;
}

.tkk-product-sales .prefix {
  color: inherit;
}

/* ---------- 3-column main product area ---------- */

.tkk-product-main-grid {
  width: 100%;
  padding: 18px;
  display: grid !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1.08fr) minmax(
      270px,
      0.76fr
    );
  align-items: start;
  gap: 20px;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
}

.tkk-product-gallery-column,
.tkk-product-buy-column,
.tkk-product-aside-column {
  width: 100%;
  min-width: 0;
  padding: 0;
}

.tkk-product-gallery-column {
  position: sticky;
  top: 16px;
}

/* ---------- Native Woo product gallery ---------- */

.tkk-product-gallery {
  width: 100%;
  min-width: 0;
}

.tkk-product-gallery .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.tkk-product-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
  background: #fff;
}

.tkk-product-gallery .woocommerce-product-gallery__image {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.tkk-product-gallery .woocommerce-product-gallery__image > a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tkk-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: contain;
}

.tkk-product-gallery .flex-control-thumbs {
  margin: 10px 0 0 !important;
  padding: 0;
  display: grid !important;
  gap: 8px !important;
  list-style: none;
}

.tkk-product-gallery .flex-control-thumbs li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.tkk-product-gallery .flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 3px;
  display: block;
  object-fit: contain;
  border: 1px solid #e3e7ed;
  border-radius: 5px;
  background: #fff;
  opacity: 0.72;
  cursor: pointer;
}

.tkk-product-gallery .flex-control-thumbs img.flex-active,
.tkk-product-gallery .flex-control-thumbs img:hover {
  border-color: var(--tkk-blue-600, #4078d5);
  opacity: 1;
}

.tkk-product-gallery .woocommerce-product-gallery__trigger {
  top: 10px;
  right: 10px;
  border: 1px solid #e4e7ec;
  background: rgba(255, 255, 255, 0.92);
}

/* ---------- Buying column ---------- */

.tkk-product-buy-column {
  gap: 14px;
}

.tkk-product-price {
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #eaecf0;
}

.tkk-product-price .price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 12px;
  color: #e3222d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.tkk-product-price .price ins {
  order: 1;
  color: #e3222d;
  font-weight: 700;
  text-decoration: none;
}

.tkk-product-price .price > .woocommerce-Price-amount,
.tkk-product-price .price ins .woocommerce-Price-amount {
  color: #e3222d;
}

.tkk-product-price .price del {
  order: 2;
  color: #98a2b3;
  font-size: 15px;
  font-weight: 400;
  opacity: 1;
}

.tkk-product-short-description {
  color: #475467;
  font-size: 16px;
  line-height: 1.7;
}

.tkk-product-short-description:empty {
  display: none;
}

.tkk-product-short-description p:last-child,
.tkk-product-promotion__content > *:last-child {
  margin-bottom: 0;
}

/* ---------- Promotion element ---------- */

.tkk-product-promotion {
  width: 100%;
  overflow: hidden;
  border: 1px solid #cfe0fb;
  border-radius: 7px;
  background: #fbfdff;
}

.tkk-product-promotion__heading {
  min-height: 44px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #edf4ff;
  color: var(--tkk-blue-800, #2454a4);
  font-size: 16px;
}

.tkk-product-promotion__heading strong {
  font-weight: 700;
}

.tkk-product-promotion__content {
  padding: 11px 12px 12px;
  color: #344054;
  font-size: 16px;
  line-height: 1.7;
}

.tkk-product-promotion__content ul,
.tkk-product-promotion__content ol {
  margin: 0;
  padding-left: 20px;
}

/* ---------- Native add-to-cart / variations ---------- */

.tkk-product-add-to-cart {
  width: 100%;
  margin-top: 2px;
}

.tkk-product-add-to-cart form.cart,
.tkk-product-add-to-cart form.cart:not(.variations_form),
.tkk-product-add-to-cart
  form.cart.variations_form
  .woocommerce-variation-add-to-cart {
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.tkk-product-add-to-cart table.variations {
  width: 100%;
  margin: 0 0 4px;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.tkk-product-add-to-cart table.variations th,
.tkk-product-add-to-cart table.variations td {
  padding: 0;
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.tkk-product-add-to-cart table.variations th {
  width: 95px;
  padding-right: 10px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

.tkk-product-add-to-cart table.variations select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  background: #fff;
  color: #344054;
  font-size: 14px;
}

.tkk-product-add-to-cart .reset_variations {
  margin-left: 8px;
  color: #667085;
  font-size: 12px;
}

.tkk-product-add-to-cart .woocommerce-variation-price {
  margin: 0 0 8px;
}

.tkk-product-add-to-cart .stock {
  width: 100%;
  margin: 0 0 8px;
  color: #238636;
  font-size: 14px;
  font-weight: 500;
}

.tkk-product-add-to-cart .stock.out-of-stock {
  color: #d92d20;
}

.tkk-product-add-to-cart .single_add_to_cart_button,
.tkk-product-add-to-cart a.button[data-product_id] {
  min-height: 50px;
  min-width: 190px;
  padding: 0 22px;
  flex: 1 1 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tkk-blue-600, #4078d5);
  border-radius: 6px;
  background: var(--tkk-blue-600, #4078d5);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}

.tkk-product-add-to-cart .single_add_to_cart_button {
  margin-top: 0;
}

.tkk-product-add-to-cart .single_add_to_cart_button:hover,
.tkk-product-add-to-cart a.button[data-product_id]:hover {
  border-color: var(--tkk-blue-700, #2f66c8);
  background: var(--tkk-blue-700, #2f66c8);
  color: #fff;
}

.tkk-product-add-to-cart .single_add_to_cart_button.disabled,
.tkk-product-add-to-cart .single_add_to_cart_button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* ---------- Native product tabs ---------- */

.tkk-product-tabs {
  width: 100%;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
}

.tkk-product-tabs .woocommerce-tabs {
  width: 100%;
  margin: 0;
}

.tkk-product-tabs .wc-tabs {
  margin: 0 !important;
  padding: 0 16px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  border-bottom: 1px solid #e4e7ec;
  background: #fbfcfd;
}

.tkk-product-tabs .wc-tabs::before,
.tkk-product-tabs .wc-tabs::after {
  display: none !important;
}

.tkk-product-tabs .wc-tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.tkk-product-tabs .wc-tabs li::before,
.tkk-product-tabs .wc-tabs li::after {
  display: none !important;
}

.tkk-product-tabs .wc-tabs a {
  min-height: 48px;
  padding: 0 2px !important;
  display: flex !important;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: #667085 !important;
  font-size: 14px;
  font-weight: 500 !important;
  text-decoration: none;
}

.tkk-product-tabs .wc-tabs li.active a {
  border-bottom-color: var(--tkk-blue-600, #4078d5);
  color: var(--tkk-blue-700, #2f66c8) !important;
  font-weight: 600 !important;
}

.tkk-product-tabs .woocommerce-Tabs-panel,
.tkk-product-tabs .panel {
  margin: 0 !important;
  padding: 20px !important;
  color: #475467;
  font-size: 16px;
  line-height: 1.7;
}

.tkk-product-tabs .panel h2,
.tkk-product-tabs .panel h3 {
  color: #182230;
  font-weight: 600;
}

.tkk-product-tabs .shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.tkk-product-tabs .shop_attributes th,
.tkk-product-tabs .shop_attributes td {
  padding: 9px 11px;
  border: 1px solid #e4e7ec;
  font-size: 12px;
}

/* ---------- Related ---------- */

.tkk-product-related {
  width: 100%;
  padding: 18px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
}


/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .tkk-product-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tkk-product-aside-column {
    grid-column: 1 / -1;
  }

}

@media (max-width: 767px) {
  .tkk-single-product-section {
    padding-top: 8px;
  }

  .tkk-single-product-container {
    width: calc(100% - 16px);
    gap: 8px;
  }

  .tkk-product-heading,
  .tkk-product-main-grid,
  .tkk-product-related {
    padding: 13px;
  }

  .tkk-product-title {
    font-size: 21px;
  }

  .tkk-product-main-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .tkk-product-gallery-column {
    position: static;
  }

  .tkk-product-gallery .woocommerce-product-gallery__image img {
    max-height: 460px;
  }

  .tkk-product-price .price {
    font-size: 25px;
  }


  .tkk-product-tabs .wc-tabs {
    padding-inline: 12px !important;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tkk-product-tabs .wc-tabs a {
    white-space: nowrap;
  }

  .tkk-product-tabs .woocommerce-Tabs-panel,
  .tkk-product-tabs .panel {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .tkk-product-heading-meta {
    gap: 6px 10px;
  }

  .tkk-product-sales.product_meta {
    padding-left: 10px;
  }

}



/* ---------- Product summary + content layout ---------- */
/* ---------- Product summary: no standalone title box ---------- */

.tkk-product-buy-column > .tkk-product-title {
  width: 100%;
  margin: 0;
  padding: 0 0 2px;
  color: #101828;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.tkk-product-buy-column > .tkk-product-rating {
  width: 100%;
  min-height: 22px;
  margin: -3px 0 0;
  padding: 0 0 10px;
  border-bottom: 1px solid #eaecf0;
}

.tkk-product-buy-column > .tkk-product-price {
  padding: 0 0 13px;
}

/* ---------- Tabs 8/4 layout ---------- */

.tkk-product-content-grid {
  width: 100%;
  min-width: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(330px, 1fr);
  align-items: start;
  gap: 18px;
}

.tkk-product-content-grid > .tkk-product-tabs,
.tkk-product-content-grid > .tkk-product-suggestions {
  width: 100%;
  min-width: 0;
}





/* ---------- Related products slider ---------- */
.tkk-product-related-slider { position:relative; min-height:0; padding:18px 18px 20px; }
.tkk-product-related-slider > .related.products { position:relative; width:100%; min-height:0; margin:0 !important; padding:0 !important; display:block !important; border:0 !important; background:transparent !important; overflow:visible !important; }
.tkk-product-related-slider .related.products > h2 { width:auto; min-height:38px; margin:0 96px 14px 0 !important; padding:0 !important; display:flex !important; align-items:center; color:#101828; font-size:20px; font-weight:700; line-height:1.3; }
.tkk-product-related-slider .related.products > ul.products { width:100%; margin:0 !important; padding:0 !important; display:flex !important; flex-wrap:nowrap !important; align-items:stretch !important; gap:0 !important; overflow-x:auto !important; overflow-y:hidden !important; scroll-behavior:smooth; scroll-snap-type:x mandatory; scrollbar-width:none; border-top:1px solid #e5e7eb !important; border-left:1px solid #e5e7eb !important; background:#fff !important; }
.tkk-product-related-slider .related.products > ul.products::-webkit-scrollbar { display:none; }
.tkk-product-related-slider .related.products > ul.products > .tkk-product-card { width:auto !important; min-width:0 !important; height:auto !important; flex:0 0 20% !important; margin:0 !important; float:none !important; scroll-snap-align:start; border:0 !important; border-right:1px solid #e5e7eb !important; border-bottom:1px solid #e5e7eb !important; border-radius:0 !important; box-shadow:none !important; }
.tkk-product-related-slider .related.products > ul.products > .tkk-product-card:hover { box-shadow:inset 0 0 0 1px #c9d8f2 !important; }
.tkk-product-related-slider .tkk-product-card img { margin-inline:auto !important; }
.tkk-related-slider-nav { position:absolute; top:0; right:0; z-index:5; display:flex; align-items:center; gap:6px; }
.tkk-related-slider-nav button { width:36px; height:36px; margin:0; padding:0; display:inline-flex; align-items:center; justify-content:center; border:1px solid #d9e0ea; border-radius:50%; background:#fff; color:#344054; font:inherit; font-size:20px; line-height:1; cursor:pointer; transition:border-color .16s ease,color .16s ease,background .16s ease; }
.tkk-related-slider-nav button:hover:not(:disabled) { border-color:var(--tkk-blue-600); background:#f4f8ff; color:var(--tkk-blue-700); }
.tkk-related-slider-nav button:disabled { cursor:default; opacity:.35; }
@media (max-width:1120px) {
  .tkk-product-content-grid { grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr); }
  .tkk-product-related-slider .related.products > ul.products > .tkk-product-card { flex-basis:25% !important; }
}
@media (max-width:900px) {
  .tkk-product-content-grid { grid-template-columns:minmax(0,1fr); }
  .tkk-product-related-slider .related.products > ul.products > .tkk-product-card { flex-basis:33.333333% !important; }
}
@media (max-width:767px) {
  .tkk-product-buy-column > .tkk-product-title { font-size:23px; }
  .tkk-product-related-slider { padding:13px; }
  .tkk-product-related-slider .related.products > h2 { margin-right:82px !important; font-size:18px; }
  .tkk-product-related-slider .related.products > ul.products > .tkk-product-card { flex-basis:50% !important; }
  .tkk-related-slider-nav button { width:32px; height:32px; font-size:18px; }
}



.tkk-product-suggestions { position:sticky; top:16px; align-self:start !important; max-height:calc(100vh - 32px); overflow-x:hidden; overflow-y:auto; border:1px solid var(--tkk-blue-200); border-radius:10px; background:#fff; box-shadow:0 6px 20px rgba(47,102,200,.06); scrollbar-width:thin; }
@media (max-width:900px) { .tkk-product-suggestions { position:static; top:auto; max-height:none; overflow:hidden; } }


/* ---------- Product suggestions sidebar ---------- */
.tkk-product-suggestions > .tkk-product-suggestions-section {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.tkk-product-suggestions > .tkk-product-suggestions-section > h2 {
  position: sticky;
  top: 0;
  z-index: 4;
  width: 100%;
  margin: 0 !important;
  padding: 13px 15px !important;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    135deg,
    var(--tkk-blue-700, #2f66c8),
    var(--tkk-blue-600, #4078d5)
  );
  color: #fff;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.3;
}

.tkk-product-suggestions > .tkk-product-suggestions-section > ul.products {
  width: 100%;
  margin: 0 !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-rows: max-content !important;
  align-items: start !important;
  gap: 12px !important;
  border: 0 !important;
  background: var(--tkk-blue-050, #f7faff) !important;
  overflow: visible !important;
}

.tkk-product-suggestions
  > .tkk-product-suggestions-section
  > ul.products
  > .tkk-product-card {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid var(--tkk-border, #dce7f8) !important;
  border-radius: 8px !important;
  background: #fff;
  box-shadow: none !important;
}

.tkk-product-suggestions
  > .tkk-product-suggestions-section
  > ul.products
  > .tkk-product-card
  > a.woocommerce-LoopProduct-link,
.tkk-product-suggestions
  > .tkk-product-suggestions-section
  > ul.products
  > .tkk-product-card
  > a.woocommerce-loop-product__link {
  width: 100%;
  min-width: 0;
  min-height: 94px;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 94px minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  column-gap: 12px !important;
  row-gap: 3px !important;
  align-items: center !important;
  align-content: center !important;
}

/*
 * Important fix: the old layout used "span 5" while the card only has three
 * content rows. CSS Grid then created two implicit empty rows below the card.
 */
.tkk-product-suggestions
  > .tkk-product-suggestions-section
  > ul.products
  > .tkk-product-card
  img,
.tkk-product-suggestions
  > .tkk-product-suggestions-section
  > ul.products
  > .tkk-product-card
  img.attachment-woocommerce_thumbnail,
.tkk-product-suggestions
  > .tkk-product-suggestions-section
  > ul.products
  > .tkk-product-card
  img.wp-post-image {
  width: 94px !important;
  height: 94px !important;
  margin: 0 !important;
  padding: 3px !important;
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
  align-self: center !important;
  justify-self: center !important;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.tkk-product-suggestions
  > .tkk-product-suggestions-section
  .woocommerce-loop-product__title {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: 2;
  align-self: end;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.4;
}

.tkk-product-suggestions > .tkk-product-suggestions-section .price {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: 2;
  align-self: center;
  gap: 4px 7px;
  font-size: 14px !important;
  line-height: 1.3;
}

.tkk-product-suggestions
  > .tkk-product-suggestions-section
  .tkk-product-card__features {
  margin: 1px 0 0 !important;
  padding: 0 !important;
  grid-column: 2;
  align-self: start;
  gap: 5px;
}

.tkk-product-suggestions
  > .tkk-product-suggestions-section
  .tkk-product-card__features
  > span {
  min-height: 24px;
  padding: 3px 7px;
  font-size: 12px !important;
}

.tkk-product-suggestions
  > .tkk-product-suggestions-section
  .tkk-product-card__rating,
.tkk-product-suggestions
  > .tkk-product-suggestions-section
  .tkk-product-card__promo,
.tkk-product-suggestions
  > .tkk-product-suggestions-section
  .tkk-product-sale-badge {
  display: none !important;
}

@media (max-width: 900px) {
  .tkk-product-suggestions > .tkk-product-suggestions-section > h2 {
    position: static;
  }

  .tkk-product-suggestions > .tkk-product-suggestions-section > ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .tkk-product-suggestions > .tkk-product-suggestions-section > ul.products {
    padding: 10px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}

@media (max-width: 420px) {
  .tkk-product-suggestions
    > .tkk-product-suggestions-section
    > ul.products
    > .tkk-product-card
    > a.woocommerce-LoopProduct-link,
  .tkk-product-suggestions
    > .tkk-product-suggestions-section
    > ul.products
    > .tkk-product-card
    > a.woocommerce-loop-product__link {
    min-height: 84px;
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .tkk-product-suggestions
    > .tkk-product-suggestions-section
    > ul.products
    > .tkk-product-card
    img,
  .tkk-product-suggestions
    > .tkk-product-suggestions-section
    > ul.products
    > .tkk-product-card
    img.attachment-woocommerce_thumbnail,
  .tkk-product-suggestions
    > .tkk-product-suggestions-section
    > ul.products
    > .tkk-product-card
    img.wp-post-image {
    width: 84px !important;
    height: 84px !important;
  }
}



/* ---------- Product gallery / video thumbnails ---------- */
.tkk-product-gallery .tkk-product-gallery__video {
  min-height: 420px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #111827;
}

.tkk-product-gallery .tkk-product-gallery__video-frame {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
}

.tkk-product-gallery .tkk-product-gallery__video-frame iframe,
.tkk-product-gallery .tkk-product-gallery__video-frame video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #000;
}

.tkk-product-gallery .tkk-product-gallery__video-frame video {
  max-height: 520px;
  object-fit: contain;
}

.tkk-gallery-thumbs-slider {
  position: relative !important;
  width: 100%;
  padding-inline: 44px !important;
  margin-top: 10px;
}

.tkk-gallery-thumbs-slider .flex-control-nav.flex-control-thumbs {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tkk-gallery-thumbs-slider
  .flex-control-nav.flex-control-thumbs::-webkit-scrollbar {
  display: none;
}

.tkk-gallery-thumbs-slider .flex-control-thumbs li {
  position: relative;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  flex: 0 0 calc((100% - 32px) / 5);
  float: none !important;
  scroll-snap-align: start;
}

.tkk-gallery-thumbs-slider .flex-control-thumbs li:focus-visible {
  outline: 2px solid var(--tkk-blue-600, #4078d5);
  outline-offset: 2px;
  border-radius: 6px;
}

.tkk-gallery-thumbs-slider .flex-control-thumbs img {
  margin: 0 !important;
}

.tkk-gallery-thumbs-slider .tkk-product-gallery__video-thumb img {
  object-fit: cover;
  background: #182230;
}

.tkk-gallery-thumbs-slider .tkk-product-gallery__video-thumb::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(47, 102, 200, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.22);
}




/* Thumbnail navigation */
.tkk-gallery-thumbs-slider__arrow { position:absolute !important; top:50% !important; bottom:auto !important; z-index:5; width:36px !important; height:36px !important; margin:0 !important; padding:0 !important; display:inline-flex; align-items:center; justify-content:center; border:1px solid #d9e0ea !important; border-radius:50% !important; background:#fff !important; color:#344054 !important; font:inherit; font-size:20px; line-height:1; cursor:pointer; opacity:0; pointer-events:none; transform:translateY(-50%) !important; box-shadow:0 2px 8px rgba(16,24,40,.08) !important; transition:border-color .16s ease,color .16s ease,background .16s ease,opacity .16s ease; }
.tkk-gallery-thumbs-slider.is-scrollable .tkk-gallery-thumbs-slider__arrow { opacity:1; pointer-events:auto; }
.tkk-gallery-thumbs-slider__arrow.is-prev { left:0 !important; right:auto !important; }
.tkk-gallery-thumbs-slider__arrow.is-next { left:auto !important; right:0 !important; }
.tkk-gallery-thumbs-slider__arrow:hover:not(:disabled) { border-color:var(--tkk-blue-600) !important; background:#f4f8ff !important; color:var(--tkk-blue-700) !important; }
.tkk-gallery-thumbs-slider__arrow:disabled { cursor:default; opacity:.35 !important; pointer-events:none !important; }
@media (max-width:767px) {
  .tkk-product-gallery .tkk-product-gallery__video { min-height:300px; }
  .tkk-gallery-thumbs-slider { padding-inline:38px !important; }
  .tkk-gallery-thumbs-slider .flex-control-thumbs li { flex-basis:calc((100% - 24px) / 4); }
  .tkk-gallery-thumbs-slider__arrow { width:32px !important; height:32px !important; font-size:18px; }
}



/* ---------- Product support / attributes ---------- */
.tkk-product-aside-column { gap:10px; }
.tkk-product-support { width:100%; display:grid; gap:0; overflow:hidden; border:1px solid var(--tkk-border); border-radius:10px; background:#fff; box-shadow:0 6px 20px rgba(47,102,200,.05); }
.tkk-product-support__contact,.tkk-product-support__group { margin:0; padding:15px 16px; border:0; border-bottom:1px solid var(--tkk-border); border-radius:0; background:#fff; }
.tkk-product-support > :last-child { border-bottom:0; }
.tkk-product-support__heading-row,.tkk-product-support__group-title { display:flex; align-items:center; gap:10px; }
.tkk-product-support__heading-icon,.tkk-product-support__group-icon { width:32px; height:32px; flex:0 0 32px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #cfe0fb; border-radius:50%; background:var(--tkk-blue-100); color:var(--tkk-blue-700); font-size:14px; }
.tkk-product-support__heading { margin:0; color:#17366b; font-size:15px; font-weight:700; line-height:1.35; }
.tkk-product-support__phones { margin-top:12px; display:grid; grid-template-columns:1fr; gap:8px; }
.tkk-product-support__phones a { min-height:46px; padding:0 14px; display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid var(--tkk-blue-600); border-radius:7px; background:var(--tkk-blue-600); color:#fff; font-size:16px; font-weight:700; text-decoration:none; transition:background .16s ease,border-color .16s ease,color .16s ease; }
.tkk-product-support__phones a i { font-size:16px; }
.tkk-product-support__phones a:nth-child(2) { border-color:#bfd2f3; background:#eff5ff; color:var(--tkk-blue-800); }
.tkk-product-support__phones a:hover { border-color:var(--tkk-blue-700); background:var(--tkk-blue-700); color:#fff; }
.tkk-product-support__phones a:nth-child(2):hover { border-color:var(--tkk-blue-600); background:var(--tkk-blue-600); color:#fff; }
.tkk-product-support__trust { margin:14px 0 0; padding:0; display:grid; gap:8px; list-style:none; }
.tkk-product-support__trust li { margin:0; display:flex; align-items:flex-start; gap:8px; color:#475467; font-size:12px; line-height:1.45; }
.tkk-product-support__trust li i { margin-top:3px; color:var(--tkk-blue-600); font-size:12px; }
.tkk-product-support__group-title { margin:0 0 11px; color:#17366b; font-size:12px; }
.tkk-product-support__group-title strong { font-weight:700; }
.tkk-product-support__chips { display:flex; flex-wrap:wrap; gap:7px; }
.tkk-product-support__chips > span { min-height:30px; padding:5px 10px; display:inline-flex; align-items:center; border:1px solid #cfdcf2; border-radius:999px; background:var(--tkk-blue-050); color:#405a7d; font-size:12px; font-weight:500; line-height:1.2; }
@media (max-width:1120px) {
  .tkk-product-support { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .tkk-product-support__contact { grid-column:1 / -1; }
  .tkk-product-support__phones { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tkk-product-support__trust { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  .tkk-product-support { grid-template-columns:minmax(0,1fr); }
  .tkk-product-support__contact { grid-column:auto; }
  .tkk-product-support__trust { grid-template-columns:minmax(0,1fr); }
  .tkk-product-support__contact,.tkk-product-support__group { padding:13px; }
}
@media (max-width:480px) { .tkk-product-support__phones { grid-template-columns:1fr; } }


/* ---------- DuyAnhWebPro product reviews ---------- */
.tkk-product-reviews {
  width: 100%;
  padding: 18px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
}

.tkk-product-reviews .dawp-reviews-wrapper {
  width: 100%;
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--tkk-text, #304764);
}

.tkk-product-reviews .dawp-reviews-title-header {
  margin: 0 0 14px;
  color: var(--tkk-ink, #17366b);
  font-size: 20px;
  font-weight: 700;
}

.tkk-product-reviews .dawp-reviews-summary {
  border-color: var(--tkk-border, #dce7f8);
  background: var(--tkk-blue-050, #f7faff);
}

.tkk-product-reviews .dawp-btn-toggle-form,
.tkk-product-reviews .dawp-btn-submit,
.tkk-product-reviews .dawp-filter-btn.active,
.tkk-product-reviews .dawp-page-btn.active {
  border-color: var(--tkk-blue-600, #4078d5);
  background: var(--tkk-blue-600, #4078d5);
  color: #fff;
}

.tkk-product-reviews .dawp-btn-toggle-form:hover,
.tkk-product-reviews .dawp-btn-submit:hover,
.tkk-product-reviews .dawp-filter-btn.active:hover,
.tkk-product-reviews .dawp-page-btn.active:hover {
  border-color: var(--tkk-blue-700, #2f66c8);
  background: var(--tkk-blue-700, #2f66c8);
}

@media (max-width: 767px) {
  .tkk-product-reviews {
    padding: 13px;
  }
}

/* DAWP typography normalization */
.tkk-product-reviews .dawp-rating-avg-text,
.tkk-product-reviews .dawp-upload-note,
.tkk-product-reviews .dawp-verified-badge,
.tkk-product-reviews .dawp-review-footer-date,
.tkk-product-reviews .dawp-review-tag-pill {
  font-size: 12px !important;
}

.tkk-product-reviews .dawp-rating-avg,
.tkk-product-reviews .dawp-form-title {
  font-weight: 700 !important;
}



/* ---------- Quantity control ---------- */
.tkk-product-add-to-cart .quantity {
  width: 132px !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 40px 52px 40px !important;
  align-items: stretch !important;
  overflow: hidden;
  border: 1px solid #cbd8ec !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.tkk-product-add-to-cart .quantity .action {
  width: 40px !important;
  min-width: 40px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--tkk-blue-050, #f7faff) !important;
  color: var(--tkk-blue-700, #2f66c8) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}

.tkk-product-add-to-cart .quantity .action.minus {
  order: 1;
  border-right: 1px solid #e2e8f2 !important;
}

.tkk-product-add-to-cart .quantity .qty {
  order: 2;
  width: 52px !important;
  min-width: 52px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #172033 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 48px !important;
  text-align: center !important;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.tkk-product-add-to-cart .quantity .qty::-webkit-outer-spin-button,
.tkk-product-add-to-cart .quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.tkk-product-add-to-cart .quantity .action.plus {
  order: 3;
  border-left: 1px solid #e2e8f2 !important;
}

.tkk-product-add-to-cart .quantity .action:hover {
  background: var(--tkk-blue-100, #eef4ff) !important;
  color: var(--tkk-blue-800, #2454a4) !important;
}

.tkk-product-add-to-cart .quantity:focus-within {
  border-color: var(--tkk-blue-500, #5b8be3) !important;
  box-shadow: 0 0 0 3px rgba(64, 120, 213, 0.1);
}


@media (max-width:767px) {
  .tkk-product-add-to-cart .quantity { width:120px !important; grid-template-columns:36px 48px 36px !important; }
  .tkk-product-add-to-cart .quantity .action { width:36px !important; min-width:36px !important; }
  .tkk-product-add-to-cart .quantity .qty { width:48px !important; min-width:48px !important; }
}
