.tkp-page,
.tkp-page button,
.tkp-page input,
.tkp-page select,
.tkp-page textarea{
  font-family: var(--rg-store-font-stack, Arial, Helvetica, sans-serif);
}

.tkp-page .rte-content,
.tkp-page .rte-content *{
  font-family: var(--rg-store-font-stack, Arial, Helvetica, sans-serif) !important;
}

.tkp-page{
  max-width:1120px;
  margin:0 auto;
}

.tkp-top{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:20px;
  align-items:start;
}

.tkp-buy-side,
.tkp-gallery-card,
.tkp-summary-card,
.tkp-tabs-card,
.tkp-related-card,
.tkp-shop-card{
  min-width:0;
}

.tkp-card{
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:18px;
  box-shadow:0 2px 10px rgba(15,23,42,.04);
}

.tkp-gallery-card{
  padding:0;
  overflow:hidden;
}

.tkp-gallery-stage{
  position:relative;
  background:#f0f0f0;
}

.tkp-gallery-stage::before{
  content:"";
  display:block;
  padding-top:100%;
}

.tkp-stage-media,
.tkp-stage-empty{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.tkp-stage-media{
  object-fit:cover;
  display:none;
  background:#f0f0f0;
}

.tkp-stage-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:84px;
  font-weight:600;
  color:#a9a9a9;
}

.tkp-thumb-viewport{
  overflow:hidden;
  padding:8px;
  background:#fff;
}

.tkp-thumb-row{
  display:flex;
  gap:8px;
  padding:0;
  overflow:visible;
  scrollbar-width:none;
  transition:transform .22s ease;
  will-change:transform;
  background:#fff;
}

.tkp-thumb-row::-webkit-scrollbar{
  display:none;
}

.tkp-thumb{
  flex:0 0 72px;
  width:72px;
  min-width:72px;
  height:72px;
  padding:0;
  border:1px solid #d9d9d9;
  border-radius:8px;
  overflow:hidden;
  background:#f0f0f0;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.tkp-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tkp-thumb.is-active{
  border-color:#1e6cf0;
  box-shadow:0 0 0 2px rgba(30,108,240,.12);
}

.tkp-thumb.is-video{
  background:#cfcfcf;
  display:flex;
  align-items:center;
  justify-content:center;
}

.tkp-thumb-play{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-size:32px;
  color:#ffffff;
  background:rgba(0,0,0,.22);
}

.tkp-summary-card{
  padding:18px 18px 12px;
}

.tkp-title-wrap{
  margin-bottom:8px;
}

.tkp-title{
  margin:0;
  font-size:34px;
  line-height:1.18;
  font-weight:700;
  letter-spacing:-.02em;
  color:#111827;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.tkp-rating-row,
.tkp-shipping-note-row,
.tkp-ship-time-row,
.tkp-trust-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
}

.tkp-rating-row{
  gap:6px;
  padding-bottom:12px;
  border-bottom:1px solid #ececec;
  color:#70757f;
  font-size:14px;
}

.tkp-star{
  color:#f4b400;
  font-size:13px;
}

.tkp-rating-value{
  color:#111827;
  font-weight:700;
}

.tkp-rating-link{
  color:#1e6cf0;
  text-decoration:none;
}

.tkp-sep{
  color:#b7b7b7;
  margin:0 2px;
}

.tkp-sold{
  color:#8a8f98;
}

.tkp-shipping-note-row{
  gap:10px;
  padding:12px 0 8px;
}

.tkp-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:0 14px;
  border-radius:999px;
  background:#c9f1ea;
  color:#1a8676;
  font-weight:600;
  font-size:14px;
}

.tkp-shipping-note{
  color:#8a8f98;
  font-size:14px;
}

.tkp-ship-time-row{
  justify-content:space-between;
  gap:16px;
  color:#767b86;
  font-size:14px;
  padding-bottom:10px;
}

.tkp-trust-row{
  justify-content:space-between;
  gap:14px 18px;
  padding:10px 0 14px;
  color:#6f7480;
  font-size:14px;
  border-bottom:1px solid #ececec;
}

.tkp-trust-row span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.tkp-trust-row i{
  color:#b9b9b9;
  font-size:16px;
}

.tkp-price-box{
  display:grid;
  grid-template-columns:100px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  margin-top:14px;
  padding:14px;
  border:1px solid #dedede;
  border-radius:14px;
}

.tkp-discount-box{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:92px;
  border-radius:10px;
  background:#ff1a12;
  color:#fff;
  font-weight:800;
  font-size:26px;
  line-height:1;
  text-align:center;
  padding:8px;
}

.tkp-price-main{
  min-width:0;
}

.tkp-price-label{
  font-size:16px;
  font-weight:500;
  color:#111827;
}

.tkp-price-old{
  margin-top:4px;
  font-size:18px;
  color:#8a8f98;
  text-decoration:line-through;
}

.tkp-price-current{
  font-size:28px;
  font-weight:800;
  line-height:1.08;
  color:#b91212;
}

.tkp-stock-side{
  min-width:92px;
  text-align:right;
  font-size:14px;
  color:#616671;
}

.tkp-stock-side strong{
  color:#374151;
  font-weight:700;
}

.tkp-buy-form{
  margin-top:14px;
}

.tkp-form-row{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:10px;
  align-items:center;
  margin-bottom:12px;
}

.tkp-form-label{
  margin:0;
  font-size:16px;
  color:#3d4350;
}

.tkp-select,
.tkp-static-value,
.tkp-qty-box{
  width:100%;
  min-height:44px;
  border:1px solid #cfcfd3;
  border-radius:10px;
  background:#fff;
}

.tkp-select,
.tkp-qty-input{
  font-size:16px;
}

.tkp-select{
  padding:0 14px;
}

.tkp-static-value{
  display:flex;
  align-items:center;
  padding:0 14px;
  color:#3d4350;
}

.tkp-qty-box{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  overflow:hidden;
}

.tkp-qty-btn{
  border:0;
  background:#fff;
  font-size:24px;
  line-height:1;
  color:#23272f;
}

.tkp-qty-input{
  border:0;
  border-left:1px solid #e3e3e6;
  border-right:1px solid #e3e3e6;
  text-align:center;
  outline:none;
  padding:0 8px;
}

.tkp-action-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:6px;
}

.tkp-btn{
  height:50px;
  border:0;
  border-radius:12px;
  font-size:16px;
  font-weight:700;
}

.tkp-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.tkp-btn-soft{
  background:#f8d8d8;
  color:#d64535;
}

.tkp-btn-primary{
  background:#ff1a12;
  color:#fff;
}

.tkp-short-list{
  margin-top:14px;
  padding:4px 0 0;
}

.tkp-short-item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:16px;
  color:#60656f;
  line-height:1.45;
}

.tkp-short-item + .tkp-short-item{
  margin-top:4px;
}

.tkp-short-item i{
  color:#2dbd3a;
  font-size:18px;
  margin-top:1px;
}

.tkp-tabs-card,
.tkp-related-card,
.tkp-shop-card{
  margin-top:18px;
  padding:18px;
}

.tkp-tabs-nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  padding-bottom:14px;
}

.tkp-tab-btn{
  min-width:108px;
  height:50px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:#1e6cf0;
  font-size:18px;
  font-weight:700;
  padding:0 18px;
}

.tkp-tab-btn.is-active{
  background:#1e6cf0;
  color:#fff;
  box-shadow:0 8px 18px rgba(30,108,240,.16);
}

.tkp-tab-pane{
  display:none;
  padding:10px 0 0;
}

.tkp-tab-pane.is-active{
  display:block;
}

.tkp-review-summary{
  display:grid;
  grid-template-columns:minmax(220px, .9fr) minmax(0, 1.1fr);
  gap:18px;
  align-items:start;
  border:1px solid #ececec;
  border-radius:16px;
  padding:18px;
  background:#fff;
}

.tkp-review-scorebox{
  text-align:center;
}

.tkp-review-score{
  font-size:60px;
  line-height:1;
  font-weight:800;
  color:#111827;
}

.tkp-review-score-muted{
  margin-top:8px;
  color:#7a808a;
  font-size:14px;
}

.tkp-review-score-stars{
  margin-top:8px;
}

.tkp-big-star{
  color:#ff5b2e;
  font-size:18px;
  line-height:1;
}

.tkp-big-star.is-muted{
  color:#d8dde6;
}

.tkp-write-btn{
  margin-top:14px;
  border:0;
  border-radius:999px;
  background:#ff5b2e;
  color:#fff;
  font-size:16px;
  font-weight:700;
  height:40px;
  padding:0 18px;
}

.tkp-review-bars{
  padding-top:4px;
}

.tkp-bar-row{
  display:grid;
  grid-template-columns:22px 16px minmax(0,1fr) 22px;
  gap:10px;
  align-items:center;
}

.tkp-bar-row + .tkp-bar-row{
  margin-top:8px;
}

.tkp-bar-star-label,
.tkp-bar-star-icon,
.tkp-bar-count{
  color:#20242c;
  font-size:14px;
}

.tkp-bar-track{
  height:12px;
  border-radius:999px;
  background:#e8ebf0;
  overflow:hidden;
}

.tkp-bar-fill{
  height:100%;
  border-radius:999px;
  background:#c9ced8;
}

.tkp-review-empty-note{
  margin-top:12px;
  color:#6b7280;
  font-size:14px;
}

.tkp-form-wrap{
  margin-top:14px;
  padding:16px;
  border:1px solid #ececec;
  border-radius:16px;
  background:#fff;
}

.tkp-form-note,
.tkp-faq-note{
  color:#7a808a;
  font-size:14px;
}

.tkp-feedback-form{
  margin-top:12px;
}

.tkp-feedback-grid{
  display:grid;
  grid-template-columns:minmax(140px, .6fr) minmax(0,1.4fr) repeat(2, minmax(0, 1fr)) minmax(160px, .75fr);
  gap:12px;
  align-items:end;
}

.tkp-feedback-grid-qa{
  grid-template-columns:minmax(0,1.6fr) repeat(2, minmax(0, 1fr)) minmax(160px, .75fr);
}

.tkp-feedback-col{
  min-width:0;
}

.tkp-input-label{
  display:block;
  margin-bottom:6px;
  color:#4b5563;
  font-size:14px;
  font-weight:600;
}

.tkp-input{
  width:100%;
  min-height:42px;
  border:1px solid #d8dde6;
  border-radius:12px;
  background:#fff;
  padding:0 12px;
  color:#20242c;
  font-size:14px;
}

.tkp-submit-btn{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:12px;
  background:#1e6cf0;
  color:#fff;
  font-size:15px;
  font-weight:700;
}

.tkp-faq-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}

.tkp-faq-title{
  font-size:24px;
  font-weight:800;
  color:#111827;
}

.tkp-faq-write-btn{
  min-height:38px;
  border:1px solid #cfd5de;
  border-radius:10px;
  background:#fff;
  color:#4b5563;
  font-size:14px;
  font-weight:600;
  padding:0 14px;
}


.tkp-richtext{
  font-size:17px;
  line-height:1.7;
  color:#20242c;
}

.tkp-richtext img,
.tkp-richtext iframe,
.tkp-richtext video,
.tkp-richtext table{
  max-width:100%;
}

.tkp-spec-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.tkp-spec-item{
  border:1px solid #ececec;
  border-radius:14px;
  padding:14px 16px;
  background:#fafafa;
}

.tkp-spec-label{
  display:block;
  font-size:13px;
  color:#8a8f98;
  margin-bottom:6px;
}

.tkp-spec-value,
.tkp-spec-value a{
  color:#222831;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
}

.tkp-section-heading{
  margin-bottom:12px;
  color:#1f2937;
}

.tkp-review-list,
.tkp-faq-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.tkp-review-item,
.tkp-faq-item,
.tkp-empty-box{
  border:1px solid #ececec;
  border-radius:14px;
  padding:14px 16px;
  background:#fff;
}

.tkp-review-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:8px;
}

.tkp-review-name{
  font-weight:700;
  color:#20242c;
}

.tkp-review-meta,
.tkp-faq-meta{
  font-size:13px;
  color:#8a8f98;
}

.tkp-review-stars{
  white-space:nowrap;
}

.tkp-review-stars i{
  color:#d3d3d3;
}

.tkp-review-stars i.is-on{
  color:#f4b400;
}

.tkp-review-content,
.tkp-faq-q,
.tkp-faq-a{
  color:#2d3440;
  line-height:1.6;
}

.tkp-faq-q span,
.tkp-faq-a span{
  font-weight:700;
}

.tkp-faq-a{
  margin-top:8px;
  padding-top:8px;
  border-top:1px dashed #ececec;
}

.tkp-faq-a.is-pending{
  color:#8a8f98;
}

.tkp-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.tkp-card-head h2{
  margin:0;
  font-size:20px;
  font-weight:800;
  color:#111827;
}

.tkp-card-head a{
  color:#1e6cf0;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
}

.tkp-shop-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.tkp-shop-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.tkp-shop-avatar{
  width:64px;
  height:64px;
  border-radius:16px;
  background:#f1f3f6;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111827;
  font-size:28px;
  font-weight:800;
}

.tkp-shop-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tkp-shop-name{
  font-size:18px;
  font-weight:800;
  color:#111827;
}

.tkp-shop-sub{
  color:#6b7280;
}

.tkp-shop-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding:0 18px;
  border:1px solid #cfd5de;
  border-radius:12px;
  text-decoration:none;
  color:#4b5563;
  font-weight:700;
}

.tkp-shop-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:18px;
}

.tkp-shop-stat{
  border:1px solid #e8e8e8;
  border-radius:16px;
  padding:14px 18px;
}

.tkp-shop-stat-label{
  color:#6b7280;
  font-size:15px;
}

.tkp-shop-stat-value{
  margin-top:4px;
  font-size:18px;
  font-weight:800;
  color:#111827;
}

.tkp-shop-note{
  margin-top:12px;
  color:#6b7280;
  font-size:16px;
}

@media (max-width: 991.98px){
  .tkp-top{
    grid-template-columns:1fr;
  }

  .tkp-title{
    font-size:28px;
  }
}

@media (max-width: 767.98px){
  .store-body-container{
    margin-top:14px !important;
    margin-bottom:14px !important;
  }

  .tkp-summary-card,
  .tkp-tabs-card,
  .tkp-related-card,
  .tkp-shop-card{
    padding:14px;
  }

  .tkp-thumb{
    flex-basis:60px;
    width:60px;
    height:60px;
  }

  .tkp-title{
    font-size:17px;
    line-height:1.35;
  }

  .tkp-rating-row,
  .tkp-chip,
  .tkp-shipping-note,
  .tkp-ship-time-row,
  .tkp-trust-row,
  .tkp-stock-side,
  .tkp-form-label,
  .tkp-select,
  .tkp-static-value,
  .tkp-qty-input,
  .tkp-short-item,
  .tkp-richtext,
  .tkp-spec-value,
  .tkp-spec-value a,
  .tkp-review-content,
  .tkp-faq-q,
  .tkp-faq-a,
  .tkp-shop-sub,
  .tkp-shop-note,
  .tkp-card-head a{
    font-size:12px;
  }

  .tkp-spec-label,
  .tkp-review-meta,
  .tkp-faq-meta,
  .tkp-shop-stat-label,
  .tkp-review-score-muted,
  .tkp-form-note,
  .tkp-faq-note,
  .tkp-input-label,
  .tkp-review-empty-note,
  .tkp-bar-star-label,
  .tkp-bar-star-icon,
  .tkp-bar-count{
    font-size:11px;
  }

  .tkp-chip{
    height:24px;
    padding:0 10px;
  }

  .tkp-trust-row i,
  .tkp-short-item i{
    font-size:14px;
  }

  .tkp-price-box{
    grid-template-columns:68px minmax(0,1fr) auto;
    gap:10px;
    padding:12px;
    align-items:center;
  }

  .tkp-discount-box{
    min-height:68px;
    font-size:16px;
    border-radius:12px;
  }

  .tkp-price-label{
    font-size:12px;
  }

  .tkp-price-old{
    font-size:13px;
    margin-top:2px;
  }

  .tkp-price-current{
    font-size:18px;
    line-height:1.05;
  }

  .tkp-stock-side{
    grid-column:auto;
    min-width:auto;
    text-align:right;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:2px;
    white-space:nowrap;
    line-height:1.25;
    font-size:11px;
  }

  .tkp-form-row{
    grid-template-columns:1fr;
    gap:8px;
  }

  .tkp-select,
  .tkp-static-value,
  .tkp-qty-box{
    min-height:40px;
  }

  .tkp-qty-btn{
    font-size:18px;
  }

  .tkp-btn{
    height:42px;
    font-size:14px;
  }

  .tkp-action-row,
  .tkp-spec-grid,
  .tkp-shop-stats,
  .tkp-feedback-grid,
  .tkp-feedback-grid-qa{
    grid-template-columns:1fr;
  }

  .tkp-tabs-nav{
    gap:8px;
  }

  .tkp-tab-btn{
    min-width:auto;
    flex:1 1 calc(50% - 4px);
    font-size:12px;
    height:38px;
    padding:0 10px;
    border-radius:10px;
  }

  .tkp-review-summary{
    grid-template-columns:1fr;
    gap:14px;
    padding:14px;
  }

  .tkp-review-score{
    font-size:44px;
  }

  .tkp-big-star{
    font-size:14px;
  }

  .tkp-write-btn,
  .tkp-faq-write-btn,
  .tkp-submit-btn{
    min-height:38px;
    font-size:12px;
  }

  .tkp-form-wrap{
    padding:12px;
  }

  .tkp-faq-head{
    flex-direction:column;
    gap:10px;
  }

  .tkp-faq-title{
    font-size:18px;
  }

  .tkp-card-head h2,
  .tkp-shop-name,
  .tkp-shop-stat-value{
    font-size:14px;
  }

  .tkp-shop-top{
    align-items:flex-start;
    flex-direction:column;
  }

  .tkp-shop-avatar{
    width:52px;
    height:52px;
    font-size:22px;
  }
}

.tkp-variant-list{display:flex;flex-wrap:wrap;gap:8px;}
.tkp-variant-card{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid rgba(0,0,0,.12);border-radius:10px;background:#fff;font-size:13px;line-height:1.2;text-align:left;}
.tkp-variant-card.active{border-color:#111;box-shadow:0 0 0 1px rgba(17,17,17,.12) inset;}
.store-variant-thumb{width:24px;height:24px;min-width:24px;object-fit:cover;border-radius:4px;border:1px solid rgba(0,0,0,.08);display:block;}
