/* ==========================================================================
   PersianShop Pet Shop & Pet Supplies Demo Stylesheet
   Theme: PersianShop
   ========================================================================== */

:root {
    --ps-orange-pet: #f97316;
    --ps-orange-pet-hover: #ea580c;
    --ps-orange-pet-light: #ffedd5;
    --ps-pet-dark: #0f172a;
}

/* 1. HERO */
.ps-pet-hero-wrap {
    margin: 20px 0 35px;
}
.ps-pet-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 20px;
}
.ps-pet-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(249, 115, 22, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ps-pet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.22);
}
.ps-pet-main {
    min-height: 440px;
    background: linear-gradient(rgba(45, 20, 10, 0.45), rgba(45, 20, 10, 0.85)), url('../images/demo-media/hero-petshop-main.jpg') center/cover no-repeat;
}
.ps-pet-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ps-pet-sub {
    min-height: 210px;
    flex: 1;
}
.ps-pet-cat {
    background: linear-gradient(rgba(10, 45, 35, 0.45), rgba(10, 45, 35, 0.85)), url('../images/demo-media/hero-petshop-side1.jpg') center/cover no-repeat;
}
.ps-pet-dog {
    background: linear-gradient(rgba(20, 15, 55, 0.45), rgba(20, 15, 55, 0.85)), url('../images/demo-media/hero-petshop-side2.jpg') center/cover no-repeat;
}
.ps-pet-overlay {
    padding: 34px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}
.ps-pet-badge {
    align-self: flex-start;
    background: #fff;
    color: var(--ps-primary, var(--ps-orange-pet));
    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-pet-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-pet-kicker {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.85;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.ps-pet-title {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.ps-pet-sub-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px 0;
}
.ps-pet-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}
.ps-pet-sub-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    margin: 0 0 12px 0;
}
.ps-pet-btn {
    display: inline-block;
    background: #fff;
    color: var(--ps-primary, var(--ps-orange-pet)) !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-pet-link {
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* 2. SERVICES */
.ps-pet-services-wrap {
    margin: 30px 0;
}
.ps-pet-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.ps-pet-service-card {
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}
.ps-pet-service-card:hover {
    border-color: var(--ps-primary, var(--ps-orange-pet));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.1);
}
.ps-pet-s-icon {
    color: var(--ps-primary, var(--ps-orange-pet));
    background: var(--ps-orange-pet-light);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ps-pet-s-title {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #7c2d12;
    margin-bottom: 3px;
}
.ps-pet-s-desc {
    display: block;
    font-size: 11.5px;
    color: #9a3412;
    line-height: 1.5;
}

/* 3. DEALS */
.ps-pet-deal-box {
    margin: 35px 0;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1.5px solid #fdba74;
    border-radius: 18px;
    padding: 28px;
}
.ps-pet-deal-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: center;
}
.ps-pet-deal-badge {
    background: var(--ps-primary, var(--ps-orange-pet));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.ps-pet-deal-title {
    font-size: 22px;
    font-weight: 800;
    color: #7c2d12;
    margin: 0 0 8px 0;
}
.ps-pet-deal-sub {
    font-size: 13px;
    color: #9a3412;
    margin: 0 0 20px 0;
}
.ps-pet-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ps-pet-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-pet-cd-unit .num {
    font-size: 18px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-orange-pet));
    display: block;
}
.ps-pet-cd-unit .lbl {
    font-size: 10px;
    color: #9a3412;
}
.ps-pet-countdown .sep {
    font-weight: 800;
    color: #ea580c;
    font-size: 18px;
}
.ps-pet-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-pet-deal-img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-pet-deal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ps-pet-deal-placeholder {
    font-size: 50px;
}
.ps-pet-deal-tag {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    display: block;
    margin-bottom: 6px;
}
.ps-pet-deal-name {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}
.ps-pet-deal-name a {
    color: #7c2d12;
    text-decoration: none;
}
.ps-pet-deal-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-orange-pet));
    margin-bottom: 14px;
}
.ps-pet-deal-stock {
    margin-bottom: 16px;
}
.ps-pet-stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #9a3412;
    margin-bottom: 6px;
}
.ps-pet-stock-bar {
    height: 8px;
    background: #fed7aa;
    border-radius: 10px;
    overflow: hidden;
}
.ps-pet-stock-bar .fill {
    height: 100%;
    background: var(--ps-primary, var(--ps-orange-pet));
    border-radius: 10px;
}
.ps-pet-deal-btn {
    background: var(--ps-primary, var(--ps-orange-pet)) !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-pet-cats-wrap {
    margin: 40px 0;
}
.ps-pet-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.ps-pet-head-title {
    font-size: 19px;
    font-weight: 800;
    color: #7c2d12;
    margin: 0;
    position: relative;
    padding-right: 14px;
}
.ps-pet-head-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--ps-primary, var(--ps-orange-pet));
    border-radius: 4px;
}
.ps-pet-head-link {
    color: var(--ps-primary, var(--ps-orange-pet));
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.ps-pet-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.ps-pet-cat-item {
    background: #fff;
    border: 1px solid #fed7aa;
    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-pet-cat-item:hover {
    border-color: var(--ps-primary, var(--ps-orange-pet));
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.12);
}
.ps-pet-cat-icon {
    font-size: 34px;
    margin-bottom: 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ps-orange-pet-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-pet-cat-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 2px solid #fed7aa;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: #fff;
}
.ps-pet-cat-item:hover .ps-pet-cat-thumb {
    transform: scale(1.08);
    border-color: var(--ps-primary, var(--ps-orange-pet));
}
.ps-pet-cat-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #7c2d12;
}

/* 5. TABS & PRODUCTS */
.ps-pet-tabs-wrap {
    margin: 45px 0;
}
.ps-pet-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 2px solid #fed7aa;
    padding-bottom: 14px;
    flex-wrap: wrap;
    gap: 14px;
}
.ps-pet-tabs-title-box .kicker {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ps-primary, var(--ps-orange-pet));
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}
.ps-pet-tabs-title-box .title {
    font-size: 20px;
    font-weight: 800;
    color: #7c2d12;
    margin: 0;
}
.ps-pet-tabs-nav {
    display: flex;
    gap: 8px;
}
.ps-pet-tab-btn {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700;
    color: #9a3412;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ps-pet-tab-btn.is-active,
.ps-pet-tab-btn:hover {
    background: var(--ps-primary, var(--ps-orange-pet));
    color: #fff;
}
.ps-pet-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.ps-pet-prod-card {
    background: #fff;
    border: 1px solid #fed7aa;
    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-pet-prod-card:hover {
    border-color: #fdba74;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.1);
}
.ps-pet-prod-thumb {
    position: relative;
    height: 190px;
    background: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ps-pet-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    box-sizing: border-box;
}
.ps-pet-p-placeholder {
    font-size: 48px;
}
.ps-pet-prod-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: var(--ps-primary, var(--ps-orange-pet));
    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-pet-prod-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.ps-pet-prod-title {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    height: 38px;
    overflow: hidden;
}
.ps-pet-prod-title a {
    color: #7c2d12;
    text-decoration: none;
}
.ps-pet-prod-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-orange-pet));
    margin-bottom: 12px;
}
.ps-pet-add-btn {
    display: block;
    text-align: center;
    background: var(--ps-orange-pet-light);
    color: var(--ps-primary, var(--ps-orange-pet));
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.ps-pet-add-btn:hover {
    background: var(--ps-primary, var(--ps-orange-pet));
    color: #fff;
}

/* 6. VET BANNER */
.ps-pet-vet-box {
    margin: 45px 0;
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%);
    border-radius: 18px;
    padding: 38px 30px;
    color: #fff;
    text-align: center;
}
.ps-pet-vet-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-pet-vet-content .title {
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
}
.ps-pet-vet-content .desc {
    color: #ffedd5;
    font-size: 13.5px;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.ps-pet-vet-content .btn {
    background: #fff;
    color: #7c2d12;
    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-pet-brands-wrap {
    margin: 35px 0 20px;
    text-align: center;
}
.ps-pet-brands-title {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ps-pet-brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.ps-pet-brand-chip {
    background: #fff;
    border: 1px solid #fed7aa;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 12px;
    color: #7c2d12;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}
.ps-pet-brand-chip:hover {
    border-color: var(--ps-primary, var(--ps-orange-pet));
    color: var(--ps-primary, var(--ps-orange-pet));
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ps-pet-grid {
        grid-template-columns: 1fr;
    }
    .ps-pet-deal-grid {
        grid-template-columns: 1fr;
    }
    .ps-pet-deal-item {
        flex-direction: column;
        text-align: center;
    }
}
