/*
 * ToptanTopkapı Premium Product Page v1.3.0
 * WoodMart-native integration: the theme's content-single-product.php structure remains intact.
 */

.ttk-premium-product-active {
  --ttk-navy: #061a45;
  --ttk-navy-2: #0b255b;
  --ttk-orange: #ff8a00;
  --ttk-border: #e5e9f0;
  --ttk-muted: #69758a;
  --ttk-soft: #f8fafc;
  --ttk-green: #19ad61;
  --ttk-radius: 10px;
}

.ttk-premium-product-active .single-product-content,
.ttk-premium-product-active .product-image-summary-wrap,
.ttk-premium-product-active .product-image-summary,
.ttk-premium-product-active .product-image-summary-inner,
.ttk-premium-product-active .summary-inner,
.ttk-premium-product-active .ttk-purchase-form {
  font-family: inherit;
}

/* Keep WoodMart's native product shell, only rebalance its existing columns. */
@media (min-width: 1025px) {
  .ttk-premium-product-active .product-image-summary-inner > .product-images {
    --wd-col-lg: 4 !important;
  }

  .ttk-premium-product-active .product-image-summary-inner > .summary,
  .ttk-premium-product-active .product-image-summary-inner > .entry-summary {
    --wd-col-lg: 8 !important;
  }
}

.ttk-premium-product-active .product-image-summary-wrap {
  margin-bottom: 28px;
}

.ttk-premium-product-active .product-images {
  position: relative;
}

/* Native WoodMart gallery, visually tuned to the reference. */
.ttk-premium-product-active .woocommerce-product-gallery,
.ttk-premium-product-active .product-images .woocommerce-product-gallery {
  margin-bottom: 14px;
}

.ttk-premium-product-active .woocommerce-product-gallery__wrapper,
.ttk-premium-product-active .wd-carousel-wrap,
.ttk-premium-product-active .woocommerce-product-gallery__image {
  border-radius: 10px;
}

.ttk-premium-product-active .woocommerce-product-gallery__image {
  overflow: hidden;
  background: #f7f8fa;
}

.ttk-premium-product-active .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Remove WoodMart summary extras that conflict with the requested clean composition. */
.ttk-premium-product-active .summary-inner > .wd-action-btn,
.ttk-premium-product-active .summary-inner > .wd-compare-btn,
.ttk-premium-product-active .summary-inner > .wd-wishlist-btn,
.ttk-premium-product-active .summary-inner > .product_meta,
.ttk-premium-product-active .summary-inner > .wd-social-icons,
.ttk-premium-product-active .summary-inner > .price {
  display: none !important;
}

.ttk-premium-product-active .summary-inner {
  margin: 0 !important;
  max-width: none !important;
}

/* Main custom area lives INSIDE WoodMart's existing .summary-inner. */
.ttk-purchase-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(285px, .82fr);
  gap: 28px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start;
}

.ttk-info-column,
.ttk-upload-panel {
  min-width: 0;
}

.ttk-product-title {
  margin: 0 0 4px !important;
  color: var(--ttk-navy) !important;
  font-size: clamp(28px, 2.25vw, 38px) !important;
  line-height: 1.13 !important;
  font-weight: 750 !important;
  letter-spacing: -.02em;
}

.ttk-product-subtitle {
  margin-bottom: 12px;
  color: #59677f;
  font-size: 15px;
  font-weight: 600;
}

.ttk-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin: 0 0 14px;
  color: #536078;
  font-size: 13px;
}

.ttk-rating-row strong {
  color: var(--ttk-navy);
}

.ttk-stars {
  position: relative;
  display: inline-block;
  color: #d8dee8;
  letter-spacing: 1px;
  line-height: 1;
}

.ttk-stars > span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #ffb000;
  white-space: nowrap;
}

.ttk-new-product {
  color: var(--ttk-muted);
  font-weight: 500;
}

.ttk-short-description {
  margin: 0 0 18px;
  color: #354258;
  font-size: 14px;
  line-height: 1.75;
}

.ttk-short-description p {
  margin: 0;
}

.ttk-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 12px 0;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

.ttk-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 13px;
  border-right: 1px solid #edf0f5;
}

.ttk-fact:first-child { padding-left: 0; }
.ttk-fact:last-child { border-right: 0; padding-right: 0; }

.ttk-fact > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #f5f7fb;
  color: var(--ttk-navy);
}

.ttk-fact svg,
.ttk-spec svg,
.ttk-panel-title svg,
.ttk-mini-info svg,
.ttk-upload-icon svg,
.ttk-preview-note svg,
.ttk-secure-note svg,
.ttk-guarantees svg,
.ttk-process svg,
.ttk-cta svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ttk-fact svg { width: 19px; height: 19px; }

.ttk-fact div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ttk-fact small {
  color: #6c788b;
  font-size: 11px;
  white-space: nowrap;
}

.ttk-fact strong {
  overflow: hidden;
  color: var(--ttk-navy);
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* WooCommerce native selects remain present for the variation engine, but not visible. */
.ttk-native-variations,
.ttk-native-select-wrap,
.ttk-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ttk-extra-attributes {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.ttk-extra-select-wrap {
  display: grid;
  gap: 7px;
}

.ttk-extra-select-wrap > span {
  color: var(--ttk-navy);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.ttk-extra-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ttk-border);
  border-radius: 7px;
  background: #fff;
}

.ttk-config-section {
  margin: 0 0 22px;
}

.ttk-section-label,
.ttk-panel-title,
.ttk-process-title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  color: var(--ttk-navy);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .01em;
}

.ttk-mini-info {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  color: #788398;
}

.ttk-mini-info svg { width: 14px; height: 14px; }

.ttk-choice-grid,
.ttk-print-grid {
  display: grid;
  gap: 10px;
}

.ttk-qty-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ttk-print-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ttk-qty-card,
.ttk-print-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid var(--ttk-border) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  background: #fff !important;
  color: var(--ttk-navy) !important;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.ttk-qty-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 10px 6px !important;
  line-height: 1.2 !important;
}

.ttk-qty-card strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.ttk-qty-card span {
  display: block;
  margin: 4px 0 7px;
  color: #657187;
  font-size: 11px;
  font-weight: 500;
}

.ttk-qty-card small {
  display: block;
  color: var(--ttk-navy);
  font-size: 11px;
  font-weight: 800;
}

.ttk-print-card {
  display: grid !important;
  place-items: center;
  min-height: 46px;
  padding: 8px 7px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-align: center;
  text-transform: none !important;
}

.ttk-qty-card:hover,
.ttk-print-card:hover {
  border-color: #ffb05b !important;
  transform: translateY(-1px);
}

.ttk-qty-card.is-active,
.ttk-print-card.is-active {
  border-color: var(--ttk-orange) !important;
  box-shadow: 0 0 0 1px var(--ttk-orange) inset !important;
  color: #d86c00 !important;
}

.ttk-qty-card.is-disabled,
.ttk-print-card.is-disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
}

.ttk-price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1px solid var(--ttk-border);
  border-radius: 7px;
  background: #fafbfd;
  color: #5f6b7f;
  font-size: 10.5px;
  line-height: 1.55;
}

.ttk-price-note strong {
  flex: 0 0 auto;
  color: var(--ttk-navy);
  font-size: 13px;
  white-space: nowrap;
}

/* Right panel */
.ttk-upload-panel {
  padding: 18px;
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 34, 69, .035);
}

.ttk-panel-block + .ttk-panel-block {
  margin-top: 18px;
}

.ttk-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px 15px;
  border: 1px dashed #cbd3df;
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--ttk-navy);
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.ttk-dropzone:hover,
.ttk-dropzone.is-dragover {
  border-color: var(--ttk-orange);
  background: #fffaf4;
}

.ttk-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ttk-upload-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  color: var(--ttk-navy);
}

.ttk-upload-icon svg { width: 31px; height: 31px; }

.ttk-dropzone strong {
  color: #111827;
  font-size: 11px;
  line-height: 1.55;
}

.ttk-dropzone small {
  margin-top: 8px;
  color: #7b8698;
  font-size: 9px;
}

.ttk-file-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid var(--ttk-border);
  border-radius: 7px;
  background: #fff;
}

.ttk-file-row[hidden] { display: none !important; }

.ttk-file-type {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--ttk-navy);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
}

.ttk-file-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ttk-file-meta strong {
  overflow: hidden;
  color: var(--ttk-navy);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ttk-file-meta small {
  color: #8792a3;
  font-size: 9px;
}

.ttk-file-ok {
  display: grid;
  place-items: center;
  color: var(--ttk-green);
}

.ttk-file-ok svg { width: 16px; height: 16px; }

.ttk-file-remove {
  display: grid !important;
  place-items: center;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #f04444 !important;
}

.ttk-file-remove svg { width: 16px; height: 16px; }

.ttk-preview-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--ttk-border);
  border-radius: 8px;
  background: #fafafa;
}

.ttk-preview-product {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ttk-preview-logo {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 30%;
  max-height: 28%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .08));
  pointer-events: none;
}

.ttk-preview-logo[hidden],
.ttk-preview-placeholder[hidden] { display: none !important; }

.ttk-preview-placeholder {
  position: absolute;
  inset: auto 12px 12px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(6, 26, 69, .88);
  color: #fff;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.ttk-preview-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 9px;
  border-radius: 6px;
  background: #f8fafc;
  color: #6b778a;
  font-size: 8.5px;
  line-height: 1.45;
}

.ttk-preview-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.ttk-native-variation-wrap {
  margin: 14px 0 0;
}

.ttk-native-variation-wrap .single_variation {
  display: none !important;
}

.ttk-native-variation-wrap .woocommerce-variation-add-to-cart {
  display: block !important;
}

.ttk-cta,
.ttk-premium-product-active button.ttk-cta.single_add_to_cart_button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--ttk-orange) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  opacity: 1;
}

.ttk-cta svg { width: 17px; height: 17px; }

.ttk-cta.disabled,
.ttk-cta:disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}

.ttk-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 9px;
  color: #7a8597;
  font-size: 8.5px;
}

.ttk-secure-note svg { width: 12px; height: 12px; }

/* Product specs are appended through the existing woocommerce_before_single_product_summary hook. */
.ttk-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ttk-spec {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.ttk-spec-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 50%;
  background: #f5f7fa;
  color: var(--ttk-navy);
}

.ttk-spec-icon svg { width: 16px; height: 16px; }

.ttk-spec div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ttk-spec strong,
.ttk-spec small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ttk-spec strong {
  color: var(--ttk-navy);
  font-size: 9.5px;
}

.ttk-spec small {
  color: #778398;
  font-size: 8.5px;
}

/* Below-product blocks are inserted via WoodMart's own woodmart_after_product_content hook. */
.ttk-guarantees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--ttk-border);
  border-radius: 9px;
  background: #fff;
}

.ttk-guarantees > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid #edf0f4;
}

.ttk-guarantees > div:first-child { padding-left: 0; }
.ttk-guarantees > div:last-child { padding-right: 0; border-right: 0; }

.ttk-guarantees > div > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #e2e7ee;
  border-radius: 50%;
  color: var(--ttk-navy);
}

.ttk-guarantees svg { width: 22px; height: 22px; }

.ttk-guarantees p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.ttk-guarantees strong {
  color: var(--ttk-navy);
  font-size: 11px;
}

.ttk-guarantees small {
  color: #6f7a8c;
  font-size: 9px;
  line-height: 1.45;
}

.ttk-process {
  margin: 0 0 28px;
  padding: 18px 20px 20px;
  border: 1px solid var(--ttk-border);
  border-radius: 9px;
  background: #fff;
}

.ttk-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.ttk-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.ttk-step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid #e1e6ee;
  border-radius: 50%;
  color: var(--ttk-navy);
}

.ttk-step-icon svg { width: 23px; height: 23px; }

.ttk-step-no {
  position: absolute;
  top: -6px;
  left: -6px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ttk-navy);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.ttk-step > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ttk-step strong {
  color: var(--ttk-navy);
  font-size: 10px;
}

.ttk-step small {
  color: #6e798c;
  font-size: 8.5px;
  line-height: 1.45;
}

.ttk-step-arrow {
  position: absolute;
  right: -18px;
  color: var(--ttk-navy);
  font-size: 20px;
}

/* Tablet */
@media (max-width: 1200px) {
  .ttk-purchase-form {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr);
    gap: 18px;
  }

  .ttk-qty-grid,
  .ttk-print-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ttk-facts {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .ttk-fact,
  .ttk-fact:first-child,
  .ttk-fact:last-child {
    padding: 0;
    border-right: 0;
  }

  .ttk-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ttk-purchase-form {
    grid-template-columns: 1fr;
  }

  .ttk-upload-panel {
    max-width: 620px;
  }

  .ttk-guarantees,
  .ttk-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ttk-guarantees > div {
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }

  .ttk-guarantees > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .ttk-step-arrow { display: none; }
}

/* Mobile */
@media (max-width: 767px) {
  .ttk-product-title {
    font-size: 28px !important;
  }

  .ttk-purchase-form {
    gap: 20px;
  }

  .ttk-qty-grid,
  .ttk-print-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ttk-facts {
    grid-template-columns: 1fr 1fr;
  }

  .ttk-fact:nth-child(3) {
    grid-column: 1 / -1;
  }

  .ttk-price-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .ttk-upload-panel {
    padding: 14px;
  }

  .ttk-specs,
  .ttk-guarantees,
  .ttk-process-grid {
    grid-template-columns: 1fr;
  }

  .ttk-guarantees {
    padding: 8px 14px;
  }

  .ttk-guarantees > div,
  .ttk-guarantees > div:first-child,
  .ttk-guarantees > div:last-child {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }

  .ttk-guarantees > div:last-child {
    border-bottom: 0;
  }

  .ttk-process-grid {
    gap: 18px;
  }
}

/* ==========================================================
 * v1.3.0 — WoodMart-native typography normalization
 * Uses the active theme's own font family everywhere and keeps
 * the whole premium product UI on one coherent type scale.
 * ========================================================== */
.ttk-premium-product-active {
  --ttk-type-xs: 11px;
  --ttk-type-sm: 12px;
  --ttk-type-base: 13px;
  --ttk-type-md: 14px;
  --ttk-type-lg: 18px;
}

/* Never introduce a plugin font. Buttons / selects otherwise tend to
   fall back to browser or WoodMart button-specific fonts. */
.ttk-premium-product-active .ttk-purchase-form,
.ttk-premium-product-active .ttk-purchase-form *,
.ttk-premium-product-active .ttk-specs,
.ttk-premium-product-active .ttk-specs *,
.ttk-premium-product-active .ttk-guarantees,
.ttk-premium-product-active .ttk-guarantees *,
.ttk-premium-product-active .ttk-process,
.ttk-premium-product-active .ttk-process * {
  font-family: inherit !important;
}

.ttk-premium-product-active .ttk-purchase-form,
.ttk-premium-product-active .ttk-guarantees,
.ttk-premium-product-active .ttk-process,
.ttk-premium-product-active .ttk-specs {
  font-size: var(--ttk-type-base);
  line-height: 1.5;
}

/* Product heading keeps the theme heading stack through the native H1. */
.ttk-premium-product-active .ttk-product-title {
  font-size: clamp(30px, 2vw, 36px) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  letter-spacing: -.015em !important;
}

.ttk-premium-product-active .ttk-product-subtitle {
  font-size: var(--ttk-type-md) !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.ttk-premium-product-active .ttk-rating-row {
  font-size: var(--ttk-type-base) !important;
  line-height: 1.45 !important;
}

.ttk-premium-product-active .ttk-new-product {
  font-size: var(--ttk-type-base) !important;
  font-weight: 400 !important;
}

.ttk-premium-product-active .ttk-short-description {
  font-size: var(--ttk-type-md) !important;
  line-height: 1.65 !important;
}

/* Three information facts */
.ttk-premium-product-active .ttk-fact small {
  font-size: var(--ttk-type-xs) !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

.ttk-premium-product-active .ttk-fact strong {
  font-size: var(--ttk-type-sm) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

/* Configuration headings */
.ttk-premium-product-active .ttk-section-label,
.ttk-premium-product-active .ttk-panel-title,
.ttk-premium-product-active .ttk-process-title,
.ttk-premium-product-active .ttk-extra-select-wrap > span {
  font-size: var(--ttk-type-base) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.ttk-premium-product-active .ttk-extra-select {
  font-size: var(--ttk-type-base) !important;
  line-height: 1.4 !important;
}

/* Quantity cards */
.ttk-premium-product-active .ttk-qty-card {
  line-height: 1.25 !important;
}

.ttk-premium-product-active .ttk-qty-card strong {
  font-size: var(--ttk-type-lg) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.ttk-premium-product-active .ttk-qty-card span {
  font-size: var(--ttk-type-sm) !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}

.ttk-premium-product-active .ttk-qty-card small {
  font-size: var(--ttk-type-sm) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.ttk-premium-product-active .ttk-print-card {
  font-size: var(--ttk-type-base) !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.ttk-premium-product-active .ttk-price-note {
  font-size: var(--ttk-type-sm) !important;
  line-height: 1.55 !important;
}

.ttk-premium-product-active .ttk-price-note strong {
  font-size: var(--ttk-type-md) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

/* Upload / preview panel */
.ttk-premium-product-active .ttk-dropzone strong {
  font-size: var(--ttk-type-base) !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

.ttk-premium-product-active .ttk-dropzone small {
  font-size: var(--ttk-type-xs) !important;
  line-height: 1.4 !important;
}

.ttk-premium-product-active .ttk-file-type {
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.ttk-premium-product-active .ttk-file-meta strong {
  font-size: var(--ttk-type-sm) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.ttk-premium-product-active .ttk-file-meta small {
  font-size: var(--ttk-type-xs) !important;
  line-height: 1.35 !important;
}

.ttk-premium-product-active .ttk-preview-placeholder,
.ttk-premium-product-active .ttk-preview-note,
.ttk-premium-product-active .ttk-secure-note {
  font-size: var(--ttk-type-xs) !important;
  line-height: 1.45 !important;
}

.ttk-premium-product-active .ttk-cta,
.ttk-premium-product-active button.ttk-cta.single_add_to_cart_button {
  font-size: var(--ttk-type-md) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

/* Product specification strip below the native gallery */
.ttk-premium-product-active .ttk-spec strong {
  font-size: var(--ttk-type-sm) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.ttk-premium-product-active .ttk-spec small {
  font-size: var(--ttk-type-xs) !important;
  line-height: 1.35 !important;
}

/* Guarantee strip */
.ttk-premium-product-active .ttk-guarantees strong {
  font-size: var(--ttk-type-base) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.ttk-premium-product-active .ttk-guarantees small {
  font-size: var(--ttk-type-xs) !important;
  line-height: 1.45 !important;
}

/* Order process */
.ttk-premium-product-active .ttk-step-no {
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.ttk-premium-product-active .ttk-step strong {
  font-size: var(--ttk-type-sm) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.ttk-premium-product-active .ttk-step small {
  font-size: var(--ttk-type-xs) !important;
  line-height: 1.45 !important;
}

/* Native theme tabs should remain WoodMart-native; only make sure our custom
   block does not inject a different font inheritance into their area. */
.ttk-premium-product-active .product-tabs-wrapper,
.ttk-premium-product-active .product-tabs-wrapper * {
  font-family: inherit !important;
}

@media (max-width: 767px) {
  .ttk-premium-product-active .ttk-product-title {
    font-size: 28px !important;
  }

  .ttk-premium-product-active {
    --ttk-type-base: 13px;
    --ttk-type-md: 14px;
  }
}

/* v3.0.0 — guest logo and telephone-contact workflow */
.ttk-premium-product-active .ttk-contact-panel {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(6, 35, 82, .10);
	font-family: inherit;
}

.ttk-premium-product-active .ttk-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}

.ttk-premium-product-active .ttk-contact-grid label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	font-family: inherit;
}

.ttk-premium-product-active .ttk-contact-grid .ttk-contact-phone {
	grid-column: 1 / -1;
}

.ttk-premium-product-active .ttk-contact-grid label > span {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	color: #243854;
	font-family: inherit;
}

.ttk-premium-product-active .ttk-contact-grid label > span small {
	font-size: inherit;
	font-weight: 400;
	color: #758399;
}

.ttk-premium-product-active .ttk-contact-grid input {
	width: 100%;
	height: 38px;
	padding: 0 11px;
	border: 1px solid #dce3ed;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	color: #0a234e;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.ttk-premium-product-active .ttk-contact-grid input:focus {
	border-color: #ff8a00;
	box-shadow: 0 0 0 3px rgba(255, 138, 0, .10);
}

.ttk-premium-product-active .ttk-request-message {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 7px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
}

.ttk-premium-product-active .ttk-request-message.is-error {
	background: #fff4f4;
	border: 1px solid #f1c7c7;
	color: #a61b1b;
}

.ttk-premium-product-active .ttk-request-message.is-success {
	background: #f1fbf5;
	border: 1px solid #c9ead4;
	color: #15733a;
}

.ttk-premium-product-active .ttk-cta.is-loading {
	cursor: wait;
	opacity: .78;
}

@media (max-width: 575px) {
	.ttk-premium-product-active .ttk-contact-grid {
		grid-template-columns: 1fr;
	}
	.ttk-premium-product-active .ttk-contact-grid .ttk-contact-phone {
		grid-column: auto;
	}
}
