.dcs-shop-grid,
.dcs-shop-featured,
.dcs-product-detail,
.dcs-product-card,
.dcs-product-card *,
.dcs-shop-search,
.dcs-category-list,
.dcs-category-dropdown,
.dcs-pagination,
.dcs-shop-message {
    box-sizing: border-box;
}

.dcs-shop-header {
    width: min(100%, 1180px);
    margin: 2.5rem auto 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3e5e8;
}

.dcs-shop-header__eyebrow {
    margin: 0 0 .35rem;
    color: #b11226;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.dcs-shop-header__title {
    margin: 0;
    color: #1f2328;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 900;
}

.dcs-shop-header__description {
    max-width: 46rem;
    margin: .65rem 0 0;
    color: #5f6368;
    font-size: 1rem;
    line-height: 1.55;
}

.dcs-shop-grid,
.dcs-shop-featured {
    width: min(100%, 1180px);
    margin: 1.25rem auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.dcs-shop-featured {
    width: min(100%, 980px);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.dcs-product-detail {
    width: min(100%, 920px);
    margin: 2.5rem auto;
}

.dcs-product-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e5e8;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
}

.dcs-product-card__image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f7f8fa;
    border-bottom: 1px solid #eef0f2;
}

.dcs-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.dcs-product-card__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.dcs-product-card__title {
    margin: 0 0 .65rem;
    color: #222;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
}

.dcs-product-card__description {
    margin: 0 0 1rem;
    color: #5f6368;
    font-size: .92rem;
    line-height: 1.55;
}

.dcs-product-card--grid .dcs-product-card__description,
.dcs-product-card--featured .dcs-product-card__description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dcs-product-card--detail {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
}

.dcs-product-card--detail .dcs-product-card__image {
    aspect-ratio: auto;
    min-height: 420px;
    border-right: 1px solid #eef0f2;
    border-bottom: 0;
}

.dcs-product-card--detail .dcs-product-card__title {
    font-size: 1.6rem;
}

.dcs-product-card--detail .dcs-product-card__description {
    color: #404348;
    font-size: 1rem;
}

.dcs-product-card__price,
.dcs-product-card__locked {
    margin-top: auto;
    margin-bottom: .85rem;
    color: #1f2933;
    font-size: 1rem;
    font-weight: 800;
}

.dcs-product-card__locked {
    color: #8a4b00;
}

.dcs-product-card__button,
.dcs-pagination__link,
.dcs-shop-search button {
    display: inline-flex !important;
    min-height: 2.55rem !important;
    align-items: center !important;
    justify-content: center !important;
    padding: .65rem .9rem !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #b11226 !important;
    color: #fff !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
}

.dcs-product-card__button {
    width: 100% !important;
}

.dcs-product-card__button:hover,
.dcs-product-card__button:focus,
.dcs-pagination__link:hover,
.dcs-pagination__link:focus,
.dcs-shop-search button:hover,
.dcs-shop-search button:focus {
    color: #fff !important;
    filter: brightness(.94);
    text-decoration: none !important;
}

.dcs-product-card a.dcs-product-card__button,
.dcs-product-card a.dcs-product-card__button:visited,
.dcs-product-card a.dcs-product-card__button:hover,
.dcs-product-card a.dcs-product-card__button:focus,
.dcs-product-card a.dcs-product-card__button:active {
    background-color: #b11226 !important;
    color: #fff !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.dcs-pagination {
    width: min(100%, 1180px);
    margin: 1.25rem auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.dcs-pagination__status {
    color: #5f6368;
    font-size: .92rem;
}

.dcs-category-list {
    width: min(100%, 1180px);
    margin: 0 auto 1.25rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
}

.dcs-category-list a,
.dcs-category-dropdown select,
.dcs-shop-search input {
    min-height: 2.55rem;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    background: #fff;
}

.dcs-category-list a {
    display: inline-flex;
    align-items: center;
    padding: .55rem .8rem;
    color: #222;
    font-size: .92rem;
    text-decoration: none;
}

.dcs-category-list a:hover,
.dcs-category-list a:focus {
    border-color: #b11226;
    color: #b11226;
}

.dcs-category-dropdown,
.dcs-shop-search {
    width: min(100%, 1180px);
    margin: 0 auto 1.25rem;
}

.dcs-category-dropdown {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.dcs-category-dropdown select {
    width: min(100%, 22rem);
    padding: 0 .75rem;
}

.dcs-shop-search {
    display: flex;
    gap: .5rem;
    align-items: stretch;
}

.dcs-shop-search input {
    width: min(100%, 28rem);
    padding: 0 .8rem;
}

.dcs-shop-message {
    width: min(100%, 1180px);
    margin: 2rem auto;
    padding: 1rem;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
}

.dcs-shop-message--error {
    border-color: #b42318;
    color: #8a1f11;
}

@media (max-width: 720px) {
    .dcs-shop-grid,
    .dcs-shop-featured,
    .dcs-product-detail,
    .dcs-category-list,
    .dcs-category-dropdown,
    .dcs-shop-search,
    .dcs-pagination,
    .dcs-shop-message {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .dcs-shop-header {
        width: 100%;
        margin: 2rem 0 1rem;
    }

    .dcs-shop-header__title {
        font-size: 1.6rem;
    }

    .dcs-shop-grid,
    .dcs-shop-featured {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dcs-product-card--detail {
        display: flex;
    }

    .dcs-product-card--detail .dcs-product-card__image {
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-right: 0;
        border-bottom: 1px solid #eef0f2;
    }

    .dcs-shop-search {
        flex-direction: column;
    }

    .dcs-shop-search input,
    .dcs-shop-search button,
    .dcs-category-dropdown select {
        width: 100%;
    }
}
