body {
    font-family: 'Poppins', sans-serif !important;
    background: #f5f7fb;
    color: #111827;
}

p {
    margin-bottom: 0px;
}

a {
    text-decoration: none;
    color: inherit;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb !important;
}

.logo-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #ef4444);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 10px;
}

html[dir="rtl"] .logo-box {
    background: linear-gradient(225deg, #2563eb, #ef4444);
    margin-right: 0;
    margin-left: 10px;
}

.hero {
    position: relative;
    padding: 50px 0;
    /* background: linear-gradient(to bottom, #ffffff, #eef2ff); */
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
}

#domain-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

#domain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
    z-index: -1;
}

html[dir="rtl"] #domain-banner {
    left: -45%;
}

html[dir="rtl"] #domain-overlay {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
}

.hero-title span {
    background: linear-gradient(90deg, #2563eb, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tag {
    display: inline-block;
    background: white;
    border: 1px solid #dee2e6;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.feature-icon {
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.bg-gradient-primary {
    background: linear-gradient(90deg, #2563eb, #ef4444);
    color: white;
}

html[dir="rtl"] .bg-gradient-primary {
    background: linear-gradient(270deg, #2563eb, #ef4444);
}

.globe {
    width: 520px;
    height: 520px;
    /* background: radial-gradient(circle at center, #4338ca, #1e1b4b); */
    border-radius: 50%;
    /* box-shadow: 0 0 80px rgba(67, 56, 202, 0.4); */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.globe svg {
    height: 100%;
    width: 100%;
}

.community-card {
    position: absolute;
    right: -20px;
    bottom: 80px;
    width: 300px;
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #d1d5db;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
}

.country-card,
.info-card {
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
/* 
.country-item {
    width: 50%;
}
 */


.flag {
    font-size: 42px;
}

.stats {
    background: linear-gradient(90deg, #1e3a8a, #312e81);
    border-radius: 1rem;
    color: white;
    padding-inline: 1rem;
}

footer {
    background: #0f172a;
    color: #cbd5e1;
}

footer h5 {
    color: white;
}

.newsletter-input {
    border-radius: 12px 0 0 12px;
    border: .5px solid #15274b;
    color: white !important;
    background: transparent !important;
    padding: 14px;
}

.newsletter-input:focus {
    background: transparent !important;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.57) !important;
}

.newsletter-btn {
    border-radius: 0 12px 12px 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .globe {
        width: 320px;
        height: 320px;
    }

    .community-card {
        position: static;
        margin-top: 20px;
        width: 100%;
    }
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#f7f7fb;
    color:#1f1f1f;
}

.post-btn{
    background:#3200b8;
    color:#fff;
    padding:15px 28px;
    border-radius:12px;
    font-weight:600;
}

.header-icon{
    font-size:22px;
    position:relative;
    cursor:pointer;
}

.notification{
    position:absolute;
    top:-6px;
    right:-8px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:red;
    color:#fff;
    font-size:11px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.avatar{
    width:45px;
    height:45px;
    border-radius:50%;
    object-fit:cover;
}

/* BREADCRUMB */

.breadcrumb{
    display:flex;
    gap:12px;
    align-items:center;
    margin:22px 0;
    font-size:14px;
    color:#666;
}

.breadcrumb i{
    font-size:11px;
}

/* LAYOUT */

.layout{
    display:grid;
    grid-template-columns:2.2fr 1fr;
    gap:25px;
}


/* PRODUCT TOP */

.product-top{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:25px;
}

.card{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 2px 8px rgba(0,0,0,0.03);
}

.main-image{
    border-radius:16px;
    overflow:hidden;
    border:1px solid #ececec;
    position:relative;
}

.main-image img{
    height:520px;
    object-fit:cover;
}

.image-tag{
    position:absolute;
    top:16px;
    left:16px;
    background:#3211b8;
    color:#fff;
    padding:10px 14px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
}

.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    cursor:pointer;
}

.arrow.left{
    left:15px;
}

.arrow.right{
    right:15px;
}

.thumb-row{
    display:flex;
    gap:12px;
    margin-top:16px;
}

.thumb{
    width:90px;
    height:90px;
    border-radius:12px;
    overflow:hidden;
    border:2px solid #ddd;
}

.thumb img{
    height:100%;
    object-fit:cover;
}

/* PRODUCT INFO */

.share-icons{
    display:flex;
    justify-content:flex-end;
    gap:12px;
}

.share-icons a {
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:16px;
    cursor: pointer;
}

.share-icons img {
    height:28px;
    width: 28px;
}

.fb{background:#1877f2;}
.tw{background:#1da1f2;}
.wh{background:#25d366;}
.ig{background:#e1306c;}
.lk{background:#333;}

.product-title{
    font-size:48px;
    line-height:1.2;
    margin-bottom:18px;
    font-weight:800;
}

.badges{
    display:flex;
    gap:12px;
    margin-bottom:20px;
}

.badge{
    padding:8px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
}

.green{
    background:#dff7e6;
    color:#198754;
}

.blue{
    background:#dfe5ff;
    color:#2f0ab8;
}

.gray{
    background:#eee;
    color: black;
}

.meta{
    color:#666;
    margin-bottom: .8rem;
}

.hot{
    color:#ff6a00;
    font-weight:600;
}

.price{
    color:#2f0ab8;
    font-weight:800;
}

.verified{
    display:flex;
    align-items:center;
    gap:8px;
    color:#17a34a;
    margin-top:25px;
    font-weight:600;
}

.bottom-actions{
    display:flex;
    gap:18px;
    margin-top:35px;
}

.outline-btn{
    flex:1;
    height:60px;
    border:1px solid #ddd;
    background:#fff;
    border-radius:14px;
    font-weight:600;
    font-size:16px;
    cursor:pointer;
}

/* SIDEBAR */

.sidebar-card{
    background:#fff;
    border-radius:18px;
    padding:22px;
    box-shadow:0 2px 8px rgba(0,0,0,0.03);
    margin-bottom:20px;
}

.seller-header{
    display:flex;
    gap:15px;
    margin-bottom:22px;
}

.seller-header img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
}

.seller-name{
    font-size:26px;
    font-weight: 500;
}

.rating{
    margin-top:8px;
    color:#f39c12;
    font-weight:600;
}

.online{
    margin-top:15px;
    color:#666;
}

.online span{
    color:#22c55e;
}

.stats{
    display:flex;
    justify-content:space-between;
    text-align:center;
    margin:25px 0;
}

.stats h3{
    font-size:28px;
    margin-bottom:5px;
}

.contact-btn{
    width:100%;
    border:none;
    height:58px;
    border-radius:14px;
    color:#fff;
    font-size:18px;
    font-weight:700;
    margin-bottom:14px;
    cursor:pointer;
}

.gradient-purple{
    background: linear-gradient(180deg, #ff37d1 0%, #7b00ff 100%);
    box-shadow: 0 4px 12px rgba(123, 0, 255, 0.35);
}

.gradient-green{
    background: linear-gradient(180deg, #19d84f 0%, #00a63a 100%);
    box-shadow: 0 4px 12px rgba(0, 166, 58, 0.35);
}

.gradient-blue{
    background: linear-gradient(180deg, #27b8ff 0%, #0066ff 100%);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.gradient-orange{
    background: linear-gradient(180deg, #ffb52e 0%, #ff6a00 100%);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.35);
}

.gradient-pink{
    background: linear-gradient(180deg, #ff2ca0 0%, #d10072 100%);
    box-shadow: 0 4px 12px rgba(209, 0, 114, 0.35);
}

/* DELIVERY */

.delivery-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
}

/* COD FORM */

.form-group{
    margin-bottom:16px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
}

.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    border:1px solid #ddd;
    border-radius:10px;
    padding:14px;
    outline:none;
    font-family:inherit;
}

.place-order{
    width:100%;
    height:60px;
    border:none;
    border-radius:14px;
    background:linear-gradient(90deg,#ff0080,#ff3cac);
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    margin-top:10px;
}

/* VIDEO */

.video-section{
    margin-top:25px;
}

.video-box{
    position:relative;
    overflow:hidden;
    border-radius:18px;
}

.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90px;
    height:65px;
    background:red;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:30px;
}

/* MAP */

.location-card{
    margin-top:25px;
}

.location-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
    font-weight:700;
}

.map{
    overflow:hidden;
    border-radius:16px;
}

/* DESCRIPTION */

.description-card{
    margin-top:25px;
}

.description-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.description-list{
    line-height:2;
    color:#444;
}

.specs{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec{
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #eee;
    padding-bottom:8px;
}

/* SIMILAR */

.similar{
    margin-top:30px;
}

.similar-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.similar-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.product-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,0.03);
}

.product-card img{
    height:220px;
    object-fit:cover;
}

.product-content{
    padding:15px;
}

.product-content h4{
    margin-bottom:10px;
}

.product-content p{
    color:#2f0ab8;
    font-weight:800;
    font-size:24px;
}

.product-content span{
    display:block;
    margin-top:10px;
    color:#777;
    font-size:14px;
}

/* CTA */

.cta{
    margin:35px 0;
    background:#2f0ab8;
    border-radius:18px;
    color:#fff;
    padding:28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.cta button{
    background:#ffb300;
    border:none;
    padding:18px 28px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}

/* FLOATING CHAT */

.chat-widget{
    position:fixed;
    right:25px;
    bottom:25px;
    background:linear-gradient(90deg,#7b2ff7,#f107a3);
    color:#fff;
    padding:18px 24px;
    border-radius:60px;
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
    box-shadow:0 5px 25px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* RESPONSIVE */

@media(max-width:1200px){

    .layout{
        grid-template-columns:1fr;
    }

    .similar-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:900px){

    .product-top{
        grid-template-columns:1fr;
    }

    .description-grid{
        grid-template-columns:1fr;
    }

    .navbar{
        flex-direction:column;
    }

    .search-box{
        width:100%;
    }
}

@media(max-width:650px){

    .similar-grid{
        grid-template-columns:1fr;
    }

    .product-title{
        font-size:34px;
    }

    .price{
        font-size:48px;
    }

    .cta{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }
}
