.shop-page {
    background: #f3ebe3;
    min-height: 100vh;
}

.shop-main {
    padding: 1.5rem 0 3rem;
}

/* Product selector tabs — horizontal scroll */
.shop-tabs {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    padding: 0.5rem 0 1.75rem;
    scrollbar-width: none;
    justify-content: flex-start;
}

.shop-tabs::-webkit-scrollbar {
    display: none;
}

.shop-tab {
    flex: 0 0 auto;
    text-align: center;
    min-width: 76px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

.shop-tab-thumb {
    width: 68px;
    height: 68px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background-color: #d9cfc4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: border-color 0.2s, transform 0.2s;
    display: grid;
    place-items: center;
}

.shop-tab-thumb--letter {
    background-color: #6e1515;
    background-image: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.shop-tab.active .shop-tab-thumb {
    border-color: var(--black);
    transform: scale(1.06);
}

.shop-tab span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--black);
}

/* 3-column product grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Product card */
.mk-product-card {
    position: relative;
    background: var(--product-theme, #6e1515);
    border-radius: 24px;
    padding: 1.25rem 1rem 1.1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    scroll-margin-top: 7rem;
    overflow: hidden;
}

.mk-product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #fff;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.mk-product-card > * {
    position: relative;
    z-index: 1;
}

.mk-product-title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--product-theme, var(--red));
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.mk-product-title-link,
.mk-product-image-link {
    color: inherit;
    text-decoration: none;
}

.mk-product-image-link {
    display: block;
}

.mk-product-title-link:hover {
    text-decoration: underline;
}

.mk-product-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    align-items: stretch;
    margin-bottom: 0.85rem;
}

.mk-product-visual {
    position: relative;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 18px;
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 0.75rem;
}

.shop-product-image {
    width: min(130px, 100%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.mk-purchase-options {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mk-purchase-option {
    position: relative;
    width: 100%;
    text-align: left;
    border: 2px solid #b8b8b8;
    border-radius: 16px;
    padding: 0.7rem 0.75rem 0.65rem;
    background: var(--white);
    color: var(--black);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    min-height: 82px;
}

.mk-purchase-option.active {
    border-color: var(--product-theme, var(--red));
    background: var(--product-theme, var(--red));
    color: var(--white);
}

.mk-purchase-label {
    display: block;
    font-size: 0.68rem;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.mk-purchase-each {
    display: block;
    font-size: 0.95rem;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.1;
}

.mk-purchase-each small {
    font-size: 0.58rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.mk-purchase-total {
    display: block;
    font-size: 0.62rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.35rem;
    line-height: 1.35;
}

.mk-purchase-total s {
    opacity: 0.75;
}

.pack-options {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.pack-btn {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.25rem;
    border-radius: 999px;
    border: 2px solid var(--black);
    background: var(--white);
    font-size: 0.58rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pack-btn.active {
    background: var(--product-theme, var(--red));
    border-color: var(--product-theme, var(--red));
    color: var(--white);
}

.btn-add-cart {
    width: 100%;
    background: var(--black);
    background: #0866FF;
    color: var(--white);
    padding: 0.85rem 0.5rem;
    font-size: 0.72rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.btn-add-cart:hover {
    opacity: 0.9;
}

.whatsapp-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #25d366;
    color: var(--white);
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    font-size: 0.82rem;
    font-weight: 700;
    max-width: calc(100vw - 2.5rem);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.whatsapp-fab span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-guarantee {
    margin-top: 2.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
}

.shop-guarantee h2 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.shop-guarantee p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

.shop-reviews {
    margin-top: 2rem;
    padding: 2rem 0;
}

.shop-reviews h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.shop-reviews .reviews-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.shop-reviews .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.nav a.active {
    color: var(--red);
}

@media (max-width: 720px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .mk-product-inner {
        grid-template-columns: 1fr;
    }

    .mk-product-visual {
        min-height: 200px;
    }

    .whatsapp-fab {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .whatsapp-fab span {
        display: none;
    }
}
