/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
/* stylelint-disable no-descending-specificity */

/* overrides the injected dropin styles */
:root {
  overflow: auto;
}

:root,
.dropin-design {
  /** DON'T USE THESE FONT VARIABLES DIRECTLY IN BLOCKS, BUT THE ONES IN THE SECTION font-variables BELOW **/
  --ff-argent-cf: 'argent-cf', arial, sans-serif;
  --ff-gt-america-regular: 'gt-america-regular', 'gt-america-regular-fallback',
    arial, sans-serif;
  --ff-gt-america-medium: 'gt-america-medium', 'gt-america-medium-fallback',
    arial, sans-serif;
  --ff-gt-america-bold: 'gt-america-bold', 'gt-america-bold-fallback', arial,
    sans-serif;
  --ff-gt-america-expanded-bold: 'gt-america-expanded-bold',
    'arial-black-expanded-fallback', arial, sans-serif;
  --fw-thin: 100;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --font-argent-cf-thin: normal normal var(--fw-thin) 1rem var(--ff-argent-cf);
  --font-gt-america-regular: normal normal var(--fw-regular) 1rem
    var(--ff-gt-america-regular);
  --font-gt-america-medium: normal normal var(--fw-medium) 1rem
    var(--ff-gt-america-medium);
  --font-gt-america-bold: normal normal var(--fw-bold) 1rem
    var(--ff-gt-america-bold);
  --font-gt-america-expanded-bold: normal normal var(--fw-bold) 1rem
    var(--ff-gt-america-expanded-bold);
  --sierra-chat-font-family: 'gt-america-regular', 'gt-america-regular-fallback';

  /* font-variables */
  --body-font-family: var(--font-gt-america-regular);
  --heading-font-family: var(--font-argent-cf-thin);
  --button-font-family: var(--font-gt-america-expanded-bold);
  --hero-font-family: var(--font-argent-cf-thin);
  --hero-font-family-2: var(--font-argent-cf-thin);
  --sub-hero-font-family: var(--font-gt-america-regular);
  --sub-hero-font-family-2: var(--font-gt-america-regular);
  --sub-hero-font-family-3: var(--font-argent-cf-thin);
  --newsletter-banner-font-family: var(--font-argent-cf-thin);
  --bold-font-family: var(--font-gt-america-bold);
  --megamenu-font-family: var(--font-gt-america-expanded-bold);
  --accordion-title-font-family: var(--font-argent-cf-thin);
  --accordion-body-font-family: var(--font-gt-america-regular);
  --model-font-family: var(--font-gt-america-medium);
  --franchise-header-font-family: var(--font-gt-america-expanded-bold);

  /* Elsie base design */
  --color-brand-300: #6d6d6d;
  --color-brand-500: #454545;
  --color-brand-600: #383838;
  --color-brand-700: #2b2b2b;
  --color-neutral-50: #fff;
  --color-neutral-100: #fafafa;
  --color-neutral-200: #f5f5f5;
  --color-neutral-300: #e8e8e8;
  --color-neutral-400: #d6d6d6;
  --color-neutral-500: #b8b8b8;
  --color-neutral-600: #8f8f8f;
  --color-neutral-700: #666;
  --color-neutral-800: var(--color-black);
  --color-neutral-900: #292929;
  --color-positive-200: #eff5ef;
  --color-positive-500: #7fb078;
  --color-positive-800: #53824c;
  --color-informational-200: #eeeffb;
  --color-informational-500: #6978d9;
  --color-informational-800: #5d6dd6;
  --color-warning-200: #fdf3e9;
  --color-warning-500: #e79f5c;
  --color-warning-800: #cc7a2e;
  --color-alert-200: #ffebeb;
  --color-alert-500: #db7070;
  --color-alert-800: #c8102e;
  --color-button-active: var(--color-brand-700);
  --color-button-focus: var(--color-neutral-400);
  --color-button-hover: var(--color-brand-600);
  --color-action-button-active: var(--color-neutral-50);
  --color-action-button-hover: var(--color-neutral-300);
  --color-opacity-16: rgb(255 255 255 / 16%);
  --color-opacity-24: rgb(255 255 255 / 24%);
  --grid-1-columns: 4;
  --grid-1-margins: 0;
  --grid-1-gutters: 16px;
  --grid-2-columns: 12;
  --grid-2-margins: 0;
  --grid-2-gutters: 16px;
  --grid-3-columns: 12;
  --grid-3-margins: 0;
  --grid-3-gutters: 24px;
  --grid-4-columns: 12;
  --grid-4-margins: 0;
  --grid-4-gutters: 24px;
  --grid-5-columns: 12;
  --grid-5-margins: 0;
  --grid-5-gutters: 24px;
  --shape-border-radius-1: 3px;
  --shape-border-radius-2: 8px;
  --shape-border-radius-3: 24px;
  --shape-border-width-1: 1px;
  --shape-border-width-2: 1.5px;
  --shape-border-width-3: 2px;
  --shape-border-width-4: 4px;
  --shape-shadow-1: 0 0 16px 0 rgb(0 0 0 / 16%);
  --shape-shadow-2: 0 2px 16px 0 rgb(0 0 0 / 16%);
  --shape-shadow-3: 0 2px 3px 0 rgb(0 0 0 / 16%);
  --shape-icon-stroke-1: 1px;
  --shape-icon-stroke-2: 1.5px;
  --shape-icon-stroke-3: 2px;
  --shape-icon-stroke-4: 4px;
  --spacing-xxsmall: 4px;
  --spacing-xsmall: 8px;
  --spacing-vsmall: 12px;
  --spacing-small: 16px;
  --spacing-medium: 24px;
  --spacing-big: 32px;
  --spacing-xbig: 40px;
  --spacing-xxbig: 48px;
  --spacing-large: 64px;
  --spacing-xlarge: 72px;
  --spacing-xxlarge: 96px;
  --spacing-huge: 120px;
  --spacing-xhuge: 144px;
  --spacing-xxhuge: 192px;
  --type-base-font-family: var(--ff-gt-america-regular);
  --type-heading-font-family: var(--ff-argent-cf-thin);
  --type-display-1-font: normal normal 300 6rem/7.2rem
    var(--type-base-font-family);
  --type-display-1-letter-spacing: 0.04em;
  --type-display-2-font: normal normal 300 4.8rem/5.6rem
    var(--type-base-font-family);
  --type-display-2-letter-spacing: 0.04em;
  --type-display-3-font: normal normal 100 28px/33.6px
    var(--ff-argent-cf-thin);
  --type-display-3-letter-spacing: -2%;
  --type-headline-1-font: normal normal 400 2.4rem/3.2rem
    var(--type-base-font-family);
  --type-headline-1-letter-spacing: 0.04em;
  --type-headline-2-default-font: normal normal 300 2rem/2.4rem
    var(--type-base-font-family);
  --type-headline-2-default-letter-spacing: 0.04em;
  --type-headline-2-strong-font: normal normal 400 2rem/2.4rem
    var(--type-base-font-family);
  --type-headline-2-strong-letter-spacing: 0.04em;
  --type-body-1-default-font: normal normal 300 1.6rem/2.4rem
    var(--type-base-font-family);
  --type-body-1-default-letter-spacing: 0.04em;
  --type-body-1-strong-font: normal normal 400 1.6rem/1.8rem
    var(--type-base-font-family);
  --type-body-1-strong-letter-spacing: 0.04em;
  --type-body-1-emphasized-font: normal normal 500 1.6rem/1.9rem
    var(--type-base-font-family);
  --type-body-1-emphasized-letter-spacing: 0.04em;
  --type-body-2-default-font: normal normal 300 1.4rem/2rem
    var(--type-base-font-family);
  --type-body-2-default-letter-spacing: 0.04em;
  --type-body-2-strong-font: normal normal 400 1.4rem/2rem
    var(--type-base-font-family);
  --type-body-2-strong-letter-spacing: 0.04em;
  --type-body-2-emphasized-font: normal normal 700 1.4rem/2rem
    var(--type-base-font-family);
  --type-body-2-emphasized-letter-spacing: 0.04em;
  --type-button-1-font: normal normal 400 2rem/2.6rem
    var(--type-base-font-family);
  --type-button-1-letter-spacing: 0.08em;
  --type-button-2-font: normal normal 400 1.6rem/2.4rem
    var(--type-base-font-family);
  --type-button-2-letter-spacing: 0;
  --type-details-caption-1-font: normal normal 400 1.2rem/1.6rem
    var(--type-base-font-family);
  --type-details-caption-1-letter-spacing: 0.08em;
  --type-details-caption-2-font: normal normal 300 1.2rem/1.6rem
    var(--type-base-font-family);
  --type-details-caption-2-letter-spacing: 0.08em;
  --type-details-overline-font: normal normal 400 1.2rem/2rem
    var(--type-base-font-family);
  --type-details-overline-letter-spacing: 0.16em;
  --type-product-headline-font: normal normal 100 28px/33.6px
    var(--ff-argent-cf-thin);
  --type-product-headline-letter-spacing: -2%;
  --type-minicart-header-font: normal normal 100 24px/28.8px
    var(--ff-argent-cf-thin);

  /* Additional tokens */
  --type-fixed-font-family: 'Roboto Mono', menlo, consolas, 'Liberation Mono',
    monospace;
  --background-color-white: var(--color-neutral-50);
  --nav-height: 6rem;

  /* colors */
  --color-black: #15191d;
  --color-dark-grey: #101820;
  --color-inactive: #c2c2c2;
  --color-light-text: var(--color-neutral-50);
  --text-color: var(--color-black);
  --link-color: var(--color-dark-grey);
  --link-button-color: #ccc;
  --highlight-background-color: var(--color-neutral-200);
  --button-primary-main-color: var(--color-black);
  --button-primary-border-color: var(--color-neutral-50);
  --button-primary-text-color: var(--color-neutral-50);
  --button-secondary-main-color: var(--color-neutral-50);
  --button-secondary-text-color: var(--color-black);
  --button-tertiary-main-color: var(--color-black);
  --button-tertiary-text-color: var(--color-neutral-50);
  --border-color: #ddd;
  --border-box-color: #ffffff29;
  --default-background-color: var(--color-neutral-50);
  --separator-background-color: var(--color-dark-grey);
  --separator-text-color: var(--color-neutral-50);
  --wilson-red-color: #c8102e;
  --image-background-color: #f3f1ed;
  --table-row-color: #f3f1ed;
  --wilson-footer-links: var(--color-inactive);
  --wilson-footer-border: #272b2f;
  --plp-product-bg-color: #f3f1ed;
  --plp-pagination-bg-color: #f1f1f1;
  --add-to-cart: var(--color-black);

  /* sizes */
  /**
   *     Desktop / Mobile
   *  H1    56px / 40px
   *  H2    48px / 32px
   *  H3    40px / 28px
   *  H4    32px / 24px
   *  H5    24px / 20px
   *  H6    20px / 18px
   */
  --full-page-width: 100%;
  --container-max-width: 1600px;
  --max-content-width: 1372px;
  --min-content-width: 320px;
  --default-lr-padding: 15px;
  --heading-font-size-hero-xl: 100px;
  --heading-font-size-hero-l: 64px;
  --heading-font-size-hero-m: 56px;
  --heading-font-size-hero-s: 32px;
  --heading-font-size-xxxxl: 56px;
  --heading-font-size-xxxl: 48px;
  --heading-font-size-xxl: 44px;
  --heading-font-size-xl: 40px;
  --heading-font-size-l: 32px;
  --heading-font-size-m: 28px;
  --heading-font-size-s: 24px;
  --heading-font-size-xs: 20px;
  --heading-font-size-xxs: 18px;
  --heading-font-size-xxxs: 14px;
  --body-font-size-l: 18px;
  --body-font-size-m: 16px;
  --body-font-size-mobile-m: 15px;
  --body-font-size-s: 14px;
  --body-font-size-xs: 13px;
  --table-font-size: 15px;
  --paragraph-font-size: 15px;
  --megamenu-header-font-size: 12px;
  --megamenu-subheader-font-size: 10px;
  --megamenu-column-header-font-size: 15px;
  --megamenu-button-font-size: 15px;
  --megamenu-mobile-header-font-size: 18px;

  /* Hero Sizes */
  --hero-subhero-desktop-font-size: 18px;

  /* Column Carousel Sizes */
  --cc-title-mobile-font-size: 32px;
  --cc-slide-heading-mobile-font-size: 28px;

  /* PDP fonts & sizes */
  --pdp-heading-font: var(--font-argent-cf-thin);
  --pdp-price-font: var(--font-gt-america-regular);
  --pdp-tabs-heading-font: var(--font-argent-cf-thin);

  --pdp-heading-font-size: 28px;
  --pdp-heading-line-height: 33.6px;
  --pdp-price-font-size: 1.6rem;
  --pdp-price-line-height: 1.9rem;

  /* PLP fonts & sizes */
  --plp-product-name-font: var(--font-gt-america-medium);
  --plp-price-font: var(--font-gt-america-regular);
  --plp-primary-label-font: var(--font-gt-america-regular);
  --plp-secondary-label-font: var(--font-gt-america-regular);
  --plp-filters-font: var(--font-gt-america-medium);

  --plp-product-name-font-size: 16px;
  --plp-price-font-size: 16px;
  --plp-primary-label-font-size: 12px;
  --plp-secondary-label-font-size: 12px;
  --plp-filters-font-size: 14px;

  /* Chat fonts and sizes */
  --chat-heading-font: var(--font-argent-cf-thin);
  --chat-label-font: var(--font-gt-america-medium);
  --chat-paragraph-font: var(--font-gt-america-regular);

  --chat-button-size: var(--body-font-size-s);

  /* grid sizes */
  --col-number: 12;
  --col-gutter: 12px;
  --side-margins: 20px;
}

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

/**
  * - hero banner
  */

.blog-main-page .section.blog-main-page-container {
  margin-left: 12px;
  margin-right: 12px;
}

@media (width > 768px) {
  .blog-main-page .section.blog-main-page-container {
    margin-left: 50px;
    margin-right: 50px;
  }
}

.blog-main-page .hero.blog .hero-content-container {
  justify-content: left;
}

.blog-main-page .hero.blog.bottom .hero-content-container * {
  text-align: left;
}

.blog-main-page .hero.blog.bottom .hero-content-container .hero-content {
  width: 100%;
  display: block;
  max-width: 100%;
}

.hero.blog.bottom .hero-content p {
  margin-top: 5px;
}
/* -- breadcrumb */
.hero.blog.bottom .hero-content > p:first-child {
  margin-top: 30px;
  margin-bottom: 20px;
}

.hero.blog.bottom .hero-content > p:first-child > a,
.hero.blog.bottom .hero-content > p:first-child > span {
  text-decoration: none;
  font-weight: 400;
  font-size: var(--body-font-size-xs);
}

.hero.blog.bottom .hero-content > p:first-child > a:first-child {
  font-weight: 700;
  font-size: var(--body-font-size-s);
}

.hero.blog.bottom
  .hero-content
  > p:first-child
  > a:not(:first-child)
  .hero.blog.bottom
  .hero-content
  > p:first-child
  > span:not(:first-child) {
  margin-left: 30px;
}

/* -- "Read Article" button */
.hero.blog.bottom .hero-buttons {
  justify-content: left;
  margin-top: 20px;
}
/* end of blog main page - hero banner */

/**
 * blog article page
 */

.blog-article #maincontent h1,
.blog-article #maincontent h2,
.blog-article #maincontent h3,
.blog-article #maincontent h4,
.blog-article #maincontent h5,
.blog-article #maincontent h6 {
  margin: 0 auto;
}

.blog-article main .default-content-wrapper {
  max-width: unset;
}

.blog-article main .default-content-wrapper ul li {
  margin-bottom: 8px;
  margin-left: 3rem;
  max-width: 650px;
}

.blog-article main .default-content-wrapper ul li:last-of-type {
  margin-bottom: 2rem;
}

.blog-article main .default-content-wrapper ul li ul {
  margin-top: 8px;
}

.blog-article main .default-content-wrapper > * {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 12px;
  padding-left: 12px;
  box-sizing: content-box;
}

@media (width >= 768px) {
  .blog-article main .default-content-wrapper > * {
    max-width: 800px;
  }
}

.blog-article main .default-content-wrapper > p {
  margin-top: 1.5rem;
}

.blog-article main .section .default-content-wrapper img {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

/* blog auto hero */
.blog-article main .default-content-wrapper:first-child h1 + p + p {
  max-width: 137.2rem;
}

.blog-article main .default-content-wrapper:first-child h1 + p + p img {
  max-width: unset;
}

.blog-article main .default-content-wrapper p:nth-of-type(2):has(picture) {
  margin-top: 48px;
  margin-bottom: 48px;
  padding: 12px;
}

@media (width >= 768px) {
  .blog-article main .default-content-wrapper p:nth-of-type(2) {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* blog post first h1 */
.blog-article h1 {
  font-weight: 300;
  text-align: left;
  line-height: 1;
  margin: 2rem auto 1.5rem;
  padding-top: 100px;
}

/* blog post h2 */
.blog-article main h2 {
  margin-top: 30px;
  margin-bottom: 0;
  font-weight: 300;
  line-height: 1;
}

/* blog post h4 */
.blog-article main h3 {
  margin-top: 30px;
  margin-bottom: 0;
  font-weight: 300;
  line-height: 1;
}

.blog-article main P:first-of-type {
  font-weight: 300;
}

.blog-article main .section p {
  margin-top: 0;
  margin-bottom: 10px;
}

/**
  * blog category
  */

.blog-category {
  max-width: unset;
  margin: 0;
  padding: 0 15px;
  background-color: var(--highlight-background-color);
}

.blog-article .video.block {
  max-width: 540px;
}

.blog-category > div {
  text-align: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 1rem 1.4rem;
  padding: 16px 0;
}

.blog-category > div .button-container {
  margin: 0;
}

.blog-category > div .button {
  color: var(--link-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  text-transform: none;
  margin: 0;
  padding: 1.1rem 2rem;
  border: 0.1rem solid var(--link-button-color);
  border-radius: 5rem;
  background: var(--background-color-white);
}

.blog-category > div .button:hover {
  border-color: var(--link-color);
  outline: 0;
  color: var(--link-color);
  text-decoration: underline;
}

#other-shoppers-gallery > div:nth-child(2) {
  margin-top: 48px;
  margin-bottom: 48px;
}

@media (width <= 1024px) {
  #other-shoppers-gallery > div:nth-child(2) {
    margin: 24px 12px;
  }
}

.ds-widgets .ds-plp-pagination {
  margin-bottom: 0;
}

.pdp-product .dropin-button--primary.sf-perso-add-to-cart {
  width: 100%;
}

@media (width <= 960px) {
  .ds-widgets .ds-plp-pagination {
    margin-bottom: 24px;
  }
  .pdp-product .dropin-button--primary.sf-perso-add-to-cart {
    background-color: black; /* or any other background color */
    z-index: 10000; /* ensure it is above other elements */
    height: 48px;
    align-items: center;
    justify-content: center;
    position:relative;
    text-align: center;

    z-index: 9; /* ensure it is above other elements */
    width: 100%; /* make it span the full width of the screen */
    margin: auto;
    background-attachment : scroll;
}

  .dropin-button-wrapper {
    /* Default: no special positioning, just normal flow */
    width: 100%;
    background-color: white; /* Adjust as needed */
    border-top: 1px solid #ccc; /* Optional border */
    padding: 10px; /* Adjust padding as needed */
    box-sizing: border-box;
    transition: all 0.2s ease-out; /* Smooth transitions */
  }

  /* Only apply sticky positioning when page is ready */
  .dropin-button-wrapper.sticky-ready {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9999;
    background-attachment: scroll;
  }
}

.megamenu-mobile-header .brand {
  width: 100px;
}

/* PLP & PDP special price */
.plp .ds-sdk-product-price .font-medium,
.pdp-product .pdp-product__prices .pdp-product__price-regular + .pdp-product__price-special .pdp-price-range .dropin-price,
.minicart-panel .minicart-list .minicart-product .info .price del + .regular-price {
  font-family: var(--ff-gt-america-medium);
}

.pdp-product .dropin-button--primary.notify-me::before {
  background-image: url('../../icons/bell-ring-solid.svg');
}