/* Shared shop fragment: full-page and HTMX navigation use the same styles. */
.shop-page {
    color: #302d2c;
    padding: 12px 0 36px;
}
.shop-page .shop-collection + .shop-collection { margin-top: 64px; }
.shop-page .shop-collection { scroll-margin-top: 90px; }
.shop-page h2 { margin: 0 0 10px; letter-spacing: -.025em; line-height: 1.2; }
.shop-page .shop-collection > p {
    max-width: none;
    margin-bottom: 28px;
    color: #6c6265;
    font-size: 15px;
    line-height: 1.75;
}
.shop-page .shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}
.shop-page .shop-product-grid > a {
    max-width: none !important;
    border: 1px solid #ded5da;
    border-radius: 6px;
    box-shadow: none;
}
.shop-page .shop-product-grid > a:hover { box-shadow: none; }
.shop-page .shop-product-grid > a > div:first-child {
    padding: 0;
    background: #f7f7f6;
}
.shop-page .shop-product-grid > a > div:last-child {
    align-items: baseline;
    gap: 8px;
    padding: 14px 12px;
    border: 0;
}
.shop-page .shop-product-grid h3 { color: #302d2c; font-size: 14px; line-height: 1.5; }
.shop-page .shop-product-grid p { font-size: 12px; white-space: nowrap; }
.shop-page .shop-product-grid > a:is(:hover, :focus-visible) h3 {
    color: #a81a6b;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.shop-page a:focus-visible { outline: 2px solid #a81a6b; outline-offset: 5px; }
@media (max-width: 600px) {
    .shop-page { padding: 24px 0 36px; }
    .shop-page .shop-collection + .shop-collection { margin-top: 44px; }
    .shop-page .shop-collection > p { font-size: 14px; margin-bottom: 22px; }
    .shop-page .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
    .shop-page .shop-product-grid > a > div:first-child { padding: 0; }
    .shop-page .shop-product-grid > a > div:last-child { padding-top: 12px; }
}

/* Shared image frame for pattern cards on the shop and homepage. */
.pattern-card-media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.pattern-card-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Landing page introduction and compact benefits strip. */
.shop-page .shop-hero {
    --shop-hero-color: #fcf7f3;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--shop-hero-color);
    background-image: url('../images/striped-tshirt-hero.webp');
    background-size: auto 112%;
    background-position: right center;
    background-repeat: no-repeat;
    border-radius: 6px;
}
.shop-page .shop-hero-content {
    position: relative;
    z-index: 1;
    width: 58%;
    padding: clamp(20px, 2.5vw, 28px);
    background: linear-gradient(90deg, var(--shop-hero-color) 65%, transparent);
}
.shop-page .shop-eyebrow {
    margin: 0 0 10px;
    color: #a50f68;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
}
.shop-page .shop-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 3.6vw, 46px) !important;
    line-height: 1.14;
    letter-spacing: -.035em;
    color: #302d2c;
}
.shop-page .shop-hero h1 em { color: #b01272; }
.shop-page .shop-hero-description {
    margin: 0 0 16px;
    color: #584e52;
    font-size: 16px;
    line-height: 1.55;
}
.shop-page .shop-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 6px;
    background: #a50f68;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.shop-page .shop-hero-button:is(:hover, :focus-visible) { background: #80104f; color: #fff; }
.shop-page .shop-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 20px 0;
    margin-bottom: 22px;
    border-bottom: 1px solid #e9e1e5;
}
.shop-page .shop-benefit { min-width: 0; text-align: center; }
.shop-page .shop-benefit-icon { display: block; color: #a50f68; margin-bottom: 10px; }
.shop-page .shop-benefit-icon svg { width: 28px; height: 28px; margin: auto; }
.shop-page .shop-benefit strong { display: block; color: #a50f68; font-size: 15px; font-weight: 600; }
.shop-page .shop-benefit p { margin: 8px 0 0; color: #6c6265; font-size: 14px; line-height: 1.6; }
.shop-page .shop-collection-title { margin-bottom: 18px; font-size: clamp(26px, 3vw, 34px) !important; }
@media (min-width: 701px) and (max-width: 1024px) {
    .shop-page { padding-top: 8px; }
    .shop-page .shop-hero-content { width: 62%; padding: 20px; }
    .shop-page .shop-hero h1 { font-size: clamp(30px, 4vw, 38px) !important; }
    .shop-page .shop-hero-description { font-size: 14px; line-height: 1.5; }
    .shop-page .shop-benefits { padding: 16px 0; margin-bottom: 18px; }
    .shop-page .shop-benefit-icon { margin-bottom: 6px; }
    .shop-page .shop-benefit p { margin-top: 4px; font-size: 12px; }
}
@media (max-width: 700px) {
    .shop-page { padding-top: 6px; }
    .shop-page .shop-hero {
        background-image: url('../images/striped-tshirt-hero.webp');
        background-size: auto 100%;
    }
    .shop-page .shop-hero-content {
        padding: 14px 12px;
    }
    .shop-page .shop-eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 6px; }
    .shop-page .shop-hero h1 {
        font-size: clamp(22px, 5.6vw, 32px) !important;
        margin-bottom: 8px;
    }
    .shop-page .shop-hero-description {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 12px;
        padding-right: 6px;
    }
    .shop-page .shop-hero-button {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 12px;
    }
    .shop-page .shop-benefits { gap: 10px; margin-bottom: 16px; padding: 16px 0; }
    .shop-page .shop-benefit-icon { margin-bottom: 6px; }
    .shop-page .shop-benefit-icon svg { width: 22px; height: 22px; }
    .shop-page .shop-benefit strong { font-size: 13px; }
    .shop-page .shop-benefit p { font-size: 11px; line-height: 1.4; margin-top: 4px; }
}
@media (max-width: 480px) {
    .shop-page .shop-hero { background-size: auto 70%; }
}
