* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* Hide ONLY the Astra SVG icon, preserve the element holding the count */
.ast-header-woo-cart .ast-addon-cart-wrap .ast-icon-shopping-bag svg,
.ast-header-woo-cart .ast-addon-cart-wrap .ast-icon-shopping-bag .ast-icon {
  display: none !important;
}
.ast-container,
.ast-container-fluid {
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}
/* Insert your own icon */
.ast-header-woo-cart .ast-addon-cart-wrap {
  background-image: url("/wp-content/uploads/2025/11/ritistudio-bag.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 30px; /* adjust */
  height: 30px; /* adjust */
  position: relative;
  border: 0;
}

/* Make sure the button still lays out correctly */
.ast-header-woo-cart .cart-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Style/position the number badge */
.ast-header-woo-cart .ast-icon-shopping-bag::after {
  content: attr(data-cart-total);
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e3c9ae !important; /* badge background color */
  color: #fff; /* number color */
  font-size: 15px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GLOBAL */
a {
  outline: none !important;
}
a:hover {
  color: rgb(184, 137, 96) !important;
}
#page #content {
  background-color: #f8f7f3;
}
.woocommerce-js div.product .product_title {
  margin: 0 0 0.3em 0 !important;
}
#content .ast-container #primary {
}
@media (max-width: 768px) {
  #content .ast-container #primary {
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  line-height: 1.4;
  margin-bottom: 0 !important;
}
.page-section {
  padding: 2rem 0rem 0rem 0rem !important;
}
.page-section-double {
  padding: 4rem 0rem 0rem 0rem !important;
}
.products .product {
  /* border: 1px solid #e3c9aebd; */
  border-radius: 3px;
  padding: 8px !important;
}

/* SEARCH BUTTON */
.woocommerce-product-search[role="search"] {
  border: none;

  border-radius: 3px;
  width: 60%;
  margin-left: auto;
  margin-right: 0;
  padding: 1.5rem 0;
  display: flex;
  gap: 3px;
}
.woocommerce-product-search[role="search"] input.search-field {
  outline: none;
  border: none;
  border: 1px solid #b88960;
  background-color: transparent;
  border-radius: 3px;
}
.woocommerce-product-search[role="search"] button[type="submit"] {
  border: 1px solid #b88960;
   background-color: #b88960;
  border-radius: 3px;
   color: #ffffff;
  transition: 0.3s ease-in-out;
}
.woocommerce-product-search[role="search"] button[type="submit"]:hover {
background-color: #b8896000; 

   color: #000000;
}
/* SEARCH BUTTON */
/* GLOBAL PRODUCT CARDS */

.highlighted-italic {
  color: #bd9979;
  font-style: italic;
}
.just-highlighted {
  color: #c28442;
}
.italic-text {
  font-style: italic;
}

/*< PRODUCT CARDS >*/

.woocommerce ul.products,
.woocommerce-page ul.products {
  gap: 20px;
}
.products .product {
  margin: 0 !important;
}
.product .woocommerce-loop-product__title {
  font-size: 1rem !important;
  padding-top: 1rem !important;
}
.astra-shop-summary-wrap .price {
  padding-bottom: 1rem;
  font-size: 1.2rem !important;
  color: #b88960 !important;
  margin-bottom: 0 !important;
}
.ast-woo-product-category {
  background-color: #b88960;
  width: max-content;
  padding: 3px 8px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
}
.product-card-categories {
  display: flex;
  gap: 10px;
}
.product-card-categories .product-card-category {
  background-color: #ffffff;
  color: #a67324;
  padding: 3px 5px;
  font-size: 8px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 1.2px;
  border: 1px solid #e3c9ae;
}
.astra-shop-summary-wrap .price bdi {
  display: flex;
  gap: 3px;
}
.astra-shop-summary-wrap .price bdi .woocommerce-Price-currencySymbol {
  font-weight: 100;
}
/* < PRODUCTS CARD /> */
/* BUTTONS */
.button {
  font-size: 14px !important;
  padding: 10px 3px;
}
.custom-product-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.button.secondary-button {
  background-color: transparent !important;
  border: 1px solid #e3c9aebd !important;
  color: #b88960 !important;
}

.custom-product-buttons .custom-add-to-cart-btn a {
  width: 100% !important;
  margin-top: 0;
}
.custom-product-buttons .custom-add-to-cart-btn a.ajax_add_to_cart.added {
  margin-top: 0 !important;
}
.custom-product-buttons .button.secondary-button,
.custom-product-buttons .custom-add-to-cart-btn {
  width: 50% !important;
  text-align: center;
  font-size: 14px;
}
.woocommerce-js a.button.added::after {
  content: "\e017";
  position: absolute;
  font-size: 10px;
}
@media (max-width: 768px) {
  .custom-product-buttons {
    flex-direction: column;
  }
  .custom-product-buttons .custom-add-to-cart-btn,
  .custom-product-buttons .custom-add-to-cart-btn a,
  .custom-product-buttons .button.secondary-button {
    width: 100% !important;
    text-align: center;
  }
}
/*< BUTTONS /> */

/*< NOTIFICATION > */
.ast-shop-product-out-of-stock {
  top: 5%;
  left: unset !important;
  right: 5% !important;
  bottom: unset !important;
  padding: 3px 8px !important;
  width: max-content;
  background-color: #a23548 !important;
  border-radius: 12px;
  font-size: 8px;
  color: white;
  font-weight: 300 !important;
}
/*< NOTIFICATION /> */
/* < GLOBAL PRODUCT CARDS /> */

/*  HEADER */
header.site-header {
  position: fixed;
  width: 100%;
  height: 30px;
  top: 0;
}
header .site-branding {
  padding: 0.3rem !important;
}

header .site-branding .site-logo-img {
  padding: 0 !important;
}
header .site-branding .site-logo-img img {
  /* border-radius: 100%; */
}
.widget.woocommerce.widget_shopping_cart .widget_shopping_cart_content {
  background: #fff7ed;
  background: #f8f7f3;
}
.woocommerce-js ul.product_list_widget li img {
  border: 1px solid #e3c9ae;
  padding: 3px;
}
/*  FOOTER */

.footer-brand-lg-img {
  width: 100%;
}

/* ------------------------------------------------------------------------------------------ */
/* HOME PAGE ------------------------------------*/
.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0px 0px 12px 12px;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* Optional overlay content */
.video-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  width: 65%;
  font-size: 2rem;
  width: 100%;
  padding: 1.5rem;
}

/* Extra fix for mobile */
@media (max-width: 768px) {
  .video-background {
    height: 70vh;
  }
}

/* Banner Section ----------------*/

.hero-banner-sub-wrap {
  /* min-height: 75vh; */
  position: relative;
}

.hero-banner-sub-wrap::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(227, 201, 174, 0.17) 0%,
    rgba(24, 24, 24, 0.19) 100%
  );
  z-index: 2;
  border-radius: 0px 0px 12px 12px;
}

/* testhomebanner */
.video-overlay p {
  margin: 0;
}
.home-banner-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.home-banner-motto-wrap {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #fff;
}
.banner-motto {
  font-size: 1.5rem;
}
.banner-cta-details-btn-wrap {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.banner-main-title {
  font-size: 8rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.banner-details {
  font-size: 1rem;
  text-align: left;
  padding: 12px 0px;
}
.btn-border-white-transparent {
  padding: 10px 20px;
  font-size: 1rem;
  border: 1px solid #fff;
  color: white;
  width: 60%;
  border-radius: 3px;
}
.btn-border-accent-transparent {
  padding: 10px 20px;
  font-size: 1rem;
  border: 1px solid #e3c9ae;
  color: #c28442;
  width: 20%;
  border-radius: 3px;
  display: inline-block;
}
/* Categories Section ----------------*/
.product-cat-section {
}
.section-title {
  font-size: 3rem;
  color: #202f45cc;
  font-weight: 300;
  line-height: 1.2;
}
.category-section-head-des {
  font-size: 1rem;

  margin: 0 auto;
  padding: 1rem 0rem;
}
.product-category-header {
  text-align: center;
  padding: 2.5rem 0rem 3rem 0rem;
}
.category-img {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  object-fit: cover;
}
.product-category-item-content {
  padding: 10rem 1rem;
  /* border: 1px solid black; */
}
.woocommerce-product-categories-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
}

.product-category-item.category-1 {
  grid-row: span 4 / span 4;
}
.product-category-item.category-2 {
  grid-row: span 2 / span 2;
}
.product-category-item.category-3 {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 3;
}
.product-category-item.category-4 {
  grid-row: span 4 / span 4;
  grid-column-start: 3;
  grid-row-start: 1;
}

.product-category-item {
  position: relative;
  /* border: 1px solid black; */
}
.product-cat-sub-wrap {
  /* border: 1px solid #202f455c;
  border: 1px solid #bd9979;
  border: 1px solid #e3c9ae; */
  border-radius: 12px;
  padding: 10px;
}
.product-details-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  /* align-items: center; */
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to right,
    rgba(227, 201, 174, 0.17) 0%,
    rgba(24, 24, 24, 0.19) 100%
  );
  background: linear-gradient(to right, rgb(0 0 0 / 14%) 0%, #93745414 100%);
}

.product-overlay-content {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-title {
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0 !important;
  position: relative;
  width: max-content;
  font-weight: 100;
  /* font-style: italic; */
}
.category-title::before {
  content: "";
  position: absolute;
  width: 70%;
  padding: 0.2px;
  background-color: white;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 5px;
}
.product-details-overlay {
}
.category-description {
  color: #fff;
  font-size: 1.2rem;
  font-style: italic;
  text-align: right;
}

@media (max-width: 768px) {
  .category-title {
    font-size: 1.8rem;
  }
  .woocommerce-product-categories-wrapper {
    grid-template-columns: 1fr; /* One column */
    grid-template-rows: auto;
  }

  .product-category-item {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
  }
}
/*< Categories Section /> ----------------*/
/* < Categories Section /> */
.most-loved-product-wrap {
  position: relative;
}
.most-loved-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0rem;
}
.most-love-title {
  position: relative;
  width: max-content;
}
.line-accent {
  width: 40%;
  padding: 0.5px;
  background-color: #bd9979;
}
.most-loved-details {
  width: 30%;
}

.slide-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  padding: 1.2rem 0rem;
}
.most-loved-product-wrap .products {
  display: flex !important;
}
.most-loved-product-wrap .products .product {
  width: 20% !important;
  margin-right: 20px !important;
  /* border: 1px solid #e3c9aebd; */
  border-radius: 3px;
  padding: 8px !important;
}
/* .most-loved-product-wrap .products .product {

} */
/* Arrows */
.swiper-btn {
  display: flex;
}
.slide-controls .swiper-button-prevs {
  cursor: pointer;
}
.slide-controls img {
  width: 45px;
  height: 45px;
}
.swiper-button-nexts {
  transform: rotate(180deg);
  cursor: pointer;
}
/* < MOST LOVED SECTION /> */
/* < sensory-story-block-wrap > */
.sensory-story-block-content {
  border-radius: 12px;
  position: relative;
  min-height: 80vh;
}
.sensory-story-block-content::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(227, 201, 174, 0.17) 0%,
    rgba(24, 24, 24, 0.19) 100%
  );
}
.base-banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.sensory-story-block-text-content-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid #fff;
}
.sensory-story-block-title {
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
  padding: 1rem 0rem;
}
.sensory-story-block-cta-btn {
  padding: 10px 20px;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 3px;
}
/* < sensory-story-block-wrap /> */
/* --------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------ */
/* STORE PAGE */

body.post-type-archive-product #primary,
body.tax-product_cat #primary {
  width: 85%;
  padding-left: 20px;
}
body.post-type-archive-product #secondary,
body.tax-product_cat #secondary {
  width: 15%;
  position: relative;
  padding: 20px;
  border: 0;
}
span.wc-block-product-categories-list-item__name {
  background-color: #ffffff;
  color: #a67324;
  padding: 3px 5px;
  font-size: 12px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 1.8px;
  border: 1px solid #e3c9ae;
  text-transform: uppercase;
  margin-bottom: 1rems;
}
span.wc-block-product-categories-list-item-count {
  color: #bd9979;
  font-size: 1.2rem;
  display: none;
}
form.woocommerce-ordering {
  margin-right: 0 !important;
}
.woocommerce-ordering select.orderby {
  border: 1px solid #b88960;
  appearance: none;
background-image: url(/wp-content/uploads/2025/12/sorting-brown-icon.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    background-size: 30px 30px;
    background-color: #ffffff;
    color: #a67324;
    cursor: pointer;
}
.woocommerce-ordering select.orderby:focus {
  border: 1px solid #e3c9ae;
}
/* border-radius: 80px !important; */

.custom-product-buttons .custom-view-details {
  border: 1px solid #b88960;
  border-radius: 8px;
}
.sidebar-main,
body.tax-product_cat #secondary .sidebar-main {
  position: sticky;
  top: 20%;
  padding: 10px 0px;
  border-radius: 12px;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: flex-end !important;
  gap: 1px;
  padding: 10px 0px;
}
.woocommerce-pagination ul.page-numbers li {
  width: 45px;
  height: 45px;
}
.woocommerce-pagination ul.page-numbers li span.page-numbers,
.woocommerce-pagination ul.page-numbers li a.page-numbers {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  body.post-type-archive-product #secondary,
  body.tax-product_cat #secondary {
    width: 100%;
  }
  .woocommerce-pagination ul.page-numbers li {
    width: 40px;
    height: 40px;
  }

  body.post-type-archive-product #primary,
  body.tax-product_cat #primary {
    width: 100%;
    padding-left: 0px;
  }
}

/* SINGLE PRODUCT PAGE */
.single-product #primary {
  margin-bottom: 0;
}
.woocommerce-product-gallery {
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
}
.woocommerce-product-gallery__image {
  height: 750px;
  width: 100%;
}
.woocommerce-product-gallery__image img {
  width: 125% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center bottom;
  border: 3px solid #fff7ed;
  /* border-radius: 8px; */
}
.flex-viewport {
  width: 80%;
}
.flex-control-nav {
  width: 15%;
  display: flex;
  flex-direction: column;
}
.flex-control-nav li {
  width: 100% !important;
}
.woocommerce-product-gallery ol li {
  border: 2px solid #fff7ed;
}
.woocommerce-product-gallery ol li img {
  border-radius: 12px;
}
.woocommerce-product-gallery .flex-active {
  border: 1px solid #e3c9ae;
}
.single-product .summary .product_title.entry-title {
  font-weight: 300 !important;
  font-size: 2rem;
  margin-bottom: 0 !important;
}
.single-product .summary .price {
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  padding-bottom: 1rem;
  color: #b88960 !important;
  font-weight: 700 !important;
}
.single-product .summary .price bdi {
  display: flex;
  gap: 5px;
  align-items: center;
}
.single-product .added_to_cart.wc-forward {
  display: none !important;
}

/* < SINGLE PRODUCT PAGE RIGHT COLUMN > */

.summary.entry-summary .woocommerce-product-details__short-description {
  padding-bottom: 1rem;
}
.riti-policy-icons {
  display: flex;
  gap: 10px;
}
.icon-box-product-mark {
  border: 1px solid #bd9979;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 5px 15px;
  border-radius: 3px;
  background-color: #ffffff;
  color: #a67324;
}
.woocommerce-tabs.wc-tabs-wrapper {
}

.single-product .summary.entry-summary .single-product-category {
  background-color: #ffffff;
  color: #a67324;
  padding: 3px 5px;
  font-size: 8px;
  border-radius: 7px;
  font-weight: 600;
  letter-spacing: 1.2px;
  border: 1px solid #e3c9ae;
  width: max-content;
}
.single-product .woocommerce-tabs.wc-tabs-wrapper {
  margin: 0;
}
.single-product .summary button[name="add-to-cart"] {
  width: 60% !important;
}
/* PRODUCT QUANTITY */
.entry-summary .quantity {
  display: flex;
  align-items: center;
  border: 1px solid #b88960;
  border-radius: 3px;
}

.entry-summary .qty-btn {
  background: #ffffff00;
  border: 0;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  border-radius: 4px;
  user-select: none;
  color: #202f45;
}

.entry-summary .quantity input.qty {
  width: 35px !important;
  text-align: center;
  height: 35px;
  font-size: 16px;
  border: 0;
  background: transparent;
  border-right: 1px solid #b88960;
  border-left: 1px solid #b88960;
}
.single-product .summary .cart {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
/* < SINGLE PRODUCT PAGE RIGHT COLUMN /> */

@media (max-width: 768px) {
  .flex-viewport {
    width: 100% !important;
  }
  .woocommerce-product-gallery {
    flex-direction: column;
  }
  .flex-control-nav {
    flex-direction: row;
    width: 100% !important;
  }
}
/* Desktop CROSS SELL SECTION IN SINGLE PRODUCT PAGE */
@media (min-width: 992px) {
  .cross-sells-section .sss {
    display: inline-block; /* shrink to content */
    max-width: 100%;
    margin: 10px auto 0 auto;
    border: 1px solid #e3c9ae;
    padding: 20px;
    border-radius: 10px;
    vertical-align: top; /* prevents flex stretch issues */
  }
}

/* Mobile (optional, border already working) */
@media (max-width: 991px) {
  .cross-sells-section .sss {
    border: 1px solid #e3c9ae;
    padding: 20px;
    border-radius: 10px;
    /* background: #fff; */
  }
}
.cross-sells-section .products .product {
  /* border: 1px solid #e3c9ae; */
  border-radius: 3px;
}
/* Wrap search + sorting in same row */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.wc-search-inline {
  display: inline-block !important;
  vertical-align: middle;
  margin-right: 20px;
}

/* Search box style */
.wc-search-inline input {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 220px;
}

/* Results dropdown */
#wc-ajax-results {
  position: absolute;
  background: #fff;
  width: 220px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-top: 5px;
  z-index: 99999;
}
/* ----------------- */

/* CHECKOUT-- */
/* Target only the checkout page */

.widget.woocommerce.widget_shopping_cart {
  width: 400px;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
