/* ============================================================
   Technotech Product Page — Complete Styles
   Scoped under .tt-product-page / body.single-product
   ============================================================ */

:root {
  --tt-primary: #1a3c6e;
  --tt-accent: #d35400;
  --tt-green: #2e7d32;
  --tt-dark: #1a1a1a;
  --tt-muted: #5f6368;
  --tt-border: #e0e0e0;
  --tt-bg: #f5f5f5;
  --tt-link: #1a3c6e;
}

/* ============================================================
   STOREFRONT OVERRIDES — break out of narrow container
   ============================================================ */

/* Widen the page container from 1064px to 1300px */
body.single-product .col-full {
  max-width: 1300px !important;
  box-sizing: border-box !important;
  padding: 0 32px !important;
}

/* Content area: full width, no float, no sidebar */
body.single-product .site-content .content-area {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* Kill sidebar */
body.single-product .site-content #secondary,
body.single-product .site-content .widget-area {
  display: none !important;
}

/* Kill Storefront breadcrumb (we render our own) */
body.single-product .storefront-breadcrumb {
  display: none !important;
}

/* Kill Storefront's float product layout */
.single-product div.product .images,
.single-product div.product .woocommerce-product-gallery {
  width: auto !important;
  float: none !important;
}
.single-product div.product .summary {
  width: auto !important;
  float: none !important;
}

/* Kill Storefront's sticky add-to-cart bar */
body.single-product .storefront-sticky-add-to-cart {
  display: none !important;
}

/* Kill Storefront's product pagination */
body.single-product .storefront-product-pagination {
  display: none !important;
}

/* Reset Storefront product form spacing */
.tt-product-page form.cart {
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset Storefront product price */
.single-product div.product p.price {
  font-size: inherit !important;
  margin: 0 !important;
}

/* Reset any Storefront float wrappers */
.tt-product-page .product-detail-wrapper,
.tt-product-page .summary.entry-summary {
  display: block; width: 100%; max-width: none;
  float: none; margin: 0; padding: 0;
}

/* Base typography — override Storefront's Source Sans Pro */
body.single-product .tt-product-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tt-dark);
}

/* ============================================================
   GRID — replaces Bootstrap .row / .col-lg-*
   ============================================================ */

.tt-product-page .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.tt-product-page .col-lg-5,
.tt-product-page .col-lg-7 {
  position: relative;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .tt-product-page .col-lg-5 {
    flex: 0 0 42%;
    max-width: 42%;
  }
  .tt-product-page .col-lg-7 {
    flex: 0 0 58%;
    max-width: 58%;
  }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.tt-product-page .tt-breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--tt-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tt-product-page .tt-breadcrumb a {
  color: var(--tt-link);
  text-decoration: none;
}

.tt-product-page .tt-breadcrumb a:hover {
  text-decoration: underline;
}

.tt-product-page .tt-breadcrumb .sep {
  margin: 0 6px;
  color: #bbb;
}

/* ============================================================
   HERO — gallery + info side by side
   ============================================================ */

.tt-product-page .tt-hero {
  padding: 10px 0 40px;
}

/* -- Gallery -- */

.tt-product-page .tt-gallery-main {
  border: 1px solid var(--tt-border);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  padding: 16px;
  margin-bottom: 12px;
}

.tt-product-page .tt-gallery-main img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

/* Zoom lens overlay */
.tt-product-page .tt-gallery-main {
  position: relative;
  cursor: crosshair;
}

.tt-product-page .tt-zoom-lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  background-color: #fff;
}

.tt-product-page .tt-gallery-main video {
  max-width: 100%;
  max-height: 500px;
  border-radius: 4px;
}

.tt-product-page .tt-thumbstrip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tt-product-page .tt-thumb {
  width: 70px;
  height: 70px;
  border: 2px solid var(--tt-border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 3px;
  transition: border-color 0.15s;
}

.tt-product-page .tt-thumb:hover,
.tt-product-page .tt-thumb.active {
  border-color: var(--tt-accent);
}

.tt-product-page .tt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tt-product-page .tt-thumb-video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.tt-product-page .tt-thumb-video i {
  color: #fff;
  font-size: 20px;
}

@media (min-width: 992px) {
  .tt-product-page .tt-gallery-col {
    position: sticky;
    top: 20px;
  }
}

/* -- Info Column -- */

.tt-product-page .tt-info {
  padding-left: 10px;
}

@media (max-width: 991px) {
  .tt-product-page .tt-info {
    padding-left: 0;
    margin-top: 24px;
  }
}

/* ============================================================
   BRAND LINK
   ============================================================ */

.tt-product-page .tt-brand-link {
  font-size: 14px;
  margin-bottom: 8px;
}

.tt-product-page .tt-brand-link a {
  color: var(--tt-link);
  text-decoration: none;
}

.tt-product-page .tt-brand-link a:hover {
  text-decoration: underline;
}

/* ============================================================
   TITLE — big, readable, no Storefront overrides
   ============================================================ */

.tt-product-page .tt-title {
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.2px;
  color: var(--tt-dark) !important;
}

/* ============================================================
   RATING
   ============================================================ */

.tt-product-page .tt-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-stars {
  color: #e5a100;
  font-size: 15px;
  letter-spacing: 1px;
}

.tt-product-page .tt-stars .empty {
  color: #ccc;
}

.tt-product-page .tt-rating-text {
  font-size: 14px;
  color: var(--tt-link);
  text-decoration: none;
}

/* Hide WC's own star-rating HTML inside our rating text */
.tt-product-page .tt-rating-text .star-rating {
  display: none;
}

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

.tt-product-page .tt-price-block {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.tt-product-page .tt-discount {
  background: var(--tt-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}

.tt-product-page .tt-sale-price {
  font-size: 32px;
  font-weight: 500;
}

.tt-product-page .tt-sale-price .sym {
  font-size: 16px;
  position: relative;
  top: -10px;
}

.tt-product-page .tt-orig-price {
  font-size: 15px;
  color: var(--tt-muted);
}

.tt-product-page .tt-orig-price s {
  text-decoration: line-through;
}

.tt-product-page .tt-tax {
  font-size: 13px;
  color: var(--tt-muted);
  margin-top: 4px;
}

/* ============================================================
   AVAILABILITY / DELIVERY
   ============================================================ */

.tt-product-page .tt-availability {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-border);
  font-size: 15px;
  line-height: 1.9;
}

.tt-product-page .tt-in-stock {
  color: var(--tt-green);
  font-weight: 600;
}

.tt-product-page .tt-out-of-stock {
  color: #c62828;
  font-weight: 600;
}

.tt-product-page .tt-delivery-info {
  color: var(--tt-muted);
}

.tt-product-page .tt-delivery-info strong {
  color: var(--tt-dark);
}

/* ============================================================
   TRUST BADGES
   ============================================================ */

.tt-product-page .tt-badges {
  display: flex;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-badge {
  flex: 1;
  text-align: center;
  padding: 14px 6px;
  border-right: 1px solid var(--tt-border);
}

.tt-product-page .tt-badge:last-child {
  border-right: none;
}

.tt-product-page .tt-badge-icon {
  font-size: 26px;
  color: var(--tt-primary);
  margin-bottom: 6px;
}

.tt-product-page .tt-badge-text {
  font-size: 12px;
  color: var(--tt-dark);
  line-height: 1.35;
  font-weight: 500;
}

@media (max-width: 575px) {
  .tt-product-page .tt-badges {
    flex-wrap: wrap;
  }
  .tt-product-page .tt-badge {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--tt-border);
  }
  .tt-product-page .tt-badge:nth-child(2) {
    border-right: none;
  }
  .tt-product-page .tt-badge:nth-child(3),
  .tt-product-page .tt-badge:nth-child(4) {
    border-bottom: none;
  }
}

/* ============================================================
   VARIANT SELECTOR
   ============================================================ */

.tt-product-page .tt-variants {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-variants-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.tt-product-page .tt-variants-label span {
  font-weight: 400;
}

.tt-product-page .tt-variant-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tt-product-page .tt-variant-btn {
  border: 2px solid var(--tt-border);
  border-radius: 8px;
  padding: 10px 18px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  min-width: 90px;
  transition: border-color 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.tt-product-page .tt-variant-btn:hover {
  border-color: var(--tt-accent);
  text-decoration: none;
  color: inherit;
}

.tt-product-page .tt-variant-btn.active {
  border-color: var(--tt-accent);
  box-shadow: 0 0 0 1px var(--tt-accent);
}

.tt-product-page .tt-variant-name {
  font-size: 14px;
  font-weight: 600;
}

.tt-product-page .tt-variant-price {
  font-size: 13px;
  color: var(--tt-muted);
}

/* ============================================================
   QUICK SPECS TABLE
   ============================================================ */

.tt-product-page .tt-specs-quick {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-specs-quick table {
  width: 100%;
  border-collapse: collapse;
}

.tt-product-page .tt-specs-quick tr:nth-child(even) {
  background: var(--tt-bg);
}

.tt-product-page .tt-specs-quick th {
  font-weight: 600;
  font-size: 14px;
  padding: 9px 12px;
  color: var(--tt-dark);
  vertical-align: top;
  white-space: nowrap;
}

.tt-product-page .tt-specs-quick td {
  font-size: 14px;
  padding: 9px 12px;
  color: var(--tt-muted);
}

@media (max-width: 575px) {
  .tt-product-page .tt-specs-quick th {
    white-space: normal;
    width: 38%;
  }
}

/* ============================================================
   ABOUT THIS ITEM
   ============================================================ */

.tt-product-page .tt-about {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-about h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  color: var(--tt-dark) !important;
}

.tt-product-page .tt-about ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc;
}

.tt-product-page .tt-about li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 5px;
}

.tt-product-page .tt-about p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ============================================================
   VARIABLE PRODUCT — variation dropdowns
   ============================================================ */

/* Variations table */
.tt-product-page .tt-buy-block .variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.tt-product-page .tt-buy-block .variations td,
.tt-product-page .tt-buy-block .variations th {
  border: none;
  padding: 6px 0;
  vertical-align: middle;
  background: none;
}

.tt-product-page .tt-buy-block .variations .label label {
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
}

.tt-product-page .tt-buy-block .variations .value select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  background: #f7f8fa;
  color: #1a202c;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.tt-product-page .tt-buy-block .variations .value select:focus {
  border-color: #d35400;
  outline: none;
}

.tt-product-page .tt-buy-block .variations .reset_variations {
  font-size: 13px;
  color: #d35400;
  margin-top: 6px;
  display: inline-block;
}

/* Variation price display */
.tt-product-page .tt-buy-block .woocommerce-variation-price {
  margin-bottom: 12px;
}

.tt-product-page .tt-buy-block .woocommerce-variation-price .price {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
}

/* Variation description */
.tt-product-page .tt-buy-block .woocommerce-variation-description p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

/* Variation availability */
.tt-product-page .tt-buy-block .woocommerce-variation-availability .stock {
  font-size: 13px;
  margin-bottom: 10px;
}

/* Style the Add to Cart button inside variation form */
.tt-product-page .tt-buy-block .variations_form .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  padding: 14px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #d35400 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
  line-height: 1.4;
  margin-top: 8px;
}

.tt-product-page .tt-buy-block .variations_form .single_add_to_cart_button:hover {
  background: #b94700 !important;
}

/* Quantity in variation form */
.tt-product-page .tt-buy-block .variations_form .quantity .qty {
  width: 64px !important;
  padding: 8px 10px !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  text-align: center !important;
  background: #f7f8fa !important;
}

/* ============================================================
   BUY BLOCK — Cart + Buy Now + Wishlist
   ============================================================ */

.tt-product-page .tt-buy-block {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tt-product-page .tt-qty-label {
  font-size: 15px;
  font-weight: 600;
}

/* Style the WooCommerce quantity input */
.tt-product-page .tt-buy-block .quantity .qty,
.tt-product-page .tt-buy-block .tt-qty-input {
  width: 64px !important;
  padding: 8px 10px !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  text-align: center !important;
  background: var(--tt-bg) !important;
  box-shadow: none !important;
}

/* Add to Cart button */
.tt-product-page .tt-btn-cart,
.tt-product-page .tt-buy-block .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  padding: 14px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--tt-accent) !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
  line-height: 1.4;
  box-shadow: none !important;
}

.tt-product-page .tt-btn-cart:hover,
.tt-product-page .tt-buy-block .single_add_to_cart_button:hover {
  background: #b94700 !important;
}

/* Buy Now button */
.tt-product-page .tt-btn-buy {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--tt-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  transition: background 0.15s;
  text-decoration: none;
  line-height: 1.4;
}

.tt-product-page .tt-btn-buy:hover {
  background: #152f55;
  color: #fff;
  text-decoration: none;
}

/* Wishlist */
.tt-product-page .tt-wishlist {
  margin-top: 12px;
  font-size: 14px;
}

.tt-product-page .tt-wishlist a {
  color: var(--tt-link);
  text-decoration: none;
}

.tt-product-page .tt-wishlist a:hover {
  text-decoration: underline;
}

/* ============================================================
   META — SKU, category, tags
   ============================================================ */

.tt-product-page .tt-meta {
  font-size: 13px;
  color: var(--tt-muted);
  line-height: 2;
}

.tt-product-page .tt-meta b {
  color: var(--tt-dark);
  font-weight: 600;
}

.tt-product-page .tt-meta a {
  color: var(--tt-link);
  text-decoration: none;
}

.tt-product-page .tt-meta a:hover {
  text-decoration: underline;
}

/* ============================================================
   STICKY MOBILE BAR
   ============================================================ */

.tt-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--tt-border);
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.tt-sticky-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1300px;
  margin: 0 auto;
}

.tt-sticky-price {
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.tt-sticky-btn {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--tt-accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.tt-sticky-btn:hover {
  background: #b94700;
}

@media (max-width: 991px) {
  .tt-sticky-bar { display: block; }
  body.single-product { padding-bottom: 70px; }
}

/* ============================================================
   SECTIONS BELOW HERO
   ============================================================ */

.tt-product-page .tt-section {
  padding: 36px 0;
  border-top: 1px solid var(--tt-border);
}

.tt-product-page .tt-section-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 20px !important;
  color: var(--tt-dark) !important;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */

.tt-product-page .tt-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tt-product-page .tt-video-card {
  border: 1px solid var(--tt-border);
  border-radius: 10px;
  overflow: hidden;
}

.tt-product-page .tt-video-card video,
.tt-product-page .tt-video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.tt-product-page .tt-video-caption {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--tt-dark);
  font-weight: 500;
}

@media (max-width: 575px) {
  .tt-product-page .tt-video-grid {
    grid-template-columns: 1fr;
  }
}

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

.tt-product-page .tt-desc {
  font-size: 16px;
  line-height: 1.8;
  font-variant-emoji: text;
}

.tt-product-page .tt-desc h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 28px 0 12px !important;
  color: var(--tt-dark) !important;
}

.tt-product-page .tt-desc ul {
  padding-left: 22px;
  margin: 12px 0;
}

.tt-product-page .tt-desc li {
  margin-bottom: 6px;
  font-size: 16px;
}

/* WordPress Twemoji / wp-smiley — keep inline at text size */
.tt-product-page .tt-desc img.wp-smiley {
  display: inline !important;
  height: 1em !important;
  width: 1em !important;
  max-height: 1em !important;
  margin: 0 3px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  vertical-align: -0.1em;
}

/* Inline images in paragraphs — constrain and display side-by-side (exclude emoji) */
.tt-product-page .tt-desc p > img:not(.wp-smiley) {
  display: inline-block;
  max-width: 260px;
  width: auto !important;
  height: auto !important;
  border-radius: 8px;
  margin: 8px 12px 8px 0;
  vertical-align: top;
  border: 1px solid var(--tt-border);
}

/* Paragraphs containing real images (not emoji) — flex row */
.tt-product-page .tt-desc p:has(> img:not(.wp-smiley):first-child) {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.tt-product-page .tt-desc p:has(> img:not(.wp-smiley):first-child) > img:not(.wp-smiley) {
  margin: 0;
}

/* Figures / wp-caption — constrain width, override inline styles */
.tt-product-page .tt-desc figure,
.tt-product-page .tt-desc figure.wp-caption {
  max-width: 420px !important;
  width: auto !important;
  margin: 20px 0;
  padding: 0;
}

.tt-product-page .tt-desc figure img {
  display: block;
  max-width: 100%;
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  height: auto !important;
  border-radius: 8px;
  border: 1px solid var(--tt-border);
  margin: 0;
}

.tt-product-page .tt-desc figcaption,
.tt-product-page .tt-desc .wp-caption-text {
  font-size: 13px;
  color: var(--tt-muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* Standalone desc images (not in p or figure) */
.tt-product-page .tt-desc > img {
  max-width: 560px;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid var(--tt-border);
}

/* Description grid (our custom class) */
.tt-product-page .tt-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.tt-product-page .tt-desc-grid img {
  width: 100%;
  border-radius: 6px;
}

@media (max-width: 575px) {
  .tt-product-page .tt-desc-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduce empty whitespace from &nbsp; paragraphs in descriptions */
.tt-product-page .tt-desc p:empty {
  display: none;
}

.tt-product-page .tt-desc p {
  margin-bottom: 0.75em;
}

/* Amazon-scraped list classes */
.tt-product-page .tt-desc .a-unordered-list {
  padding: 0 0 0 20px;
  margin: 10px 0;
}

.tt-product-page .tt-desc .a-unordered-list li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.tt-product-page .tt-desc .a-list-item {
  font-size: inherit;
}

/* What's in the Box */
.tt-product-page .tt-inbox {
  background: var(--tt-bg);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 24px;
}

.tt-product-page .tt-inbox h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.tt-product-page .tt-inbox ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.tt-product-page .tt-inbox li {
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================================
   FULL SPECIFICATIONS TABLE
   ============================================================ */

.tt-product-page .tt-specs-full {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
}

.tt-product-page .tt-specs-full tr:nth-child(even) {
  background: var(--tt-bg);
}

.tt-product-page .tt-specs-full th,
.tt-product-page .tt-specs-full td {
  padding: 11px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--tt-border);
}

.tt-product-page .tt-specs-full th {
  font-weight: 600;
  color: var(--tt-dark);
  white-space: nowrap;
}

.tt-product-page .tt-specs-full td {
  color: var(--tt-muted);
}

@media (max-width: 575px) {
  .tt-product-page .tt-specs-full th {
    white-space: normal;
    width: 38%;
    font-size: 13px;
    padding: 9px 12px;
  }
  .tt-product-page .tt-specs-full td {
    font-size: 13px;
    padding: 9px 12px;
  }
}

/* ============================================================
   REVIEWS — card-based layout
   ============================================================ */

/* Empty state */
.tt-product-page .tt-reviews-empty {
  font-size: 15px;
  color: var(--tt-muted);
}

.tt-product-page .tt-review-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 24px;
  border: 1px solid var(--tt-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--tt-dark);
  text-decoration: none;
  background: #fff;
  transition: background 0.15s;
}

.tt-product-page .tt-review-cta:hover {
  background: var(--tt-bg);
  text-decoration: none;
}

/* Reviews title ("5 reviews for ...") */
.tt-product-page #tt-reviews .woocommerce-Reviews-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--tt-muted) !important;
  margin: 0 0 24px !important;
}

/* Review list — remove default list styling */
.tt-product-page #tt-reviews .commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual review card */
.tt-product-page #tt-reviews .commentlist > li {
  margin-bottom: 16px;
  padding: 20px 24px;
  background: var(--tt-bg);
  border-radius: 10px;
  border: 1px solid var(--tt-border);
  list-style: none;
}

.tt-product-page #tt-reviews .commentlist > li:last-child {
  margin-bottom: 0;
}

/* Review container — avatar + text side by side */
.tt-product-page #tt-reviews .comment_container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Avatar — small circle */
.tt-product-page #tt-reviews .comment_container > img.avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  flex-shrink: 0;
  border: 1px solid var(--tt-border);
}

/* Comment text area */
.tt-product-page #tt-reviews .comment-text {
  flex: 1;
  min-width: 0;
}

/* WC star-rating — keep WC's CSS-only stars, just size and space */
.tt-product-page #tt-reviews .star-rating {
  font-size: 13px;
  margin-bottom: 4px;
  float: none;
}

/* Meta — author and date on one line */
.tt-product-page #tt-reviews .meta {
  font-size: 14px;
  margin: 0 0 10px;
  padding: 0;
  line-height: 1.4;
}

.tt-product-page #tt-reviews .woocommerce-review__author {
  color: var(--tt-dark);
  font-weight: 600;
  font-size: 14px;
}

.tt-product-page #tt-reviews .woocommerce-review__dash {
  color: #ccc;
  margin: 0 4px;
}

.tt-product-page #tt-reviews .woocommerce-review__published-date {
  font-size: 13px;
  color: var(--tt-muted);
}

/* Review body text */
.tt-product-page #tt-reviews .description {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tt-dark);
}

.tt-product-page #tt-reviews .description p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.65;
}

/* Hide empty inline-styled spacer divs inside reviews */
.tt-product-page #tt-reviews .description > div[style] {
  display: none !important;
}

/* Review images — small thumbnails in a row */
.tt-product-page #tt-reviews .description img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  border-radius: 8px !important;
  border: 1px solid var(--tt-border) !important;
  margin: 8px 8px 0 0 !important;
  cursor: pointer;
  transition: transform 0.15s;
}

.tt-product-page #tt-reviews .description img:hover {
  transform: scale(1.05);
}

/* Verification/login message */
.tt-product-page #tt-reviews .woocommerce-verification-required,
.tt-product-page #tt-reviews .woocommerce-noreviews {
  font-size: 13px;
  color: var(--tt-muted);
  padding: 16px 0 0;
  border-top: 1px solid var(--tt-border);
  margin-top: 20px;
}

/* Comment form styling */
.tt-product-page #tt-reviews .comment-form label {
  font-size: 14px;
}

.tt-product-page #tt-reviews .comment-form textarea,
.tt-product-page #tt-reviews .comment-form input[type="text"],
.tt-product-page #tt-reviews .comment-form input[type="email"] {
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--tt-border);
  border-radius: 6px;
}

.tt-product-page #tt-reviews .comment-form .form-submit input[type="submit"] {
  background: var(--tt-primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.tt-product-page #tt-reviews .comment-form .form-submit input[type="submit"]:hover {
  background: #152f55;
}

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */

.tt-product-page .tt-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .tt-product-page .tt-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .tt-product-page .tt-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tt-product-page .tt-rcard {
  border: 1px solid var(--tt-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: block;
}

.tt-product-page .tt-rcard:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  text-decoration: none;
  color: inherit;
}

.tt-product-page .tt-rcard-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 16px;
  background: #fff;
}

.tt-product-page .tt-rcard-body {
  padding: 12px 14px 16px;
}

.tt-product-page .tt-rcard-title {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-product-page .tt-rcard-price {
  font-size: 14px;
}

.tt-product-page .tt-rcard-price .sale {
  font-weight: 700;
}

.tt-product-page .tt-rcard-price .orig {
  text-decoration: line-through;
  color: var(--tt-muted);
  font-size: 12px;
  margin-left: 5px;
}

.tt-product-page .tt-rcard-price .off {
  color: var(--tt-green);
  font-size: 12px;
  font-weight: 600;
  margin-left: 5px;
}
