/* =====================================================
   DIGITAL STORE - PROFESSIONAL DESIGN
   Version: 1.0
===================================================== */


/* ================= STORE HERO ================= */

.store-page {
    background: #ffffff;
    color: #111827;
}

.store-hero {
    position: relative;
    overflow: hidden;

    padding: 95px 0 105px;

    background: linear-gradient(
        135deg,
        #f1efff 0%,
        #ffffff 55%,
        #edf5ff 100%
    );
}

.store-hero-content {
    max-width: 780px;
    margin: auto;
    text-align: center;
}

.store-hero-badge {
    display: inline-block;

    padding: 9px 18px;

    border-radius: 50px;

    background: #e8e4ff;

    color: #6258f5;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;

    margin-bottom: 25px;
}

.store-hero h1 {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.store-hero h1 span {
    display: block;

    background: linear-gradient(
        135deg,
        #6258f5,
        #a855f7
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.store-hero p {
    max-width: 650px;
    margin: auto;

    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
}

.store-hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 32px;
}


/* ================= BENEFITS ================= */

.store-benefits {
    padding: 30px 0;
    background: #ffffff;
    border-bottom: 1px solid #e8ecf4;
}

.store-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.store-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.store-benefit > span {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    background: #f1efff;
    font-size: 24px;
}

.store-benefit strong {
    display: block;
    font-size: 14px;
}

.store-benefit p {
    color: #64748b;
    font-size: 12px;
}


/* ================= PRODUCTS SECTION ================= */

.store-products-section {
    padding: 85px 0;
    background: #f8faff;
}

.store-section-heading {
    margin-bottom: 35px;
}

.store-label {
    display: inline-block;
    margin-bottom: 12px;

    color: #6258f5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.store-section-heading h2 {
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.store-section-heading p {
    color: #64748b;
    font-size: 15px;
}


/* ================= SEARCH ================= */

.store-search-panel {
    background: white;

    border: 1px solid #e8ecf4;
    border-radius: 16px;

    padding: 20px;

    margin-bottom: 25px;
}

.store-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-search-form input {
    flex: 1;
    min-width: 0;

    height: 50px;
    padding: 0 18px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    font-size: 14px;
    font-family: inherit;

    outline: none;
}

.store-search-form input:focus {
    border-color: #6258f5;
    box-shadow: 0 0 0 3px rgba(98,88,245,0.1);
}

.store-search-form button {
    height: 50px;
    padding: 0 28px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #6258f5,
        #9333ea
    );

    color: white;
    font-weight: 700;
    font-size: 14px;

    cursor: pointer;
}


/* ================= CATEGORY FILTER ================= */

.store-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.store-category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 17px;

    border-radius: 9px;
    border: 1px solid #e2e8f0;

    background: white;
    color: #475569;

    font-size: 13px;
    font-weight: 600;

    transition: 0.2s ease;
}

.store-category-btn:hover {
    color: #6258f5;
    border-color: #6258f5;
}

.store-category-btn.active {
    background: #6258f5;
    color: white;
    border-color: #6258f5;
}

.store-product-count {
    margin-bottom: 22px;
}

.store-product-count p {
    font-size: 14px;
    color: #64748b;
}

.store-product-count strong {
    color: #111827;
}


/* ================= PRODUCT GRID ================= */

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.store-product-card {
    min-width: 0;

    background: white;
    border: 1px solid #e8ecf4;
    border-radius: 16px;

    overflow: hidden;

    transition: 0.25s ease;
}

.store-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(20,25,70,0.08);
    border-color: #d9d4ff;
}


/* ================= PRODUCT IMAGE ================= */

.store-product-image {
    height: 190px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #eae7ff,
        #e6f2ff
    );
}

.store-product-card:nth-child(4n+2) .store-product-image {
    background: linear-gradient(
        135deg,
        #dff6ff,
        #e8edff
    );
}

.store-product-card:nth-child(4n+3) .store-product-image {
    background: linear-gradient(
        135deg,
        #fff0e6,
        #ffe8f1
    );
}

.store-product-card:nth-child(4n+4) .store-product-image {
    background: linear-gradient(
        135deg,
        #e5fff0,
        #e8efff
    );
}

.store-product-icon {
    font-size: 70px;
}

.store-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;

    background: white;
    color: #6258f5;

    padding: 5px 10px;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 800;
}

.store-product-discount {
    position: absolute;
    top: 12px;
    right: 12px;

    background: #16a34a;
    color: white;

    padding: 5px 9px;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 800;
}


/* ================= PRODUCT CONTENT ================= */

.store-product-content {
    padding: 19px;
}

.store-product-category {
    color: #6258f5;
    font-size: 11px;
    font-weight: 800;
}

.store-product-content h3 {
    font-size: 16px;
    line-height: 1.4;

    margin: 9px 0 10px;

    min-height: 45px;
}

.store-product-description {
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;

    min-height: 40px;
    margin-bottom: 15px;
}

.store-product-prices {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
    margin-bottom: 17px;
}

.store-product-prices strong {
    color: #111827;
    font-size: 21px;
    font-weight: 800;
}

.store-product-prices del {
    color: #94a3b8;
    font-size: 13px;
}

.store-product-action {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    padding: 12px 8px;

    border-radius: 9px;

    background: #f0efff;
    color: #6258f5;

    font-size: 12px;
    font-weight: 700;
    text-align: center;
}


/* ================= EMPTY SEARCH ================= */

.store-empty {
    text-align: center;

    background: white;
    border: 1px solid #e8ecf4;
    border-radius: 18px;

    padding: 70px 20px;
}

.store-empty-icon {
    font-size: 52px;
    margin-bottom: 15px;
}

.store-empty h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.store-empty p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 25px;
}


/* ================= CTA ================= */

.store-cta {
    padding: 75px 0;
    background: white;
}

.store-cta-box {
    text-align: center;

    padding: 65px 25px;

    border-radius: 24px;

    background: linear-gradient(
        135deg,
        #5148e8,
        #9557ef
    );

    color: white;
}

.store-cta-box > span {
    display: inline-block;
    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.store-cta-box h2 {
    font-size: clamp(27px, 4vw, 40px);
    margin-bottom: 15px;
}

.store-cta-box p {
    max-width: 550px;
    margin: 0 auto 28px;
    color: #eeeaff;
    font-size: 14px;
}


/* ================= ACCESSIBILITY ================= */

.store-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ================= TABLET ================= */

@media (max-width: 1050px) {

    .store-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .store-hero {
        padding: 65px 0 75px;
    }

    .store-hero h1 {
        font-size: 37px;
        letter-spacing: -1.5px;
    }

    .store-hero p {
        font-size: 14px;
    }

    .store-hero-actions .btn {
        width: 100%;
        max-width: 330px;
    }

    .store-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .store-benefit {
        justify-content: flex-start;
    }

    .store-products-section {
        padding: 60px 0;
    }

    .store-search-panel {
        padding: 12px;
    }

    .store-search-form input {
        padding: 0 12px;
        font-size: 13px;
    }

    .store-search-form button {
        padding: 0 17px;
        font-size: 12px;
    }

    .store-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: thin;
    }

    .store-category-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 9px 14px;
    }

    .store-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .store-product-image {
        height: 140px;
    }

    .store-product-icon {
        font-size: 48px;
    }

    .store-product-badge,
    .store-product-discount {
        font-size: 9px;
        padding: 4px 6px;
    }

    .store-product-content {
        padding: 13px;
    }

    .store-product-content h3 {
        font-size: 13px;
        min-height: 55px;
    }

    .store-product-description {
        font-size: 11px;
        min-height: 55px;
    }

    .store-product-prices {
        gap: 7px;
    }

    .store-product-prices strong {
        font-size: 17px;
    }

    .store-product-prices del {
        font-size: 11px;
    }

    .store-product-action {
        padding: 11px 5px;
        font-size: 11px;
    }

    .store-cta {
        padding: 55px 0;
    }

    .store-cta-box {
        padding: 50px 20px;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 370px) {

    .store-product-image {
        height: 120px;
    }

    .store-product-icon {
        font-size: 42px;
    }

    .store-product-content h3 {
        font-size: 12px;
    }

    .store-product-prices strong {
        font-size: 16px;
    }

}


/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

    .store-product-card {
        transition: none;
    }

}