/* Reference-inspired product presentation; native catalogue and checkout remain intact. */
body.tt-playful.single-product .site-content,
body.tt-playful.post-type-archive-product .site-content,
body.tt-playful.tax-product_cat .site-content { background: #fff; color: #212529; }
body.tt-review.tt-playful .products .product-wrapper { border: 1px solid #e8e8e8 !important; border-radius: 16px !important; background: #fff; box-shadow: none !important; }
body.tt-playful .products.grid-view .product { padding-inline: 4px; }
body.tt-playful .products.grid-view:not(.owl-carousel) { row-gap: 8px; }
body.tt-playful .products.grid-view:not(.owl-carousel) > .product { margin-bottom: 0; }
body.tt-review.tt-playful .products .product-info { padding: 10px 8px !important; }
body.tt-review.tt-playful .products .product-title,
body.tt-review.tt-playful .products .product-title a { font-size: 20px !important; line-height: 27px !important; font-weight: 600 !important; color: #212529; }
body.tt-playful .products:not(.list-view) .product-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 54px; }
body.tt-review.tt-playful .products .price,
body.tt-review.tt-playful .products .price .amount { font-size: 18px !important; line-height: 27px; color: #212529; }
body.tt-review.tt-playful :is(.products, .summary) .price,
body.tt-review.tt-playful :is(.products, .summary) .price * { font-family: var(--tt-font) !important; }
body.tt-review.tt-playful .products .price del,
body.tt-review.tt-playful .products .price del .amount { font-size: 13px !important; color: #727272; }
body.tt-review.tt-playful .products .product-price-buttons .button { background: #fff !important; color: #212529 !important; border: 2px solid #cf102d; border-radius: 28px; box-shadow: 0 3px 0 #cf102d; margin-bottom: 4px; }
body.tt-review.tt-playful .products .product-price-buttons .button:hover { background: #fff2f4 !important; }

body.tt-playful .products .product-price-buttons:has(.cart-button :is(.product_type_simple.add_to_cart_button, .tt-bag-unavailable)) { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
body.tt-playful .products .product-price-buttons:has(.cart-button :is(.product_type_simple.add_to_cart_button, .tt-bag-unavailable)) > .product-price { flex: 1; min-width: 0; }
body.tt-playful .products .product-price-buttons:has(.cart-button :is(.product_type_simple.add_to_cart_button, .tt-bag-unavailable)) > .product-buttons-variations { position: static; flex: 0 0 auto; width: auto; margin: 0; padding: 0; opacity: 1; visibility: visible; }
body.tt-playful .products .product-price-buttons:has(.cart-button :is(.product_type_simple.add_to_cart_button, .tt-bag-unavailable)) .product-buttons { position: static; margin: 0; opacity: 1; visibility: visible; transform: none; }
body.tt-review.tt-playful .products .product-price-buttons .cart-button :is(a.product_type_simple.add_to_cart_button, .tt-bag-unavailable) {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 40px;
  padding: 0; margin: 0; border: 0; border-radius: 50%; box-shadow: none; background: transparent !important; font-size: 0 !important;
}
/* Reuse the theme's bag glyph; keep the native label, AJAX link and loading indicator. */
body.tt-review.tt-playful .products .cart-button a.product_type_simple.add_to_cart_button:not(.loading)::before {
  content: "\e90d"; display: block; font-family: pls-font; font-size: 22px; line-height: 1; margin: 0; color: #cf102d !important;
}
body.tt-review.tt-playful .products .product-price-buttons .cart-button a.product_type_simple.add_to_cart_button:hover { background: #fff2f4 !important; }
body.tt-review.tt-playful .products .cart-button :is(a.product_type_simple.add_to_cart_button, .tt-bag-unavailable):focus-visible { outline: 3px solid #183d62; outline-offset: 2px; }
body.tt-playful .tt-unavailable-bag { position: relative; display: inline-flex; vertical-align: middle; }
body.tt-playful .products .cart-button .tt-bag-unavailable { cursor: not-allowed; }
body.tt-playful .tt-bag-unavailable .pls-bag::before { font-size: 22px; line-height: 1; color: #858585 !important; }
body.tt-playful .tt-stock-tooltip { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 4; padding: 6px 8px; border-radius: 6px; background: #212529; color: #fff; font-size: 12px; line-height: 18px; white-space: nowrap; pointer-events: none; visibility: hidden; }
body.tt-playful .tt-unavailable-bag:hover .tt-stock-tooltip,
body.tt-playful .tt-unavailable-bag:focus-within .tt-stock-tooltip { visibility: visible; }
/* Kapee supplies its own hover tooltip on some card layouts. */
body.tt-playful .products .cart-button[aria-describedby] .tt-stock-tooltip { visibility: hidden; }

body.tt-review.tt-playful .summary .product_title { font-size: 23px !important; line-height: 37px !important; font-weight: 700 !important; color: #212529; margin-bottom: 12px; }
body.tt-review.tt-playful .summary .price { color: #212529; font-size: 24px; line-height: 34px; font-weight: 600; margin-bottom: 18px; }
body.tt-playful .summary .woocommerce-product-details__short-description { color: #414141; }
body.tt-review.tt-playful .summary .tt-product-intro { font-family: var(--tt-font) !important; font-size: 14px !important; line-height: 22px !important; font-weight: 400 !important; color: #414141; margin-bottom: 8px; }
.tt-product-more { margin-bottom: 20px; }
.tt-product-more > summary { cursor: pointer; color: #cf102d; font-size: 14px; line-height: 24px; font-weight: 500; padding: 8px 0; }
.tt-product-more[open] > summary { margin-bottom: 8px; }
body.tt-playful .summary .product_meta { border-top: 1px solid #e8e8e8; padding-top: 16px; font-size: 13px; line-height: 22px; }
body.tt-playful .summary form.cart:not(.variations_form):not(.grouped_form) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: center; }
body.tt-review.tt-playful .summary form.cart:not(.variations_form):not(.grouped_form)::before,
body.tt-review.tt-playful .summary form.cart:not(.variations_form):not(.grouped_form)::after { content: none; }
body.tt-playful .summary form.cart > .quantity { grid-column: 1 / -1; width: 110px; margin: 0; }
body.tt-review.tt-playful .summary form.cart .single_add_to_cart_button,
body.tt-review.tt-playful .summary form.cart .tt-buy-now {
  width: 100%; margin: 0 0 4px; min-height: 50px; padding: 10px 14px;
  border: 2px solid #cf102d; border-radius: 36px; background: #fff !important; color: #212529 !important;
  box-shadow: 0 4px 0 #cf102d; font-size: 16px !important; line-height: 24px !important; font-weight: 400 !important;
}
body.tt-review.tt-playful .summary form.cart .single_add_to_cart_button:hover,
body.tt-review.tt-playful .summary form.cart .tt-buy-now:hover { background: #fff2f4 !important; }
body.tt-playful .woocommerce-tabs { border-top: 1px solid #e8e8e8; }
body.tt-playful .woocommerce-tabs .tabs li.active a { color: #cf102d; }
body.tt-playful .woocommerce-Tabs-panel { color: #414141; }

.tt-delivery { border: 1px solid #e5e5e5; border-radius: 16px; padding: 20px; margin: 24px 0; background: #fff; color: #212529; }
body.tt-review.tt-playful .tt-delivery :is(p, label) { font-family: var(--tt-font) !important; font-weight: 400 !important; }
body.tt-playful .tt-delivery h2 { font-size: 18px; line-height: 27px; font-weight: 600; margin: 0 0 8px; }
.tt-delivery-preview { font-size: 12px; line-height: 19px; color: #6b565b; background: #fff3f5; padding: 8px 10px; border-radius: 8px; margin-bottom: 14px; }
.tt-delivery-check label { display: block; font-size: 14px; line-height: 22px; margin-bottom: 8px; }
.tt-delivery-fields { display: flex; gap: 10px; }
body.tt-playful .tt-delivery-pin { flex: 1; min-width: 0; width: 100%; height: 48px; border: 1px solid #b8b8b8; border-radius: 28px; padding: 10px 16px; background: #fff; color: #212529; }
body.tt-playful .tt-delivery-button { min-width: 84px; min-height: 48px; padding: 10px 16px; border: 2px solid #cf102d; border-radius: 28px; background: #fff; color: #212529; font-size: 14px; text-transform: none; }
.tt-delivery-button[hidden] { display: none; }
.tt-delivery-button:disabled, .tt-delivery-pin:disabled { opacity: .6; cursor: not-allowed; }
.tt-delivery-result { margin: 12px 0 0; font-size: 13px; line-height: 21px; color: #414141; }
.tt-delivery-error { color: #b42318; }
body.tt-playful .tt-delivery-pin[aria-invalid="true"] { border-color: #b42318; }
body.tt-playful :is(.tt-buy-now, .tt-delivery-button, .tt-delivery-pin):focus-visible { outline: 3px solid #183d62; outline-offset: 3px; }
@media (max-width: 1199px) {
  body.tt-review.tt-playful .products .product-title,
  body.tt-review.tt-playful .products .product-title a { font-size: 16px !important; line-height: 24px !important; }
  body.tt-playful .products:not(.list-view) .product-title a { min-height: 48px; }
}
@media (max-width: 767px) {
  body.tt-review.tt-playful .products .product-title,
  body.tt-review.tt-playful .products .product-title a { font-size: 12px !important; line-height: 16px !important; }
  body.tt-playful .products:not(.list-view) .product-title a { min-height: 32px; }
  body.tt-review.tt-playful .products .price,
  body.tt-review.tt-playful .products .price .amount { font-size: 16px !important; line-height: 24px; }
  body.tt-review.tt-playful .summary .product_title { font-size: 20px !important; line-height: 30px !important; }
  .tt-delivery { padding: 16px; }
}

/* Delivery coverage note inside the product delivery section */
.tt-delivery .tt-delivery-coverage { margin: 4px 0 8px; font-size: 13px; line-height: 21px; color: #414141; }
.tt-delivery .tt-delivery-coverage strong { font-weight: 600; color: #1f2933; }

/* Category archive filters */
body.tt-playful .tt-archive-filters h3 { margin-bottom: 4px; }
body.tt-playful .tt-filter-up { margin: 0 0 10px; }
body.tt-playful .tt-filter-up a, body.tt-playful .tt-filter-clear a { font-size: 12px; font-weight: 600; color: #155b96; }
body.tt-playful .tt-filter-clear { margin: 10px 0 2px; }
body.tt-playful .tt-filter-clear a { color: #b42318; }
body.tt-playful .tt-filter-group { margin: 10px 0 0; border-bottom: 1px solid var(--tt-line); padding-bottom: 8px; }
body.tt-playful .tt-filter-group summary { display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 14px; font-weight: 600; color: #1f2933; cursor: pointer; list-style: none; }
body.tt-playful .tt-filter-group summary::-webkit-details-marker { display: none; }
body.tt-playful .tt-filter-group summary::after { content: "+"; margin-left: auto; font-size: 16px; line-height: 1; color: #6b7280; }
body.tt-playful .tt-filter-group[open] summary::after { content: "\2212"; }
body.tt-playful .tt-filter-on { width: 8px; height: 8px; border-radius: 50%; background: #cf102d; }
body.tt-playful .tt-filter-group ul { list-style: none; margin: 0; padding: 0; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9d4dd transparent; }
body.tt-playful .tt-filter-group ul::-webkit-scrollbar { width: 6px; }
body.tt-playful .tt-filter-group ul::-webkit-scrollbar-thumb { background: #c9d4dd; border-radius: 999px; }
body.tt-playful .tt-filter-group li label { padding-right: 6px; }
body.tt-playful .tt-filter-group li label { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; line-height: 19px; cursor: pointer; }
body.tt-playful .tt-filter-group input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: #cf102d; flex: none; }
body.tt-playful .tt-filter-group .tt-filter-label { flex: 1; }
body.tt-playful .tt-filter-group .tt-filter-count { color: #6b7280; font-size: 12px; }
body.tt-playful .tt-filter-links li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 13px; line-height: 19px; }
body.tt-playful .tt-filter-apply { margin-top: 12px; padding: 8px 18px; border: 0; border-radius: 999px; background: #155b96; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }

/* Shared rental-works tab on rental products */
body.tt-playful .tt-rental-works h2 { font-size: 20px; color: #23303d; margin: 0 0 14px; }
body.tt-playful .tt-rental-steps { list-style: none; counter-reset: tt-step; margin: 0 0 22px; padding: 0; }
body.tt-playful .tt-rental-steps li { counter-increment: tt-step; position: relative; padding: 7px 0 7px 40px; font-size: 14px; line-height: 1.55; color: #40505f; }
body.tt-playful .tt-rental-steps li::before { content: counter(tt-step); position: absolute; left: 0; top: 6px; width: 26px; height: 26px; border-radius: 50%; background: #b5223b; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
body.tt-playful .tt-rental-hygiene { background: #f1f8f4; border: 1px solid #d4e8db; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
body.tt-playful .tt-rental-hygiene h3 { font-size: 16px; color: #0b6b4d; margin: 0 0 8px; }
body.tt-playful .tt-rental-hygiene p, body.tt-playful .tt-rental-hygiene li { font-size: 14px; line-height: 1.55; color: #40505f; }
body.tt-playful .tt-rental-hygiene ul { margin: 8px 0; padding-left: 20px; }
body.tt-playful .tt-rental-promise { font-weight: 700; color: #0b6b4d; margin-bottom: 0 !important; }
body.tt-playful .tt-rental-note { font-size: 13px; color: #5b6a78; margin: 0; }
body.tt-playful .tt-rental-note a { color: #0b6b4d; font-weight: 600; }
