/* ==========================================================================
   PersianShop Home Appliances & Kitchenware Demo Stylesheet
   Theme: PersianShop
   ========================================================================== */

:root {
    --ps-teal: #0d9488;
    --ps-teal-hover: #0f766e;
    --ps-teal-light: #ccfbf1;
    --ps-app-dark: #0f172a;
}

/* 1. HERO */
.ps-app-hero-wrap {
    margin: 20px 0 35px;
}
.ps-app-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 20px;
}
.ps-app-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ps-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(13, 148, 136, 0.22);
}
.ps-app-main {
    min-height: 440px;
    background: linear-gradient(rgba(10, 45, 45, 0.45), rgba(10, 45, 45, 0.85)), url('../images/demo-media/hero-appliances-main.jpg') center/cover no-repeat;
}
.ps-app-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ps-app-sub {
    min-height: 210px;
    flex: 1;
}
.ps-app-kitchen {
    background: linear-gradient(rgba(60, 35, 5, 0.45), rgba(60, 35, 5, 0.85)), url('../images/demo-media/hero-appliances-side1.jpg') center/cover no-repeat;
}
.ps-app-tv {
    background: linear-gradient(rgba(20, 20, 55, 0.45), rgba(20, 20, 55, 0.85)), url('../images/demo-media/hero-appliances-side2.jpg') center/cover no-repeat;
}
.ps-app-overlay {
    padding: 34px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}
.ps-app-badge {
    align-self: flex-start;
    background: #fff;
    color: var(--ps-primary, var(--ps-teal));
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ps-app-overlay .tag {
    align-self: flex-start;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
}
.ps-app-kicker {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.85;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.ps-app-title {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.ps-app-sub-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px 0;
}
.ps-app-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}
.ps-app-sub-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    margin: 0 0 12px 0;
}
.ps-app-btn {
    display: inline-block;
    background: #fff;
    color: var(--ps-primary, var(--ps-teal)) !important;
    font-weight: 800;
    font-size: 13.5px;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    align-self: flex-start;
}
.ps-app-link {
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* 2. SERVICES */
.ps-app-services-wrap {
    margin: 30px 0;
}
.ps-app-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.ps-app-service-card {
    background: #fff;
    border: 1px solid #99f6e4;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}
.ps-app-service-card:hover {
    border-color: var(--ps-primary, var(--ps-teal));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.1);
}
.ps-app-s-icon {
    color: var(--ps-primary, var(--ps-teal));
    background: var(--ps-teal-light);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ps-app-s-title {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #134e4a;
    margin-bottom: 3px;
}
.ps-app-s-desc {
    display: block;
    font-size: 11.5px;
    color: #0f766e;
    line-height: 1.5;
}

/* 3. DEALS */
.ps-app-deal-box {
    margin: 35px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1.5px solid #5eead4;
    border-radius: 18px;
    padding: 28px;
}
.ps-app-deal-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: center;
}
.ps-app-deal-badge {
    background: var(--ps-primary, var(--ps-teal));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.ps-app-deal-title {
    font-size: 22px;
    font-weight: 800;
    color: #134e4a;
    margin: 0 0 8px 0;
}
.ps-app-deal-sub {
    font-size: 13px;
    color: #0f766e;
    margin: 0 0 20px 0;
}
.ps-app-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ps-app-cd-unit {
    background: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    min-width: 52px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.ps-app-cd-unit .num {
    font-size: 18px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-teal));
    display: block;
}
.ps-app-cd-unit .lbl {
    font-size: 10px;
    color: #0f766e;
}
.ps-app-countdown .sep {
    font-weight: 800;
    color: #0d9488;
    font-size: 18px;
}
.ps-app-deal-item {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 22px;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.ps-app-deal-img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f0fdfa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-app-deal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ps-app-deal-placeholder {
    font-size: 50px;
}
.ps-app-deal-tag {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    display: block;
    margin-bottom: 6px;
}
.ps-app-deal-name {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}
.ps-app-deal-name a {
    color: #134e4a;
    text-decoration: none;
}
.ps-app-deal-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-teal));
    margin-bottom: 14px;
}
.ps-app-deal-stock {
    margin-bottom: 16px;
}
.ps-app-stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #0f766e;
    margin-bottom: 6px;
}
.ps-app-stock-bar {
    height: 8px;
    background: #ccfbf1;
    border-radius: 10px;
    overflow: hidden;
}
.ps-app-stock-bar .fill {
    height: 100%;
    background: var(--ps-primary, var(--ps-teal));
    border-radius: 10px;
}
.ps-app-deal-btn {
    background: var(--ps-primary, var(--ps-teal)) !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
}

/* 4. CATEGORIES */
.ps-app-cats-wrap {
    margin: 40px 0;
}
.ps-app-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.ps-app-head-title {
    font-size: 19px;
    font-weight: 800;
    color: #134e4a;
    margin: 0;
    position: relative;
    padding-right: 14px;
}
.ps-app-head-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--ps-primary, var(--ps-teal));
    border-radius: 4px;
}
.ps-app-head-link {
    color: var(--ps-primary, var(--ps-teal));
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.ps-app-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.ps-app-cat-item {
    background: #fff;
    border: 1px solid #99f6e4;
    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-app-cat-item:hover {
    border-color: var(--ps-primary, var(--ps-teal));
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}
.ps-app-cat-icon {
    font-size: 34px;
    margin-bottom: 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ps-teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-app-cat-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: #f8fafc;
}
.ps-app-cat-item:hover .ps-app-cat-thumb {
    transform: scale(1.08);
    border-color: var(--ps-primary, var(--ps-teal));
}
.ps-app-cat-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #134e4a;
}

/* 5. TABS & PRODUCTS */
.ps-app-tabs-wrap {
    margin: 45px 0;
}
.ps-app-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 2px solid #99f6e4;
    padding-bottom: 14px;
    flex-wrap: wrap;
    gap: 14px;
}
.ps-app-tabs-title-box .kicker {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ps-primary, var(--ps-teal));
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}
.ps-app-tabs-title-box .title {
    font-size: 20px;
    font-weight: 800;
    color: #134e4a;
    margin: 0;
}
.ps-app-tabs-nav {
    display: flex;
    gap: 8px;
}
.ps-app-tab-btn {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700;
    color: #0f766e;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ps-app-tab-btn.is-active,
.ps-app-tab-btn:hover {
    background: var(--ps-primary, var(--ps-teal));
    color: #fff;
}
.ps-app-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.ps-app-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-app-prod-card:hover {
    border-color: #5eead4;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.1);
}
.ps-app-prod-thumb {
    position: relative;
    height: 190px;
    background: #f0fdfa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ps-app-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    box-sizing: border-box;
}
.ps-app-p-placeholder {
    font-size: 48px;
}
.ps-app-prod-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #134e4a;
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 14px;
}
.ps-app-prod-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.ps-app-prod-title {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    height: 38px;
    overflow: hidden;
}
.ps-app-prod-title a {
    color: #134e4a;
    text-decoration: none;
}
.ps-app-prod-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-teal));
    margin-bottom: 12px;
}
.ps-app-add-btn {
    display: block;
    text-align: center;
    background: var(--ps-teal-light);
    color: var(--ps-primary, var(--ps-teal));
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.ps-app-add-btn:hover {
    background: var(--ps-primary, var(--ps-teal));
    color: #fff;
}

/* 6. DOWRY BANNER */
.ps-app-dowry-box {
    margin: 45px 0;
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
    border-radius: 18px;
    padding: 38px 30px;
    color: #fff;
    text-align: center;
}
.ps-app-dowry-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-app-dowry-content .title {
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
}
.ps-app-dowry-content .desc {
    color: #ccfbf1;
    font-size: 13.5px;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.ps-app-dowry-content .btn-primary {
    background: #fff;
    color: #134e4a;
    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);
}

/* 7. BRANDS */
.ps-app-brands-wrap {
    margin: 35px 0 20px;
    text-align: center;
}
.ps-app-brands-title {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ps-app-brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.ps-app-brand-chip {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 12px;
    color: #334155;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}
.ps-app-brand-chip:hover {
    border-color: var(--ps-primary, var(--ps-teal));
    color: var(--ps-primary, var(--ps-teal));
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ps-app-grid {
        grid-template-columns: 1fr;
    }
    .ps-app-deal-grid {
        grid-template-columns: 1fr;
    }
    .ps-app-deal-item {
        flex-direction: column;
        text-align: center;
    }
}
