@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600&display=swap');
html{
    scroll-behavior: smooth;
}
html,head,body{
    direction: rtl;
    text-align:right;
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.02em;
    height: auto;
    min-height: 100%;
}
.row {
    margin-bottom: 0 !important;
}
.modal {
    overflow-y: auto;
}
body{
    touch-action: manipulation;
    padding-top: 60px;
    margin: 0;
    padding-bottom: 0;
    direction: rtl;
    text-align:right;
    font-family: 'Cairo', sans-serif;
}
.vendor-nav{
    background-color: #ffffff;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    vertical-align: middle;
}
.vendor-nav-logo{
    display: inline-block;
    text-align: center;
    justify-content: center;
    width: 1.8rem;
    height: auto;
    object-fit: cover;
    image-rendering: optimizeQuality, optimizeSpeed;
    image-orientation: from-image;
    overflow: hidden;
    vertical-align: middle;
}
.vendor-nav-brand{
    color: #007bff;
    font-size: 15px;
    font-weight: 600;
    overflow: hidden;
    vertical-align: middle;
    transition: 0.3s ease;
}
.vendor-nav-brand:hover{
    color: #007bff;
    transition: 0.3s ease;
}
/* HERO SECTION */
.hero {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: 0;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.my-pri-text2{
    color: #001f3f;
}
/* PRODUCT CARD */
.product-card {
    position:relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);
}
.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.product-body {
    padding: 10px;
}
.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.product-price {
    color: #16a34a;
    font-weight: 600;
    font-size: 14px;
}
.status-badge{
    position:absolute;
    top:10px;
    left:10px;
    padding:5px 10px;
    font-size:12px;
    font-weight:600;
    border-radius:20px;
    color:#fff;
    z-index:2;
}
.badge-available{
    background:#16a34a;
    box-shadow:0 3px 10px rgba(22,163,74,0.3);
}
.badge-sold{
    background:#ef4444;
    box-shadow:0 3px 10px rgba(239,68,68,0.3);
}
.product-card.soldout{
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}
.product-card.soldout::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, 0.099);
}
.empty-store{
    background:#f8f9fa;
    border-radius:14px;
    border:1px dashed #ddd;
}
.footer-section{
    background:#0c1017;
    padding:60px 0 30px;
    color:#ffffff;
}
.footer-logo{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}
.footer-title{
    font-size:16px;
    font-weight:600;
}
.footer-tagline{
    font-size: 14px;
    color:#cfd6e4;
    margin-bottom: 20px;
}
.footer-social{
    display: flex;
    gap: 12px;
}
.footer-social a{
    color:#ffffff;
    font-size:20px;
    transition: 0.3s ease;
}
.footer-social a:hover{
    color:#007bff;
}
.footer-heading{
    font-size:16px;
    margin-bottom:15px;
    font-weight:600;
}
.footer-divider{
    margin:40px 0 20px;
    border-top:1px solid rgba(255,255,255,0.15);
}
.footer-bottom{
    text-align:center;
    font-size:13px;
    color:#cfd6e4;
}
#whatsappBtn{
    border-radius: 5px;
    padding: 10px;
}
/* Tablet */
@media (min-width: 768px) {
    .hero {
        height: 300px;
    }
    .product-img {
        height: 200px;
    }
}
/* Laptop */
@media (min-width: 1024px) {
    .hero {
        height: 400px;
    }
    .product-img {
        height: 250px;
    }
}
/* Large Desktop */
@media (min-width: 1440px) {
    .hero {
        height: 500px;
    }
    .product-img {
        height: 250px;
    }
}