/* =========================================================
   TOBYLEX 1.1.73 – Poppins tipografija proizvoda
   Namjerno ograničeno na sadržaj proizvoda i kartice.
   Ne dira header, footer, checkout ni opću tipografiju teme.
   ========================================================= */

:root {
  --tlx-prod-orange: #f68902;
  --tlx-prod-orange-dark: #e47c00;
  --tlx-prod-orange-soft: #fff6ed;
  --tlx-prod-heading: #48433f;
  --tlx-prod-text: #56504b;
  --tlx-prod-strong: #4e4944;
  --tlx-prod-muted: #817a73;
  --tlx-prod-card-title: #514c48;
  --tlx-prod-price: #45413d;
  --tlx-prod-border: #ece5de;
}

/* ---------- KRATKI OPIS = GLAVNI OPIS ---------- */
body.single-product .summary.entry-summary .woocommerce-product-details__short-description,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description p,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description li,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description span,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description a,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description strong,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description b,
body.single-product .woocommerce-Tabs-panel,
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li,
body.single-product .woocommerce-Tabs-panel span,
body.single-product .woocommerce-Tabs-panel td,
body.single-product .woocommerce-Tabs-panel th {
  font-family: "Poppins", Arial, sans-serif !important;
}

body.single-product .summary.entry-summary .woocommerce-product-details__short-description,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description p,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description li,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description span,
body.single-product .woocommerce-Tabs-panel,
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li,
body.single-product .woocommerce-Tabs-panel span {
  color: var(--tlx-prod-text) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.72 !important;
  letter-spacing: 0 !important;
}

body.single-product .summary.entry-summary .woocommerce-product-details__short-description p,
body.single-product .woocommerce-Tabs-panel p {
  margin: 0 0 20px !important;
}
body.single-product .summary.entry-summary .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0 !important;
}

body.single-product .summary.entry-summary .woocommerce-product-details__short-description strong,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description b,
body.single-product .woocommerce-Tabs-panel strong,
body.single-product .woocommerce-Tabs-panel b {
  color: var(--tlx-prod-strong) !important;
  font-weight: 600 !important;
}

/* ---------- GRAFIČKI NASLOVI U GLAVNOM OPISU ---------- */
body.single-product .woocommerce-Tabs-panel h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 42px 0 22px !important;
  padding: 0 0 13px !important;
  font-family: "Poppins", Arial, sans-serif !important;
  color: var(--tlx-prod-heading) !important;
  font-size: 27px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -.015em !important;
  border-bottom: 1px solid var(--tlx-prod-border) !important;
}
body.single-product .woocommerce-Tabs-panel h2::before {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--tlx-prod-orange-soft);
  background-image: url("/wp-content/uploads/2024/02/paw.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
}
body.single-product .woocommerce-Tabs-panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 70px;
  height: 3px;
  border-radius: 10px;
  background: var(--tlx-prod-orange);
}
body.single-product .woocommerce-Tabs-panel h2:first-child { margin-top: 10px !important; }

body.single-product .woocommerce-Tabs-panel h3 {
  position: relative;
  margin: 32px 0 15px !important;
  padding-left: 17px !important;
  font-family: "Poppins", Arial, sans-serif !important;
  color: #46413c !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -.01em !important;
}
body.single-product .woocommerce-Tabs-panel h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 24px;
  border-radius: 10px;
  background: var(--tlx-prod-orange);
}

body.single-product .woocommerce-Tabs-panel h4 {
  margin: 25px 0 11px !important;
  font-family: "Poppins", Arial, sans-serif !important;
  color: #4d4742 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}
body.single-product .woocommerce-Tabs-panel h4::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--tlx-prod-orange);
}

/* ---------- LISTE ---------- */
body.single-product .woocommerce-Tabs-panel ul,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description ul {
  list-style: none !important;
  margin: 18px 0 24px !important;
  padding: 0 !important;
}
body.single-product .woocommerce-Tabs-panel ul li,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description ul li {
  position: relative;
  margin: 0 0 10px !important;
  padding-left: 27px !important;
}
body.single-product .woocommerce-Tabs-panel ul li::before,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .67em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tlx-prod-orange);
}
body.single-product .woocommerce-Tabs-panel ol,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description ol {
  margin: 18px 0 24px !important;
  padding-left: 28px !important;
}
body.single-product .woocommerce-Tabs-panel ol li,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description ol li {
  margin-bottom: 10px !important;
  padding-left: 4px;
}
body.single-product .woocommerce-Tabs-panel ol li::marker,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description ol li::marker {
  color: var(--tlx-prod-orange);
  font-weight: 700;
}

/* ---------- LINKOVI ---------- */
body.single-product .woocommerce-Tabs-panel a,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description a {
  color: var(--tlx-prod-orange-dark) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(246,137,2,.35);
}
body.single-product .woocommerce-Tabs-panel a:hover,
body.single-product .summary.entry-summary .woocommerce-product-details__short-description a:hover {
  color: var(--tlx-prod-orange) !important;
  border-bottom-color: var(--tlx-prod-orange);
}

/* ---------- TABLICE / NAPOMENE ---------- */
body.single-product .woocommerce-Tabs-panel table {
  width: 100%;
  margin: 24px 0 30px !important;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--tlx-prod-border);
  border-radius: 14px;
  background: #fff;
}
body.single-product .woocommerce-Tabs-panel table th {
  padding: 13px 15px !important;
  background: var(--tlx-prod-orange-soft);
  color: #49433e !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: left;
}
body.single-product .woocommerce-Tabs-panel table td {
  padding: 13px 15px !important;
  color: var(--tlx-prod-text) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  border-top: 1px solid var(--tlx-prod-border);
}
body.single-product .woocommerce-Tabs-panel blockquote {
  margin: 28px 0 !important;
  padding: 20px 24px 20px 27px !important;
  border: 0 !important;
  border-left: 5px solid var(--tlx-prod-orange) !important;
  border-radius: 0 14px 14px 0;
  background: var(--tlx-prod-orange-soft);
  color: #57514b !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}
body.single-product .woocommerce-Tabs-panel hr {
  width: 100%;
  margin: 36px 0 !important;
  border: 0;
  border-top: 1px solid var(--tlx-prod-border);
}

/* ---------- DODATNE INFORMACIJE ---------- */
body.single-product .woocommerce-product-attributes {
  font-family: "Poppins", Arial, sans-serif !important;
}
body.single-product .woocommerce-product-attributes th {
  color: #4b4641 !important;
  font-weight: 600 !important;
}
body.single-product .woocommerce-product-attributes td {
  color: var(--tlx-prod-text) !important;
  font-weight: 400 !important;
}

/* ---------- KARTICE: kategorije, slideri, akcija, zaliha, simple/variable ---------- */
.products-box,
.tlx-product-card,
.woocommerce ul.products li.product,
.slick-slide .products-box,
.slick-slide .tlx-product-card {
  font-family: "Poppins", Arial, sans-serif !important;
  color: #5a544f !important;
}

.products-box > h4,
.products-box > h4 a,
.tlx-product-card .category,
.tlx-product-card .product-category {
  color: #aaa39c !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.products-box > h3,
.products-box > h3 a,
.tlx-product-card h2,
.tlx-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.slick-slide .woocommerce-loop-product__title {
  color: var(--tlx-prod-card-title) !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.products-box .tlx-lowest-30-price,
.products-box .tobylex-secondary-price-info,
.tlx-product-card .tlx-lowest-30-price,
.tlx-product-card .tobylex-secondary-price-info,
.slick-slide .tlx-lowest-30-price,
.slick-slide .tobylex-secondary-price-info {
  color: var(--tlx-prod-muted) !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

.products-box .price,
.products-box .prod-price,
.tlx-product-card .price,
.slick-slide .price,
.slick-slide .prod-price {
  color: var(--tlx-prod-price) !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-weight: 700 !important;
}

.products-box .product-box-bottom > a:not(.btn-cart):not(.button),
.tlx-product-card .more-link,
.tlx-product-card .read-more {
  color: #514b46 !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
.products-box .product-box-bottom > a:not(.btn-cart):not(.button):hover,
.tlx-product-card .more-link:hover,
.tlx-product-card .read-more:hover {
  color: var(--tlx-prod-orange) !important;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  body.single-product .summary.entry-summary .woocommerce-product-details__short-description,
  body.single-product .summary.entry-summary .woocommerce-product-details__short-description p,
  body.single-product .summary.entry-summary .woocommerce-product-details__short-description li,
  body.single-product .summary.entry-summary .woocommerce-product-details__short-description span,
  body.single-product .woocommerce-Tabs-panel,
  body.single-product .woocommerce-Tabs-panel p,
  body.single-product .woocommerce-Tabs-panel li,
  body.single-product .woocommerce-Tabs-panel span {
    font-size: 16px !important;
    line-height: 1.68 !important;
  }
  body.single-product .woocommerce-Tabs-panel h2 {
    gap: 10px;
    margin-top: 34px !important;
    font-size: 23px !important;
  }
  body.single-product .woocommerce-Tabs-panel h2::before {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
    background-size: 17px;
  }
  body.single-product .woocommerce-Tabs-panel h3 { font-size: 19px !important; }
  body.single-product .woocommerce-Tabs-panel h4 { font-size: 17px !important; }
  body.single-product .woocommerce-Tabs-panel table th,
  body.single-product .woocommerce-Tabs-panel table td { padding: 10px 11px !important; font-size: 14px !important; }
  .products-box > h3,
  .products-box > h3 a,
  .tlx-product-card h2,
  .tlx-product-card h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .slick-slide .woocommerce-loop-product__title {
    font-size: 16px !important;
  }
}
