/* NOTE: BLACK FRIDAY PAGE (black-friday.php). Page skin over the shared blocks: the gold accent, the near black
   backgrounds, the narrower container and the spacing of the Black Friday landing page. Loaded only by this page
   ($content['styles']), after the block stylesheets. */

:root {
    --kmd-gold: #D4AD62;
    --kmd-gold-hover: #E2C07C;
    --kmd-container: 1066px;
    --kmd-gutter: 16px;
    --kmd-dark-card: #17171A;
    --kmd-dark-line: #2A2A2E;
    --kmd-dark-soft: #A9A9B0;
}

body {
    background: #0B0B0C;
    -webkit-font-smoothing: antialiased;
}

.kmd-section--dark {
    background: #0B0B0C;
}

.kmd-section--ink {
    background: #141416;
}

main .kmd-btn--gold,
main .kmd-btn--ghost {
    min-height: 50px;
    padding: 0 24px;
    font-size: 16px;
}

/* NOTE: HERO */

.kmd-page-hero--image {
    display: block;
    min-height: 0;
    padding-block: 72px 80px;
    border-bottom: 1px solid var(--kmd-dark-line);
    background: #0B0B0D;
}

.kmd-page-hero--image::before {
    background: linear-gradient(90deg, rgba(5, 5, 5, .85) 0%, rgba(5, 5, 5, .55) 38%, rgba(5, 5, 5, 0) 65%);
}

.kmd-page-hero--image .kmd-page-hero__content {
    gap: 0;
    max-width: 720px;
    margin-left: 20px;
}

.kmd-page-hero--image .kmd-page-hero__eyebrow {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
}

.kmd-page-hero--image .kmd-page-hero__title {
    margin-bottom: 18px;
    font-size: 48px;
    line-height: 1.08;
}

.kmd-page-hero--image .kmd-page-hero__text {
    margin-bottom: 28px;
    color: #D8D8DC;
}

.kmd-page-hero--image .kmd-page-hero__actions,
.kmd-page-hero--image .kmd-newsletter {
    margin: 0 0 22px;
}

.kmd-page-hero--image .kmd-page-hero__perks {
    gap: 6px 14px;
    margin-top: 0;
    color: #C2C2C8;
    font-weight: 400;
}

.kmd-page-hero--image .kmd-page-hero__perks li {
    display: block;
}

.kmd-page-hero--image .kmd-page-hero__perks svg {
    display: none;
}

.kmd-page-hero--image .kmd-page-hero__perks li + li::before {
    margin-right: 14px;
    content: "·";
}

/* NOTE: OFFERS */

.kmd-product-cards--offer {
    padding-block: 72px 80px;
    border-bottom: 1px solid var(--kmd-dark-line);
}

.kmd-product-cards--offer .kmd-stack {
    gap: 20px;
}

.kmd-product-cards--offer .kmd-section-head__title {
    font-size: 34px;
}

.kmd-product-cards--offer .kmd-product-cards__grid {
    margin-top: 12px;
}

/* NOTE: BEST SELLERS + INSTALLMENTS */

.kmd-text-links {
    padding-block: 54px 62px;
}

/* NOTE: PRICE LIST FORM */

.kmd-price-request {
    padding-block: 52px 54px;
    border-bottom: 1px solid var(--kmd-dark-line);
}

.kmd-price-request__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.kmd-price-request__intro {
    gap: 0;
}

.kmd-price-request__eyebrow {
    margin-bottom: 14px;
}

.kmd-price-request__intro .kmd-section-head__title {
    margin-bottom: 14px;
    font-size: 32px;
    line-height: 1.18;
}

.kmd-price-request__text {
    max-width: 400px;
    margin-bottom: 18px;
    color: #C7C7CC;
    line-height: 1.6;
}

/* the promo banner apart from the phone line under it */
.kmd-price-request__image {
    margin-bottom: 18px;
}

.kmd-price-request .kmd-form {
    padding: 20px 21px 21px;
    background: #F1EFEA;
}

.kmd-price-request .kmd-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
}

.kmd-price-request .kmd-field {
    gap: 4px;
}

.kmd-price-request .kmd-field__label {
    font-weight: 700;
}

.kmd-price-request .kmd-field__control {
    border-color: #B9B7B1;
    font-size: 14px;
}

.kmd-price-request textarea.kmd-field__control {
    height: 84px;
}

.kmd-price-request .kmd-field__control::placeholder {
    color: #77757A;
}

.kmd-price-request .kmd-form .kmd-form__submit.kmd-btn--accent {
    min-height: 52px;
    border-color: #0B0B0C;
    background: #0B0B0C;
    color: var(--kmd-white);
    font-size: 16px;
}

.kmd-price-request .kmd-form .kmd-form__submit.kmd-btn--accent:hover {
    border-color: #2A2A2E;
    background: #2A2A2E;
}

@media screen and (max-width: 991px) {
    .kmd-page-hero__bg {
        opacity: .6;
    }

    .kmd-price-request__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media screen and (max-width: 767px) {
    .kmd-page-hero--image {
        padding-block: 48px 52px;
    }

    .kmd-page-hero--image::before {
        background: linear-gradient(90deg, rgba(5, 5, 5, .85) 0%, rgba(5, 5, 5, .55) 38%, rgba(5, 5, 5, 0) 65%);
    }

    .kmd-page-hero--image .kmd-page-hero__content {
        margin-left: 0;
    }

    .kmd-page-hero--image .kmd-page-hero__title {
        font-size: 34px;
    }

    .kmd-product-cards--offer {
        padding-block: 52px 56px;
    }

    .kmd-product-cards--offer .kmd-section-head__title {
        font-size: 28px;
    }

    /* two offers per row on phones too (product-cards.css drops to one), with smaller card contents to fit */
    .kmd-product-cards--offer .kmd-product-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .kmd-product-card--offer .kmd-product-card__body {
        padding: 12px 10px 10px;
    }

    .kmd-product-card--offer .kmd-product-card__name {
        margin-bottom: 6px;
        font-size: 15px;
        overflow-wrap: break-word;
    }

    .kmd-product-card--offer .kmd-product-card__badge,
    .kmd-product-card__discount {
        top: 6px;
        padding: 3px 6px;
        font-size: 10px;
    }

    .kmd-product-card--offer .kmd-product-card__badge {
        left: 6px;
    }

    .kmd-product-card__discount {
        right: 6px;
        font-size: 12px;
    }

    .kmd-product-card--offer .kmd-product-card__reviews {
        flex-wrap: wrap;
        gap: 2px 4px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .kmd-product-card--offer .kmd-product-card__reviews .kmd-stars {
        width: 60px;
        height: 12px;
        -webkit-mask-size: 12px 12px;
        mask-size: 12px 12px;
    }

    .kmd-product-card--offer .kmd-product-card__price {
        padding-top: 10px;
    }

    .kmd-product-card--offer .kmd-product-card__price-new {
        font-size: 18px;
    }

    .kmd-product-card__stock {
        margin-bottom: 10px;
        font-size: 12px;
    }

    main .kmd-product-card__cta {
        min-height: 40px;
        padding: 0 8px;
        font-size: 13px;
    }

    .kmd-price-request .kmd-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
