/* ═══════════════════════════════════════════
   ZAFFER SYSTEM — PRODUCT PAGE STYLES
   ═══════════════════════════════════════════ */

/* ─── Light Navbar Override for Product Pages ─── */
.z-navbar .navbar-brand {
    color: #1e293b !important;
}

.z-navbar .nav-link {
    color: #475569 !important;
}

.z-navbar .nav-link:hover,
.z-navbar .nav-link.active {
    color: #6366f1 !important;
}

/* ─── Light Hero Button Override ─── */
.z-product-hero .z-btn-outline {
    color: #475569 !important;
    border-color: #cbd5e1 !important;
}

.z-product-hero .z-btn-outline:hover {
    color: #6366f1 !important;
    border-color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.05) !important;
}



/* ─── Product Hero ─── */
.z-product-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
    color: #1e293b;
}

.z-product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.z-product-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.z-product-hero .container {
    position: relative;
    z-index: 2;
}

.z-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 20px;
}

.z-product-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
}

.z-product-hero h1 .gradient-text {
    background: linear-gradient(135deg, #4f46e5, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.z-product-hero-desc {
    font-size: 16px;
    line-height: 1.9;
    color: #64748b;
    margin-bottom: 24px;
    max-width: 600px;
}

.z-product-price-hero {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.z-product-price-hero .currency {
    font-size: 20px;
    font-weight: 600;
    color: #34d399;
}

.z-product-price-hero .amount {
    font-size: 42px;
    font-weight: 900;
    color: #1e293b;
}

.z-product-price-hero .label {
    font-size: 14px;
    color: #94a3b8;
    margin-right: 8px;
}

.z-product-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.z-product-hero-btns .z-cta-btn {
    padding: 14px 32px;
    font-size: 16px;
}

.z-product-hero-cover {
    display: none;
}

/* ─── Breadcrumb ─── */
.z-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.z-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.z-breadcrumb a:hover {
    color: #6366f1;
}

.z-breadcrumb .sep {
    color: #cbd5e1;
}

.z-breadcrumb .current {
    color: #475569;
    font-weight: 600;
}

/* ─── Product Info Cards ─── */
.z-product-info-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.z-info-chip {
    background: var(--z-card, #fff);
    border: 1px solid var(--z-border, #e5e7eb);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.z-info-chip:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.z-info-chip-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.z-info-chip h6 {
    font-size: 12px;
    color: var(--z-text3, #9ca3af);
    margin: 0 0 2px;
    font-weight: 500;
}

.z-info-chip p {
    font-size: 15px;
    font-weight: 700;
    color: var(--z-heading, #1e293b);
    margin: 0;
}

/* ─── Product Features Section ─── */
.z-product-features {
    padding: 80px 0;
}

/* ─── Features Total Badge ─── */
.z-features-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(16,185,129,0.08));
    border: 1px solid rgba(99,102,241,0.18);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 40px;
    animation: z-badge-pulse 3s ease-in-out infinite;
}
@keyframes z-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.15); }
    50% { box-shadow: 0 0 0 12px rgba(99,102,241,0); }
}
.z-features-total-badge .z-feat-count {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    padding: 3px 14px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
}

/* ─── Features 3-Column Grid (v3 style) ─── */
.z-feat-grid-container {
    text-align: right;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 10px;
}
@media (max-width: 1200px) {
    .z-feat-grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .z-feat-grid-container { grid-template-columns: 1fr; }
}

.z-feat-grid-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--z-text1, #1e293b);
    margin-bottom: 24px;
    text-align: center;
    grid-column: 1 / -1;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(99,102,241,0.1);
}
.z-feat-grid-title i {
    color: #6366f1;
    margin-left: 8px;
}

/* ─── Category Block ─── */
.z-feat-block {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(24px);
    animation: z-feat-reveal 0.6s ease forwards;
}
@keyframes z-feat-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.z-feat-block-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 7px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.z-feat-block:hover .z-feat-block-title {
    padding-right: 6px;
}
.z-feat-block-title i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}
.z-feat-block:hover .z-feat-block-title i {
    transform: scale(1.2);
}

/* ─── Feature Items ─── */
.z-feat-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.z-feat-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--z-text2, #64748b);
    line-height: 1.6;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: default;
}
.z-feat-item:hover {
    background: rgba(16,185,129,0.06);
    color: var(--z-text1, #374151);
    padding-right: 10px;
}
.z-feat-item i {
    color: #10b981;
    font-size: 10px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.z-feat-item:hover i {
    transform: scale(1.3);
}

/* ─── Old category card styles kept for backward compat ─── */
.z-feat-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 992px) {
    .z-feat-categories { grid-template-columns: 1fr; }
}

.z-feat-category {
    background: var(--z-card, #fff);
    border: 1px solid var(--z-border, #e5e7eb);
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.z-feat-category:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.z-feat-cat-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--z-border, #e5e7eb);
    position: relative;
    overflow: hidden;
}

.z-feat-cat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.z-feat-cat-info { flex: 1; }
.z-feat-cat-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--z-heading, #1e293b);
    margin: 0 0 2px;
}
.z-feat-cat-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--z-text3, #9ca3af);
    display: flex;
    align-items: center;
    gap: 4px;
}
.z-feat-cat-count .z-cat-num {
    background: rgba(99,102,241,0.1);
    color: #6366f1;
    padding: 1px 8px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
}

.z-feat-cat-body { padding: 16px 20px 20px; }

.z-feat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.z-feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 8px;
    font-size: 13.5px;
    color: var(--z-heading, #374151);
    line-height: 1.5;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s;
}
.z-feat-list li:last-child { border-bottom: none; }
.z-feat-list li:hover { background: rgba(99,102,241,0.03); border-radius: 8px; }

.z-feat-list li i {
    color: #10b981;
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Old card styles kept for backward compat */
.z-product-feat-card {
    background: var(--z-card, #fff);
    border: 1px solid var(--z-border, #e5e7eb);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.z-product-feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.z-product-feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 16px;
}

.z-product-feat-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--z-heading, #1e293b);
    margin-bottom: 8px;
}

.z-product-feat-card p {
    font-size: 14px;
    color: var(--z-text3, #9ca3af);
    line-height: 1.7;
    margin: 0;
}

/* ─── Screenshot Gallery ─── */
.z-gallery-section {
    padding: 80px 0;
    background: var(--z-section-alt, #f8fafc);
}

.z-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.z-gallery-item {
    background: var(--z-card, #fff);
    border: 1px solid var(--z-border, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.z-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

.z-gallery-item:hover .z-gallery-img-wrap img {
    transform: scale(1.05);
}

.z-gallery-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f1f5f9;
}

.z-gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.z-gallery-img-wrap .z-gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s;
    z-index: 2;
}

.z-gallery-item:hover .z-gallery-zoom {
    transform: translate(-50%, -50%) scale(1);
}

.z-gallery-caption {
    padding: 16px 20px;
}

.z-gallery-caption h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--z-heading, #1e293b);
    margin-bottom: 6px;
}

.z-gallery-caption p {
    font-size: 13px;
    color: var(--z-text3, #9ca3af);
    line-height: 1.7;
    margin: 0;
}

.z-gallery-caption .z-gallery-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 8px;
}

/* ─── Lightbox ─── */
.z-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.z-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.z-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.z-lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.z-lightbox-caption {
    text-align: center;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    max-width: 600px;
}

.z-lightbox-caption h5 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.z-lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.z-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.z-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.z-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.z-lightbox-prev {
    right: 20px;
}

.z-lightbox-next {
    left: 20px;
}

.z-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

/* ─── Product Pricing Section ─── */
.z-product-pricing {
    padding: 80px 0;
}

.z-product-price-card {
    background: var(--z-card, #fff);
    border: 2px solid var(--z-border, #e5e7eb);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.z-product-price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.z-product-price-card .price-amount {
    font-size: 64px;
    font-weight: 900;
    color: var(--z-heading, #1e293b);
}

.z-product-price-card .price-currency {
    font-size: 28px;
    font-weight: 700;
    color: #6366f1;
    vertical-align: top;
}

.z-product-price-card .price-label {
    font-size: 16px;
    color: var(--z-text3, #9ca3af);
    margin-top: 4px;
}

.z-product-guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 30px;
    text-align: right;
}

.z-guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
}

.z-guarantee-item i {
    font-size: 18px;
    color: #10b981;
    flex-shrink: 0;
}

.z-guarantee-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--z-heading, #1e293b);
}

/* ─── 3-Tier Pricing Grid ─── */
.z-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 32px;
}

@media (max-width: 992px) {
    .z-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.z-tier-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s;
}

.z-tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99,102,241,0.13);
}

.z-tier-card.z-tier--popular {
    border-color: #6366f1;
    box-shadow: 0 8px 40px rgba(99,102,241,0.18);
    transform: scale(1.04);
    z-index: 2;
}

.z-tier-card.z-tier--popular:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 24px 60px rgba(99,102,241,0.22);
}

.z-tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    padding: 5px 22px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: .3px;
}

.z-tier-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 16px;
}

.z-tier-card h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #1e293b;
}

.z-tier-card .z-tier-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 18px;
    line-height: 1.5;
}

.z-tier-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.z-tier-price-row .z-tier-currency {
    font-size: 22px;
    font-weight: 700;
    color: #6366f1;
}

.z-tier-price-row .z-tier-amount {
    font-size: 48px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
}

.z-tier-price-label {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 22px;
}

.z-tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: right;
    flex: 1;
}

.z-tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.55;
    border-bottom: 1px solid #f3f4f6;
}

.z-tier-features li:last-child {
    border-bottom: none;
}

.z-tier-features li i {
    color: #10b981;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.z-tier-features li i.fa-times-circle {
    color: #d1d5db;
}

.z-tier-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.z-tier-btn--outline {
    background: transparent;
    border: 2px solid #6366f1;
    color: #6366f1;
}

.z-tier-btn--outline:hover {
    background: rgba(99,102,241,0.08);
}

.z-tier-btn--primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

.z-tier-btn--primary:hover {
    box-shadow: 0 8px 28px rgba(99,102,241,0.4);
    transform: translateY(-2px);
    color: #fff;
}

.z-tier-btn--green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}

.z-tier-btn--green:hover {
    box-shadow: 0 8px 28px rgba(16,185,129,0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* Guarantees strip below tiers */
.z-guarantees-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    padding: 28px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.z-guarantees-strip .z-guarantee-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    padding: 8px 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.z-guarantees-strip .z-guarantee-chip i {
    color: #10b981;
    font-size: 15px;
}

/* ─── Booking Modal ─── */
.z-booking-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.z-booking-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.z-booking-modal {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    max-width: 480px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    position: relative;
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.z-booking-modal h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #1e293b;
}

.z-booking-modal .z-modal-sub {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 24px;
}

.z-booking-modal .z-close-modal {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background 0.2s;
}

.z-booking-modal .z-close-modal:hover {
    background: #e5e7eb;
}

.z-booking-modal .z-form-group {
    margin-bottom: 16px;
}

.z-booking-modal label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.z-booking-modal input,
.z-booking-modal select,
.z-booking-modal textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: border-color 0.2s;
    direction: rtl;
    background: #fafafa;
}

.z-booking-modal input:focus,
.z-booking-modal select:focus,
.z-booking-modal textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
}

.z-booking-modal .z-selected-tier {
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(99,102,241,0.02));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.z-booking-modal .z-selected-tier .z-sel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.z-booking-modal .z-selected-tier .z-sel-info h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    color: #1e293b;
}

.z-booking-modal .z-selected-tier .z-sel-info span {
    font-size: 13px;
    color: #6366f1;
    font-weight: 700;
}

.z-booking-modal .z-submit-booking {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 8px;
}

.z-booking-modal .z-submit-booking:hover {
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    transform: translateY(-2px);
}

/* ─── Tech Specs ─── */
.z-tech-specs {
    padding: 60px 0;
    background: var(--z-section-alt, #f8fafc);
}

.z-spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.z-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--z-card, #fff);
    border: 1px solid var(--z-border, #e5e7eb);
    border-radius: 12px;
}

.z-spec-item i {
    font-size: 20px;
    color: #6366f1;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.z-spec-item .spec-label {
    font-size: 13px;
    color: var(--z-text3, #9ca3af);
}

.z-spec-item .spec-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--z-heading, #1e293b);
}

/* ─── Products Grid on Main Page ─── */
.z-products-section {
    padding: 80px 0;
}

.z-product-card {
    background: var(--z-card, #fff);
    border: 1px solid var(--z-border, #e5e7eb);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.z-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.z-product-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f1f5f9;
}

.z-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.z-product-card:hover .z-product-card-img img {
    transform: scale(1.08);
}

.z-product-card-img .z-product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.z-product-card:hover .z-product-card-overlay {
    opacity: 1;
}

.z-product-card-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.z-product-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.z-product-card-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--z-heading, #1e293b);
    margin-bottom: 8px;
}

.z-product-card-body .z-product-desc {
    font-size: 14px;
    color: var(--z-text3, #9ca3af);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.z-product-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.z-product-card-price .currency {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

.z-product-card-price .amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--z-heading, #1e293b);
}

.z-product-card-price .once {
    font-size: 13px;
    color: var(--z-text3, #9ca3af);
    margin-right: 4px;
}

.z-product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.z-product-card-tags span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
}

.z-product-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.z-product-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: #fff;
}

/* ─── Back to Products ─── */
.z-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--z-text3, #9ca3af);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 20px 0;
    transition: color 0.3s;
}

.z-back-link:hover {
    color: #6366f1;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .z-product-hero {
        padding: 120px 0 60px;
    }

    .z-gallery-grid {
        grid-template-columns: 1fr;
    }

    .z-product-info-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -30px;
    }

    .z-product-price-card {
        padding: 30px 20px;
    }

    .z-product-price-card .price-amount {
        font-size: 48px;
    }

    .z-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .z-lightbox-prev {
        right: 10px;
    }

    .z-lightbox-next {
        left: 10px;
    }
}

@media (max-width: 576px) {
    .z-product-info-strip {
        grid-template-columns: 1fr;
    }

    .z-product-guarantees {
        grid-template-columns: 1fr;
    }

    .z-gallery-grid {
        grid-template-columns: 1fr;
    }
}
