/*
Theme Name: Alfa Shop
Template: alfa
Version: 1.0.0
Text Domain: alfa-shop-theme
Description: WooCommerce child theme for the dedicated Alfa shop.
*/

:root {
  --alfa-red: #b51f2e;
  --alfa-ink: #171717;
  --alfa-cream: #f7f3ed;
  --alfa-radius: 18px
}

body.woocommerce {
  color: var(--alfa-ink)
}

.products-section .price-product {
  display: block;
  margin-top: .45rem;
  color: var(--alfa-red);
  font-size: 1rem;
  font-weight: 700
}

.alfa-shop-shell {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem)
}

.alfa-shop-hero {
  min-height: min(78vh, 760px);
  display: grid;
  place-items: center;
  background: var(--alfa-cream);
  text-align: center;
  overflow: hidden;
  position: relative
}

.alfa-shop-hero__inner {
  max-width: 800px;
  padding: 5rem 1rem
}

.alfa-shop-hero h1 {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: .95
}

.alfa-shop-slide {
  display: grid;
  position: absolute;
  inset: 0;
  place-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .08)), var(--hero-image) center/cover;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .75s ease, visibility .75s ease
}

.alfa-shop-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1
}

.alfa-shop-slide .alfa-shop-hero__inner {
  position: relative;
  z-index: 1
}

.alfa-shop-slide .alfa-shop-hero__inner>p {
  margin-bottom: 1rem;
  font-size: clamp(.8rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase
}

.alfa-shop-slider-controls {
  position: absolute;
  z-index: 2;
  inset-inline-end: clamp(1rem, 4vw, 4rem);
  bottom: 2rem;
  display: flex;
  gap: .5rem
}

.alfa-shop-slider-controls button {
  width: 3rem;
  height: 3rem;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  cursor: pointer
}

.alfa-shop-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: clamp(3rem, 8vw, 8rem)
}

.alfa-shop-entry article {
  min-height: 380px;
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: var(--alfa-radius);
  background: #f0eee9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end
}

.alfa-shop-entry article:last-child {
  background: var(--alfa-ink);
  color: #fff
}

.alfa-shop-section {
  padding-block: clamp(3rem, 7vw, 7rem)
}

.alfa-shop-story {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 520px;
  margin-block: clamp(3rem, 7vw, 7rem);
  background: var(--alfa-cream);
  border-radius: var(--alfa-radius);
  overflow: hidden
}

.alfa-shop-story:nth-of-type(even) {
  direction: rtl
}

.alfa-shop-story>* {
  direction: ltr
}

.alfa-shop-story img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.alfa-shop-story div {
  align-self: center;
  padding: clamp(2rem, 6vw, 6rem)
}

.alfa-shop-home-about {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 9rem);
  background: #f2f2f6
}

.alfa-shop-home-about::before,
.alfa-shop-home-about::after {
  content: "";
  position: absolute;
  width: clamp(130px, 12vw, 210px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: radial-gradient(circle at 58% 55%, rgba(255, 255, 255, .72) 0 48%, transparent 70%), conic-gradient(from 210deg, rgba(137, 225, 238, .3), rgba(190, 145, 225, .35), rgba(255, 255, 255, .7), rgba(137, 225, 238, .3));
  box-shadow: inset 0 0 24px rgba(255, 255, 255, .9), 0 0 18px rgba(154, 166, 211, .15);
  opacity: .72
}

.alfa-shop-home-about::before {
  inset-inline-start: clamp(-70px, -3vw, -25px);
  top: 31%
}

.alfa-shop-home-about::after {
  inset-inline-end: clamp(-70px, -3vw, -25px);
  top: 31%
}

.alfa-shop-home-about__grid>.row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  margin: 0
}

.alfa-shop-home-about__grid>.row>[class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0
}

.alfa-shop-home-about__content {
  max-width: 620px;
  padding-inline-start: clamp(1rem, 5vw, 5rem) !important
}

.alfa-shop-home-about__content .about-title {
  max-width: 600px;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  color: var(--primary);
  font-size: clamp(3rem, 5.3vw, 5.25rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em
}

.alfa-shop-home-about__description {
  max-width: 580px;
  margin: 0;
  color: #111;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.62
}

.alfa-shop-home-about__media {
  min-height: clamp(390px, 36vw, 560px)
}

.alfa-shop-home-about__media .about-media-box {
  position: relative;
  height: clamp(390px, 36vw, 560px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--primary);
  clip-path: polygon(0 0, 49% 0, 49% 25%, 100% 25%, 100% 100%, 25% 100%, 25% 70%, 0 70%)
}

.alfa-shop-home-about__media .about-media-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--primary) 72%, #111);
  mix-blend-mode: multiply;
  pointer-events: none
}

.alfa-shop-home-about__media .about-media-box>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.alfa-shop-home-about__media .about-play-btn {
  display: none
}

.alfa-shop-home-about__action {
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 80px;
  padding: .65rem .75rem .65rem 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #111;
  font-size: clamp(.9rem, 1.2vw, 1.15rem);
  text-decoration: none;
  backdrop-filter: blur(10px)
}

.alfa-shop-home-about__action i {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #111;
  font-size: 15px;
  transition: transform .3s ease
}

.alfa-shop-home-about__action:hover i {
  transform: scale(1.08)
}

.about-popup-content video {
  display: block;
  width: min(90vw, 1100px);
  max-height: 80vh;
  background: #000
}

.alfa-shop-wholesale {
  min-height: 560px;
  display: flex;
  align-items: end;
  margin-block: clamp(3rem, 7vw, 7rem);
  padding: clamp(2rem, 6vw, 6rem);
  border-radius: var(--alfa-radius);
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .15)), var(--section-image) center/cover;
  color: #fff
}

.alfa-shop-wholesale>div {
  max-width: 620px
}

.alfa-shop-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem
}

.alfa-shop-highlights article {
  padding: 2rem;
  border: 1px solid #dedbd5;
  border-radius: var(--alfa-radius)
}

.alfa-shop-final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 476px;
  text-align: center;
  margin-block: clamp(3rem, 8vw, 8rem);
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  border-radius: 44px;
  background: #a29dce;
  box-shadow: 0 24px 58px rgba(75, 70, 125, .18);
  color: #fff
}

.alfa-shop-final-cta::before,
.alfa-shop-final-cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  pointer-events: none
}

.alfa-shop-final-cta::before {
  inset-block-start: -84px;
  inset-inline-end: -2px
}

.alfa-shop-final-cta::after {
  inset-block-end: -145px;
  inset-inline-start: -100px;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .055)
}

.alfa-shop-final-cta__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover
}

.alfa-shop-final-cta__content {
  position: relative;
  z-index: 2;
  width: min(100%, 1100px)
}

.alfa-shop-final-cta__content h2 {
  margin: 0 0 1.6rem;
  color: #fff;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em
}

.alfa-shop-final-cta__content p {
  max-width: 920px;
  margin: 0 auto 2.75rem;
  color: #fff;
  font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  font-weight: 500;
  line-height: 1.65
}

.alfa-shop-final-cta__content .tf-btn {
  min-width: 160px;
  min-height: 60px;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #9791ca !important;
  box-shadow: 0 18px 36px rgba(73, 67, 121, .2);
  font-weight: 800;
  text-transform: uppercase
}

.alfa-shop-final-cta__content .tf-btn:hover {
  color: #756fa8 !important;
  box-shadow: 0 20px 40px rgba(73, 67, 121, .28);
  transform: translateY(-2px)
}

[dir=rtl] .alfa-shop-final-cta__content h2 {
  font-family: "Almarai", sans-serif;
  letter-spacing: 0
}

.alfa-shop-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem
}

.alfa-shop-cta,
.woocommerce a.button,
.woocommerce button.button {
  border-radius: 999px !important;
  padding: .9rem 1.35rem !important
}

.alfa-shop-nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--alfa-red);
  color: #fff;
  font-size: .75rem
}

[dir=rtl] .alfa-shop-section__head {
  text-align: right
}

@media(max-width:991px) {
  .alfa-shop-home-about__grid>.row {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .alfa-shop-home-about__content {
    max-width: 680px;
    padding-inline: 0 !important
  }

  .alfa-shop-home-about__media,
  .alfa-shop-home-about__media .about-media-box {
    min-height: clamp(380px, 70vw, 540px);
    height: clamp(380px, 70vw, 540px)
  }
}

@media(max-width:768px) {
  .alfa-shop-slide {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05)), var(--hero-mobile)
  }

  .alfa-shop-entry,
  .alfa-shop-story {
    grid-template-columns: 1fr
  }

  .alfa-shop-home-about {
    padding-block: 4rem
  }

  .alfa-shop-home-about::before,
  .alfa-shop-home-about::after {
    display: none
  }

  .alfa-shop-home-about__grid>.row {
    gap: 2.25rem
  }

  .alfa-shop-home-about__media,
  .alfa-shop-home-about__media .about-media-box {
    min-height: clamp(320px, 92vw, 450px);
    height: clamp(320px, 92vw, 450px)
  }

  .alfa-shop-home-about__action {
    inset-inline: 1rem;
    justify-content: space-between;
    min-height: 64px;
    padding: .5rem .5rem .5rem 1.25rem
  }

  .alfa-shop-home-about__action i {
    width: 48px;
    height: 48px
  }

  .alfa-shop-story {
    min-height: 0
  }

  .alfa-shop-story img {
    max-height: 360px
  }

  .alfa-shop-entry article {
    min-height: 280px
  }

  .alfa-shop-section__head {
    align-items: start;
    flex-direction: column
  }

  .alfa-shop-highlights {
    grid-template-columns: 1fr
  }

  .alfa-shop-final-cta {
    min-height: 390px;
    padding: 3.5rem 1.25rem;
    border-radius: 30px
  }

  .alfa-shop-final-cta__content h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.35rem, 11vw, 3.5rem)
  }

  .alfa-shop-final-cta__content p {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.55
  }

  .alfa-shop-final-cta__content .tf-btn {
    min-width: 145px;
    min-height: 54px
  }
}

@media(prefers-reduced-motion:no-preference) {
  [data-alfa-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease
  }

  [data-alfa-reveal].is-visible {
    opacity: 1;
    transform: none
  }

  .alfa-shop-entry article {
    transition: transform .35s ease
  }

  .alfa-shop-entry article:hover {
    transform: translateY(-6px)
  }
}

@media(prefers-reduced-motion:reduce) {
  [data-alfa-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
  }
}

/* Native WooCommerce catalogue and product detail presentation. */
.alfa-commerce {
  background: #fff;
  color: var(--alfa-ink);
  overflow: hidden
}

.alfa-commerce .container {
  width: min(100% - 2rem, 1320px);
  max-width: 1320px;
  margin-inline: auto
}

.alfa-commerce-hero {
  padding: clamp(8rem, 13vw, 12rem) 0 clamp(3rem, 6vw, 6rem);
  background: linear-gradient(135deg, #f8f4ef, #eee8e0)
}

.alfa-commerce-hero h1 {
  max-width: 900px;
  margin: .35rem 0 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .92;
  font-weight: 500
}

.alfa-commerce-eyebrow {
  margin: 0;
  color: var(--alfa-red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase
}

.alfa-commerce .woocommerce-breadcrumb {
  margin: 0 0 2rem;
  color: #6f6b66;
  font-size: .82rem
}

.alfa-commerce .woocommerce-breadcrumb a {
  color: inherit
}


.alfa-commerce-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3rem;
  margin-bottom: 2rem
}

.alfa-commerce-toolbar .woocommerce-result-count,
.alfa-commerce-toolbar .woocommerce-ordering {
  float: none;
  margin: 0
}

.alfa-commerce-toolbar select {
  min-height: 46px;
  padding: .65rem 2.5rem .65rem 1rem;
  border: 1px solid #dedbd5;
  border-radius: 999px;
  background: #fff
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: 0 !important
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important
}

.woocommerce ul.products li.product.alfa-product-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important
}

.alfa-product-card__inner {
  height: 100%;
  display: flex;
  flex-direction: column
}

.alfa-product-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--alfa-radius);
  background: #f5f2ed
}

.woocommerce ul.products li.product .alfa-product-card__image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1)
}

.alfa-product-card__image:hover img {
  transform: scale(1.035)
}

.alfa-product-card__badge {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--alfa-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700
}

.alfa-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem .15rem .25rem
}

.alfa-product-card__category {
  min-height: 1.3em;
  color: #8b8680;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.alfa-product-card__category a {
  color: inherit
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: .35rem 0 .5rem !important;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem) !important;
  line-height: 1.25
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  color: var(--alfa-ink)
}

.woocommerce ul.products li.product .price {
  margin: 0 0 1rem !important;
  color: var(--alfa-red) !important;
  font-size: 1rem !important;
  font-weight: 700 !important
}

.alfa-product-card__actions {
  margin-top: auto
}

.alfa-product-card__actions>.button {
  width: 100%;
  text-align: center
}

.alfa-product-card__actions .alfa-quote-action {
  margin: 0
}

.alfa-product-card__actions .alfa-package {
  font-size: .8rem
}

.woocommerce nav.woocommerce-pagination {
  margin-top: clamp(3rem, 6vw, 6rem)
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0 !important;
  display: flex;
  justify-content: center;
  gap: .5rem
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0 !important
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 !important;
  border-radius: 50%
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--alfa-red) !important;
  color: #fff !important
}

.alfa-product-single {
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 8rem)
}

.alfa-product-single__crumbs {
  margin-bottom: 2rem
}

.alfa-product-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start
}

.alfa-product-single__visual {
  position: sticky;
  top: 7rem;
  aspect-ratio: 4/5;
  border-radius: var(--alfa-radius);
  overflow: hidden;
  background: #f5f2ed
}

.alfa-product-single__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.alfa-product-single__summary {
  padding-block: clamp(1rem, 4vw, 4rem)
}

.alfa-product-single__category {
  color: var(--alfa-red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase
}

.alfa-product-single__category a {
  color: inherit
}

.alfa-product-single__summary h1 {
  margin: .65rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  line-height: .98;
  font-weight: 500
}

.alfa-product-single__sku {
  color: #827d77;
  font-size: .83rem
}

.alfa-product-single__price {
  margin: 1.5rem 0;
  color: var(--alfa-red);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700
}

.alfa-product-single__intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #55514d
}

.alfa-product-single__purchase {
  margin-top: 2rem
}

.alfa-product-single__purchase form.cart {
  display: flex;
  gap: .75rem;
  align-items: stretch
}

.alfa-product-single__purchase .quantity .qty {
  height: 100%;
  min-height: 52px;
  width: 5rem;
  border: 1px solid #d7d2cc;
  border-radius: 999px
}

.alfa-product-single__purchase .single_add_to_cart_button {
  flex: 1
}

.alfa-product-description,
.alfa-related-products {
  margin-top: clamp(4rem, 9vw, 9rem);
  padding-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid #e4e0db
}

.alfa-product-description {
  display: grid;
  grid-template-columns: .35fr .65fr;
  gap: clamp(2rem, 6vw, 6rem)
}

.alfa-product-description h2,
.alfa-related-products>h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500
}

.alfa-product-description p {
  line-height: 1.8
}

@media(max-width:1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .alfa-product-single__layout {
    gap: 3rem
  }
}

@media(max-width:768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .alfa-commerce-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem
  }

  .alfa-product-single__layout,
  .alfa-product-description {
    grid-template-columns: 1fr
  }

  .alfa-product-single__visual {
    position: relative;
    top: auto
  }

  .alfa-product-single__summary {
    padding-block: 1rem
  }
}

@media(max-width:480px) {
  .alfa-commerce .container {
    width: min(100% - 1.25rem, 1320px)
  }

  .woocommerce ul.products {
    gap: 1.25rem .7rem
  }

  .alfa-product-card__image {
    border-radius: 12px
  }

  .alfa-product-card__content {
    padding-top: .8rem
  }

  .alfa-product-card__actions>.button {
    padding: .7rem .5rem !important;
    font-size: .75rem
  }

  .alfa-product-single__purchase form.cart {
    align-items: stretch;
    flex-direction: column
  }

  .alfa-product-single__purchase .quantity .qty {
    width: 100%
  }
}

/* Complete native WooCommerce storefront, fitted to the existing Alfa system. */
.alfa-commerce-hero .woocommerce-product-search {
  display: flex;
  max-width: 560px;
  margin-top: 2rem
}

.alfa-commerce-hero .search-field {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: .8rem 1.1rem;
  border: 1px solid #d7d2cc;
  border-radius: 999px 0 0 999px
}

.alfa-commerce-hero .woocommerce-product-search button {
  min-height: 50px;
  padding: .8rem 1.4rem;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--alfa-red);
  color: #fff
}

.alfa-product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem
}

.alfa-product-card__actions .added_to_cart {
  grid-column: 1/-1;
  text-align: center
}

.alfa-product-card__actions .alfa-quote-action {
  grid-column: 1/-1
}

.alfa-product-card__actions--quotation,
.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions.alfa-product-card__actions--quotation {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start
}

.alfa-product-card__actions--quotation>.button,
.alfa-product-card__actions--quotation .alfa-quote-action,
.alfa-product-card__actions--quotation .alfa-add-quote {
  width: 100%
}

.alfa-product-card__actions--quotation>.button {
  grid-column: 1
}

.alfa-product-card__actions--quotation .alfa-quote-action {
  grid-column: 2
}

.alfa-product-card__actions--quotation .alfa-view-product--primary,
.alfa-product-card__actions--quotation .alfa-add-quote {
  border-color: #9f9aca !important;
  background: #9f9aca !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(117, 111, 168, .2)
}

.alfa-product-card__actions--quotation .alfa-view-product--primary:hover,
.alfa-product-card__actions--quotation .alfa-add-quote:hover {
  border-color: #756fa8 !important;
  background: #756fa8 !important;
  color: #fff !important
}

.alfa-product-card__actions--quotation .alfa-quote-package-selector {
  display: grid;
  gap: .45rem;
  width: 100%;
  margin-top: .15rem
}

.alfa-product-card__actions--quotation .alfa-quote-package-selector[hidden] {
  display: none !important
}

.alfa-product-card__actions--quotation .alfa-quote-package-selector label {
  display: grid;
  gap: .35rem;
  margin: 0;
  font-size: .78rem;
  font-weight: 700
}

.alfa-product-card__actions--quotation .alfa-quote-package-selector input[type="number"] {
  width: 100%;
  min-height: 42px;
  padding: .55rem .7rem;
  border: 1px solid #dedbe9;
  border-radius: 10px;
  background: #fff;
  color: var(--alfa-ink);
  appearance: auto !important;
  -moz-appearance: auto !important;
  -webkit-appearance: auto !important
}

.alfa-product-card__actions--quotation .alfa-quote-package-selector input[type="number"]::-webkit-inner-spin-button,
.alfa-product-card__actions--quotation .alfa-quote-package-selector input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  -webkit-appearance: auto !important
}

.alfa-view-product {
  background: #fff !important;
  color: var(--alfa-ink) !important;
  border: 1px solid #d7d2cc !important
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .alfa-view-product.alfa-view-product--primary {
  border-color: #9f9aca !important;
  background: #9f9aca !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(117, 111, 168, .2)
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .alfa-view-product.alfa-view-product--primary:hover {
  border-color: #756fa8 !important;
  background: #756fa8 !important;
  color: #fff !important
}

.alfa-native-product {
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 8rem)
}

.alfa-native-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: clamp(2rem, 7vw, 7rem)
}

.alfa-native-product div.product .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  margin: 0 !important
}

.alfa-native-product div.product .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-block: clamp(1rem, 4vw, 4rem)
}

.alfa-native-product div.product .product_title {
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  line-height: .98;
  font-weight: 500
}

.alfa-native-product div.product .price {
  color: var(--alfa-red);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700
}

.alfa-native-product div.product form.cart {
  display: flex;
  gap: .75rem;
  align-items: stretch
}

.alfa-native-product div.product form.cart.variations_form {
  display: block
}

.alfa-native-product .quantity .qty {
  min-height: 52px;
  border: 1px solid #d7d2cc;
  border-radius: 999px
}

.alfa-native-product .single_add_to_cart_button {
  min-height: 52px
}

.alfa-native-product .woocommerce-tabs,
.alfa-native-product .related,
.alfa-native-product .upsells {
  grid-column: 1/-1;
  padding-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid #e4e0db
}

.alfa-native-product .woocommerce-product-gallery__image img {
  border-radius: var(--alfa-radius)
}

.alfa-native-product table.variations {
  margin-bottom: 1rem
}

.alfa-native-product table.variations th,
.alfa-native-product table.variations td {
  padding: .5rem
}

.alfa-native-product table.variations select {
  min-height: 46px;
  border: 1px solid #d7d2cc;
  border-radius: 12px
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  width: min(100% - 2rem, 1320px);
  margin-inline: auto;
  padding-block: clamp(8rem, 12vw, 11rem) clamp(4rem, 8vw, 8rem)
}

.woocommerce table.shop_table {
  border-color: #dedbd5 !important;
  border-radius: var(--alfa-radius) !important
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem !important
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: min(100%, 520px) !important
}

.alfa-continue-shopping {
  margin-top: 1rem
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: minmax(200px, .25fr) 1fr;
  gap: 2rem
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #dedbd5;
  border-radius: var(--alfa-radius);
  overflow: hidden
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid #dedbd5
}

@media(max-width:768px) {

  .alfa-native-product div.product,
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr
  }

  .alfa-native-product div.product form.cart {
    flex-wrap: wrap
  }

  .alfa-product-card__actions {
    grid-template-columns: 1fr
  }

  .alfa-product-card__actions .alfa-quote-action {
    grid-column: 1
  }

  .woocommerce table.shop_table_responsive tr td {
    padding: .8rem !important
  }
}

@media(max-width:480px) {
  .alfa-product-card__actions>.button {
    font-size: .72rem
  }

  .alfa-native-product div.product form.cart {
    flex-direction: column
  }

  .alfa-native-product .quantity .qty {
    width: 100%
  }
}

.alfa-store-page {
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 8rem)
}

.alfa-store-page>.container {
  width: min(100% - 2rem, 1320px);
  max-width: 1320px;
  margin-inline: auto
}

.alfa-store-page .entry-title {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  font-size: clamp(2.5rem, 6vw, 5rem)
}

.alfa-store-page .woocommerce {
  width: 100%;
  margin-inline: auto;
  padding-block: 0
}

/* WooCommerce behavior inside the original Alfa single-product components. */
.section-product-single .product-price {
  margin: 1rem 0;
  color: var(--alfa-red);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700
}

.section-product-single .alfa-product-attributes {
  margin-block: 1.5rem
}

.section-product-single .woocommerce-product-attributes {
  width: 100%;
  margin: 0
}

.section-product-single .woocommerce-product-attributes th,
.section-product-single .woocommerce-product-attributes td {
  padding: .85rem 1rem;
  border-bottom: 1px solid #dedbd5;
  text-align: start
}

.section-product-single .alfa-product-purchase {
  margin-top: 1.75rem
}

.section-product-single .alfa-product-purchase form.cart {
  display: flex;
  align-items: stretch;
  gap: .75rem;
  margin: 0
}

.section-product-single .alfa-product-purchase form.variations_form {
  display: block
}

.section-product-single .alfa-product-purchase .quantity .qty {
  width: 5rem;
  min-height: 52px;
  border: 1px solid #d7d2cc;
  border-radius: 999px
}

.section-product-single .alfa-product-purchase .single_add_to_cart_button {
  min-height: 52px
}

.section-product-single .variations {
  width: 100%;
  margin-bottom: 1rem
}

.section-product-single .variations th,
.section-product-single .variations td {
  padding: .5rem;
  text-align: start
}

.section-product-single .variations select {
  min-height: 46px;
  padding: .5rem;
  border: 1px solid #d7d2cc;
  border-radius: 12px
}

.alfa-wc-product-gallery .swiper-slide img,
.alfa-wc-product-gallery>img {
  display: block;
  width: 100%;
  height: auto
}

.alfa-product-full-description .product-description {
  font-size: 1.05rem;
  line-height: 1.8
}

.alfa-related-products .price-product {
  display: block;
  margin-top: .45rem;
  color: var(--alfa-red);
  font-weight: 700
}

@media(max-width:480px) {
  .section-product-single .alfa-product-purchase form.cart {
    flex-direction: column
  }

  .section-product-single .alfa-product-purchase .quantity .qty {
    width: 100%
  }
}

.alfa-shop-search form {
  display: flex;
  align-items: center
}

.alfa-shop-search input[type=search] {
  width: clamp(7rem, 10vw, 10rem);
  min-height: 36px;
  padding: .4rem .75rem;
  border: 1px solid #dedbd5;
  border-radius: 999px;
  font-size: .8rem
}

.box-nav-menu>.alfa-shop-search {
  display: flex;
  align-items: center
}

.box-nav-menu .alfa-shop-nav-badge {
  margin-inline-start: .25rem
}

@media(max-width:1500px) {

  .box-nav-menu>.menu-item .item-link,
  .box-nav-menu>li>.item-link {
    font-size: .78rem
  }

  .alfa-shop-search input[type=search] {
    width: 7rem
  }
}

.alfa-shop-footer-links {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 1rem 0
}

.alfa-shop-footer-links .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.5rem
}

.alfa-shop-footer-links a {
  color: inherit;
  text-decoration: none
}

.alfa-shop-footer-links a:hover {
  text-decoration: underline
}

/* Storefront pages extend the existing Alfa spacing, cards and buttons. */
.alfa-shop-navigation {
  align-items: center
}

.alfa-shop-navigation .item-link {
  display: flex;
  align-items: center;
  gap: .4rem
}

.alfa-shop-navigation .alfa-shop-header-action-item {
  display: flex;
  align-items: center
}

.alfa-shop-navigation .alfa-shop-header-action {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary, #9f9aca) 10%, transparent);
  color: #111 !important;
  line-height: 1;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease
}

.alfa-shop-navigation .alfa-shop-header-action::before,
.alfa-shop-navigation .alfa-shop-header-action::after {
  display: none !important
}

.alfa-shop-navigation .alfa-shop-header-action i {
  color: #111;
  font-size: 17px
}

.alfa-shop-navigation .alfa-shop-header-action:hover,
.alfa-shop-navigation .alfa-shop-header-action:focus-visible {
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 45%, transparent)
}

.alfa-shop-navigation .alfa-shop-header-action .alfa-shop-nav-badge,
.alfa-shop-mobile-action>[data-alfa-quote-count],
.alfa-shop-mobile-action>[data-alfa-cart-count] {
  position: absolute;
  display: inline-grid;
  place-items: center;
  inset-block-start: -5px;
  inset-inline-end: -5px;
  min-width: 19px;
  height: 19px;
  margin: 0;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  line-height: 15px
}

.mobile-nav-menu .alfa-shop-mobile-action-item {
  display: inline-flex;
  width: auto;
  margin-inline-end: .75rem
}

.mobile-nav-menu .alfa-shop-mobile-action {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #111
}

.mobile-nav-menu .alfa-shop-mobile-action i {
  color: #111;
  font-size: 17px
}

.alfa-shop-content-page {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 4rem)
}

.alfa-shop-page-intro {
  margin-top: clamp(3rem, 7vw, 7rem)
}

.alfa-shop-quotation {
  padding-bottom: clamp(4rem, 8vw, 8rem)
}

.alfa-shop-quotation__form {
  width: min(100%, 1360px);
  margin: 0 auto
}

.alfa-shop-quotation__form>.alfa-quotation-form:not([hidden]) {
  margin-top: clamp(1.5rem, 4vw, 3rem)
}

.alfa-quote-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 680px);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center
}

.alfa-quote-empty__icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary, #9f9aca) 10%, transparent);
  color: var(--primary, #9f9aca);
  font-size: 2.75rem
}

.alfa-quote-empty h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.65rem, 4vw, 2.5rem)
}

.alfa-quote-empty p {
  max-width: 540px;
  margin: 0 0 1.75rem;
  color: #686575;
  line-height: 1.7
}

.alfa-quote-basket .alfa-table-wrap {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  border: 1px solid #e5e2ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(41, 41, 54, .07)
}

.alfa-quote-basket table {
  table-layout: auto
}

.alfa-quote-basket th {
  background: color-mix(in srgb, var(--primary, #9f9aca) 10%, #fff);
  color: #292936;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap
}

.alfa-quote-basket td {
  vertical-align: middle
}

.alfa-quote-basket td:first-child {
  min-width: 220px
}

.alfa-quote-basket td:first-child img {
  margin-inline-end: .75rem;
  border-radius: 10px
}

.alfa-quote-basket .alfa-quote-qty {
  width: 90px;
  max-width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid #dcd8e7;
  border-radius: 10px;
  background: #fff;
  color: var(--alfa-ink);
  appearance: auto !important;
  -moz-appearance: auto !important;
  -webkit-appearance: auto !important
}

.alfa-quote-basket .alfa-quote-qty::-webkit-inner-spin-button,
.alfa-quote-basket .alfa-quote-qty::-webkit-outer-spin-button {
  opacity: 1;
  -webkit-appearance: auto !important
}

.alfa-quote-row-actions {
  display: flex;
  align-items: center;
  gap: .65rem
}

.alfa-quote-row-actions .alfa-update-quote {
  white-space: nowrap
}

.alfa-quote-row-message {
  display: block;
  min-height: 1.4em;
  margin-top: .4rem;
  color: #287a4b;
  font-size: .78rem
}

.alfa-shop-quotation .wpcf7 {
  width: 100%
}

.alfa-shop-quotation .wpcf7-form {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(41, 41, 54, .07)
}

.alfa-shop-quotation .wpcf7-form>p,
.alfa-shop-quotation .wpcf7-form>label {
  min-width: 0;
  margin: 0
}

.alfa-shop-quotation .wpcf7-form>p {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem
}

.alfa-shop-quotation .wpcf7-form label {
  display: grid;
  gap: .5rem;
  color: #292936;
  font-weight: 700
}

.alfa-shop-quotation .wpcf7-form-control-wrap,
.alfa-shop-quotation .wpcf7-form-control:not(.wpcf7-submit) {
  display: block;
  width: 100%;
  min-width: 0
}

.alfa-shop-quotation .wpcf7 input:not([type="submit"]),
.alfa-shop-quotation .wpcf7 textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem 1rem;
  border: 1px solid #dcd8e7;
  border-radius: 12px;
  background: #fff
}

.alfa-shop-quotation .wpcf7 textarea {
  min-height: 140px;
  resize: vertical
}

.alfa-shop-quotation .wpcf7-form>p:has(textarea),
.alfa-shop-quotation .wpcf7-form>label:has(textarea),
.alfa-shop-quotation .wpcf7-form>p>label:has(textarea),
.alfa-shop-quotation .wpcf7-form>p>.wpcf7-submit,
.alfa-shop-quotation .wpcf7-response-output {
  grid-column: 1/-1
}

@media (max-width: 767px) {
  .alfa-shop-quotation .wpcf7-form>p {
    grid-template-columns: minmax(0, 1fr)
  }

  .alfa-shop-quotation .wpcf7-form>p:has(textarea),
  .alfa-shop-quotation .wpcf7-form>label:has(textarea),
  .alfa-shop-quotation .wpcf7-response-output {
    grid-column: 1
  }

  .alfa-quote-basket table,
  .alfa-quote-basket tbody,
  .alfa-quote-basket tr,
  .alfa-quote-basket td {
    display: block;
    width: 100%
  }

  .alfa-quote-basket thead {
    display: none
  }

  .alfa-quote-basket tr {
    padding: 1rem
  }

  .alfa-quote-basket td,
  .alfa-quote-basket td:first-child {
    min-width: 0;
    padding: .65rem;
    border: 0
  }

  .alfa-quote-row-actions {
    justify-content: space-between
  }
}

.alfa-shop-b2b .products {
  margin-top: 2rem
}

.alfa-product-tabs {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  margin-bottom: 2rem;
  padding-bottom: .5rem;
  scrollbar-width: thin
}

.alfa-product-tabs button {
  flex: 0 0 auto;
  padding: .75rem 1.25rem;
  border: 1px solid #dedbd5;
  border-radius: 999px;
  background: #fff;
  color: var(--alfa-ink);
  cursor: pointer
}

.alfa-product-tabs button:hover,
.alfa-product-tabs button.is-active {
  border-color: var(--alfa-red);
  background: var(--alfa-red);
  color: #fff
}

.alfa-product-tab-panel[hidden] {
  display: none !important
}

.alfa-product-tab-panel {
  animation: alfa-shop-tab-in .3s ease both
}

@keyframes alfa-shop-tab-in {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.alfa-shop-b2c-products {
  --white: #ffffff;
  --black: #000000;
  --primary-linear: linear-gradient(90deg, #dddbec 0%, #9f9aca 50%, #ffffff 100%);
  padding-inline: 0;
}

.alfa-shop-b2c-products .container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

.alfa-shop-b2c-products__head {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.alfa-shop-b2c-products__head h2 {
  margin: .55rem 0 .75rem;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
}

.alfa-shop-b2c-products__description {
  margin: 0;
  color: #5e6070;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.alfa-shop-b2c-parent-tabs,
.alfa-shop-b2c-tabs {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  pointer-events: auto;
}

.alfa-shop-b2c-parent-tabs {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: .38rem;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(44, 40, 72, .08);
}

.alfa-shop-b2c-tabs {
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.alfa-shop-b2c-parent-tabs button,
.alfa-shop-b2c-tabs button {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.alfa-shop-b2c-parent-tabs button {
  padding: .75rem 1.4rem;
  border: 0;
  background: transparent;
  color: #292936;
  font-weight: 700;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}

.alfa-shop-b2c-tabs button {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: var(--white);
  color: #292936;
  box-shadow: 0 6px 20px rgba(44, 40, 72, .04);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.alfa-shop-b2c-tabs button:hover {
  border-color: #9f9aca;
  box-shadow: 0 8px 22px rgba(86, 78, 145, .13);
  transform: translateY(-2px);
}

.alfa-shop-b2c-parent-tabs button.is-active {
  background: #9f9aca;
  color: var(--white);
  box-shadow: 0 8px 18px rgba(86, 78, 145, .2);
}

.alfa-shop-b2c-tabs button.is-active {
  border-color: transparent;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(86, 78, 145, .18);
}

.alfa-shop-b2c-parent-tabs button:focus-visible,
.alfa-shop-b2c-tabs button:focus-visible {
  outline: 2px solid #9f9aca;
  outline-offset: 3px;
}

.alfa-shop-b2c-category-panel[hidden],
.alfa-shop-b2c-panel[hidden] {
  display: none !important;
}

.alfa-shop-b2c-category-panel,
.alfa-shop-b2c-panel {
  opacity: 1;
  transform: translateY(0);
  animation: alfa-shop-tab-in .3s ease both;
  transition: opacity .28s ease, transform .28s ease;
}

.alfa-shop-b2c-category-panel.is-entering,
.alfa-shop-b2c-panel.is-entering {
  opacity: 0;
  transform: translateY(10px);
}

/* B2C product cards. */
.alfa-shop-b2c-taxonomy-products {
  --b2c-purple: #756fa8;
}

.alfa-shop-b2c-taxonomy-products .alfa-shop-b2c-parent-tabs button.is-active {
  border-color: transparent;
  background: var(--primary);
  color: var(--white);
}

.alfa-shop-b2c-taxonomy-products.woocommerce ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.alfa-shop-b2c-taxonomy-products.woocommerce ul.products li.product.alfa-product-card {
  display: flex;
  min-width: 0;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__inner {
  width: 100%;
  min-height: 405px;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(35, 31, 61, .045);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__inner:hover {
  border-color: #e2dfef;
  box-shadow: 0 12px 28px rgba(52, 46, 91, .11);
  transform: translateY(-4px);
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__image {
  display: flex;
  flex: 0 0 270px;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: var(--white);
}

.alfa-shop-b2c-taxonomy-products.woocommerce ul.products li.product .alfa-product-card__image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__image:hover img {
  transform: scale(1.025);
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__content {
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  padding: 7px 10px 9px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__category {
  display: none;
}

.alfa-shop-b2c-taxonomy-products.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 2.5em;
  margin: 0;
  padding: 0 2px 2px !important;
  overflow: hidden;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem) !important;
  font-weight: 600 !important;
  line-height: 1.25;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.alfa-shop-b2c-taxonomy-products.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  color: #161620;
}

.alfa-shop-b2c-taxonomy-products.woocommerce ul.products li.product .price {
  min-height: 1.25em;
  margin: 0 0 4px !important;
  color: var(--b2c-purple) !important;
  font-size: clamp(12px, 1vw, 15px) !important;
  font-weight: 700 !important;
  line-height: 1.25;
  text-align: center;
}

.alfa-shop-b2c-taxonomy-products.woocommerce ul.products li.product .price:empty {
  display: none;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 8px;
  margin-top: 3px;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions>.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 34px;
  margin: 0;
  padding: 7px 9px !important;
  border-radius: 999px !important;
  font-size: 18px!important;
  font-weight: 400 !important;
  line-height: 1.15;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions>.button:only-child {
  grid-column: 1 / -1;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions>.button:hover {
  box-shadow: 0 9px 20px rgba(63, 56, 106, .15);
  transform: translateY(-2px);
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .add_to_cart_button,
.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .alfa-view-product {
  border: 1px solid #9f9aca !important;
  background: #9f9aca !important;
  color: #211f2b !important;
  box-shadow: 0 6px 16px rgba(117, 111, 168, .2);
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .add_to_cart_button:hover,
.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .alfa-view-product:hover {
  border-color: #756fa8 !important;
  background: #756fa8 !important;
  color: var(--white) !important;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .add_to_cart_button::before,
.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .alfa-view-product::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 18px;
  font-weight: 900;
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .add_to_cart_button::before {
  content: "\f07a";
}

.alfa-shop-b2c-taxonomy-products .alfa-product-card__actions .alfa-view-product::before {
  content: "\f06e";
}

@media (max-width: 1199px) {
  .alfa-shop-navigation {
    gap: .6rem !important;
  }

  .alfa-shop-navigation .item-link {
    font-size: .78rem !important;
  }
}

@media (max-width: 1024px) {
  .alfa-shop-b2c-tabs button {
    flex: 0 0 calc((100% - 1.5rem) / 3);
  }

  .alfa-shop-b2c-taxonomy-products.woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alfa-shop-b2c-taxonomy-products .alfa-product-card__image {
    flex-basis: 255px;
    min-height: 255px;
  }
}

@media (max-width: 600px) {
  .alfa-shop-b2c-tabs button {
    flex: 0 0 calc((100% - 8px) / 2);
  }

  .alfa-shop-b2c-taxonomy-products.woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .alfa-shop-b2c-taxonomy-products .alfa-product-card__inner {
    min-height: 430px;
  }

  .alfa-shop-b2c-taxonomy-products .alfa-product-card__image {
    flex-basis: 300px;
    min-height: 300px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .alfa-shop-b2c-category-panel,
  .alfa-shop-b2c-panel,
  .alfa-shop-b2c-taxonomy-products .alfa-product-card__inner,
  .alfa-shop-b2c-taxonomy-products .alfa-product-card__actions>.button {
    transition: none;
  }
}

/* Cart page */
.woocommerce-cart .alfa-store-page {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  background: #faf9fc;
}

.woocommerce-cart .alfa-store-page > .container {
  width: min(100% - 2rem, 1320px);
}

.woocommerce-cart .entry-content > .woocommerce {
  padding-block: 0;
}

.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals {
  overflow: hidden;
  border: 1px solid #eceaf0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(42, 36, 74, .07);
}

.woocommerce-cart form.woocommerce-cart-form {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.woocommerce-cart table.shop_table {
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-cart table.shop_table th {
  padding: 1rem !important;
  border-bottom: 1px solid #eceaf0;
  color: #5e5a68;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.woocommerce-cart table.shop_table td {
  padding: 1rem !important;
  border-top: 0;
  border-bottom: 1px solid #f0eef3;
  vertical-align: middle !important;
}

.woocommerce-cart table.shop_table tbody tr:last-of-type td {
  border-bottom: 0;
}

.woocommerce-cart td.product-thumbnail {
  width: 116px;
}

.woocommerce-cart .alfa-cart-product-image {
  display: block;
  width: 96px;
  height: 112px;
  margin: 0;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  background: #f7f6f9;
}

.woocommerce-cart td.product-name a {
  color: #1d1b24;
  font-size: 1rem;
  font-weight: 600;
}

.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal {
  color: #756fa8;
  font-weight: 700;
}

.woocommerce-cart .quantity .qty {
  width: 76px;
  min-height: 44px;
  padding: .45rem .55rem;
  border: 1px solid #ddd9e7;
  border-radius: 999px;
  background: #ffffff;
  text-align: center;
}

.woocommerce-cart a.remove {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #eadcdf;
  border-radius: 50%;
  background: #fff8f9;
  color: #b85b68 !important;
  font-size: 1.1rem;
  line-height: 1;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.woocommerce-cart a.remove:hover {
  border-color: #b85b68;
  background: #b85b68;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.woocommerce-cart td.actions {
  padding-top: 1.25rem !important;
}

.woocommerce-cart td.actions .coupon {
  display: flex;
  gap: .65rem;
}

.woocommerce-cart td.actions .coupon .input-text {
  min-width: min(260px, 38vw);
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid #ddd9e7;
  border-radius: 999px;
  background: #ffffff;
}

.woocommerce-cart .button:not(.remove),
.woocommerce-cart .checkout-button {
  min-height: 48px;
  padding: .78rem 1.35rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #9f9aca !important;
  color: #211f2b !important;
  font-weight: 400 !important;
  text-align: center;
  text-shadow: 0 1px 2px rgba(35, 31, 61, .22);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.woocommerce-cart .button:not(.remove):hover,
.woocommerce-cart .checkout-button:hover {
  box-shadow: 0 10px 24px rgba(86, 78, 145, .2);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.woocommerce-cart .cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: min(100%, 520px) !important;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 500;
}

.woocommerce-cart .cart-collaterals table.shop_table th,
.woocommerce-cart .cart-collaterals table.shop_table td {
  padding: .9rem 0 !important;
  border-bottom: 1px solid #f0eef3;
  text-transform: none;
  letter-spacing: normal;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding: 1.25rem 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.woocommerce-cart .alfa-continue-shopping {
  margin-top: 1rem;
  text-align: end;
}

@media (max-width: 768px) {
  .woocommerce-cart form.woocommerce-cart-form {
    padding: .75rem;
  }

  .woocommerce-cart table.shop_table_responsive tr {
    margin-bottom: 1rem;
    padding: .75rem;
    border: 1px solid #eceaf0;
    border-radius: 16px;
  }

  .woocommerce-cart table.shop_table_responsive tr td {
    min-height: 48px;
    padding: .75rem !important;
  }

  .woocommerce-cart table.shop_table_responsive tr td.product-thumbnail {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .woocommerce-cart .alfa-cart-product-image {
    width: 120px;
    height: 140px;
  }

  .woocommerce-cart td.actions .coupon {
    float: none;
    flex-wrap: wrap;
    width: 100%;
  }

  .woocommerce-cart td.actions .coupon .input-text,
  .woocommerce-cart td.actions .coupon .button,
  .woocommerce-cart td.actions > .button {
    width: 100% !important;
    min-width: 0;
  }

  .woocommerce-cart td.actions > .button {
    margin-top: .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce-cart a.remove,
  .woocommerce-cart .button:not(.remove),
  .woocommerce-cart .checkout-button {
    transition: none;
  }
}

.alfa-product-card__actions--quotation>.alfa-view-product.button,
.alfa-product-card__actions--quotation .alfa-add-quote.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: .75rem 1rem !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 999px !important;
  font-size: clamp(11px, .9vw, 13px) !important;
  font-weight: 700 !important;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap
}

@media (max-width: 420px) {
  .alfa-product-card__actions--quotation,
  .alfa-shop-b2c-taxonomy-products .alfa-product-card__actions.alfa-product-card__actions--quotation {
    grid-template-columns: minmax(0, 1fr)
  }

  .alfa-product-card__actions--quotation>.button,
  .alfa-product-card__actions--quotation .alfa-quote-action {
    grid-column: 1
  }
}

/* B2C commerce primary actions: color and type only. */
.woocommerce-checkout #place_order,
.woocommerce-checkout .woocommerce-form-login .button,
.woocommerce-checkout .checkout_coupon .button,
.woocommerce-cart .return-to-shop .button,
.alfa-native-product .single_add_to_cart_button,
.section-product-single .alfa-product-purchase .single_add_to_cart_button {
  border-color: #9f9aca !important;
  background-color: #9f9aca !important;
  color: #211f2b !important;
  font-weight: 400 !important;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .woocommerce-form-login .button:hover,
.woocommerce-checkout .checkout_coupon .button:hover,
.woocommerce-cart .return-to-shop .button:hover,
.alfa-native-product .single_add_to_cart_button:hover,
.section-product-single .alfa-product-purchase .single_add_to_cart_button:hover {
  border-color: #756fa8 !important;
  background-color: #756fa8 !important;
  color: #ffffff !important;
}
