/* ==========================================================================
   PersianShop Bakery, Cakes & Confectionery Demo Stylesheet
   Theme: PersianShop
   ========================================================================== */

:root {
    --ps-amber: #d97706;
    --ps-amber-hover: #b45309;
    --ps-amber-light: #fef3c7;
    --ps-cocoa: #78350f;
}

/* 1. HERO */
.ps-bakery-hero {
    margin: 20px 0 35px;
}
.ps-bak-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 20px;
}
.ps-bak-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(217, 119, 6, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ps-bak-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.2);
}
.ps-bak-main {
    min-height: 440px;
    background: linear-gradient(rgba(50, 20, 5, 0.4), rgba(50, 20, 5, 0.8)), url('../images/demo-media/hero-bakery-main.jpg') center/cover no-repeat;
}
.ps-bak-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ps-bak-sub {
    min-height: 210px;
    flex: 1;
}
.ps-bak-baklava {
    background: linear-gradient(rgba(45, 15, 3, 0.45), rgba(45, 15, 3, 0.8)), url('../images/demo-media/hero-bakery-side1.jpg') center/cover no-repeat;
}
.ps-bak-pastry {
    background: linear-gradient(rgba(60, 10, 30, 0.45), rgba(60, 10, 30, 0.8)), url('../images/demo-media/hero-bakery-side2.jpg') center/cover no-repeat;
}
.ps-bak-overlay {
    padding: 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}
.ps-bak-badge {
    align-self: flex-start;
    background: #fff;
    color: var(--ps-primary, var(--ps-amber));
    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-bak-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-bak-kicker {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.85;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.ps-bak-title {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.ps-bak-sub-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px 0;
}
.ps-bak-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}
.ps-bak-sub-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    margin: 0 0 12px 0;
}
.ps-bak-btn {
    display: inline-block;
    background: #fff;
    color: var(--ps-primary, var(--ps-amber));
    font-weight: 800;
    font-size: 13.5px;
    padding: 10px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    align-self: flex-start;
}
.ps-bak-link {
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* 2. SERVICES */
.ps-bak-services-wrap {
    margin: 30px 0;
}
.ps-bak-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.ps-bak-service-card {
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}
.ps-bak-service-card:hover {
    border-color: var(--ps-primary, var(--ps-amber));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.1);
}
.ps-bak-s-icon {
    color: var(--ps-primary, var(--ps-amber));
    background: var(--ps-amber-light);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ps-bak-s-title {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #78350f;
    margin-bottom: 3px;
}
.ps-bak-s-desc {
    display: block;
    font-size: 11.5px;
    color: #92400e;
    line-height: 1.5;
}

/* 3. DEALS */
.ps-bak-deal-box {
    margin: 35px 0;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 18px;
    padding: 28px;
}
.ps-bak-deal-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: center;
}
.ps-bak-deal-badge {
    background: var(--ps-primary, var(--ps-amber));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.ps-bak-deal-title {
    font-size: 22px;
    font-weight: 800;
    color: #78350f;
    margin: 0 0 8px 0;
}
.ps-bak-deal-sub {
    font-size: 13px;
    color: #92400e;
    margin: 0 0 20px 0;
}
.ps-bak-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ps-bak-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-bak-cd-unit .num {
    font-size: 18px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-amber));
    display: block;
}
.ps-bak-cd-unit .lbl {
    font-size: 10px;
    color: #92400e;
}
.ps-bak-countdown .sep {
    font-weight: 800;
    color: #b45309;
    font-size: 18px;
}
.ps-bak-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-bak-deal-img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fffbeb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-bak-deal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ps-bak-deal-placeholder {
    font-size: 50px;
}
.ps-bak-deal-tag {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    display: block;
    margin-bottom: 6px;
}
.ps-bak-deal-name {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}
.ps-bak-deal-name a {
    color: #78350f;
    text-decoration: none;
}
.ps-bak-deal-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-amber));
    margin-bottom: 14px;
}
.ps-bak-deal-stock {
    margin-bottom: 16px;
}
.ps-bak-stock-label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #92400e;
    margin-bottom: 6px;
}
.ps-bak-stock-bar {
    height: 8px;
    background: #fef3c7;
    border-radius: 10px;
    overflow: hidden;
}
.ps-bak-stock-bar .fill {
    height: 100%;
    background: var(--ps-primary, var(--ps-amber));
    border-radius: 10px;
}
.ps-bak-deal-btn {
    background: var(--ps-primary, var(--ps-amber)) !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-bak-cats-wrap {
    margin: 40px 0;
}
.ps-bak-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.ps-bak-head-title {
    font-size: 19px;
    font-weight: 800;
    color: #78350f;
    margin: 0;
    position: relative;
    padding-right: 14px;
}
.ps-bak-head-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--ps-primary, var(--ps-amber));
    border-radius: 4px;
}
.ps-bak-head-link {
    color: var(--ps-primary, var(--ps-amber));
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}
.ps-bak-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.ps-bak-cat-item {
    background: #fff;
    border: 1px solid #fde68a;
    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-bak-cat-item:hover {
    border-color: var(--ps-primary, var(--ps-amber));
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12);
}
.ps-bak-cat-icon {
    font-size: 36px;
    margin-bottom: 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ps-amber-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-bak-cat-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 2px solid #fde68a;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: #fff;
}
.ps-bak-cat-item:hover .ps-bak-cat-thumb {
    transform: scale(1.08);
    border-color: var(--ps-primary, var(--ps-amber));
}
.ps-bak-cat-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #78350f;
}

/* 5. TABS & PRODUCTS */
.ps-bak-tabs-wrap {
    margin: 45px 0;
}
.ps-bak-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 2px solid #fde68a;
    padding-bottom: 14px;
    flex-wrap: wrap;
    gap: 14px;
}
.ps-bak-tabs-title-box .kicker {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ps-primary, var(--ps-amber));
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}
.ps-bak-tabs-title-box .title {
    font-size: 20px;
    font-weight: 800;
    color: #78350f;
    margin: 0;
}
.ps-bak-tabs-nav {
    display: flex;
    gap: 8px;
}
.ps-bak-tab-btn {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ps-bak-tab-btn.is-active,
.ps-bak-tab-btn:hover {
    background: var(--ps-primary, var(--ps-amber));
    color: #fff;
}
.ps-bak-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.ps-bak-prod-card {
    background: #fff;
    border: 1px solid #fef3c7;
    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-bak-prod-card:hover {
    border-color: #fcd34d;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.1);
}
.ps-bak-prod-thumb {
    position: relative;
    height: 190px;
    background: #fffbeb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ps-bak-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    box-sizing: border-box;
}
.ps-bak-p-placeholder {
    font-size: 48px;
}
.ps-bak-prod-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: var(--ps-primary, var(--ps-amber));
    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-bak-prod-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.ps-bak-prod-title {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    height: 38px;
    overflow: hidden;
}
.ps-bak-prod-title a {
    color: #78350f;
    text-decoration: none;
}
.ps-bak-prod-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ps-primary, var(--ps-amber));
    margin-bottom: 12px;
}
.ps-bak-add-btn {
    display: block;
    text-align: center;
    background: var(--ps-amber-light);
    color: var(--ps-primary, var(--ps-amber));
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.ps-bak-add-btn:hover {
    background: var(--ps-primary, var(--ps-amber));
    color: #fff;
}

/* 6. CUSTOM CAKE CTA */
.ps-bak-cta-box {
    margin: 45px 0;
    background: linear-gradient(135deg, #78350f 0%, #b45309 100%);
    border-radius: 18px;
    padding: 38px 30px;
    color: #fff;
    text-align: center;
}
.ps-bak-cta-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-bak-cta-content .title {
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
}
.ps-bak-cta-content .desc {
    color: #fed7aa;
    font-size: 13.5px;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.ps-bak-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ps-bak-cta-actions .btn-primary {
    background: #fff;
    color: #78350f;
    font-weight: 800;
    font-size: 13.5px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.ps-bak-cta-actions .hotline {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

/* 7. REVIEWS */
.ps-bak-reviews-wrap {
    margin: 40px 0 20px;
}
.ps-bak-reviews-title {
    font-size: 19px;
    font-weight: 800;
    color: #78350f;
    text-align: center;
    margin: 0 0 24px 0;
}
.ps-bak-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.ps-bak-review-card {
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.ps-bak-review-card .stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 10px;
}
.ps-bak-review-card .text {
    font-size: 12.5px;
    color: #451a03;
    line-height: 1.6;
    margin: 0 0 14px 0;
}
.ps-bak-review-card .author {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
}
.ps-bak-review-card .author strong {
    color: #78350f;
}
.ps-bak-review-card .author .verified {
    color: #059669;
    font-weight: 700;
}

@media (max-width: 768px) {
    .ps-bak-grid {
        grid-template-columns: 1fr;
    }
    .ps-bak-deal-grid {
        grid-template-columns: 1fr;
    }
    .ps-bak-deal-item {
        flex-direction: column;
        text-align: center;
    }
}
