/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart-child
*/

/* Map WoodMart's bundled IRYekanBakh files to native weights under one family. */
@font-face {
  font-family: 'IRYekanBakh';
  src: url('../woodmart/theme-core/assets/fonts/IRYekanBakh-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'IRYekanBakh';
  src: url('../woodmart/theme-core/assets/fonts/IRYekanBakh-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --wd-form-brd-radius: 8px;
  --btn-default-brd-radius: 8px;
  --btn-accented-brd-radius: 8px;
}

/* Single-product-only refinements; the gallery, tabs and purchase flow remain WoodMart/WooCommerce native. */
.project-single-product .summary .product_title {
  font-size: 28px;
  line-height: 1.4;
}

.project-single-product .summary .summary-inner > .price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: #232323;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
}

.project-single-product .summary .summary-inner > .price del,
.project-single-product .summary .summary-inner > .price ins {
  display: block;
  line-height: 1.2;
}

.project-single-product .summary .summary-inner > .price del {
  color: #a6a2a8;
  font-size: 0.55em;
  font-weight: 400;
}

.project-single-product .summary .summary-inner > .price .woocommerce-Price-currencySymbol {
  font-size: 0.6em;
}

.project-single-product .product-images .product-label.out-of-stock {
  width: auto;
  min-width: 76px;
  height: auto;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.project-single-product .summary .single_add_to_cart_button {
  min-height: 56px;
  border-radius: 8px;
  background-color: #c10917;
}

.project-single-product .summary .single_add_to_cart_button:hover {
  background-color: #ad0c14;
}

@media (max-width: 1024px) {
  .project-single-product .summary .product_title { font-size: 22px; }
  .project-single-product .summary .summary-inner > .price { font-size: 36px; }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .project-single-product .product-image-summary-inner > .product-images { --wd-col-md: 5 !important; }
  .project-single-product .product-image-summary-inner > .summary { --wd-col-md: 7 !important; }
  .project-single-product .woocommerce-product-gallery { width: 94%; margin-left: auto; }
}

@media (max-width: 767px) {
  .project-single-product .single-breadcrumbs-wrapper .container,
  .project-single-product .single-product-page > .container,
  .project-single-product .product-tabs-inner,
  .project-single-product .related-and-upsells { padding-inline: 20px; }

  .project-single-product .product-image-summary { width: auto; margin-inline: 0; }

  .project-single-product .summary .product_title { font-size: 20px; }
  .project-single-product .summary .summary-inner > .price { font-size: 28px; }
  .project-single-product .summary .summary-inner > .price del { font-size: 18px; }
  .project-single-product .woocommerce-product-gallery__image img {
    max-width: 85%;
    margin-inline: auto;
  }
  .project-single-product .summary form.cart { gap: 6px; }
  .project-single-product .summary form.cart .single_add_to_cart_button { flex: 1; }
}

/* Phase 36: global Footer presentation is authoritative in behin-footer.css. */

/* Phase 12: project header refinements, scoped by the builder announcement marker. */
.whb-header:has(.project-header-announcement) .whb-row .container {
  width: calc(100% - 96px);
  max-width: 1329px;
  padding-inline: 0;
}

.whb-header:has(.project-header-announcement) .whb-top-bar {
  background-color: #ad0c14;
  background-image: url("/wp-content/uploads/2026/09/saharkhiz-header-story-pattern.webp");
  background-position: center;
  background-size: cover;
}

.project-header-announcement-wrap,
.project-header-announcement {
  width: 100%;
  text-align: center;
}

.project-header-announcement {
  color: #fff;
  font-size: 18px;
  line-height: 27px;
}

.whb-header:has(.project-header-announcement) .whb-general-header .whb-column {
  gap: 10px;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) {
  flex: 1 1 auto;
  width: 100%;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) .searchform {
  --wd-form-height: 44px;
  background: #f8f8f8;
  border: 0;
  border-radius: 8px;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) input[type="text"] {
  background: #f8f8f8;
  border-color: #e9e9e9;
  border-radius: 8px;
  padding-right: 55px;
  padding-left: 12px;
  font-size: 14px;
  font-weight: 400;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) .searchsubmit {
  right: 0;
  left: auto;
  width: 51px;
  background: transparent;
  color: #c10917;
  box-shadow: none;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) .searchsubmit:hover {
  background: transparent;
  color: #ad0c14;
}

.whb-header:has(.project-header-announcement) .wd-logo img {
  padding-block: 0;
}

.project-header-contact a {
  display: flex;
  min-width: 120px;
  flex-direction: column;
  color: #232323;
  text-align: right;
  text-decoration: none;
  line-height: 1.35;
}

.project-header-contact {
  display: flex;
  width: 212px;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

.project-header-contact::after {
  display: flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  color: #c10917;
  content: "☎";
  font-size: 25px;
  line-height: 1;
}

.project-header-contact span {
  color: #c10917;
  font-size: 14px;
}

.project-header-contact strong {
  font-size: 17px;
  font-weight: 500;
}

.whb-header:has(.project-header-announcement) .wd-header-cart {
  width: 49px;
  height: 48px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
}

.whb-header:has(.project-header-announcement) .wd-header-cart .wd-tools-inner {
  justify-content: center;
  padding-inline: 0;
  color: #c10917;
}

.whb-header:has(.project-header-announcement) .wd-header-my-account {
  min-width: 164px;
  height: 46px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
}

.whb-header:has(.project-header-announcement) .wd-header-my-account .wd-tools-inner {
  justify-content: center;
  padding-inline: 16px;
}

.whb-header:has(.project-header-announcement) .wd-header-nav .wd-nav > li > a {
  min-height: 48px;
  padding-inline: 14px;
  color: #232323;
  font-size: 16px;
  font-weight: 600;
}

.whb-header:has(.project-header-announcement) .project-nav-categories > a {
  font-weight: 700 !important;
}

.whb-header:has(.project-header-announcement) .project-mega-menu > .wd-dropdown-menu {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(35, 35, 35, .12);
}

@media (min-width: 1025px) {
  .whb-header:has(.project-header-announcement) .wd-header-search-form {
    width: 576px !important;
    max-width: 576px !important;
  }

  .whb-header:has(.project-header-announcement) .whb-header-bottom {
    margin-top: -6px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .whb-header:has(.project-header-announcement) .whb-mobile-left .wd-logo img {
    max-width: 74px !important;
  }

  .whb-header:has(.project-header-announcement) .wd-header-search-form-mobile {
    width: 381px !important;
    max-width: 381px !important;
    margin-inline-start: 10px;
    padding-inline: 0;
  }
}

@media (max-width: 1024px) {
  .whb-header:has(.project-header-announcement) .whb-row .container {
    width: calc(100% - 40px);
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-center {
    flex: 1 1 auto;
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-left,
  .whb-header:has(.project-header-announcement) .whb-mobile-right {
    flex: 0 0 auto;
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-right:has(.project-header-contact) .wd-header-mobile-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .whb-header:has(.project-header-announcement) .whb-general-header > .container {
    min-height: 68px;
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-right:has(.project-header-contact) {
    display: none;
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-center {
    min-width: 0;
  }

  .whb-header:has(.project-header-announcement) .wd-header-search-form-mobile {
    margin-inline-end: 0;
  }

  .project-header-announcement {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Phase 40: native WoodMart Behin mobile shopping dock. */
@media (min-width: 769px) and (max-width: 1024px) {
  .project-mobile-bottom-nav .wd-toolbar {
    display: none;
  }

  .sticky-toolbar-on.project-mobile-bottom-nav {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .project-mobile-bottom-nav .wd-toolbar {
    direction: rtl;
    right: 12px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    height: 68px;
    overflow: visible;
    padding: 5px 6px;
    border: 1px solid rgba(145, 93, 47, .18);
    border-radius: 20px;
    background: #fffaf2;
    box-shadow: 0 10px 28px rgba(58, 25, 18, .14);
    box-sizing: border-box;
    z-index: 999;
  }

  .sticky-toolbar-on.project-mobile-bottom-nav {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .project-mobile-bottom-nav .wd-toolbar > div {
    position: relative;
    height: 58px;
    min-width: 0;
    flex: 1 1 0;
    color: #423a36;
    box-sizing: border-box;
  }

  .project-mobile-bottom-nav .wd-toolbar > div > a {
    display: flex;
    height: 58px;
    padding: 3px 1px 2px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: inherit;
    border-radius: 14px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-tools-icon {
    position: relative;
    display: flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-tools-icon::before {
    font-size: 22px;
    line-height: 1;
    transform: none;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-toolbar-label {
    position: static;
    display: block;
    width: 100%;
    flex: 0 0 auto;
    padding: 0;
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    text-align: center;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-header-search {
    z-index: 2;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-header-search > a {
    height: 64px;
    padding-block: 1px;
    transform: translateY(-5px);
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-header-search .wd-tools-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 15px;
    background: #ad101b;
    color: #fff;
    box-shadow: 0 7px 15px rgba(173, 16, 27, .22);
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-header-search .wd-tools-icon::before {
    font-size: 23px;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-header-search .wd-toolbar-label {
    color: #8f0d17;
    font-weight: 700;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-header-cart .wd-tools-count {
    top: -4px;
    right: -6px;
    left: auto;
    display: flex;
    width: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fffaf2;
    border-radius: 99px;
    background: #97101a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    box-sizing: border-box;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-header-cart .wd-tools-count span {
    display: none;
  }

  .project-mobile-bottom-nav .wd-toolbar > div > a:hover,
  .project-mobile-bottom-nav .wd-toolbar > div > a:focus-visible {
    color: #ad101b;
    background: rgba(173, 16, 27, .055);
    outline: none;
  }

  :is(.project-mobile-bottom-nav.home, .project-mobile-bottom-nav.page-id-18) .wd-toolbar-home,
  .project-mobile-bottom-nav:is(.post-type-archive-product, .tax-product_cat) .wd-toolbar-shop,
  .project-mobile-bottom-nav.woocommerce-account .wd-header-my-account,
  .project-mobile-bottom-nav.woocommerce-cart .wd-header-cart {
    color: #ad101b;
  }

  :is(.project-mobile-bottom-nav.home, .project-mobile-bottom-nav.page-id-18) .wd-toolbar-home::after,
  .project-mobile-bottom-nav:is(.post-type-archive-product, .tax-product_cat) .wd-toolbar-shop::after,
  .project-mobile-bottom-nav.woocommerce-account .wd-header-my-account::after,
  .project-mobile-bottom-nav.woocommerce-cart .wd-header-cart::after {
    position: absolute;
    right: 50%;
    bottom: 1px;
    width: 15px;
    height: 2px;
    border-radius: 99px;
    background: #ad101b;
    content: "";
    transform: translateX(50%);
  }
}

@media (max-width: 599px) {
  .project-mobile-bottom-nav .wd-toolbar {
    right: 10px;
    left: 10px;
    padding-inline: 4px;
  }

  .project-mobile-bottom-nav .wd-toolbar .wd-toolbar-label {
    font-size: 10.5px;
  }
}

/* Phase 41: legacy archive declarations are retained for rollback history but
   are inactive; archive-layout.css is the sole active archive visual owner. */
@media not all {
/* Phase 16: WooCommerce product-category archives only. */
.project-product-archive .wd-page-content {
  background: #faf9fa;
}

.project-product-archive__breadcrumbs {
  min-height: 57px;
  background: #fff;
}

.project-product-archive__breadcrumbs > .container {
  display: flex;
  align-items: center;
  width: min(1329px, calc(100% - 40px));
  min-height: 57px;
  padding: 0;
}

.project-product-archive__breadcrumbs .wd-breadcrumbs {
  color: #6f6a73;
  font-size: 14px;
}

.project-product-archive__breadcrumbs a:hover {
  color: #c10917;
}

.project-product-archive .wd-page-title {
  height: 122px;
  min-height: 122px;
  margin: 0;
  background-color: #fff;
  background-image: url("/wp-content/uploads/2026/09/category-section-pattern.webp");
  background-position: center;
  background-size: cover;
}

.project-product-archive .wd-page-title-bg,
.project-product-archive .wd-page-title .wd-back-btn {
  display: none;
}

.project-product-archive .wd-page-title > .container,
.project-product-archive .wd-title-wrapp {
  height: 100%;
  min-height: 0;
  padding-block: 0;
}

.project-product-archive .wd-page-title .entry-title {
  color: #232323;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}

.project-product-archive #main-content {
  width: min(1329px, calc(100% - 40px));
  max-width: 1329px;
  padding-inline: 0;
  padding-top: 60px;
}

.project-product-archive .shop-loop-head {
  justify-content: flex-start;
  min-height: 111px;
  margin: 0 0 20px;
  padding: 34px 48px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(35, 35, 35, 0.06);
}

.project-product-archive .shop-loop-head > .wd-shop-tools:first-child,
.project-product-archive .woocommerce-result-count {
  display: none;
}

.project-product-archive .shop-loop-head > .wd-shop-tools:last-child {
  width: 100%;
  justify-content: flex-start;
}

.project-product-archive .woocommerce-ordering,
.project-product-archive .woocommerce-ordering select {
  width: 240px !important;
}

.project-product-archive .woocommerce-ordering select {
  height: 42px !important;
  padding-inline: 14px 36px;
  max-width: none !important;
  border: 1px solid #e8e3ea !important;
  border-radius: 8px !important;
  background-color: #f8f7f8 !important;
  color: #232323 !important;
  font-size: 14px;
}

.project-product-archive .woocommerce-ordering::after {
  display: none !important;
}

.project-product-archive form.woocommerce-ordering.wd-ordering-mb-icon select.orderby {
  color: #232323 !important;
  text-indent: 0 !important;
}

.project-product-archive .wd-products {
  row-gap: 12px;
}

.project-product-archive .product-grid-item {
  min-width: 0;
  padding-inline: 7px;
}

.project-product-archive .product-grid-item .product-wrapper {
  height: 360px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 150px 150px 12px 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(35, 35, 35, 0.07);
}

.project-product-archive .product-grid-item .product-element-top {
  flex: 0 0 192px;
  height: 192px;
  padding-top: 35px;
  overflow: visible;
  background: #fff;
}

.project-product-archive .product-grid-item .product-image-link,
.project-product-archive .product-grid-item .product-image-link img {
  height: auto;
}

.project-product-archive .product-grid-item .product-image-link {
  display: flex;
  width: 100%;
  justify-content: center;
}

.project-product-archive .product-grid-item .product-image-link img {
  width: 48% !important;
  object-fit: contain;
  transition: transform 300ms ease;
}

.project-product-archive .product-grid-item:hover .product-image-link img {
  transform: scale(1.08);
}

.project-product-archive .product-grid-item .product-element-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  padding: 0 16px 16px !important;
  text-align: right;
}

.project-product-archive .product-grid-item .wd-entities-title {
  display: -webkit-box;
  min-height: 0;
  max-height: 2.8em;
  margin: 8px 0 0;
  overflow: hidden;
  color: #232323;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-product-archive .product-grid-item .price {
  display: flex;
  min-height: 36px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2px;
  color: #232323;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
}

.project-product-archive .product-grid-item .product-rating-price {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

.project-product-archive .product-grid-item .wrapp-product-price {
  align-items: flex-end !important;
}

/* WoodMart's native hover actions overlay the card instead of being clipped below it. */
.project-product-archive .product-grid-item .wd-product-card-hover {
  top: auto !important;
  bottom: 0 !important;
  width: 100%;
  border-radius: 0 0 12px 12px;
  background: rgba(255, 255, 255, 0.97);
}

.project-product-archive .product-grid-item .price del,
.project-product-archive .product-grid-item .price ins {
  display: block;
  max-width: 100%;
  line-height: 1.2;
}

.project-product-archive .product-grid-item .price del {
  color: #a6a2a8;
  font-size: 0.8em;
  font-weight: 400;
}

.project-product-archive .product-grid-item .price .woocommerce-Price-currencySymbol {
  font-size: 0.72em;
}

.project-product-archive .product-grid-item .product-label.out-of-stock {
  width: auto;
  min-width: 66px;
  height: auto;
  min-height: 25px;
  padding: 4px 7px;
  border-radius: 7px;
  white-space: nowrap;
}

.project-product-archive .product-grid-item .product-label {
  border-radius: 8px;
}

.project-product-archive .term-description {
  margin: 60px 0 0;
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  color: #6f6a73;
  font-size: 15px;
  line-height: 1.9;
}

.project-product-archive .wd-pagination {
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .project-product-archive .shop-loop-head {
    min-height: 122px;
    padding-inline: 32px;
  }

  .project-product-archive .product-grid-item {
    padding-inline: 6px;
  }

  .project-product-archive .product-grid-item .product-element-top {
    flex-basis: 175px;
    height: 175px;
  }

  .project-product-archive .product-grid-item .product-image-link img {
    width: 47% !important;
  }
}

@media (max-width: 768px) {
  .project-product-archive .wd-page-title {
    height: 122px;
    min-height: 122px;
  }

  .project-product-archive #main-content {
    padding-top: 60px;
  }

  .project-product-archive .shop-loop-head {
    min-height: 114px;
    padding: 30px 24px;
  }

  .project-product-archive .product-grid-item .product-wrapper {
    height: 279px;
  }

  .project-product-archive .product-grid-item .product-element-top {
    flex-basis: 203px;
    height: 203px;
    padding-top: 18px;
  }

  .project-product-archive .product-grid-item .product-element-bottom {
    padding: 0 8px 8px !important;
  }

  .project-product-archive .product-grid-item .product-image-link img {
    width: 54% !important;
  }

  .project-product-archive .product-grid-item .wd-entities-title {
    font-size: 16px;
    line-height: 1.4;
  }

  .project-product-archive .product-grid-item .price {
    min-height: 30px;
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 480px) {
  .project-product-archive__breadcrumbs,
  .project-product-archive__breadcrumbs > .container {
    min-height: 57px;
  }

  .project-product-archive .wd-page-title {
    height: 82px;
    min-height: 82px;
  }

  .project-product-archive .wd-page-title .entry-title {
    font-size: 24px;
  }

  .project-product-archive #main-content {
    padding-top: 20px;
  }

  .project-product-archive .shop-loop-head {
    min-height: 134px;
    padding: 46px 12px;
  }

  .project-product-archive .woocommerce-ordering,
  .project-product-archive .woocommerce-ordering select {
    width: 100% !important;
  }

  .project-product-archive .shop-loop-head > .wd-shop-tools:last-child {
    flex: 1 1 100%;
    width: 100% !important;
  }

  .project-product-archive .woocommerce-ordering select {
    position: static !important;
  }

  .project-product-archive .product-grid-item {
    padding-inline: 4px;
  }

  .project-product-archive .product-grid-item .product-wrapper {
    height: 245px;
    border-radius: 100px 100px 10px 10px;
  }

  .project-product-archive .product-grid-item .product-element-top {
    flex-basis: 111px;
    height: 111px;
  }

  .project-product-archive .product-grid-item .product-image-link img {
    width: 47% !important;
  }

  .project-product-archive .product-grid-item .wd-entities-title {
    font-size: 16px;
    line-height: 1.4;
  }

  .project-product-archive .product-grid-item .price {
    font-size: 16px;
  }

  .project-product-archive .term-description {
    margin-top: 40px;
    padding: 24px 20px;
    font-size: 14px;
  }
}

}

@media (min-width: 481px) and (max-width: 768px) {
  .whb-header:has(.project-header-announcement) .whb-general-header,
  .whb-header:has(.project-header-announcement) .whb-general-header > .container {
    height: 76px;
    min-height: 76px;
  }

  .whb-header:has(.project-header-announcement) .wd-header-search-form-mobile {
    width: 634px !important;
    max-width: 634px !important;
    padding: 0 10px 0 0;
  }
}

@media (max-width: 480px) {
  .whb-header:has(.project-header-announcement) .whb-general-header,
  .whb-header:has(.project-header-announcement) .whb-general-header > .container {
    height: 68px;
    min-height: 68px;
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-left .wd-logo img {
    max-width: 69px !important;
  }

  .whb-header:has(.project-header-announcement) .wd-header-search-form-mobile {
    padding: 0 10px 0 0;
  }
}

/* Reference-style controls for the editable Elementor hero carousel. */
.home-hero .home-hero__slider .elementor-image-carousel-wrapper {
  border-radius: 12px;
  direction: rtl;
}

.home-hero .home-hero__slider .swiper-slide-image {
  display: block;
  width: 100%;
}

/* Single-banner hero: retire the former promo column and keep the complete
   Swiper image chain inside one clipped, rounded frame. */
.elementor .home-hero.e-con {
  --width: 100%;
  width: 100%;
  max-width: 100%;
}

.home-hero .home-hero__promo {
  display: none !important;
}

.home-hero .home-hero__slider {
  --width: 100%;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  overflow: hidden;
  border-radius: 12px;
}

.home-hero .home-hero__slider .elementor-image-carousel-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.home-hero .home-hero__slider,
.home-hero .home-hero__slider > .elementor-widget-image-carousel,
.home-hero .home-hero__slider > .elementor-widget-image-carousel > .elementor-widget-container,
.home-hero .home-hero__slider .elementor-image-carousel-wrapper,
.home-hero .home-hero__slider .swiper-wrapper,
.home-hero .home-hero__slider .swiper-slide,
.home-hero .home-hero__slider .swiper-slide-inner {
  height: auto;
}

.home-hero .home-hero__slider .swiper-slide-inner {
  margin: 0;
}

.home-hero .home-hero__slider .swiper-slide-image {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain;
  object-position: center;
}

.home-hero .home-hero__slider .elementor-swiper-button {
  top: auto;
  bottom: 8px;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
}

.home-hero .home-hero__slider .elementor-swiper-button-prev {
  left: calc(50% - 84px);
}

.home-hero .home-hero__slider .elementor-swiper-button-next {
  right: calc(50% - 84px);
}

.home-hero .home-hero__slider .swiper-pagination {
  bottom: 21px;
}

/* Phase 29.2: premium image-led native category carousel for the homepage. */
.home-categories {
  padding-top: 28px !important;
  padding-bottom: 25px !important;
  background-color: #fffbf7;
  background-image: linear-gradient(rgba(255, 251, 247, 0.975), rgba(255, 251, 247, 0.975)), url('/wp-content/uploads/2026/09/category-section-pattern.webp') !important;
  background-position: center, center -90px !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, 680px auto !important;
}

.home-categories .home-categories__inner {
  --gap: 12px 12px;
  --row-gap: 12px;
  --column-gap: 12px;
}

.home-categories .elementor-widget-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.home-categories .elementor-widget-heading::after {
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: #c10917;
  content: "";
}

.home-categories .elementor-heading-title {
  color: #a90d17 !important;
  font-weight: 800;
}

.home-categories .project-category-grid {
  display: none !important;
}

.home-categories .project-category-carousel.elementor-hidden-desktop,
.home-categories .project-category-carousel.elementor-hidden-tablet {
  display: block !important;
}

.home-categories .project-category-carousel .wd-carousel {
  --wd-col-lg: 6 !important;
  --wd-col-md: 4 !important;
  --wd-gap-lg: 18px !important;
  --wd-gap-sm: 16px !important;
  padding: 3px 1px;
}

.home-categories .project-category-cards .category-grid-item .wd-cat-inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 236px;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(142, 84, 48, 0.1);
  border-radius: 15px;
  background: #fff8ee;
  box-shadow: 0 6px 18px rgba(68, 36, 23, 0.06);
  isolation: isolate;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.home-categories .project-category-cards .wd-cat-thumb {
  display: block;
  width: 100%;
  height: 180px;
  flex: 0 0 180px;
  overflow: hidden;
  border-radius: 0;
  background: #9d201f;
}

.home-categories .project-category-cards .wd-cat-image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.home-categories .project-category-cards .wd-cat-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 240ms ease;
}

.home-categories .project-category-cards .wd-cat-content {
  position: relative;
  display: flex;
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 7px 12px !important;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(142, 84, 48, 0.08);
  background: linear-gradient(180deg, #fffaf2 0%, #fff6ea 100%);
  text-align: center;
  transform: none;
}

.home-categories .project-category-cards .wd-cat-content::after {
  display: none;
  content: none;
}

.home-categories .project-category-cards .wd-entities-title {
  position: static;
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #35241e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-categories .project-category-subtitle {
  display: none;
}

.home-categories .project-category-cards .wd-cat-count {
  display: none;
}

.home-categories .project-category-cards .wd-cat-inner:focus-within {
  outline: 3px solid rgba(193, 9, 23, 0.22);
  outline-offset: 2px;
}

.home-categories .project-category-carousel .wd-nav-arrows {
  --wd-arrow-size: 30px;
  --wd-arrow-icon-size: 13px;
}

.home-categories .project-category-carousel .wd-nav-arrows.wd-pos-sep .wd-btn-arrow {
  top: calc(50% - 15px);
  opacity: 0.82 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.home-categories .project-category-carousel .wd-arrow-inner {
  border: 1px solid rgba(142, 84, 48, 0.15);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 3px 10px rgba(68, 36, 23, 0.09);
  color: #a90d17;
}

.home-categories .project-category-carousel .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-disabled {
  opacity: 0.32 !important;
  pointer-events: none !important;
}

.home-categories .project-category-carousel .wd-btn-arrow.wd-prev {
  inset-inline-start: auto;
  inset-inline-end: -14px;
}

.home-categories .project-category-carousel .wd-btn-arrow.wd-next {
  inset-inline-start: -14px;
  inset-inline-end: auto;
}

.home-categories .project-category-carousel .wd-nav-pagin {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .home-categories .project-category-cards .category-grid-item:hover .wd-cat-inner {
    border-color: rgba(193, 9, 23, 0.2);
    box-shadow: 0 9px 22px rgba(68, 36, 23, 0.09);
    transform: translateY(-2px);
  }

  .home-categories .project-category-cards .category-grid-item:hover .wd-cat-thumb img {
    transform: scale(1.025);
  }
}

@media (max-width: 1024px) {
  .home-categories .project-category-carousel .wd-carousel {
    --wd-col-lg: 4 !important;
    --wd-col-md: 4 !important;
  }
}

@media (max-width: 768px) {
  body.home.page-id-18 #main-content {
    --project-early-home-canvas: #fff3e6;
    background-color: var(--project-early-home-canvas);
  }

  .home-categories {
    padding-top: 26px !important;
    padding-bottom: 20px !important;
    background-color: transparent !important;
    background-image: none !important;
  }

  .home-categories::before {
    position: absolute;
    inset: 0;
    background: url('/wp-content/uploads/2026/09/category-section-pattern.webp') center -90px / 520px auto no-repeat;
    content: "";
    opacity: .025;
    pointer-events: none;
  }

  .home-categories .project-category-carousel .wd-carousel {
    --wd-col-sm: 3.2 !important;
  }

  .home-categories .project-category-cards .category-grid-item .wd-cat-inner {
    height: 218px;
    padding: 0;
    border-radius: 15px;
  }

  .home-categories .project-category-cards .wd-cat-thumb {
    height: 164px;
    flex-basis: 164px;
  }

  .home-categories .project-category-cards .wd-cat-content {
    height: 54px;
    min-height: 54px;
    padding: 6px 9px !important;
    flex-basis: 54px;
  }

  .home-categories .project-category-cards .wd-entities-title {
    font-size: 15px;
    line-height: 1.4;
  }
}

@media (max-width: 599px) {
  .home-categories .project-category-carousel .wd-carousel {
    --wd-col-sm: 2.1 !important;
    --wd-gap-sm: 14px !important;
    padding-bottom: 22px;
  }

  .home-categories .project-category-cards .category-grid-item .wd-cat-inner {
    height: 205px;
    padding: 0;
  }

  .home-categories .project-category-cards .wd-cat-thumb {
    height: 153px;
    flex-basis: 153px;
  }

  .home-categories .project-category-cards .wd-cat-content {
    height: 52px;
    min-height: 52px;
    flex-basis: 52px;
  }

  .home-categories .project-category-carousel .wd-btn-arrow {
    display: none !important;
  }

  .home-categories .project-category-carousel .wd-nav-pagin {
    display: flex !important;
    bottom: 2px;
    gap: 7px;
    transform: none;
  }

  .home-categories .project-category-carousel .wd-nav-pagin > li {
    width: 5px;
    height: 5px;
    opacity: 0.42;
  }

  .home-categories .project-category-carousel .wd-nav-pagin > li.wd-active {
    width: 16px;
    border-radius: 999px;
    opacity: 0.72;
  }
}

/* Shared native WoodMart card language for homepage product campaigns. */
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .product-wrapper {
  height: 360px;
  overflow: hidden;
  border-radius: 150px 150px 12px 12px;
  background-color: #fff;
  box-shadow: 0 0 16px 2px rgba(0, 0, 0, 0.07);
}

/* The reference campaign cards use this existing local artwork at the foot of
   the white arch; it changes the card surface without moving image or badges. */
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel) .product-grid-item .product-wrapper {
  background-image: url('/wp-content/uploads/2026/09/category-card-pattern.png');
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* One content-flow model for the three campaigns and related products.
   The native WoodMart hover panel stays present, while auto margin anchors
   dynamic WooCommerce pricing at the bottom of the resting card. */
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .product-element-bottom {
  flex: 1;
  padding: 0 16px 25px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-element-top {
  height: 171px;
  flex: 0 0 171px;
  padding-top: 25px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-image-link img {
  display: block;
  width: 50% !important;
  margin-inline: auto !important;
  transition: transform 0.3s ease;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item:hover .product-image-link img {
  transform: scale(1.15);
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .product-labels {
  inset: 0;
  pointer-events: none;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .product-element-top {
  z-index: 2;
  overflow: visible;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .project-mahak-label {
  position: absolute;
  top: 151px;
  right: 16px;
  width: 50px;
  min-width: 50px;
  height: 24px;
  padding: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ab4bd3;
  font-size: 16px;
  font-weight: 400;
}

/* The reference's Mahak sticker uses a separate mascot above its editable label. */
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .project-mahak-label::before {
  position: absolute;
  top: -38px;
  right: -6px;
  width: 40px;
  height: 40px;
  background: url('/wp-content/uploads/2026/09/mahak-badge-mascot.png') no-repeat center / contain;
  content: '';
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .project-amazing-discount {
  position: absolute;
  top: 281px;
  right: 12px;
  min-width: 50px;
  border-radius: 12px;
  background-color: #c10917;
  font-size: 16px;
  font-weight: 400;
}

.home-amazing .amazing-sale-products .project-amazing-discount {
  right: 31px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .wd-entities-title {
  min-height: 0;
  max-height: 2.8em;
  margin-bottom: 0;
  overflow: hidden;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .product-rating-price {
  margin-top: auto;
  margin-bottom: 0;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-rating-price .wrapp-product-price {
  align-items: flex-end;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price {
  display: flex;
  width: calc(100% - 62px);
  min-height: 36px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
  line-height: 36px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item:has(.price del) .price {
  min-height: 92px;
  justify-content: flex-start;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) del {
  display: block;
  color: #9d9d9d;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) ins,
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price {
  color: #232323;
  font-size: 24px;
  font-weight: 600;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) ins {
  display: block;
  line-height: 36px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price .woocommerce-Price-amount {
  line-height: 36px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price del .woocommerce-Price-amount {
  line-height: 20px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .woocommerce-Price-currencySymbol {
  font-size: 0.6em;
}

/* WooCommerce emits the currency first in RTL markup; display it after the amount,
   matching the reference while preserving native dynamic price output. */
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price bdi {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: baseline;
  gap: 2px;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-label.out-of-stock {
  width: auto;
  min-width: 66px;
  height: auto;
  min-height: 24px;
  padding: 4px 7px;
  border-radius: 7px;
  white-space: nowrap;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .wd-nav-pagin {
  --wd-pagin-bg: rgba(255, 255, 255, 0.45);
  --wd-pagin-brd-color: rgba(255, 255, 255, 0.45);
  --wd-pagin-act-bg: #fff;
  --wd-pagin-act-brd-color: #fff;
}

.project-single-product .related-products .product-grid-item:not(:has(.price del)) .wd-entities-title {
  margin-top: 19px;
}

.project-single-product .related-products .product-grid-item:not(:has(.price del)) .product-element-bottom {
  padding-bottom: 14px;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .project-single-product .related-products .product-image-link img { max-width: 146px; }
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .wd-btn-arrow {
  z-index: 3 !important;
}

/* Keep native WoodMart cart actions below the product content, away from images.
   Compact cards use the product link for purchase access because their badge and
   price already occupy the lower corners. */
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products, .project-product-archive) .product-grid-item .wd-buttons {
  inset: auto 12px 12px auto !important;
  transform: none !important;
}

/* Sale corners occupy that lower action slot; the native product link remains
   available without placing a second control over the dynamic discount. */
:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item:has(.project-amazing-discount) .wd-buttons {
  display: none;
}

:is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .wd-carousel {
  /* WoodMart writes 16px/20px gap values inline on each widget. */
  --wd-gap: 20px !important;
  --wd-gap-sm: 20px !important;
  --wd-gap-lg: 20px !important;
}

.project-single-product .related-products .wd-carousel {
  --wd-gap: 8px !important;
  --wd-gap-sm: 8px !important;
}

@media (max-width: 1199px) {
  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .wd-buttons {
    display: none;
  }
}

.home-amazing .amazing-sale-products .wd-nav-pagin {
  transform: translateY(19px);
}

.home-amazing .amazing-sale-products .wd-btn-arrow {
  top: auto !important;
  bottom: -48px !important;
  inset-block-start: auto !important;
  inset-block-end: -48px !important;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  opacity: 1 !important;
  transform: none !important;
}

.home-amazing .amazing-sale-products .wd-btn-arrow.wd-prev {
  right: auto;
  left: calc(50% - 100px);
}

.home-amazing .amazing-sale-products .wd-btn-arrow.wd-next {
  right: calc(50% - 100px);
  left: auto;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .home-amazing .amazing-sale-products .product-image-link img { width: 53.3% !important; }
  .home-amazing .amazing-sale-products .product-grid-item .wd-entities-title { font-size: 17.5px; }
  .home-amazing .amazing-sale-products .product-grid-item:has(.price del) .wd-entities-title { margin-top: 25px; }
  .home-amazing .amazing-sale-products .product-grid-item:has(.price del) .product-element-bottom { padding-bottom: 14px; }
  .home-amazing .amazing-sale-products .product-grid-item:has(.price del) .price { min-height: 59px; }
  .home-amazing .amazing-sale-products .project-mahak-label { top: 162px; right: 17px; }
  .home-amazing .amazing-sale-products .project-amazing-discount { top: 299px; right: 29px; }
}

@media (max-width: 768px) {
  .home-amazing .home-amazing__inner {
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .home-amazing .home-amazing__inner > .e-con-inner {
    flex-direction: column !important;
  }

  .home-amazing .amazing-intro,
  .home-amazing .amazing-products {
    width: 100% !important;
  }

  .home-amazing .amazing-intro {
    min-height: 140px;
    flex-direction: row-reverse !important;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 20px;
  }

  .home-amazing .amazing-heading h2 {
    white-space: nowrap;
  }

  .home-amazing .amazing-heading {
    width: 191px;
    flex: 0 0 191px;
  }

  .home-amazing .amazing-promotional-artwork {
    width: 137px;
    flex: 0 0 137px;
  }

  .home-amazing .amazing-promotional-artwork img {
    width: 137px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .product-wrapper {
    height: 245px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-element-top {
    height: 104px;
    flex-basis: 104px;
    padding-top: 8px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-image-link img { width: 54% !important; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .product-element-bottom { padding: 0 8px 8px; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item .wd-entities-title { min-height: 0; max-height: 2.8em; font-size: 16px; line-height: 1.4; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item:has(.price del) .wd-entities-title { margin-top: 0; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item:not(:has(.price del)) .wd-entities-title { margin-top: 7px; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) del {
    font-size: 14px;
    line-height: 21px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) ins,
  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price {
    font-size: 16px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price {
    width: calc(100% - 46px);
    min-height: 30px;
    line-height: 28px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .product-grid-item:has(.price del) .price { min-height: 51px; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) ins {
    margin-top: 0;
    line-height: 28px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price .woocommerce-Price-amount { line-height: 28px; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel, .project-single-product .related-products) .price del .woocommerce-Price-amount { line-height: 21px; }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .project-mahak-label {
    top: 90px;
    right: 8px;
    width: 41px;
    min-width: 41px;
    height: 18px;
    padding: 0;
    font-size: 12px;
    line-height: 18px;
  }

  :is(.home-amazing .amazing-sale-products, .home-featured .featured-products-carousel, .home-gifts .gift-products-carousel) .project-amazing-discount {
    top: 198px;
    right: 8px;
    width: 33px;
    min-width: 33px;
    height: 28px;
    padding: 0 5px;
    font-size: 12px;
    line-height: 28px;
  }
}

@media (max-width: 768px) {
  .project-single-product .related-products .product-grid-item:not(:has(.price del)) .wd-entities-title { margin-top: 7px; }
  .project-single-product .related-products .product-grid-item:not(:has(.price del)) .product-element-bottom { padding-bottom: 8px; }
}

@media (min-width: 600px) and (max-width: 768px) {
  .project-single-product .related-products .product-grid-item .product-wrapper { height: 250px; }
  .project-single-product .related-products .product-element-top { height: 136px; flex-basis: 136px; }
  .project-single-product .related-products .product-image-link img { max-width: 134px; }
}

@media (min-width: 600px) and (max-width: 768px) {
  .home-amazing .amazing-sale-products .wd-carousel {
    --wd-col-sm: 2.85 !important;
  }

  .home-amazing .amazing-sale-products .product-grid-item .product-wrapper { height: 254px; }
  .home-amazing .amazing-sale-products .product-element-top { height: 124px; flex-basis: 124px; }
  .home-amazing .amazing-sale-products .product-image-link img { width: 56% !important; }
  .home-amazing .amazing-sale-products .product-element-bottom { gap: 0; }
  .home-amazing .amazing-sale-products .product-grid-item:has(.price del) .wd-entities-title { margin-top: 6px; }
  .home-amazing .amazing-sale-products .product-grid-item:has(.price del) .product-rating-price { margin-top: 8px; }
  .home-amazing .amazing-sale-products .project-mahak-label { top: 118px; width: 50px; min-width: 50px; height: 24px; font-size: 16px; }
  .home-amazing .amazing-sale-products .project-amazing-discount { top: 205px; right: 20px; width: 50px; min-width: 50px; height: 32px; font-size: 16px; }
  .home-amazing .amazing-sale-products .wd-btn-arrow { bottom: -53px !important; inset-block-end: -53px !important; }
}

@media (max-width: 599px) {
  .home-amazing .amazing-heading {
    width: 164px;
    flex-basis: 164px;
  }

  .home-amazing .amazing-promotional-artwork {
    width: 130px;
    flex-basis: 130px;
  }

  .home-amazing .amazing-promotional-artwork img {
    width: 130px;
  }

  .home-amazing .amazing-sale-products .project-amazing-discount { top: 198px; right: 8px; width: 33px; min-width: 33px; height: 28px; font-size: 12px; }
  .home-amazing .amazing-sale-products .wd-btn-arrow { bottom: -31px !important; inset-block-end: -31px !important; width: 30px; height: 30px; }
}

/* Featured/Mahak campaign layout; product-card rules are shared above. */
.home-featured .featured-view-all .elementor-button {
  min-height: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 18px;
}

.home-featured .featured-view-all .elementor-button::after {
  margin-inline-start: 10px;
  content: "\2190";
}

.home-featured .featured-products-carousel .product-grid-item:not(:has(.price del)) .wd-entities-title {
  margin-top: 15px;
}

.home-featured .featured-products-carousel .product-grid-item:not(:has(.price del)) .product-element-bottom {
  padding-bottom: 14px;
}

.home-featured .featured-products-carousel .project-amazing-discount {
  right: 22px;
  width: 46px;
  min-width: 46px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-featured .featured-products-carousel .wd-btn-arrow {
  top: auto !important;
  bottom: -48px !important;
  inset-block-start: auto !important;
  inset-block-end: -48px !important;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  opacity: 1 !important;
  transform: none !important;
}

.home-featured .featured-products-carousel .wd-btn-arrow.wd-prev {
  right: auto;
  left: calc(50% - 100px);
}

.home-featured .featured-products-carousel .wd-btn-arrow.wd-next {
  right: calc(50% - 100px);
  left: auto;
}

.home-featured .featured-products-carousel .featured.product-label:not(.project-mahak-label) {
  display: none;
}

.home-featured .featured-products-carousel .wd-nav-pagin {
  transform: translateY(19px);
  gap: 0;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .home-featured .featured-products-carousel .product-image-link img {
    width: 52% !important;
  }

  .home-featured .featured-products-carousel .product-grid-item:not(:has(.price del)) .wd-entities-title {
    margin-top: 25px;
  }

  .home-featured .featured-products-carousel .product-grid-item:has(.price del) .wd-entities-title {
    margin-top: 18px;
  }

  .home-featured .featured-products-carousel .product-grid-item:has(.price del) .price {
    min-height: 59px;
  }

  .home-featured .featured-products-carousel .product-grid-item:has(.price del) .product-element-bottom {
    padding-bottom: 14px;
  }

  .home-featured .featured-products-carousel .project-amazing-discount {
    top: 299px;
  }
}

@media (max-width: 768px) {
  .home-featured,
  .home-featured .home-featured__inner {
    min-height: 0 !important;
  }

  .home-featured .home-featured__inner > .e-con-inner {
    flex-direction: column !important;
  }

  .home-featured .featured-intro,
  .home-featured .featured-products {
    width: 100% !important;
    padding-inline: 0 !important;
  }

  .home-featured .featured-intro {
    min-height: 110px;
  }

  .home-featured .featured-products-carousel .product-grid-item .product-wrapper {
    height: 257px;
  }

  .home-featured .featured-view-all .elementor-button {
    font-size: 14px;
  }

  .home-featured .featured-products-carousel .wd-btn-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  .home-featured .featured-intro {
    min-height: 189px;
    flex-flow: row nowrap !important;
    justify-content: space-between !important;
  }

  .home-featured .featured-campaign-artwork,
  .home-featured .featured-campaign-artwork img {
    width: 157px !important;
  }

  .home-featured .featured-heading .elementor-heading-title {
    font-size: 24px !important;
  }

  .home-featured .featured-intro-copy {
    width: 230px !important;
    flex: 0 0 230px;
  }

  .home-featured .featured-products-carousel .wd-carousel {
    --wd-col-sm: 2.85 !important;
  }

  .home-featured .featured-products {
    min-height: 350px;
  }

  .home-featured .featured-products-carousel .product-grid-item .product-wrapper { height: 250px; }
  .home-featured .featured-products-carousel .product-grid-item .product-element-top { height: 136px; flex-basis: 136px; }
  .home-featured .featured-products-carousel .product-grid-item .product-image-link img { width: 56% !important; }
  .home-featured .featured-products-carousel .product-grid-item:not(:has(.price del)) .wd-entities-title { margin-top: 7px; }
  .home-featured .featured-products-carousel .product-grid-item:not(:has(.price del)) .product-element-bottom { padding-bottom: 8px; }
  .home-featured .featured-products-carousel .product-grid-item .price { min-height: 30px; font-size: 20px; line-height: 28px; }
  .home-featured .featured-products-carousel .price .woocommerce-Price-amount,
  .home-featured .featured-products-carousel .price ins { font-size: 20px; line-height: 28px; }
  .home-featured .featured-products-carousel .product-grid-item:has(.price del) .price { min-height: 51px; }
  .home-featured .featured-products-carousel .price del,
  .home-featured .featured-products-carousel .price del .woocommerce-Price-amount { font-size: 14px; line-height: 21px; }
  .home-featured .featured-products-carousel .price ins { margin-top: 0; }
  .home-featured .featured-products-carousel .project-mahak-label { top: 118px; right: 8px; width: 50px; min-width: 50px; height: 24px; font-size: 16px; }
  .home-featured .featured-products-carousel .project-amazing-discount { top: 201px; right: 20px; width: 46px; min-width: 46px; height: 32px; font-size: 16px; }
  .home-featured .featured-products-carousel .wd-btn-arrow { bottom: -57px !important; inset-block-end: -57px !important; width: 40px; height: 40px; }
  .home-featured .featured-products-carousel .wd-nav-pagin { transform: translateY(23px); }
}

@media (max-width: 599px) {
  .home-featured .featured-products-carousel .product-grid-item .product-wrapper { height: 245px; }
  .home-featured .featured-products-carousel .product-grid-item:not(:has(.price del)) .wd-entities-title { margin-top: 7px; }
  .home-featured .featured-products-carousel .product-grid-item:not(:has(.price del)) .product-element-bottom { padding-bottom: 8px; }
  .home-featured .featured-products-carousel .product-grid-item .price { min-height: 30px; font-size: 20px; line-height: 28px; }
  .home-featured .featured-products-carousel .price .woocommerce-Price-amount,
  .home-featured .featured-products-carousel .price ins { font-size: 20px; line-height: 28px; }
  .home-featured .featured-products-carousel .product-grid-item:has(.price del) .price { min-height: 51px; }
  .home-featured .featured-products-carousel .price del,
  .home-featured .featured-products-carousel .price del .woocommerce-Price-amount { font-size: 14px; line-height: 21px; }
  .home-featured .featured-products-carousel .price ins { margin-top: 0; }
  .home-featured .featured-products-carousel .project-mahak-label { top: 90px; right: 8px; width: 41px; min-width: 41px; height: 18px; font-size: 12px; }
  .home-featured .featured-products-carousel .project-amazing-discount { top: 198px; right: 8px; width: 30px; min-width: 30px; height: 28px; font-size: 12px; }
  .home-featured .featured-products-carousel .wd-btn-arrow { bottom: -23px !important; inset-block-end: -23px !important; width: 30px; height: 30px; }
  .home-featured .featured-products-carousel .wd-nav-pagin { transform: translateY(-1px); }
}

/* Shared dynamic editorial-card treatment (Cooking now; reusable by Magazine). */
.project-editorial-cards .wd-post,
.project-editorial-cards .wd-post-inner,
.project-editorial-cards .wd-post-thumb,
.project-editorial-cards .wd-post-img,
.project-editorial-cards .wd-post-img > a {
  height: 313px;
}

.project-editorial-cards .wd-post {
  margin: 0;
  background: transparent !important;
}

.project-editorial-cards .wd-post-inner {
  position: relative;
  overflow: visible;
  border-radius: 200px 200px 16px 16px;
  background: transparent !important;
  box-shadow: none !important;
}

.project-editorial-cards .wd-post-thumb,
.project-editorial-cards .wd-post-img,
.project-editorial-cards .wd-post-img > a {
  display: block;
  overflow: hidden;
  border-radius: 200px 200px 16px 16px;
  background: transparent !important;
}

.project-editorial-cards .wd-post-thumb {
  position: relative;
}

.project-editorial-cards .wd-post-thumb > .wd-fill::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  content: "\2197";
  font-size: 27px;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.project-editorial-cards .wd-post:hover .wd-post-thumb > .wd-fill::after {
  opacity: 1;
}

.project-editorial-cards .wd-post-img img {
  width: 100%;
  height: 100%;
  border-radius: 200px 200px 16px 16px;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease;
}

.project-editorial-cards .wd-post:hover .wd-post-img img {
  transform: scale(1.04);
}

.project-editorial-cards .wd-post-content.article-body-container {
  position: absolute;
  z-index: 2;
  top: 30px;
  display: flex;
  width: 70%;
  min-height: 69px;
  align-items: center;
  justify-content: center;
  padding: 0 15px !important;
  border-radius: 16px 80px 80px 16px !important;
  background: rgba(162, 14, 18, 0.51) !important;
  box-sizing: border-box;
}

.project-editorial-cards .wd-carousel-item:nth-child(-n + 2) .wd-post-content {
  right: auto;
  left: -64px;
}

.project-editorial-cards .wd-carousel-item:nth-child(n + 3) .wd-post-content {
  right: -50px;
  left: auto;
}

.project-editorial-cards .wd-post-title.wd-entities-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.project-editorial-cards .wd-post-title a {
  color: inherit;
}

/* Cooking/editorial section geometry and alternating desktop rhythm. */
.home-editorial .editorial-heading-row {
  flex: 0 0 143px;
  justify-content: flex-start;
  gap: 21px;
  padding-top: 46px;
  box-sizing: border-box;
}

.home-editorial .editorial-heading .elementor-heading-title {
  margin: 0;
}

.home-editorial .editorial-view-all .elementor-button {
  display: inline-flex;
  height: 26px !important;
  min-height: 0 !important;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #c10917;
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
}

.home-editorial .editorial-view-all .elementor-button::after {
  margin-inline-start: 4px;
  color: #c10917;
  content: "\2190";
  font-size: 14px;
  line-height: 1;
}

.home-editorial .editorial-posts,
.home-editorial .project-editorial-cards,
.home-editorial .project-editorial-cards > .elementor-widget-container,
.home-editorial .project-editorial-cards .wd-carousel-container {
  height: 440px;
}

.home-editorial .project-editorial-cards .wd-carousel-inner,
.home-editorial .project-editorial-cards .wd-carousel {
  height: 404px;
}

.home-editorial .project-editorial-cards .wd-carousel-item:nth-child(even) .wd-post {
  transform: translateY(91px);
}

.home-editorial .project-editorial-cards .wd-carousel-item:nth-child(even) .wd-post-content {
  top: auto;
  bottom: 20px;
}

@media (max-width: 1024px) {
  .project-editorial-cards .wd-post,
  .project-editorial-cards .wd-post-inner,
  .project-editorial-cards .wd-post-thumb,
  .project-editorial-cards .wd-post-img,
  .project-editorial-cards .wd-post-img > a {
    height: 260px;
  }

  .home-editorial .editorial-posts,
  .home-editorial .project-editorial-cards,
  .home-editorial .project-editorial-cards > .elementor-widget-container,
  .home-editorial .project-editorial-cards .wd-carousel-container {
    height: 367px;
  }

  .home-editorial .project-editorial-cards .wd-carousel-inner,
  .home-editorial .project-editorial-cards .wd-carousel {
    height: 351px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-editorial .project-editorial-cards .wd-carousel {
    --wd-gap: 6px !important;
  }
}

@media (min-width: 769px) {
  .home-editorial .project-editorial-cards .wd-nav-arrows,
  .home-editorial .project-editorial-cards .wd-nav-pagin-wrap {
    display: none !important;
  }
}

/* Magazine: reuses the shared editorial card geometry and hover system. */
.home-magazine .magazine-heading-row {
  flex: 0 0 153px;
  justify-content: flex-start;
  gap: 21px;
  padding-top: 46px;
  box-sizing: border-box;
}

.home-magazine .magazine-heading .elementor-heading-title {
  margin: 0;
}

.home-magazine .magazine-view-all .elementor-button {
  display: inline-flex;
  height: 26px !important;
  min-height: 0 !important;
  align-items: center;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #232323 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}

.home-magazine .magazine-view-all .elementor-button::after {
  margin-inline-start: 4px;
  color: #c10917;
  content: "\2190";
  font-size: 14px;
  line-height: 1;
}

.home-magazine .magazine-posts,
.home-magazine .project-magazine-cards,
.home-magazine .project-magazine-cards > .elementor-widget-container,
.home-magazine .project-magazine-cards .wd-carousel-container {
  height: 536px;
}

.home-magazine .project-magazine-cards .wd-carousel {
  direction: ltr;
}

.home-magazine .project-magazine-cards .wd-carousel-item {
  direction: rtl;
}

.home-magazine .project-magazine-cards .wd-post,
.home-magazine .project-magazine-cards .wd-post-inner {
  height: 480px;
}

.home-magazine .project-magazine-cards .wd-post-inner {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 35, 35, 0.09);
}

.home-magazine .project-magazine-cards .wd-post-thumb,
.home-magazine .project-magazine-cards .wd-post-img,
.home-magazine .project-magazine-cards .wd-post-img > a,
.home-magazine .project-magazine-cards .wd-post-img img {
  height: 466px;
}

.home-magazine .project-magazine-cards .wd-post-content,
.home-magazine .project-magazine-cards .wd-carousel-item:nth-child(n) .wd-post-content,
.home-magazine .project-magazine-cards .wd-post-content.article-body-container {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  min-height: 220px;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px 22px !important;
  border-radius: 0 0 16px 16px !important;
  background: rgba(241, 233, 243, 0.92) !important;
  box-sizing: border-box;
}

.home-magazine .project-magazine-cards .wd-post-content::after {
  display: block;
  width: 100%;
  height: 33px;
  flex: 0 0 33px;
  background: url("/wp-content/uploads/2026/09/magazine-title-separator.png") center / contain no-repeat;
  content: "";
}

.home-magazine .project-magazine-cards .wd-post-title.wd-entities-title {
  color: #232323;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  -webkit-line-clamp: 4;
}

@media (max-width: 1024px) {
  .home-magazine .magazine-heading-row {
    flex-basis: 143px;
  }

  .home-magazine .magazine-posts,
  .home-magazine .project-magazine-cards,
  .home-magazine .project-magazine-cards > .elementor-widget-container,
  .home-magazine .project-magazine-cards .wd-carousel-container {
    height: 526px;
  }

  .home-magazine .project-magazine-cards .wd-post-thumb,
  .home-magazine .project-magazine-cards .wd-post-img,
  .home-magazine .project-magazine-cards .wd-post-img > a,
  .home-magazine .project-magazine-cards .wd-post-img img {
    height: 357px;
  }
}

@media (min-width: 769px) {
  .home-magazine .project-magazine-cards .wd-nav-arrows,
  .home-magazine .project-magazine-cards .wd-nav-pagin-wrap {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .home-magazine .magazine-posts,
  .home-magazine .project-magazine-cards,
  .home-magazine .project-magazine-cards > .elementor-widget-container,
  .home-magazine .project-magazine-cards .wd-carousel-container {
    height: 550px;
  }

  .home-magazine .project-magazine-cards .wd-carousel {
    --wd-col-sm: 2 !important;
    --wd-gap: 30px !important;
  }

  .home-magazine .project-magazine-cards .wd-post,
  .home-magazine .project-magazine-cards .wd-post-inner {
    height: 452px;
  }

  .home-magazine .project-magazine-cards .wd-post-thumb,
  .home-magazine .project-magazine-cards .wd-post-img,
  .home-magazine .project-magazine-cards .wd-post-img > a,
  .home-magazine .project-magazine-cards .wd-post-img img {
    height: 367px;
  }

  .home-magazine .project-magazine-cards .wd-nav-arrows,
  .home-magazine .project-magazine-cards .wd-nav-pagin-wrap {
    display: flex !important;
  }

  .home-magazine .project-magazine-cards .wd-nav-pagin-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
  }

  .home-magazine .project-magazine-cards .wd-btn-arrow {
    top: auto !important;
    bottom: 0 !important;
    width: 20px;
    height: 20px;
    border: 1px solid #c10917;
    border-radius: 50%;
    color: #c10917;
    opacity: 1 !important;
    transform: none !important;
  }

  .home-magazine .project-magazine-cards .wd-btn-arrow.wd-prev {
    right: auto;
    left: calc(50% - 92px);
  }

  .home-magazine .project-magazine-cards .wd-btn-arrow.wd-next {
    right: calc(50% - 92px);
    left: auto;
  }
}

@media (max-width: 599px) {
  .home-magazine .magazine-heading-row {
    flex-basis: 138px;
    padding-top: 47px;
    gap: 23px;
  }

  .home-magazine .magazine-view-all .elementor-button {
    height: 23px !important;
    font-size: 14px;
    line-height: 23px;
  }

  .home-magazine .magazine-posts,
  .home-magazine .project-magazine-cards,
  .home-magazine .project-magazine-cards > .elementor-widget-container,
  .home-magazine .project-magazine-cards .wd-carousel-container {
    height: 581px;
  }

  .home-magazine .project-magazine-cards .wd-carousel {
    --wd-col-sm: 1.03 !important;
    --wd-gap: 10px !important;
  }

  .home-magazine .project-magazine-cards .wd-post,
  .home-magazine .project-magazine-cards .wd-post-inner {
    height: 472px;
  }

  .home-magazine .project-magazine-cards .wd-post-content,
  .home-magazine .project-magazine-cards .wd-carousel-item:nth-child(n) .wd-post-content,
  .home-magazine .project-magazine-cards .wd-post-content.article-body-container {
    height: 220px;
    min-height: 220px;
    padding: 30px 24px 22px !important;
    background: rgba(241, 233, 243, 0.94) !important;
  }

  .home-magazine .project-magazine-cards .wd-post-title.wd-entities-title {
    color: #232323;
    font-size: 16px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 4;
  }

  .home-magazine .project-magazine-cards .wd-btn-arrow {
    bottom: -47px !important;
    width: 48px;
    height: 48px;
    background: #fff;
  }

  .home-magazine .project-magazine-cards .wd-btn-arrow.wd-prev {
    left: calc(50% - 100.5px);
  }

  .home-magazine .project-magazine-cards .wd-btn-arrow.wd-next {
    right: calc(50% - 100.5px);
  }

  .home-magazine .project-magazine-cards .wd-nav-pagin-wrap {
    bottom: -30px;
  }
}

@media (max-width: 768px) {
  .home-editorial .project-editorial-cards .wd-carousel {
    --wd-col-sm: 3.9 !important;
  }

  .home-editorial .project-editorial-cards .wd-nav-arrows,
  .home-editorial .project-editorial-cards .wd-nav-pagin-wrap {
    display: flex !important;
  }

  .home-editorial .project-editorial-cards .wd-nav-pagin-wrap {
    position: absolute;
    right: 50%;
    bottom: 4px;
    justify-content: center;
    transform: translateX(50%);
  }

  .home-editorial .project-editorial-cards .wd-btn-arrow {
    top: auto !important;
    bottom: 0 !important;
    width: 20px;
    height: 20px;
    border: 1px solid #c10917;
    border-radius: 50%;
    color: #c10917;
    opacity: 1 !important;
    transform: none !important;
  }

  .home-editorial .project-editorial-cards .wd-btn-arrow.wd-prev {
    right: auto;
    left: calc(50% - 92px);
  }

  .home-editorial .project-editorial-cards .wd-btn-arrow.wd-next {
    right: calc(50% - 92px);
    left: auto;
  }
}

@media (max-width: 599px) {
  .home-editorial .editorial-heading-row {
    flex-basis: 138px;
    padding-top: 47px;
    gap: 23px;
  }

  .home-editorial .editorial-view-all .elementor-button {
    height: 23px !important;
    font-size: 14px;
    line-height: 23px;
  }

  .home-editorial .editorial-posts {
    padding: 0 !important;
  }

  .home-editorial .editorial-posts,
  .home-editorial .project-editorial-cards,
  .home-editorial .project-editorial-cards > .elementor-widget-container,
  .home-editorial .project-editorial-cards .wd-carousel-container {
    height: 406px;
  }

  .home-editorial .project-editorial-cards .wd-carousel-inner,
  .home-editorial .project-editorial-cards .wd-carousel {
    height: 390px;
  }

  .home-editorial .project-editorial-cards .wd-carousel {
    --wd-col-sm: 1 !important;
    --wd-gap: 0px !important;
  }

  .home-editorial .project-editorial-cards .wd-carousel-item:nth-child(even) .wd-post {
    transform: none;
  }

  .project-editorial-cards .wd-post,
  .project-editorial-cards .wd-post-inner {
    height: 406px;
  }

  .project-editorial-cards .wd-post-thumb,
  .project-editorial-cards .wd-post-img,
  .project-editorial-cards .wd-post-img > a,
  .project-editorial-cards .wd-post-img img {
    height: 367px;
  }

  .project-editorial-cards .wd-post-content,
  .project-editorial-cards .wd-carousel-item:nth-child(n) .wd-post-content,
  .home-editorial .project-editorial-cards .wd-carousel-item:nth-child(even) .wd-post-content {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 94px;
    padding: 14px 24px !important;
    border-radius: 0 !important;
    background: linear-gradient(0deg, rgba(133, 8, 14, 0.94), rgba(162, 14, 18, 0.58)) !important;
  }

  .home-editorial .project-editorial-cards .wd-post-content.article-body-container {
    padding: 14px 24px !important;
  }

  .project-editorial-cards .wd-post-thumb > .wd-fill::after {
    opacity: 1;
  }

  .project-editorial-cards .wd-post-title.wd-entities-title {
    font-size: 16px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
  }

  .home-editorial .project-editorial-cards .wd-btn-arrow {
    bottom: -60px !important;
    width: 48px;
    height: 48px;
    background: #fff;
  }

  .home-editorial .project-editorial-cards .wd-btn-arrow.wd-prev {
    left: calc(50% - 100.5px);
  }

  .home-editorial .project-editorial-cards .wd-btn-arrow.wd-next {
    right: calc(50% - 100.5px);
  }

  .home-editorial .project-editorial-cards .wd-nav-pagin-wrap {
    right: 0;
    bottom: -43px;
    left: 0;
    width: 100%;
    transform: none;
  }
}

/* Phase 27.1 header treatment, refined in Phase 27.2 (header only). */
.whb-header:has(.project-header-announcement) {
  --project-header-red: #c10917;
  --project-header-red-dark: #9e0712;
  --project-header-cream: #fff9f1;
  --project-header-cream-alt: #fffcf7;
  --project-header-text: #232323;
  --project-header-muted: #6f675f;
}

.whb-header:has(.project-header-announcement) .whb-row .container {
  width: calc(100% - 64px);
  max-width: 1328px;
}

.whb-header:has(.project-header-announcement) .whb-top-bar {
  height: 32px !important;
  min-height: 32px !important;
  background-color: var(--project-header-red) !important;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, .035) 25%, transparent 25%),
    linear-gradient(315deg, rgba(91, 0, 8, .045) 25%, transparent 25%) !important;
  background-position: 0 0, 18px 0;
  background-size: 36px 36px;
  box-shadow: inset 0 -1px rgba(82, 0, 7, .18);
}

.whb-header:has(.project-header-announcement) .whb-top-bar :is(.container, .whb-flex-row, .whb-column) {
  height: 32px !important;
  min-height: 32px !important;
}

.whb-header:has(.project-header-announcement) .project-header-announcement-wrap {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.whb-header:has(.project-header-announcement) .project-header-announcement {
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  font-family: IRYekanBakh, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.whb-header:has(.project-header-announcement) .whb-general-header {
  background: var(--project-header-cream) !important;
  border-bottom: 1px solid #eadfd3;
}

.whb-header:has(.project-header-announcement) .whb-general-header :is(.container, .whb-flex-row) {
  min-height: 82px !important;
  height: 82px !important;
}

.whb-header:has(.project-header-announcement) .whb-general-header .whb-column {
  gap: 14px;
}

.whb-header:has(.project-header-announcement) .project-header-contact-wrap {
  display: none !important;
}

.whb-header:has(.project-header-announcement) .wd-logo img {
  max-height: 62px;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) {
  width: min(100%, 620px) !important;
  max-width: 620px !important;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) .searchform {
  --wd-form-height: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid #e6d8c9;
  border-radius: 24px;
  background: var(--project-header-cream-alt);
  box-shadow: 0 3px 14px rgba(88, 56, 31, .05);
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) input[type="text"] {
  height: 44px;
  padding-right: 19px;
  padding-left: 58px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--project-header-text);
  font-size: 14px;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) input[type="text"]::placeholder {
  color: var(--project-header-muted);
  opacity: .86;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) .searchsubmit {
  top: 3px;
  right: auto;
  left: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--project-header-red);
  color: #fff;
  box-shadow: 0 4px 10px rgba(193, 9, 23, .18);
}

.whb-header:has(.project-header-announcement) :is(.wd-header-search-form, .wd-header-search-form-mobile) .searchsubmit:hover {
  background: var(--project-header-red-dark);
  color: #fff;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-cart, .wd-header-my-account) {
  width: auto;
  min-width: 46px;
  height: 46px;
  border: 0;
  border-radius: 23px;
  background: transparent;
}

.whb-header:has(.project-header-announcement) :is(.wd-header-cart, .wd-header-my-account) .wd-tools-inner {
  min-height: 46px;
  justify-content: center;
  padding-inline: 11px;
  color: var(--project-header-text);
}

.whb-header:has(.project-header-announcement) :is(.wd-header-cart, .wd-header-my-account):hover {
  background: rgba(193, 9, 23, .055);
}

.whb-header:has(.project-header-announcement) :is(.wd-header-cart, .wd-header-my-account) :is(.wd-tools-icon, .wd-tools-text) {
  color: var(--project-header-text);
}

.whb-header:has(.project-header-announcement) .wd-tools-count {
  border-color: var(--project-header-cream);
  background: var(--project-header-red);
  color: #fff;
}

.whb-header:has(.project-header-announcement) .whb-header-bottom {
  margin-top: 0 !important;
  border-top: 0;
  border-bottom: 1px solid #eadfd3;
  background: var(--project-header-cream-alt) !important;
  box-shadow: 0 4px 12px rgba(72, 44, 24, .035);
}

.whb-header:has(.project-header-announcement) .whb-header-bottom :is(.container, .whb-flex-row, .whb-column) {
  min-height: 48px !important;
  height: 48px !important;
}

.whb-header:has(.project-header-announcement) .wd-header-nav .wd-nav > li > a {
  min-height: 48px;
  padding-inline: 13px;
  color: var(--project-header-text);
  font-size: 14px;
  font-weight: 600;
}

.whb-header:has(.project-header-announcement) .wd-header-nav .wd-nav > li:not(.project-nav-categories) > a::after {
  color: var(--project-header-red);
}

.whb-header:has(.project-header-announcement) .wd-header-nav .wd-nav > li:not(.project-nav-categories):hover > a {
  color: var(--project-header-red);
}

.whb-header:has(.project-header-announcement) .project-nav-categories > a {
  min-height: 38px !important;
  height: 38px;
  margin-inline-end: 8px;
  padding-inline: 18px !important;
  gap: 9px;
  border-radius: 20px;
  background: var(--project-header-red);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(193, 9, 23, .16);
  font-weight: 700 !important;
}

.whb-header:has(.project-header-announcement) .project-nav-categories > a::before {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cg fill='black'%3E%3Crect x='1' y='1' width='4' height='4' rx='1'/%3E%3Crect x='7' y='1' width='4' height='4' rx='1'/%3E%3Crect x='13' y='1' width='4' height='4' rx='1'/%3E%3Crect x='1' y='7' width='4' height='4' rx='1'/%3E%3Crect x='7' y='7' width='4' height='4' rx='1'/%3E%3Crect x='13' y='7' width='4' height='4' rx='1'/%3E%3Crect x='1' y='13' width='4' height='4' rx='1'/%3E%3Crect x='7' y='13' width='4' height='4' rx='1'/%3E%3Crect x='13' y='13' width='4' height='4' rx='1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cg fill='black'%3E%3Crect x='1' y='1' width='4' height='4' rx='1'/%3E%3Crect x='7' y='1' width='4' height='4' rx='1'/%3E%3Crect x='13' y='1' width='4' height='4' rx='1'/%3E%3Crect x='1' y='7' width='4' height='4' rx='1'/%3E%3Crect x='7' y='7' width='4' height='4' rx='1'/%3E%3Crect x='13' y='7' width='4' height='4' rx='1'/%3E%3Crect x='1' y='13' width='4' height='4' rx='1'/%3E%3Crect x='7' y='13' width='4' height='4' rx='1'/%3E%3Crect x='13' y='13' width='4' height='4' rx='1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.whb-header:has(.project-header-announcement) .project-nav-categories:hover > a {
  background: var(--project-header-red-dark);
}

@media (min-width: 1025px) {
  .whb-header:has(.project-header-announcement) .project-nav-categories {
    display: flex;
    align-items: center;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header :is(.whb-col-left, .whb-col-right) {
    flex: 0 0 196px;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header .whb-col-left {
    justify-content: flex-start;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header .whb-col-center {
    min-width: 0;
    justify-content: center;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header .whb-col-right {
    height: 54px;
    align-self: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 4px 6px;
    border: 1px solid #eadfd3;
    border-radius: 27px;
    background: rgba(255, 252, 247, .84);
    box-shadow: 0 3px 12px rgba(88, 56, 31, .045);
  }

  .whb-header:has(.project-header-announcement) .wd-header-search-form {
    width: clamp(460px, 43vw, 620px) !important;
    max-width: 620px !important;
    margin-inline: auto;
  }

  .whb-header:has(.project-header-announcement) .whb-col-right .wd-header-my-account {
    min-width: 126px;
  }

  .whb-header:has(.project-header-announcement) .whb-col-right .wd-header-my-account .wd-tools-text {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .whb-header:has(.project-header-announcement) .whb-col-right .wd-header-my-account .wd-tools-text::before {
    color: var(--project-header-red);
    content: "\f124";
    font-family: "woodmart-font";
    font-size: 19px;
    font-weight: 400;
  }
}

@media (max-width: 1024px) {
  .whb-header:has(.project-header-announcement) .whb-row .container {
    width: calc(100% - 32px);
  }

  .whb-header:has(.project-header-announcement) .whb-top-bar,
  .whb-header:has(.project-header-announcement) .whb-top-bar :is(.container, .whb-flex-row, .whb-column) {
    height: 34px !important;
    min-height: 34px !important;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header :is(.container, .whb-flex-row) {
    height: 68px !important;
    min-height: 68px !important;
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-right:has(.project-header-contact) .wd-header-mobile-nav {
    display: flex;
  }

  .whb-header:has(.project-header-announcement) .whb-mobile-right:has(.project-header-contact) .project-header-contact-wrap {
    display: none !important;
  }

  .whb-header:has(.project-header-announcement) .wd-header-search-form-mobile {
    width: min(46vw, 440px) !important;
    max-width: 440px !important;
    margin-inline-start: 8px;
  }
}

@media (max-width: 768px) {
  .whb-header:has(.project-header-announcement) .whb-row .container {
    width: calc(100% - 24px);
  }

  .whb-header:has(.project-header-announcement) .whb-top-bar,
  .whb-header:has(.project-header-announcement) .whb-top-bar :is(.container, .whb-flex-row, .whb-column) {
    height: 32px !important;
    min-height: 32px !important;
  }

  .whb-header:has(.project-header-announcement) .project-header-announcement {
    font-size: 12px;
    line-height: 1.6;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header :is(.container, .whb-flex-row) {
    height: 64px !important;
    min-height: 64px !important;
  }

  .whb-header:has(.project-header-announcement) .wd-logo img {
    max-width: 66px !important;
    max-height: 52px;
  }

  .whb-header:has(.project-header-announcement) :is(.wd-header-cart, .wd-header-my-account) {
    min-width: 40px;
    height: 42px;
  }

  .whb-header:has(.project-header-announcement) :is(.wd-header-cart, .wd-header-my-account) .wd-tools-inner {
    min-height: 42px;
    padding-inline: 8px;
  }

  .whb-header:has(.project-header-announcement) .wd-header-search-form-mobile {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0;
  }
}

@media (max-width: 480px) {
  .whb-header:has(.project-header-announcement) .whb-general-header :is(.whb-mobile-left, .whb-mobile-center, .whb-mobile-right) {
    flex: 0 0 auto;
    min-width: 0;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header :is(.whb-mobile-left, .whb-mobile-right) {
    flex-basis: 86px;
  }

  .whb-header:has(.project-header-announcement) .whb-general-header .whb-mobile-right {
    gap: 0;
  }

  .whb-header:has(.project-header-announcement) .whb-project_header_mobile_account .wd-tools-text {
    width: 20px;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
  }

  .whb-header:has(.project-header-announcement) .whb-project_header_mobile_account .wd-tools-text::before {
    color: var(--project-header-text);
    content: "\f124";
    font-family: "woodmart-font";
    font-size: 20px;
  }

  .whb-header:has(.project-header-announcement) .whb-project_header_mobile_logo img {
    max-width: 58px !important;
  }

  body.home.page-id-18:has(.whb-header .project-header-announcement) #main-content {
    padding-top: 20px;
  }
}

/* Phase 37: remove only WoodMart's outer page seams on the homepage. */
body.home.page-id-18 #main-content {
  padding-bottom: 0;
}

@media (min-width: 481px) and (max-width: 768px) {
  body.home.page-id-18 #main-content {
    padding-top: 24px;
  }
}

@media (min-width: 769px) {
  body.home.page-id-18 #main-content {
    padding-top: 0;
  }
}
