/* Koshiny — Korean beauty & skincare theme
   Soft cream surfaces, warm gold accent, generous whitespace. */

:root {
  --kb-paper: #fbf8f4;
  --kb-surface: #ffffff;
  --kb-tint: #f6efe7;
  --kb-blush: #f5e7e2;
  --kb-ink: #2b2118;
  --kb-muted: #8a7f73;
  --kb-line: #ece3d8;
  --kb-gold: #c9a66e;
  --kb-gold-deep: #ab8850;
  --kb-radius: 14px;
  --kb-shadow: 0 10px 30px rgba(43, 33, 24, 0.07);
}

body {
  background: var(--kb-paper);
  color: var(--kb-ink);
}

a:hover {
  color: var(--kb-gold-deep);
}

/* ---------- Header ---------- */

/* Soft blush utility bar.
   common.css was written for the original dark bar and hardcodes color:#fff on
   every child of .top-header, so each of those is flipped back to ink here
   rather than edited in place — common.css is shared theme CSS. */
.top-header {
  background: var(--kb-blush) !important;
  border-bottom: 1px solid var(--kb-line) !important;
}

.top-header,
.top-header a,
.top-header li a,
.top-header .left p,
.top-header .content .right-content .list li.login .links,
.top-header .content .right-content .list li .nice-select,
.top-header .left-content .list ul li .nice-select,
.top-header .nice-select .option,
.top-header .content .right-content .list li .language-selector i,
.top-header .left-content .list ul li .language-selector i,
.top-header .left-content .list ul li .currency-selector span,
.top-header ul li.my-dropdown.profilearea .profile .text {
  color: var(--kb-ink) !important;
  font-size: 13px;
}

/* Caret on the language / currency selects. */
.top-header .nice-select:after,
.top-header .left-content .list ul li .nice-select:after {
  border-bottom-color: var(--kb-muted) !important;
  border-right-color: var(--kb-muted) !important;
}

.top-header a:hover,
.top-header li a:hover,
.top-header ul li.my-dropdown.profilearea .profile:hover .text {
  color: var(--kb-gold-deep) !important;
}

/* These were white outlines on the dark bar; invisible on blush. */
.top-header .content .right-content .list li .sell-btn,
.top-header .content .right-content .list li .track-btn {
  color: var(--kb-ink) !important;
  border: 1px solid rgba(43, 33, 24, 0.22) !important;
}

.top-header .content .right-content .list li .sell-btn:hover,
.top-header .content .right-content .list li .track-btn:hover {
  background: var(--kb-gold) !important;
  border-color: var(--kb-gold) !important;
  color: #fff !important;
}

.logo-header {
  background: var(--kb-surface) !important;
  border-bottom: 1px solid var(--kb-line);
  padding: 18px 0;
}

.logo-header .logo img {
  max-height: 58px;
  width: auto;
}

.logo-header .search-area form,
.header-search form,
.search-area .form-group {
  border-radius: 999px;
  overflow: hidden;
}

.logo-header .search-area input[type="text"],
.logo-header .search-area input[type="search"] {
  border: 1px solid var(--kb-line);
  border-radius: 999px 0 0 999px;
  background: var(--kb-paper);
  height: 46px;
}

.logo-header .search-area button,
.logo-header .search-area .btn {
  border-radius: 0 999px 999px 0;
  height: 46px;
}

.mainmenu-area {
  background: var(--kb-surface);
  border-top: none;
  border-bottom: 1px solid var(--kb-line);
  box-shadow: 0 2px 10px rgba(43, 33, 24, 0.03);
}

.mainmenu-area nav .menu li a {
  color: var(--kb-ink);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.mainmenu-area nav .menu li a:hover,
.mainmenu-area nav .menu li.active > a {
  color: var(--kb-gold-deep);
}

.categories_menu img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ---------- Hero ---------- */

/* Theme style.css sets margin-top:30px on .hero-area; zero it so the hero
   sits flush under the header. */
.hero-area {
  margin-top: 0;
  padding-top: 24px;
}

.featured-link-box {
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  overflow: hidden;
}

.featured-link-box .title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kb-ink);
  background: var(--kb-tint);
  padding: 16px;
  border-bottom: 1px solid var(--kb-line);
  margin: 0;
}

.featured-link-box .link-list li {
  border-bottom-color: var(--kb-line);
}

.featured-link-box .link-list li a {
  color: var(--kb-ink);
  padding: 4px 18px;
  font-size: 14px;
  transition: all 0.25s ease;
}

.featured-link-box .link-list li a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.featured-link-box .link-list li a:hover {
  background: var(--kb-blush);
  padding-left: 24px;
  color: var(--kb-gold-deep);
}

.hero-area .hero-area-slider .intro-carousel .intro-content {
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-area .featured-link-box,
  .hero-area .hero-area-slider,
  .hero-area .hero-area-slider .intro-carousel,
  .hero-area .hero-area-slider .owl-stage-outer,
  .hero-area .hero-area-slider .owl-stage,
  .hero-area .hero-area-slider .owl-item,
  .hero-area .hero-area-slider .intro-carousel .intro-content {
    height: 500px;
  }

  .hero-area .featured-link-box {
    display: flex;
    flex-direction: column;
  }

  .hero-area .featured-link-box .link-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .hero-area .featured-link-box .link-list li {
    flex: 1;
    display: flex;
  }

  .hero-area .featured-link-box .link-list li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    line-height: 1.25;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Below the desktop breakpoint the theme collapses the slide to a sliver;
   the artwork is 3:2 so size it from the width instead. */
@media (max-width: 991px) {
  .hero-area .hero-area-slider,
  .hero-area .hero-area-slider .intro-carousel,
  .hero-area .hero-area-slider .owl-stage-outer,
  .hero-area .hero-area-slider .owl-stage,
  .hero-area .hero-area-slider .owl-item,
  .hero-area .hero-area-slider .intro-content {
    height: auto;
    min-height: 0;
  }

  .hero-area .hero-area-slider .intro-content {
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
  }
}

/* Slides whose artwork already carries its own copy: whole slide is the link */
.intro-content .slide-link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 3;
}

.slider-content .layer-1,
.slider-content .layer-2 {
  letter-spacing: 0.02em;
}

.slider-content .layer-3 a,
.slider-content .layer-3 .mybtn1 {
  border-radius: 999px;
}

/* ---------- Section headings ---------- */

.section-top {
  border-bottom-color: var(--kb-line);
}

.section-top .section-title {
  color: var(--kb-ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.section-top .section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 52px;
  height: 2px;
  background: var(--kb-gold);
}

.section-top .nav .nav-link {
  color: var(--kb-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 16px;
}

.section-top .nav .nav-link.active {
  background: var(--kb-tint);
  color: var(--kb-gold-deep);
}

/* ---------- Product cards ---------- */

.row > [class*="col-"].remove-padding:has(> .item) {
  padding: 8px;
}

.item {
  height: 100%;
  background: var(--kb-surface);
  border: 1px solid var(--kb-line) !important;
  border-radius: var(--kb-radius);
  overflow: hidden;
  box-shadow: none !important;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
  border-color: var(--kb-gold) !important;
  transform: translateY(-4px);
  box-shadow: var(--kb-shadow) !important;
}

.item .item-img {
  background: var(--kb-tint);
}

.item .item-img img {
  background: transparent;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  padding: 18px;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}

.item:hover .item-img img {
  transform: scale(1.04);
}

.item .info {
  background: var(--kb-surface);
  padding: 14px 16px 18px;
  text-align: center;
}

.item .info .stars {
  justify-content: center;
  display: flex;
}

.item .info .name {
  color: var(--kb-ink);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
}

.item .info .name:hover {
  color: var(--kb-gold-deep);
}

.item .info .price {
  color: var(--kb-ink);
  font-weight: 600;
}

.item .info .price del,
.item .info .price del small {
  color: var(--kb-muted);
  font-weight: 400;
}

.item .item-img .sell-area .sale {
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
}

/* Card action icons (cart / wishlist / quick view / compare). The theme paints
   these as flat blue circles; restyle them for the beauty palette. */
.item .item-cart-area {
  text-align: center;
}

.item .item-cart-area ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.item .item-cart-area ul li {
  display: block;
}

.item .item-cart-area ul li span {
  width: 34px;
  height: 34px;
  line-height: 32px;
  font-size: 14px;
  margin: 0;
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  color: var(--kb-ink);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
}

.item .item-cart-area ul li span:hover {
  background: var(--kb-gold);
  border-color: var(--kb-gold);
  color: #fff;
}

/* The cart is the primary action, so it reads filled rather than outlined. */
.item .item-cart-area ul li span.add-to-cart,
.item .item-cart-area ul li span.affilate-btn {
  background: var(--kb-ink);
  border-color: var(--kb-ink);
  color: #fff;
}

.item .item-cart-area ul li span.add-to-cart:hover,
.item .item-cart-area ul li span.affilate-btn:hover {
  background: var(--kb-gold-deep);
  border-color: var(--kb-gold-deep);
  color: #fff;
}

.item .item-cart-area ul li span.cart-out-of-stock,
.item .item-cart-area ul li span.cart-out-of-stock:hover {
  background: var(--kb-tint);
  border-color: var(--kb-line);
  color: var(--kb-muted);
  cursor: not-allowed;
}

/* The icon row is opacity:0 until :hover, which means it is unreachable on
   touch devices. Where there is no hover, show it permanently. */
@media (hover: none) {
  .item .item-cart-area {
    opacity: 1;
  }
}

.item .extra-list ul li span {
  background: var(--kb-surface);
  color: var(--kb-ink);
  border: 1px solid var(--kb-line);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.item .extra-list ul li span:hover {
  background: var(--kb-gold);
  border-color: var(--kb-gold);
  color: #fff;
}

.item .add-to-cart-btn {
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.item .add-to-cart-btn.cart-out-of-stock {
  background: var(--kb-tint);
  color: var(--kb-muted);
}

.deal-counter {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--kb-line);
}

/* list-style product card */

.single-box {
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.single-box:hover {
  border-color: var(--kb-gold);
  box-shadow: var(--kb-shadow);
}

.single-box .left-area {
  background: var(--kb-tint);
}

.single-box .left-area img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.single-box .right-area .price {
  color: var(--kb-ink);
  font-weight: 600;
}

.single-box .right-area .text a {
  color: var(--kb-ink);
}

.single-box .right-area .text a:hover {
  color: var(--kb-gold-deep);
}

/* ---------- Banners ---------- */

.slider_bottom_banner img,
.banner-effect img,
.banner-section img {
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: var(--kb-tint);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slider_bottom_banner a.banner-effect,
.banner-section a.banner-effect {
  display: block;
  overflow: hidden;
  border-radius: var(--kb-radius);
}

.slider_bottom_banner a.banner-effect img {
  display: block;
  height: auto;
  margin-top: -20px;
  margin-bottom: -20px;
  object-fit: cover;
  object-position: center;
}

/* Paired promo banners come from artwork with mixed ratios (1:1 through 2:1),
   so lock one box and letterbox rather than crop the promo copy out. */
.banner-section .left img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* ---------- Service / trust strip ---------- */

.info-area .info-big-box {
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  padding: 8px 0;
}

.info-area .info-box {
  border-right: 1px solid var(--kb-line);
  padding: 22px 18px;
}

.info-area .row > [class*="col-"]:last-child .info-box {
  border-right: none;
}

.info-area .info-box .icon img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.info-area .info-box .details .title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kb-ink);
}

.info-area .info-box .details .text {
  color: var(--kb-muted);
  font-size: 13px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .info-area .info-box {
    border-right: none;
    border-bottom: 1px solid var(--kb-line);
  }
}

/* ---------- Ratings ---------- */

.full-stars,
.starrr a {
  color: var(--kb-gold);
}

.full-stars:before {
  -webkit-text-stroke: 1px var(--kb-gold);
}

/* ---------- Product detail ---------- */

.breadcrumb-area,
.categori-item,
.product-details-page,
.sub-categori,
.cartpage,
.login-signup {
  background: transparent;
}

.product-details-page .xzoom-container,
.xzoom-container,
.xzoom5,
.xzoom-gallery5,
.quick-zoom,
.quick-zoom-gallery,
.product-details-page .xzoom-container img,
.cartpage .product-img img,
.checkout-area .order-item .product-img img,
.compare-page-content-wrap img,
.wish-list img {
  background: transparent;
}

.product-details-page .xzoom-container img,
.xzoom5 {
  border-radius: var(--kb-radius);
  background: var(--kb-tint);
}

.product-details-page .product-details .title {
  font-weight: 600;
  line-height: 1.35;
}

.product-details-page .product-details .price,
.product-details-page .price-area .price {
  color: var(--kb-ink);
  font-weight: 700;
}

/* Why-shop-with-us panel (replaces the old seller card) */

.store-assurance {
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  padding: 22px 24px;
}

.store-assurance__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kb-ink);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--kb-line);
}

.store-assurance__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-assurance__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.store-assurance__list li + li {
  border-top: 1px solid var(--kb-line);
}

.store-assurance__list li i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--kb-tint);
  color: var(--kb-gold-deep);
  font-size: 16px;
}

.store-assurance__list li span {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--kb-muted);
}

.store-assurance__list li span strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--kb-ink);
  margin-bottom: 2px;
}

.store-assurance__cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--kb-line);
}

.store-assurance__cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--kb-tint);
  color: var(--kb-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.store-assurance__cta a:hover {
  background: var(--kb-gold);
  color: #fff;
}

/* ---------- CMS pages ---------- */

.about-info h1,
.about-info h2,
.about-info h3,
.about-info h4 {
  color: var(--kb-ink);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 28px;
  margin-bottom: 12px;
}

.about-info p,
.about-info li {
  color: #4f463d;
  line-height: 1.8;
}

.about-info a {
  color: var(--kb-gold-deep);
}

/* ---------- Buttons & forms ---------- */

.mybtn1,
.login-btn,
.btn-custom {
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.form-input input,
.form-input textarea,
.form-input select,
.form-control {
  border-radius: 8px;
  border-color: var(--kb-line);
}

.form-control:focus {
  border-color: var(--kb-gold);
  box-shadow: 0 0 0 0.15rem rgba(201, 166, 110, 0.18);
}

/* ---------- Brands ---------- */

.brand-section {
  background: transparent;
}

.brand-section .brand-slider .slide-item .brand {
  background: var(--kb-surface);
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  padding: 14px;
  transition: border-color 0.25s ease;
}

.brand-section .brand-slider .slide-item .brand:hover {
  border-color: var(--kb-gold);
}

.brand-section .brand-slider .slide-item .brand img {
  max-height: 56px;
  width: auto;
  filter: none;
  object-fit: contain;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--kb-ink);
  color: #d9cfc1;
}

.footer a {
  color: #d9cfc1;
}

.footer a:hover {
  color: var(--kb-gold);
}

.footer .footer-info-area .footer-logo img {
  max-height: 54px;
  width: auto;
}

.footer .title,
.footer h4 {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 14px;
}

.footer .social-area li a {
  border: 1px solid rgba(217, 207, 193, 0.25);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.footer .social-area li a:hover {
  background: var(--kb-gold);
  border-color: var(--kb-gold);
  color: #fff;
}

.footer .copy-bg {
  color: #b7ab9b;
}

.footer .copy-bg .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.footer .copy-bg .powered-by,
.footer .copy-bg .powered-by a {
  color: #8d8377;
}

.footer-contact-widget .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-widget .contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  color: #d9cfc1;
}

.footer-contact-widget .contact-list li i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 166, 110, 0.14);
  color: var(--kb-gold);
  font-size: 15px;
}

/* ---------- Misc ---------- */

.modal-content {
  border-radius: var(--kb-radius);
  border: none;
}

.pagination .page-link {
  border-radius: 50%;
  border-color: var(--kb-line);
  color: var(--kb-ink);
  margin: 0 3px;
}

.pagination .page-item.active .page-link {
  background: var(--kb-gold);
  border-color: var(--kb-gold);
  color: #fff;
}

/* ---------- Headings / SEO structure ---------- */

/* The product title is an <h1> for document structure. style.css only sizes
   .product-name inside max-width media queries, so on desktop it would otherwise
   inherit the global h1 (60px). Scoped to >=992px so the existing mobile
   breakpoints in style.css / responsive.css keep governing smaller screens. */
@media (min-width: 992px) {
  .product-details-page .right-area .product-info .product-name {
    font-size: 22px;
    line-height: 1.2380952380952381;
  }
}

/* Footer section headings are <h3> for document structure. Their 22px size used
   to come from style.css's bare `h4` tag rule, so it has to be restated against
   the class now that the tag changed. Values match the previous h4 rendering. */
.footer .footer-widget .title {
  font-size: 22px;
  line-height: 1.2380952380952381;
}

/* Same story for these: the class set the size but the line-height was inherited
   from the bare `h4` tag rule, so retagging shifted it. Restated against the
   class so the heading level and the visual result are independent. */
.featured-link-box .title {
  line-height: 1.2380952380952381;
}

/* Order-tracking dialog title is an h5; keep the previous h6 metrics. Scoped to
   the modal id so no other modal heading is affected. */
#track-order-modal .modal-title {
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- Heading retags: restated metrics ---------- */
/* Each rule below exists because the heading's `font-size` was set by a class
   (so it survived retagging) while its `line-height` was inherited from
   style.css's bare tag rule. Retagging silently changed only the line-height,
   so it is restated here against the class. 1.2381 is the old `h4` value. */

.sub-categori .left-area .filter-result-area .header-area .title,
.sub-categori .left-area .tags-area .header-area .title {
  line-height: 1.2380952380952381;
}

.blogpagearea .blog-box .details .blog-title,
.blog-area .blog-box .details .blog-title {
  line-height: 1.2380952380952381;
}

.store-assurance__title {
  line-height: 1.2380952380952381;
}

/* The "Categories" menu toggle is nav chrome, so it is a <span> rather than an
   <h2> that would outrank the page heading. Everything else about it is set by
   .categories_title .categori_toggle; only the block display came from the
   former tag default. */
.categories_title .categori_toggle {
  display: block;
}

/* The newsletter popup title was an <h1>, which would have given every page a
   second H1 once the popup is enabled. It is now an <h2>; these restate the
   h1 metrics it used to inherit so the popup still looks the same. */
.subscribePreloader__text h2 {
  font-size: 60px;
  line-height: 1.0833333333333333;
}

/* ---------- Product description headings ---------- */
/* The imported product descriptions opened at <h3>, skipping a level under the
   product <h1>. They are <h2> now, which without this block would inherit
   style.css's bare `h2` rule - 52px on a page whose <h1> is 22px.
   That was already happening to the descriptions that shipped with <h2>:
   a subheading rendering 2.4x the size of the page title.

   Scoped with `>` so it reaches only the headings that come from the
   description body; "Ratings & Reviews" is an h2.title nested inside
   .heading-area and keeps its own styling.

   26px/1.08333 is exactly what these headings measured as <h3>, so the five
   retagged descriptions are pixel-identical. The h2-native descriptions drop
   from 52px to match them. h3/h4 step down from there so the deeper levels of
   the one genuinely nested description still read as subordinate. */
.tab-content-area > h2 {
  font-size: 26px;
  line-height: 1.0833333333333333;
}

.tab-content-area > h3 {
  font-size: 20px;
  line-height: 1.2;
}

.tab-content-area > h4 {
  font-size: 17px;
  line-height: 1.2;
}

/* The CMS page title is now an <h1> instead of an <h4> so pages like About Us
   have a top-level heading. Its font-size comes from .about .about-info .title
   and was unaffected, but the line-height was inherited from style.css's bare
   `h4` rule (1.2381) and would otherwise have snapped to the `h1` value. */
.about .about-info .title {
  line-height: 1.2380952380952381;
}

/* TikTok has no glyph in the bundled Font Awesome 5.7.2 (it arrived in 5.13),
   so that one link renders an inline <svg> instead of an <i>. Sizing it in em
   and filling with currentColor makes it behave exactly like the icon fonts
   beside it: it picks up the 14px font-size from the footer rule, the 38px
   line-height centring, and the gold hover colour, with no per-location rules.
   The -0.125em nudge is the same optical baseline correction Font Awesome
   applies to its own inline SVGs. */
.social-svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  overflow: visible;
}

/* ================= Homepage split hero =================
   The slide artwork used to be a lazy background image on .intro-content, with
   the copy layered on top of it. It is now a real <img> in its own right-hand
   column so the left half stays clean for the headline. Everything below
   unwinds an assumption made by the old full-bleed overlay. */

.hero-area .hero-area-slider .intro-carousel .intro-content {
  background-color: var(--kb-tint);
  background-image: none;
  /* style.css made this a centring flex row for the overlay; .slider-split is
     the flex container now. */
  display: block;
  padding: 0;
}

.hero-area .hero-area-slider .intro-carousel .slider-split {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-area .hero-area-slider .intro-carousel .slider-copy {
  flex: 0 0 54%;
  max-width: 54%;
  padding: 30px 14px 30px 40px;
}

/* style.css pads .slider-content by 0 30px for the old full-bleed overlay.
   The column owns horizontal padding now, so zero it to avoid double indent. */
.hero-area .hero-area-slider .intro-carousel .intro-content .slider-content {
  width: 100%;
  padding: 0;
}

.hero-area .hero-area-slider .intro-carousel .slider-figure {
  flex: 0 0 46%;
  max-width: 46%;
  align-self: stretch;
}

.hero-area .hero-area-slider .intro-carousel .slider-figure a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-area .hero-area-slider .intro-carousel .slider-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* These five are photographs, not cut-out product renders - each carries its
     own studio backdrop (grey, tan, pink). Dropped in as-is they read as a hard
     rectangle of "other" colour butted against the cream copy panel, and that
     seam is the thing that makes a split hero look pasted together.

     Feathering the inner edge to transparent lets the panel show through, so
     the photo dissolves into the slide instead of ending at a border and the
     product appears to sit on the panel. It is a mask, not a crop: no pixels
     are destroyed and it behaves identically whatever the backdrop looks like,
     which a per-image background removal would not.

     Only the inner (left) edge is faded. Top, bottom and right are the slide's
     own boundary, where a clean edge is correct. */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 9%, #000 26%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 9%, #000 26%);
}

/* ---- Hero copy ---- */

.hero-area .hero-area-slider .intro-carousel .intro-content .slider-content .layer-1 .subtitle {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  /* This was an <h4> and inherited line-height 1.2381 from style.css's bare tag
     rule. It is a <span> now (so the outline reads h1 -> h2, not h1 -> h4 -> h2)
     and a span matches no such rule, so restate it instead of falling to
     `normal`. Font-size and colour come from the admin values inline. */
  line-height: 1.2380952380952381;
  margin: 0 0 12px;
}

.hero-area .hero-area-slider .intro-carousel .intro-content .slider-content .layer-1 .title {
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 14px;
}

.hero-area .hero-area-slider .intro-carousel .intro-content .slider-content .layer-2 .text {
  display: block;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
  max-width: 30em;
}

.hero-area .hero-area-slider .intro-carousel .intro-content .slider-content .layer-3 a {
  margin-top: 24px;
  background: var(--kb-gold);
  border-color: var(--kb-gold);
  box-shadow: none;
}

.hero-area .hero-area-slider .intro-carousel .intro-content .slider-content .layer-3 a:hover {
  background: var(--kb-gold-deep);
  border-color: var(--kb-gold-deep);
}

/* ---- Carousel dots ----
   They were white and centred, which put them on the seam between the two
   columns and invisible against a pale product shot. Anchor them under the
   copy instead and use the site palette. */
.hero-area .hero-area-slider .owl-controls .owl-dots {
  left: 40px;
  transform: none;
  text-align: left;
  bottom: 26px;
}

.hero-area .hero-area-slider .owl-controls .owl-dots .owl-dot {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  transform: none;
  background: var(--kb-line);
  box-shadow: none;
}

.hero-area .hero-area-slider .owl-controls .owl-dots .owl-dot.active {
  width: 34px;
  background: var(--kb-gold);
}

.hero-area .hero-area-slider .slide-progress {
  background: rgba(201, 166, 110, 0.5);
  height: 3px;
}

/* ---- Stacked below desktop ---- */
@media (max-width: 991px) {
  /* The 3/2 aspect-ratio above was sized for full-bleed background art. With a
     real two-part slide the height has to come from the content. */
  .hero-area .hero-area-slider .intro-content {
    aspect-ratio: auto;
  }

  .hero-area .hero-area-slider .intro-carousel .slider-split {
    /* column-reverse puts the figure (second in the DOM) on top, keeping the
       product visible above the fold while the copy reads underneath. */
    flex-direction: column-reverse;
    height: auto;
  }

  .hero-area .hero-area-slider .intro-carousel .slider-copy,
  .hero-area .hero-area-slider .intro-carousel .slider-figure {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .hero-area .hero-area-slider .intro-carousel .slider-copy {
    padding: 26px 24px 30px;
    text-align: center;
  }

  .hero-area .hero-area-slider .intro-carousel .slider-figure {
    aspect-ratio: 16 / 10;
  }

  .hero-area .hero-area-slider .intro-carousel .slider-figure img {
    /* Stacked, the copy sits under the figure rather than beside it, so the
       seam moved from the left edge to the bottom one. Re-aim the fade or the
       photo would dissolve on a side that no longer touches anything. */
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,0.55) 86%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 62%, rgba(0,0,0,0.55) 86%, transparent 100%);
  }

  .hero-area .hero-area-slider .intro-carousel .intro-content .slider-content .layer-2 .text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-area .hero-area-slider .owl-controls .owl-dots {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    bottom: 18px;
  }
}
