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

/* Only load the font families and weights used in this stylesheet. */



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

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

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


/* =========================================================
   GREETING CARD MODS
========================================================= */

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

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


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

/* Product description headings */
#cgkit-tab-description h2 {
    margin-top: 20px;
}


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

/* =========================================================
   TRUSTBOX
========================================================= */

.tp-softtoy-trust {
    margin-bottom: 8px !important;
}




/* =========================================================
   PRODUCT WIDGET
========================================================= */

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


/* =========================================================
   PRODUCT META
========================================================= */

.product_meta {
    font-size: 12px;
}


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

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


/* Prevent product image shrinking / transforming on hover */
ul.products li.product .woocommerce-image__wrapper,
ul.products li.product img {
    transform: none !important;
}


/* Default product card horizontal spacing */
ul.products li.product {
    position: relative;
    padding-right: 10px !important;
    padding-left: 10px !important;
    list-style: none;
}

/* =========================================================
   Custom review box
========================================================= */
.cgkit-pdp-review {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}


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

.product p.price {
    float: left;
    padding-top: 3px;
    margin: 0 0 0.1rem;
    padding-bottom:3px;
    color: #222;
font-size: clamp(1rem, 0.873rem + 0.4065vw, 1.3rem);
}
@media (max-width: 650px) {
.product p.price {
    font-size: 18px;
  }
}
    /* font-weight: bold; */

.woocommerce-product-rating {
    font-size: 16px !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;
}

/* =========================================================
   FEATURED PRODUCT SECTIONS
========================================================= */
.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;
}

/* Tighter product grid on tablet and mobile */
@media (max-width: 992px) {
    .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: 0px !important;
    }

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


/* =========================================================
   PRODUCT CATEGORY TEXT
========================================================= */

.tp-category-content {
    width: 100%;
    margin: 20px auto 20px;
    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: 15px;
    line-height: 1.6;
    color: #333;
}


/* =========================================================
   CATEGORY PAGE H1
========================================================= */

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

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

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


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

/* Hide thin edge of next product image */
.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;
}


/* =========================================================
   CHECKOUT + CART
========================================================= */
/* THicker button */

#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;
}


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


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


/* Clickable option card */
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;
}


/* Checkbox */
body.woocommerce-checkout #ship-to-different-address-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;

    flex: 0 0 20px;

    accent-color: #42aaa7;
    cursor: pointer;
}


/* Hover */
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);
}


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


/* Selected state */
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;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding-bottom: 12px;
}

/* ==========================================================
   Main navigation v2 - mega menu adjustments
   Added 2026-08-17. Delete this whole block to revert.

   Notes:
   - !important is needed because the Shoptimizer stylesheet
     is enqueued after the Customizer's Additional CSS.
   - No child combinators are used here on purpose; they get
     HTML-escaped when this field is saved via the API.
   ========================================================== */

@media (min-width: 993px) {

  /* Align full-width dropdown columns to the left edge of the
     site container instead of centring them. Inner sub-menus
     are display:block so this has no effect on them. */
  .main-navigation ul.menu li.full-width .sub-menu-wrapper .container ul.sub-menu {
    justify-content: flex-start !important;
  }

  /* Hide the caret on top-level nav items only. Sub-menu
     carets and the mobile accordion carets are untouched. */
  .main-navigation ul.menu a.main-menu-link::after {
    display: none !important;
  }

}

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

/*
 * Hide normal WooCommerce pagination when infinite
 * scroll is active.
 *
 * The stronger selector + !important helps override
 * Shoptimizer's pagination styling.
 */
body.woocommerce .woocommerce-pagination,
body.woocommerce nav.woocommerce-pagination {
    display: none !important;
}


/* =========================================================
   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;
}


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

@keyframes tp-rotate {

    0% {
        opacity: 0;
    }

    5%,
    45% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }

}


/* Respect visitors who prefer reduced motion. */
@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;
    }
}

/* =====================================================================
   Teddypost .eu — homepage block styles
   Extracted from the four inline <style> blocks on page ID 49.
   Sections: 1) hero collage  2) Christmas stockings banner
             3) towels "view all" button  4) baby headbands banner
   ===================================================================== */


/* =====================================================================
   1. HERO COLLAGE  (.tph-*)
   ===================================================================== */

.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);
}

/* Crop position of the big backpack photo.
   The tile is wider than it is tall, so the photo gets cropped — this
   decides WHICH part of it you see, and therefore where the backpack
   sits in the tile.
     0%   = show the left edge of the photo  -> subject sits far RIGHT
     50%  = centred (the browser default)
     100% = show the right edge of the photo -> subject sits far LEFT
   Starting at 75% to pull the backpack left, clear of the cream text
   box in the bottom-right. Nudge up or down until it looks right. */
.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;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tph-tile img {
    transition: none;
  }
}


/* =====================================================================
   2. CHRISTMAS STOCKINGS BANNER  (.xmas-stockings-*)
   ===================================================================== */

.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: #ffffff;
  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: #ffffff;

  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;
  }
}

/* =====================================================================
   3. FEATURED PRODUCTS + "VIEW ALL TOWELS" BUTTON
   NOTE: the original had .all-towels-link declared twice, the first with
   the invalid value `margin: -20px!important auto 0;`. Removed — only
   the valid rule is kept below.
   ===================================================================== */



.all-towels-link {
  display: block;
  width: fit-content;
  margin: 0px auto 0 !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;
}



/* =========================================================
   VARIATION TEXT ON PRODUCT PAGE
========================================================= */

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

  /* =========================================================
   BORDER RADIUS ON ALL IMAGES
========================================================= */

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;
}

/* Shop / category product images */
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;
}

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

.single-product .woocommerce-product-gallery__image {
    overflow: hidden;
}


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

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

/* Shop intro */
.tp-shop-intro {
    width: calc(100%);
    max-width: 1300px;
    box-sizing: border-box;
    margin: 20px auto 26px;
    padding: 24px 32px;

    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 0px;

    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;
}


/* Category section */
.tp-category-section {
    width: calc(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: 900px - 10px) {

    .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: 600px - 10px) {

    .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;
    }
}

/* =========================================================
   PADDING ADJUSTMENT
========================================================= */

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

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


.no-cta-buttons ul.products li.product:not(.product-category) {
    padding-bottom: 0;
    margin-bottom: 18px;
}
	
	@media (max-width: 992px) {
    ul.products {
        row-gap: 2px;
}}

.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: nowrap;
}

.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;
}