/**
 * MAC Brand Overrides — styles.css
 * ====================================
 * Brand-specific CSS overrides for the MAC tenant.
 *
 *
 * Dependency chain:
 *   default/vars.css → brands/mac/vars.css → default/styles.css → styles.css (this file)
 */

.drupal.content a:not([class*="border-"]) {
  border-bottom: solid 1px var(--color-gray-100)
}
body {
  cursor: var(--cursor-url, 'default')
}
.logo {
  top: var(--logo-top, 0)
}
@media (min-width: 768px) {
  .logo {
    top: var(--logo-top-medium, 0)
  }
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: var(--text-lg-3);
  line-height: 1.1;
}
@media (min-width: 768px) {
  h1 {
    font-size: var(--text-lg-4_25);
    line-height: 1.2;
  }
}

h2 {
  font-size: var(--text-lg-2_25);
  line-height: 1.1;
  margin-block: 8px;
  letter-spacing: -3px;
}
@media (min-width: 768px) {
  h2 {
    font-size: var(--text-lg-3);
  }
}

h3,
h4 {
  font-size: var(--text-lg-1);
  line-height: 1.2;
}
@media (min-width: 768px) {
  h3,
  h4 {
    font-size: var(--text-lg-2);
  }
}

h4 {
  font-weight: 700;
}

h5,
h6 {
  font-size: var(--text-sm-2);
  line-height: 1.2;
}

h6 {
  font-weight: 700;
}

strong,
b {
  font-size: inherit;
  font-family: inherit;
}

/* Overwriting global css defined weight 700, need to make the text bolder based on font used */
.drupal strong,
strong,
b {
  font-weight: bolder;
}

/* Filter Colors */
.filter-purple_color {
  background-color: #761133;
}
.filter-blue_color {
  background-color: #171aca;
}
.filter-berry_color {
  background-color: #572a41;
}
.filter-nude_color {
  background-color: #c05d59;
}
.filter-orange_color {
  background-color: #e49263;
}
.filter-pink_color {
  background-color: #d3707e;
}
.filter-red_color {
  background-color: #a51b15;
}
.filter-brown_color {
  background-color: #af7e64;
}
.filter-bold_color {
  background-color: #201d4a;
}
.filter-coral_color {
  background-color: #f75753;
}
.filter-beige_color {
  background-color: #ffd8be;
}
.filter-copper_color {
  background-color: #ca9b87;
}
.filter-gold_color {
  background-color: #d0956d;
}
.filter-white_color {
  background-color: #e8e0da;
}
.filter-neutral_color {
  background-color: #edd0b2;
}
.filter-yellow_color {
  background-color: #fbc856;
}
.filter-bronze_color {
  background-color: #d78148;
}
.filter-green_color {
  background-color: #c2c955;
}
.filter-silver_color {
  background-color: #a5a3a4;
}
.filter-black_color {
  background-color: #1e1b1d;
}

.white-caret {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg version='1.1' width='500px' height='290px' viewBox='0 0 500.0 290.0' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3CclipPath id='57991071145612110310350109'%3E%3Cpath d='M459.7,0 L500,40.2 L250,289.7 L0,40.2 L40.3,0 L250,209.3 L459.7,0 Z'%3E%3C/path%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%2357991071145612110310350109)'%3E%3Cpolygon points='0,0 500,0 500,289.7 0,289.7 0,0' stroke='none' fill='%23FFFFFF'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
  }
  footer .social {
    display: none;
  }
  footer .connect-section ul {
    display: flex;
    justify-content: center;
  }
  footer .connect-section li i {
    background-repeat: no-repeat;
    background-position: center;
    height: 20px;
    width: 20px;
    display: inline-block;
    margin: 0 8px;
  }
  @media only screen and (min-width: 1024px) {
    footer .connect-section li i {
      background-size: cover;
      height: 18px;
      width: 21px;
      margin: 0 5px;
      
    }
  }
  footer .icon--facebook {
    background-image: url('./icons/icon--social-facebook-576d0f00ab7537331f72bd8ca3b452a8.svg?vsn=d');
  }
  footer .icon--twitter {
    background-image: url('./icons/icon--social-x-b2c027a1ba26cb7d74030178c22667df.svg?vsn=d');
  }
  footer .icon--instagram {
    background-image: url('./icons/icon--social-instagram-5c5f81ecb18e4414f244e4109b180077.svg?vsn=d');
  }
  footer .icon--pinterest {
    background-image: url('./icons/icon--social-pinterest-bb8b93f8fe021f02681d73b8de948ab6.svg?vsn=d');
  }
  footer .icon--youtube {
    background-image: url('./icons/icon--social-youtube-1c0078f7fe4bd90020d33c81e63fa10a.svg?vsn=d');
  }
  footer .icon--ticktok {
    background-image: url('./icons/icon--social-ticktok-37ff5b2ee1c0ec74e1170db6ac668bb3.svg?vsn=d');
  }
  footer .icon--tumblr {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg version="1.1" fill="white" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><g><path d="M561.2,438.8v224.1c0,56.9-0.7,89.6,5.3,105.7c6,16,21,32.7,37.3,42.3c21.7,13,46.5,19.5,74.4,19.5c49.6,0,78.9-6.6,128-38.8v147.3l0,0c-41.8,19.7-78.3,31.2-112.3,39.2c-34,7.9-70.7,11.9-110.1,11.9c-44.8,0-71.3-5.6-105.7-16.9c-34.4-11.4-63.8-27.6-88.1-48.4c-24.3-21-41.2-43.3-50.6-66.9c-9.4-23.6-14.1-57.8-14.1-102.6V411.6H193.8V272.8c38.5-12.5,81.5-30.4,108.9-53.7c27.5-23.4,49.5-51.4,66.1-84.2c16.7-32.7,28.1-74.4,34.3-124.9h158v245h245v183.8H561.2z"/></g></svg>');
  }
  .is-sticky {
    border-bottom: none;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
  }

.search-icon {
    background: url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><title>Search</title><path d="M390.5 357.1l102.1 87.7c8.8 7.8 10.1 21.2 2.3 30.3-7.8 9.1-21.2 10.1-30.3 2.3l-102.1-87.7 28-32.6zM170.4 20.2C263.6 6.2 352 60.3 385.6 152c3.6 10.8 9.1 25.4 10.8 39.8 10.8 78.9-23.2 156.5-86.4 197.6-24.5 14.3-53.2 29-82.5 32.9-8.8 1-17.9 1.6-27.1 1.6-44 0-86.7-14-122-41.1C36 350.6 8.6 303.6 1.7 250.4-12.6 137.9 63.1 34.9 170.4 20.2zM195.5 58c-6.8 0-13.7.7-20.5 1.3-86.1 14-145.1 94.6-134.7 183.3 6.8 44 31.3 84.1 66.9 109.9 33.3 24.1 73.4 33.9 112.8 27.4 41.7-5.2 78.6-26.4 104-60 26.4-34.9 37.5-78.6 30.7-123.3-4.9-42.4-26.4-79.9-60-105.7-28.5-21.5-63-32.9-99.2-32.9z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

.filter-icon {
  background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' version='1.1'><title>Filter</title><path d='M20 6H4V8H20V6Z'/><path d='M14 11H4V13H14V11Z'/><path d='M10 16H4V18H10V16Z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Hide Scroll Bar for Horizonal Shade Slider */
.shades-h-scroll-container {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.shades-h-scroll-container::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

/* MAC Bestseller header */
section[data-controller="collection"] .font-headline:first-child h3 {
  margin-top: 10px;
}
@media (min-width: 768px) {
  section[data-controller="collection"] .font-headline:first-child h3 {
      padding-top: 40px;
  }
}

/* Tout styles */
.justify-end {
  justify-content: flex-end;
}

/* Touts: Text on top of image content */
.font-headline .responsive-font-54px p {
    font-size: 3.75vw;
    line-height: 1.25;
    padding-bottom: 20px;
}
.font-headline .title-01 p {
    font-size: 36px;
    line-height: 40px;
    padding-bottom: 20px;
}
.title-01 {
  font-size: 54px;
  font-weight: 400;
  line-height: 64px;
}
.body-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.body-text a {
  text-transform: uppercase;
}
.body-text a:hover {
  color: var(--color-gray-550);
}
@media (max-width: 767px) {
  .title-01 {
    font-size: 36px;
    line-height: 40px;
  }
}

/* Touts: cta text */
.portrait-tout__img .mantle-custom-text a:not(.mantle-cta--custom-bordercolor) {
    border-bottom: 1px solid var(--color-gray-100);
}
.mantle-custom-text.margin-bottom-35 {
  margin-bottom: 35%;
}
.mantle-custom-text.margin-bottom-30 {
  margin-bottom: 30%;
}
.mantle-custom-text.margin-bottom-25 {
  margin-bottom: 25%;
}
.mantle-custom-text.margin-bottom-10 {
  margin-bottom: 10%;
}

/* Live chat */
.lp_desktop #lpChat .lp_maximized {
  left: auto;
  right: 20px !important;
}

.icon-chat--footer {
  position: fixed;
  right: 21px;
  bottom: 10%;
}

.icon-chat--overlay .chat--icon,
.icon-chat--footer .chat--icon {
  background-color: black;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg style="fill:%23ffffff" viewBox="0 0 25 23" xmlns="http://www.w3.org/2000/svg"><title>Live chat</title><path fill-rule="evenodd" clip-rule="evenodd" d="M24.678 22.313l-7.021-5.218H0V0h24.678v22.313zM18.165 7.611H6.498c-.523 0-.946-.379-.946-.847 0-.467.423-.846.946-.846h11.667c.523 0 .946.379.946.846.003.468-.42.847-.946.847zm-11.667 3.44h11.667c.527 0 .95-.377.946-.845 0-.468-.423-.847-.946-.847H6.498c-.523 0-.946.379-.946.847 0 .467.423.846.946.846z" fill="%23ffffff"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 24px;
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
}

.icon-chat--overlay .chat--icon svg,
.icon-chat--footer .chat--icon svg {
  width: 50px;
  height: 50px;
}

.icon-chat--overlay {
  background: white;
  position: fixed;
  display: flex;
  flex-direction: column;
  padding: 5px 45px 0;
  box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
  border-radius: 12px;
  height: 50px;
  bottom: calc(10% + 1px);
  right: 21px;
}

.icon-chat--overlay .chat--icon {
  position: absolute;
  left: -20px;
  top: 0px;
}

.icon-chat--overlay div.body-text {
  font-family: var(--font-headline);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: initial;
  line-height: 1.1875;
  color: black;
}

.icon-chat--overlay a.body-text {
  text-transform: none;
  display: flex;
  border-color: black;
  margin-right: auto;
  cursor: pointer;
  font-family: var(--font-headline);
  color: black;
  border-bottom: 1px solid black;
  line-height: 1.1875;
}

.icon-chat--overlay a.close--icon {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  position: absolute;
  top: 15px;
  right: 8px;
  background-color: black;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg style="fill:%23ffffff" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><title>Close</title><path d="M500 466.82L283.18 250 500 33.18 466.82 0 250 216.82 33.18 0 0 33.18 216.82 250 0 466.82 33.18 500 250 283.18 466.82 500z"/></svg>');
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.icon-chat--overlay a.close--icon svg {
  width: 21px;
  height: 21px;
}

@media (min-width: 768px) {
  .icon-chat--footer,
  .icon-chat--overlay {
    right: calc(5% + 1px);
  }
}

/* Desktop footer nav */
footer .footer-desktop-nav .menu li {
  margin-bottom: 10px;
}

footer .footer-desktop-nav .menu li a:visited {
  color: white;
}

footer .footer-desktop-nav .menu li a:active,
footer .footer-desktop-nav .menu li a:hover {
  color: white;
  text-decoration: underline;
}

footer .footer-desktop-nav li i {
  width: 18px;
  height: 18px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
}

footer .footer-desktop-nav ul:not(.menu) li {
  display: inline-block;
  margin-right: 6px;
}

footer .footer-desktop-nav > li:nth-child(5) {
  height: 100%;
}


footer .footer-desktop-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: min-content min-content min-content;
  grid-template-areas:
    "one two three four five six"
    "one two three four five seven"
    "one two three four five eight"
    "one two three four five nine"
    "one two three four five ten"
    "one two three four five ten";
  align-items: start;
}

.footer-sticky-nav li:last-child {
  border-right: 0 none;
}

footer .footer-nav button svg {
  transition: transform 200ms;
  transform-origin: right center;
}

footer .footer-nav.toggled button svg {
  transform: rotate(90deg) translateY(10px);
  transform-origin: right center;
}

footer .liveperson-cta-button div {
  margin: 0;
  height: 100%;
}

footer .help-cta-button a {
  border: 1px solid;
  margin: 1px 2px;
  color: white;
  width: auto;
  height: 100%;
  display: block;
  text-align: center;
  font-weight: bold;
  padding: 13px 5px;
  line-height: 1;
}

footer .footer-desktop-nav > li:nth-child(1) { grid-area: one; }
footer .footer-desktop-nav > li:nth-child(2) { grid-area: two; }
footer .footer-desktop-nav > li:nth-child(3) { grid-area: three; }
footer .footer-desktop-nav > li:nth-child(4) { grid-area: four; }
footer .footer-desktop-nav > li:nth-child(5) { grid-area: five; }
footer .footer-desktop-nav > li:nth-child(6) { grid-area: six; }
footer .footer-desktop-nav > li:nth-child(7) { grid-area: seven; }
footer .footer-desktop-nav > li:nth-child(8) { grid-area: eight; }
footer .footer-desktop-nav > li:nth-child(9) { grid-area: nine; }
footer .footer-desktop-nav > li:nth-child(10) { grid-area: ten; }

/* MAC carret override */
section[data-controller="collection"] select {
  background-image: var(--caret);
  background-size: 12px 12px;
  background-position: right 0.75rem center;
}

.breadcrumb-text::after {
  content: "";
  background: var(--caret);
  width: 10px;
  height: 10px;
  transform: rotate(270deg);
  display: inline-block;
  margin: 0px 1px;
}

.breadcrumb-text[href^="/"]:hover {
  color: var(--color-gray-550);
}

.transparent-nav{
  background-color: transparent;
}

.transparent-nav:has(> div > div:nth-child(2) > div:nth-child(2)> ul > li:hover > div){
  background-color: white;
}

/* Secondary Nav */
.secondary-nav-carousel .swiper-pagination-bullet {
  background-color: black;
  width: 5px;
  height: 5px;
}

.secondary-nav-carousel .swiper-pagination {
  position: static;
}

.secondary-nav-carousel .swiper-slide div {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.LPMoverlay:has(.icon-chat--overlay) {
  /* !important is required to override inline style from LP. */
  z-index: 996 !important;
}

.pincer-swiper .pincer-button-prev {
  left: var(--pincer-swiper-navigation-prev-side-offset);
}
  
.pincer-swiper .pincer-button-next {
  right: var(--pincer-swiper-navigation-next-side-offset);
}

body:not(:has(.product-details)) .carousel-container.product-carousel-container {
  margin-top: 0; 
}

.star-ratings::before {
  -webkit-text-stroke: 0;
  letter-spacing: -0.08rem;
}

#blueprint-pdp .ugc-heading,
#blueprint-pdp .ugc-subheading,
.drupal-container .ugc-heading,
.drupal-container .ugc-subheading  {
  text-align: start !important;
}
#blueprint-pdp .ugc-container,
.drupal-container .ugc-container {
  padding: 0;
  @media (min-width: 640px) {
    padding: 0 2rem;
  }
}
.drupal-container div.ugc-heading {
  margin-bottom: 0;
}
.drupal-container div.ugc-container {
  margin: 0 auto;
}
.drupal-container div[id^="pixlee_container"] {
  margin-top: 0;
}

body:has(.product-details) {
  .mobile-image-zoom-svg-wrapper {
    bottom: calc(var(--pincer-swiper-padding-bottom) * 2 + 32px);
  }
  .mobile-zoom-slide .pincer-swiper,
  .mobile-zoom-thumbnail .pincer-swiper {
    margin: 0;
    padding-bottom: 0px !important;
  }
}
