#common-home {
    --nomad-pine: #153d2e;
    --nomad-cream: #faf5ea;
    --nomad-gold: #d5b36f;
}

#common-home .nomad-discovery {
    margin-top: clamp(20px, 3vw, 34px);
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--nomad-gold);
    border-radius: 18px;
    background: var(--nomad-cream);
    text-align: center;
}

#common-home :is(.nomad-discovery, .nomad-edit) h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 3vw, 36px);
    line-height: 1.2;
}

#common-home .nomad-discovery h2 {
    color: var(--nomad-pine);
}

#common-home .nomad-discovery__links {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 20px);
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

#common-home .nomad-discovery__links a {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
    color: var(--nomad-pine);
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

#common-home .nomad-discovery__links img {
    width: min(100%, 112px);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    padding: 3px;
    border: 1px solid var(--nomad-gold);
    border-radius: 50%;
    background: #fffdf7;
}

#common-home .nomad-discovery__links a:hover span,
#common-home .nomad-discovery__links a:focus-visible span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#common-home .nomad-edit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(185px, 32vw, 280px);
    margin-top: 22px;
    overflow: hidden;
    background: var(--nomad-pine);
    border: 1px solid var(--nomad-gold);
    border-radius: 18px;
}

#common-home .nomad-edit__copy {
    align-self: center;
    padding: clamp(22px, 5vw, 56px);
    color: var(--nomad-cream);
}

#common-home .nomad-edit__copy h2 {
    color: var(--nomad-cream);
}

#common-home .nomad-edit__copy p {
    margin: 12px 0 20px;
    color: #ecd9b1;
}

#common-home .nomad-edit__copy a {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    padding: 11px 16px;
    border-radius: 8px;
    background: var(--nomad-cream);
    color: var(--nomad-pine);
    font-weight: 600;
    text-decoration: none;
}

#common-home .nomad-edit__copy a:hover,
#common-home .nomad-edit__copy a:focus-visible {
    background: #ecd9b1;
}

#common-home .nomad-edit__image {
    display: grid;
    place-items: center;
    background: #f3e7ce;
    padding: 8px;
}

#common-home .nomad-edit__photo {
    display: block;
    width: 100%;
    height: auto;
}

#common-home.container #content.col .nomad-home-sections > .row:is(.nomad-home-promotions, .nomad-home-articles):has(> .col) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 22px) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
}

#common-home.container #content.col .nomad-home-sections > .row:is(.nomad-home-promotions, .nomad-home-articles):has(> .col) > .col {
    width: 100% !important;
    margin: 0 !important;
    min-width: 0;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles:has(> .col) .product-thumb {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    min-height: 0 !important;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles:has(> .col) .product-thumb .image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles:has(> .col) .product-thumb .image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 2 / 1;
    object-fit: cover !important;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles:has(> .col) .product-thumb .description {
    padding: 12px !important;
}

@media (max-width: 991px) {
    #common-home .nomad-discovery__links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #common-home.container #content.col .nomad-home-sections > .row:is(.nomad-home-promotions, .nomad-home-articles):has(> .col) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    #common-home .nomad-edit {
        grid-template-columns: minmax(0, 1fr);
    }

    #common-home .nomad-edit__image {
        justify-self: center;
        width: min(190px, calc(100% - 32px));
        margin-bottom: 16px;
        border-radius: 8px;
    }
}

#common-home #content .nomad-home-sections > :is(.nomad-home-promotions, .nomad-home-articles) > .col[hidden],
#common-home .nomad-home-pager[hidden] {
    display: none !important;
}

#common-home .nomad-home-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    color: #fff8e6;
}

#common-home .nomad-home-pager button {
    min-height: 38px;
    padding: 5px 14px;
    background: #faf5ea;
    color: #153d2e;
    border: 1px solid #d5b36f;
    border-radius: 8px;
}

#common-home .nomad-home-pager button:hover:not([aria-disabled="true"]) {
    background: #ecd9b1;
}

#common-home .nomad-home-pager button[aria-disabled="true"] {
    opacity: .7;
    cursor: default;
}

#common-home .nomad-home-pager span {
    padding: 3px 9px;
    background: #153d2e;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}


#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles .product-thumb {
    padding-top: 0 !important;
    border-radius: 12px !important;
    background: #faf5ea !important;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles .product-thumb::before {
    content: none;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles .product-thumb > .content {
    padding: 0 !important;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles .product-thumb .description {
    padding: 14px 16px !important;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles .product-thumb h4 {
    margin: 0;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles .product-thumb h4 a {
    display: block;
    color: #153d2e !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(14px, 1.6vw, 19px) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

#common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles .product-thumb h4 a:hover {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}


#common-home .nomad-home-sections {
    margin-top: 22px;
    padding: clamp(14px, 2.6vw, 32px);
    background: var(--nomad-cream);
    border: 1px solid var(--nomad-gold);
    border-radius: 18px;
}

#common-home.container #content.col .nomad-home-sections > h3,
#common-home.container #content.col .nomad-home-section-heading > h3 {
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: var(--nomad-pine) !important;
    text-align: left !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
    font-size: clamp(23px, 3vw, 34px) !important;
    font-weight: 600 !important;
}

#common-home.container #content.col .nomad-home-sections > :is(h3, .nomad-home-section-heading) ~ :is(h3, .nomad-home-section-heading) {
    margin-top: clamp(20px, 3vw, 34px) !important;
    padding-top: clamp(18px, 2.5vw, 28px) !important;
    border-top: 1px solid #e4d6bb !important;
}

#common-home.container #content.col .nomad-home-section-heading > h3::before,
#common-home.container #content.col .nomad-home-section-heading > h3::after,
#common-home.container #content.col .nomad-home-sections > h3::before,
#common-home.container #content.col .nomad-home-sections > h3::after {
    content: none !important;
    display: none !important;
}

#common-home .nomad-home-sections .nomad-home-pager {
    justify-content: flex-end;
    color: var(--nomad-pine);
}

#common-home .nomad-home-sections .nomad-home-pager span {
    background: transparent;
}

#common-home .nomad-home-sections .nomad-home-pager button {
    background: #fffdf7;
}

#common-home .nomad-home-sections .product-thumb {
    border: 1px solid #e4d7bd !important;
    border-radius: 12px !important;
    box-shadow: none;
}

#common-home .nomad-home-sections .product-thumb:hover,
#common-home .nomad-home-sections .product-thumb:focus-within {
    border-color: #a5874e !important;
    box-shadow: 0 5px 14px rgba(21, 61, 46, .10);
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb {
    padding-top: 0 !important;
    background: #fffdf8 !important;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb::before {
    content: none;
}

#common-home .nomad-home-sections .nomad-home-promotions .image {
    border-bottom: 1px solid #eee6d5;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb h4 a {
    color: var(--nomad-pine) !important;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb .price-new {
    color: #8d282e !important;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb .price-tax {
    display: block;
    color: #62645b !important;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb form {
    margin-top: 12px;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb .button {
    position: static;
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
    background: #edf0e7;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb .button button {
    border-top: 0;
    background: transparent;
    color: var(--nomad-pine);
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb .button button:first-child {
    background: var(--nomad-pine);
    color: #fffaf0;
}

#common-home .nomad-home-sections .nomad-home-promotions .product-thumb .button button:hover {
    background: #28604a;
    color: #fffaf0;
}



#common-home .nomad-home-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}

#common-home.container #content.col .nomad-home-section-heading > h3 {
    width: auto !important;
    margin: 0 !important;
}

#common-home .nomad-home-section-heading .nomad-home-pager {
    margin: 0 0 0 auto;
    gap: 6px;
}

#common-home .nomad-home-section-heading .nomad-home-pager button {
    min-height: 36px;
    padding: 4px 12px;
    border-radius: 20px;
}

#common-home .nomad-home-section-heading .nomad-home-pager button:hover:not([aria-disabled="true"]) {
    background: #e9eee3;
}

@media (min-width: 768px) {
    #common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles:has(> .col) {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        grid-auto-rows: clamp(130px, 13vw, 174px);
        align-items: stretch;
    }

    #common-home.container #content.col .nomad-home-sections > .row.nomad-home-articles:not(:has(> .col:nth-child(3 of :not([hidden])))) {
        grid-auto-rows: clamp(180px, 21vw, 245px);
    }

    #common-home.container #content.col .nomad-home-articles > .col {
        min-height: 0;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(1 of :not([hidden])) .image {
        flex: 1 1 0;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(1 of :not([hidden])) .product-thumb :is(.image a, .image img) {
        height: 100% !important;
        aspect-ratio: auto;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(1 of :not([hidden])) .product-thumb > .content {
        flex: 0 0 auto;
    }

    #common-home.container #content.col .nomad-home-articles:has(> .col:nth-child(3 of :not([hidden]))) > .col:nth-child(1 of :not([hidden])) {
        grid-row: span 2;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(1 of :not([hidden])) .product-thumb {
        background: var(--nomad-pine) !important;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(1 of :not([hidden])) .product-thumb h4 a {
        color: #fffaf0 !important;
        font-size: clamp(19px, 2.2vw, 28px) !important;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(n+2 of :not([hidden])) .product-thumb {
        display: grid !important;
        grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
        align-items: stretch;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(n+2 of :not([hidden])) .product-thumb :is(.image, .image a, .image img) {
        height: 100% !important;
        aspect-ratio: auto;
    }

    #common-home.container #content.col .nomad-home-articles > .col:nth-child(n+2 of :not([hidden])) .product-thumb .content {
        justify-content: center;
    }
}
