/* ==========================================================================
   PersianShop Mobile Phones & Tech Gadgets Demo Stylesheet
   Theme: PersianShop
   ========================================================================== */

:root {
    --ps-azure: #0284c7;
    --ps-azure-hover: #0369a1;
    --ps-azure-light: #e0f2fe;
    --ps-dark-tech: #0f172a;
}

/* 1. HERO */
.ps-mob-hero-wrap {
    margin: 20px 0 35px;
}
.ps-mob-hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 20px;
}
.ps-mob-hero-main {
    background: linear-gradient(rgba(10, 25, 45, 0.55), rgba(10, 25, 45, 0.9)), url('../images/demo-media/hero-mobile-main.jpg') center/cover no-repeat;
    border-radius: 18px;
    padding: 38px 34px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}
.ps-mob-hero-main::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.ps-mob-badge {
    background: var(--ps-primary, var(--ps-azure));
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.ps-mob-title {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.ps-mob-desc {
    color: #94a3b8;
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}
.ps-mob-specs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}
.ps-mob-specs-chips .chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
}
.ps-mob-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ps-mob-btn-primary {
    background: var(--ps-primary, var(--ps-azure));
    color: #fff !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 12px 26px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
    transition: transform 0.25s ease;
}
.ps-mob-btn-primary:hover {
    transform: translateY(-2px);
}
.ps-mob-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.ps-mob-side-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ps-mob-side-card {
    border-radius: 16px;
    padding: 26px;
    flex: 1;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none !important;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ps-mob-side-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.ps-mob-card-apple {
    background: linear-gradient(rgba(20, 20, 30, 0.45), rgba(20, 20, 30, 0.85)), url('../images/demo-media/hero-mobile-side1.jpg') center/cover no-repeat;
}
.ps-mob-card-xiaomi {
    background: linear-gradient(rgba(5, 50, 90, 0.45), rgba(5, 50, 90, 0.85)), url('../images/demo-media/hero-mobile-side2.jpg') center/cover no-repeat;
}
.ps-mob-sc-overlay .tag {
    font-size: 10.5px;
    letter-spacing: 1px;
    font-weight: 800;
    opacity: 0.85;
    display: block;
    margin-bottom: 6px;
}
.ps-mob-sc-overlay .sc-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px 0;
}
.ps-mob-sc-overlay .sc-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    margin: 0 0 12px 0;
}
.ps-mob-sc-overlay .sc-link {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
}

/* 2. SERVICES */
.ps-mob-services-wrap {
    margin: 30px 0;
}
.ps-mob-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.ps-mob-service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}
.ps-mob-service-card:hover {
    border-color: var(--ps-primary, var(--ps-azure));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.08);
}
.ps-mob-s-icon {
    color: var(--ps-primary, var(--ps-azure));
    background: var(--ps-azure-light);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ps-mob-s-title {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}
.ps-mob-s-desc {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
}

/* 3. BRAND QUICK BAR */
.ps-mob-brands-bar {
    margin: 25px 0 35px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ps-mob-brands-bar .label {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}
.ps-mob-brands-bar .brands-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ps-mob-brands-bar .brand-chip {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.ps-mob-brands-bar .brand-chip:hover {
    border-color: var(--ps-primary, var(--ps-azure));
    background: var(--ps-azure-light);
}
.ps-mob-brands-bar .b-name {
    font-size: 12px;
    color: #1e293b;
}
.ps-mob-brands-bar .b-tag {
    font-size: 10px;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* 4. DEALS */
.ps-mob-deal-box {
    margin: 35px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 18px;
    padding: 28px;
    color: #fff;
}
.ps-mob-deal-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: center;
}
.ps-mob-deal-badge {
    background: var(--ps-primary, var(--ps-azure));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.ps-mob-deal-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
}
.ps-mob-deal-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 20px 0;
}
.ps-mob-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ps-mob-cd-unit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    min-width: 52px;
}
.ps-mob-cd-unit .num {
    font-size: 18px;
    font-weight: 800;
    color: #38bdf8;
    display: block;
}
.ps-mob-cd-unit .lbl {
    font-size: 10px;
    color: #cbd5e1;
}
.ps-mob-countdown .sep {
    font-weight: 800;
    color: #38bdf8;
    font-size: 18px;
}
.ps-mob-deal-item {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 22px;
    align-items: center;
    color: #0f172a;
}
.ps-mob-deal-img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-mob-deal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ps-mob-deal-placeholder {
    font-size: 50px;
}
.ps-mob-deal-tag {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    display: block;
    margin-bottom: 6px;
}
.ps-mob-deal-name {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}
.ps-mob-deal-name a {
    color: #0f172a;
    text-decoration: none;
}
.ps-mob-deal-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-azure));
    margin-bottom: 14px;
}
.ps-mob-deal-stock {
    margin-bottom: 16px;
}
.ps-mob-stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 6px;
}
.ps-mob-stock-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.ps-mob-stock-bar .fill {
    height: 100%;
    background: var(--ps-primary, var(--ps-azure));
    border-radius: 10px;
}
.ps-mob-deal-btn {
    background: var(--ps-primary, var(--ps-azure)) !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
}

/* 5. CATEGORIES */
.ps-mob-cats-wrap {
    margin: 40px 0;
}
.ps-mob-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.ps-mob-head-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    position: relative;
    padding-right: 14px;
}
.ps-mob-head-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--ps-primary, var(--ps-azure));
    border-radius: 4px;
}
.ps-mob-head-link {
    color: var(--ps-primary, var(--ps-azure));
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.ps-mob-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.ps-mob-cat-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ps-mob-cat-item:hover {
    border-color: var(--ps-primary, var(--ps-azure));
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}
.ps-mob-cat-icon {
    font-size: 36px;
    margin-bottom: 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ps-azure-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-mob-cat-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 2px solid #bae6fd;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: #fff;
}
.ps-mob-cat-item:hover .ps-mob-cat-thumb {
    transform: scale(1.08);
    border-color: var(--ps-primary, var(--ps-azure));
}
.ps-mob-cat-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
}

/* 6. TABS & PRODUCTS */
.ps-mob-tabs-wrap {
    margin: 45px 0;
}
.ps-mob-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 14px;
    flex-wrap: wrap;
    gap: 14px;
}
.ps-mob-tabs-title-box .kicker {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ps-primary, var(--ps-azure));
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}
.ps-mob-tabs-title-box .title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.ps-mob-tabs-nav {
    display: flex;
    gap: 8px;
}
.ps-mob-tab-btn {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ps-mob-tab-btn.is-active,
.ps-mob-tab-btn:hover {
    background: var(--ps-primary, var(--ps-azure));
    color: #fff;
}
.ps-mob-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.ps-mob-prod-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.ps-mob-prod-card:hover {
    border-color: var(--ps-primary, var(--ps-azure));
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.1);
}
.ps-mob-prod-thumb {
    position: relative;
    height: 190px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ps-mob-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    box-sizing: border-box;
}
.ps-mob-p-placeholder {
    font-size: 48px;
}
.ps-mob-prod-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: #0284c7;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.ps-mob-prod-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.ps-mob-prod-title {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    height: 38px;
    overflow: hidden;
}
.ps-mob-prod-title a {
    color: #0f172a;
    text-decoration: none;
}
.ps-mob-prod-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-azure));
    margin-bottom: 12px;
}
.ps-mob-add-btn {
    display: block;
    text-align: center;
    background: var(--ps-azure-light);
    color: var(--ps-primary, var(--ps-azure));
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.ps-mob-add-btn:hover {
    background: var(--ps-primary, var(--ps-azure));
    color: #fff;
}

/* 7. COMPARISON BANNER */
.ps-mob-compare-box {
    margin: 45px 0 20px;
    background: linear-gradient(135deg, #091e3a 0%, #0369a1 100%);
    border-radius: 18px;
    padding: 36px 30px;
    color: #fff;
    text-align: center;
}
.ps-mob-compare-content .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}
.ps-mob-compare-content .title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
}
.ps-mob-compare-content .desc {
    color: #cbd5e1;
    font-size: 13.5px;
    max-width: 680px;
    margin: 0 auto 22px;
    line-height: 1.6;
}
.ps-mob-compare-content .btn {
    background: #fff;
    color: #0284c7;
    font-weight: 800;
    font-size: 13.5px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none !important;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .ps-mob-hero-grid {
        grid-template-columns: 1fr;
    }
    .ps-mob-deal-grid {
        grid-template-columns: 1fr;
    }
    .ps-mob-deal-item {
        flex-direction: column;
        text-align: center;
    }
}
