/* ==========================================================================
   Cards Shop Block — centered header + 1 featured (dark) card and a column
   of 2 small (light) product cards.
   ========================================================================== */

.section.cardsshop {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ---- Header ------------------------------------------------------------- */
.cardsshop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    margin-bottom: 32px;
}
.cardsshop-eyebrow {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--text-label-xs);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-foreground);
}
.cardsshop-heading {
    margin: 0;
    color: var(--color-foreground);
}

/* ---- Row layout: featured (left) + column of small cards (right) -------- */
.cardsshop-row {
    display: grid;
    grid-template-columns: minmax(0, 1.33fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}
.cardsshop-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---- Shared card chrome ------------------------------------------------- */
.cardsshop-featured,
.cardsshop-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
}

/* ---- Featured (dark) card ---------------------------------------------- */
.cardsshop-featured {
    min-height: 528px;
    padding: 48px 64px;
    background: var(--color-card-navy);
}
.cardsshop-featured-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cardsshop-featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.cardsshop-featured-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-card-navy);
    opacity: 0.6;
}
.cardsshop-featured-info {
    position: relative;
    z-index: 2;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cardsshop-featured-eyebrow {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--text-label-xs);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-background);
}
.cardsshop-featured-heading {
    margin: 0;
    color: var(--color-secondary);
}
.cardsshop-featured-object {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 56%;
    z-index: 1;
    pointer-events: none;
}
.cardsshop-featured-object img {
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    height: 120%;
    width: auto;
    max-width: none;
    object-fit: contain;
}

/* ---- Small (light) cards ------------------------------------------------ */
.cardsshop-card {
    min-height: 252px;
    padding: 32px 48px;
    background: var(--color-secondary);
}
.cardsshop-card-info {
    position: relative;
    z-index: 2;
    max-width: 258px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cardsshop-card-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cardsshop-card-heading {
    margin: 0;
    color: var(--color-navy);
}
.cardsshop-card-subcopy {
    margin: 0;
    color: var(--color-foreground);
    line-height: 1.2;
}
.cardsshop-card-object {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 46%;
    z-index: 1;
    pointer-events: none;
}
.cardsshop-card-object img {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 108%;
    width: auto;
    max-width: none;
    object-fit: contain;
}

/* ---- Badge (e.g. "Now Available") -------------------------------------- */
.cardsshop-badge {
    position: absolute;
    top: 16px;
    right: 0;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: var(--text-label-xs);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-background);
    background: var(--color-brand-orange);
    padding: 7px 16px 7px 20px;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

/* ---- Buttons ------------------------------------------------------------ */
/* Layout only — colours/padding/hover come from the global .btn variants
   (feature button = .btn-secondary, card button = .btn-primary). */
.cardsshop-btn { align-self: flex-start; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .cardsshop-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .cardsshop-featured {
        min-height: 420px;
        padding: 40px 48px;
    }
    .cardsshop-featured-info { max-width: 60%; }
}

@media (max-width: 575px) {
    .cardsshop-featured {
        min-height: 380px;
        padding: 28px 24px;
    }
    .cardsshop-featured-info { max-width: 72%; }
    .cardsshop-card {
        min-height: 240px;
        padding: 24px;
    }
    .cardsshop-card-info { max-width: 70%; }
    .cardsshop-featured-object { width: 48%; }
    .cardsshop-card-object { width: 42%; }
}
