*{
  margin:0;
  padding:0;
  line-height:150%;
  box-sizing:border-box;
  font-family:var(--font-family);
}

html{
  scroll-behavior:smooth;
}

body{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  color:rgb(var(--color-primary));
  background-color:var(--color-secondary);
}
body:has(* [data-visible=true]), body:has(* [data-hidden=false]), body:has(yc-overlay[data-active]){
  overflow:hidden;
  overscroll-behavior:contain;
}
body .main-container{
  flex:2;
  order:3;
}
body #youcan-section--footer{
  order:4;
}

html{
  font-size:calc(var(--font-body-scale) * 62.5%);
}

body{
  font-size:1.6em;
}

h1,
h2,
h3,
h4,
h5,
h6{
  font-weight:normal;
}

h1,
.h1{
  font-size:calc(var(--font-heading-scale) * 4rem);
}

h2,
.h2{
  font-size:calc(var(--font-heading-scale) * 3rem);
}

h3,
.h3{
  font-size:calc(var(--font-heading-scale) * 2.4rem);
}

h4,
.h4{
  font-size:calc(var(--font-heading-scale) * 1.8rem);
}

h5,
.h5{
  font-size:calc(var(--font-heading-scale) * 1.6rem);
}

h6,
.h6{
  font-size:calc(var(--font-heading-scale) * 1.4rem);
}

@media (max-width: 768px){
  h1,
  .h1{
    font-size:calc(var(--font-heading-scale) * 3rem);
  }
  h2,
  .h2{
    font-size:calc(var(--font-heading-scale) * 2rem);
  }
  h3,
  .h3{
    font-size:calc(var(--font-heading-scale) * 1.7rem);
  }
  h4,
  .h4{
    font-size:calc(var(--font-heading-scale) * 1.5rem);
  }
  h5,
  .h5{
    font-size:calc(var(--font-heading-scale) * 1.2rem);
  }
  h6,
  .h6{
    font-size:calc(var(--font-heading-scale) * 1.1rem);
  }
}
a,
button{
  -webkit-text-decoration:none;
  text-decoration:none;
  font-size:var(--text-md);
  cursor:pointer;
  border:none;
  outline:none;
  color:rgb(var(--color-primary));
  transition:var(--transition-duration-slow);
}

select,
textarea,
input:not([type=checkbox]):not([type=radio]){
  border:none;
  outline:none;
}

ul,
ol{
  list-style:none;
}

button,
.yc-btn{
  padding:12px 25px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:var(--gap-md);
  border-radius:var(--button-border-radius);
}
button.primary,
.yc-btn.primary{
  background-color:rgb(var(--color-button));
  color:rgb(var(--color-button-text));
  border:1px solid rgb(var(--color-button));
}
button.primary:focus-visible,
.yc-btn.primary:focus-visible{
  outline-color:rgb(var(--color-button));
}
button.secondary,
.yc-btn.secondary{
  color:rgb(var(--color-secondary-button));
  background-color:transparent;
  border:1px solid color-mix(in srgb, rgb(var(--color-secondary-button)) 20%, transparent);
}
button.destructive,
.yc-btn.destructive{
  color:var(--color-base-white);
  background-color:var(--color-error-500);
}
button.link,
.yc-btn.link{
  padding:0;
  padding:initial;
  position:relative;
  color:rgb(var(--color-button-text));
}
button.link::before,
.yc-btn.link::before{
  content:"";
  opacity:0;
  height:100%;
  width:0%;
  top:50%;
  left:-12px;
  padding:5px 0;
  translate:0 -50%;
  position:absolute;
  border-radius:calc(var(--button-border-radius) * 0.66);
  transition:var(--transition-duration-normal);
  background-color:color-mix(in srgb, currentColor 5%, transparent);
}
button.tertiary,
.yc-btn.tertiary{
  padding:0.75em;
}
button.ghost,
.yc-btn.ghost{
  background-color:transparent;
}
button.icon,
.yc-btn.icon{
  padding:12px;
  color:currentColor;
  background-color:transparent;
  border:1px solid color-mix(in srgb, currentColor 20%, transparent);
}
button.icon[data-size$=sm],
.yc-btn.icon[data-size$=sm]{
  padding:8px;
  border-radius:calc(var(--button-border-radius) * 0.66);
}
button.icon[data-size$=sm] svg,
.yc-btn.icon[data-size$=sm] svg{
  width:15px;
  height:15px;
}
button.icon[data-size$=lg],
.yc-btn.icon[data-size$=lg]{
  padding:13px;
}
button[data-loading] span,
button[data-loading] svg,
.yc-btn[data-loading] span,
.yc-btn[data-loading] svg{
  color:transparent;
}
button[data-loading]::before,
.yc-btn[data-loading]::before{
  --size:18px;
  content:"";
  width:18px;
  width:var(--size);
  height:18px;
  height:var(--size);
  position:absolute;
  border:1.5px solid currentColor;
  border-bottom-color:transparent;
  border-radius:var(--radius-circle);
  animation:spin 1s linear infinite;
}
button:disabled, button[data-disabled], button[data-loading], button[aria-disabled=true],
.yc-btn:disabled,
.yc-btn[data-disabled],
.yc-btn[data-loading],
.yc-btn[aria-disabled=true]{
  opacity:0.5;
  cursor:not-allowed;
  pointer-events:none;
}
button.link:hover::before{
  opacity:1;
  width:100%;
  padding:5px 12px;
}
.yc-btn.link:hover::before{
  opacity:1;
  width:100%;
  padding:5px 12px;
}
button.ghost:hover, button.icon:hover, .yc-btn.ghost:hover, .yc-btn.icon:hover{
  background-color:color-mix(in srgb, currentColor 5%, transparent);
}
button.secondary:hover:not(:disabled){
  color:currentColor;
  border-color:rgb(var(--color-secondary-button));
  background-color:rgb(var(--color-secondary-button));
}
.yc-btn.secondary:hover:not(:disabled){
  color:currentColor;
  border-color:rgb(var(--color-secondary-button));
  background-color:rgb(var(--color-secondary-button));
}
button.primary:hover:not(:disabled){
  opacity:0.8;
}
button.destructive:hover:not(:disabled){
  opacity:0.8;
}
button.loading:hover:not(:disabled){
  opacity:0.8;
}
button.with-icon:hover:not(:disabled){
  opacity:0.8;
}
.yc-btn.primary:hover:not(:disabled){
  opacity:0.8;
}
.yc-btn.destructive:hover:not(:disabled){
  opacity:0.8;
}
.yc-btn.loading:hover:not(:disabled){
  opacity:0.8;
}
.yc-btn.with-icon:hover:not(:disabled){
  opacity:0.8;
}

a.link:not(.yc-btn):hover{
  -webkit-text-decoration:underline;
  text-decoration:underline;
}

a,
label,
button,
summary,
.yc-btn{
  outline-offset:1px;
  outline:1.5px solid transparent;
}
a:focus-visible, a:has(input:focus-visible),
label:focus-visible,
label:has(input:focus-visible),
button:focus-visible,
button:has(input:focus-visible),
summary:focus-visible,
summary:has(input:focus-visible),
.yc-btn:focus-visible,
.yc-btn:has(input:focus-visible){
  outline-color:rgb(currentColor);
  outline-color:rgb(var(--section-text-color, currentColor));
}

select,
textarea,
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search]){
  width:100%;
  padding:12px 15px;
  background-color:transparent;
  border-radius:var(--input-border-radius);
  color:rgb(var(--section-text-color, var(--color-primary)));
  border:1px solid color-mix(in srgb, currentColor 20%, transparent);
}
@media (max-width: 768px){
  select,
  textarea,
  input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search]){
    font-size:16px;
  }
}
select::-moz-placeholder, textarea::-moz-placeholder, input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search])::-moz-placeholder{
  color:color-mix(in srgb, currentColor 60%, transparent);
}
select::placeholder,
textarea::placeholder,
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search])::placeholder{
  color:color-mix(in srgb, currentColor 60%, transparent);
}
select:focus,
textarea:focus,
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search]):focus{
  border:1px solid currentColor;
}
select:disabled,
textarea:disabled,
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=search]):disabled{
  opacity:0.6;
  cursor:not-allowed;
}

textarea{
  resize:vertical;
  min-height:46px;
}

.field{
  display:flex;
  gap:var(--gap-md);
  flex-direction:column;
}
.field input,
.field textarea{
  max-height:150px;
}
.field .label,
.field label:not(.images){
  font-size:var(--text-sm);
}
.field:has(input:required) > label::after, .field:has(textarea:required) > label::after{
  content:" *";
  color:var(--color-error-500);
}

yc-section{
  display:block;
  padding-inline:10%;
  color:rgb(var(--section-text-color, var(--color-base-black)));
  background-color:var(--section-bg-color, var(--color-base-white));
  padding-block-start:var(--section-space-top);
  padding-block-end:var(--section-space-bottom);
}
yc-section > *:not(:last-child){
  margin-block-end:var(--gap-3xl);
}
yc-section[data-full]{
  padding-inline:0;
}
yc-section:not([data-full]) yc-slider[data-type=full] .slider-area .slider-box .slider-inner yc-slider-item yc-slider-content{
  padding:1.5em;
}
yc-section:not([data-full]) yc-slider[data-type=full] yc-slider-arrows[data-position=left]{
  inset-inline-start:1.5em;
}
yc-section:not([data-full]) yc-slider[data-type=full] yc-slider-arrows[data-position=right]{
  inset-inline-end:1.5em;
}
yc-section yc-section-head{
  display:grid;
  grid-gap:var(--gap-md);
  gap:var(--gap-md);
}
yc-section yc-section-head[data-position$=left]{
  text-align:start;
}
yc-section yc-section-head[data-position$=right]{
  text-align:end;
}
yc-section yc-section-head[data-position$=center]{
  text-align:center;
}
yc-section yc-section-head p{
  text-wrap:balance;
  font-size:var(--text-md);
  color:rgba(var(--section-text-color), 0.7);
}

.yc-badge{
  --badge-color:currentColor;
  padding:0.25em 0.5em;
  color:currentColor;
  color:var(--badge-color);
  background-color:color-mix(in srgb, currentColor 8%, transparent);
  font-size:var(--text-xs);
  border-radius:var(--radius-sm);
  display:flex;
  align-items:center;
  gap:4px;
}

@supports (color: color-mix(in lch, red, blue)){
.yc-badge{
  background-color:color-mix(in srgb, var(--badge-color) 8%, transparent);
}
}
.yc-badge[data-status$=success]{
  --badge-color:var(--color-success-500);
}
.yc-badge[data-status$=error]{
  --badge-color:var(--color-error-500);
}
.yc-badge[data-status$=default]{
  --badge-color:var(--color-gray-500);
}

.yc-checkbox{
  --checkbox-size:16px;
  position:relative;
  width:16px;
  width:var(--checkbox-size);
  height:16px;
  height:var(--checkbox-size);
  padding:2px;
  transition:all 0.1s ease-out;
  border:1.5px solid color-mix(in srgb, currentColor 10%, transparent);
  border-radius:calc(var(--media-gallery-border-radius) * 0.5);
  background-color:var(--section-bg-color);
  color:var(--section-text-color);
  cursor:pointer;
  -webkit-appearance:none;
     -moz-appearance:none;
          appearance:none;
}
.yc-checkbox::after{
  content:"";
  position:absolute;
  width:calc(var(--checkbox-size) + 4px);
  height:calc(var(--checkbox-size) + 4px);
  inset-inline-start:-4px;
  inset-block-start:-4px;
}
.yc-checkbox::before{
  content:"";
  position:absolute;
  left:50%;
  width:calc(var(--checkbox-size) / 5);
  height:calc(var(--checkbox-size) / 4);
  transform:translate(-50%, -60%) rotate(45deg);
  border-right:1.5px solid transparent;
  inset-block-start:50%;
  border-block-end:1.5px solid transparent;
}
.yc-checkbox:checked, .yc-checkbox:indeterminate{
  border-color:currentColor;
  background-color:currentColor;
}
.yc-checkbox:checked::before, .yc-checkbox:indeterminate::before{
  height:calc(var(--checkbox-size) / 2);
  border-color:var(--section-bg-color);
}
.yc-checkbox:checked:indeterminate::before, .yc-checkbox:indeterminate:indeterminate::before{
  width:80%;
  height:0;
  transform:translate(-50%, -50%) rotate(0deg);
  border-inline-end:none;
}
.yc-checkbox:disabled{
  border-color:transparent;
  background-color:color-mix(in srgb, var(--section-text-color) 30%, transparent);
  pointer-events:none;
}
.yc-checkbox:disabled:checked::before{
  border-color:var(--section-bg-color);
}

.items-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  grid-template-columns:repeat(var(--items-columns, 3), 1fr);
  grid-gap:var(--gap-lg);
  gap:var(--gap-lg);
}
.items-grid .show-more{
  order:1;
  display:flex;
  grid-column:1/-1;
  align-items:center;
  justify-content:center;
}
.items-grid .show-more button,
.items-grid .show-more .yc-btn{
  padding:8px 15px;
}

yc-slider-footer .show-more button,
yc-slider-footer .show-more .yc-btn{
  padding:8px 15px;
}

.overlay,
yc-overlay{
  inset:0;
  z-index:99;
  position:fixed;
  opacity:0;
  visibility:hidden;
  -webkit-backdrop-filter:var(--overlay-blur);
          backdrop-filter:var(--overlay-blur);
  background-color:var(--overlay-background);
  transition:var(--transition-duration-normal);
}
.overlay[data-active],
yc-overlay[data-active]{
  opacity:1;
  visibility:visible;
}

.card-placeholder{
  height:100%;
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  background-color:currentColor;
  border-radius:var(--radius-md);
  overflow:hidden;
}
.card-placeholder svg{
  color:color-mix(in srgb, currentColor 70%, transparent);
}

.rating{
  display:flex;
  align-items:center;
  gap:var(--gap-sm);
  font-size:var(--text-md);
  color:color-mix(in srgb, currentColor 70%, transparent);
}
.rating .stars{
  display:inline-flex;
  gap:var(--gap-2xs);
  color:var(--color-yellow-500);
}
.rating .average{
  line-height:1.2;
}

.empty-page{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:400px;
}

.empty-section{
  padding-block:5em;
}

.empty{
  height:100%;
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:var(--gap-lg);
  text-align:center;
}
.empty .icon{
  color:color-mix(in srgb, currentColor 15%, transparent);
}
.empty .title{
  font-weight:550;
}
.empty .subheading{
  color:color-mix(in srgb, currentColor 70%, transparent);
}

yc-quantity-control{
  position:relative;
  display:flex;
  align-items:center;
  gap:var(--gap-sm);
  width:-moz-fit-content;
  width:fit-content;
}
yc-quantity-control button svg{
  pointer-events:none;
}
yc-quantity-control .current-quantity{
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:24px;
  text-align:center;
}
yc-quantity-control[data-loading]{
  pointer-events:none;
}
yc-quantity-control[data-loading] .current-quantity [data-current-quantity]{
  color:transparent;
}
yc-quantity-control[data-loading] .current-quantity::before{
  content:"";
  width:18px;
  height:18px;
  position:absolute;
  border:1.5px solid currentColor;
  border-bottom-color:transparent;
  border-radius:var(--radius-circle);
  animation:spin 1s linear infinite;
}

button[data-delete]{
  position:relative;
  border:none;
  background-color:color-mix(in srgb, currentColor 5%, transparent);
}
button[data-delete]:hover{
  color:var(--color-error-500);
}

yc-product-form button[data-buy-button] span::before{
  content:attr(data-add-to-cart);
}
yc-product-form[not-available] button span::before{
  content:attr(data-out-of-stock);
}

yc-variants{
  display:flex;
  gap:var(--gap-xl);
  flex-direction:column;
  padding-block:1em;
}
yc-variants .variant{
  display:flex;
  gap:var(--gap-sm);
  flex-direction:column;
}
yc-variants .variant .label{
  font-size:var(--text-md);
  color:color-mix(in srgb, currentColor 70%, transparent);
}

yc-skeleton{
  display:grid;
  grid-gap:var(--gap-xl);
  gap:var(--gap-xl);
  padding:1.5em;
}
yc-skeleton yc-skeleton-group{
  display:flex;
  gap:var(--gap-md);
  flex-direction:column;
}
yc-skeleton yc-skeleton-group[data-center]{
  align-items:center;
}
yc-skeleton yc-skeleton-group[data-flex-row]{
  flex-direction:row;
}
yc-skeleton yc-skeleton-group[data-space-between]{
  flex-direction:row;
  justify-content:space-between;
}
yc-skeleton yc-skeleton-item{
  overflow:hidden;
  position:relative;
  background-color:color-mix(in srgb, currentColor 10%, transparent);
}
yc-skeleton yc-skeleton-item::before{
  content:"";
  width:100%;
  height:100%;
  display:block;
  position:absolute;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--section-bg-color, var(--color-base-white)), transparent), transparent);
  animation:skeleton_loading 1s infinite;
}
@keyframes skeleton_loading{
  100%{
    transform:translateX(100%);
  }
}
yc-skeleton yc-skeleton-item[variant=text]{
  width:100%;
  height:8px;
  border-radius:var(--radius-sm);
}
yc-skeleton yc-skeleton-item[variant=text]:nth-child(2){
  width:80%;
}
yc-skeleton yc-skeleton-item[variant=text]:nth-child(3){
  width:60%;
}
yc-skeleton yc-skeleton-item[variant=text]:nth-child(4){
  width:40%;
}
yc-skeleton yc-skeleton-item[variant=rounded]{
  width:50px;
  height:50px;
  border-radius:var(--radius-sm);
}

.breadcrumb ol{
  display:flex;
  gap:var(--gap-md);
  align-items:center;
  flex-wrap:wrap;
}
.breadcrumb ol li{
  --faded-link-color:color-mix(in srgb, currentColor 70%, transparent);
  display:flex;
  align-items:center;
  gap:var(--gap-md);
}
.breadcrumb ol li svg{
  color:var(--faded-link-color);
}
[dir="rtl"] .breadcrumb ol li svg{
  rotate:-180deg;
}
.breadcrumb ol li a{
  color:var(--faded-link-color);
}
.breadcrumb ol li a[aria-current]{
  color:currentColor;
  pointer-events:none;
}

.skip-to-content{
  left:50%;
  opacity:0;
  z-index:1000;
  position:fixed;
  translate:-50% -100%;
  padding:16px 24px;
  font-size:var(--text-md);
  color:var(--color-base-white);
  background-color:var(--color-base-black);
  border-end-end-radius:var(--button-border-radius);
  border-end-start-radius:var(--button-border-radius);
  transition:var(--transition-duration-fast);
}
.skip-to-content:focus-visible{
  opacity:1;
  translate:-50% 0%;
  outline-color:var(--color-base-black);
}

[hidden]{
  display:none !important;
}

@media (max-width: 1280px){
  .items-grid:has(> :nth-child(4)){
    grid-template-columns:repeat(2, 1fr);
  }
}
@media (max-width: 1024px){
  .items-grid{
    grid-template-columns:1fr !important;
  }
}
@media (max-width: 768px){
  .items-grid{
    grid-template-columns:1fr !important;
  }
  yc-variants{
    padding-block-end:0;
  }
  yc-section{
    padding-inline:1em;
  }
  yc-section[data-full] yc-slider[data-type=full] .slider-area .slider-box .slider-inner yc-slider-item yc-slider-content{
    padding:1.5em;
  }
  yc-section[data-full] yc-slider[data-type=full] yc-slider-arrows[data-position=left]{
    inset-inline-start:1.5em;
  }
  yc-section[data-full] yc-slider[data-type=full] yc-slider-arrows[data-position=right]{
    inset-inline-end:1.5em;
  }
  yc-section yc-section-head p{
    font-size:var(--text-sm);
  }
}
@keyframes showUp{
  from{
    translate:0 3em;
  }
  to{
    translate:0;
  }
}
@keyframes spin{
  100%{
    transform:rotate(360deg);
  }
}

.placeholder-svg {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.placeholder-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

yc-toast-container{
  --toast-width:400px;
  --toast-offset:4.5em;
  --toast-padding:0.5em;
  --toast-theme:var(--color-info-500);
  --toast-padding-multiline:1em 0.5em;
  display:grid;
  grid-gap:var(--gap-md);
  gap:var(--gap-md);
  min-width:400px;
  min-width:var(--toast-width);
  z-index:101;
  position:fixed;
  translate:-50% 0%;
  left:50%;
  inset-block-end:1em;
}
@media (max-width: 640px){
  yc-toast-container{
    --toast-width:calc(100% - 2em);
  }
}
yc-toast-container yc-toast{
  display:flex;
  gap:var(--gap-md);
  align-items:center;
  justify-content:space-between;
  width:100%;
  -webkit-user-select:none;
     -moz-user-select:none;
          user-select:none;
  inset-block-end:0;
  font-size:var(--text-sm);
  -webkit-backdrop-filter:blur(2px);
          backdrop-filter:blur(2px);
  padding:var(--toast-padding);
  border-radius:var(--toast-border-radius);
  background-color:var(--color-base-white);
  transition:var(--transition-duration-normal);
  animation:showUp var(--transition-duration-normal);
  border:1px solid color-mix(in srgb, currentColor 8%, transparent);
  box-shadow:color-mix(in srgb, currentColor 15%, transparent) 0px 48px 80px 0px;
}
@media (max-width: 640px){
  yc-toast-container yc-toast{
    font-size:var(--text-xs);
  }
}
yc-toast-container yc-toast .toast-content{
  display:flex;
  align-items:center;
  gap:var(--gap-md);
}
yc-toast-container yc-toast .toast-content .icon{
  display:inline-flex;
}
yc-toast-container yc-toast .toast-content .icon svg{
  stroke-width:0;
  fill:var(--toast-theme);
  border-radius:var(--toast-border-radius);
}
yc-toast-container yc-toast button[data-close]{
  padding:8px;
  color:currentColor;
}
yc-toast-container yc-toast[data-multiline]{
  padding:var(--toast-padding-multiline);
}
yc-toast-container yc-toast[data-multiline] .toast-content{
  align-items:start;
}
yc-toast-container yc-toast[data-removed]{
  opacity:0;
  translate:0 3em;
}
yc-toast-container yc-toast[data-type=success]{
  --toast-theme:var(--color-success-500);
}
yc-toast-container yc-toast[data-type=warning]{
  --toast-theme:var(--color-warning-500);
}
yc-toast-container yc-toast[data-type=error]{
  --toast-theme:var(--color-error-500);
}
yc-toast-container yc-toast[data-type=info]{
  --toast-theme:var(--color-info-500);
}
yc-toast-container yc-toast:not(:last-child){
  scale:0.95;
  box-shadow:none;
  position:absolute;
}
yc-toast-container yc-toast:nth-last-child(n+4){
  opacity:0;
}
yc-toast-container:has(> yc-toast:nth-child(2))::before{
  content:"";
  width:100%;
  inset-block-end:0;
  height:calc(200% + var(--gap-md));
}
yc-toast-container:has(> yc-toast:nth-child(3))::before{
  height:calc(300% + var(--gap-md) * 2);
}
yc-toast-container:not(:hover) yc-toast:not(:last-child){
  inset-block-end:1em !important;
}
yc-toast-container:not(:hover) yc-toast:not(:last-child):nth-last-child(3){
  scale:0.9;
  inset-block-end:2em !important;
}
yc-toast-container:hover yc-toast:not(:last-child){
  scale:1;
}
yc-toast-container:hover yc-toast:not(:last-child):nth-last-child(2){
  inset-block-end:calc(var(--toast-offset) + 0em);
  inset-block-end:calc(var(--toast-offset) + var(--extra-offset, 0em));
}
yc-toast-container:hover yc-toast:not(:last-child):nth-last-child(2)[data-multiline]{
  --extra-offset:1.5em;
}
yc-toast-container:hover yc-toast:not(:last-child):nth-last-child(3){
  inset-block-end:calc(var(--toast-offset) * 2 + 0em);
  inset-block-end:calc(var(--toast-offset) * 2 + var(--extra-offset, 0em));
}
yc-toast-container:hover yc-toast:not(:last-child):nth-last-child(3)[data-multiline]{
  --extra-offset:3em;
}
yc-toast-container:hover::before{
  position:absolute;
}

yc-modal{
  --modal-mobile-offset:0.5em;
  --modal-mobile-width:calc(100% - (var(--modal-mobile-offset) * 2));
  --modal-desktop-width:var(--modal-width, 500px);
  --modal-max-mobile-height:90%;
  --modal-bg-color:var(--section-bg-color, var(--color-base-white));
  --modal-text-color:var(--section-text-color, var(--color-base-black));
}
@media (min-width: 768px){
  yc-modal:not([as-drawer]) yc-modal-content{
    z-index:100;
    left:50%;
    position:fixed;
    height:-moz-fit-content;
    height:fit-content;
    translate:-50% -40%;
    inset-block-start:50%;
    color:var(--modal-text-color);
    background-color:var(--modal-bg-color);
    border-radius:var(--modal-border-radius);
    width:var(--modal-desktop-width);
    transition:var(--transition-duration-slow) cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  yc-modal:not([as-drawer]) yc-modal-content:not([data-visible]){
    opacity:0;
    visibility:hidden;
  }
}
@media (max-width: 768px){
  yc-modal yc-modal-content{
    z-index:100;
    left:0;
    inset-block-end:0;
    position:fixed;
    height:-moz-fit-content;
    height:fit-content;
    color:var(--modal-text-color);
    background-color:var(--modal-bg-color);
    translate:0% 100%;
    width:var(--modal-mobile-width);
    margin:var(--modal-mobile-offset);
    border-radius:var(--modal-border-radius);
    transition:var(--transition-duration-normal);
  }
  yc-modal yc-modal-content:not([data-visible]){
    opacity:0;
    visibility:hidden;
  }
  yc-modal yc-modal-content::before{
    content:"";
    z-index:3;
    width:48px;
    height:4px;
    display:block;
    position:sticky;
    border-radius:999px;
    translate:-50% -50%;
    inset-inline-start:50%;
    margin-block-start:0.5em;
    background-color:color-mix(in srgb, currentColor 10%, transparent);
  }
  [dir="rtl"] yc-modal yc-modal-content::before{
    translate:50% -50%;
  }
}

.product-card{
  --product-content-inset:1em;
  --product-card-background:var(--section-bg-color, var(--color-base-white));
  --product-card-foreground:var(--section-text-color, var(--color-base-black));
  --product-card-border-color:rgba(var(--product-card-foreground), 0.15);
  --product-card-border:1px solid var(--product-card-border-color);
  border-radius:var(--product-card-border-radius);
  transition:all var(--transition-duration-normal);
  position:relative;
}
.product-card .badge{
  position:absolute;
  inset-block-start:var(--product-content-inset);
  background-color:var(--badge-bg-color);
  color:var(--badge-text-color);
  border-radius:calc(var(--product-card-border-radius) * 0.66);
  padding:0.3em 0.8em;
  font-size:var(--text-xs);
}
.product-card .badge[data-position$=left]{
  inset-inline-start:var(--product-content-inset);
}
.product-card .badge[data-position$=right]{
  inset-inline-end:var(--product-content-inset);
}
.product-card .badge span{
  max-width:32ch;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.product-card .img-link{
  overflow:hidden;
  outline-offset:-1px;
}
.product-card .img-link img{
  height:var(--product-img-height);
  width:100%;
  -o-object-fit:cover;
     object-fit:cover;
  border-radius:var(--product-card-border-radius);
  pointer-events:none;
}
.product-card .img-link .card-placeholder{
  background-color:rgba(var(--product-card-foreground), 0.05);
  border-radius:var(--product-card-border-radius);
}
.product-card .img-link .card-placeholder svg{
  color:rgba(var(--product-card-foreground), 0.6);
}
.product-card .info{
  padding:1.25em;
  display:grid;
  grid-gap:var(--gap-xs);
  gap:var(--gap-xs);
  border-radius:var(--product-card-border-radius);
  background-color:var(--product-card-background);
  color:rgb(var(--product-card-foreground));
}
.product-card .info .title,
.product-card .info .price{
  justify-self:var(--product-card-text-alignment);
}
.product-card .info .title{
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:currentColor;
}
.product-card .info .price{
  display:flex;
  align-items:center;
  gap:var(--gap-md);
  font-size:var(--text-md);
}
.product-card .info .price .current{
  font-size:var(--text-lg);
  font-weight:550;
}
.product-card .info .price .compare-at{
  color:currentColor;
  font-weight:400;
  -webkit-text-decoration:line-through;
  text-decoration:line-through;
}
.product-card .info button.secondary,
.product-card .info .yc-btn.secondary{
  width:100%;
  margin-block-start:0.5em;
}
.product-card .info button.secondary:hover,
.product-card .info .yc-btn.secondary:hover{
  color:var(--product-card-background);
}
.product-card[data-style$=standard]{
  --product-img-height:350px;
  border:var(--product-card-border);
}
.product-card[data-style$=standard] .img-link{
  display:block;
  border-bottom:var(--product-card-border);
}
.product-card[data-style$=standard] .img-link,
.product-card[data-style$=standard] img{
  height:var(--product-img-height);
}
.product-card[data-style$=standard] img,
.product-card[data-style$=standard] .card-placeholder{
  border-end-end-radius:0;
  border-end-start-radius:0;
}
.product-card[data-style$=standard] .info{
  position:static;
  border-start-end-radius:0;
  border-start-start-radius:0;
}
.product-card[data-style$=standard] .info button{
  width:100%;
}
.product-card[data-style$=compact]{
  --product-img-height:400px;
}
.product-card[data-style$=compact]::before{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  border-radius:var(--product-card-border-radius);
  -webkit-backdrop-filter:var(--overlay-blur);
          backdrop-filter:var(--overlay-blur);
  background-color:var(--overlay-background);
  opacity:0;
  transition:var(--transition-duration-normal);
  pointer-events:none;
}
.product-card[data-style$=compact]:hover::before{
  opacity:1;
}
.product-card[data-style$=compact] .img-link{
  display:block;
}
.product-card[data-style$=compact] .img-link,
.product-card[data-style$=compact] img{
  height:var(--product-img-height);
}
.product-card[data-style$=compact] .info{
  position:absolute;
  inset-block-end:0;
  margin:var(--product-content-inset);
  padding:var(--product-content-inset);
  width:-webkit-fill-available;
  width:-moz-available;
  width:stretch;
}

/* =====================================================================
   BeautyNest — custom design layer (loaded after main.css in head-config)
   Pro beauty e-commerce polish, COD-first. Uses theme CSS variables.
   --color-button / --color-button-text are "R, G, B" triplets -> rgb().
   ===================================================================== */

/* ---------- Global type & rhythm ---------- */
body { -webkit-font-smoothing: antialiased; }

yc-section-head h2 {
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
yc-section-head p {
  color: var(--color-gray-500);
}

/* Buttons: retail-style soft rectangles (one radius for the whole site). */
/* Accent #FF80C5 (settings_data: buttons, badges, announcement bar). White on it is only 2.3:1, so the
   text on pink is plum #3B1430 (6.9:1); hover = a slightly deeper pink, same plum text.
   Prices: --mkc-price = theme setting « Couleur des prix » (snippets/head-config.liquid), else the accent. */
:root { --mkc-btn-radius: 6px; --mkc-accent: #FF80C5; --mkc-on-accent: #3B1430; --mkc-cta-hover: #F566B5; }
.yc-btn { border-radius: var(--mkc-btn-radius); font-weight: 600; }

/* ---------- Announcement bar ---------- */
.announcement .message {
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* Scrolling strip (sections/announcement-bar.liquid): edge to edge, two identical lists side by side
   translated by half the track = seamless loop. Background #FF80C5, text #3B1430 (settings_data): 6.9:1, AA at any size. */
#youcan-section--announcement-bar:has(.mkc-ann) { padding-inline: 0; }
.mkc-ann { overflow: hidden; text-align: start; }
.mkc-ann__link { display: block; color: inherit; text-decoration: none; }
.mkc-ann__track {
  display: flex;
  width: max-content;
  animation: mkc-ann-scroll var(--mkc-ann-duration, 40s) linear infinite;
}
.mkc-ann:hover .mkc-ann__track,
.mkc-ann:focus-within .mkc-ann__track { animation-play-state: paused; }
.mkc-ann__list { display: flex; margin: 0; padding: 0; list-style: none; flex-shrink: 0; }
.mkc-ann__item {
  display: inline-flex;
  align-items: center;
  padding-block: 0.65em;
  padding-inline: 1.6rem;
  font-size: calc(var(--font-heading-scale, 1) * 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: rgb(var(--announcement-bar-foreground-color));
}
.mkc-ann__item::after {
  content: "✦";
  margin-inline-start: 3.2rem;
  font-size: 0.8em;
  opacity: 0.75;
}
@keyframes mkc-ann-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .mkc-ann__track { animation-name: mkc-ann-scroll-rtl; }
@keyframes mkc-ann-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .mkc-ann { overflow-x: auto; scrollbar-width: none; }
  .mkc-ann__track { animation: none; }
  .mkc-ann__list[aria-hidden="true"] { display: none; }
}

/* ---------- Hero (slideshow with no image) ---------- */
yc-slider-item { position: relative; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(1200px 500px at 15% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, rgb(var(--color-button)) 0%, #d65f8e 45%, #f3c3d6 100%);
}
yc-slider-content .heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}
yc-slider-content .subheading {
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
}
yc-slider-content .yc-btn {
  background: var(--color-base-white);
  color: var(--color-base-black);
  border: none;
  padding-inline: 1.6em;
}

/* ---------- Product cards ---------- */
.product-card { overflow: hidden; }

.product-card[data-style$="standard"] {
  --product-img-height: 320px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.product-card[data-style$="standard"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}
.product-card .img-link img {
  transition: transform 0.4s ease;
}
.product-card:hover .img-link img {
  transform: scale(1.04);
}

/* Discount pill (top-start) */
.product-card .discount-badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  font-weight: 700;
  font-size: var(--text-xs);
  line-height: 1;
  padding: 0.5em 0.7em;
  border-radius: 4px;
  box-shadow: none;
  letter-spacing: 0.02em;
}

/* Price emphasis */
.product-card .info { gap: 0.4em; }
.product-card .info .title {
  font-weight: 600;
  font-size: var(--text-md);
}
.product-card .info .price .current {
  color: var(--mkc-price, var(--mkc-accent-text));
  font-weight: 700;
}
.product-card .info .price .compare-at {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
}

/* Purchase buttons, one look site-wide (T22): cards, « Nos coups de coeur », favourites, product page.
   Primary = adds to cart now: filled accent pink #FF80C5 (plum bold text 6.9:1), hover #F566B5.
   Secondary = opens the options (quick view): pink outline, filled on hover. */
.product-card .info yc-product-form button[data-buy-button],
.product-card .info a.yc-btn.secondary,
.mkc-pick__cta yc-product-form button[data-buy-button],
.mkc-pick__cta a.yc-btn.secondary {
  background: rgb(var(--color-button));
  border: 1.5px solid rgb(var(--color-button));
  border-radius: var(--mkc-btn-radius);
  color: rgb(var(--color-button-text));
  font-weight: 700;
}
.product-card .info .product-quick-view button[data-trigger].secondary,
.mkc-pick__cta .product-quick-view button[data-trigger].secondary {
  background: #ffffff;
  border: 1.5px solid rgb(var(--color-button));
  border-radius: var(--mkc-btn-radius);
  color: #a3164f;
  font-weight: 700;
}
.product-card .info yc-product-form button[data-buy-button]:hover:not(:disabled),
.product-card .info a.yc-btn.secondary:hover,
.mkc-pick__cta yc-product-form button[data-buy-button]:hover:not(:disabled),
.mkc-pick__cta a.yc-btn.secondary:hover,
.product-card .info .product-quick-view button[data-trigger].secondary:hover,
.mkc-pick__cta .product-quick-view button[data-trigger].secondary:hover,
yc-product-form [data-buy-button].secondary:hover:not(:disabled),
.product-quick-view > yc-modal > button[data-trigger].secondary:hover {
  background: var(--mkc-cta-hover);
  border-color: var(--mkc-cta-hover);
  color: rgb(var(--color-button-text));
  font-weight: 700;
}
.product-card .info yc-product-form button[data-buy-button]:disabled,
.mkc-pick__cta yc-product-form button[data-buy-button]:disabled {
  background: #efe7eb;
  border-color: #efe7eb;
  color: #6d5c63;
  cursor: not-allowed;
}
/* Card buttons: 44 px tap height and a 13 px label minimum on phones and tablets. */
@media (max-width: 1023px) {
  .product-card .info yc-product-form button[data-buy-button],
  .product-card .info a.yc-btn.secondary,
  .product-card .info .product-quick-view button[data-trigger].secondary { min-height: 44px; font-size: var(--text-sm); }
}

/* ---------- Reassurance (multi-column) ---------- */
.columns .column-card { text-align: center; }
.columns .column-card .column-title {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
}
.columns .column-card .column-subtitle {
  color: var(--color-gray-500);
  margin-block-start: 0.25em;
}

/* ---------- Footer ---------- */
footer .copyright { color: var(--color-gray-500); }

/* ---------- Collection / listing spacing ---------- */
.breadcrumb { font-size: var(--text-sm); }

/* ---------- Responsive listing grids (collection, search, all collections) ----------
   Origins forces 2 columns up to 1280px and a single column up to 1024px (with
   !important): huge cards on laptops, one product per screen on tablets and phones.
   Retail standard instead: 3 columns on tablet/laptop, 2 on phones. */
@media (max-width: 1280px) {
  .items-grid:has(> :nth-child(4)) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
/* The :has() selector is repeated below so each breakpoint has the same specificity. */
@media (max-width: 1024px) {
  .items-grid,
  .items-grid:has(> :nth-child(4)) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: var(--gap-md, 16px); }
}
@media (max-width: 768px) {
  .items-grid,
  .items-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
}
/* Square images and equal-height cards whatever the column width. */
.items-grid .product-card { display: flex; flex-direction: column; height: 100%; }
.items-grid .product-card .info { flex: 1; align-content: start; }
.items-grid .product-card[data-style] .img-link { height: auto; }
.items-grid .product-card[data-style] .img-link img { height: auto; aspect-ratio: 1 / 1; }
.items-grid .product-card .info .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.3;
  min-height: 2.6em;
}
@media (max-width: 768px) {
  /* Framed listing (border + 24px padding inside the 16px page gutter) cost ~80px on phones. */
  /* "section" prefix: product-listing.css loads later with the same specificity. */
  section .product-listing { border: none; }
  section .product-listing .products-area { padding: 12px 0; }
  section .product-listing .filter-area,
  section .product-listing .collections-area { padding-inline: 0; }
  .items-grid .product-card .info { padding: 10px; }
  .items-grid .product-card .info .title { font-size: var(--text-sm); }
  /* Narrow cards: the CTA wraps on two lines instead of being cut. */
  .items-grid .product-card .info button,
  .items-grid .product-card .info .yc-btn {
    min-height: 44px;
    padding: 6px;
    font-size: var(--text-xs);
    line-height: 1.2;
    white-space: normal;
  }
}

/* ---------- Category page: explicit sort button + browse chips (T23) ---------- */
/* Phones/tablets: « Trier : Par défaut ▾ » text button (snippets/yc-sort.liquid) instead of a settings-like icon. */
.select-trigger label.mkc-sort-trigger {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #e6d5dc;
  border-radius: var(--mkc-btn-radius);
  background: #ffffff;
  color: var(--color-base-black);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}
.select-trigger label.mkc-sort-trigger strong { font-weight: 700; }
.select-trigger label.mkc-sort-trigger svg { flex: none; width: 16px; height: 16px; }
.select-trigger label.mkc-sort-trigger:hover { border-color: rgb(var(--color-button)); }
section .product-listing .filter-area { flex-wrap: wrap; gap: 12px; }
/* Product count « 20 produits » next to the title (was « [20] » at 11 px, T27). */
section .product-listing .filter-area .title [data-count] { inset-block-start: 0; font-size: var(--text-sm); white-space: nowrap; }
.mkc-cat-chips { padding: 0 1.5em 1.5em; }
.mkc-cat-chips ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mkc-cat-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #ead9e0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-base-black);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.mkc-cat-chips a:hover { border-color: rgb(var(--color-button)); }
.mkc-cat-chips a[aria-current="page"] { border-color: #f3c5d6; background: #fbe6ee; color: #a3164f; }
.mkc-cat-chips a:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 2px; }
/* Phones: every category stays visible, wrapped on several lines (no hidden swipe row). */
@media (max-width: 768px) {
  .mkc-cat-chips { padding: 0 0 12px; }
  .mkc-cat-chips ul { gap: 8px 6px; }
  .mkc-cat-chips a { min-height: 36px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .mkc-cat-chips a { transition: none; } }

/* ---------- Category intro (under the title) and folded SEO text (T30) ---------- */
.mkc-cat-intro {
  max-width: 70ch;
  margin: 0 0 1.2em;
  padding: 0 1.5em;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: #5e4c53;
}
@media (max-width: 768px) {
  .mkc-cat-intro { padding-inline: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
.mkc-cat-more { max-width: 820px; margin: 32px auto 8px; border-block: 1px solid #efe3e8; }
.mkc-cat-more > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding-inline: 4px;
  font-weight: 700;
  color: var(--color-base-black);
  cursor: pointer;
  list-style: none;
}
.mkc-cat-more > summary::-webkit-details-marker { display: none; }
.mkc-cat-more > summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-inline-end: 6px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.2s ease;
}
.mkc-cat-more[open] > summary::after { transform: translateY(25%) rotate(-135deg); }
.mkc-cat-more > summary:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 2px; }
.mkc-cat-more .mkc-cat-seo { margin-block: 0 20px; }

/* Live price table of a category (snippets/mkc-cat-price-table.liquid, D6). */
.mkc-price-table__wrap { overflow-x: auto; margin-block-end: 12px; }
.mkc-price-table table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.mkc-price-table th, .mkc-price-table td { padding: 8px 6px; text-align: start; vertical-align: top; border-block-end: 1px solid #efe3e8; }
.mkc-price-table thead th { font-weight: 700; color: var(--color-base-black); }
.mkc-price-table tbody th { font-weight: 400; }
.mkc-price-table tbody th a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mkc-price-table__price { white-space: nowrap; font-weight: 600; }
.mkc-price-table__note { margin-block: 0 20px; font-size: var(--text-sm); color: var(--color-gray-700, #3f3f46); }
@media (prefers-reduced-motion: reduce) { .mkc-cat-more > summary::after { transition: none; } }

/* ---------- Category SEO text (under the product grid) ---------- */
.mkc-cat-seo {
  max-width: 820px;
  margin: 40px auto 8px;
  padding-inline: 4px;
  color: var(--color-gray-700, #3f3f46);
  line-height: 1.7;
}
.mkc-cat-seo > * + * { margin-block-start: 0.7em; }
.mkc-cat-seo h2 { font-size: var(--text-xl, 1.25rem); font-weight: 700; color: var(--color-base-black); line-height: 1.3; }
.mkc-cat-seo h3 { margin-block-start: 1.2em; font-size: var(--text-md, 1rem); font-weight: 700; color: var(--color-base-black); }
.mkc-cat-seo ul { padding-inline-start: 1.3em; list-style: disc; }
.mkc-cat-seo li::marker { color: rgb(var(--color-button)); }
.mkc-cat-seo a { color: var(--mkc-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.mkc-cat-seo table { inline-size: 100%; border-collapse: collapse; }
.mkc-cat-seo th, .mkc-cat-seo td { padding: 8px 6px; border-block-end: 1px solid rgb(0 0 0 / 0.12); text-align: start; vertical-align: top; }
.mkc-cat-seo th { font-weight: 700; color: var(--color-base-black); }
.mkc-cat-seo tr > :not(:first-child) { white-space: nowrap; }

/* ---------- Product description (rich text from the admin) ----------
   The base reset strips headings, lists and spacing: restore a readable hierarchy. */
.single-product .description { line-height: 1.6; }
.single-product .description > * + * { margin-block-start: 0.6em; }
.single-product .description h2,
.single-product .description h3,
.single-product .description h4 {
  margin-block-start: 1.3em;
  font-size: 1.08em; /* a step above body text, whatever the base size */
  font-weight: 700;
  line-height: 1.35;
}
.single-product .description ul,
.single-product .description ol { padding-inline-start: 1.3em; }
.single-product .description ul { list-style: disc; }
.single-product .description ol { list-style: decimal; }
.single-product .description li + li { margin-block-start: 0.3em; }
.single-product .description li::marker { color: rgb(var(--color-button)); }

/* ---------- Forms on phones ----------
   iOS Safari zooms the whole page when a field under 16px gets focus. */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea { font-size: 16px !important; } /* component CSS loads after this file */
}

/* =====================================================================
   PRO CART — drawer, cart page, add-to-cart.
   header-cart-drawer.css / cart.css / featured-product.css load inside the
   sections (after this file), so rules here are scoped with #ids to win.
   ===================================================================== */

/* ---------- Drawer frame ---------- */
yc-drawer#cart { --drawer-width: 440px; --mkc-pad: 20px; }
@media (max-width: 768px) {
  yc-drawer#cart { --drawer-width: 92%; }
}

yc-drawer#cart .cart-btn .total-items {
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  font-weight: 700;
}

yc-drawer#cart .cart-drawer .header {
  padding: 16px var(--mkc-pad);
}
yc-drawer#cart .cart-drawer .header .title {
  font-weight: 700;
  font-size: var(--text-lg);
}
yc-drawer#cart .cart-drawer .header .mkc-count {
  color: var(--color-gray-500);
  font-weight: 500;
}

/* ---------- Free-shipping progress (drawer + cart page) ---------- */
.mkc-free-shipping {
  display: grid;
  gap: 0.55em;
  padding: 12px var(--mkc-pad, 20px);
  background: color-mix(in srgb, rgb(var(--color-button)) 7%, #ffffff);
}
.mkc-fs-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.35;
}
.mkc-fs-text strong { color: var(--mkc-accent-text); }
.mkc-fs-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.mkc-fs-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(var(--color-button)), #e58bb0);
  transition: width 0.5s ease;
}
.mkc-free-shipping[data-unlocked] { background: #e8f7ee; }
.mkc-free-shipping[data-unlocked] .mkc-fs-bar span { background: #1fc16b; }
yc-drawer#cart .cart-drawer[data-is-empty] .mkc-free-shipping { display: none; }

/* ---------- Drawer items ---------- */
yc-drawer#cart .cart-drawer yc-cart-drawer-items {
  padding: 8px var(--mkc-pad);
  gap: 0;
  overflow-y: auto;
}
yc-drawer#cart .cart-drawer .item {
  gap: 1em;
  padding-block: 1em;
}
yc-drawer#cart .cart-drawer .item .image {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: var(--color-gray-50);
}
yc-drawer#cart .cart-drawer .item .info .heading .name {
  font-weight: 600;
  font-size: var(--text-md);
  line-height: 1.3;
}
yc-drawer#cart .cart-drawer .item .price .original {
  color: var(--mkc-price, var(--mkc-accent-text));
  font-weight: 700;
}
yc-drawer#cart .cart-drawer .item .price .compare-at { font-size: var(--text-xs); }
yc-drawer#cart .cart-drawer .item [data-delete] {
  color: var(--color-gray-500);
  background: transparent;
  border: none;
  border-radius: 999px;
}
yc-drawer#cart .cart-drawer .item [data-delete]:hover {
  color: var(--color-error-500);
  background: var(--color-error-50);
}

/* ---------- Tap targets of 24 px minimum (WCAG 2.5.8, T26) ---------- */
/* Breadcrumb (snippets/yc-breadcrumb.liquid): 21 px high links -> 32 px. */
.breadcrumb ol li a { display: inline-flex; align-items: center; min-height: 32px; }

/* Product page breadcrumb (snippets/mkc-product-breadcrumb.liquid): one line, the product name is cut
   with « … » (it is the <h1> just below). Its tokens are in tooling/critical-tokens.json (product). */
.mkc-product-breadcrumb { margin-block-end: 8px; }
.mkc-product-breadcrumb ol { flex-wrap: nowrap; min-width: 0; }
.mkc-product-breadcrumb ol li { flex-shrink: 0; min-width: 0; }
.mkc-product-breadcrumb ol li:last-child { flex-shrink: 1; overflow: hidden; }
.mkc-product-breadcrumb ol li:last-child a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 32px; }

/* ---------- Quantity stepper (pill) ---------- */
yc-drawer#cart yc-quantity-control.quantity,
#main yc-quantity-control.quantity {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-gray-300);
  border-radius: 999px;
  background: #ffffff;
}
yc-drawer#cart yc-quantity-control.quantity .yc-btn.icon,
#main yc-quantity-control.quantity .yc-btn.icon {
  border: none;
  background: transparent;
  border-radius: 999px;
}
yc-drawer#cart yc-quantity-control.quantity .yc-btn.icon:hover,
#main yc-quantity-control.quantity .yc-btn.icon:hover { background: var(--color-gray-50); }
yc-drawer#cart yc-quantity-control.quantity .current-quantity,
#main yc-quantity-control.quantity .current-quantity {
  min-width: 2.2ch;
  text-align: center;
  font-weight: 600;
}

/* The header colour (Header > Background colour) tints the bar, the category row and the
   mobile menu; the cart drawer stays white so the order summary reads cleanly. */
yc-header .cart-drawer { --header-bg-color: #ffffff; }

/* ---------- Drawer footer ---------- */
yc-drawer#cart .cart-drawer .footer {
  background: var(--header-bg-color, #ffffff);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}
yc-drawer#cart .cart-drawer .footer .totals {
  border: none;
  padding: 16px var(--mkc-pad) 2px;
  font-size: var(--text-lg);
  font-weight: 700;
}
.mkc-shipping-note {
  margin: 0;
  padding: 0 var(--mkc-pad, 20px);
  font-size: var(--text-xs);
  color: var(--color-gray-500);
}
yc-drawer#cart .cart-drawer .footer .actions {
  border: none;
  gap: 0.7em;
  padding: 14px var(--mkc-pad) 8px;
}
.mkc-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: var(--text-md);
  background: rgb(var(--color-button));
  border-color: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
}
.mkc-checkout:hover { filter: brightness(0.94); color: rgb(var(--color-button-text)); }
.mkc-secondary-actions {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.mkc-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--color-base-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.mkc-link:hover { color: var(--mkc-accent-text); }
.mkc-trust {
  margin: 0;
  padding: 6px var(--mkc-pad, 20px) 16px;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-gray-500);
}

/* Short screens: keep the item list visible, drop secondary footer lines. */
@media (max-height: 640px) {
  yc-drawer#cart .mkc-shipping-note,
  yc-drawer#cart .mkc-trust { display: none; }
  yc-drawer#cart .cart-drawer .footer .actions { padding-block-end: 14px; }
}

/* ---------- Drawer empty state ---------- */
yc-drawer#cart .cart-drawer .empty .icon { color: rgb(var(--color-button)); opacity: 0.85; }
yc-drawer#cart .cart-drawer .mkc-empty-cta { display: none; }
/* Message + CTA grouped and centered together (yc-empty is height:100% by default). */
yc-drawer#cart .cart-drawer[data-is-empty] .empty {
  height: auto;
  flex: 0 0 auto;
  margin-top: auto;
}
yc-drawer#cart .cart-drawer[data-is-empty] .mkc-empty-cta {
  display: inline-flex;
  align-self: center;
  margin: 1.4em auto auto;
  padding-inline: 1.8em;
}

/* ---------- Product page: add to cart ---------- */
#main .single-product .buy-button yc-product-form {
  display: flex;
  align-items: stretch;
  gap: 0.75em;
}
#main .single-product .buy-button yc-product-form button.primary {
  flex: 1;
  min-height: 52px;
  border-radius: var(--mkc-btn-radius);
  font-size: var(--text-md);
  font-weight: 700;
}
/* Product page and quick view: same pink on hover instead of the faded opacity. */
yc-product-form [data-buy-button].primary {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
yc-product-form [data-buy-button].primary:hover:not(:disabled) {
  opacity: 1;
  background: var(--mkc-cta-hover);
  border-color: var(--mkc-cta-hover);
  color: rgb(var(--color-button-text));
}
@media (max-width: 768px) {
  #main .single-product .buy-button {
    position: sticky;
    inset-block-end: 0;
    z-index: 20;
    /* Full-bleed: cancel yc-section's 16px gutter. */
    margin-inline: -16px;
    padding: 0.75em 16px calc(0.75em + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    background: var(--section-bg-color, #ffffff);
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.06);
  }
  /* Sticky bar (yc-product-form, fixed by Origins): price | quantity | button. */
  #main .single-product .buy-button > yc-product-form { align-items: center; }
  /* Title and price stay above the sticky bar on the first screen: square image, shorter top space. */
  #main .single-product yc-product-media { --media-main-image-height: min(calc(100vw - 32px), 46vh); }
  #main yc-section:has(> .single-product) { --section-space-top: 16px !important; }
}
@media (max-width: 768px) and (max-height: 700px) {
  #main .single-product yc-product-media { --media-main-image-height: min(calc(100vw - 32px), 36vh); }
}
.mkc-sticky-price { display: none; }
@media (max-width: 768px) {
  .mkc-sticky-price {
    display: grid;
    flex: none;
    gap: 1px;
    min-width: 60px;
    padding-inline: 4px 2px;
    line-height: 1.15;
  }
  .mkc-sticky-price__now { font-size: var(--text-lg); font-weight: 800; white-space: nowrap; color: var(--mkc-price, var(--mkc-accent-text)); }
  .mkc-sticky-price__was { font-size: var(--text-xs); color: var(--color-gray-500); white-space: nowrap; }
  .mkc-sticky-price__was[hidden] { display: none; }
}
/* Phones: a compact quantity stepper leaves room for "Ajouter au panier" on one line. */
@media (max-width: 430px) {
  #main .single-product .buy-button > yc-product-form { gap: 8px; }
  #main .single-product .buy-button yc-quantity-control.quantity { flex: none; gap: 0; padding: 2px; }
  #main .single-product .buy-button yc-quantity-control.quantity .yc-btn.icon { width: 32px; min-width: 32px; height: 40px; padding: 0; }
  #main .single-product .buy-button yc-product-form button.primary { padding-inline: 8px; white-space: nowrap; }
  .mkc-sticky-price__now { font-size: var(--text-md); }
}
@media (max-width: 359px) {
  #main .single-product .buy-button yc-product-form button.primary { font-size: var(--text-sm); }
}

/* ---------- Cart page ---------- */
#main .cart .summary yc-summary-box .box {
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}
#main .cart .mkc-free-shipping {
  border-radius: 12px;
  margin-block-end: 1em;
}
#main .cart #checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  font-size: var(--text-md);
  background: rgb(var(--color-button));
  border-color: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
}
#main .cart .mkc-trust { padding-inline: 0; }
@media (min-width: 992px) {
  #main .cart .summary {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

/* ---------- Floating WhatsApp button (snippets/whatsapp-float.liquid) ----------
   Sits above the fixed buy / checkout bars (offset measured by assets/mkc-home.js),
   48 px on phones, hidden while scrolling down and back when scrolling up. */
.whatsapp-float {
  inset-block-end: calc(var(--mkc-float-offset, 0px) + 16px + env(safe-area-inset-bottom, 0px)) !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.whatsapp-float.is-tucked { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
  .whatsapp-float { width: 48px !important; height: 48px !important; inset-inline-end: 12px !important; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}

/* Cart page, fixed checkout bar (phones and tablets): full width, reassurance on its own line. */
@media (max-width: 1024px) {
  #main .cart .summary .box .subtotal .total-box {
    flex-wrap: wrap;
    gap: 8px 12px;
    width: calc(100% - 2em);
    margin: 1em;
    padding: 0.75em 1em calc(0.75em + env(safe-area-inset-bottom, 0px));
  }
  #main .cart .summary .box .subtotal .total-box #checkout-button { flex: 1; min-width: 0; }
  #main .cart .summary .box .subtotal .total-box .mkc-trust {
    flex-basis: 100%;
    margin: 0;
    font-size: var(--text-xs);
    line-height: 1.35;
    text-align: center;
    color: var(--color-gray-500);
  }
  /* The page content must end above the fixed bar. */
  #main .cart { padding-block-end: 150px; }
  /* Checkout is the priority here: no floating button over the items (WhatsApp stays in the footer). */
  body:has(#main .cart .total-box) .whatsapp-float { display: none !important; }
}

/* ---------- Thank-you page: WhatsApp confirmation ---------- */
.mkc-wa-confirm {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 20px;
  border: 2px solid #0e733d;
  border-radius: 12px;
  background: #f1fbf5;
  color: var(--color-base-black);
}
.mkc-wa-confirm__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0e733d;
  color: #ffffff;
}
.mkc-wa-confirm__body { display: grid; gap: 10px; min-width: 0; }
.mkc-wa-confirm__title { margin: 0; font-size: var(--text-xl); font-weight: 800; line-height: 1.25; }
.mkc-wa-confirm__text,
.mkc-wa-confirm__note { margin: 0; font-size: var(--text-md); line-height: 1.5; }
.mkc-wa-confirm__note { font-size: var(--text-sm); color: var(--color-gray-500); }
.mkc-wa-confirm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 50px;
  padding: 0 1.6em;
  border-radius: var(--mkc-btn-radius, 6px);
  background: #0e733d;
  color: #ffffff;
  font-size: var(--text-md);
  font-weight: 700;
  text-decoration: none;
}
.mkc-wa-confirm__btn:hover { filter: brightness(1.1); color: #ffffff; }
@media (max-width: 560px) {
  .mkc-wa-confirm { flex-direction: column; align-items: stretch; padding: 16px; }
  .mkc-wa-confirm__btn { justify-self: stretch; }
}

/* ---------- Sticky header above the page content ----------
   YouCan's sticky header sits at z-index 2, the same level as the product-card
   discount badges (and below the carousel arrows, 3): scrolled content showed
   through it. The cart and menu drawers live inside the header and inherit its
   level, so this also puts an open cart above the floating WhatsApp button (60),
   while staying under YouCan's overlays and modals (99 and more).
   "body" outranks layout-header.css, which loads after this file. */
body #youcan-section--header:has(yc-header[data-sticky]) {
  z-index: 70;
}

/* ---------- Cart page: empty state (sections/cart.liquid) ---------- */
yc-section .cart > .empty { flex-direction: column; align-items: stretch; gap: 32px; }
yc-section .cart > .empty .empty-page { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; height: auto; min-height: 0; padding-block: 24px 0; }
.mkc-cart-empty { display: grid; justify-items: center; gap: 12px; margin-block-start: 8px; text-align: center; }
.mkc-cart-empty__note { margin: 0; font-size: var(--text-sm); color: var(--color-gray-500); }
.mkc-cart-empty__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: 28px; border-radius: var(--mkc-btn-radius); font-weight: 700; white-space: nowrap; }
.mkc-cart-empty__picks { display: grid; gap: 14px; width: 100%; min-width: 0; }
.mkc-cart-empty__title { margin: 0; font-size: clamp(2rem, 2.4vw, 2.6rem); font-weight: 800; text-align: center; }

/* ---------- Cart drawer & cart page: reassurance icons and « Complétez votre routine » (T20) ---------- */
ul.mkc-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; list-style: none; }
ul.mkc-trust li { display: inline-flex; align-items: center; gap: 5px; }
ul.mkc-trust svg { width: 15px; height: 15px; flex: none; color: rgb(var(--color-button)); }
.mkc-upsell { padding: 12px var(--mkc-pad, 20px); border-block-start: 1px solid var(--color-gray-200, #eee); }
.mkc-upsell[hidden], .mkc-upsell__item[hidden] { display: none; }
.mkc-upsell__title { margin: 0 0 8px; font-size: var(--text-sm); font-weight: 800; }
.mkc-upsell__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mkc-upsell__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.mkc-upsell__img img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.mkc-upsell__info { display: grid; gap: 2px; min-width: 0; }
.mkc-upsell__name { overflow: hidden; font-size: var(--text-sm); font-weight: 600; color: inherit; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.mkc-upsell__price { font-size: var(--text-sm); font-weight: 700; color: var(--mkc-price, var(--mkc-accent-text)); }
.mkc-upsell__add { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1.5px solid rgb(var(--color-button)); border-radius: 50%; background: #fff; color: rgb(var(--color-button)); font-size: 2rem; line-height: 1; cursor: pointer; }
.mkc-upsell__add:hover { background: var(--mkc-cta-hover); border-color: var(--mkc-cta-hover); color: rgb(var(--color-button-text)); }
@media (max-height: 700px) { yc-drawer#cart .mkc-upsell { display: none; } }

/* ---------- Product page: single reassurance block under the buy button (snippets/mkc-product-trust.liquid) ---------- */
.mkc-ptrust { display: grid; gap: 4px; margin-block: 4px 8px; }
.mkc-ptrust__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #f1e1e8;
  border-radius: 12px;
  background: #fdf6f9;
  list-style: none;
}
.mkc-ptrust__list li { display: flex; align-items: center; gap: 12px; font-size: var(--text-md); font-weight: 600; line-height: 1.35; color: var(--color-base-black); }
.mkc-ptrust__list svg { width: 22px; height: 22px; flex: none; color: #a3164f; }
.mkc-ptrust__wa {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 44px;
  font-size: var(--text-md);
  font-weight: 700;
  color: #0e733d;
  text-decoration: none;
}
.mkc-ptrust__wa svg { width: 20px; height: 20px; flex: none; }
.mkc-ptrust__wa:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mkc-ptrust__wa:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
/* Optional link under a product accordion (e.g. "Voir les conditions de retour"): snippets/product-accordion.liquid */
.mkc-accordion-link { margin-block-start: 8px; }
.mkc-accordion-link a { color: var(--mkc-accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Instant search suggestions (assets/mkc-search.js, T31) ---------- */
.mkc-suggest-host { position: relative; }
.mkc-suggest {
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(100% + 6px);
  z-index: 60;
  min-width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 540px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid #efe3e8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(61, 47, 53, 0.16);
  color: var(--color-base-black);
  text-align: start;
}
.mkc-suggest[hidden] { display: none; }
/* Mobile row (padding 0 16px 12px): the panel lines up with the field. */
.mkc-mobile-search .mkc-suggest { inset-inline: 16px; inset-block-start: calc(100% - 6px); min-width: 0; max-height: calc(100dvh - 190px); }
.mkc-suggest__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mkc-suggest__group + .mkc-suggest__group { margin-block-start: 4px; padding-block-start: 4px; border-block-start: 1px solid #f3e9ee; }
.mkc-suggest__title { margin: 0; padding: 8px 10px 4px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6d5c63; }
.mkc-suggest__item,
.mkc-suggest__cat,
.mkc-suggest__all {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.mkc-suggest__item { min-height: 60px; padding: 6px 10px; }
.mkc-suggest__cat { min-height: 44px; padding: 0 10px; font-weight: 600; }
.mkc-suggest__img { flex: none; width: 48px; height: 48px; border-radius: 8px; background: #f6f1ec; object-fit: cover; }
.mkc-suggest__name { flex: 1; min-width: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: var(--text-sm); font-weight: 500; line-height: 1.35; }
.mkc-suggest__price { flex: none; font-size: var(--text-sm); font-weight: 700; color: var(--mkc-price, var(--mkc-accent-text)); white-space: nowrap; }
.mkc-suggest mark { background: none; color: inherit; font-weight: 800; }
.mkc-suggest__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 10px 10px; }
.mkc-suggest__chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #ead9e0; border-radius: 999px; color: inherit; font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.mkc-suggest__all { justify-content: center; min-height: 48px; margin-block-start: 4px; padding: 0 10px; border-block-start: 1px solid #f3e9ee; border-radius: 0 0 10px 10px; font-size: var(--text-sm); font-weight: 700; color: #a3164f; text-align: center; }
.mkc-suggest__empty { margin: 0; padding: 14px 10px 6px; font-size: var(--text-sm); color: #5e4c53; }
.mkc-suggest a:hover,
.mkc-suggest a[aria-selected="true"] { background: #fdf1f6; }
.mkc-suggest__chip:hover,
.mkc-suggest__chip[aria-selected="true"] { border-color: rgb(var(--color-button)); }
.mkc-suggest-host.is-loading .mkc-suggest { opacity: 0.7; }

/* ---------- Mobile menu drawer (snippets/header-menu-drawer.liquid, T32) ---------- */
/* Account and favourites on top, visible without scrolling. */
.menu-drawer .mkc-drawer-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
/* Tiles (icon above the label): « Se connecter » fits on one line in a 306 px drawer. */
.menu-drawer .mkc-drawer-quick__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 8px;
  line-height: 1.2;
  border: 1px solid #ead9e0;
  border-radius: var(--mkc-btn-radius);
  background: #ffffff;
  color: var(--color-base-black);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.menu-drawer .mkc-drawer-quick__btn svg { flex: none; width: 20px; height: 20px; color: #a3164f; }
.menu-drawer .mkc-drawer-quick__btn:hover { border-color: rgb(var(--color-button)); }
/* Categories with a round thumbnail (the category image). ".menu-core" outranks header-menu-drawer.css (loaded later). */
.menu-drawer .menu-core .navigation li.mkc-drawer-cat > a,
.menu-drawer .menu-core .navigation li.mkc-drawer-cat > a:hover { padding-block: 10px; }
.menu-drawer .menu-core .navigation li.mkc-drawer-cat > a:hover { padding-inline: 8px; }
.mkc-drawer-cat__name { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.mkc-drawer-cat__thumb {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: #fbe6ee;
  color: #a3164f;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.mkc-drawer-cat__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Help block at the bottom: WhatsApp, delivery, FAQ. */
.menu-drawer .mkc-drawer-help { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #fdf1f6; }
.mkc-drawer-help__title { margin: 0; font-size: var(--text-md); font-weight: 800; color: var(--color-base-black); }
.mkc-drawer-help__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--mkc-btn-radius);
  background: #0e733d;
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}
.mkc-drawer-help__wa:hover { background: #0b5e31; color: #ffffff; }
/* The drawer sits in « yc-header .links », whose ul are hidden on phones: higher specificity. */
.menu-drawer .mkc-drawer-help ul { display: grid; margin: 0; padding: 0; list-style: none; }
.mkc-drawer-help li a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--color-base-black); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.mkc-drawer-help li a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mkc-drawer-help li svg { flex: none; width: 20px; height: 20px; color: #a3164f; }

/* ---------- hCaptcha on 320-359 px screens ---------- */
/* The widget is a fixed 302 px iframe: on a 320 px phone it widened the login, register, recover and contact
   cards to 336-340 px (horizontal scroll). The box is narrowed and the iframe scaled down to fit it. */
@media (max-width: 359px) {
  .h-captcha { width: 264px; height: 68px; overflow: hidden; }
  .h-captcha iframe { transform: scale(0.875); transform-origin: 0 0; }
}

/* ---------- Accessibility helpers (QA axe-core) ---------- */
.mkc-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Keyboard focus ring on scrollable carousels (tabindex="0" added by mkc-carousel). */
.mkc-track:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: -2px; }

/* ---------- Accent prices (#FF80C5) everywhere a price is shown ---------- */
.single-product yc-product-info .price .current,
.product-quick-view .view-box .content yc-product-info .core-info .price-info .current,
yc-section .cart .content .item .info .heading .price .original,
yc-drawer#cart .cart-drawer .item .price .original,
.mkc-wl-card__price {
  color: var(--mkc-price, var(--mkc-accent-text));
  font-weight: 700;
}

/* ---------- Drawer: promo code + discount (assets/custom-cart.js, YouCan's applyCoupon / removeCoupons) ---------- */
.mkc-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mkc-drawer-coupon { padding: 4px var(--mkc-pad, 20px) 0; }
.mkc-drawer-coupon[hidden],
.mkc-drawer-discount[hidden] { display: none; }
.mkc-drawer-coupon > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgb(var(--color-base-black, 18, 18, 18));
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}
.mkc-drawer-coupon > summary::-webkit-details-marker { display: none; }
.mkc-drawer-coupon__form { display: flex; gap: 8px; padding-bottom: 6px; }
.mkc-drawer-coupon__form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-gray-200, #e5e5e5);
  border-radius: var(--mkc-btn-radius);
  font-size: 16px; /* no zoom on iPhone */
  text-transform: uppercase;
}
.mkc-drawer-coupon__form .yc-btn { flex: none; min-height: 44px; }
yc-drawer#cart .cart-drawer .footer .mkc-drawer-discount .totals {
  padding-top: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
}
yc-drawer#cart .cart-drawer .footer .mkc-drawer-discount .mkc-drawer-discount__total { font-size: var(--text-lg); font-weight: 700; }
.mkc-drawer-coupon__remove { margin-inline-start: 6px; padding: 10px 4px; font-size: var(--text-xs); }

/* ---------- Product page, 280-359 px (Galaxy Fold folded, iPhone SE 1): price | quantity | button did not fit
   (button 194-328 px on a 280 px screen, click intercepted). Price + quantity on one line, the button below. ---------- */
@media (max-width: 359.98px) {
  #main .single-product .buy-button > yc-product-form { flex-wrap: wrap; row-gap: 8px; }
  #main .single-product .buy-button > yc-product-form > * { min-width: 0; }
  #main .single-product .buy-button yc-product-form button.primary { flex: 1 1 100%; white-space: normal; }
}

/* ---------- Header, 280-340 px (Galaxy Fold folded): menu 44 + logo 130 + icons 84 + gaps = 322 px made every page
   306 px wide on a 280 px screen. Smaller logo and gaps; nothing hidden. ---------- */
@media (max-width: 340px) {
  yc-header { gap: 8px; }
  yc-header .logo img { max-width: 96px; height: auto; }
}

/* ---------- Cart and menu drawer backdrop: the rules of Origins' .overlay + .drawer-overlay (assets/main.css,
   assets/component-drawer.css) under a class name that AI audits do not take for a pop-up or an interstitial.
   The drawer script only uses [data-toggle] (click on the backdrop closes the drawer). ---------- */
.mkc-drawer-backdrop {
  inset: 0;
  z-index: 99;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  -webkit-backdrop-filter: var(--overlay-blur);
  backdrop-filter: var(--overlay-blur);
  background-color: var(--overlay-background);
  transition: var(--transition-duration-normal);
}
yc-drawer[data-hidden$=false] .mkc-drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

/* =====================================================================
   BeautyNest — homepage sections (mkc-*)
   Retail-style layout: hero + card, promo cards, product carousels,
   spotlight, category cards, services, benefits strip, header search.
   Logical properties everywhere so the layout mirrors in Arabic (RTL).
   ===================================================================== */

/* minmax(0,1fr): keeps wide scroll tracks from stretching the grid past the container. */
.mkc-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mkc-wrap > *, .mkc-spotlight > * { min-width: 0; }

/* ---------- Buttons ---------- */
.mkc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0 1.6em;
  border: 1.5px solid currentColor;
  border-radius: var(--mkc-btn-radius, 6px);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mkc-btn--outline { color: var(--color-base-black); background: transparent; }
.mkc-btn--outline:hover {
  color: rgb(var(--color-button-text));
  background: rgb(var(--color-button));
  border-color: rgb(var(--color-button));
}
.mkc-btn--sm { min-height: 34px; padding: 0 1.1em; font-size: var(--text-sm); }
.mkc-btn--block { width: 100%; }

.mkc-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35em 0.8em;
  border-radius: 4px;
  background: color-mix(in srgb, rgb(var(--color-button)) 12%, #ffffff);
  color: var(--mkc-accent-text);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mkc-note { margin: 0; font-size: var(--text-xs); color: var(--color-gray-500); }

/* ---------- Section heading (title start, "Voir tout" end) ---------- */
.mkc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.mkc-head__title {
  margin: 0;
  font-size: clamp(2rem, 2.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.mkc-head__sub { margin: 6px 0 0; font-size: var(--text-md); color: var(--color-gray-500); }
.mkc-head .mkc-btn { flex-shrink: 0; }

/* ---------- Media ---------- */
.mkc-media { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero (image carousel, sections/mkc-hero.liquid) ---------- */
.mkc-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mkc-hero {
  --mkc-hero-ratio: 3 / 1;
  position: relative;
  border-radius: 10px;
  background: var(--mkc-hero-bg, #fce3ec);
}
.mkc-hero__slider { --mkc-per: 1; --mkc-gap: 0px; }
.mkc-hero__slider .mkc-track { padding: 0; margin: 0; border-radius: 10px; }
/* Fixed frame for every slide (no height jump). The visual is shown whole (contain) above a
   blurred copy of itself, which only shows when its proportions differ from the frame. */
.mkc-hero__slide,
.mkc-hero__single {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--mkc-hero-ratio);
  max-height: min(640px, 80vh);
  background: var(--mkc-hero-bg, #fce3ec);
}
.mkc-hero__single { border-radius: 10px; }
.mkc-hero__slide::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: var(--mkc-bg) center / cover no-repeat;
  filter: blur(22px) saturate(1.05);
  opacity: 0.85;
}
.mkc-hero__link { position: absolute; inset: 0; display: block; }
.mkc-hero__slide picture { display: contents; }
.mkc-hero__img,
.mkc-hero__single .mkc-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mkc-hero__link .mkc-hero__img { position: absolute; inset: 0; }
.mkc-hero__slider .mkc-arrow { inset-block-start: 50%; transform: translateY(-50%); }
.mkc-hero__slider .mkc-arrow:hover { transform: translateY(-50%) scale(1.06); }
.mkc-hero__slider .mkc-arrow--prev { inset-inline-start: 12px; }
.mkc-hero__slider .mkc-arrow--next { inset-inline-end: 12px; }

.mkc-hero__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 10px 2px;
}
.mkc-dots { display: flex; gap: 4px; }
/* 24px hit area around an 8px dot. */
.mkc-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.mkc-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d9b3c3;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.mkc-dot[aria-current="true"]::before { width: 22px; background: rgb(var(--color-button, 198, 56, 111)); }
.mkc-hero__pause {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e3c4d1;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-base-black);
  cursor: pointer;
}
.mkc-hero__pause svg { width: 14px; height: 14px; }
.mkc-hero__icon-play,
.mkc-hero__pause[aria-pressed="true"] .mkc-hero__icon-pause { display: none; }
.mkc-hero__pause[aria-pressed="true"] .mkc-hero__icon-play { display: block; }
.mkc-dot:focus-visible,
.mkc-hero__pause:focus-visible,
.mkc-hero__link:focus-visible { outline: 2px solid var(--color-base-black); outline-offset: 2px; }

@media (max-width: 767px) {
  .mkc-hero { --mkc-hero-ratio: var(--mkc-hero-ratio-mobile, 3 / 4); background: transparent; }
  .mkc-hero__slide::before { background-image: var(--mkc-bg-mobile, var(--mkc-bg)); }
}
@media (prefers-reduced-motion: reduce) {
  .mkc-hero__slider .mkc-track { scroll-behavior: auto; }
  .mkc-dot::before { transition: none; }
}

/* ---------- Promo cards (image + text side by side) ---------- */
.mkc-promos { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .mkc-promos { grid-template-columns: repeat(var(--mkc-cols, 2), minmax(0, 1fr)); }
}
.mkc-promo {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #ffffff;
  transition: box-shadow 0.25s ease;
}
.mkc-promo:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08); }
.mkc-promo__media { display: block; min-height: 100%; overflow: hidden; }
.mkc-promo__media .mkc-media { transition: transform 0.5s ease; }
.mkc-promo:hover .mkc-promo__media .mkc-media { transform: scale(1.04); }
.mkc-promo__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px;
}
.mkc-promo__title { margin: 0; font-size: var(--text-xl); font-weight: 700; line-height: 1.25; }
.mkc-promo__text { margin: 0; font-size: var(--text-md); line-height: 1.45; color: var(--color-gray-500); }
.mkc-promo__body .mkc-btn { margin-block-start: 6px; }
@media (max-width: 480px) {
  .mkc-promo { min-height: 170px; }
  .mkc-promo__body { padding: 14px; gap: 6px; }
  .mkc-promo__title { font-size: var(--text-lg); }
  .mkc-promo__text { font-size: var(--text-sm); }
}

/* ---------- Carousel (native scroll-snap + arrows + progress) ---------- */
mkc-carousel {
  --mkc-gap: 16px;
  --mkc-per: 2.15;
  position: relative;
  display: block;
}
@media (min-width: 640px) { mkc-carousel { --mkc-per: 3.2; } }
@media (min-width: 990px) { mkc-carousel { --mkc-per: 4.25; } }
mkc-carousel[data-kind="cats"] { --mkc-per: 2.3; }
@media (min-width: 640px) { mkc-carousel[data-kind="cats"] { --mkc-per: 3.4; } }
@media (min-width: 990px) { mkc-carousel[data-kind="cats"] { --mkc-per: 5.2; } }
/* Pages of exactly 3 products (auto-sliding "shop by" panels); 2 on phones so cards stay readable. */
mkc-carousel[data-kind="trio"] { --mkc-per: 2; }
@media (min-width: 640px) { mkc-carousel[data-kind="trio"] { --mkc-per: 3; } }
/* Sections with a "visible on desktop" setting (data-per): whole cards only, no peek.
   The doubled attribute outranks [data-kind] and ".mkc-spotlight mkc-carousel". */
@media (min-width: 990px) { mkc-carousel[data-per][data-per] { --mkc-per: var(--mkc-per-desktop); } }

.mkc-track {
  display: flex;
  gap: var(--mkc-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  padding: 4px 2px 16px;
  margin: -4px -2px 0;
}
.mkc-track::-webkit-scrollbar { display: none; }
.mkc-slide {
  flex: 0 0 calc((100% - var(--mkc-gap) * (var(--mkc-per) - 1)) / var(--mkc-per));
  min-width: 0;
  scroll-snap-align: start;
}
.mkc-slide > * { height: 100%; }
/* Shortcut whose cards are on their way (assets/mkc-home.js, loadRemote). */
.mkc-slide--ghost { min-height: 340px; border-radius: 12px; background: rgba(18, 18, 18, 0.06); animation: mkc-ghost 1s ease-in-out infinite alternate; }
/* End of a carousel on its way (setupMore): as tall as its neighbours, so the row never changes height. */
.mkc-slide--filler { min-height: 0; }
@keyframes mkc-ghost { to { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .mkc-slide--ghost { animation: none; } }

.mkc-arrow {
  position: absolute;
  inset-block-start: 38%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: var(--color-base-black);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mkc-arrow:hover { transform: scale(1.06); }
.mkc-arrow[disabled] { opacity: 0; pointer-events: none; }
.mkc-arrow--prev { inset-inline-start: -14px; }
.mkc-arrow--next { inset-inline-end: -14px; }
.mkc-arrow svg { width: 18px; height: 18px; }
[dir="rtl"] .mkc-arrow svg { transform: scaleX(-1); }
mkc-carousel[data-static] .mkc-arrow,
mkc-carousel[data-static] .mkc-progress { display: none; }
@media (hover: none), (max-width: 640px) { .mkc-arrow { display: none; } }

.mkc-progress {
  position: relative;
  height: 3px;
  margin-inline: auto;
  width: min(220px, 50%);
  border-radius: 999px;
  background: #e8e8e8;
  overflow: hidden;
}
.mkc-progress span {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 30%;
  border-radius: inherit;
  background: var(--color-base-black);
  transition: inset-inline-start 0.15s linear;
}

/* Product cards inside carousels: square image, equal heights. */
mkc-carousel .product-card { display: flex; flex-direction: column; height: 100%; }
/* minmax(0, 1fr): an auto grid column grew to the button's text width, so the button
   overflowed the card and was cut by its rounded border. */
mkc-carousel .product-card .info { flex: 1; align-content: start; grid-template-columns: minmax(0, 1fr); }
mkc-carousel .product-card .info .yc-product-form,
mkc-carousel .product-card .info yc-product-form { margin-block-start: auto; }
/* [data-style] needed to outrank product-card.css (.product-card[data-style$=standard] .img-link img). */
mkc-carousel .product-card[data-style] .img-link { height: auto; }
mkc-carousel .product-card[data-style] .img-link img { height: auto; aspect-ratio: 1 / 1; }
mkc-carousel .product-card[data-style$="standard"]:hover { transform: none; }
/* Product names on two lines (beauty names are long), equal height across cards. */
mkc-carousel .product-card .info .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.3;
  min-height: 2.6em;
}
/* Full-width CTA inside the card; the label wraps rather than being cut. */
mkc-carousel .product-card .info button,
mkc-carousel .product-card .info .yc-btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding-inline: 8px; /* "Commander maintenant" fits on one line in 4-up cards at 1280px */
  line-height: 1.2;
  white-space: normal;
}
@media (max-width: 639px) {
  mkc-carousel { --mkc-per: 2.05; --mkc-gap: 12px; }
  mkc-carousel .product-card .info { padding: 10px; }
  /* Narrow cards: the label may wrap on two lines rather than being cut ("Commander maintenan…"). */
  mkc-carousel .product-card .info button,
  mkc-carousel .product-card .info .yc-btn {
    min-height: 44px;
    padding: 6px;
    font-size: var(--text-xs);
  }
}

/* ---------- Spotlight (visual + carousel) ---------- */
.mkc-spotlight { display: grid; gap: 16px; grid-template-columns: 1fr; }
.mkc-spotlight__visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}
.mkc-spotlight__caption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 600;
}
.mkc-spotlight mkc-carousel { --mkc-per: 2.15; min-width: 0; }
@media (min-width: 990px) {
  .mkc-spotlight { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.7fr); align-items: stretch; }
  .mkc-spotlight__visual { aspect-ratio: auto; min-height: 100%; }
  .mkc-spotlight mkc-carousel { --mkc-per: 2.6; }
}

/* ---------- Category cards ---------- */
.mkc-cat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.mkc-cat:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.mkc-cat__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.mkc-cat__name {
  padding: 12px 10px 14px;
  text-align: center;
  font-size: var(--text-md);
  font-weight: 700;
}

/* ---------- Services ---------- */
.mkc-services {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block-end: 4px;
}
.mkc-services::-webkit-scrollbar { display: none; }
.mkc-service {
  flex: 0 0 82%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}
a.mkc-service:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07); }
.mkc-service__media { width: 96px; height: 96px; overflow: hidden; border-radius: 12px; }
.mkc-service__title { margin: 0 0 4px; font-size: var(--text-lg); font-weight: 700; }
.mkc-service__text { margin: 0; font-size: var(--text-sm); line-height: 1.45; color: var(--color-gray-500); }
@media (min-width: 768px) {
  .mkc-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    overflow: visible;
  }
}

/* ---------- Benefits strip (sections/mkc-benefits.liquid) ----------
   Phone < 560: one list, icon beside the text, link at the end of the text (compact cards).
   560-767: 2 columns, an odd last promise takes the full row.
   768-1279: 6-track grid, so 5 promises sit as 3 + 2 (and 4 as 2 + 2) with no hole;
   icon above the text up to 1023 (narrow cards), beside it from 1024.
   1280+: one row, icon above the text, thin separators; same width as the other sections. */
.mkc-benefits-section {
  background: var(--section-bg-color, #FCE6EF);
  border-block: 1px solid #f6d3e1;
}
.mkc-benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.mkc-benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}
.mkc-benefit__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: rgb(var(--color-button));
  box-shadow: 0 4px 12px rgba(198, 56, 111, 0.12);
}
.mkc-benefit__icon svg { width: 23px; height: 23px; }
.mkc-benefit__body { display: grid; gap: 3px; min-width: 0; }
.mkc-benefit__title {
  margin: 0;
  font-size: clamp(1.5rem, 0.3vw + 1.15rem, 1.7rem);
  font-weight: 800;
  line-height: 1.3;
  color: #3b1430;
  text-wrap: balance;
}
.mkc-benefit__text {
  margin: 0;
  font-size: clamp(1.3rem, 0.2vw + 1.05rem, 1.5rem);
  line-height: 1.45;
  color: #6b4f5c;
  text-wrap: pretty;
}
.mkc-benefit__cards { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 4px; }
.mkc-benefit__cards .mkc-pay { display: block; width: 40px; height: 25px; border-radius: 4px; box-shadow: 0 0 0 1px #eadde3; }
.mkc-benefit__link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 28px;
  margin-block-start: 2px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #a3164f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mkc-benefit__link:hover { color: #7d0f3b; }
.mkc-benefit__link:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 559px) {
  .mkc-benefit { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px 14px; }
  .mkc-benefit__icon { width: 40px; height: 40px; }
  .mkc-benefit__icon svg { width: 21px; height: 21px; }
  .mkc-benefit__body { display: block; }
  .mkc-benefit__title { margin-block-end: 2px; }
  .mkc-benefit__text { display: inline; }
  /* Inline link in the sentence (WCAG 2.5.8 exception); padding widens the tap area. */
  .mkc-benefit__link { display: inline; min-height: 0; margin: 0; margin-inline-start: 6px; padding-block: 6px; }
  .mkc-benefit__cards { margin-block-start: 6px; }
}
@media (min-width: 560px) {
  .mkc-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mkc-benefits[data-count="1"] > .mkc-benefit,
  .mkc-benefits[data-count="3"] > .mkc-benefit:last-child,
  .mkc-benefits[data-count="5"] > .mkc-benefit:last-child { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .mkc-benefits { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .mkc-benefits > .mkc-benefit,
  .mkc-benefits[data-count="3"] > .mkc-benefit:last-child { grid-column: span 2; }
  .mkc-benefits[data-count="2"] > .mkc-benefit,
  .mkc-benefits[data-count="4"] > .mkc-benefit,
  .mkc-benefits[data-count="5"] > .mkc-benefit:nth-child(n + 4),
  .mkc-benefits[data-count="5"] > .mkc-benefit:last-child { grid-column: span 3; }
  .mkc-benefits[data-count="1"] > .mkc-benefit { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .mkc-benefit { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
}
@media (min-width: 1280px) {
  .mkc-benefits { grid-template-columns: repeat(var(--mkc-benefits-cols, 5), minmax(0, 1fr)); gap: 0; }
  .mkc-benefits > .mkc-benefit,
  .mkc-benefits[data-count] > .mkc-benefit:nth-child(n),
  .mkc-benefits[data-count] > .mkc-benefit:last-child { grid-column: auto; }
  .mkc-benefit {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 8px 22px;
    border-radius: 0;
    background: transparent;
  }
  .mkc-benefit + .mkc-benefit { border-inline-start: 1px solid #f1c3d6; }
  .mkc-benefit:first-child { padding-inline-start: 0; }
  .mkc-benefit:last-child { padding-inline-end: 0; }
  .mkc-benefit__icon { width: 48px; height: 48px; }
  .mkc-benefit__icon svg { width: 25px; height: 25px; }
}

/* ---------- Header search (always visible, retail style) ---------- */
@media (min-width: 1025px) {
  yc-header .actions form.search-bar[data-expanded] {
    width: clamp(240px, 24vw, 380px);
    opacity: 1;
    visibility: visible;
  }
  yc-header .actions button.search-btn { display: none; }
}
yc-header .actions form.search-bar .search-input,
.mkc-mobile-search input {
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: var(--text-md);
}
yc-header .actions form.search-bar .search-input:focus,
.mkc-mobile-search input:focus {
  border-color: rgb(var(--color-button));
  background: #ffffff;
  outline: none;
}
.mkc-mobile-search { display: none; }
/* Compact sticky header (phones, tablets): the search row slides under the bar while scrolling down,
   back when scrolling up (assets/mkc-home.js). It hangs below the sticky header (absolute) and its
   space is kept by a margin, so nothing moves on the page. */
@media (max-width: 1024px) {
  #youcan-section--header:has(> yc-header[data-sticky]) { margin-block-end: var(--mkc-search-h, 54px); }
  #youcan-section--header:has(> yc-header[data-sticky]) > .mkc-mobile-search {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    z-index: -1;
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s linear 0s;
  }
  #youcan-section--header.mkc-compact > .mkc-mobile-search {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s linear 0.25s;
  }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  #youcan-section--header:has(> yc-header[data-sticky]) > .mkc-mobile-search { transition: none; }
}

@media (max-width: 1024px) {
  .mkc-mobile-search {
    position: relative;
    display: block;
    padding: 0 16px 12px;
    background: var(--header-bg-color, #ffffff);
  }
  .mkc-mobile-search svg {
    position: absolute;
    inset-inline-start: 30px;
    inset-block-start: 12px;
    width: 18px;
    height: 18px;
    color: var(--color-gray-500);
    pointer-events: none;
  }
  .mkc-mobile-search input {
    width: 100%;
    padding-inline: 44px 16px;
  }
}

/* =====================================================================
   Retail header: logo + wide search on row 1, category row below.
   `body` prefix outranks layout-header.css (loaded later, inside <body>).
   ===================================================================== */
@media (min-width: 1025px) {
  body yc-header[data-desktop-logo-position$="top-left"] {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 40px;
    row-gap: 4px;
    padding-block: 16px 0;
  }
  body yc-header[data-desktop-logo-position$="top-left"] .actions {
    justify-content: space-between;
    gap: 24px;
  }
  body yc-header[data-desktop-logo-position$="top-left"] .actions form.search-bar[data-expanded] {
    flex: 1;
    width: auto;
    max-width: 640px;
  }
  body yc-header[data-desktop-logo-position$="top-left"] .links { padding-block: 0 4px; }
}
yc-header .links ul.mkc-catnav {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  column-gap: 24px;
}
yc-header .links ul.mkc-catnav::-webkit-scrollbar { display: none; }
/* 14 rayons depuis le 15/11/2026 (maximum du schéma) : espacement réduit sur les écrans desktop moyens
   pour en garder le plus possible sur une ligne ; au-delà, la rangée défile horizontalement. */
@media (min-width: 1025px) and (max-width: 1199px) {
  yc-header .links ul.mkc-catnav { column-gap: 12px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  yc-header .links ul.mkc-catnav { column-gap: 18px; }
}
yc-header .links ul.mkc-catnav a.yc-btn.link {
  padding: 8px 0 10px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-size: var(--text-md);
  font-weight: 500;
}
yc-header .links ul.mkc-catnav a.yc-btn.link:hover { border-bottom-color: currentColor; }
yc-header .logo a { font-weight: 800; white-space: nowrap; }
@media (min-width: 1025px) { yc-header .logo a { font-size: 2rem; letter-spacing: 0.12em; } }
@media (max-width: 1024px) { yc-header .logo a { font-size: 1.5rem; letter-spacing: 0.06em; } }
/* ---------- Edge-to-edge hero (retail style) ---------- */
.mkc-hero[data-full],
.mkc-hero[data-full] .mkc-hero__slider .mkc-track,
.mkc-hero[data-full] .mkc-hero__single { border-radius: 0; }

/* =====================================================================
   Display headings: bold title + optional serif italic accent
   (accent font loaded by snippets/mkc-accent-font.liquid)
   ===================================================================== */
.mkc-display {
  margin: 0;
  font-size: clamp(2.6rem, 3.1vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.mkc-display__accent {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--mkc-accent-text);
}
.mkc-display--stacked .mkc-display__accent { display: block; }
/* Arabic: no italic serif for Arabic script, keep the brand colour only. */
[dir="rtl"] .mkc-display__accent { font-family: inherit; font-style: normal; font-weight: 800; }

/* =====================================================================
   Shop by (skin concerns / routine steps) - sections/mkc-shop-by.liquid
   ===================================================================== */
.mkc-shopby__head { display: grid; justify-items: center; gap: 8px; text-align: center; }
/* minmax(0,1fr): the product track must not widen the grid (page would scroll sideways). */
.mkc-shopby { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }

.mkc-shopby__list {
  position: relative;
  display: flex;
  gap: 4px;
  margin-inline: -16px;
  padding: 8px 16px 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.mkc-shopby__list::-webkit-scrollbar { display: none; }
/* Desktop: always one centred row (wrapping left a lone shortcut on a second line).
   Equal columns up to 140px share the width, so 4 to 12 shortcuts all fit. */
@media (min-width: 990px) {
  .mkc-shopby__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 140px);
    justify-content: center;
    gap: 14px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .mkc-shopby__list .mkc-shopby__item { width: auto; min-width: 0; }
  .mkc-shopby__list .mkc-shopby__media { width: min(92px, 100%); }
}

.mkc-shopby__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 92px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  scroll-snap-align: center;
  -webkit-tap-highlight-color: transparent;
}

.mkc-shopby__media {
  position: relative;
  display: block;
  width: 74px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.mkc-shopby__item:hover .mkc-shopby__media { transform: translateY(-3px); }
.mkc-shopby__item:focus-visible { outline: none; }
.mkc-shopby__item:focus-visible .mkc-shopby__media { outline: 2px solid rgb(var(--color-button)); outline-offset: 5px; }

/* Two centred lines at most, never wider than the item (« Déshydratation » spilled over its neighbours, T28):
   French hyphenation first, a hard break only as a last resort. Same reserved height for every label. */
.mkc-shopby__label {
  display: -webkit-box;
  max-width: 100%;
  min-height: 2.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-hyphens: auto;
  color: var(--color-base-black);
  transition: color 0.2s ease;
}
/* Phones: about 3.4 items per screen, so the next one always peeks and shows the row scrolls. */
@media (max-width: 479px) {
  .mkc-shopby__item { width: calc((100vw - 16px) / 3.4 - 4px); }
}
.mkc-shopby__item[aria-selected="true"] .mkc-shopby__label { color: var(--mkc-accent-text); font-weight: 800; }

/* Look 1: round photo, ring on the active one */
.mkc-shopby[data-style="photo"] .mkc-shopby__media { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.mkc-shopby[data-style="photo"] .mkc-shopby__item:hover .mkc-shopby__media,
.mkc-shopby[data-style="photo"] [aria-selected="true"] .mkc-shopby__media {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px rgb(var(--color-button));
}

/* Look 2: cut-out product with a pink glow, white disc on the active one */
.mkc-shopby[data-style="glow"] .mkc-shopby__media {
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}
.mkc-shopby[data-style="glow"] .mkc-shopby__media .mkc-media {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 92, 168, 0.95)) drop-shadow(0 0 9px rgba(255, 64, 150, 0.55));
  transition: transform 0.25s ease;
}
.mkc-shopby[data-style="glow"] .mkc-shopby__item:hover .mkc-media { transform: scale(1.06); }
.mkc-shopby[data-style="glow"] [aria-selected="true"] .mkc-shopby__media {
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(198, 56, 111, 0.18);
}

/* minmax(0, 1fr): without it the grid column grows to the carousel's full scroll width (giant, cut-off cards). */
.mkc-shopby__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.mkc-shopby__panel[hidden] { display: none; }
.mkc-shopby__panel:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 6px; }
.mkc-shopby__panel:not([hidden]) { animation: mkc-panel-in 0.3s ease; }
@keyframes mkc-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.mkc-shopby__more { display: flex; justify-content: center; }
.mkc-shopby__empty { margin: 0; padding: 28px 0; text-align: center; color: var(--color-gray-500); }

/* =====================================================================
   Customer reviews - sections/mkc-testimonials.liquid
   ===================================================================== */
mkc-carousel[data-kind="testi"] { --mkc-per: 1.12; --mkc-gap: 12px; }
@media (min-width: 640px) { mkc-carousel[data-kind="testi"] { --mkc-per: 2.1; --mkc-gap: 16px; } }
@media (min-width: 990px) { mkc-carousel[data-kind="testi"] { --mkc-per: 3; } }

.mkc-testi { display: grid; gap: 28px; }
.mkc-testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.mkc-testi__nav { display: flex; flex-shrink: 0; gap: 12px; }
.mkc-testi__arrow {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--color-base-black);
  border-radius: 50%;
  background: transparent;
  color: var(--color-base-black);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.mkc-testi__arrow svg { width: 20px; height: 20px; }
.mkc-testi__arrow:hover:not([disabled]) { background: var(--color-base-black); color: #ffffff; }
.mkc-testi__arrow[disabled] { opacity: 0.25; cursor: default; }
[dir="rtl"] .mkc-testi__arrow svg { transform: scaleX(-1); }
@media (hover: none), (max-width: 640px) { .mkc-testi__nav { display: none; } }
.mkc-testi .mkc-track { padding-block: 2px 6px; }

.mkc-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  margin: 0;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(91, 31, 58, 0.05);
}
@media (min-width: 990px) { .mkc-review { padding: 24px 24px 20px; } }
.mkc-review__who { display: flex; align-items: center; gap: 12px; }
.mkc-review__avatar {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbe0ea, #f3b7cc);
  color: #9e2558;
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.mkc-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mkc-review__id { display: grid; gap: 2px; min-width: 0; }
.mkc-review__name { font-size: var(--text-md); font-weight: 700; line-height: 1.25; }
.mkc-review__city { font-size: var(--text-sm); color: var(--color-gray-500); }
.mkc-review__stars { display: flex; gap: 2px; color: #e8a93a; }
.mkc-review__stars svg { width: 16px; height: 16px; }
.mkc-review__stars .is-off { color: #e9e1e4; }
.mkc-review__quote {
  flex: 1;
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-base-black);
  quotes: "\00AB\00A0" "\00A0\00BB";
}
.mkc-review__quote::before { content: open-quote; }
.mkc-review__quote::after { content: close-quote; }

.mkc-review__product {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-block-start: 14px;
  border-block-start: 1px solid #f1e7eb;
}
.mkc-review__thumb { display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 8px; background: #f6f2f4; }
.mkc-review__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mkc-review__pinfo { display: grid; gap: 2px; min-width: 0; }
.mkc-review__pname {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.mkc-review__pname:hover { color: var(--mkc-accent-text); }
.mkc-review__price { font-size: var(--text-sm); font-weight: 700; color: var(--mkc-price, var(--mkc-accent-text)); }
.mkc-review__atc { display: block; }

.mkc-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-base-black);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.mkc-icon-btn svg { width: 20px; height: 20px; }
.mkc-icon-btn:hover { background: rgb(var(--color-button)); color: #ffffff; transform: scale(1.06); }
.mkc-icon-btn[data-loading] { pointer-events: none; }
.mkc-icon-btn[data-loading] svg { opacity: 0; }
.mkc-icon-btn[data-loading]::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .mkc-shopby__panel:not([hidden]) { animation: none; }
  .mkc-shopby__media,
  .mkc-shopby[data-style="glow"] .mkc-media,
  .mkc-icon-btn { transition: none; }
}

/* =====================================================================
   « Nos coups de cœur » (sections/mkc-popular-picks.liquid)
   Editorial header, segmented pill tabs with icons, premium product cards.
   Logical properties throughout (mirrors in Arabic).
   ===================================================================== */
.mkc-picks { display: grid; gap: 26px; }
.mkc-picks__head { display: grid; justify-items: center; gap: 10px; text-align: center; }
.mkc-picks__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mkc-accent-text);
}
.mkc-picks__eyebrow::before,
.mkc-picks__eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.5; }
.mkc-picks__title { margin: 0; }
.mkc-picks__title .mkc-display__accent { font-size: 1.2em; color: var(--color-base-black); }
.mkc-picks__sub { margin: 0; max-width: 560px; font-size: var(--text-md); line-height: 1.5; color: #6f6a66; }

/* Segmented control: soft track, the active tab is a raised white pill. */
.mkc-picks__tabs-root { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.mkc-picks__tabs-scroll { overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; }
.mkc-picks__tabs-scroll::-webkit-scrollbar { display: none; }
.mkc-picks__tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  margin-inline: auto;
  padding: 5px;
  border-radius: 999px;
  background: #f7eef2;
  box-shadow: inset 0 0 0 1px rgba(198, 56, 111, 0.08);
}
.mkc-picks__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5e4c53;
  font: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.mkc-picks__tab .mkc-pick-icon { width: 18px; height: 18px; flex-shrink: 0; }
.mkc-picks__tab:hover { color: var(--color-base-black); }
.mkc-picks__tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--color-base-black);
  box-shadow: 0 6px 18px rgba(91, 31, 58, 0.12), 0 1px 2px rgba(91, 31, 58, 0.08);
}
.mkc-picks__tab[aria-selected="true"] .mkc-pick-icon { color: rgb(var(--color-button)); }
.mkc-picks__tab:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 2px; }

.mkc-picks__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.mkc-picks__panel[hidden] { display: none; }
.mkc-picks__panel:not([hidden]) { animation: mkc-picks-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mkc-picks__panel:focus-visible { outline: none; }
@keyframes mkc-picks-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Offer banner (offer tabs only). */
.mkc-picks__offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fbe8ef;
  color: #7a1f45;
  font-size: var(--text-md);
  font-weight: 600;
  text-align: center;
}
.mkc-picks__offer[data-tone="green"] { background: #e8f3dc; color: #2f4a17; }
.mkc-picks__offer[data-tone="dark"] { background: #1e1e1e; color: #ffffff; }
.mkc-picks__offer .mkc-pick-icon { width: 20px; height: 20px; flex-shrink: 0; }

.mkc-picks__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding-block: 6px;
  border-block-end: 1px solid currentColor;
  color: var(--color-base-black);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
}
.mkc-picks__more svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.mkc-picks__more:hover svg { transform: translateX(4px); }
[dir="rtl"] .mkc-picks__more svg { transform: scaleX(-1); }
[dir="rtl"] .mkc-picks__more:hover svg { transform: scaleX(-1) translateX(4px); }

/* Row: 2.2 cards on phones (the peek invites a swipe), 3.2 on tablets, whole cards on desktop. */
mkc-carousel[data-kind="picks"] { --mkc-gap: 22px; --mkc-per: 2.2; }
@media (min-width: 640px) { mkc-carousel[data-kind="picks"] { --mkc-per: 3.2; } }
@media (max-width: 989px) { mkc-carousel[data-kind="picks"] { --mkc-gap: 14px; } }
mkc-carousel[data-kind="picks"] .mkc-arrow {
  inset-block-start: 36%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-base-black);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
mkc-carousel[data-kind="picks"] .mkc-arrow--prev { inset-inline-start: -10px; }
mkc-carousel[data-kind="picks"] .mkc-arrow--next { inset-inline-end: -10px; }

/* ---------- Card ---------- */
.mkc-pick { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.mkc-pick__media { position: relative; }
.mkc-pick__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: var(--mkc-pick-frame, #f6f1ec);
  isolation: isolate;
}
.mkc-pick__photo { position: absolute; inset: 0; display: block; }
.mkc-pick__photo img,
.mkc-pick__photo svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mkc-pick:hover .mkc-pick__photo img { transform: scale(1.05); }
/* Soft shade at the bottom so the rank number and the button stay readable on light photos. */
.mkc-pick__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(30, 18, 24, 0.28), transparent);
  pointer-events: none;
  z-index: 0;
}

.mkc-pick__badges {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}
.mkc-pick__badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  background: #1e1e1e;
  color: #ffffff;
}
.mkc-pick__badge[data-tone="pink"] { background: rgb(var(--color-button)); color: rgb(var(--color-button-text)); }
.mkc-pick__badge[data-tone="green"] { background: #cfe3b6; color: #2f4a17; }
.mkc-pick__badge[data-tone="sale"] { background: var(--badge-bg-color, #FF80C5); color: var(--badge-text-color, #3B1430); }

.mkc-pick__rating {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 1.25rem;
  font-weight: 700;
  pointer-events: none;
}
.mkc-pick__rating svg { width: 14px; height: 14px; color: #f2a516; }

.mkc-pick__rank {
  position: absolute;
  inset-block-end: 6px;
  inset-inline-start: 16px;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(4.2rem, 4.4vw, 6.4rem);
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Add to cart: slides up on hover (mouse), always visible on touch screens. */
.mkc-pick__cta {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 12px;
  z-index: 2;
  transform: translateY(calc(100% + 16px));
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}
.mkc-pick:hover .mkc-pick__cta,
.mkc-pick:focus-within .mkc-pick__cta { transform: none; opacity: 1; }
.mkc-pick:hover .mkc-pick__rank,
.mkc-pick:focus-within .mkc-pick__rank { opacity: 0; }
.mkc-pick__cta yc-product-form,
.mkc-pick__cta .product-quick-view { display: block; }
.mkc-pick__cta button.secondary,
.mkc-pick__cta .yc-btn.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: var(--mkc-btn-radius, 6px);
  font-size: var(--text-md);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  cursor: pointer;
}
/* Colours: shared purchase-button rules in custom.css (T22). */

.mkc-pick__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-base-black);
  text-decoration: none;
}
.mkc-pick__info:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 4px; border-radius: 6px; }
.mkc-pick__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mkc-pick__tag {
  padding: 4px 11px;
  border: 1px solid #e6dfd9;
  border-radius: 999px;
  font-size: 1.2rem;
  color: #6f6a66;
  line-height: 1.2;
}
.mkc-pick__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
}
.mkc-pick__info:hover .mkc-pick__name { text-decoration: underline; text-underline-offset: 3px; }
.mkc-pick__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: var(--text-lg); }
.mkc-pick__now { font-weight: 700; color: var(--mkc-price, var(--mkc-accent-text)); }
.mkc-pick__was { color: #6f6a66; font-size: 0.9em; } /* 5.3:1 on white (WCAG AA); #8a8580 was 3.6:1 */

/* Touch screens: no hover, so the button sits under the photo, always visible. */
@media (hover: none) {
  .mkc-pick__media { display: flex; flex-direction: column; overflow: visible; aspect-ratio: auto; background: none; border-radius: 0; }
  .mkc-pick__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: var(--mkc-pick-frame, #f6f1ec); }
  .mkc-pick__frame::after { display: none; }
  .mkc-pick__rank { inset-block-end: auto; inset-block-start: calc(100% - 4.6rem - 52px); }
  .mkc-pick__cta { position: static; order: 2; margin-block-start: 10px; transform: none; opacity: 1; }
  .mkc-pick:hover .mkc-pick__rank { opacity: 1; }
  .mkc-pick__cta button.secondary, .mkc-pick__cta .yc-btn.secondary { box-shadow: none; }
}

@media (max-width: 639px) {
  .mkc-picks { gap: 20px; }
  .mkc-picks__tab { padding: 10px 14px; gap: 6px; font-size: 1.35rem; }
  .mkc-picks__tab .mkc-pick-icon { width: 16px; height: 16px; }
  .mkc-pick__frame { border-radius: 16px; }
  .mkc-pick__badges { inset-block-start: 10px; inset-inline-start: 10px; }
  .mkc-pick__badge { padding: 4px 8px; font-size: 1.2rem; letter-spacing: 0.02em; }
  /* Small cards: the rating moves to the bottom corner, facing the rank, so it never meets the badge. */
  .mkc-pick__rating { inset-block: auto 10px; inset-inline-end: 10px; padding: 4px 8px; font-size: 1.2rem; }
  .mkc-pick__rank { inset-inline-start: 10px; font-size: 3.8rem; }
  .mkc-pick__tag { padding: 3px 9px; font-size: 1.2rem; }
  .mkc-pick__name, .mkc-pick__price { font-size: var(--text-md); }
  .mkc-pick__cta button.secondary, .mkc-pick__cta .yc-btn.secondary { min-height: 44px; padding-inline: 8px; font-size: 1.3rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .mkc-picks__panel:not([hidden]) { animation: none; }
  .mkc-pick__photo img, .mkc-pick__cta, .mkc-pick__rank { transition: none; }
}

/* ---------- Questions fréquentes (sections/mkc-faq-home.liquid) ---------- */
.mkc-hfaq { display: grid; gap: 28px; max-width: 1180px; margin-inline: auto; }
.mkc-hfaq__head { display: grid; justify-items: center; gap: 8px; text-align: center; }
.mkc-hfaq__eyebrow {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mkc-accent-text);
}
[dir="rtl"] .mkc-hfaq__eyebrow { letter-spacing: 0; }
.mkc-hfaq__title { margin: 0; font-size: clamp(2.4rem, 3vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.mkc-hfaq__sub { max-width: 620px; margin: 0; font-size: var(--text-md); line-height: 1.55; color: var(--color-gray-500); }
.mkc-hfaq__cols { display: grid; gap: 0 40px; align-items: start; }
@media (min-width: 990px) { .mkc-hfaq__cols[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mkc-hfaq__col { display: grid; }
.mkc-hfaq__item { border-block-end: 1px solid #efe3e8; }
.mkc-hfaq__col > .mkc-hfaq__item:first-child { border-block-start: 1px solid #efe3e8; }
@media (min-width: 990px) { .mkc-hfaq__cols[data-cols="2"] .mkc-hfaq__col > .mkc-hfaq__item:first-child { border-block-start: 1px solid #efe3e8; } }
@media (max-width: 989px) { .mkc-hfaq__col + .mkc-hfaq__col > .mkc-hfaq__item:first-child { border-block-start: 0; } }
.mkc-hfaq__item > summary {
  position: relative;
  display: block;
  padding-block: 18px;
  padding-inline-end: 44px;
  list-style: none;
  cursor: pointer;
}
.mkc-hfaq__item > summary::-webkit-details-marker { display: none; }
.mkc-hfaq__item > summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 4px;
  inset-block-start: 50%;
  width: 30px;
  height: 30px;
  margin-block-start: -15px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    #fbe6ee;
  color: rgb(var(--color-button));
  transition: transform 0.2s ease;
}
.mkc-hfaq__item[open] > summary::after {
  background:
    linear-gradient(#ffffff, #ffffff) center / 12px 2px no-repeat,
    rgb(var(--color-button));
  transform: rotate(180deg);
}
.mkc-hfaq__item > summary:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 2px; border-radius: 6px; }
.mkc-hfaq__q { margin: 0; font-size: var(--text-lg); font-weight: 700; line-height: 1.4; color: var(--color-base-black); }
.mkc-hfaq__item > summary:hover .mkc-hfaq__q { color: var(--mkc-accent-text); }
.mkc-hfaq__a { padding-block-end: 18px; padding-inline-end: 44px; font-size: var(--text-md); line-height: 1.65; color: #4f4248; }
.mkc-hfaq__a > * { margin: 0; }
.mkc-hfaq__a > * + * { margin-block-start: 0.6em; }
.mkc-hfaq__a a { color: var(--mkc-accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mkc-hfaq__a ul { padding-inline-start: 1.2em; list-style: disc; }
.mkc-hfaq__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.mkc-hfaq__btn { min-height: 48px; }
.mkc-hfaq__wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: #0e733d; text-decoration: none; }
.mkc-hfaq__wa:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .mkc-hfaq__item > summary::after { transition: none; } }
@media (max-width: 640px) {
  .mkc-hfaq { gap: 20px; }
  .mkc-hfaq__q { font-size: var(--text-md); }
  .mkc-hfaq__a { padding-inline-end: 0; }
  .mkc-hfaq__foot { flex-direction: column; }
  .mkc-hfaq__btn { width: 100%; justify-content: center; }
}

/* ---------- Nos marques (sections/mkc-brands.liquid) ---------- */
.mkc-brands-section { background: var(--section-bg-color, #FDF0F5); }
.mkc-brands { position: relative; display: grid; gap: 22px; max-width: 1280px; margin-inline: auto; }
.mkc-brands__head { display: grid; justify-items: center; gap: 8px; text-align: center; }
.mkc-brands__eyebrow {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mkc-accent-text);
}
[dir="rtl"] .mkc-brands__eyebrow { letter-spacing: 0; }
.mkc-brands__title { margin: 0; font-size: clamp(2.4rem, 3vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.mkc-brands__sub { max-width: 640px; margin: 0; font-size: var(--text-md); line-height: 1.55; color: var(--color-gray-500); }

.mkc-brands__tile {
  display: grid;
  place-items: center;
  width: 168px;
  height: 84px;
  padding: 14px 18px;
  border: 1px solid #f1dce5;
  border-radius: 16px;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mkc-brands__tile img { display: block; width: auto; height: auto; max-width: 128px; max-height: 42px; object-fit: contain; }
a.mkc-brands__tile:hover { border-color: rgb(var(--color-button)); box-shadow: 0 8px 22px rgba(91, 31, 58, 0.1); transform: translateY(-2px); }
a.mkc-brands__tile:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 3px; }
.mkc-brands[data-grayscale] .mkc-brands__tile img { filter: grayscale(1); opacity: 0.75; transition: filter 0.2s ease, opacity 0.2s ease; }
.mkc-brands[data-grayscale] .mkc-brands__tile:hover img { filter: none; opacity: 1; }
.mkc-brands__item { flex: none; list-style: none; }

/* Marquee: two copies of the row slide by their own width, so the loop has no seam. */
.mkc-brands__row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mkc-brands__track {
  display: flex;
  flex: none;
  gap: 14px;
  margin: 0;
  padding: 6px 7px;
  list-style: none;
  animation: mkc-brands-scroll var(--mkc-brands-speed, 45s) linear infinite;
}
.mkc-brands__row[data-row="2"] .mkc-brands__track { animation-direction: reverse; }
[dir="rtl"] .mkc-brands__track { animation-name: mkc-brands-scroll-rtl; }
.mkc-brands__row:hover .mkc-brands__track,
.mkc-brands__row:focus-within .mkc-brands__track,
.mkc-brands[data-paused] .mkc-brands__track { animation-play-state: paused; }
@keyframes mkc-brands-scroll { to { transform: translateX(-100%); } }
@keyframes mkc-brands-scroll-rtl { to { transform: translateX(100%); } }

.mkc-brands__pause {
  justify-self: end;
  margin-block-start: -8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ead0db;
  border-radius: 50%;
  background: #ffffff;
  color: #3b1430;
  cursor: pointer;
}
.mkc-brands__pause[hidden], .mkc-brands__pause svg[hidden] { display: none; }
.mkc-brands__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mkc-brands__pause [data-icon="play"] path { fill: currentColor; stroke: none; }
.mkc-brands__pause:focus-visible { outline: 2px solid rgb(var(--color-button)); outline-offset: 2px; }

/* Still grid (layout "grid", and for people who reduce motion). */
.mkc-brands__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (prefers-reduced-motion: reduce) {
  .mkc-brands__row { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .mkc-brands__track { flex-wrap: wrap; justify-content: center; animation: none; }
  .mkc-brands__track[aria-hidden="true"] { display: none; }
  .mkc-brands__pause { display: none !important; }
  .mkc-brands__tile { transition: none; }
}
.mkc-brands__foot { display: flex; justify-content: center; }
@media (max-width: 640px) {
  .mkc-brands { gap: 16px; }
  .mkc-brands__tile { width: 132px; height: 68px; padding: 10px 14px; border-radius: 14px; }
  .mkc-brands__tile img { max-width: 100px; max-height: 34px; }
  .mkc-brands__track { gap: 10px; }
  .mkc-brands__pause { width: 36px; height: 36px; }
  .mkc-brands__grid { gap: 10px; }
}

#youcan-section--announcement-bar{
  padding-inline:10%;
  background-color:rgb(var(--announcement-bar-background-color));
  border-block-end:1px solid rgba(var(--announcement-bar-foreground-color), 0.08);
  order:var(--announcement_bar_order);
}
#youcan-section--announcement-bar .announcement{
  text-align:center;
}
#youcan-section--announcement-bar .announcement .message,
#youcan-section--announcement-bar .announcement .link{
  font-size:calc(var(--font-heading-scale) * 1.3rem);
  color:rgb(var(--announcement-bar-foreground-color));
}
#youcan-section--announcement-bar .announcement .message{
  padding-block:0.6em;
}
#youcan-section--announcement-bar .announcement .link:hover{
  font-size:inherit;
  -webkit-text-decoration:underline;
  text-decoration:underline;
}

yc-header{
  padding:1em 10%;
  display:grid;
  align-items:center;
  grid-template-areas:"left-icons heading icons";
  grid-template-columns:1fr 2fr 1fr;
  grid-gap:var(--gap-lg);
  gap:var(--gap-lg);
  color:rgb(var(--header-text-color));
  background-color:var(--header-bg-color);
}
yc-header > [data-block]{
  display:flex;
  align-items:center;
}
yc-header > [data-block]:nth-last-child(2){
  justify-content:center;
}
yc-header > [data-block]:last-child{
  justify-content:flex-end;
}
yc-header[data-desktop-logo-position$=top-left]{
  grid-template-areas:"heading actions" "navigation navigation";
  grid-template-columns:1fr auto;
}
yc-header[data-desktop-logo-position$=top-left] .links{
  justify-content:flex-start;
}
yc-header[data-desktop-logo-position$=middle-left]{
  grid-template-areas:"heading navigation actions";
  grid-template-columns:1fr auto 1fr;
}
yc-header[data-desktop-logo-position$=middle-left] .links ul{
  justify-content:center;
}
yc-header[data-desktop-logo-position$=top-center]{
  grid-template-areas:"left-icons heading actions" "navigation navigation navigation";
}
yc-header[data-desktop-logo-position$=top-center] .logo,
yc-header[data-desktop-logo-position$=top-center] .links{
  justify-content:center;
}
yc-header[data-desktop-logo-position$=middle-center]{
  grid-template-areas:"navigation heading actions";
  grid-template-columns:1fr auto 1fr;
}
yc-header[data-desktop-logo-position$=middle-center] .links{
  justify-content:flex-start;
}
yc-header .logo{
  grid-area:heading;
}
yc-header .logo a{
  display:inline-flex;
  text-transform:uppercase;
  color:rgb(var(--header-text-color));
}
yc-header .logo img{
  width:var(--header-logo-width);
  -o-object-fit:contain;
     object-fit:contain;
}
yc-header .links{
  grid-area:navigation;
}
yc-header .links ul{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  -moz-column-gap:var(--gap-xl);
       column-gap:var(--gap-xl);
  row-gap:var(--gap-md);
}
yc-header .links ul li a.link{
  width:-moz-max-content;
  width:max-content;
  color:rgb(var(--header-text-color));
}
yc-header .links > ul > li .sub-links{
  position:absolute;
  z-index:3;
  left:50%;
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  min-width:200px;
  max-width:260px;
  padding:var(--gap-md);
  -moz-column-gap:0;
       column-gap:0;
  row-gap:var(--gap-2xs);
  border-radius:var(--radius-md);
  background-color:var(--header-bg-color);
  box-shadow:var(--shadow-dark-sm);
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%);
  translate:0 -8px;
  transition:var(--transition-duration-normal);
  inset-block-start:calc(100% + var(--gap-md));
}
yc-header .links > ul > li .sub-links::before{
  content:"";
  position:absolute;
  height:var(--gap-md);
  inset-block-end:100%;
  inset-inline:0;
}
yc-header .links > ul > li .sub-links .sub-link a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap-md);
  width:100%;
  padding:var(--gap-md);
  font-size:var(--text-sm);
  border-radius:var(--radius-sm);
  color:rgb(var(--header-text-color));
  transition:var(--transition-duration-fast);
}
yc-header .links > ul > li .sub-links .sub-link a span{
  min-width:0;
  word-wrap:break-word;
}
yc-header .links > ul > li .sub-links .sub-link a .icon{
  opacity:0.5;
}
[dir="rtl"] yc-header .links > ul > li .sub-links .sub-link a .icon{
  rotate:180deg;
}
yc-header .links > ul > li .sub-links .sub-link a:hover{
  background-color:rgba(var(--header-text-color), 5%);
}
yc-header .links > ul > li[data-has-submenu=true]{
  position:relative;
}
yc-header .links > ul > li[data-has-submenu=true] > a.link .icon{
  transition:var(--transition-duration-normal);
}
yc-header .links > ul > li[data-has-submenu=true]:hover > a.link .icon, yc-header .links > ul > li[data-has-submenu=true]:focus-within > a.link .icon{
  rotate:180deg;
}
yc-header .links > ul > li[data-has-submenu=true]:hover .sub-links, yc-header .links > ul > li[data-has-submenu=true]:focus-within .sub-links{
  opacity:1;
  pointer-events:auto;
  translate:0 0;
}
yc-header .actions{
  grid-area:actions;
  gap:var(--gap-lg);
}
yc-header .actions .cart-btn,
yc-header .actions .search-btn{
  color:rgb(var(--header-text-color));
}
yc-header .actions .cart-btn{
  gap:1.5em;
  width:-moz-max-content;
  width:max-content;
  position:relative;
}
yc-header .actions .cart-btn .total-amount{
  font-size:var(--text-xs);
  font-weight:550;
}
yc-header .actions .cart-btn::before{
  content:"";
  position:absolute;
  height:100%;
  width:1px;
  background-color:rgba(var(--header-text-color), 20%);
  inset-inline-start:40px;
}
yc-header .actions .cart-btn .total-items{
  position:absolute;
  padding:5px 8px;
  font-size:10px;
  clip-path:circle();
  color:var(--header-bg-color);
  background-color:rgb(var(--header-text-color));
  inset-block-start:-8px;
  inset-inline-start:-8px;
}
yc-header .actions .search-btn{
  z-index:2;
}
yc-header .actions .search-btn .icon{
  display:none;
}
yc-header .actions .search-bar{
  width:250px;
  position:relative;
  transition:var(--transition-duration-normal);
}
yc-header .actions .search-bar .search-input{
  padding-inline-start:40px !important;
  color:rgb(var(--header-text-color)) !important;
}
yc-header .actions .search-bar .icon{
  position:absolute;
  inset-block-start:28%;
  inset-inline-start:12px;
  color:rgb(var(--header-text-color));
}
yc-header .actions .search-bar[data-expanded$=false]{
  width:0px;
  opacity:0;
  visibility:hidden;
}
yc-header .actions .search-bar[data-expanded$=false] ~ .search-btn .icon:first-child{
  display:block;
}
yc-header .actions .search-bar[data-expanded$=true] ~ .search-btn .icon:last-child{
  display:block;
}
yc-header[data-bottom-border]{
  border-block-end:1px solid rgba(var(--header-text-color), 8%);
}

#youcan-section--header:has(yc-header[data-sticky]){
  top:0;
  z-index:2;
  position:sticky;
}

@media (max-width: 1024px){
  yc-header{
    grid-template-columns:1fr auto 1fr !important;
    grid-template-areas:"navigation heading actions" !important;
  }
  yc-header[data-desktop-logo-position$=middle-left] .links, yc-header[data-desktop-logo-position$=top-center] .links{
    justify-content:flex-start;
  }
  yc-header[data-mobile-logo-position$=left]{
    grid-template-columns:auto 2fr 1fr !important;
  }
  yc-header .links ul,
  yc-header .actions .search-bar,
  yc-header .actions .search-btn{
    display:none;
  }
}
@media (max-width: 768px){
  yc-header{
    padding:1em;
  }
}

:root{
  --drawer-offset:.5em;
  --drawer-width:500px;
}

yc-drawer .drawer-btn{
  color:currentColor;
  border-color:color-mix(in srgb, currentColor 20%, transparent);
}
yc-drawer .drawer-box{
  position:fixed;
  z-index:100;
  inset:0;
  margin:.5em;
  margin:var(--drawer-offset);
  width:500px;
  width:var(--drawer-width);
  inset-inline-start:calc(500px * -1 - .5em * 2);
  inset-inline-start:calc(var(--drawer-width) * -1 - var(--drawer-offset) * 2);
  border-radius:var(--drawer-border-radius);
  overflow:hidden;
  transition:var(--transition-duration-normal);
}
yc-drawer .drawer-overlay{
  opacity:0;
  visibility:hidden;
}
yc-drawer[data-direction$=rtl] .drawer-box{
  inset-inline-start:100%;
}
yc-drawer[data-hidden$=false][data-direction$=rtl] .drawer-box{
  inset-inline-start:calc(100% - 500px - .5em * 2);
  inset-inline-start:calc(100% - var(--drawer-width) - var(--drawer-offset) * 2);
}
yc-drawer[data-hidden$=false] .drawer-box{
  inset-inline-start:0%;
}
yc-drawer[data-hidden$=false] .drawer-overlay{
  opacity:1;
  visibility:visible;
}
yc-drawer#menu{
  display:none;
}

@media (max-width: 1024px){
  yc-drawer#menu{
    display:inline;
    display:initial;
  }
}
@media (max-width: 768px){
  :root{
    --drawer-width:85%;
  }
  yc-drawer#cart .cart-btn .total-amount,
  yc-drawer#cart .cart-btn::before{
    display:none;
  }
}
