/* Ashrafi Beauty consolidated site styles: source order preserved. */

/* ---- ashrafi-design.css ---- */

/* Ashrafi Beauty: shared visual identity for all existing theme views. */
:root {
  --ab-gold: #d4b982;
  --ab-purple: #4b315f;
  --ab-mauve: #80618e;
  --ab-cream: #faf7f2;
  --ab-white: #ffffff;
  --ab-text: #28242a;
  --ab-muted: #787079;
  --ab-line: #eae3dc;
  --ab-shadow:
    0 5px 20px rgba(75, 49, 95, 0.08), 0 1px 4px rgba(40, 36, 42, 0.035);
  --ab-shadow-hover: 0 12px 30px rgba(75, 49, 95, 0.13);
  --main-color: #4b315f;
  --secound-color: #d4b982;
  --text-clack: #28242a;
  --white: #ffffff;
  --white1: #faf7f2;
  --black: #28242a;
  --main-radius: 10px;
  --inner-radius: 8px;
  --card-shadow: var(--ab-shadow);
  --main-max-width: 1440px;
}
body.ashrafi-beauty {
  background: var(--ab-white);
  color: var(--ab-text);
  font-family: IRANSansX, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
body.ashrafi-beauty a {
  text-decoration: none;
}
body.ashrafi-beauty h1,
body.ashrafi-beauty h2,
body.ashrafi-beauty h3,
body.ashrafi-beauty h4 {
  color: var(--ab-purple);
}
button,
input,
select,
textarea {
  font-family: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ab-mauve);
  outline-offset: 4px;
}
body.ashrafi-beauty .container.main-body {
  width: min(1440px, calc(100% - 80px));
  max-width: 1440px;
  padding: 0;
  margin-inline: auto;
}
body.ashrafi-beauty .main-body .row {
  --bs-gutter-x: 24px;
}
body.ashrafi-beauty .rows-title {
  color: var(--ab-purple);
  font-size: 24px;
  font-weight: 700;
  background: none;
  border: 0;
}
body.ashrafi-beauty .head-body {
  max-width: 1440px;
  width: calc(100% - 80px);
  margin: auto;
}
body.ashrafi-beauty .bym-sticky-top,
body.ashrafi-beauty .head-box,
body.ashrafi-beauty .header-menu {
  background: var(--ab-white);
  border-radius: 0;
  box-shadow: none;
}
body.ashrafi-beauty .head-box {
  padding: 18px 0;
}
body.ashrafi-beauty .header-menu {
  border-block: 1px solid var(--ab-line);
  margin-bottom: 0;
}
body.ashrafi-beauty .header-menu .head-box {
  padding: 5px 0;
}
body.ashrafi-beauty .menuBox {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
body.ashrafi-beauty .desktop-main-menu {
  background: none;
}
body.ashrafi-beauty .menuBox a,
body.ashrafi-beauty .desktop-main-menu a {
  color: var(--ab-text);
}
body.ashrafi-beauty .menuBox a:hover {
  color: var(--ab-mauve);
  background: var(--ab-cream);
}
body.ashrafi-beauty .menuBox .sub-menu {
  background: var(--ab-white);
  border-color: var(--ab-line);
  box-shadow: var(--ab-shadow);
  border-radius: 8px;
}
body.ashrafi-beauty .main-logo {
  width: 180px;
  height: 58px;
  object-fit: contain;
}
body.ashrafi-beauty .header-login-btn,
body.ashrafi-beauty .lgn-btn {
  background: transparent;
  color: var(--ab-purple);
  border-color: var(--ab-line);
  border-radius: 6px;
  box-shadow: none;
}
body.ashrafi-beauty .header-login-btn a,
body.ashrafi-beauty .header-login-btn svg {
  color: var(--ab-purple);
  stroke: var(--ab-purple);
}
body.ashrafi-beauty .header-login-btn:hover {
  background: var(--ab-cream);
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty .cart-number {
  background: var(--ab-gold);
  color: var(--ab-text);
}
body.ashrafi-beauty .cart-dropdown,
body.ashrafi-beauty .user-menu-dropdown {
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  box-shadow: var(--ab-shadow-hover);
  border-radius: 9px;
}
body.ashrafi-beauty .header-search {
  background: var(--ab-cream);
  border-radius: 6px;
}
body.ashrafi-beauty .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp,
body.ashrafi-beauty
  .dgwt-wcas-style-pirx
  .dgwt-wcas-sf-wrapp
  input[type="search"] {
  background: var(--ab-cream);
  border-radius: 5px;
  border-color: var(--ab-line);
  color: var(--ab-text);
}
.ab-search-form {
  display: flex;
  align-items: center;
  background: var(--ab-cream);
  border: 1px solid var(--ab-line);
  border-radius: 6px;
  padding: 4px 12px;
  width: 100%;
}
.ab-search-form input {
  border: 0;
  background: none;
  min-width: 0;
  width: 100%;
  padding: 8px;
  color: var(--ab-text);
  font-size: 14px;
}
.ab-search-form button {
  border: 0;
  background: none;
  color: var(--ab-purple);
  font-size: 24px;
}
.ab-screen-reader {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Shadows and surfaces for catalog, product, cart, checkout, account, blog and brand views. */
body.ashrafi-beauty
  :is(
    .bym-box,
    .product-box,
    .home-cat-box,
    .row-banner,
    .card,
    .user-card,
    .brand-card,
    .ashrafi-brand-card,
    .woocommerce ul.products li.product,
    .woocommerce div.product .summary,
    .price-holder,
    .details-box,
    .cart_totals,
    .woocommerce-checkout-review-order,
    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content,
    .woocommerce form.login,
    .woocommerce form.register
  ) {
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty
  :is(.card, .woocommerce ul.products li.product, .ashrafi-brand-card) {
  transition:
    box-shadow 0.22s,
    transform 0.22s;
}
body.ashrafi-beauty
  :is(.card, .woocommerce ul.products li.product, .ashrafi-brand-card):hover {
  box-shadow: var(--ab-shadow-hover);
  transform: translateY(-3px);
}
body.ashrafi-beauty :is(.woocommerce ul.products li.product, .card) {
  overflow: visible;
}
body.ashrafi-beauty .woocommerce ul.products li.product {
  padding: 18px 15px;
  margin-bottom: 24px;
  position: relative;
}
body.ashrafi-beauty .woocommerce-loop-product__title {
  font-size: 15px !important;
  line-height: 1.9 !important;
  min-height: 56px;
}
body.ashrafi-beauty .woocommerce ul.products li.product img {
  object-fit: contain;
  border-radius: 6px;
}
body.ashrafi-beauty
  :is(
    .woocommerce ul.products li.product .price,
    .priceBox,
    .price-box,
    .product-price-box
  ) {
  color: var(--ab-text);
}
body.ashrafi-beauty
  :is(
    .woocommerce .button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce a.button,
    .addToCart,
    .checkout-button,
    .ashrafi-stock-alert__submit
  ) {
  background: var(--ab-gold);
  color: var(--ab-text);
  border: 1px solid var(--ab-gold);
  border-radius: 6px;
  box-shadow: none;
  text-shadow: none;
  font-size: 14px;
}
body.ashrafi-beauty
  :is(.woocommerce .button, .addToCart, .checkout-button):hover {
  background: #d4b982;
  color: var(--ab-text);
}
body.ashrafi-beauty
  :is(.woocommerce span.onsale, .sf-product-percent, .bym-product-percent) {
  background: var(--ab-gold);
  color: var(--ab-text);
  border-radius: 4px;
  box-shadow: none;
}
body.ashrafi-beauty .woocommerce form .form-row :is(input.input-text, textarea),
body.ashrafi-beauty .woocommerce select {
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  border-radius: 6px;
  color: var(--ab-text);
  padding: 10px;
  font-size: 14px;
}
body.ashrafi-beauty
  :is(
    .woocommerce-tabs,
    .product_meta,
    .advantageBox,
    .woocommerce table.shop_table
  ) {
  border-color: var(--ab-line);
}
body.ashrafi-beauty .woocommerce-tabs ul.tabs li {
  background: var(--ab-cream);
  border-color: var(--ab-line);
  border-radius: 5px;
}
body.ashrafi-beauty .woocommerce-tabs ul.tabs li.active {
  background: var(--ab-white);
  color: var(--ab-purple);
  border-bottom-color: var(--ab-gold);
}
body.ashrafi-beauty .woocommerce-MyAccount-navigation a {
  color: var(--ab-purple);
}
body.ashrafi-beauty .woocommerce-MyAccount-navigation li.is-active {
  background: var(--ab-cream);
}
body.ashrafi-beauty .woocommerce-MyAccount-navigation,
body.ashrafi-beauty .woocommerce-MyAccount-content {
  padding: 22px;
}
body.ashrafi-beauty :is(.woocommerce-message, .woocommerce-info) {
  border-top-color: var(--ab-gold);
  background: var(--ab-cream);
  color: var(--ab-purple);
}
body.ashrafi-beauty .ashrafi-supply-badge {
  background: var(--ab-cream);
  color: var(--ab-purple);
  border: 1px solid var(--ab-gold);
  box-shadow: 0 2px 6px #4b315f0d;
}
.ashrafi-announcement-bar {
  background: var(--ab-purple);
  color: var(--ab-white);
}
body.ashrafi-beauty
  :is(
    .ashrafi-mobile-shop-tools-wrap,
    .ashrafi-mobile-shop-tools,
    .ashrafi-stock-alert-box
  ) {
  background: var(--ab-cream);
  border-color: var(--ab-line);
  border-radius: 8px;
  box-shadow: var(--ab-shadow);
}
/* Home page: independent responsive layout on the original theme foundation. */
.ab-home {
  padding: 0 0 28px;
}
.ab-home * {
  box-sizing: border-box;
}
.ab-home h2 {
  font-size: 26px;
  line-height: 1.7;
  font-weight: 700;
  margin: 0;
  color: var(--ab-purple);
}
.ab-hero {
  position: relative;
  aspect-ratio: 2.65/1;
  margin-top: 22px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ab-cream);
  box-shadow: var(--ab-shadow);
  touch-action: pan-y;
}
.ab-hero-slides,
.ab-hero-slide {
  position: absolute;
  inset: 0;
}
.ab-hero-slide {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s,
    visibility 0.6s;
}
.ab-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.ab-hero-slide a {
  display: block;
  height: 100%;
}
.ab-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 0;
}
.ab-slide-prev,
.ab-slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 42px;
  border: 1px solid #fff9;
  border-radius: 5px;
  background: #faf7f2bf;
  color: var(--ab-purple);
  font-size: 15px;
  z-index: 1;
}
.ab-slide-prev {
  right: 16px;
}
.ab-slide-next {
  left: 16px;
}
.ab-slide-bottom {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
  background: #faf7f2d9;
  border-radius: 20px;
  padding: 8px 12px;
  z-index: 1;
}
.ab-slide-dots {
  display: flex;
  gap: 7px;
}
.ab-slide-dots button {
  width: 7px;
  height: 7px;
  background: #80618e60;
  border: 0;
  padding: 0;
  border-radius: 8px;
}
.ab-slide-dots button.is-active {
  width: 22px;
  background: var(--ab-purple);
}
.ab-slide-pause {
  font: 13px IRANSansX;
  color: var(--ab-purple);
  background: none;
  border: 0;
  padding: 0 3px;
}
.ab-categories {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 30px 5px 35px;
  scrollbar-width: thin;
  scrollbar-color: var(--ab-gold) transparent;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}
.ab-category {
  flex: 0 0 calc((100% - 156px) / 7);
  text-align: center;
  scroll-snap-align: start;
}
.ab-category-image {
  width: 84px;
  height: 84px;
  background: var(--ab-cream);
  border: 1px solid var(--ab-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 11px;
  box-shadow: var(--ab-shadow);
  transition: box-shadow 0.2s;
}
.ab-category:hover .ab-category-image {
  box-shadow: var(--ab-shadow-hover);
  border-color: var(--ab-gold);
}
.ab-category-image img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  border-radius: 30px;
  mix-blend-mode: multiply;
}
.ab-category-image > span {
  font-size: 36px;
  color: var(--ab-gold);
}
.ab-category strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--ab-text);
  display: block;
  line-height: 1.8;
}
.ab-offers {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  background: var(--ab-cream);
  border: 1px solid var(--ab-line);
  padding: 28px;
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
  margin: 6px 0 40px;
  align-items: center;
}
.ab-offer-intro h2 {
  font-size: 29px;
  font-weight: 600;
}
.ab-offer-intro p {
  font-size: 13px;
  color: var(--ab-muted);
  margin: 12px 0 20px;
}
.ab-text-link {
  display: inline-block;
  color: var(--ab-purple);
  font-size: 13px;
  border-bottom: 1px solid var(--ab-gold);
  padding-bottom: 4px;
}
.ab-rail-shell {
  min-width: 0;
}
.ab-rail-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ab-rail-controls button {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border: 1px solid var(--ab-line);
  background: var(--ab-white);
  color: var(--ab-purple);
  font-size: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 5px #4b315f08;
}
.ab-rail-controls button:hover {
  border-color: var(--ab-gold);
}
.ab-rail-shell > .ab-rail-controls {
  justify-content: flex-end;
  margin-bottom: 12px;
}
.ab-product-rail {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ab-gold) transparent;
  padding: 6px 3px 18px;
  min-width: 0;
}
.ab-product-rail .ab-product-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  min-width: 0;
}
.ab-offer-rail .ab-product-card {
  flex-basis: calc((100% - 40px) / 3);
}
.ab-product-card {
  position: relative;
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  border-radius: 9px;
  box-shadow: var(--ab-shadow);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  min-width: 0;
}
.ab-product-card:hover {
  box-shadow: var(--ab-shadow-hover);
  transform: translateY(-3px);
}
.ab-card-image {
  padding: 25px 23px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 224px;
  background: var(--ab-white);
  border-radius: 9px 9px 0 0;
}
.ab-card-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  border-radius: 0;
}
.ab-card-body {
  padding: 10px 17px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ab-card-brand {
  font-size: 11px;
  color: var(--ab-mauve);
  margin-bottom: 7px;
  line-height: 1.7;
}
.ab-card-body h3 {
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.9 !important;
  margin: 0 0 15px;
  min-height: 53px;
}
.ab-card-body h3 a {
  color: var(--ab-text) !important;
}
.ab-card-bottom {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  flex-wrap: wrap;
}
.ab-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ab-text);
  line-height: 1.6;
}
.ab-card-price del {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ab-muted);
}
.ab-card-price ins {
  text-decoration: none;
}
.ab-card-price .woocommerce-Price-currencySymbol {
  font-size: 10px;
  font-weight: 400;
}
.ab-card-cart .button,
.ab-card-cart .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px !important;
  line-height: 1.6 !important;
  padding: 8px 10px !important;
  background: var(--ab-cream) !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 5px !important;
  color: var(--ab-purple) !important;
  white-space: normal;
  margin: 0 !important;
}
.ab-card-cart .button:hover {
  background: var(--ab-gold) !important;
  border-color: var(--ab-gold) !important;
}
.ab-card-cart .added_to_cart {
  margin-top: 5px !important;
}
.ab-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  background: var(--ab-purple);
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
  z-index: 1;
}
.ab-product-card .ashrafi-supply-badge {
  top: 11px;
  right: 11px;
  z-index: 1;
}
.ab-outstock {
  font-size: 13px;
  color: var(--ab-muted);
}
.ab-empty {
  font-size: 14px;
  color: var(--ab-muted);
  padding: 20px;
  grid-column: 1/-1;
  flex: 1;
  min-width: 100%;
  margin: 0;
}
.ab-section {
  margin: 0 0 40px;
}
.ab-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 15px;
}
.ab-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--ab-line);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ab-tabs button {
  font-size: 14px;
  line-height: 1.8;
  padding: 0 0 13px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--ab-muted);
  white-space: nowrap;
}
.ab-tabs button[aria-selected="true"] {
  color: var(--ab-purple);
  border-color: var(--ab-gold);
}
.ab-best-panel[hidden] {
  display: none !important;
}
.ab-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  overflow: visible;
  padding-bottom: 12px;
}
.ab-more-category {
  margin-top: 17px;
}
.ab-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 40px;
}
.ab-banner-image {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--ab-shadow);
}
.ab-banner-image img {
  display: block;
  width: 100%;
  height: auto;
}
.ab-editorial {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: #faf7f2;
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  min-height: 270px;
  box-shadow: var(--ab-shadow);
  overflow: hidden;
}
.ab-editorial > div {
  position: relative;
  z-index: 1;
  flex: 1;
}
.ab-editorial h2 {
  font-size: 25px;
  line-height: 1.75;
}
.ab-editorial p {
  font-size: 12px;
  color: var(--ab-muted);
  margin: 10px 0 20px;
}
.ab-editorial img {
  width: 36%;
  height: 210px;
  object-fit: cover;
  border-radius: 70px;
}
.ab-button {
  background: var(--ab-gold);
  color: var(--ab-text);
  font-size: 13px;
  display: inline-block;
  padding: 9px 20px;
  border-radius: 5px;
}
.ab-editorial-purple {
  background: var(--ab-purple);
  border-color: var(--ab-purple);
}
.ab-editorial-purple h2 {
  color: var(--ab-white);
}
.ab-editorial-purple p {
  color: #faf7f2;
}
.ab-brand-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ab-gold) transparent;
  padding: 7px 3px 18px;
}
.ab-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc((100% - 88px) / 5);
  scroll-snap-align: start;
  height: 110px;
  border: 1px solid var(--ab-line);
  border-radius: 9px;
  box-shadow: var(--ab-shadow);
  background: var(--ab-white);
  padding: 18px;
  color: var(--ab-purple);
  font-size: 20px;
}
.ab-brand img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  object-fit: contain;
}
.ab-brand:hover {
  border-color: var(--ab-gold);
  box-shadow: var(--ab-shadow-hover);
}
/* Footer uses the same restrained identity with configurable merchant details. */
body.ashrafi-beauty .footer {
  background: var(--ab-cream);
  color: var(--ab-text);
  border-top: 1px solid var(--ab-line);
  box-shadow: 0 -3px 15px #4b315f05;
  margin-top: 28px;
  padding-top: 35px;
  border-radius: 0;
}
body.ashrafi-beauty .footer-info {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ab-line);
  box-shadow: none;
}
body.ashrafi-beauty .footer h4 {
  font-size: 16px;
  color: var(--ab-purple);
  font-weight: 500;
}
body.ashrafi-beauty .footer p,
body.ashrafi-beauty .footer-links a {
  color: var(--ab-muted);
  font-size: 13px;
  line-height: 2;
}
body.ashrafi-beauty .footer a:hover {
  color: var(--ab-purple);
}
body.ashrafi-beauty .copyright-box {
  border-top: 1px solid var(--ab-line);
  background: transparent;
  font-size: 12px;
  color: var(--ab-muted);
}
body.ashrafi-beauty .footer-phone,
.footer-enamad-box {
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  background: var(--ab-white);
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty .body-social {
  background: var(--ab-white);
  border-color: var(--ab-line);
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty .footer-enamad-area:has(.footer-enamad-box:empty) {
  display: none;
}
body.ashrafi-beauty .digits-form_container .digits-form_button {
  background: var(--ab-gold) !important;
  color: var(--ab-text) !important;
  border-radius: 6px !important;
}
body.ashrafi-beauty .ashrafi-stock-alert-box,
.ashrafi-brands-page {
  color: var(--ab-text);
}
@media (max-width: 1050px) {
  body.ashrafi-beauty .container.main-body,
  body.ashrafi-beauty .head-body {
    width: calc(100% - 40px);
  }
  .ab-offers {
    grid-template-columns: 185px minmax(0, 1fr);
    padding: 22px;
    gap: 22px;
  }
  .ab-offer-intro h2 {
    font-size: 26px;
  }
  .ab-offer-rail .ab-product-card {
    flex-basis: calc((100% - 20px) / 2);
  }
  .ab-card-image {
    height: 190px;
    padding: 23px 17px 10px;
  }
  .ab-card-price {
    font-size: 14px;
  }
  .ab-card-body {
    padding: 8px 13px 14px;
  }
  .ab-product-grid {
    gap: 16px;
  }
  .ab-category {
    flex-basis: calc((100% - 130px) / 6);
  }
  .ab-editorial {
    padding: 24px;
  }
  .ab-editorial h2 {
    font-size: 22px;
  }
  .ab-brand {
    flex-basis: calc((100% - 66px) / 4);
  }
}
@media (max-width: 767px) {
  body.ashrafi-beauty .container.main-body {
    width: calc(100% - 28px);
    max-width: none;
    padding: 0;
  }
  body.ashrafi-beauty .header-body {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.ashrafi-beauty .header-content {
    background: var(--ab-white);
    border: 0;
    border-radius: 0;
    box-shadow: 0 3px 15px #4b315f06;
    padding: 10px 0 !important;
    margin-bottom: 15px;
  }
  body.ashrafi-beauty .header-content header {
    padding: 0 !important;
    background: none;
    box-shadow: none;
    border: 0;
  }
  body.ashrafi-beauty .header-content .container {
    width: 100%;
    padding: 0 !important;
    background: none;
  }
  body.ashrafi-beauty .logo-link .logo {
    width: 145px !important;
    height: 49px !important;
    object-fit: contain;
  }
  body.ashrafi-beauty .menu-right svg,
  body.ashrafi-beauty .l-icon-box svg {
    stroke: var(--ab-purple);
  }
  body.ashrafi-beauty .header-menu {
    margin-bottom: 0;
  }
  body.ashrafi-beauty .user-card {
    margin-bottom: 18px;
    padding: 15px;
  }
  body.ashrafi-beauty .ashrafi-mobile-shop-tools-wrap {
    position: relative;
    z-index: 2;
  }
  body.ashrafi-beauty .ashrafi-mobile-shop-top {
    padding: 0 0 15px;
  }
  body.ashrafi-beauty .woocommerce-MyAccount-content,
  body.ashrafi-beauty .woocommerce-MyAccount-navigation {
    padding: 15px;
  }
  .ab-hero {
    height: 310px;
    aspect-ratio: auto;
    margin-top: 0;
    border-radius: 8px;
  }
  .ab-hero-slide img {
    object-position: 65% center;
  }
  .ab-slide-prev,
  .ab-slide-next {
    width: 28px;
    height: 36px;
    font-size: 11px;
  }
  .ab-slide-prev {
    right: 10px;
  }
  .ab-slide-next {
    left: 10px;
  }
  .ab-slide-bottom {
    bottom: 11px;
  }
  .ab-categories {
    padding: 24px 3px 26px;
    gap: 19px;
  }
  .ab-category {
    flex: 0 0 70px;
  }
  .ab-category-image {
    width: 65px;
    height: 65px;
    margin-bottom: 9px;
  }
  .ab-category strong {
    font-size: 11px;
  }
  .ab-offers {
    display: block;
    padding: 20px 14px 8px;
    margin-bottom: 28px;
  }
  .ab-offer-intro {
    margin-bottom: 13px;
  }
  .ab-offer-intro h2 {
    font-size: 23px;
  }
  .ab-offer-intro h2 br {
    display: none;
  }
  .ab-offer-intro p {
    font-size: 12px;
    margin: 7px 0 11px;
  }
  .ab-text-link {
    font-size: 12px;
  }
  .ab-product-rail {
    gap: 12px;
    padding-bottom: 15px;
  }
  .ab-product-rail .ab-product-card {
    flex-basis: calc((100% - 12px) / 2);
  }
  .ab-card-image {
    height: 160px;
    padding: 24px 15px 10px;
  }
  .ab-card-body {
    padding: 8px 10px 13px;
  }
  .ab-card-body h3 {
    font-size: 12px !important;
    line-height: 1.85 !important;
    min-height: 46px;
    margin-bottom: 10px;
  }
  .ab-card-brand {
    font-size: 10px;
  }
  .ab-card-price {
    font-size: 13px;
  }
  .ab-card-price del {
    font-size: 10px;
  }
  .ab-card-cart .button,
  .ab-card-cart .added_to_cart {
    font-size: 10px !important;
    padding: 7px !important;
  }
  .ab-card-bottom {
    gap: 7px;
    align-items: center;
  }
  .ab-discount {
    top: 9px;
    left: 8px;
    font-size: 10px;
    padding: 4px 6px;
  }
  .ab-product-card .ashrafi-supply-badge {
    right: 7px;
    top: 8px;
  }
  .ab-home h2 {
    font-size: 22px;
  }
  .ab-section {
    margin-bottom: 28px;
  }
  .ab-section-head {
    margin-bottom: 14px;
  }
  .ab-tabs {
    gap: 23px;
    margin-bottom: 18px;
  }
  .ab-tabs button {
    font-size: 12px;
    padding-bottom: 11px;
  }
  .ab-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .ab-banners {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }
  .ab-editorial {
    padding: 22px;
    min-height: 220px;
  }
  .ab-editorial img {
    height: 170px;
    width: 32%;
  }
  .ab-editorial h2 {
    font-size: 22px;
  }
  .ab-editorial p {
    font-size: 11px;
  }
  .ab-button {
    font-size: 12px;
    padding: 8px 16px;
  }
  .ab-brand-rail {
    gap: 13px;
  }
  .ab-brand {
    flex-basis: calc((100% - 13px) / 2);
    height: 90px;
    padding: 15px;
    font-size: 17px;
  }
  body.ashrafi-beauty .footer {
    padding-top: 23px;
    margin-top: 20px;
  }
  body.ashrafi-beauty .footer-info .main-logo {
    width: 160px;
    height: 54px;
    margin-bottom: 15px;
  }
  body.ashrafi-beauty .woocommerce ul.products li.product {
    padding: 12px 9px;
    margin-bottom: 17px;
  }
  body.ashrafi-beauty .woocommerce-loop-product__title {
    font-size: 12px !important;
    min-height: 46px;
  }
  .ab-search-form input {
    font-size: 12px;
  }
  .ab-home {
    padding-bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-home *,
  .ab-product-card {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Version 2.1: wider boxed composition, drag carousels and editorial content. */
.ab-home {
  padding-bottom: 42px;
}
.ab-section {
  margin-bottom: 52px;
}
.ab-banners {
  margin-bottom: 52px;
  gap: 26px;
}
.ab-categories {
  padding-top: 38px;
  padding-bottom: 42px;
}
.ab-offers {
  margin-bottom: 52px;
}
.ab-hero {
  aspect-ratio: 2.9/1;
}
.ab-hero-slides {
  cursor: grab;
}
.ab-hero img,
.ab-product-rail img,
.ab-brand-rail img,
.ab-categories img {
  -webkit-user-drag: none;
}
.ab-hero.is-dragging,
.ab-product-rail.is-dragging,
.ab-brand-rail.is-dragging,
.ab-categories.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}
.ab-hero.is-dragging a,
.ab-product-rail.is-dragging a,
.ab-brand-rail.is-dragging a,
.ab-categories.is-dragging a {
  cursor: grabbing;
}
.ab-hero.is-dragging .ab-hero-slide img {
  transition: none;
}
.ab-product-rail,
.ab-brand-rail,
.ab-categories {
  cursor: grab;
  overscroll-behavior-x: contain;
}
.ab-editorial-mauve {
  background: #faf7f2;
  border-color: var(--ab-line);
}
.ab-editorial-mauve h2 {
  color: var(--ab-purple);
}
.ab-editorial-mauve p {
  color: var(--ab-mauve);
}
.ab-editorial {
  min-height: 280px;
}
.ab-editorial h2 {
  max-width: 330px;
}
.ab-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.ab-blog-card {
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
  background: var(--ab-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.ab-blog-card:hover {
  box-shadow: var(--ab-shadow-hover);
  transform: translateY(-3px);
}
.ab-blog-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.65;
  background: var(--ab-cream);
  overflow: hidden;
  color: var(--ab-gold);
  font-size: 48px;
}
.ab-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.ab-blog-body time {
  color: var(--ab-mauve);
  font-size: 11px;
  margin-bottom: 9px;
}
.ab-blog-body h3 {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 9px;
}
.ab-blog-body h3 a {
  color: var(--ab-purple);
}
.ab-blog-body p {
  color: var(--ab-muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 18px;
}
.ab-blog-body > .ab-text-link {
  margin-top: auto;
}
.ab-blog {
  padding-top: 6px;
}
@media (max-width: 1050px) {
  body.ashrafi-beauty .container.main-body,
  body.ashrafi-beauty .head-body {
    width: calc(100% - 40px);
  }
  .ab-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 767px) {
  body.ashrafi-beauty .container.main-body {
    width: calc(100% - 28px);
  }
  .ab-hero {
    aspect-ratio: auto;
    height: 310px;
  }
  .ab-section,
  .ab-offers,
  .ab-banners {
    margin-bottom: 34px;
  }
  .ab-banners {
    gap: 16px;
  }
  .ab-categories {
    padding-top: 26px;
    padding-bottom: 30px;
  }
  .ab-editorial {
    min-height: 220px;
  }
  .ab-blog-grid {
    gap: 13px;
  }
  .ab-blog-body {
    padding: 13px;
  }
  .ab-blog-body h3 {
    font-size: 13px;
  }
  .ab-blog-body p {
    font-size: 11px;
  }
  .ab-blog-body time {
    font-size: 10px;
  }
  .ab-blog-body .ab-text-link {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-blog-card {
    transition: none;
  }
}

/* 2.2: consistent header, hidden rail scrollbars and natural product image proportions. */
body.ashrafi-beauty .header-search {
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  min-width: 0;
  box-shadow: none;
}
body.ashrafi-beauty .header-search .dgwt-wcas-search-wrapp {
  width: 100%;
  max-width: none;
  margin: 0;
}
body.ashrafi-beauty .header-search .dgwt-wcas-sf-wrapp {
  border: 1px solid var(--ab-line);
  padding: 0;
  background: var(--ab-cream) !important;
  border-radius: 8px !important;
}
body.ashrafi-beauty .header-search .dgwt-wcas-search-input {
  height: 46px;
  border: 0 !important;
  padding: 0 42px 0 15px !important;
  background: var(--ab-cream) !important;
  color: var(--ab-text) !important;
  font-family: inherit !important;
}
body.ashrafi-beauty .header-search .dgwt-wcas-search-submit {
  background: transparent !important;
  color: var(--ab-purple) !important;
}
body.ashrafi-beauty .header-search .dgwt-wcas-search-icon {
  color: var(--ab-purple);
  fill: var(--ab-purple);
}
body.ashrafi-beauty .head-box > .container-fluid > .row {
  align-items: center;
}
.ab-search-form {
  border-radius: 8px;
  min-height: 46px;
  padding: 0 13px;
}
.ab-search-form input {
  min-height: 44px;
  padding: 6px 10px;
  font-size: 13px;
  outline-offset: 0;
}
.ab-search-form button {
  display: grid;
  place-items: center;
  padding: 7px;
  cursor: pointer;
}
.ab-product-rail,
.ab-brand-rail,
.ab-categories,
.ab-tabs {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
}
.ab-product-rail::-webkit-scrollbar,
.ab-brand-rail::-webkit-scrollbar,
.ab-categories::-webkit-scrollbar,
.ab-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ab-product-rail.is-coasting,
.ab-brand-rail.is-coasting,
.ab-categories.is-coasting {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}
.ab-product-rail.is-dragging,
.ab-brand-rail.is-dragging,
.ab-categories.is-dragging {
  scroll-behavior: auto !important;
}
.ab-card-image img {
  height: auto !important;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.ab-discount {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 11px;
  min-width: 43px;
  text-align: center;
}
.ab-hero-slides {
  display: flex;
  direction: rtl;
  position: absolute;
  inset: 0;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ab-hero-slide,
.ab-hero-slide.is-active {
  position: relative;
  inset: auto;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  opacity: 1;
  visibility: visible;
  transition: none;
}
.ab-hero-slide img {
  display: block;
}
.ab-hero.is-dragging .ab-hero-slides {
  transition: none;
}
.ab-hero[data-ab-initialized] .ab-hero-slides {
  touch-action: pan-y;
}
.ab-hero:not([data-ab-initialized]) .ab-hero-slides {
  display: block;
  transform: none;
}
.ab-hero:not([data-ab-initialized]) .ab-hero-slide {
  position: absolute;
  inset: 0;
}
.ab-hero:not([data-ab-initialized]) .ab-hero-slide:not(.is-active) {
  display: none;
}
/* Product composition: grouped introduction, distinct purchase panel and real data sections. */
body.ashrafi-beauty div.product.ab-single-product {
  width: 100%;
  max-width: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin: 24px 0 42px;
  padding: 0;
  overflow: visible;
}
.ab-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  direction: ltr;
  align-items: start;
}
.ab-product-primary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 28px;
  direction: ltr;
  min-height: 450px;
}
.ab-product-summary,
.ab-product-gallery,
.ab-product-buy {
  direction: rtl;
  min-width: 0;
}
body.ashrafi-beauty .ab-product-surface {
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  background: var(--ab-white);
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty .ab-single-product .summary {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
body.ashrafi-beauty .ab-product-summary .product_title {
  font-size: 23px;
  line-height: 1.8;
  margin: 0 0 12px;
  padding: 0;
  width: auto;
  min-height: 0;
  color: var(--ab-purple);
}
.ab-product-summary .woocommerce-product-rating {
  font-size: 13px;
  margin: 8px 0 18px;
}
.ab-product-summary .woocommerce-review-link {
  color: var(--ab-mauve);
}
.ab-product-summary .product_meta {
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ab-product-summary .product_meta .posted_in,
.ab-product-brand-label {
  font-weight: 400;
  font-size: 12px;
  padding: 0;
  margin: 0;
  color: var(--ab-muted) !important;
}
.ab-product-summary .product_meta a {
  font-size: 12px;
  color: var(--ab-purple);
  padding: 0;
  margin: 0;
}
.ab-product-summary .advantageBox {
  border: 0;
  background: none;
  box-shadow: none;
  margin: 16px 0;
  padding: 0;
  width: auto;
}
.ab-product-summary .property-title,
.ab-product-intro h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.9;
  color: var(--ab-purple);
}
.ab-product-summary .property-desc {
  padding: 0 18px 0 0;
  margin: 0;
  list-style: disc;
  line-height: 2.1;
  font-size: 13px;
  color: var(--ab-text);
}
.ab-product-summary .property-desc li {
  margin: 0 0 3px;
  padding: 0;
}
.ab-product-intro {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--ab-line);
}
.ab-product-intro .woocommerce-product-details__short-description {
  font-size: 13px;
  line-height: 2;
  color: var(--ab-text);
  padding: 0;
  margin: 0;
  max-height: none;
  overflow: visible;
}
.ab-product-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 14px;
  border: 1px solid var(--ab-line);
  border-radius: 6px;
  background: var(--ab-cream);
  margin: 15px 0;
  font-size: 12px;
}
.ab-product-dates > div {
  display: flex;
  gap: 6px;
}
.ab-product-dates dt {
  font-weight: 400;
  color: var(--ab-mauve);
}
.ab-product-dates dd {
  margin: 0;
  color: var(--ab-text);
}
body.ashrafi-beauty .ab-product-gallery .user-card {
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  background: transparent;
  min-width: 0;
}
.ab-product-gallery .img-box {
  border: 0;
  box-shadow: none;
  background: none;
  width: 100%;
  height: auto;
  padding: 0;
  overflow: hidden;
}
.ab-product-gallery .singleImage {
  width: 100%;
  height: 390px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ab-product-gallery .singleImage a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  cursor: zoom-in;
}
.ab-product-gallery img.main-image,
.ab-product-gallery img.gallery-img {
  width: auto !important;
  height: auto !important;
  max-height: 360px;
  max-width: 100%;
  object-fit: contain;
}
.ab-product-gallery .mySwiper2 {
  margin: 0 !important;
  width: 100%;
  height: 390px;
}
.ab-product-gallery .mySwiper2 .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 390px;
}
.ab-product-gallery .mySwiper2 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.ab-product-gallery .mySwiper {
  height: 72px;
  margin-top: 16px !important;
}
.ab-product-gallery .thumbnail-box {
  height: 65px;
  background: var(--ab-cream);
  border: 1px solid var(--ab-line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-product-gallery .thumbnail-box img {
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 90%;
  object-fit: contain;
}
.ab-product-gallery .swiper-slide-thumb-active {
  border-color: var(--ab-gold);
}
.ab-product-gallery .swiper-button-next,
.ab-product-gallery .swiper-button-prev {
  color: var(--ab-purple);
  background: var(--ab-cream);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.ab-product-gallery .swiper-button-next:after,
.ab-product-gallery .swiper-button-prev:after {
  font-size: 12px;
}
.ab-product-buy {
  position: sticky;
  top: 24px;
}
.ab-product-buy .price-holder {
  padding: 22px;
  margin: 0;
  background: var(--ab-white);
}
.ab-buy-title {
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 15px;
  color: var(--ab-purple);
}
.ab-product-buy .sender-info {
  margin: 0 0 20px;
}
.ab-product-buy .sender-info p {
  width: auto;
  margin: 0;
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border-bottom: 1px solid var(--ab-line);
  color: var(--ab-text);
}
.ab-product-buy .sender-info p > span {
  font-size: 18px;
  color: var(--ab-gold);
  min-width: 22px;
  text-align: center;
}
body.ashrafi-beauty
  .ab-product-buy
  :is(
    .box,
    .var-box,
    .count-box,
    .price-box,
    .withoutDiscount,
    .woocommerce-variation-add-to-cart,
    .woocommerce-variation-price
  ) {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}
body.ashrafi-beauty .ab-product-buy .box .price {
  margin: 14px 0 18px;
  font-size: 21px;
  line-height: 1.8;
  color: var(--ab-text);
  text-align: right;
}
.ab-product-buy .price del {
  display: block;
  color: var(--ab-muted);
  font-size: 13px;
}
.ab-product-buy .price ins {
  color: var(--ab-text);
  text-decoration: none;
}
body.ashrafi-beauty .ab-product-buy .woocommerce-Price-amount bdi {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: inherit !important;
  color: inherit !important;
  text-align: inherit !important;
  border-radius: 0 !important;
}
.ab-product-buy form.cart {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.ab-product-buy form.variations_form {
  display: block;
}
.ab-product-buy .variations {
  width: 100%;
  border: 0;
  margin: 0 0 14px;
}
.ab-product-buy .variations th,
.ab-product-buy .variations td {
  display: block;
  text-align: right;
  width: 100%;
  padding: 5px 0;
  font-size: 13px;
  border: 0;
}
.ab-product-buy .variations td {
  padding-bottom: 14px;
}
body.ashrafi-beauty .ab-product-buy .box select {
  width: 100% !important;
  height: auto !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 8px 12px !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  background: var(--ab-cream) !important;
  color: var(--ab-text) !important;
}
.ab-product-buy .quantity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  position: static !important;
  width: auto !important;
}
.ab-product-buy .quantity input.qty {
  position: static !important;
  width: 65px !important;
  height: 40px !important;
  padding: 5px !important;
  margin: 0 !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 6px !important;
  background: var(--ab-cream) !important;
  font-size: 14px !important;
  color: var(--ab-text) !important;
}
.ab-product-buy .quantity .plus,
.ab-product-buy .quantity .minus {
  position: static !important;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  background: var(--ab-cream);
  color: var(--ab-purple);
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 45px;
  margin: 13px 0 0 !important;
  padding: 11px 14px !important;
  border: 1px solid var(--ab-gold) !important;
  border-radius: 6px !important;
  background: var(--ab-gold) !important;
  color: var(--ab-text) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  float: none !important;
  transform: none !important;
}
.ab-product-buy .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ab-product-buy .single_variation_wrap {
  margin-top: 10px;
}
.ab-product-buy .stock {
  position: static !important;
  margin: 8px 0 !important;
  padding: 0;
  font-size: 12px;
  color: var(--ab-mauve) !important;
}
.ab-product-buy .reset_variations {
  font-size: 11px;
  color: var(--ab-mauve);
}
.ab-product-favorite {
  border-top: 1px solid var(--ab-line);
  padding-top: 14px;
  margin-top: 20px;
  text-align: center;
}
.ab-favorite-login,
.ab-product-favorite .my_button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ab-purple) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 5px !important;
  margin: 0 !important;
}
.ab-favorite-login > span {
  font-size: 22px;
}
.ab-product-favorite #icon {
  position: static;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  font-size: 20px;
}
.ab-product-content {
  margin-top: 26px;
}
.ab-product-section {
  padding: 25px 28px;
  margin: 0 0 24px;
  min-width: 0;
}
.ab-product-section-title {
  font-size: 20px;
  line-height: 1.8;
  color: var(--ab-purple);
  margin: 0 0 20px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--ab-line);
}
.ab-product-section .ab-section-head {
  margin-bottom: 6px;
}
.ab-product-section .ab-section-head .ab-product-section-title {
  margin: 0;
  border: 0;
  padding: 0;
}
.ab-product-section-body {
  font-size: 14px;
  line-height: 2;
  color: var(--ab-text);
}
.ab-product-section-body h2 {
  font-size: 20px;
  line-height: 1.9;
}
.ab-product-section-body h3 {
  font-size: 17px;
  line-height: 1.9;
}
.ab-product-section-body p,
.ab-product-section-body li {
  font-size: 14px;
  line-height: 2;
}
.ab-product-section table.shop_attributes {
  width: 100%;
  border: 0;
  margin: 0;
  border-collapse: collapse;
}
.ab-product-section table.shop_attributes th,
.ab-product-section table.shop_attributes td {
  padding: 12px 16px;
  border: 0 !important;
  font-size: 13px;
  line-height: 1.9;
  text-align: right;
  color: var(--ab-text);
  background: none;
}
.ab-product-section table.shop_attributes th {
  font-weight: 500;
  width: 25%;
  color: var(--ab-purple);
}
.ab-product-section table.shop_attributes tr:nth-child(odd) {
  background: var(--ab-cream);
}
.ab-product-section table.shop_attributes td p {
  margin: 0;
  font-size: 13px;
}
.ab-product-section #reviews .woocommerce-Reviews-title {
  display: none;
}
.ab-product-section #reviews #comments {
  padding: 0;
  border: 0;
  box-shadow: none;
  width: auto;
  margin: 0;
}
.ab-product-section #review_form_wrapper {
  padding-top: 18px;
}
.ab-product-section #reviews #comment {
  width: 100%;
  border: 1px solid var(--ab-line);
  border-radius: 6px;
  background: var(--ab-cream);
  padding: 12px;
}
.ab-product-section #reviews .comment_container {
  background: var(--ab-cream);
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  padding: 18px;
}
.ab-product-section .ab-product-card {
  box-shadow: var(--ab-shadow);
}
@media (max-width: 1100px) {
  .ab-product-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
  }
  .ab-product-primary {
    padding: 20px;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .ab-product-gallery .singleImage,
  .ab-product-gallery .mySwiper2,
  .ab-product-gallery .mySwiper2 .swiper-slide {
    height: 330px;
  }
  .ab-product-gallery img.main-image,
  .ab-product-gallery img.gallery-img {
    max-height: 310px;
  }
  .ab-product-summary .product_title {
    font-size: 21px;
  }
  .ab-product-buy .price-holder {
    padding: 18px;
  }
}
@media (max-width: 767px) {
  .ab-product-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ab-product-primary {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 22px;
    min-height: 0;
  }
  .ab-product-buy {
    position: static;
  }
  .ab-product-summary .product_title {
    font-size: 20px !important;
  }
  .ab-product-section {
    padding: 18px;
    margin-bottom: 20px;
  }
  .ab-product-section-title {
    font-size: 18px;
  }
  .ab-product-section-body p,
  .ab-product-section-body li {
    font-size: 13px;
  }
  .ab-product-section table.shop_attributes th,
  .ab-product-section table.shop_attributes td {
    padding: 10px;
    font-size: 12px;
  }
  .ab-product-gallery .singleImage,
  .ab-product-gallery .mySwiper2,
  .ab-product-gallery .mySwiper2 .swiper-slide {
    height: 300px;
  }
  .ab-product-gallery img.main-image,
  .ab-product-gallery img.gallery-img {
    max-height: 280px;
  }
  .ab-discount {
    font-size: 12px;
    padding: 5px 8px;
    min-width: 36px;
  }
  body.ashrafi-beauty div.product.ab-single-product {
    margin-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-hero-slides {
    transition: none !important;
  }
}

body.ashrafi-beauty.single-product {
  background: var(--ab-cream);
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button:before,
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button:after {
  content: none !important;
}
.ab-product-dates .sku {
  font-size: 12px;
  margin: 0;
  padding: 0;
  color: var(--ab-text);
}
/* Shared navigation: handle WordPress's page-menu fallback as well as assigned menus. */
body.ashrafi-beauty .desktop-main-menu :is(ul, .ab-desktop-nav) {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.ashrafi-beauty
  .desktop-main-menu
  :is(.ab-desktop-nav, .ab-nav-container > ul, .menu > ul) {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  min-height: 52px;
}
body.ashrafi-beauty .desktop-main-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  float: none;
}
body.ashrafi-beauty .desktop-main-menu li > a {
  display: block;
  padding: 13px 0;
  font-size: 14px;
  line-height: 1.7;
}
body.ashrafi-beauty .desktop-main-menu :is(.sub-menu, .children) {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 220px;
  padding: 12px 18px;
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  box-shadow: var(--ab-shadow);
  z-index: 50;
}
body.ashrafi-beauty .desktop-main-menu li:hover > ul,
body.ashrafi-beauty .desktop-main-menu li:focus-within > ul {
  display: block;
}
body.ashrafi-beauty .desktop-main-menu ul ul ul {
  right: 100%;
  top: 0;
}
/* Own the summary geometry; WooCommerce's div.summary rule otherwise reduces it to 48%. */
body.ashrafi-beauty .ab-single-product .ab-product-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}
body.ashrafi-beauty .ab-single-product .ab-product-primary {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}
body.ashrafi-beauty
  div.product.ab-single-product
  div.ab-product-summary.summary {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body.ashrafi-beauty .ab-single-product .ab-product-summary .product_title {
  font-size: 24px !important;
  line-height: 1.9 !important;
  text-align: right !important;
  letter-spacing: 0;
  word-spacing: normal;
}
body.ashrafi-beauty .ab-single-product .ab-product-gallery {
  width: 100%;
  float: none;
  margin: 0;
}
body.ashrafi-beauty .ab-single-product .ab-product-intro {
  margin: 0 0 24px;
  padding: 25px 28px;
  border: 1px solid var(--ab-line);
}
body.ashrafi-beauty .ab-product-buy .quantity {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  direction: ltr;
  gap: 6px !important;
  width: auto !important;
  float: none !important;
}
body.ashrafi-beauty .ab-product-buy .quantity :is(.plus, .minus) {
  display: grid !important;
  place-items: center !important;
  position: static !important;
  inset: auto !important;
  width: 32px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  transform: none !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 5px !important;
  color: var(--ab-purple) !important;
  background: var(--ab-cream) !important;
  cursor: pointer;
}
body.ashrafi-beauty .ab-product-buy .quantity .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
}
body.ashrafi-beauty .ab-product-buy .price :is(ins, del) {
  display: block !important;
  width: auto !important;
  float: none !important;
  text-align: right !important;
  line-height: 1.8 !important;
}
body.ashrafi-beauty
  .ab-product-section
  #review_form
  input:not([type="checkbox"]):not([type="submit"]) {
  display: block;
  width: 100%;
  max-width: 460px;
  padding: 10px 12px;
  border: 1px solid var(--ab-line);
  border-radius: 6px;
  background: var(--ab-cream);
}
body.ashrafi-beauty .ab-product-section #review_form #submit {
  background: var(--ab-gold);
  color: var(--ab-text);
  border: 0;
  border-radius: 6px;
  padding: 12px 30px;
  width: auto;
  min-width: 160px;
}
/* Catalogue: a real filter column and a full-width, four-card product grid. */
body.ashrafi-beauty.post-type-archive-product,
body.ashrafi-beauty.tax-product_cat,
body.ashrafi-beauty.tax-product_tag {
  background: var(--ab-cream);
}
.ab-shop {
  width: 100%;
  padding: 16px 0 48px;
  min-width: 0;
}
.ab-shop-heading {
  margin-bottom: 24px;
}
.ab-shop-heading h1 {
  font-size: 26px;
  margin: 0 0 12px;
  line-height: 1.8;
}
.ab-shop-heading .term-description {
  font-size: 14px;
  max-width: 900px;
  line-height: 2;
}
.ab-shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  direction: rtl;
}
.ab-shop-main,
.ab-shop-sidebar {
  min-width: 0;
  width: 100%;
}
.ab-shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ab-filter-box,
.ab-shop-sidebar > .widget {
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
  padding: 22px;
}
.ab-filter-box h2,
.ab-shop-sidebar .widget-title {
  font-size: 17px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ab-line);
  line-height: 1.9;
}
.ab-filter-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-filter-box li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ab-text);
}
.ab-filter-box li span {
  color: var(--ab-mauve);
  font-size: 12px;
}
.ab-filter-box li a:hover {
  color: var(--ab-purple);
}
.ab-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty
  .ab-shop-toolbar
  :is(.woocommerce-result-count, .woocommerce-ordering) {
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
  font-size: 13px;
}
.ab-shop-toolbar .woocommerce-ordering select {
  max-width: 260px;
  min-height: 40px;
}
.ab-shop-toolbar > .woocommerce-notices-wrapper:not(:empty) {
  width: 100%;
}
.ab-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.ab-shop-grid .ab-card-image {
  height: 225px;
  padding: 24px 20px 12px;
}
.ab-shop-grid .ab-card-image img {
  height: auto !important;
  width: auto !important;
  max-height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.ab-shop-grid .ab-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 18px;
}
.ab-shop-grid h3 {
  font-size: 14px !important;
  line-height: 1.9 !important;
  min-height: 54px;
  margin: 0 0 16px;
  text-align: right;
  word-spacing: normal;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ab-shop-grid .ab-card-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
}
.ab-shop-grid .ab-card-price {
  min-height: 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 15px;
}
.ab-shop-grid .ab-card-price del {
  font-size: 12px;
}
.ab-shop-grid .ab-card-cart .button {
  display: block !important;
  width: 100% !important;
  text-align: center;
  padding: 10px 7px !important;
  font-size: 12px !important;
  position: static !important;
  margin: 0 !important;
  height: auto !important;
  float: none !important;
}
body.ashrafi-beauty .ab-shop-main .woocommerce-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0 0;
}
.ab-shop-main .woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  border: 0 !important;
  padding: 0;
  list-style: none;
}
.ab-shop-main .woocommerce-pagination li {
  border: 0 !important;
  float: none !important;
}
.ab-shop-main .woocommerce-pagination :is(a, span) {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  color: var(--ab-purple);
}
.ab-shop-main .woocommerce-pagination .current {
  background: var(--ab-purple);
  color: var(--ab-white);
}
@media (max-width: 1200px) {
  .ab-shop-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }
  .ab-shop-grid {
    gap: 14px;
  }
  .ab-shop-grid .ab-card-image {
    height: 190px;
    padding: 22px 14px 12px;
  }
  .ab-shop-grid .ab-card-body {
    padding: 10px 12px 16px;
  }
  body.ashrafi-beauty .ab-single-product .ab-product-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 18px;
  }
  body.ashrafi-beauty .ab-single-product .ab-product-primary {
    gap: 20px;
    padding: 22px;
  }
}
@media (max-width: 980px) {
  .ab-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.ashrafi-beauty .ab-single-product .ab-product-layout {
    grid-template-columns: 1fr;
  }
  body.ashrafi-beauty .ab-product-buy {
    position: static;
  }
  body.ashrafi-beauty .ab-single-product .ab-product-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ab-shop-layout {
    grid-template-columns: 1fr;
  }
  .ab-shop-sidebar {
    display: none;
  }
  .ab-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ab-shop-heading h1 {
    font-size: 22px;
  }
  .ab-shop-toolbar .woocommerce-ordering {
    display: none;
  }
  .ab-shop-toolbar {
    padding: 12px 14px;
  }
  .ab-shop-grid .ab-card-image {
    height: 175px;
  }
  .ab-shop-grid h3 {
    font-size: 12px !important;
    min-height: 46px;
  }
  .ab-shop-grid .ab-card-body {
    padding: 9px 10px 12px;
  }
  .ab-shop-grid .ab-card-price {
    font-size: 13px;
  }
  .ab-shop-grid .ab-card-cart .button {
    font-size: 11px !important;
  }
  body.ashrafi-beauty .ab-single-product .ab-product-primary {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  body.ashrafi-beauty .ab-single-product .ab-product-summary .product_title {
    font-size: 20px !important;
  }
  body.ashrafi-beauty .ab-single-product .ab-product-intro {
    padding: 18px;
  }
  .ab-filter-box {
    margin-bottom: 16px;
  }
}

/* ---- ashrafi-refinements.css ---- */

/* Ashrafi Beauty 2.3: final, scoped layout and surface rules after the base styles. */
:root {
  --ab-line: #e9e0e8;
  --ab-shadow:
    0 6px 18px rgba(75, 49, 95, 0.075), 0 2px 5px rgba(40, 36, 42, 0.035);
  --ab-shadow-hover:
    0 16px 32px rgba(75, 49, 95, 0.14), 0 3px 8px rgba(40, 36, 42, 0.045);
}
body.ashrafi-beauty {
  background: linear-gradient(180deg, #fff 160px, #faf7f2 720px, #fff 1600px);
  background: var(--ab-cream);
}
body.ashrafi-beauty .header-menu {
  position: relative;
  z-index: 40;
  background: #fff;
  box-shadow: 0 5px 16px rgba(75, 49, 95, 0.045);
  border-bottom: 1px solid var(--ab-line);
}
body.ashrafi-beauty .header-search,
body.ashrafi-beauty .ab-search-form {
  border-radius: 12px;
}

/* Navigation must not depend on the old store's hard-coded menu item IDs. */
@media (min-width: 992px) {
  body.ashrafi-beauty .desktop-main-menu {
    width: 100%;
    display: block;
  }
  body.ashrafi-beauty
    .desktop-main-menu
    :is(.ab-desktop-nav, .ab-nav-container > ul, .menu > ul) {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 24px;
    min-height: 54px;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
  }
  body.ashrafi-beauty .desktop-main-menu li {
    position: relative !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  body.ashrafi-beauty .desktop-main-menu li > a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 13px 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    color: var(--ab-text) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    width: auto !important;
    min-height: 0 !important;
  }
  body.ashrafi-beauty .desktop-main-menu li > a::before {
    content: none !important;
  }
  body.ashrafi-beauty .desktop-main-menu li > a::after {
    content: none !important;
  }
  body.ashrafi-beauty .desktop-main-menu li.menu-item-has-children > a::after {
    content: "" !important;
    position: static !important;
    width: 6px;
    height: 6px;
    border: 0 !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) !important;
  }
  body.ashrafi-beauty .desktop-main-menu :is(.sub-menu, .children) {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: 250px !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #fff !important;
    border: 1px solid var(--ab-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--ab-shadow-hover) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    overflow: visible !important;
    z-index: 60 !important;
  }
  body.ashrafi-beauty .desktop-main-menu :is(.sub-menu, .children)::before {
    content: none !important;
  }
  body.ashrafi-beauty .desktop-main-menu li:hover > ul,
  body.ashrafi-beauty .desktop-main-menu li:focus-within > ul {
    display: block !important;
  }
  body.ashrafi-beauty .desktop-main-menu :is(.sub-menu, .children) li > a {
    padding: 9px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }
  body.ashrafi-beauty .desktop-main-menu li > a:hover,
  body.ashrafi-beauty .desktop-main-menu li > a:focus-visible {
    color: var(--ab-purple) !important;
    background: var(--ab-cream) !important;
  }
  body.ashrafi-beauty .desktop-main-menu ul ul :is(.sub-menu, .children) {
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    width: 230px !important;
  }
}

/* Energy comes from distinct surfaces and stronger hierarchy, within the same palette. */
.ab-home .ab-section-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ab-line);
}
.ab-home .ab-section-head h2 {
  position: relative;
  padding-inline-start: 18px;
  font-weight: 700;
}
.ab-home .ab-section-head h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 25px;
  border-radius: 5px;
  background: var(--ab-gold);
}
.ab-hero {
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(75, 49, 95, 0.11);
}
.ab-category-image {
  width: 94px;
  height: 94px;
  border: 4px solid #fff;
  background: linear-gradient(145deg, var(--ab-cream), #efe8f2);
  outline: 1px solid #e8dce9;
  box-shadow: 0 5px 14px rgba(75, 49, 95, 0.1);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.ab-category:hover .ab-category-image {
  transform: translateY(-4px);
  box-shadow: var(--ab-shadow-hover);
}
.ab-category strong {
  font-weight: 600;
  color: var(--ab-purple);
}
.ab-offers {
  position: relative;
  border-radius: 20px;
  border-color: #e5d9e9;
  background:
    radial-gradient(
      ellipse at right top,
      rgba(128, 97, 142, 0.13),
      transparent 65%
    ),
    var(--ab-cream);
  box-shadow: 0 8px 28px rgba(75, 49, 95, 0.075);
}
.ab-offer-intro {
  border-inline-start: 3px solid var(--ab-gold);
  padding-inline-start: 20px;
}
.ab-offer-intro h2 {
  line-height: 1.6;
  font-weight: 700;
}
.ab-rail-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 3px 9px rgba(75, 49, 95, 0.07);
}
.ab-rail-controls button:hover {
  background: var(--ab-purple);
  color: #fff;
  border-color: var(--ab-purple);
}
.ab-tabs {
  gap: 12px;
  padding: 4px 0 16px;
}
.ab-tabs button {
  padding: 10px 18px;
  border: 1px solid var(--ab-line);
  border-radius: 24px;
  background: #fff;
  color: var(--ab-mauve);
}
.ab-tabs button[aria-selected="true"] {
  background: var(--ab-purple);
  color: #fff;
  border-color: var(--ab-purple);
  box-shadow: 0 4px 12px rgba(75, 49, 95, 0.18);
}
.ab-brand {
  border-radius: 14px;
  box-shadow: var(--ab-shadow);
}
.ab-editorial {
  border-radius: 18px;
}
.ab-editorial-mauve {
  background: linear-gradient(135deg, #faf7f2, #eee7f1);
}
.ab-blog-card {
  border-radius: 16px;
}

/* One product card treatment across home and catalogue; no inherited justification. */
body.ashrafi-beauty .ab-product-card {
  border-radius: 16px;
  box-shadow: var(--ab-shadow);
  overflow: hidden;
}
body.ashrafi-beauty .ab-product-card:hover {
  box-shadow: var(--ab-shadow-hover);
}
body.ashrafi-beauty .ab-card-image {
  border-radius: 16px 16px 0 0;
}
body.ashrafi-beauty .ab-card-body {
  padding: 14px 18px 18px;
}
body.ashrafi-beauty .ab-card-body h3 {
  font-size: 14px !important;
  line-height: 1.95 !important;
  text-align: right !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  font-weight: 600;
  min-height: 55px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.ashrafi-beauty .ab-card-bottom {
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
}
body.ashrafi-beauty .ab-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 49px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ab-purple);
}
body.ashrafi-beauty .ab-card-price :is(del, ins) {
  position: static !important;
  width: auto !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-card-price del {
  color: var(--ab-muted);
  font-size: 12px;
}
body.ashrafi-beauty .ab-card-price ins {
  text-decoration: none;
}
body.ashrafi-beauty .ab-card-cart {
  width: 100%;
}
body.ashrafi-beauty .ab-card-cart :is(.button, .added_to_cart) {
  font-weight: 900;
  display: flex !important;
  width: 100% !important;
  min-height: 42px;
  padding: 10px 9px !important;
  border-radius: 9px !important;
  border: 1px solid #e3d6bd !important;
  background: var(--ab-cream) !important;
  color: var(--ab-purple) !important;
  font-size: 12px !important;
  position: static !important;
  float: none !important;
  white-space: normal;
  box-shadow: none !important;
  text-align: center !important;
  line-height: 1.8 !important;
  transform: none !important;
}
body.ashrafi-beauty .ab-card-cart .button:hover {
  background: var(--ab-gold) !important;
  color: var(--ab-text) !important;
}
.ab-discount {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  min-width: 44px;
  text-align: center;
}
body.ashrafi-beauty .ab-shop-heading {
  border-bottom: 1px solid var(--ab-line);
  border: 1px solid var(--ab-line);
  border-radius: 14px;
  padding: 5px;
  padding-right: 18px;
  padding-top: 17px;
}
.ab-filter-box,
.ab-shop-toolbar {
  border-radius: 14px;
}
.ab-shop-grid {
  align-items: stretch;
}

/* Product geometry is independent of old .details-txt and Woo's floating summary. */
body.ashrafi-beauty div.product.ab-single-product {
  clear: both;
  float: none !important;
}
body.ashrafi-beauty .ab-product-surface {
  border-radius: 18px;
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty .ab-single-product .ab-product-primary {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 30px;
}
body.ashrafi-beauty
  div.product.ab-single-product
  div.ab-product-summary.summary {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  position: static !important;
  inset: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: right !important;
  overflow-wrap: anywhere;
}
body.ashrafi-beauty .ab-product-summary .product_title {
  font-weight: 700;
  color: var(--ab-purple) !important;
}
body.ashrafi-beauty .ab-product-summary .property-desc {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
body.ashrafi-beauty .ab-product-summary .property-desc li {
  font-size: 14px;
  line-height: 2;
}
body.ashrafi-beauty .ab-product-gallery :is(.user-card, .img-box) {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}
body.ashrafi-beauty .ab-product-buy .price-holder {
  border-top: 3px solid var(--ab-gold);
  padding: 24px;
  background: linear-gradient(180deg, #faf7f2, #fff 130px);
}
body.ashrafi-beauty .ab-product-buy .count-box form.cart {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
body.ashrafi-beauty .ab-product-buy .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
body.ashrafi-beauty .ab-product-buy .quantity {
  display: inline-flex !important;
  flex-flow: row nowrap !important;
  direction: ltr !important;
  gap: 0 !important;
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  overflow: hidden;
}
body.ashrafi-beauty .ab-product-buy .quantity :is(.plus, .minus) {
  position: static !important;
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 42px !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  background: var(--ab-cream) !important;
  color: var(--ab-purple) !important;
  float: none !important;
  transform: none !important;
  flex: 0 0 38px;
}
body.ashrafi-beauty .ab-product-buy .quantity input.qty {
  width: 48px !important;
  min-width: 0 !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  text-align: center !important;
  flex: 0 0 48px;
}
body.ashrafi-beauty
  .ab-product-buy
  .quantity
  input.qty::-webkit-inner-spin-button {
  appearance: none;
}
body.ashrafi-beauty .ab-product-buy .quantity input.qty {
  appearance: textfield;
  -moz-appearance: textfield;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  background: var(--ab-gold) !important;
  color: var(--ab-text) !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button:hover {
  box-shadow: 0 5px 14px rgba(75, 49, 95, 0.13) !important;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none !important;
}
.ab-product-section-title {
  position: relative;
  padding-inline-start: 17px;
}
.ab-product-section-title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 5px;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: var(--ab-gold);
}
body.ashrafi-beauty
  .ab-product-intro
  .woocommerce-product-details__short-description {
  font-size: 14px;
  text-align: right !important;
  word-spacing: normal;
}
body.ashrafi-beauty .ab-product-section #review_form .comment-form {
  display: grid;
  gap: 14px;
}
body.ashrafi-beauty .ab-product-section #review_form .comment-form p {
  margin: 0;
}
body.ashrafi-beauty .ab-product-section #review_form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
body.ashrafi-beauty
  .ab-product-section
  #review_form
  .comment-form-cookies-consent
  label {
  display: inline;
}
body.ashrafi-beauty .ab-product-section #review_form #comment {
  min-height: 140px;
}
body.ashrafi-beauty .ab-product-section #review_form #submit {
  min-height: 44px;
  padding: 10px 28px !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  background: var(--ab-gold) !important;
  color: var(--ab-text) !important;
  border-radius: 9px !important;
}
body.ashrafi-beauty .ab-product-section p.stars span {
  display: inline-flex;
  direction: ltr;
  gap: 5px;
}
body.ashrafi-beauty .ab-product-section p.stars a {
  position: relative;
  display: block;
  width: 30px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  font-size: 0;
  color: var(--ab-mauve);
  text-align: center;
}
body.ashrafi-beauty .ab-product-section p.stars a::before {
  content: "☆";
  font-family: IRANSansX, Tahoma, sans-serif;
  font-size: 28px;
  line-height: 32px;
}
body.ashrafi-beauty .ab-product-section p.stars.selected a::before,
body.ashrafi-beauty .ab-product-section p.stars:hover a::before {
  content: "★";
  color: var(--ab-gold);
}
body.ashrafi-beauty .ab-product-section p.stars.selected a.active ~ a::before,
body.ashrafi-beauty .ab-product-section p.stars a:hover ~ a::before {
  content: "☆";
  color: var(--ab-mauve);
}
@media (max-width: 1200px) {
  body.ashrafi-beauty .ab-single-product .ab-product-primary {
    gap: 22px;
    padding: 22px;
  }
  body.ashrafi-beauty .ab-card-body {
    padding: 12px 14px 16px;
  }
}
@media (max-width: 980px) {
  body.ashrafi-beauty .ab-single-product .ab-product-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ab-category-image {
    width: 76px;
    height: 76px;
  }
  .ab-hero {
    border-radius: 14px;
  }
  .ab-offer-intro {
    padding-inline-start: 12px;
  }
  .ab-offers {
    border-radius: 16px;
  }
  .ab-tabs button {
    padding: 8px 14px;
  }
  body.ashrafi-beauty .ab-card-body {
    padding: 10px 11px 13px;
  }
  body.ashrafi-beauty .ab-card-body h3 {
    font-size: 12px !important;
    min-height: 47px;
  }
  body.ashrafi-beauty .ab-card-price {
    font-size: 14px;
    min-height: 43px;
  }
  body.ashrafi-beauty .ab-card-cart .button {
    font-size: 11px !important;
    min-height: 39px;
    padding: 8px 5px !important;
  }
  .ab-discount {
    font-size: 12px;
    min-width: 37px;
    padding: 5px 7px;
  }
  body.ashrafi-beauty .ab-single-product .ab-product-primary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px;
  }
  body.ashrafi-beauty .ab-product-buy .price-holder {
    padding: 20px;
  }
  body.ashrafi-beauty .ab-product-surface {
    border-radius: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-category-image,
  .ab-product-card {
    transition: none !important;
  }
  .ab-category:hover .ab-category-image,
  .ab-product-card:hover {
    transform: none !important;
  }
}

/* ---- ashrafi-interface.css ---- */

/* Ashrafi 2.4 — structural interface rules, loaded after the shared design. */
body.ashrafi-beauty .ab-site-header {
  position: relative;
  z-index: 50;
  background: #fff;
  isolation: isolate;
}
body.ashrafi-beauty .ab-site-header .head-body {
  height: auto !important;
  width: min(1440px, calc(100% - 80px)) !important;
  max-width: 1440px !important;
  margin: auto !important;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-site-header .bym-sticky-top {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent;
  box-shadow: none !important;
  border: 0 !important;
}
body.ashrafi-beauty .ab-site-header .head-box {
  padding: 22px 0 !important;
  margin: 0 !important;
}
.ab-header-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}
.ab-header-row > * {
  min-width: 0;
}
body.ashrafi-beauty .ab-header-logo .main-logo {
  display: block;
  width: 180px;
  height: 55px;
  object-fit: contain;
  margin: 0 !important;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.ashrafi-beauty .ab-header-actions .header-btn {
  margin: 0;
  padding: 0;
  display: block;
}
body.ashrafi-beauty .ab-header-actions .header-login-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  height: auto;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid var(--ab-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transition: background 0.2s;
}
body.ashrafi-beauty .ab-header-actions .header-login-btn > a,
body.ashrafi-beauty .ab-header-actions .lgn-btn > a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  line-height: 1.6;
  white-space: nowrap;
  font-size: 13px;
  color: var(--ab-purple);
}
body.ashrafi-beauty .ab-header-actions .header-login-btn:hover {
  background: var(--ab-cream);
  box-shadow: none;
}
body.ashrafi-beauty .ab-header-actions .header-login-btn svg {
  width: 23px !important;
  height: 23px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: var(--ab-purple);
  stroke: currentColor;
}
body.ashrafi-beauty .ab-header-actions .minicart-btn {
  gap: 9px;
  line-height: 1.6;
  color: var(--ab-purple);
  font-size: 13px;
}
body.ashrafi-beauty .ab-header-actions .cart-number {
  position: static !important;
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-inline-start: 4px;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
  background: var(--ab-gold);
  color: var(--ab-text);
  font-style: normal;
}
body.ashrafi-beauty .ab-site-header .header-menu {
  padding: 0 !important;
  border-top: 1px solid var(--ab-line) !important;
  border-bottom: 1px solid var(--ab-line);
}
body.ashrafi-beauty .ab-site-header .header-menu .head-box {
  padding: 0 !important;
}
body.ashrafi-beauty .ab-site-header .header-menu .row {
  margin: 0;
}
body.ashrafi-beauty .ab-site-header .header-menu .menuBox {
  width: 100%;
  padding: 0 !important;
}
body.ashrafi-beauty .header-search {
  margin: 0;
  padding: 0;
}
body.ashrafi-beauty .header-search :is(.ab-search-form, .dgwt-wcas-sf-wrapp) {
  border: 1px solid var(--ab-line) !important;
  border-radius: 12px !important;
  background: var(--ab-cream) !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
body.ashrafi-beauty
  .header-search
  :is(.ab-search-form, .dgwt-wcas-sf-wrapp):focus-within {
  border-color: var(--ab-mauve) !important;
  box-shadow: 0 0 0 3px rgba(128, 97, 142, 0.1) !important;
}
body.ashrafi-beauty .header-search input[type="search"],
body.ashrafi-beauty .header-search input[type="search"]:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  min-height: 48px;
}
body.ashrafi-beauty .header-search .ab-search-form button {
  display: grid;
  place-items: center;
  padding: 0 8px;
}
/* Both the location and glyphs are flipped; handlers keep previous/next semantics. */
.ab-hero .ab-slide-prev {
  left: 18px !important;
  right: auto !important;
}
.ab-hero .ab-slide-next {
  right: 18px !important;
  left: auto !important;
}
.ab-rail-controls {
  flex-direction: row-reverse;
}
.ab-slide-bottom {
  justify-content: center;
}
.ab-banner-image {
  aspect-ratio: 2.15/1;
  border-radius: 18px;
}
.ab-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.ashrafi-beauty .ab-card-cart .added_to_cart {
  display: none !important;
}
body.ashrafi-beauty .ab-card-cart .button.added::after {
  content: none !important;
}
body.ashrafi-beauty .ab-card-cart .button:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
/* Click-pinned bag panel; all content is independent of the legacy widget layout. */
body.ashrafi-beauty .ab-header-actions .header-login-btn {
  width: auto !important;
  min-width: 0 !important;
  height: 50px !important;
  transform: none !important;
}
body.ashrafi-beauty .ab-header-actions .header-login-btn span {
  color: var(--ab-purple) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  line-height: 1.6 !important;
}
body.ashrafi-beauty .ab-header-actions .minicart-btn {
  padding: 0 !important;
  cursor: default;
}
body.ashrafi-beauty .ab-header-actions .user-menu {
  width: auto !important;
  min-width: 0 !important;
}
body.ashrafi-beauty .ab-header-actions svg {
  flex: 0 0 23px !important;
}
.ab-cart-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ab-purple);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  border-radius: 12px;
  white-space: nowrap;
}
.ab-cart-toggle:focus-visible {
  outline: 2px solid var(--ab-mauve);
  outline-offset: 3px;
}
body.ashrafi-beauty .cart-dropdown {
  position: absolute !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
  width: 390px !important;
  max-width: calc(100vw - 32px);
  padding: 0 !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 24px 64px rgba(75, 49, 95, 0.18) !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: auto !important;
  overflow: visible !important;
  z-index: 1000;
  cursor: default;
}
body.ashrafi-beauty .cart-dropdown::after {
  content: none !important;
}
body.ashrafi-beauty .minicart-btn.ab-cart-open .cart-dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.ab-mini-cart {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}
.ab-mini-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(115deg, #faf7f2, #f1ebf4);
  border-bottom: 1px solid var(--ab-line);
}
.ab-mini-heading > div {
  flex: 1;
  display: grid;
  gap: 5px;
}
.ab-mini-heading small {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--ab-mauve);
}
.ab-mini-heading strong {
  font-size: 17px;
  color: var(--ab-purple);
}
body.ashrafi-beauty .ab-mini-heading > span {
  font-size: 11px;
  color: var(--ab-mauve) !important;
  white-space: nowrap;
}
.ab-mini-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--ab-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ab-purple);
  font-size: 20px;
  cursor: pointer;
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart {
  padding: 0 20px !important;
  margin: 0 !important;
  max-height: 320px !important;
  overflow-y: auto;
  list-style: none;
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart-item {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  padding: 18px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ab-line) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ab-mini-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-left: 24px;
}
body.ashrafi-beauty .cart-dropdown .ab-mini-image {
  display: grid !important;
  place-items: center;
  width: 74px !important;
  height: 82px !important;
  min-height: 0 !important;
  padding: 6px !important;
  margin: 0 !important;
  border: 1px solid var(--ab-line);
  border-radius: 13px;
  background: #fff;
}
body.ashrafi-beauty .cart-dropdown .ab-mini-image img {
  position: static !important;
  float: none !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
}
.ab-mini-details {
  min-width: 0;
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--ab-text);
  line-height: 1.8;
}
body.ashrafi-beauty .cart-dropdown .ab-mini-details > a {
  position: static !important;
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: var(--ab-text) !important;
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart-item .quantity {
  position: static !important;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  color: var(--ab-mauve) !important;
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart-item .remove {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: 18px !important;
  width: 22px !important;
  height: 22px !important;
  line-height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--ab-cream) !important;
  color: var(--ab-mauve) !important;
  border-radius: 50% !important;
  font-size: 18px !important;
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px !important;
  margin: 0 !important;
  font-size: 13px;
  border: 0 !important;
  background: var(--ab-cream) !important;
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart__buttons {
  display: grid !important;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px !important;
  padding: 0 20px 20px !important;
  margin: 0 !important;
  background: var(--ab-cream);
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart__buttons .button {
  width: auto !important;
  margin: 0 !important;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px !important;
  padding: 9px 8px !important;
  font-size: 12px !important;
  background: #fff !important;
  color: var(--ab-purple) !important;
  border: 1px solid var(--ab-line) !important;
  box-shadow: none !important;
}
body.ashrafi-beauty .cart-dropdown .woocommerce-mini-cart__buttons .checkout {
  background: var(--ab-purple) !important;
  color: #fff !important;
  border-color: var(--ab-purple) !important;
}
body.ashrafi-beauty .cart-dropdown .ashrafi-empty-cart {
  position: static !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 36px 24px !important;
  border: 0;
  background: #fff;
}
body.ashrafi-beauty .cart-dropdown .ashrafi-empty-cart__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ab-cream);
  color: var(--ab-purple);
  display: grid;
  place-items: center;
}
body.ashrafi-beauty .cart-dropdown .ashrafi-empty-cart__content {
  display: grid;
  gap: 8px;
}
body.ashrafi-beauty .cart-dropdown .ashrafi-empty-cart__content span {
  font-size: 12px;
  color: var(--ab-mauve) !important;
}
/* Fresh toast, shared by all add-to-cart entry points. */
.ab-toast-stack {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100000;
  display: grid;
  gap: 12px;
  width: 370px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}
.ab-toast {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-inline-start: 4px solid var(--ab-gold);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 15px 45px rgba(75, 49, 95, 0.19);
  pointer-events: auto;
  animation: ab-toast-in 0.25s ease-out;
}
.ab-toast-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--ab-cream);
  color: var(--ab-purple);
  font-size: 20px;
}
.ab-toast-body strong {
  font-size: 13px;
  color: var(--ab-purple);
  line-height: 1.8;
  display: block;
}
.ab-toast-body p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--ab-muted);
  margin: 5px 0 8px;
}
.ab-toast-body a {
  font-size: 12px;
  color: var(--ab-purple);
  border-bottom: 1px solid var(--ab-gold);
}
.ab-toast-close {
  border: 0;
  background: transparent;
  color: var(--ab-muted);
  font-size: 22px;
  line-height: 1;
  padding: 0;
}
.ab-toast--error {
  border-inline-start-color: var(--ab-purple);
}
@keyframes ab-toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Footer has its own grid, with no Bootstrap widths or legacy footer floats. */
.ab-footer {
  margin-top: 54px;
  background: linear-gradient(135deg, #faf7f2, #eee8f1);
  border-top: 1px solid var(--ab-line);
  color: var(--ab-text);
}
.ab-footer-inner {
  width: min(1440px, calc(100% - 80px));
  margin: auto;
}
.ab-footer-top {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(75, 49, 95, 0.1);
}
.ab-footer-top img {
  display: block;
  object-fit: contain;
}
.ab-footer-top p {
  margin: 0;
  color: var(--ab-mauve);
  font-size: 14px;
}
.ab-back-top {
  margin-inline-start: auto;
  color: var(--ab-purple);
  font-size: 12px;
}
.ab-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding: 36px 0;
}
.ab-footer-grid h2 {
  font-size: 16px;
  margin: 0 0 16px;
  font-weight: 600;
}
.ab-footer-grid p,
.ab-footer-grid a {
  font-size: 13px;
  line-height: 2;
  color: var(--ab-muted);
}
.ab-footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}
.ab-footer-grid a:hover {
  color: var(--ab-purple);
}
.ab-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ab-footer-socials a {
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 11px;
}
.ab-footer-contact .ab-footer-phone {
  display: inline-block;
  direction: ltr;
  font-size: 20px;
  color: var(--ab-purple);
  margin-bottom: 12px;
  font-weight: 600;
}
.ab-footer-trust {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ab-footer-trust img {
  max-width: 90px;
  max-height: 100px;
  object-fit: contain;
}
.ab-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(75, 49, 95, 0.1);
  font-size: 11px;
  color: var(--ab-muted);
}
.ab-footer-bottom a {
  color: var(--ab-purple);
}
/* Cart and checkout share a clear path but keep native transaction handling. */
.ab-flow-heading {
  padding: 26px 0 24px;
}
.ab-eyebrow {
  font-size: 12px;
  color: var(--ab-mauve);
}
.ab-flow-heading h1 {
  font-size: 29px !important;
  margin: 5px 0 20px;
  line-height: 1.7;
}
.ab-purchase-steps {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.ab-purchase-steps li {
  font-size: 12px;
  color: var(--ab-muted);
  padding: 8px 15px;
  border-radius: 30px;
  border: 1px solid var(--ab-line);
  background: #fff;
}
.ab-purchase-steps li.is-current {
  color: #fff;
  background: var(--ab-purple);
  border-color: var(--ab-purple);
}
.ab-bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
body.ashrafi-beauty .ab-bag-form {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-bag-table {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
}
body.ashrafi-beauty .ab-bag-table tbody tr {
  background: #fff;
}
body.ashrafi-beauty .ab-bag-table td {
  padding: 20px 14px !important;
  border: 0 !important;
  border-block: 1px solid var(--ab-line) !important;
  vertical-align: middle;
}
body.ashrafi-beauty .ab-bag-table td:first-child {
  border-right: 1px solid var(--ab-line) !important;
  border-radius: 0 16px 16px 0;
}
body.ashrafi-beauty .ab-bag-table td:last-child {
  border-left: 1px solid var(--ab-line) !important;
  border-radius: 16px 0 0 16px;
}
.ab-bag-product {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ab-bag-image {
  flex: 0 0 88px;
  width: 88px;
  height: 100px;
  padding: 7px;
  border-radius: 12px;
  background: var(--ab-cream);
}
body.ashrafi-beauty .ab-bag-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  margin: 0 !important;
}
.ab-bag-product h2 {
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 7px;
}
.ab-bag-product h2 a {
  color: var(--ab-purple);
}
.ab-bag-unit-price {
  font-size: 12px;
  color: var(--ab-text);
}
.ab-bag-unit-price > span:last-child {
  color: var(--ab-muted);
  font-size: 10px;
}
body.ashrafi-beauty .ab-bag-table .product-subtotal {
  font-size: 14px;
  font-weight: 700;
  color: var(--ab-purple);
  min-width: 130px;
}
body.ashrafi-beauty .ab-bag-table .product-remove {
  width: 40px;
  padding: 8px !important;
}
body.ashrafi-beauty .ab-bag-table .remove {
  position: static !important;
  display: grid !important;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--ab-cream) !important;
  color: var(--ab-mauve) !important;
  font-size: 20px;
}
body.ashrafi-beauty .ab-bag-table .quantity {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  direction: ltr;
  width: auto !important;
  gap: 4px;
}
body.ashrafi-beauty .ab-bag-table .quantity .qty {
  width: 44px !important;
  height: 38px !important;
  margin: 0 !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 7px;
  text-align: center;
}
body.ashrafi-beauty .ab-bag-table .quantity :is(.plus, .minus) {
  position: static !important;
  margin: 0 !important;
  width: 25px;
  height: 36px;
  display: grid !important;
  place-items: center;
  background: var(--ab-cream);
  font-size: 20px;
  color: var(--ab-purple);
}
.ab-bag-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
body.ashrafi-beauty .ab-bag-actions .coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  float: none !important;
  width: auto !important;
}
body.ashrafi-beauty .ab-bag-actions #coupon_code {
  width: 180px !important;
  height: 44px !important;
  padding: 8px 12px !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 9px !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-bag-actions .button {
  min-height: 42px;
  position: static !important;
  width: auto !important;
  border-radius: 9px !important;
  font-size: 12px !important;
}
.ab-continue-shopping {
  display: inline-block;
  margin: 16px 0;
  color: var(--ab-purple);
  font-size: 13px;
}
.ab-bag-summary {
  margin-top: 12px;
  min-width: 0;
}
body.ashrafi-beauty .ab-bag-summary .cart-collaterals {
  width: 100% !important;
  float: none !important;
  display: block !important;
}
body.ashrafi-beauty .ab-bag-summary .cart_totals {
  width: 100% !important;
  float: none !important;
  padding: 24px !important;
  border: 1px solid var(--ab-line) !important;
  border-top: 3px solid var(--ab-gold) !important;
  border-radius: 18px !important;
  box-shadow: var(--ab-shadow) !important;
}
body.ashrafi-beauty .ab-bag-summary .cart_totals h2 {
  font-size: 19px !important;
  color: var(--ab-purple) !important;
  margin: 0 0 20px !important;
}
body.ashrafi-beauty .ab-bag-summary .shop_table {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  width: 100%;
}
body.ashrafi-beauty .ab-bag-summary .shop_table :is(th, td) {
  padding: 12px 0 !important;
  font-size: 13px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ab-line) !important;
}
body.ashrafi-beauty .ab-bag-summary .checkout-button {
  width: 100% !important;
  border-radius: 10px !important;
  padding: 15px !important;
  display: block;
  text-align: center;
}
body.ashrafi-beauty form.ab-checkout {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.ab-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 28px;
  align-items: start;
}
.ab-checkout-details,
.ab-checkout-summary {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--ab-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ab-shadow);
}
.ab-checkout-summary {
  border-top: 3px solid var(--ab-gold);
}
body.ashrafi-beauty .ab-checkout #customer_details {
  width: 100% !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-checkout #customer_details > .col-1,
body.ashrafi-beauty .ab-checkout #customer_details > .col-2 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-checkout #order_review_heading {
  margin: 0 0 20px !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  font-size: 20px !important;
}
body.ashrafi-beauty .ab-checkout #order_review {
  display: block !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body.ashrafi-beauty .ab-checkout h3 {
  font-size: 18px;
  color: var(--ab-purple);
  margin-bottom: 20px;
}
body.ashrafi-beauty .ab-checkout .form-row {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 0 17px !important;
}
body.ashrafi-beauty .ab-checkout .form-row label {
  font-size: 13px;
  color: var(--ab-text);
}
body.ashrafi-beauty .ab-checkout .form-row input.input-text,
body.ashrafi-beauty .ab-checkout .form-row textarea {
  border: 1px solid var(--ab-line) !important;
  border-radius: 10px !important;
  background: var(--ab-cream) !important;
  min-height: 46px;
  padding: 10px 12px !important;
}
body.ashrafi-beauty .ab-checkout .woocommerce-checkout-review-order-table {
  width: 100% !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body.ashrafi-beauty
  .ab-checkout
  .woocommerce-checkout-review-order-table
  :is(th, td) {
  font-size: 13px;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ab-line) !important;
}
body.ashrafi-beauty .ab-checkout #payment {
  width: 100% !important;
  float: none !important;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  margin-top: 20px;
}
body.ashrafi-beauty .ab-checkout #payment .wc_payment_methods {
  list-style: none;
  padding: 0 !important;
  border: 0 !important;
}
body.ashrafi-beauty .ab-checkout #payment .wc_payment_method {
  background: var(--ab-cream);
  border: 1px solid var(--ab-line);
  border-radius: 12px;
  padding: 13px;
  margin-bottom: 10px;
  font-size: 13px;
}
body.ashrafi-beauty .ab-checkout #payment .payment_box {
  padding: 12px 0 !important;
  font-size: 12px !important;
  background: transparent !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-checkout #payment .payment_box::before {
  content: none;
}
body.ashrafi-beauty .ab-checkout #place_order {
  position: static !important;
  width: 100% !important;
  float: none !important;
  margin: 15px 0 0 !important;
  border-radius: 10px !important;
  padding: 15px !important;
  background: var(--ab-purple) !important;
  color: #fff !important;
  font-size: 14px;
}
body.ashrafi-beauty .ab-pagination ul.page-numbers {
  display: flex !important;
  direction: ltr;
  flex-wrap: wrap;
  gap: 8px;
  border: 0 !important;
  margin: 0 !important;
  list-style: none;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-pagination .page-numbers li {
  border: 0 !important;
  margin: 0 !important;
  float: none !important;
}
body.ashrafi-beauty .ab-pagination .page-numbers li > a,
body.ashrafi-beauty .ab-pagination .page-numbers li > span {
  position: static !important;
  display: grid !important;
  place-items: center;
  min-width: 40px;
  height: 40px;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ab-purple);
}
body.ashrafi-beauty .ab-pagination .page-numbers .current {
  background: var(--ab-purple) !important;
  color: #fff !important;
}
body.ashrafi-beauty .ab-pagination .page-numbers .dots {
  border: 0;
  background: transparent;
}
@media (max-width: 1200px) {
  .ab-header-row {
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 18px;
  }
  .ab-footer-grid {
    gap: 28px;
  }
  .ab-bag-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .ab-checkout-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}
@media (max-width: 980px) {
  .ab-bag-layout,
  .ab-checkout-layout {
    grid-template-columns: 1fr;
  }
  .ab-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-bag-summary {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .ab-footer-inner {
    width: calc(100% - 28px);
  }
  .ab-footer-top {
    gap: 16px;
    flex-wrap: wrap;
  }
  .ab-footer-top img {
    width: 140px;
    height: auto;
  }
  .ab-footer-top p {
    font-size: 12px;
  }
  .ab-footer-grid {
    gap: 28px 20px;
  }
  .ab-footer-about {
    grid-column: 1/-1;
  }
  .ab-footer-contact {
    grid-column: 1/-1;
  }
  .ab-footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
  .ab-toast-stack {
    left: 16px;
    bottom: 16px;
  }
  .ab-toast {
    padding: 14px;
  }
  .ab-flow-heading h1 {
    font-size: 24px !important;
  }
  .ab-purchase-steps {
    gap: 6px;
  }
  .ab-purchase-steps li {
    font-size: 10px;
    padding: 7px 10px;
  }
  .ab-checkout-details,
  .ab-checkout-summary {
    padding: 18px;
  }
  .ab-bag-table tbody tr.cart_item {
    display: grid !important;
    grid-template-columns: 1fr auto;
    border: 1px solid var(--ab-line);
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 16px;
  }
  .ab-bag-table tbody td {
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 8px !important;
  }
  .ab-bag-table .product-name {
    grid-column: 1/-1;
  }
  .ab-bag-table .product-remove {
    grid-column: 2;
    grid-row: 2;
  }
  .ab-bag-table .product-subtotal {
    grid-column: 1;
  }
  .ab-bag-table td::before {
    display: none !important;
  }
  .ab-bag-product {
    gap: 12px;
  }
  .ab-bag-image {
    width: 68px;
    height: 82px;
    flex-basis: 68px;
  }
  .ab-bag-product h2 {
    font-size: 12px;
  }
  .ab-bag-actions {
    align-items: stretch;
  }
  .ab-banner-image {
    aspect-ratio: 1.85/1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-toast {
    animation: none;
  }
}
/* Also style WooCommerce Blocks when the existing cart/checkout pages use blocks. */
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__main {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items {
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items__row {
  background: #fff !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items__row td {
  border-block: 1px solid var(--ab-line) !important;
  padding: 20px 16px !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items__row
  td:first-child {
  border-right: 1px solid var(--ab-line) !important;
  border-radius: 0 16px 16px 0;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items__row
  td:last-child {
  border-left: 1px solid var(--ab-line) !important;
  border-radius: 16px 0 0 16px;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__sidebar {
  background: #fff;
  border: 1px solid var(--ab-line) !important;
  border-top: 3px solid var(--ab-gold) !important;
  border-radius: 18px !important;
  box-shadow: var(--ab-shadow) !important;
  padding: 22px !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__submit-button {
  background: var(--ab-purple) !important;
  color: #fff !important;
  border-radius: 12px !important;
  border: 0 !important;
}
body.ashrafi-beauty .wp-block-woocommerce-checkout .wc-block-checkout__main,
body.ashrafi-beauty .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
  border-top: 3px solid var(--ab-gold);
}
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-text-input
  input {
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  background: var(--ab-cream);
}
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-checkout-place-order-button {
  background: var(--ab-purple);
  color: #fff;
  border-radius: 12px;
}
@media (max-width: 767px) {
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items__row {
    border: 1px solid var(--ab-line) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items__row td {
    border: 0 !important;
    padding: 8px !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-checkout .wc-block-checkout__main,
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-checkout__sidebar {
    padding: 18px;
  }
}
body.ashrafi-beauty .ab-header-actions .lgn-btn {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
body.ashrafi-beauty .cart-dropdown::before {
  content: "" !important;
  position: absolute !important;
  top: -14px !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  height: 14px !important;
  background: transparent !important;
  border: 0 !important;
  transform: none !important;
  box-shadow: none !important;
}
.ab-footer-grid > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Product image studio: one image surface and separate, evenly spaced thumbnails. */
body.ashrafi-beauty .ab-gallery-card {
  padding: 18px !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, #faf7f2, #f2edf5) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.ab-gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 2px 14px;
  font-size: 12px;
  color: var(--ab-purple);
}
.ab-gallery-count {
  font-size: 11px;
  direction: ltr;
  color: var(--ab-mauve);
  font-variant-numeric: tabular-nums;
}
body.ashrafi-beauty .ab-gallery-card .img-box {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.ashrafi-beauty .ab-gallery-card .singleImage,
body.ashrafi-beauty .ab-gallery-card .mySwiper2 {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid rgba(212, 185, 130, 0.25);
  border-radius: 17px;
  overflow: hidden;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-gallery-card .mySwiper2 .swiper-slide {
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.ashrafi-beauty .ab-gallery-card .mySwiper2 .swiper-slide > div {
  width: 100%;
  height: 100%;
}
body.ashrafi-beauty .ab-gallery-card .mySwiper2 a,
body.ashrafi-beauty .ab-gallery-card .singleImage a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 22px !important;
  cursor: zoom-in;
}
body.ashrafi-beauty .ab-gallery-card img.main-image,
body.ashrafi-beauty .ab-gallery-card img.gallery-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-gallery-card .mySwiper {
  height: 80px !important;
  margin: 14px 0 0 !important;
  padding: 2px !important;
  border: 0 !important;
  background: transparent !important;
}
body.ashrafi-beauty .ab-gallery-card .thumbnail-box {
  width: 72px !important;
  height: 72px !important;
  margin-left: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.ab-gallery-thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 7px;
  border: 1px solid var(--ab-line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
body.ashrafi-beauty .ab-gallery-card .thumbnail-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
}
.ab-gallery-thumb:hover,
.swiper-slide-thumb-active .ab-gallery-thumb {
  border-color: var(--ab-gold);
  box-shadow: 0 0 0 2px rgba(212, 185, 130, 0.2);
}
.ab-gallery-thumb:focus-visible {
  outline: 2px solid var(--ab-purple);
  outline-offset: 2px;
}
body.ashrafi-beauty .ab-gallery-card .swiper-button-next,
body.ashrafi-beauty .ab-gallery-card .swiper-button-prev {
  width: 32px !important;
  height: 32px !important;
  margin-top: -16px !important;
  border: 1px solid var(--ab-line) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 3px 12px rgba(75, 49, 95, 0.07);
  color: var(--ab-purple) !important;
}
.ab-gallery-hint {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 10px;
  color: var(--ab-mauve);
}
@media (max-width: 767px) {
  body.ashrafi-beauty .ab-gallery-card {
    padding: 12px !important;
    border-radius: 18px !important;
  }
  body.ashrafi-beauty .ab-gallery-card .singleImage,
  body.ashrafi-beauty .ab-gallery-card .mySwiper2 {
    max-height: 420px;
  }
  body.ashrafi-beauty .ab-gallery-card .mySwiper2 a,
  body.ashrafi-beauty .ab-gallery-card .singleImage a {
    padding: 18px !important;
  }
}

body.ashrafi-beauty
  .ab-header-search
  :is(.ab-search-form, .dgwt-wcas-sf-wrapp) {
  height: 50px !important;
  min-height: 50px !important;
  padding-block: 0 !important;
  box-sizing: border-box;
}
body.ashrafi-beauty .ab-header-search input[type="search"] {
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box;
}

/* ---- ashrafi-customizations.css ---- */

/* Ashrafi 2.6: only the requested surfaces. */
body.ashrafi-beauty .ab-home .ab-categories {
  gap: 24px;
  padding: 58px 0 62px;
  scroll-padding-inline: 0;
}
body.ashrafi-beauty .ab-home .ab-category {
  flex: 0 0 calc((100% - 168px) / 7.5);
  min-width: 0;
}
body.ashrafi-beauty .ab-home .ab-category-image {
  width: 132px;
  height: 132px;
  background: linear-gradient(145deg, #faf7f2, #eee6f1);
  border: 1px solid rgba(128, 97, 142, 0.24);
  box-shadow: 0 8px 22px rgba(128, 97, 142, 0.13);
  margin-bottom: 16px;
  padding: 3px;
}
body.ashrafi-beauty .ab-home .ab-category-image img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
}
body.ashrafi-beauty .ab-home .ab-category strong {
  color: var(--ab-mauve);
  font-size: 14px;
}
body.ashrafi-beauty .ab-home .ab-category:hover strong {
  color: var(--ab-purple);
}
.ab-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
/* Footer: unchanged introduction; guide, contact/social and eNAMAD columns. */
body.ashrafi-beauty .ab-footer {
  background: var(--ab-purple);
  color: var(--ab-cream);
  border: 0;
}
body.ashrafi-beauty .ab-footer-top {
  border-bottom: 1px solid rgba(212, 185, 130, 0.25);
  color: var(--ab-gold);
}
body.ashrafi-beauty .ab-footer-top > a:first-child {
  padding: 8px 16px;
  background: var(--ab-cream);
  border-radius: 14px;
}
body.ashrafi-beauty .ab-footer-top p {
  color: var(--ab-gold);
}
body.ashrafi-beauty .ab-footer a {
  color: var(--ab-cream);
}
body.ashrafi-beauty .ab-footer a:hover {
  color: var(--ab-gold);
}
body.ashrafi-beauty .ab-footer-grid {
  grid-template-columns: 1.35fr 1fr 1.3fr 0.85fr;
  gap: 36px;
  align-items: start;
}
body.ashrafi-beauty .ab-footer-grid h2 {
  color: var(--ab-gold);
  font-size: 17px;
}
body.ashrafi-beauty .ab-footer-grid p {
  color: #eee7f2;
}
body.ashrafi-beauty .ab-footer-contact {
  padding: 20px;
  background: rgba(128, 97, 142, 0.4);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.ashrafi-beauty .ab-footer-socials {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
body.ashrafi-beauty .ab-footer-socials a {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
}
body.ashrafi-beauty .ab-footer-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background: var(--ab-cream);
  border: 1px solid var(--ab-gold);
  border-radius: 16px;
  padding: 18px;
  margin: 0;
}
body.ashrafi-beauty .ab-footer-trust:empty {
  background: rgba(255, 255, 255, 0.06);
  border-style: dashed;
}
body.ashrafi-beauty .ab-footer-trust img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}
body.ashrafi-beauty .ab-footer-bottom {
  border-color: rgba(212, 185, 130, 0.22);
  color: #ded0e7;
}
/* RTL reading order: previous on the right, increasing page numbers to the left. */
body.ashrafi-beauty .ab-pagination {
  direction: rtl !important;
  padding: 30px 0 !important;
}
body.ashrafi-beauty .ab-pagination ul.page-numbers {
  display: flex !important;
  flex-direction: row !important;
  direction: rtl !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px !important;
  padding: 10px !important;
  margin: 0 auto !important;
  border: 0 !important;
  background: transparent;
}
body.ashrafi-beauty .ab-pagination ul.page-numbers li {
  float: none !important;
  display: block !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-pagination li > a,
body.ashrafi-beauty .ab-pagination li > span {
  display: grid !important;
  place-items: center;
  min-width: 44px;
  height: 44px !important;
  padding: 0 13px !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--ab-mauve) !important;
  font-size: 14px !important;
  box-shadow: 0 3px 12px rgba(128, 97, 142, 0.07);
}
body.ashrafi-beauty .ab-pagination li > span.current {
  background: var(--ab-mauve) !important;
  color: #fff !important;
  border-color: var(--ab-mauve) !important;
  box-shadow: 0 6px 16px rgba(128, 97, 142, 0.22);
}
body.ashrafi-beauty .ab-pagination li > a:hover {
  background: var(--ab-cream) !important;
  border-color: var(--ab-mauve) !important;
  color: var(--ab-purple) !important;
}
body.ashrafi-beauty .ab-pagination .dots {
  border: 0 !important;
  box-shadow: none;
  background: transparent !important;
}
/* Prevent broad legacy button rules from blanking icons in header surfaces. */
body.ashrafi-beauty .ab-site-header .ab-cart-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  min-height: 48px !important;
  height: 48px !important;
  color: var(--ab-purple) !important;
  font-weight: 500 !important;
}
body.ashrafi-beauty .ab-site-header .ab-cart-toggle svg {
  stroke: var(--ab-purple) !important;
  fill: none !important;
  display: block !important;
}
body.ashrafi-beauty .ab-site-header .ab-cart-toggle > span {
  color: var(--ab-purple) !important;
}
body.ashrafi-beauty .ab-site-header .user-menu-dropdown a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
body.ashrafi-beauty .ab-site-header .user-menu-dropdown .ab-icon {
  width: 21px !important;
  height: 21px !important;
  flex: 0 0 21px !important;
  stroke: var(--ab-mauve) !important;
}
/* Product overview and independent metadata. */
body.ashrafi-beauty.single-product .woocommerce-breadcrumb {
  margin: 0 !important;
  padding: 24px 0 !important;
  font-size: 12px !important;
  line-height: 1.9 !important;
}
body.ashrafi-beauty.single-product div.product.ab-single-product {
  margin-top: 0 !important;
}
body.ashrafi-beauty .ab-product-dates {
  display: grid;
  gap: 8px;
  margin: 16px 0 0 !important;
  padding: 14px 16px;
  background: #f5f0f7;
  border: 1px solid var(--ab-line);
  border-radius: 12px;
}
body.ashrafi-beauty .ab-product-dates > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border: 0;
  padding: 0;
}
body.ashrafi-beauty .ab-product-dates dt {
  color: var(--ab-mauve);
  font-weight: 500;
  min-width: 90px;
  font-size: 12px;
}
body.ashrafi-beauty .ab-product-dates dd {
  margin: 0;
  color: var(--ab-purple);
  font-size: 13px;
  overflow-wrap: anywhere;
}
body.ashrafi-beauty .ab-product-attributes .property-title {
  font-size: 16px;
  margin: 22px 0 12px;
  color: var(--ab-purple);
}
body.ashrafi-beauty .ab-product-attributes .property-desc {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-product-attributes li {
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--ab-line);
  font-size: 13px !important;
  line-height: 1.9 !important;
}
body.ashrafi-beauty .ab-product-attributes li > span {
  color: var(--ab-mauve);
}
.ab-attributes-more {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-top: 14px;
  color: var(--ab-mauve);
  font-size: 12px;
}
.ab-product-section-additional_information {
  scroll-margin-top: 24px;
}
body.ashrafi-beauty .ab-product-buy .price-holder {
  padding: 24px !important;
  border-top: 0 !important;
  background: linear-gradient(160deg, #f4eef7, #fff 70%) !important;
}
body.ashrafi-beauty .ab-product-buy .sender-info {
  margin-bottom: 20px;
}
body.ashrafi-beauty .ab-product-buy .sender-info p > span {
  color: var(--ab-mauve);
}
body.ashrafi-beauty .ab-product-buy .ab-base-price {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 14px;
  margin-bottom: 18px;
}
body.ashrafi-beauty .ab-product-buy .price {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: baseline;
  gap: 8px 12px;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--ab-purple) !important;
  font-size: 25px !important;
  font-weight: 700;
  line-height: 1.7 !important;
  text-align: right !important;
}
body.ashrafi-beauty .ab-product-buy .price del {
  display: block !important;
  width: 100% !important;
  order: -1;
  opacity: 0.55;
  font-size: 13px !important;
  font-weight: 400;
}
body.ashrafi-beauty .ab-product-buy .price ins {
  display: block !important;
  background: none !important;
  text-decoration: none !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-product-buy .price .woocommerce-Price-currencySymbol {
  font-size: 12px !important;
  font-weight: 400;
  margin-inline-start: 5px;
}
body.ashrafi-beauty .ab-product-buy form.cart {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 14px;
}
body.ashrafi-beauty .ab-product-buy .quantity {
  height: 46px !important;
  border: 1px solid var(--ab-mauve) !important;
  background: #fff !important;
  border-radius: 12px !important;
}
body.ashrafi-beauty .ab-product-buy .quantity input.qty {
  width: 52px !important;
  height: 44px !important;
  min-height: 44px !important;
  display: block !important;
  font-size: 16px !important;
  color: var(--ab-purple) !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.ashrafi-beauty .ab-product-buy .quantity :is(.plus, .minus) {
  width: 36px !important;
  min-width: 36px !important;
  height: 44px !important;
  background: #f4eef7 !important;
  color: var(--ab-mauve) !important;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button {
  flex: 1;
  min-width: 155px;
  min-height: 46px !important;
  background: var(--ab-mauve) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button:hover {
  background: var(--ab-purple) !important;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button.disabled {
  opacity: 0.55;
}
body.ashrafi-beauty .ab-product-buy .woocommerce-variation-price {
  margin-bottom: 16px;
}
/* Favorites: SVG icon, explicit busy/selected states. */
body.ashrafi-beauty :is(.ab-favorite-toggle, .ab-favorite-login) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 13px !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--ab-mauve) !important;
  font: inherit;
  font-size: 12px !important;
  cursor: pointer;
  box-shadow: none !important;
}
body.ashrafi-beauty .ab-favorite-toggle .ab-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
body.ashrafi-beauty .ab-favorite-toggle.is-selected {
  border-color: var(--ab-mauve) !important;
  background: #f5eff8 !important;
}
.ab-favorite-toggle.is-selected svg {
  fill: rgba(128, 97, 142, 0.15);
}
.ab-favorite-toggle:disabled {
  opacity: 0.6;
  cursor: wait;
}
.ab-favorite-feedback {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: var(--ab-mauve);
  min-height: 1.5em;
}
.ab-favorite-feedback[role="alert"] {
  color: #9c354b;
}
body.ashrafi-beauty .ab-product-favorite {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ab-line);
}
@media (max-width: 1200px) {
  body.ashrafi-beauty .ab-home .ab-category {
    flex-basis: calc((100% - 144px) / 6.5);
  }
  body.ashrafi-beauty .ab-home .ab-category-image {
    width: 112px;
    height: 112px;
  }
  body.ashrafi-beauty .ab-footer-grid {
    gap: 24px;
  }
}
@media (max-width: 991px) {
  body.ashrafi-beauty .ab-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.ashrafi-beauty .ab-home .ab-category {
    flex-basis: calc((100% - 120px) / 5.5);
  }
  body.ashrafi-beauty .ab-home .ab-category-image {
    width: 104px;
    height: 104px;
  }
}
@media (max-width: 767px) {
  body.ashrafi-beauty .ab-home .ab-categories {
    gap: 16px;
    padding: 40px 0 44px;
  }
  body.ashrafi-beauty .ab-home .ab-category {
    flex-basis: calc((100% - 48px) / 3.5);
  }
  body.ashrafi-beauty .ab-home .ab-category-image {
    width: min(96px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
  body.ashrafi-beauty .ab-home .ab-category strong {
    font-size: 11px;
  }
  body.ashrafi-beauty .ab-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  body.ashrafi-beauty .ab-footer-top {
    flex-wrap: wrap;
    gap: 18px;
  }
  body.ashrafi-beauty .ab-footer-trust {
    max-width: 240px;
  }
  body.ashrafi-beauty.single-product .woocommerce-breadcrumb {
    padding: 16px 0 !important;
    font-size: 10px !important;
  }
}

.ab-product-buy .ab-price-caption {
  display: block;
  font-size: 11px;
  color: var(--ab-mauve);
  margin-bottom: 6px;
}
body.ashrafi-beauty .ab-product-buy .quantity:has(input[type="hidden"]) {
  display: none !important;
}

/* ---- ashrafi-pages.css ---- */

/* Ashrafi 2.7: information pages and the requested commerce corrections. */

body.ashrafi-beauty
  a:not(.button):not(.wp-element-button):not(.ab-page-button):hover {
  color: var(--ab-mauve) !important;
}
body.ashrafi-beauty .ab-footer a:hover {
  background: var(--ab-cream);
  color: var(--ab-mauve) !important;
  border-radius: 5px;
}
body.ashrafi-beauty a:focus-visible,
body.ashrafi-beauty button:focus-visible {
  outline: 2px solid var(--ab-mauve);
  outline-offset: 4px;
}
/* The buy panel is white. Quantity and CTA each have a full row at every width. */
body.ashrafi-beauty .ab-product-buy .price-holder {
  background: #fff !important;
  border: 0 !important;
  padding: 24px !important;
}
body.ashrafi-beauty .ab-product-buy .ab-base-price {
  background: transparent;
  border: 0;
  border-block: 1px solid var(--ab-line);
  border-radius: 0;
  padding: 18px 0;
  margin-bottom: 20px;
}
body.ashrafi-beauty
  .ab-product-buy
  :is(.count-box form.cart, form.cart, .woocommerce-variation-add-to-cart) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
}
body.ashrafi-beauty
  .ab-product-buy
  :is(.single_variation_wrap, .variations, .woocommerce-grouped-product-list) {
  width: 100% !important;
  min-width: 0;
}
body.ashrafi-beauty .ab-product-buy .quantity {
  justify-self: start;
  width: auto !important;
  float: none !important;
  border-color: var(--ab-line) !important;
}
body.ashrafi-beauty .ab-product-buy .quantity :is(.plus, .minus) {
  background: #fff !important;
  flex: 0 0 36px !important;
}
body.ashrafi-beauty .ab-product-buy .quantity input.qty {
  flex: 0 0 52px !important;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button {
  grid-column: 1/-1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 14px 10px !important;
  height: auto !important;
  min-height: 50px !important;
  line-height: 1.6 !important;
  white-space: nowrap !important;
  word-break: normal !important;
  letter-spacing: normal !important;
  background: var(--ab-purple) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: 0 5px 14px rgba(75, 49, 95, 0.12) !important;
}
body.ashrafi-beauty .ab-product-buy .single_add_to_cart_button:hover {
  background: var(--ab-mauve) !important;
}
/* Native notices keep their text, action links, list semantics and live roles. */
body.ashrafi-beauty :is(.ab-wc-notices, .ab-wc-notice) {
  position: relative !important;
  box-sizing: border-box !important;
  margin: 18px 0 24px !important;
  padding: 20px !important;
  border: 1px solid var(--ab-line) !important;
  border-inline-start: 4px solid var(--ab-mauve) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: var(--ab-text) !important;
  box-shadow: var(--ab-shadow) !important;
  list-style: none !important;
}
body.ashrafi-beauty :is(.ab-wc-notices, .ab-wc-notice)::before,
body.ashrafi-beauty :is(.ab-wc-notices, .ab-wc-notice)::after {
  content: none !important;
}
body.ashrafi-beauty .ab-wc-notices > li,
body.ashrafi-beauty .ab-wc-notice {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  line-height: 1.9 !important;
}
body.ashrafi-beauty .ab-wc-notices > li {
  margin: 0 !important;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-wc-notices > li + li {
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid var(--ab-line);
}
.ab-wc-notice-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #f4eff7;
  color: var(--ab-mauve);
}
.ab-wc-notices-error .ab-wc-notice-icon {
  color: var(--ab-purple);
  background: var(--ab-cream);
}
.ab-wc-notice-body {
  min-width: 0;
}
.ab-wc-notice-label {
  display: block;
  color: var(--ab-purple);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.ab-wc-notice-text {
  display: flow-root;
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
}
body.ashrafi-beauty .ab-wc-notice-text .button {
  float: left !important;
  position: static !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 16px 8px 0 !important;
  padding: 9px 16px !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--ab-purple) !important;
  line-height: 1.8 !important;
  font-size: 12px !important;
  white-space: nowrap;
  box-shadow: none !important;
}
body.ashrafi-beauty .ab-wc-notice-text .button:hover {
  background: var(--ab-purple) !important;
  color: #fff !important;
}
/* Cart: an editorial heading and a receipt with a purple title band. */
body.ashrafi-beauty .ab-flow-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0 30px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ab-line);
  border-radius: 12px;
    padding: 5px;
}
.ab-flow-title {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.ab-flow-emblem {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(212, 185, 130, 0.6);
  border-radius: 24px 24px 8px 24px;
  background: #fff;
  color: var(--ab-purple);
  box-shadow: var(--ab-shadow);
}
.ab-flow-emblem svg {
  width: 32px;
  height: 32px;
}
body.ashrafi-beauty .ab-flow-heading h1 {
  margin: 3px 0 4px !important;
  font-size: 27px !important;
  color: var(--ab-purple);
}
.ab-flow-caption {
  margin: 0;
  font-size: 12px;
  color: var(--ab-muted);
  line-height: 1.9;
}
body.ashrafi-beauty .ab-purchase-steps {
  gap: 0;
  border: 1px solid var(--ab-line);
  border-radius: 14px;
  background: #fff;
  padding: 6px;
}
body.ashrafi-beauty .ab-purchase-steps li {
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 10px 12px;
}
body.ashrafi-beauty .ab-purchase-steps li.is-current {
  background: var(--ab-purple);
  color: #fff;
}
body.ashrafi-beauty .ab-bag-table td:first-child {
  border-inline-start: 3px solid var(--ab-gold) !important;
}
body.ashrafi-beauty .ab-bag-image {
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 14px 14px 6px 14px;
}
body.ashrafi-beauty .ab-bag-table .actions {
  background: #fff;
  border: 1px dashed var(--ab-line) !important;
  border-radius: 14px !important;
}
body.ashrafi-beauty .ab-bag-summary .cart_totals {
  position: relative;
  padding: 24px !important;
  padding-top: 0 !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: hidden;
}
body.ashrafi-beauty .ab-bag-summary .cart_totals h2 {
  display: flex;
  align-items: center;
  min-height: 68px;
  margin: 0 -24px 15px !important;
  padding: 18px 24px !important;
  background: var(--ab-purple) !important;
  color: #fff !important;
  border-bottom: 3px solid var(--ab-gold);
  font-size: 18px !important;
}
body.ashrafi-beauty .ab-bag-summary .order-total :is(th, td) {
  padding-top: 20px !important;
  border-top: 1px dashed var(--ab-mauve) !important;
  border-bottom: 0 !important;
  color: var(--ab-purple);
  font-size: 16px !important;
}
body.ashrafi-beauty .ab-bag-summary .checkout-button {
  background: var(--ab-purple) !important;
  color: #fff !important;
  white-space: normal;
  line-height: 1.8 !important;
}
body.ashrafi-beauty .ab-bag-summary .checkout-button:hover {
  background: var(--ab-mauve) !important;
}
body.ashrafi-beauty .ab-bag-empty {
  max-width: 720px;
  margin: 40px auto;
  padding: 40px 28px;
  border: 1px solid var(--ab-line);
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: var(--ab-shadow);
}
.ab-bag-empty .ab-flow-emblem {
  margin: 0 auto 24px;
}
body.ashrafi-beauty .ab-bag-empty h1 {
  font-size: 24px;
  line-height: 1.9;
}
.ab-bag-empty > p {
  color: var(--ab-muted);
  font-size: 13px;
  line-height: 2;
  margin-bottom: 24px;
}
.ab-bag-empty .cart-empty {
  margin: 20px 0 !important;
  text-align: start;
}
/* Checkout: independent form sections and a matching order receipt. */
body.ashrafi-beauty .ab-checkout-details {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}
body.ashrafi-beauty .ab-checkout #customer_details > .col-1,
body.ashrafi-beauty .ab-checkout #customer_details > .col-2 {
  box-sizing: border-box;
  background: #fff !important;
  padding: 26px !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty .ab-checkout #customer_details > .col-2 {
  margin-top: 22px !important;
}
body.ashrafi-beauty
  .ab-checkout
  #customer_details
  :is(.col-1, .col-2)
  > div
  > h3 {
  border-bottom: 1px solid var(--ab-line);
  padding-bottom: 15px;
  color: var(--ab-purple);
}
body.ashrafi-beauty .ab-checkout .form-row :is(input.input-text, textarea) {
  background: #fff !important;
  min-height: 46px;
}
body.ashrafi-beauty
  .ab-checkout
  .form-row
  :is(input.input-text, textarea):focus {
  border-color: var(--ab-mauve) !important;
  box-shadow: 0 0 0 3px rgba(128, 97, 142, 0.1) !important;
  outline: 0;
}
body.ashrafi-beauty .ab-checkout-summary {
  border: 1px solid var(--ab-line) !important;
  padding-top: 0 !important;
  overflow: hidden;
}
body.ashrafi-beauty .ab-checkout #order_review_heading {
  box-sizing: border-box;
  width: calc(100% + 52px) !important;
  margin: 0 -26px 18px !important;
  padding: 20px 26px !important;
  background: var(--ab-purple);
  color: #fff !important;
  border-bottom: 3px solid var(--ab-gold);
  font-size: 18px !important;
}
body.ashrafi-beauty .ab-checkout .woocommerce-checkout-review-order-table {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  width: 100%;
}
body.ashrafi-beauty
  .ab-checkout
  .woocommerce-checkout-review-order-table
  :is(th, td) {
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ab-line) !important;
  font-size: 12px;
}
body.ashrafi-beauty
  .ab-checkout
  .woocommerce-checkout-review-order-table
  .order-total
  :is(th, td) {
  border-top: 1px dashed var(--ab-mauve) !important;
  border-bottom: 0 !important;
  font-size: 15px;
  color: var(--ab-purple);
  padding-top: 20px !important;
}
body.ashrafi-beauty .ab-checkout #payment .wc_payment_method {
  background: #fff !important;
  border-radius: 10px;
  border: 1px solid var(--ab-line);
  padding: 14px !important;
}
body.ashrafi-beauty
  .ab-checkout
  #payment
  .wc_payment_method:has(input:checked) {
  border-color: var(--ab-mauve);
  box-shadow: inset 3px 0 var(--ab-gold);
}
body.ashrafi-beauty .ab-checkout #place_order {
  height: auto !important;
  min-height: 50px;
  line-height: 1.8 !important;
  white-space: normal;
}
body.ashrafi-beauty .ab-checkout #place_order:hover {
  background: var(--ab-mauve) !important;
}
/* Equivalent surfaces for pages using native WooCommerce Blocks. */
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__sidebar,
body.ashrafi-beauty .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
  border: 1px solid var(--ab-line) !important;
  background: #fff !important;
  box-shadow: var(--ab-shadow);
}
body.ashrafi-beauty
  :is(
    .wc-block-cart__totals-title,
    .wc-block-checkout__sidebar
      .wc-block-components-checkout-order-summary__title
  ) {
  padding: 18px !important;
  background: var(--ab-purple) !important;
  color: #fff !important;
  border-radius: 12px 12px 0 0;
  border-bottom: 3px solid var(--ab-gold);
}
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-checkout-step {
  border-inline-start: 3px solid var(--ab-gold);
  padding-inline-start: 18px;
}
body.ashrafi-beauty .wc-block-components-button:not(.is-link) {
  border-radius: 11px !important;
  min-height: 48px;
  line-height: 1.7;
}
/* Information pages: ample space, purple details, content authored in WordPress. */
body.ashrafi-beauty .ab-info-page {
  box-sizing: border-box;
  width: min(1320px, calc(100% - 80px));
  max-width: 1320px;
  margin: 0 auto;
  padding: 38px 0 24px;
  direction: rtl;
}
.ab-info-heading {
  position: relative;
  padding: 16px 24px 22px;
  margin: 0 0 34px;
  border-inline-start: 3px solid var(--ab-gold);
}
.ab-info-heading h1 {
  font-size: 34px;
  line-height: 1.6;
  margin: 6px 0;
  color: var(--ab-purple);
  font-weight: 700;
}
.ab-info-heading p {
  font-size: 14px;
  color: var(--ab-muted);
  line-height: 2;
  margin: 8px 0 0;
}
.ab-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 30px;
  align-items: start;
}
.ab-contact-call {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  padding: 36px;
  background: var(--ab-purple);
  border: 1px solid var(--ab-purple);
  border-radius: 28px 28px 8px 28px;
  color: #fff;
  box-shadow: var(--ab-shadow);
}
.ab-contact-call::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(212, 185, 130, 0.25);
  border-radius: 50%;
  left: -65px;
  top: -55px;
  pointer-events: none;
}
.ab-contact-emblem {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ab-gold);
  border: 1px solid rgba(212, 185, 130, 0.3);
}
.ab-contact-emblem svg {
  width: 28px;
  height: 28px;
}
body.ashrafi-beauty .ab-contact-call h2 {
  font-size: 22px;
  margin: 0 0 20px;
  line-height: 1.8;
  color: #fff;
}
body.ashrafi-beauty .ab-contact-call .ab-contact-number {
  display: inline-block;
  color: var(--ab-gold) !important;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
  line-height: 1.7;
  max-width: 100%;
}
body.ashrafi-beauty .ab-contact-call .ab-contact-number:hover {
  color: #fff !important;
}
.ab-contact-hours {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 28px;
  padding-top: 24px;
}
body.ashrafi-beauty .ab-contact-hours h3 {
  color: var(--ab-gold);
  font-size: 13px;
  margin: 0 0 10px;
}
.ab-contact-hours p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 2.2;
}
.ab-contact-cards {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.ab-contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--ab-line);
  background: #fff;
  box-shadow: var(--ab-shadow);
  border-radius: 18px;
  padding: 26px;
}
.ab-contact-card > .ab-icon {
  color: var(--ab-mauve);
  width: 27px;
  height: 27px;
  margin-top: 4px;
}
.ab-contact-card h2,
.ab-contact-networks h2 {
  font-size: 17px;
  color: var(--ab-purple);
  margin: 0 0 10px;
  line-height: 1.8;
}
.ab-contact-card p {
  font-size: 13px;
  color: var(--ab-text);
  line-height: 2.2;
  margin: 0;
  overflow-wrap: anywhere;
}
.ab-contact-networks {
  padding-top: 8px;
}
.ab-contact-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ab-contact-social-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--ab-line);
  border-radius: 14px;
  background: #fff;
  color: var(--ab-purple);
  font-size: 13px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.ab-contact-social-grid a:hover {
  border-color: var(--ab-mauve);
  box-shadow: var(--ab-shadow);
}
.ab-social-symbol {
  color: var(--ab-mauve);
  display: grid;
  place-items: center;
}
.ab-contact-arrow {
  margin-inline-start: auto;
  color: var(--ab-mauve);
  font-size: 20px;
}
.ab-page-content {
  color: var(--ab-text);
  font-size: 15px;
  line-height: 2.3;
  overflow-wrap: anywhere;
  min-width: 0;
}
.ab-page-content :is(h2, h3, h4) {
  color: var(--ab-purple);
  line-height: 1.8;
  margin: 30px 0 16px;
  scroll-margin-top: 28px;
}
.ab-page-content h2 {
  font-size: 24px;
}
.ab-page-content h3 {
  font-size: 20px;
}
.ab-page-content > :first-child {
  margin-top: 0;
}
.ab-page-content p {
  margin: 0 0 20px;
  line-height: inherit;
}
.ab-page-content a {
  color: var(--ab-mauve);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ab-page-content :is(img, video, iframe) {
  max-width: 100%;
}
.ab-page-content img {
  height: auto;
  border-radius: 16px;
}
.ab-page-content :is(ul, ol) {
  padding-inline-start: 24px;
}
.ab-page-content blockquote {
  border-inline-start: 3px solid var(--ab-gold);
  padding: 18px 24px;
  background: #fff;
  border-radius: 12px;
  color: var(--ab-purple);
  margin: 24px 0;
}
.ab-contact-copy {
  margin-top: 36px;
}
.ab-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
  gap: 48px;
  align-items: start;
}
.ab-about-layout.has-image {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
.ab-about-image {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--ab-line);
  border-radius: 28px 28px 8px 28px;
  background: #fff;
  box-shadow: var(--ab-shadow);
}
.ab-about-image .ab-about-photo {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border-radius: 20px 20px 6px 20px;
}
.ab-about-signature {
  display: block;
  padding: 20px 12px 8px;
  color: var(--ab-mauve);
  font-size: 16px;
  text-align: center;
}
.ab-about-copy {
  padding: 8px 0;
}
.ab-terms-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  gap: 36px;
  align-items: start;
}
.ab-terms-layout.has-index {
  grid-template-columns: minmax(0, 1fr) 270px;
}
.ab-terms-copy {
  background: #fff;
  padding: 38px;
  border: 1px solid var(--ab-line);
  border-radius: 20px;
  box-shadow: var(--ab-shadow);
}
.ab-terms-index {
  position: sticky;
  top: 28px;
  background: #fff;
  padding: 24px;
  border: 1px solid var(--ab-line);
  border-top: 3px solid var(--ab-gold);
  border-radius: 16px;
}
.ab-terms-index[hidden] {
  display: none !important;
}
.ab-terms-index h2 {
  font-size: 16px;
  color: var(--ab-purple);
  margin: 0 0 16px;
}
.ab-terms-index ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.ab-terms-index a {
  color: var(--ab-muted);
  font-size: 12px;
  line-height: 1.9;
  display: block;
}
.ab-terms-index .ab-index-subheading {
  padding-inline-start: 14px;
}
/* A small brand illustration made from type and the existing bag icon. */
.ab-lost-card {
  max-width: 880px;
  margin: 12px auto;
  padding: 48px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 30px;
  box-shadow: var(--ab-shadow);
}
.ab-lost-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 30px;
  color: var(--ab-purple);
  direction: ltr;
  font:
    600 clamp(70px, 10vw, 130px)/1.2 IRANSansX,
    Tahoma,
    sans-serif;
}
.ab-lost-zero {
  width: clamp(75px, 10vw, 130px);
  height: clamp(95px, 12vw, 150px);
  display: grid;
  place-items: center;
  border: 1px solid var(--ab-gold);
  border-radius: 48% 48% 18px 18px;
  background: var(--ab-cream);
}
.ab-lost-zero svg {
  width: 45%;
  height: 45%;
  color: var(--ab-mauve);
}
.ab-lost-card h1 {
  font-size: 25px;
  color: var(--ab-purple);
  line-height: 1.9;
  margin: 12px 0;
}
.ab-lost-card p {
  font-size: 14px;
  color: var(--ab-muted);
  line-height: 2;
  margin: 0 auto 28px;
  max-width: 550px;
}
.ab-lost-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
body.ashrafi-beauty .ab-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 12px 22px;
  border: 1px solid var(--ab-purple);
  border-radius: 12px;
  background: var(--ab-purple);
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
}
body.ashrafi-beauty .ab-page-button:hover {
  background: var(--ab-mauve);
  border-color: var(--ab-mauve);
  color: #fff;
}
body.ashrafi-beauty .ab-page-button-outline {
  background: #fff;
  color: var(--ab-purple);
  border-color: var(--ab-line);
}
@media (max-width: 1100px) {
  body.ashrafi-beauty .ab-flow-heading {
    flex-wrap: wrap;
  }
  .ab-terms-layout.has-index {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .ab-contact-call {
    padding: 28px;
  }
}
@media (max-width: 767px) {
  body.ashrafi-beauty .ab-info-page {
    width: calc(100% - 32px);
    padding-top: 24px;
  }
  .ab-info-heading {
    padding: 10px 16px 16px;
    margin-bottom: 24px;
  }
  .ab-info-heading h1 {
    font-size: 27px;
  }
  .ab-contact-layout,
  .ab-about-layout.has-image,
  .ab-terms-layout.has-index {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .ab-contact-call {
    padding: 28px;
  }
  .ab-contact-card {
    padding: 22px;
  }
  .ab-contact-social-grid a {
    padding: 14px 12px;
    gap: 8px;
    font-size: 12px;
  }
  .ab-about-image {
    max-width: 460px;
    width: 100%;
    box-sizing: border-box;
    justify-self: center;
  }
  .ab-terms-copy {
    padding: 24px;
  }
  .ab-terms-index {
    position: static;
    grid-row: 1;
  }
  .ab-lost-card {
    padding: 32px 20px;
  }
  .ab-lost-card h1 {
    font-size: 21px;
  }
  .ab-flow-emblem {
    width: 54px;
    height: 54px;
    border-radius: 18px 18px 6px 18px;
  }
  .ab-flow-title {
    gap: 14px;
  }
  body.ashrafi-beauty .ab-flow-heading h1 {
    font-size: 23px !important;
  }
  body.ashrafi-beauty .ab-purchase-steps {
    width: 100%;
    justify-content: center;
  }
  body.ashrafi-beauty .ab-purchase-steps li {
    padding: 10px 8px;
  }
  body.ashrafi-beauty .ab-bag-table td:first-child {
    border-inline-start: 0 !important;
  }
  body.ashrafi-beauty .ab-bag-table tbody tr.cart_item {
    border-inline-start: 3px solid var(--ab-gold);
  }
  body.ashrafi-beauty .ab-checkout #customer_details > .col-1,
  body.ashrafi-beauty .ab-checkout #customer_details > .col-2 {
    padding: 20px !important;
  }
  body.ashrafi-beauty .ab-checkout #order_review_heading {
    width: calc(100% + 36px) !important;
    margin: 0 -18px 18px !important;
    padding: 18px !important;
  }
  body.ashrafi-beauty :is(.ab-wc-notices, .ab-wc-notice) {
    padding: 16px !important;
  }
  body.ashrafi-beauty .ab-wc-notices > li,
  body.ashrafi-beauty .ab-wc-notice {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }
  .ab-wc-notice-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .ab-wc-notice-text {
    font-size: 12px;
  }
  body.ashrafi-beauty .ab-wc-notice-text .button {
    float: none !important;
    display: table !important;
    margin: 0 0 12px !important;
  }
  body.ashrafi-beauty .ab-product-buy .price-holder {
    padding: 20px !important;
  }
}
@media (max-width: 380px) {
  .ab-contact-social-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-lost-actions {
    flex-direction: column;
  }
  .ab-page-content {
    font-size: 14px;
  }
  .ab-lost-art {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-contact-social-grid a {
    transition: none;
  }
}

/* ---- ashrafi-release28.css ---- */

/* Ashrafi 2.8: native cart blocks, uncluttered review, roomy mobile header/navigation. */
/* 2.8.1 additions are scoped to catalogue/product geometry, pagination and mobile cart. */
:root {
  --ab-font: IRANSansX, Tahoma, sans-serif;
  --bs-font-sans-serif: IRANSansX, Tahoma, sans-serif;
}
body.ashrafi-beauty {
  font-family: var(--ab-font);
}
body.ashrafi-beauty :is(button, input, textarea, select) {
  font-family: var(--ab-font) !important;
}
body.ashrafi-beauty.woocommerce-cart .content-box,
body.ashrafi-beauty.woocommerce-checkout .content-box {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Transparent cells and complete row borders prevent the white blocks over item rows. */
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  :is(tbody, thead) {
  display: grid !important;
  width: 100% !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items tbody {
  gap: 18px;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-items__header {
  display: none !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  tbody
  .wc-block-cart-items__row {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 100px minmax(0, 1fr) minmax(130px, auto) !important;
  grid-template-areas: "image product total" !important;
  gap: 22px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 22px !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  align-items: start !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  tbody
  .wc-block-cart-items__row
  > td {
  position: static !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  float: none !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  tbody
  .wc-block-cart-items__row
  .wc-block-cart-item__image {
  grid-area: image !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  tbody
  .wc-block-cart-items__row
  .wc-block-cart-item__product {
  grid-area: product !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  tbody
  .wc-block-cart-items__row
  .wc-block-cart-item__total {
  grid-area: total !important;
  align-self: start !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  :is(tbody, tr, td)::before,
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-items
  :is(tbody, tr, td)::after {
  content: none !important;
  display: none !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__image a {
  box-sizing: border-box;
  width: 100px !important;
  height: 112px !important;
  margin: 0 !important;
  padding: 10px !important;
  background: #fff !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 14px !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-components-product-name {
  font-size: 13px !important;
  line-height: 2 !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-item__total-price-and-sale-badge-wrapper {
  align-items: flex-end !important;
  gap: 10px !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
  display: flex !important;
  align-items: center;
  gap: 14px !important;
  margin-top: 4px;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-components-quantity-selector {
  min-height: 42px;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart-item__remove-link {
  min-height: 40px;
}
/* A quiet summary card, with a light heading and a gold total separator. */
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__sidebar {
  position: static !important;
  padding: 26px !important;
  border: 1px solid var(--ab-line) !important;
  border-top: 1px solid var(--ab-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(75, 49, 95, 0.06) !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__totals-title {
  margin: 0 0 18px !important;
  padding: 0 0 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ab-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ab-purple) !important;
  font-size: 19px !important;
  line-height: 1.9 !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-cart__totals-title::before {
  content: none !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-components-totals-wrapper {
  padding: 16px 0 !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-components-totals-footer-item {
  border-top: 1px solid var(--ab-gold) !important;
  padding-top: 20px !important;
  gap: 16px;
}
body.ashrafi-beauty
  .wp-block-woocommerce-cart
  .wc-block-components-totals-footer-item
  .wc-block-components-totals-item__value {
  font-size: 20px !important;
  color: var(--ab-purple) !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__submit {
  padding: 18px 0 0 !important;
  border: 0 !important;
}
body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__submit-button {
  min-height: 50px !important;
  padding: 14px 12px !important;
  border-radius: 12px !important;
  background: var(--ab-purple) !important;
  color: #fff !important;
}
body.ashrafi-beauty .ab-bag-summary .cart_totals {
  padding: 26px !important;
  border-top: 1px solid var(--ab-line) !important;
}
body.ashrafi-beauty .ab-bag-summary .cart_totals h2 {
  min-height: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 0 18px !important;
  background: transparent !important;
  color: var(--ab-purple) !important;
  border-bottom: 1px solid var(--ab-line) !important;
  font-size: 19px !important;
}
/* Review rows: image, actual product title and line total; no description or unit-price block. */
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-order-summary-item
  :is(
    .wc-block-components-product-metadata,
    .wc-block-components-product-metadata__description,
    .wc-block-components-order-summary-item__individual-prices,
    .wc-block-components-sale-badge
  ) {
  display: none !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-order-summary-item {
  gap: 16px !important;
  padding-block: 20px !important;
  align-items: flex-start;
}
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-order-summary-item__description {
  min-width: 0;
  padding-inline: 14px !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-order-summary-item
  .wc-block-components-product-name {
  font-size: 13px !important;
  line-height: 2 !important;
}
body.ashrafi-beauty
  .wp-block-woocommerce-checkout
  .wc-block-components-order-summary-item__total-price {
  white-space: nowrap;
  font-size: 13px;
}
.ab-review-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ab-review-image {
  flex: 0 0 56px;
  display: block;
  width: 56px;
}
body.ashrafi-beauty .ab-review-image img {
  display: block;
  width: 56px !important;
  height: 64px !important;
  object-fit: contain;
  float: none !important;
}
.ab-review-title {
  font-size: 12px;
  line-height: 2;
  min-width: 0;
}
.ab-review-quantity {
  display: inline-block;
  font-size: 10px;
  color: var(--ab-mauve);
  margin-inline-start: 4px;
}
/* Mobile header is selected by viewport width, including when resizing desktop browsers. */
.ab-mobile-header,
.ab-mobile-header-banner {
  display: none;
}
.ab-mobile-header {
  background: #fff;
  border-bottom: 1px solid var(--ab-line);
  box-shadow: 0 5px 18px rgba(75, 49, 95, 0.04);
  position: relative;
  z-index: 50;
}
.ab-mobile-header-inner {
  max-width: 760px;
  margin: auto;
  padding: 16px 20px 18px;
}
.ab-mobile-topline {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
}
.ab-mobile-logo {
  justify-self: center;
  display: block;
  min-width: 0;
}
.ab-mobile-logo img {
  display: block;
  width: 154px;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
}
body.ashrafi-beauty .ab-mobile-action {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0 !important;
  border: 1px solid var(--ab-line) !important;
  border-radius: 14px;
  background: #fff !important;
  color: var(--ab-purple) !important;
  cursor: pointer;
}
.ab-mobile-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
}
.ab-mobile-search {
  min-width: 0;
}
body.ashrafi-beauty .ab-mobile-search .ab-search-form {
  margin: 0 !important;
  padding: 5px 12px !important;
  min-height: 48px;
  background: var(--ab-cream) !important;
  border-radius: 14px;
  border: 1px solid var(--ab-line);
}
body.ashrafi-beauty .ab-mobile-search .ab-search-form input {
  min-height: 36px;
  font-size: 12px;
  padding: 4px !important;
  outline: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
body.ashrafi-beauty .ab-mobile-search .ab-search-form:focus-within {
  border-color: var(--ab-mauve);
  box-shadow: 0 0 0 3px rgba(128, 97, 142, 0.08);
}
body.ashrafi-beauty .ab-mobile-search .dgwt-wcas-search-wrapp {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}
body.ashrafi-beauty .ab-mobile-search .dgwt-wcas-sf-wrapp {
  border: 1px solid var(--ab-line) !important;
  border-radius: 14px !important;
  padding: 0 !important;
  background: var(--ab-cream) !important;
}
body.ashrafi-beauty .ab-mobile-search input.dgwt-wcas-search-input {
  box-sizing: border-box;
  width: 100% !important;
  height: 50px !important;
  font-size: 12px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-block: 12px !important;
}
body.ashrafi-beauty .ab-mobile-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--ab-gold);
  border-radius: 14px;
  background: #fff;
  color: var(--ab-purple);
  font-size: 11px;
}
.ab-mobile-cart .ab-icon {
  width: 20px;
  height: 20px;
}
.ab-mobile-cart-count {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--ab-gold);
  color: var(--ab-purple);
  font-size: 10px;
}
.ab-mobile-menu {
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 26px 22px;
  border: 0;
  border-inline-end: 1px solid var(--ab-line);
  border-radius: 24px 0 0 24px;
  background: #fff;
  color: var(--ab-text);
  box-shadow: -12px 0 40px rgba(75, 49, 95, 0.18);
  overflow-y: auto;
  overscroll-behavior: contain;
  direction: rtl;
  font-family: var(--ab-font);
}
.ab-mobile-menu::backdrop {
  background: rgba(40, 36, 42, 0.4);
  backdrop-filter: blur(3px);
}
.ab-mobile-menu:not([open]) {
  display: none !important;
}
.ab-mobile-menu[open] {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ab-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
body.ashrafi-beauty .ab-mobile-menu-head h2 {
  font-size: 17px;
  line-height: 1.9;
  margin: 7px 0 0;
  color: var(--ab-purple);
}
.ab-mobile-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ab-line);
}
.ab-mobile-quick-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 86px;
  padding: 12px 4px;
  background: var(--ab-cream);
  border: 1px solid var(--ab-line);
  border-radius: 16px;
  color: var(--ab-purple);
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}
.ab-mobile-quick-links .ab-icon {
  color: var(--ab-mauve);
  width: 24px;
  height: 24px;
}
.ab-mobile-navigation {
  flex: 1;
}
.ab-mobile-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ab-mobile-navigation li {
  position: relative;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ab-line);
}
.ab-mobile-navigation a {
  display: block;
  padding: 15px 6px;
  font-size: 13px;
  color: var(--ab-purple);
  line-height: 1.9;
}
.ab-mobile-navigation li:has(> button) > a {
  padding-inline-end: 54px;
}
.ab-mobile-navigation li > ul {
  border-inline-start: 2px solid var(--ab-gold);
  margin: 0 6px 14px;
  padding-inline-start: 14px;
}
.ab-mobile-navigation li > ul[hidden] {
  display: none !important;
}
.ab-mobile-navigation li > ul li:last-child {
  border: 0;
}
.ab-mobile-navigation li > ul a {
  font-size: 12px;
  padding-block: 12px;
}
body.ashrafi-beauty .ab-mobile-submenu-toggle {
  position: absolute;
  left: 0;
  top: 6px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ab-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ab-mauve);
  font-size: 22px;
  line-height: 1;
  padding: 0;
}
.ab-mobile-menu-account {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 16px;
  background: var(--ab-purple);
  color: #fff;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
}
.ab-mobile-menu-account > span:last-child {
  margin-inline-start: auto;
}
body.ashrafi-beauty .ab-mobile-menu-account:hover {
  background: var(--ab-mauve);
  color: #fff !important;
}
body.ab-mobile-menu-open {
  overflow: hidden;
}
@media (max-width: 991px) {
  .ab-desktop-header-wrap {
    display: none !important;
  }
  .ab-mobile-header {
    display: block;
  }
  .ab-mobile-header-banner {
    display: block;
    width: calc(100% - 40px);
    max-width: 760px;
    margin: 20px auto;
  }
  .ab-mobile-header-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-sidebar-layout {
    gap: 30px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-items
    tbody
    .wc-block-cart-items__row {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-areas: "image product" "image total" !important;
    gap: 16px 20px !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__image a {
    width: 88px !important;
    height: 100px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    align-items: flex-start !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__total {
    text-align: right !important;
  }
}
@media (max-width: 767px) {
  body.ashrafi-beauty .container.main-body {
    width: calc(100% - 36px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
  body.ashrafi-beauty
    .ab-home
    :is(.ab-section, .ab-offers, .ab-banners, .ab-brands, .ab-blog) {
    margin-bottom: 44px;
  }
  body.ashrafi-beauty .ab-home .ab-section-head {
    margin-bottom: 22px;
    gap: 18px;
    align-items: flex-start;
  }
  body.ashrafi-beauty .ab-home .ab-product-rail {
    gap: 16px;
    padding-block: 8px 24px;
  }
  body.ashrafi-beauty .ab-home .ab-card-body,
  body.ashrafi-beauty .ab-shop-grid .ab-card-body {
    padding: 14px 14px 18px;
  }
  body.ashrafi-beauty .ab-home .ab-card-bottom,
  body.ashrafi-beauty .ab-shop-grid .ab-card-bottom {
    gap: 14px;
    align-items: start;
  }
  body.ashrafi-beauty .ab-home .ab-card-body h3,
  body.ashrafi-beauty .ab-shop-grid h3 {
    line-height: 2 !important;
    margin-bottom: 16px !important;
  }
  body.ashrafi-beauty .ab-home .ab-banners {
    gap: 20px;
  }
  body.ashrafi-beauty .ab-home .ab-offers {
    padding: 22px;
    gap: 26px;
  }
  body.ashrafi-beauty .ab-product-layout,
  body.ashrafi-beauty .ab-account-layout,
  body.ashrafi-beauty .ab-bag-layout,
  body.ashrafi-beauty .ab-checkout-layout {
    gap: 26px !important;
  }
  body.ashrafi-beauty .ab-product-section {
    margin-bottom: 26px;
    padding: 22px;
  }
  body.ashrafi-beauty .ab-shop-grid {
    gap: 20px 14px;
  }
  body.ashrafi-beauty .ab-footer-grid {
    gap: 34px;
  }
  body.ashrafi-beauty .ab-account .woocommerce-MyAccount-navigation ul {
    gap: 10px;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart {
    padding: 0 !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-items
    tbody
    .wc-block-cart-items__row {
    padding: 20px 16px !important;
    gap: 16px !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__sidebar {
    padding: 24px !important;
    margin-top: 26px !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-checkout .wc-block-checkout__main,
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-checkout__sidebar {
    padding: 22px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-checkout-step {
    margin-bottom: 30px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-text-input {
    margin-bottom: 18px;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-order-summary-item {
    gap: 12px !important;
    padding-block: 18px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-order-summary-item__description {
    padding-inline: 8px !important;
  }
  body.ashrafi-beauty .ab-account-favorites {
    gap: 18px;
  }
  body.ashrafi-beauty .ab-purchase-steps li {
    padding: 10px 9px;
  }
}
@media (max-width: 380px) {
  .ab-mobile-header-inner {
    padding-inline: 16px;
  }
  .ab-mobile-topline {
    gap: 12px;
  }
  .ab-mobile-tools {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 10px;
  }
  .ab-mobile-logo img {
    width: 140px;
  }
  .ab-mobile-menu {
    padding: 22px 18px;
  }
  .ab-mobile-menu-head h2 {
    font-size: 15px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-items
    tbody
    .wc-block-cart-items__row {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__image a {
    width: 72px !important;
    height: 86px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-order-summary-item
    .wc-block-components-product-name {
    font-size: 12px !important;
  }
}
@media (max-width: 767px) {
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "image description" "image price";
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-order-summary-item__image {
    grid-area: image;
    margin: 0 !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-order-summary-item__description {
    grid-area: description;
    padding-inline: 0 !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-checkout
    .wc-block-components-order-summary-item__total-price {
    grid-area: price;
    justify-self: start;
    margin: 0 !important;
  }
}

/* Woo's content wrapper follows the same outer container as the home page. */
body.ashrafi-beauty .ab-commerce-content {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body.ashrafi-beauty .ab-commerce-content > .woocommerce-breadcrumb {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-top: 22px;
  margin-bottom: 0;
  padding-right: 5px;
}
body.ashrafi-beauty
  .ab-commerce-content
  :is(
    .ab-shop,
    .ab-shop-layout,
    .ab-shop-main,
    .ab-shop-sidebar,
    .ab-shop-grid,
    .ab-single-product,
    .ab-product-layout,
    .ab-product-primary,
    .ab-product-gallery,
    .ab-product-summary,
    .ab-product-buy,
    .ab-product-content,
    .ab-product-section,
    .ab-product-section-body
  ) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.ashrafi-beauty .ab-commerce-content .ab-product-primary {
  width: 100%;
}
body.ashrafi-beauty
  .ab-commerce-content
  .ab-shop
  :is(.ab-card-body, .ab-card-bottom, .ab-card-price, .ab-card-cart) {
  min-width: 0;
  max-width: 100%;
}
body.ashrafi-beauty
  .ab-commerce-content
  .ab-shop
  :is(.ab-card-price, .ab-card-brand, .ab-filter-box) {
  overflow-wrap: anywhere;
}
body.ashrafi-beauty .ab-commerce-content .ab-product-section-body {
  overflow-wrap: anywhere;
}
body.ashrafi-beauty
  .ab-commerce-content
  .ab-product-section-body
  table.shop_attributes {
  width: 100%;
  table-layout: fixed;
}
body.ashrafi-beauty
  .ab-commerce-content
  :is(.term-description, .ab-product-section-body, .ab-product-intro)
  :is(img, video, iframe) {
  max-width: 100%;
}
/* A single line icon avoids the old bordered box nested inside the arrow link. */
body.ashrafi-beauty .ab-pagination a:is(.prev, .next) {
  width: 48px;
  min-width: 48px;
  padding: 0 !important;
  background: #f5f0f7 !important;
  color: var(--ab-purple) !important;
  border-color: rgba(128, 97, 142, 0.3) !important;
}
body.ashrafi-beauty .ab-pagination a:is(.prev, .next):hover {
  background: var(--ab-purple) !important;
  color: #fff !important;
  border-color: var(--ab-purple) !important;
}
.ab-pagination-arrow {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
body.ashrafi-beauty .ab-pagination a .ab-screen-reader {
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (max-width: 767px) {
  body.ashrafi-beauty .ab-pagination a:is(.prev, .next) {
    width: 44px;
    min-width: 44px;
  }
  /* Item footer spans the card, leaving room for the full total on small phones. */
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-items
    tbody
    .wc-block-cart-items__row {
    grid-template-areas: "image product" "total total" !important;
    gap: 18px 16px !important;
    padding: 18px 16px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-items
    tbody
    .wc-block-cart-items__row
    .wc-block-cart-item__total {
    border-top: 1px solid var(--ab-line) !important;
    padding-top: 14px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: space-between;
    gap: 10px !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart-item__wrap {
    gap: 12px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-quantity-selector {
    display: flex !important;
    direction: ltr;
    width: 128px !important;
    max-width: 100%;
    height: 44px !important;
    min-height: 44px;
    padding: 0 !important;
    border: 1px solid var(--ab-line) !important;
    border-radius: 12px !important;
    background: var(--ab-cream) !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-quantity-selector__button {
    position: static !important;
    inset: auto !important;
    flex: 0 0 40px;
    width: 40px !important;
    height: 42px !important;
    min-height: 42px;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-quantity-selector__input {
    order: 2;
    flex: 1;
    min-width: 0;
    width: 46px !important;
    height: 42px !important;
    font-size: 13px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-quantity-selector__button--minus {
    order: 1;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-quantity-selector__button--plus {
    order: 3;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-cart-item__remove-link {
    min-height: 44px;
    padding: 8px 0 !important;
  }
  body.ashrafi-beauty .wp-block-woocommerce-cart .wc-block-cart__sidebar {
    padding: 22px !important;
    margin-top: 8px !important;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-totals-item {
    gap: 12px;
    flex-wrap: wrap;
  }
  body.ashrafi-beauty
    .wp-block-woocommerce-cart
    .wc-block-components-totals-footer-item
    .wc-block-components-totals-item__value {
    font-size: 18px !important;
  }
  /* Classic cart receives the same clear item footer and full-width coupon row. */
  body.ashrafi-beauty .ab-bag-table tbody tr.cart_item {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas: "product product" "quantity remove" "subtotal subtotal";
    gap: 14px;
    padding: 18px;
  }
  body.ashrafi-beauty .ab-bag-table .product-name {
    grid-area: product;
    min-width: 0;
  }
  body.ashrafi-beauty .ab-bag-table .product-quantity {
    grid-area: quantity;
  }
  body.ashrafi-beauty .ab-bag-table .product-remove {
    grid-area: remove;
    width: 44px;
  }
  body.ashrafi-beauty .ab-bag-table .product-subtotal {
    grid-area: subtotal;
    min-width: 0;
    border-top: 1px solid var(--ab-line) !important;
    padding-top: 14px !important;
  }
  body.ashrafi-beauty .ab-bag-product > div:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  body.ashrafi-beauty .ab-bag-actions .coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100% !important;
    min-width: 0;
  }
  body.ashrafi-beauty .ab-bag-actions #coupon_code {
    width: 100% !important;
    min-width: 0;
  }
  body.ashrafi-beauty .ab-bag-actions #updateBTN {
    width: 100% !important;
    min-height: 46px;
  }
  body.ashrafi-beauty .ab-bag-summary .cart_totals {
    padding: 22px !important;
  }
}
