﻿:root {
    --bg: #f5f9ff;
    --card: #ffffff;
    --muted: #667085;
    --accent: #0b74ff;
    --accent-600: #095ec7;
    --accent-100: #eaf4ff;
    --success: #10b981;
    --danger: #ef4444;
    --radius: 14px;
    --shadow-sm: 0 6px 18px rgba(6,12,34,0.06);
    --shadow-md: 0 10px 38px rgba(6,12,34,0.08);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: linear-gradient(180deg,var(--bg), #ffffff 70%);
    color: #07203a;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


a {
    color: inherit;
    text-decoration: none
}

.container {
    margin: 0 auto;
    padding: 0 ;
    max-width:100%;
}
/* hero */
.hero {
    grid-template-columns: 1fr 420px;
    gap: 18px;
    align-items: center;
    padding: 18px 0
}

.hero-card {
    background: linear-gradient(180deg, #006eff36, rgba(10, 90, 220, 0.02));
    padding: 22px;
    border-radius: 16px;
    box-shadow: var(--shadow-md)
}

.eyebrow {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-100);
    color: var(--accent-600);
    font-weight: 800;
    font-size: 14px
}

.hero-title2 {
    font-size: 24px;
    font-weight: 900;
    margin: 14px 0;
    color: #06223f
}

.hero-desc {
    color: var(--muted);
    margin-bottom: 12px
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.color-mute {
    color: #4a4a4a;
}

.takhfif-btn:hover {
    background-color: #ff6a69 !important;
}

.takhfif-btn {
    transition:all 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: #1170fd !important;
    color: white !important;
}

.cta-button {
    transition: all 0.2s ease-in-out;
}


/*.btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: 0;
    font-weight: 800;
    cursor: pointer;
    display: inline-block
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 30px rgba(11,116,255,0.16)
}

.btn-outline {
    background: transparent;
    border: 1px solid #ffffff;
    color: rgba(6,12,34)
}*/
.hero-visual {
    border-radius: 12px;
    overflow: hidden;
    background: var(--accent-100);
    display: block;
    place-items: center;
}

    .hero-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: center;        
    }

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin: 0;
    color: #0d47a1; /* آبی تیره لوکس */
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

    .hero-title span {
        font-size: 3rem;
        color: #1976d2; /* آبی اصلی */
        position: relative;
    }

.hero-card-items{
    display:grid;
    grid-template-columns:repeat(1,1ftr)
}


/* categories */
.categories {
    gap: 10px;
    margin-top: 14px;
    justify-items: center;
    align-items: center;
}


.cat {
    background: var(--card);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(6,12,34,0.03);
    height:6rem;
}

    .cat .icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        background: var(--accent-100);
        color: var(--accent-600);
        font-weight: 800;
        font-size: 20px
    }

.cat, .icon {
    transition: 0.3s ease-in-out;
}

    .cat:hover {
        background-color: #71badb;
    }

        .cat:hover .icon {
            background-color: #71badb;
        }

/* section header */
/*.section {
    margin-top: 28px
}*/

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 20px;
    font-weight: 900;
    color: #06223f
}

.muted {
    color: var(--muted)
}
/* flash */
.flash-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px
}

.deal {
    background: linear-gradient(90deg,#fff,#f8fbff);
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(6,12,34,0.03)
}

    .deal .thumb {
        width: 92px;
        height: 76px;
        border-radius: 10px;
        overflow: hidden;
        background: var(--accent-100)
    }

        .deal .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover
        }

    .deal .meta {
        flex: 1;
        min-width: 0
    }

    .deal .title {
        font-weight: 800;
        margin-bottom: 6px
    }



.discount {
    background: linear-gradient(90deg,#ff7a59,#ff4d6d);
    color: white;
    padding: 6px 8px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px
}
/* catalog */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 12px
}

.card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(6,12,34,0.04);
    display: flex;
    flex-direction: column
}

    .card .image {
        height: 200px;
        overflow: hidden;
        background: var(--accent-100)
    }

        .card .image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .4s
        }

    .card:hover .image img {
        transform: scale(1.05)
    }

.card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.card-title {
    font-weight: 800
}

.card-sub {
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-top: auto
}


.actions {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

.wishlist {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(6,12,34,0.06);
    background: transparent;
    cursor: default;
    text-align: center
}
/* figures */
.figures-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 12px
}

.figure {
    background: var(--card);
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center
}

    .figure img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 10px
    }
/* brands */
.brands {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0
}

.brand-item {
    min-width: 120px;
    height: 56px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--card);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(6,12,34,0.03)
}
/* testimonials */
.testimonials {
    margin-top: 22px
}

.test-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px
}

.testimonial {
    min-width: 300px;
    flex: 0 0 auto;
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm)
}
/* newsletter */
.newsletter {
    margin-top: 26px;
    background: linear-gradient(90deg,var(--accent),#3aa0ff);
    color: white;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap
}

    .newsletter input {
        padding: 12px;
        border-radius: 10px;
        border: 0;
        outline: 0
    }
/* support */
.support-grid {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 12px;
    margin-top: 10px
}


.support-card {
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm)
}
/* footer */
footer {
    margin-top: 36px;
    background: linear-gradient(rgb(104 169 255 / 78%), rgb(212, 234, 255));
    border-top: 1px solid rgba(6,12,34,0.04);
    padding: 28px 0
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px
}

.footer-col h4 {
    margin: 0 0 8px 0
}


.legal {
    text-align: center;
    color: var(--muted);
    margin-top: 14px;
    font-size: 13px
}
/* responsive */
@media (max-width:1100px) {
    .hero {
        grid-template-columns: 1fr
    }

    .catalog-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .flash-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .categories {
        grid-template-columns: repeat(4,1fr)
    }
}

@media (max-width:760px) {
    .catalog-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .figures-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .categories {
        grid-template-columns: repeat(3,1fr)
    }

    .flash-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .brands {
        gap: 8px
    }
}

@media (max-width:520px) {
    .categories {
        grid-template-columns: repeat(2,1fr)
    }

    .hero-visual {
        height: 180px
    }

    .brands {
        gap: 8px
    }

    .footer-grid {
        grid-template-columns: repeat(1,1fr)
    }
}
/* visual polish */
.muted-ghost {
    color: rgba(255,255,255,0.9)
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}




* {
    box-sizing: border-box;
}


.discount-badge {
    background-color: red;
    color: white;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 8px;
}




.welcome-discount {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

    .welcome-discount h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .welcome-discount p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .welcome-discount .btn {
        background: #ffc107;
        color: #000;
        font-weight: bold;
        padding: 12px 24px;
        border-radius: 8px;
        text-decoration: none;
        transition: background 0.3s ease;
    }

        .welcome-discount .btn:hover {
            background: #ffca2c;
        }


#suggested-products {
    padding: 2rem;
    border-radius: 16px;
    background: #45b9ff;
}

#discount-products {
    padding: 2rem;
    border-radius: 16px;
    background: #ff7e61de;
}

#mostbuy-products {
    padding: 2rem;
    border-radius: 16px;
    background: #FFB300;
}

#new-products {
    padding: 2rem;
    border-radius: 16px;
    background: #1E90FF;
}

#phone-category {
    padding: 2rem;
    border-radius: 16px;
    background: #d3d3d3;
}

#accessories-category {
    padding: 2rem;
    border-radius: 16px;
    background: #ae6fd5d6;
}

#keyholder-category {
    padding: 2rem;
    border-radius: 16px;
    background: #FF6F91;
}

#actionfigure-category {
    padding: 2rem;
    border-radius: 16px;
    background: #00A884;
}

.scroll-button {
    position: fixed;
    right: 20px;
    width: 37px;
    height: 37px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
    z-index: 9999;
    place-items: center;
    display: flex;
    place-content: center;
}

    .scroll-button:hover {
        transform: scale(1.15);
        background: #0056d2;
    }

.scroll-down {
    bottom: 20px;
}

.scroll-button:not(.scroll-down) {
    bottom: 80px;
}


.chrome-warning {
    max-width: 100%;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(90deg, #ff4d4f, #ff7875);
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    flex-wrap: wrap; /* متن و آیکون روی موبایل می‌شکند */
}

    .chrome-warning .icon-info {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

/*-------------------------------------Responsive------------------------------*/
.grid-wid-product {
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .grid-wid-product {
        grid-template-columns: repeat(1, 1fr);
    }

    .support-grid {
        grid-template-columns: repeat(1,1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(1,1fr);
        place-items: center;
    }
    .chrome-warning {
        font-size: 0.875rem;
        padding: 10px 15px;
        gap: 8px;
    }

        .chrome-warning .icon-info {
            width: 18px;
            height: 18px;
        }

   
}

@media (min-width: 768px) {
    .grid-wid-product {
        grid-template-columns: repeat(2, 1fr);
    }
    .support-grid {
        grid-template-columns: repeat(3,1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(4,1fr);
        place-items: start;
    }
    .hero-card-items {
        grid-template-columns: repeat(2,1fr)
    }

}

@media (min-width: 992px) {
    .grid-wid-product {
        grid-template-columns: repeat(3, 1fr);
    }
    .container {
        max-width:86%;
        padding:18px;
    }
    .scroll-button {
        width: 45px;
        height: 45px;
    }
}

@media (min-width: 1200px) {
    .grid-wid-product {
        grid-template-columns: repeat(4, 1fr);
    }
}
/*-------------------------------------Responsive------------------------------*/





