/*
Theme Name: Shoptimizer Child
Description: Child theme for Shoptimizer
Author: Your Name
Template: shoptimizer
Version: 1.0.0
Text Domain: shoptimizer-child
*/

/* Load the required fonts separately through your theme settings
   or font-loading code. Font-family declarations do not load fonts. */


/* =========================================================
   FOOTER
========================================================= */

.tpcp-switcher-chip {
  border: none;
}

footer.copyright {
  padding-bottom: 10px !important;
}

@media (max-width: 991px) {
  .tpcp-switcher-chip {
    margin-bottom: 20px !important;
  }
}

/* =========================================================
   COMMERCEKIT COUNTDOWN TIMER
========================================================= */

#commercekit-timer.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 18px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #fdecec;
  box-shadow: none;
}

#commercekit-timer.product .commercekit-timer-title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: #e5484d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

#commercekit-timer.product .commercekit-timer-title::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5484d;
  animation: ckit-pulse 1.6s ease-in-out infinite;
}

#commercekit-timer.product .commercekit-timer-title::after {
  display: none;
}

#commercekit-timer.product .commercekit-timer-blocks {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 14px;
  margin-left: auto;
  padding-left: 16px;
  border-left: 1px solid rgba(229, 72, 77, 0.25);
  white-space: nowrap;
}

#commercekit-timer.product .commercekit-timer-block {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 1px;
}

#commercekit-timer.product .commercekit-timer-digit {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #2b2f36;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  animation: none;
}

#commercekit-timer.product .commercekit-timer-digit::after {
  display: none;
}

/* Set labels to d / h / m / s in CommerceKit. */
#commercekit-timer.product .commercekit-timer-label {
  margin: 0;
  color: #2b2f36;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

#commercekit-timer.product .commercekit-timer-sep {
  display: none;
}

@keyframes ckit-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

/* Compact single-row layout on phones */
@media (max-width: 480px) {
  #commercekit-timer.product {
    flex-wrap: nowrap;
    gap: 8px;
    margin: 18px 0;
    padding: 8px 12px;
  }

  #commercekit-timer.product .commercekit-timer-title {
    gap: 7px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }

  #commercekit-timer.product .commercekit-timer-title::before {
    width: 8px;
    height: 8px;
  }

  #commercekit-timer.product .commercekit-timer-blocks {
    gap: 7px;
    padding-left: 10px;
  }

  #commercekit-timer.product .commercekit-timer-digit,
  #commercekit-timer.product .commercekit-timer-label {
    font-size: 13px;
  }
}

/* =========================================================
   STOCK STATUS
========================================================= */

.single-product .summary table.variations td.value {
  padding-bottom: 0 !important;
}

.single-product .summary table.variations {
  margin-bottom: 12px !important;
}

.single-product .summary .woocommerce-variation-availability {
  display: block;
  margin: 0;
}

.single-product .summary p.stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 16px;
  padding: 0 !important;
  border: 0 !important;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.single-product .summary .woocommerce-variation-availability p.stock {
  margin-top: 0;
}

.single-product .summary p.stock::before {
  content: "";
  -webkit-mask: none !important;
  mask: none !important;
  position: static !important;
  top: 0 !important;
  left: 0 !important;
  display: inline-block;
  flex: 0 0 8px;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  margin: 0;
}

.single-product .summary p.stock.in-stock {
  color: #259956;
}

.single-product .summary p.stock.out-of-stock {
  color: #e5484d;
}

.single-product .summary p.stock.available-on-backorder {
  color: #d98a1e;
}


/* =========================================================
   PRODUCT INFO NOTE
========================================================= */

.tp-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px !important;
  padding: 9px 14px;
  border-radius: 8px;
  background: #eaf2fb;
  color: #1a4971;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.tp-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-style: italic;
}

.tp-note__text {
  flex: 1;
}


/* =========================================================
   PRODUCT BENEFITS
   !important overrides existing inline styles.
========================================================= */

.tp-benefits,
.tp-product-benefits {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  margin: 2px 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: "Inter", sans-serif !important;
}

.tp-benefit,
.tp-product-benefits > div {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #2b2b2b !important;
  font-family: "Inter", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.tp-benefit__icon,
.tp-product-benefits > div > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #eaf5f1 !important;
  color: #2a9d85 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

@media (max-width: 600px) {
  .tp-benefits,
  .tp-product-benefits {
    gap: 5px !important;
    margin: 4px 0 2px !important;
  }

  .tp-benefit,
  .tp-product-benefits > div {
    gap: 8px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .tp-benefit__icon,
  .tp-product-benefits > div > span {
    flex-basis: 16px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
  }

  .tp-note,
  .tp-product-infobar {
    gap: 7px !important;
    margin: 10px 0 0 !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .tp-note__icon,
  .tp-product-infobar > span:first-child {
    flex-basis: 15px !important;
    width: 15px !important;
    height: 15px !important;
    font-size: 10px !important;
  }
}


/* =========================================================
   OMNISEND
========================================================= */

.form-row.omnisend_newsletter_checkbox_field label.checkbox {
  text-align: center;
  margin-bottom: 5px;
  font-size: 14px;
}

#omnisend_newsletter_checkbox_field input[type="checkbox"] {
  position: static;
  vertical-align: middle;
  margin: 0 6px 0 0;
  transform: none;
}


/* =========================================================
   SIZE GUIDE
========================================================= */

.theme-shoptimizer .commercekit-size-guide button {
  font-family: inherit;
}


/* =========================================================
   GIFT WRAPPING AND GREETING CARDS
========================================================= */

.cgwfw-tip {
  margin-bottom: 5px;
}

.cgwfw-btn.cgwfw-size-small {
  font-size: 13px;
  margin-bottom: 4px;
}

.tpgc-btn {
  padding: 5px 16px !important;
}

.tpgc-style-banner .tpgc-card-title {
  font-size: 1em;
}

.tpgc-style-banner.tpgc-card {
  padding-bottom: 7px !important;
}


/* =========================================================
   CATEGORY SEO CONTENT
========================================================= */

.teddypost-seo {
  width: calc(100% - 40px);
  max-width: 1280px;
  margin: 32px auto 12px;
  color: #444;
  font-family: inherit;
}

.teddypost-seo,
.teddypost-seo * {
  box-sizing: border-box;
}

.teddypost-seo details {
  padding: 0 18px;
  background: #faf9f7;
  border: 1px solid #ebe8e3;
  border-radius: 8px;
}

.teddypost-seo summary {
  position: relative;
  padding: 14px 26px 14px 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.teddypost-seo summary::-webkit-details-marker {
  display: none;
}

.teddypost-seo summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: #777;
  font-size: 18px;
  font-weight: 400;
  transform: translateY(-50%);
}

.teddypost-seo details[open] summary::after {
  content: "−";
}

.teddypost-seo__content {
  width: 100%;
  max-width: none;
  padding: 2px 0 18px;
}

.teddypost-seo h2 {
  margin: 0 0 8px;
  color: #292929;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.teddypost-seo h3 {
  margin: 16px 0 5px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.teddypost-seo h4 {
  margin: 12px 0 3px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.teddypost-seo p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}

.teddypost-seo ul {
  margin: 4px 0 0 18px;
  padding: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
  list-style: disc;
}

.teddypost-seo li {
  margin: 0 0 4px;
}

.teddypost-seo li strong {
  color: #333;
  font-weight: 600;
}

.teddypost-seo a {
  color: #3f5f51;
  text-decoration: underline;
  text-decoration-color: #b8c3bd;
  text-underline-offset: 3px;
}

.teddypost-seo a:hover {
  color: #253e34;
  text-decoration-color: currentColor;
}

@media (max-width: 600px) {
  .teddypost-seo {
    margin-top: 24px;
    margin-bottom: 25px;
  }

  .teddypost-seo details {
    padding: 0 15px;
  }

  .teddypost-seo summary {
    padding: 13px 24px 13px 0;
    font-size: 13px;
  }

  .teddypost-seo__content {
    padding-bottom: 16px;
  }

  .teddypost-seo h2 {
    font-size: 16px;
  }

  .teddypost-seo h3 {
    font-size: 14px;
  }

  .teddypost-seo h4 {
    font-size: 13.5px;
  }

  .teddypost-seo p,
  .teddypost-seo ul {
    font-size: 13px;
    line-height: 1.6;
  }
}


/* =========================================================
   CATEGORY HEADER
========================================================= */

header.woocommerce-products-header,
.shoptimizer-category-banner {
  background-color: #fff !important;
  margin-bottom: 5px;
}

.shoptimizer-sorting {
  margin-bottom: 18px !important;
}

h1.woocommerce-products-header__title {
  margin-bottom: 1px;
}

.page .entry-content {
  padding-bottom: 20px;
}

.entry-title {
  padding-top: 10px;
}


/* =========================================================
   PRODUCT DESCRIPTION AND REVIEWS
========================================================= */

#cgkit-tab-description h2 {
  margin-top: 5px;
}

.single-product .woocommerce-tabs .panel {
  padding-top: 4px;
  padding-bottom: 4px;
}

.single-product .woocommerce-tabs > .panel {
  padding-top: 20px;
}

.tpux-reviews-title {
  margin: 6px 0 0.35em;
}

.tpux-reviews {
  margin: 0 0 0 0.2em !important;
}

.tpux-load-more-wrap {
  padding-top: 2em;
}

div#commercekit-atc-tabs-wrap {
  padding-bottom: 10px;
}

/* Reduce bottom margin under the trust-badges row — applies to every
   category's .tp-{slug}-trust block (was only patched for softtoy before) */
[class^="tp-"][class$="-trust"] {
    margin-bottom: 12px !important;
}

.product-widget {
  padding-top: 0;
}

.product_meta {
  font-size: 12px;
}

.cgkit-pdp-review {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}


/* =========================================================
   WOOCOMMERCE PRODUCT CARDS
========================================================= */

ul.products li.product:not(.product-category)::before {
  box-shadow: none !important;
  background-color: transparent !important;
}

ul.products li.product {
  position: relative;
  padding-right: 10px !important;
  padding-left: 10px !important;
  list-style: none;
}

ul.products li.product .woocommerce-image__wrapper {
  transform: none !important;
  border-radius: 8px;
  overflow: hidden;
}

ul.products li.product img {
  transform: none !important;
  border-radius: 8px;
}

.no-cta-buttons ul.products li.product:not(.product-category) {
  padding-bottom: 0;
  margin-bottom: 18px;
}


/* =========================================================
   PRODUCT PAGE
========================================================= */

.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-button button {
  border: 1px solid #333;
  display: inline-block;
  padding: 0 9px;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  color: #333;
  position: relative;
  min-width: 47px;
  min-height: 43px;
  border-radius: 8px;
}

.product p.price {
  float: left;
  padding-top: 3px;
  margin: 0 0 4px;
  padding-bottom: 3px;
  color: #222;
  font-size: 20px;
  font-weight:600;
}

@media (max-width: 650px) {
  .product p.price {
    font-size: 20px;
    font-weight:600;
  }
}

.woocommerce-product-rating {
  font-size: 16px !important;
  clear: both;
  margin: 0 0 12px !important;
}

/* Hide Additional Information in WooCommerce and CommerceKit. */
#cgkit-tab-additional_information-title,
#cgkit-tab-additional_information,
.additional_information_tab,
#tab-additional_information,
.woocommerce-Tabs-panel--additional_information {
  display: none !important;
}

.blackplain {
  color: #000;
  font-size: 12px;
  font-weight: normal;
}

.blackplain a:link,
.blackplain a:visited {
  text-decoration: underline;
}

.woocommerce-product-details__short-description {
  padding-bottom: 1px;
}

.variations .cgkit-chosen-attribute {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.summary .variations label {
  padding-top: 8px;
}

.single-product .woocommerce-product-rating .star-rating {
  font-size: 19px !important;
}

.single-product .woocommerce-product-rating .star-rating > span::before {
  background-color: #f6c731 !important;
}

.single-product .woocommerce-product-rating .star-rating::before {
  background-color: #ddd !important;
}


/* =========================================================
   FEATURED PRODUCTS AND GRID SPACING
========================================================= */

.featured-products {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px !important;
  box-sizing: border-box;
}

.featured-products-outer {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  ul.products {
    row-gap: 2px;
  }

  .featured-products ul.products {
    column-gap: 10px !important;
    row-gap: 12px !important;
  }

  .featured-products ul.products li.product {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  ul.products {
    column-gap: 14px !important;
    row-gap: 0 !important;
  }

  ul.products li.product {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* =========================================================
   PRODUCT CATEGORY TEXT
========================================================= */
ul.products li.product .price {
  font-size: 13px!important;
}

body.tax-product_cat .woocommerce-image__wrapper .sale-item.product-label {
  display: none !important;
}

body.single-product .content-area .summary .onsale {
    display: none !important;
}


.tp-category-content {
  width: 100%;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.tp-category-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.3;
}

.tp-category-content h2:first-child {
  margin-top: 0;
}

.tp-category-content p {
  margin: 0 0 16px;
}

.tp-category-intro {
  width: 100%;
  margin: 8px auto 14px;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}


/* =========================================================
   SINGLE PRODUCT GALLERY
========================================================= */

.single-product .woocommerce-product-gallery .flex-viewport {
  overflow: hidden !important;
  width: 100% !important;
}

.single-product .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

.single-product .woocommerce-product-gallery__image {
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.single-product .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
}

.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image img {
  border-radius: 8px;
}


/* =========================================================
   CHECKOUT AND CART
========================================================= */

table.cart td {
  border-bottom: 1px solid #f2f2f2;
  font-size: clamp(0.85rem, 0.749rem + 0.2033vw, 0.875rem);
}

.woocommerce-cart-form dl.variation,
.woocommerce-checkout-review-order-table dl.variation,
.widget_shopping_cart dl.variation {
  font-size: 12px !important;
}

.woocommerce-checkout .checkout-wrap {
  margin-bottom: 45px;
}

@media (max-width: 500px) {
  .woocommerce-checkout .checkout-wrap {
    margin-bottom: 10px;
  }
}

#payment .place-order .button {
  height: 66px;
}

a.checkout-button.button.alt.wc-forward {
  height: 58px;
}

/* Hide WooCommerce order notes. */
#order_comments_field {
  display: none !important;
}

#ship-to-different-address,
h3.ship-to-different-address {
  padding-top: 1.4rem;
}

body.woocommerce-checkout #ship-to-different-address {
  margin: 20px 0 !important;
  padding: 0 !important;
  border: 0;
  font-family: Nunito, sans-serif;
}

body.woocommerce-checkout #ship-to-different-address label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  box-sizing: border-box;
  color: #176f70;
  background: #eaf8f7;
  border: 2px solid #62bbb8;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.woocommerce-checkout #ship-to-different-address-checkbox {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 20px;
  accent-color: #42aaa7;
  cursor: pointer;
}

body.woocommerce-checkout #ship-to-different-address label:hover {
  background: #dff4f2;
  border-color: #42aaa7;
  box-shadow: 0 3px 10px rgba(66, 170, 167, 0.18);
}

body.woocommerce-checkout #ship-to-different-address:focus-within label {
  outline: 3px solid rgba(66, 170, 167, 0.25);
  outline-offset: 2px;
}

body.woocommerce-checkout #ship-to-different-address:has(
  #ship-to-different-address-checkbox:checked
) label {
  color: #fff;
  background: #42aaa7;
  border-color: #318f8c;
  box-shadow: 0 4px 12px rgba(49, 143, 140, 0.25);
}


/* =========================================================
   MENU ADJUSTMENTS
========================================================= */

.main-navigation ul ul li {
  padding-bottom: 10px;
}

.tpmi-icon {
  margin-right: 16px;
}

.main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li.menu-item-has-children > a,
.main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li.heading > a,
.main-navigation ul.menu li.menu-item-has-children.full-width > .sub-menu-wrapper li.nolink > span {
  font-family: "Inter", sans-serif;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding-bottom: 12px;
}

@media (min-width: 993px) {
  .main-navigation ul.menu li.full-width .sub-menu-wrapper .container ul.sub-menu {
    justify-content: flex-start !important;
  }

  .main-navigation ul.menu a.main-menu-link::after {
    display: none !important;
  }
}




/* =========================================================
   WOOCOMMERCE PAGINATION
========================================================= */

/* Hide numbered pagination on shop/category pages - infinite scroll handles loading */
.archive.woocommerce .woocommerce-pagination,
.tax-product_cat .woocommerce-pagination {
    display: none;
}


/* =========================================================
   TEXT ROTATOR
========================================================= */

.tp-text-rotator {
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-align: center;
}

.tp-text-rotator .text-item {
  position: absolute;
  left: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  animation: tp-rotate 8s infinite;
}

.tp-text-rotator .text-item:nth-child(2) {
  animation-delay: 4s;
}

@keyframes tp-rotate {
  0% {
    opacity: 0;
  }

  5%,
  45% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-text-rotator .text-item {
    position: static;
    opacity: 1;
    animation: none;
  }

  .tp-text-rotator .text-item:not(:first-child) {
    display: none;
  }
}


/* =========================================================
   HOMEPAGE HERO COLLAGE
========================================================= */

.tph-wrap {
  --tph-radius: 8px;
  --tph-badge-bg: #b9e5d8;
  --tph-badge-text: #28231f;

  width: 100%;
  padding: 20px !important;
  box-sizing: border-box;
}

.tph-hero {
  display: grid;
  grid-template-columns: 1.48fr 1fr;
  gap: 22px;
  width: 100%;
  max-width: 1280px;
  height: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.tph-tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--tph-radius);
  background: #f5f5f5;
}

.tph-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  object-position: center 35%;
}

.tph-tile:hover img {
  transform: scale(1.035);
}

.tph-main img {
  object-position: 75% center;
}

.tph-main-copy {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(20px, 2.8vw, 34px);
  display: flex;
  max-width: 52%;
  flex-direction: column;
  padding: 13px 17px 15px;
  border: 1px solid rgba(99, 78, 63, 0.14);
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(255, 253, 249, 0.98),
    rgba(248, 241, 233, 0.96)
  );
  color: #2f2925;
  box-shadow: 0 8px 24px rgba(45, 35, 29, 0.18);
  pointer-events: none;
}

.tph-script {
  margin: 0 0 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(10px, 0.95vw, 12px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.19em;
  color: #8a6f5c;
  text-transform: uppercase;
}

.tph-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.tph-badge {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 2.8vw, 30px);
  left: clamp(18px, 2.8vw, 30px);
  display: flex;
  width: clamp(108px, 10.5vw, 140px);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 78, 69, 0.12);
  border-radius: 50%;
  background: var(--tph-badge-bg);
  color: var(--tph-badge-text);
  text-align: center;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transform: rotate(-7deg);
  pointer-events: none;
}

.tph-badge span {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(10px, 0.95vw, 13px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tph-badge strong {
  display: block;
  max-width: 96px;
  margin-top: 7px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.tph-main[data-badge="off"] .tph-badge {
  display: none;
}

.tph-side {
  display: grid;
  grid-template-rows: 1fr 1.3fr;
  gap: 22px;
  min-width: 0;
  min-height: 0;
}

.tph-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--tph-radius);
  background: linear-gradient(
    135deg,
    #b19e8b 0%,
    #a08d7a 55%,
    #94816e 100%
  );
  text-align: center;
}

.tph-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.tph-title h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.tph-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  line-height: 1;
}

.tph-divider i {
  display: block;
  width: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

@media (max-width: 849px) {
  .tph-wrap {
    margin-top: 3px;
  }

  .tph-hero {
    grid-template-columns: 1fr;
    height: auto;
    gap: 16px;
  }

  .tph-main {
    aspect-ratio: 4 / 3;
  }

  .tph-main-copy {
    right: 18px;
    left: auto;
    top: auto;
    bottom: 18px;
    max-width: 62%;
    padding: 10px 12px 11px;
    border-radius: 8px;
  }

  .tph-script {
    margin-left: 0;
    font-size: 9px;
  }

  .tph-heading {
    font-size: clamp(21px, 6.5vw, 31px);
  }

  .tph-badge {
    right: auto;
    left: 14px;
    top: 14px;
    bottom: auto;
    width: 94px;
  }

  .tph-badge span {
    font-size: 9px;
  }

  .tph-badge strong {
    max-width: 72px;
    margin-top: 5px;
    font-size: 17px;
  }

  .tph-title {
    padding: 26px 18px;
  }

  .tph-side {
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .tph-side > .tph-tile {
    aspect-ratio: 16 / 9;
  }
}


/* =========================================================
   CHRISTMAS STOCKINGS BANNER
========================================================= */

.xmas-stockings-wrapper,
.xmas-stockings-wrapper * {
  box-sizing: border-box;
}

.xmas-stockings-wrapper {
  width: 100%;
  padding: 40px 20px;
}

.xmas-stockings-banner {
  width: 100%;
  max-width: 1280px;
  height: 310px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 50% 50%;
  background: #f5f0e7;
  border-radius: 8px;
  overflow: hidden;
}

.xmas-stockings-image {
  width: 100%;
  height: 310px;
  overflow: hidden;
}

.xmas-stockings-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.xmas-stockings-content {
  height: 310px;
  display: flex;
  align-items: center;
  padding: 22px 42px;
}

.xmas-stockings-inner {
  width: 100%;
  max-width: 540px;
}

.xmas-stockings-eyebrow {
  margin: 0 0 8px;
  color: #9a6429;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.xmas-stockings-content h2 {
  margin: 0 0 17px;
  color: #173f3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.7px;
}

.xmas-stockings-benefits {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 9px;
}

.xmas-stockings-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #244746;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
}

.xmas-stockings-benefit-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #a27035;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

.xmas-stockings-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 245px;
  padding: 10px 18px;
  background: #4cb5b2;
  color: #fff;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.xmas-stockings-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.xmas-stockings-button:focus-visible {
  outline: 3px solid #a27035;
  outline-offset: 3px;
}

.xmas-stockings-button-arrow {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 900px) {
  .xmas-stockings-content {
    padding: 20px 25px;
  }

  .xmas-stockings-content h2 {
    font-size: 26px;
  }

  .xmas-stockings-benefits {
    column-gap: 12px;
  }

  .xmas-stockings-benefits li {
    font-size: 12px;
  }
}

@media (max-width: 650px) {
  .xmas-stockings-wrapper {
    padding: 20px;
  }

  .xmas-stockings-banner {
    height: auto;
    grid-template-columns: 1fr;
  }

  .xmas-stockings-image {
    height: 260px;
  }

  .xmas-stockings-content {
    height: auto;
    padding: 32px 24px 35px;
  }

  .xmas-stockings-eyebrow {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .xmas-stockings-content h2 {
    margin-bottom: 22px;
    font-size: 30px;
    line-height: 1.08;
  }

  .xmas-stockings-benefits {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-bottom: 24px;
  }

  .xmas-stockings-benefits li {
    font-size: 13px;
  }

  .xmas-stockings-benefit-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 14px;
  }

  .xmas-stockings-button {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .xmas-stockings-wrapper {
    padding: 15px;
  }

  .xmas-stockings-image {
    height: 230px;
  }

  .xmas-stockings-content {
    padding: 28px 20px 30px;
  }

  .xmas-stockings-content h2 {
    font-size: 27px;
  }
}


/* =========================================================
   VIEW ALL TOWELS BUTTON
========================================================= */

.all-towels-link {
  display: block;
  width: fit-content;
  margin: 0 auto !important;
  padding: 8px 20px;
  background-color: #58585a;
  color: #fff;
  border: 2px solid #58585a;
  border-radius: 6px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.all-towels-link:hover {
  background-color: #fff;
  color: #58585a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.all-towels-link:focus-visible {
  outline: 3px solid rgba(88, 88, 90, 0.35);
  outline-offset: 4px;
}


/* =========================================================
   SHOP PAGE
========================================================= */

.tp-shop-intro {
  width: 100%;
  max-width: 1300px;
  margin: 20px auto 26px;
  padding: 25px 32px;
  box-sizing: border-box;
  display: block;
  background: #f7f5f2;
  border-radius: 14px;
}

.tp-shop-eyebrow {
  margin-bottom: 6px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #777;
}

.tp-shop-intro h1 {
  margin: 0 0 5px;
  padding: 5px 0;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 700;
}

.tp-shop-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #666;
}

.tp-category-section {
  width: 100%;
  max-width: 1300px;
  box-sizing: border-box;
  margin: 0 auto 32px;
}

.tp-category-section h2 {
  margin: 0 0 14px;
  padding-bottom: 5px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 890px) {
  .tp-shop-intro,
  .tp-category-section {
    width: calc(100% - 32px);
  }

  .tp-shop-intro {
    margin-top: 16px;
    margin-bottom: 22px;
    padding: 22px 24px;
  }

  .tp-shop-intro h1 {
    font-size: 42px;
  }

  .tp-shop-intro p {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 590px) {
  .tp-shop-intro,
  .tp-category-section {
    width: calc(100% - 24px);
  }

  .tp-shop-intro {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 18px 17px;
    border-radius: 12px;
  }

  .tp-shop-eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .tp-shop-intro h1 {
    margin-bottom: 5px;
    font-size: 38px;
  }

  .tp-shop-intro p {
    font-size: 13px;
    line-height: 1.4;
  }

  .tp-category-section {
    margin-bottom: 28px;
  }

  .tp-category-section h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }
}


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

@media (max-width: 992px) {
  .related-wrapper section {
    padding-top: 1rem !important;
  }
}

@media (min-width: 993px) {
  .related-wrapper > section > h2 {
    padding-top: 1rem !important;
  }
}


/* =========================================================
   TERMS AND CONDITIONS
========================================================= */

.teddypost-terms:has(.teddypost-terms-content:not([hidden])) {
  display: flow-root;
}

.teddypost-terms-text {
  margin: 15px 0;
  color: #b8b8b8;
  font-size: 11px !important;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.teddypost-terms-text a {
  display: inline !important;
  color: #555;
  font-size: inherit !important;
  text-decoration: underline;
}

.teddypost-terms-content {
  position: relative;
  max-height: 350px;
  overflow-y: auto;
  margin: 12px 0 16px;
  padding: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}

.teddypost-terms-content[hidden] {
  display: none !important;
}

.teddypost-terms-close {
  position: sticky;
  top: 0;
  float: right;
  padding: 0 5px;
  border: 0;
  background: #fff;
  color: #555;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  #commercekit-timer.product .commercekit-timer-title::before {
    animation: none;
  }

  .tph-tile img,
  .xmas-stockings-button,
  .all-towels-link {
    transition: none;
  }

  .tph-tile:hover img,
  .xmas-stockings-button:hover,
  .all-towels-link:hover {
    transform: none;
  }
}