.content {
    padding: 3%;
    margin-top: 80px;

}

body {
    font-family: 'Poppins', sans-serif;

    color: var(--text-dark);
    margin: 0;

    min-width: 0 !important;



}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s all ease;

}


.main-footer {
    background: #0A1D37;
    color: #fff;
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo h2 {
    font-weight: 900;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #0066FF;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0066FF;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #0066FF;
    padding-left: 5px;
}

.container {
    max-width: 1250px;
    margin: 0 10px;
    padding: 0 25px;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-centered h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0A1D37;
    margin-bottom: 10px;
}

.section-header-centered h2 span {
    color: #0066FF;
}

.master-hero {
    min-height: clamp(280px, 32vw, 400px);
    background-position: center;
    background-size: cover;
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    box-sizing: border-box;
}

.hero-text-block {
    flex: 1;
}

.hero-text-block h1 {
    font-size: 40px;
    font-weight: 900;
    color: #00B0F0;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-text-block h3 {
    color: #0A2E5B;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}


.hero-image-block {
    flex: 1;
    text-align: right;
}

.hero-image-block img {
    max-width: 100%;
    height: auto;

    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.1));
    animation: float 4s ease-in-out infinite;

}


@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}



.category-grid-smart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}


.cat-card-smart {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #eee;
    transition: 0.3s all ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.cat-card-smart:hover {
    transform: translateY(-10px);
    border-color: #0066FF;
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.1);
}

.cat-icon-frame {
    width: 70px;
    height: 70px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0066FF;
    font-size: 24px;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    border-color: #0066FF;
}

/* Product offer badges */
.product-offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.product-offer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* Installment offer */
.installment-badge {
    background: #e6f7ed;
    color: #187443;
    border: 1px solid #b7e4c7;
}

/* Discount offer */
.discount-badge {
    background: #fff0f0;
    color: #c62828;
    border: 1px solid #ffcaca;
}


.products-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card-premium {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    transition: 0.4s;
}

.product-img-wrapper {
    height: 250px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info-wrapper {
    padding: 25px;
}

.stock-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: #e6f9f0;
    color: #00b067;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.price-display {
    font-size: 26px;
    font-weight: 900;
    color: #0A1D37;

    margin: 15px 0;
}

.btn-book {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: bold;
    width: fit-content;
    justify-self: flex-end;
    font-size: 14px;
    transition: 0.3s;
}

.btn-book:hover {
    background: linear-gradient(90deg, #246ebd, #0787aa);
    color: #eee;
    transform: translateY(-2px);

}

.btn-book button {
    background: transparent;
    border: none;
    font-size: larger;
    font-family: sans-serif;
    color: hsla(0, 0%, 100%, 0.897);
    font-weight: bold;
}

.btn-book-no-types {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: bold;
    width: fit-content;
    justify-self: center;
    font-size: 14px;
    transition: 0.3s;
}

.btn-book-no-types:hover {
    background: linear-gradient(90deg, #246ebd, #0787aa);
    color: #eee;
    transform: translateY(-2px);

}

.btn-book-no-types button {
    background: transparent;
    border: none;
    font-size: larger;
    font-family: sans-serif;
    color: hsla(0, 0%, 100%, 0.897);
    font-weight: bold;
}

#serviceModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
}

#serviceModal {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 450px;
    border: none !important;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 !important;
    overflow: hidden;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#modalTitle {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    color: white;
    margin: 0;
    padding: 20px;
    text-align: center;
    font-size: 1.4rem;
}

#serviceModal form {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#serviceModal label {
    font-weight: 600;
    color: #333;
    margin-bottom: -5px;
    font-size: 14px;
}

#serviceModal input[type="text"],
#serviceModal select,
#serviceModal textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

#serviceModal input:focus,
#serviceModal select:focus,
#serviceModal textarea:focus {
    border-color: #007bff;
}

#serviceModal button[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    margin-top: 10px;
}

#serviceModal button[type="submit"]:hover {
    background-color: #0056b3;
}

#serviceModal button[type="button"] {
    background: transparent;
    color: #666;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

#serviceModal button[type="button"]:hover {
    color: #333;
}

.about-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
.about-header {
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 50px 20px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.about-logo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.about-header h1 {
    color: #00B0F0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}


/* Mission & Vision Boxes */
.about-mission-vision {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.info-box {
    flex: 1;
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 5px solid #00B0F0;
}

.info-box:hover {
    transform: translateY(-10px);
}

.info-box .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-box h3 {
    color: #00B0F0;
    margin-bottom: 15px;
}

.phones {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
}

/* Contact Strip */
.contact-strip {
    display: flex;
    justify-content: space-around;
    background: #00B0F0;
    color: white;
    padding: 30px;
    border-radius: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon {
    font-size: 24px;
}

.contact-item .text strong {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

.location-map {
    border: 2px solid #00B0F0;
    padding: 10px;
    background: #fff;
}

.location-map iframe {
    border-radius: 10px;
    filter: grayscale(10%) contrast(1.1);
}

.team-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}



.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding: 0 10%;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    width: 280px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
    font-size: 1.25rem;
    color: #0A2E5B;
}

.team-info span {
    color: #00B0F0;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}


.products-page-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 5%;
    background-color: #f9fbfd;
    /* خلفية هادئة تبرز الكروت */
    font-family: 'Segoe UI', Roboto, sans-serif;
}


.products-sidebar {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}


.products-sidebar h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.products-sidebar h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #007bff;
}

.search-box {
    margin-bottom: 35px;
}

.input-group {
    display: flex;
    background: #f1f3f5;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.input-group input {
    border: none;
    background: transparent;
    padding: 10px 15px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.input-group button {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    cursor: pointer;
    transition: background 0.3s;
}

.input-group button:hover {
    background: #0056b3;
}


select[name="sort"] {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: #555;
    cursor: pointer;
    outline: none;
    font-size: 14px;
}


.categories-list ul {
    list-style: none;
    padding: 0;
}

.categories-list li {
    margin-bottom: 8px;
}

.categories-list a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.categories-list a:hover {
    background-color: #f0f7ff;
    color: #007bff;
    padding-left: 20px;

}

.categories-list a i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    /* لضمان محاذاة النص مهما اختلف شكل الأيقونة */
    text-align: center;
    transition: transform 0.3s ease;
}

.categories-list a:hover i {
    transform: rotate(15deg) scale(1.2);
    /* حركة بسيطة للأيقونة عند الوقوف عليها */
    color: #00B0F0;
    /* تحول لون الأيقونة للأخضر الحيوي */
}

.categories-list a.active i {
    color: #fff;
    /* الأيقونة تبقى بيضاء لما التصنيف يكون نشط */
}

.categories-list a.active {
    background-color: #00B0F0;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(1, 95, 153, 0.3);
}

/* Products Grid */
.products-main {
    flex: 1;
}

.products-header {
    margin-bottom: 30px;
}

.products-header h1 {
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* Card Style */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 200px;
    background: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.out-of-stock {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.price-tag {
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.stock-status {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.in-stock {
    color: #28a745;
}

.no-stock {
    color: #dc3545;
}

.btn-details {
    display: block;
    background: #00B0F0;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-details:hover {
    background: #0056b3;
}

.product-details-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* Top Section Layout */
.product-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.main-img-container img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.img-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.img-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
}

.img-thumbnails img:hover {
    border-color: #007bff;
}

.product-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 5px;
}

.product-model {
    color: #888;
    margin-bottom: 20px;
}

.product-price {
    font-size: 2.5rem;
    color: #2ecc71;
    font-weight: bold;
    margin-bottom: 25px;
}

.product-price span {
    font-size: 1rem;
    color: #888;
}

.stock-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
}

.stock-badge.available {
    background: #e3fcef;
    color: #22c55e;
}

.stock-badge.out {
    background: #fee2e2;
    color: #ef4444;
}

/* Add to Cart Form */
.cart-form {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.qty-selector input {
    width: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.add-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.add-btn:hover {
    background: #0281af;
    transform: translateY(-2px);
}

/* Tabs System */
.tabs-header {
    border-bottom: 2px solid #eee;
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: #007bff;
    font-weight: bold;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.content-card {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    line-height: 1.8;
    color: #555;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
    font-weight: bold;
    color: #007bff;
    width: 250px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details-actions {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.btn-back:hover {
    color: #007bff;
    transform: translateX(-5px);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.specs-table td i {
    color: #007bff;
    width: 25px;
    margin-right: 10px;
    font-size: 1.1rem;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #444;
    background-color: #fafafa;

    width: 30%;
}

.no-reviews {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.no-reviews i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: #ddd;
}

.orders-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.orders-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 20px;
}

.orders-header h1 {
    color: #333;
    font-size: 1.8rem;
}

.orders-header p {
    color: #888;
    font-size: 0.9rem;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    /* يسمح بالتمرير الأفقي على الشاشات الصغيرة */
    max-height: 500px;
    /* يحدد أقصى ارتفاع للجدول */
    overflow-y: auto;
    /* يظهر سكرول عمودي إذا زادت الصفوف */
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 30px;
}

.orders-table {
    width: 100%;
    /* اجعليه 100% ليملأ الحاوية الخاصة به */
    border-collapse: collapse;
    background-color: #fff;
}

/* لتثبيت رأس الجدول (Header) أثناء السكرول */
.orders-table thead {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1;
    border-bottom: 2px solid #dee2e6;
}

.orders-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    color: #555;
    font-weight: 600;
    border-bottom: 2px solid #eee;
}

.orders-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.order-id {
    font-weight: bold;
    color: #007bff;
}

.order-price {
    font-weight: 600;
    color: #2ecc71;
}

.order-price span {
    font-size: 0.8rem;
    color: #888;
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cfe2ff;
    color: #084298;
}

.status-completed {
    background: #d1e7dd;
    color: #0f5132;
}

.status-cancelled {
    background: #f8d7da;
    color: #842029;
}

/* Buttons */
.action-links {
    display: flex;
    gap: 10px;
}

.btn-view,
.btn-cancel {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-view {
    background: #f0f7ff;
    color: #007bff;
}

.btn-view:hover {
    background: #007bff;
    color: #fff;
}

.btn-cancel {
    background: #fff5f5;
    color: #e74c3c;
}

.btn-cancel:hover {
    background: #e74c3c;
    color: #fff;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background-color: #f8fafc;
    padding: 20px;
}

.success-card {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 500px;
    width: 100%;
}


.success-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.check-wrapper {
    width: 80px;
    height: 80px;
    background: #2ecc71;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

h1 {
    color: #0A2E5B;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #0A2E5B;
    margin-bottom: 30px;
}

.order-summary-box {
    background: #f1f7ff;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed #007bff;
    margin-bottom: 25px;
}

.order-summary-box .label {
    color: #555;
    margin-right: 10px;
}

.order-summary-box .order-number {
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
}

.instruction {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Buttons */
.success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-primary {
    background: #007bff;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.btn-secondary:hover {
    color: #333;
}

.order-details-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.order-id-badge {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 600;
    color: #555;
}

/* Status Colors */
.status-indicator {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-pending {
    color: #f39c12;
}

.status-completed {
    color: #27ae60;
}

.status-cancelled {
    color: #e74c3c;
}

/* Table Styling */
.details-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
}

.items-table th {
    background: #f8f9fa;
    padding: 20px;
    text-align: left;
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.items-table td {
    padding: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.product-name strong {
    color: #333;
    display: block;
    font-size: 1.1rem;
}

.subtotal-cell {
    font-weight: 600;
    color: #333;
}

/* Footer & Totals */
.items-table tfoot td {
    padding: 25px 20px;
}

.total-label {
    text-align: right;
    font-size: 1.2rem;
    color: #888;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #007bff;
}

.details-footer {
    margin-top: 30px;
}

.btn-outline {
    text-decoration: none;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

.cart-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cart-header {
    margin-bottom: 30px;
}

.cart-header h1 {
    color: #333;
    font-size: 1.8rem;
}

.cart-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Table Styling */
.cart-table-wrapper {
    flex: 2;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: #f8f9fa;
    padding: 15px 20px;
    text-align: left;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.pro-name {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.stock-status {
    font-size: 0.75rem;
    font-weight: bold;
}

.stock-status.in {
    color: #2ecc71;
}

.stock-status.out {
    color: #e74c3c;
}

.price-cell,
.total-cell {
    font-weight: 600;
    color: #333;
}

.price-cell span,
.total-cell span {
    font-size: 0.8rem;
    color: #999;
}

/* Update Form */
.update-form {
    display: flex;
    gap: 5px;
    align-items: center;
}

.update-form input {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.update-form button {
    background: #f0f7ff;
    border: none;
    color: #007bff;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.update-form button:hover {
    background: #007bff;
    color: white;
}

.remove-btn {
    color: #e74c3c;
    font-size: 1.1rem;
    transition: 0.3s;
}

.remove-btn:hover {
    color: #c0392b;
    transform: scale(1.1);
}

/* Summary Card */
.cart-summary-card {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.cart-summary-card h3 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
}

.summary-row.total {
    color: #333;
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 15px;
}

.grand-amount {
    color: #2ecc71;
}

.btn-checkout {
    display: block;
    background: #007bff;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 25px;
    transition: 0.3s;
}

.btn-checkout:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-continue {
    text-decoration: none;
    color: #888;
    font-size: 0.9rem;
    padding: 20px;
    display: inline-block;
    transition: 0.3s;
}

.btn-continue:hover {
    color: #007bff;
}

.checkout-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-header {
    margin-bottom: 30px;
    text-align: center;
}

.checkout-header h1 {
    color: #333;
    margin-bottom: 10px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* Cards Styling */
.info-card,
.shipping-card,
.summary-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

h3 {
    color: #00B0F0;
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Form Styles */
.user-details p {
    margin-bottom: 10px;
    color: #555;
}

.input-wrapper label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444;
}

.input-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    min-height: 100px;
    font-family: inherit;
    resize: none;
}

.payment-notice {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 8px;
    color: #0d47a1;
    font-size: 0.9rem;
    margin: 20px 0;
}

.btn-confirm {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-confirm:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Summary Styles */
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.item-name {
    display: block;
    font-weight: 600;
    color: #333;
}

.item-qty {
    font-size: 0.85rem;
    color: #888;
}

.item-price {
    font-weight: 600;
    color: #555;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.summary-total span {
    font-size: 1.1rem;
    font-weight: 600;
}

.final-amount {
    color: #2ecc71;
    font-size: 1.5rem;
    font-weight: 800;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    background-color: #f4f7f6;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.auth-header h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.auth-header p {
    color: #888;
    font-size: 0.9rem;
}

/* ========================================
   Post Not Found State
======================================== */
.post-not-found-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.post-not-found-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 60px 50px;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.pnf-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.post-not-found-card h2 {
    font-size: 1.8rem;
    color: #343a40;
    margin-bottom: 12px;
}

.post-not-found-card p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Input Groups */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

/* Button */
.btn-auth {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-auth:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.auth-footer a:hover {
    text-decoration: underline;
}



.alert-error {
    background-color: #fff5f5;
    color: #e74c3c;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #feb2b2;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #666;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.form-options a {
    color: #007bff;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}


.btn-auth {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-auth:hover {
    background: #0056b3;
}

/* Container */
.projects-portfolio {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    color: #0A2E5B;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Grid System */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Card Styling */
.project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.main-img-container {
    height: 250px;
    overflow: hidden;
}

.main-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.project-card:hover .main-img-container img {
    transform: scale(1.05);
}

/* Body Content */
.project-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-body h3 {
    color: #00B0F0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.project-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.project-desc {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;

}

/* Footer Badge */
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-show-more {
    text-decoration: none;
    color: #00B0F0;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-show-more:hover {
    color: #0056b3;
    gap: 10px;
}

.status-done {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.project-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.project-hero h1 {
    font-size: 3rem;
    margin: 15px 0;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
}

.project-content {
    padding: 60px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.full-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.work-highlights ul {
    list-style: none;
    padding: 0;
}

.work-highlights li {
    margin-bottom: 10px;
    color: #555;
    font-weight: 500;
}

.work-highlights i {
    color: #2ecc71;
    margin-right: 10px;
}

.btn-back {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 25px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-back:hover {
    background: #007bff;
    color: white;
}

.review-container {
    max-width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    direction: inherit;
    /* بيتبع لغة الموقع */
}

.review-header {
    display: flex;
    justify-content: flex-end;
    /* بيخلي النجوم يمين أو شمال حسب الـ direction */
    margin-bottom: 10px;
}

/* سحر النجوم بالـ Hover */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    /* مهم عشان الهوفر يشتغل صح */
}

.star-rating label {
    font-size: 25px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0 2px;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #ffca08;
}

textarea {
    width: 95%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    font-family: inherit;
    margin-bottom: 10px;
}

.add-btn {
    background-color: #00B0F0;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.add-btn:hover {
    background-color: #00B0F0;
}

.latest-testimonials {
    margin-top: 40px;
    padding: 20px;
}

.section-title {
    font-size: 1.2rem;
    color: #0A2E5B;
    margin-bottom: 20px;
    border-bottom: 2px solid #00B0F0;
    display: inline-block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.test-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stars i {
    color: #ffca08;
    font-size: 0.9rem;
}

.test-date {
    font-size: 0.8rem;
    color: #888;
}

.test-comment {
    font-style: italic;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.test-user {
    text-align: right;
    font-size: 0.9rem;
    color: #007bff;
}

.view-all-container {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #00B0F0;
    /* نفس لون اللوجو والزراير في السايت */
    border: 2px solid #00B0F0;
    border-radius: 50px;
    /* شكل بيضاوي زي ستايل Sign Out */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #00B0F0;
    color: #fff;
    transform: scale(1.05);
}

/* view all reviews*/

.btn-view-all i {
    margin-left: 8px;
    font-size: 0.9rem;
}

.add-review-btn {
    background-color: #007bff;
    /* نفس اللون الأزرق الأساسي للوجو */
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.add-review-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

/* Reviews Section Container */
.reviews-section {
    padding: 20px 0;
    max-width: 800px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Individual Review Item */
.review-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

/* Sidebar & Avatar */
.user-avatar {
    width: 45px;
    height: 45px;
    background-color: #007bff;
    /* لون الهوية لـ Cool Air */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Content Area */
.review-content {
    flex: 1;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.reviewer-name {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
}

/* Star Rating */
.review-rating {
    margin-bottom: 10px;
}

.review-rating i {
    color: #ffca08;
    /* لون النجوم الذهبي */
    font-size: 0.8rem;
}

/* Review Text */
.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* Empty State Styling */
.empty-reviews-state {
    text-align: center;
    padding: 50px 20px;
    color: #bbb;
}

.empty-reviews-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.empty-reviews-state p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 5px;
}

.empty-reviews-state span {
    font-size: 0.9rem;
}

.section-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 50px 0 30px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #e0e0e0;
}

.section-divider span {
    padding: 0 20px;
    font-weight: bold;
    color: #00B0F0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-header-container {
    border-left: 5px solid #007bff;
    /* نفس درجة اللون الأزرق لزر View Details */
    padding-left: 15px;
    margin-bottom: 25px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

.review-header-container h3 {
    margin: 0;
    color: #0A2E5B;
}

.review-header-container p {
    margin: 5px 0 0;
    color: #777;
    font-size: 0.9rem;
}

/* Core Advisor Container */
.advisor-container {
    max-width: 1000px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
    color: #2d3436;
    padding: 0 20px;
}

/* Form Card Styling */
.form-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 1px solid #f1f2f6;
}

.form-card h3 {
    font-size: 1.5rem;
    color: #0984e3;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

/* The Grid Logic - الإصلاح الأساسي */
.input-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 أعمدة متساوية */
    gap: 25px;
    /* مسافة بين العناصر */
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    /* مسافة بين الليبل والإنبوت */
}

.input-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #636e72;
}

.input-group input {
    width: 85%;
}

.input-group select {
    width: 100%;
}

.input-group input,
.input-group select {

    /* عشان ياخد مساحة العمود بالظبط */
    padding: 14px 18px;
    border: 1.5px solid #dfe6e9;
    border-radius: 12px;
    background-color: #fcfcfc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #0984e3;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(9, 132, 227, 0.1);
    outline: none;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 30px;
    cursor: pointer;
    border: 1px dashed #b2bec3;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Button Styling */
.btn-advisor {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-advisor:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 132, 227, 0.4);
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .input-row {
        grid-template-columns: 1fr;
        /* عمود واحد في الموبايل */
    }
}

.view-products-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0984e3;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s ease, transform 0.2s;
}

.view-products-btn:hover {
    background-color: #74b9ff;
    transform: translateY(-2px);
    color: white;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}

/* الزرار الرئيسي - Shop All Products */
.btn-main-glow {
    position: relative;
    background: #0A2E5B;
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(9, 132, 227, 0.4);
    /* تأثير التوهج */
}

.btn-main-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(9, 132, 227, 0.6);
    background: #74b9ff;
}

/* الزرار الثانوي - Smart Advisor */
.btn-minimal-link {
    color: #0A2E5B !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.btn-minimal-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-minimal-link:hover {
    color: #0984e3 !important;
    border-bottom: 2px solid #0984e3;
}

.btn-minimal-link:hover i {
    transform: translateY(3px);
    /* حركة السهم لتحت عند الـ hover */
}

/* =============================================
   BLOG LISTING PAGE
   ============================================= */

.blog-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.blog-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 20px;
    border: 1px solid #d0e8fb;
}

.blog-page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0A1D37;
    margin-bottom: 10px;
}

.blog-page-header h1 span {
    color: #007bff;
}

.blog-page-header p {
    color: #667;
    font-size: 1.05rem;
    margin: 0;
}

/* Blog grid — 3 columns like products */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eef0f5;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 102, 255, 0.12);
    border-color: #007bff;
}

.blog-card-image {
    height: 210px;
    overflow: hidden;
    background: #f3f6fb;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #c5d5e8;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0A1D37;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #667;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}

/* Reuse existing .btn-details style — no extra rules needed */

/* Empty state */
.blog-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #aab;
}

.blog-empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    color: #c5d5e8;
}

.blog-empty-state p {
    font-size: 1.1rem;
}

/* =============================================
   BLOG DETAILS PAGE
   ============================================= */

.blog-detail-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* Hero image with overlay */
.blog-detail-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    min-height: 320px;
    background: #0A1D37;
    display: flex;
    align-items: flex-end;
}

.blog-detail-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.blog-detail-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.15);
}

.blog-detail-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 35px 40px;
    width: 100%;
}

.blog-detail-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 123, 255, 0.85);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.blog-detail-hero-overlay h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Content body */
.blog-detail-body {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eef0f5;
    padding: 40px 45px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.blog-detail-content {
    font-size: 1rem;
    color: #334;
    line-height: 1.85;
    word-break: break-word;
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3 {
    color: #0A1D37;
    margin-top: 28px;
}

.blog-detail-content p {
    margin-bottom: 16px;
}

.blog-detail-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #eef0f5;
}

/* btn-back — reuses existing .btn-back rule, but we add one here as fallback */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7ff;
    color: #007bff;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #cce3ff;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateX(-4px);
}

/* Post Not Found state */
.blog-not-found {
    text-align: center;
    padding: 100px 20px;
    color: #889;
}

.blog-not-found i {
    font-size: 4.5rem;
    color: #dc3545;
    margin-bottom: 22px;
    display: block;
}

.blog-not-found h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0A1D37;
    margin-bottom: 12px;
}

.blog-not-found p {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* =============================================
   RESPONSIVE — Blog
   ============================================= */

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-hero-overlay h1 {
        font-size: 1.4rem;
    }

    .blog-detail-body {
        padding: 25px 20px;
    }

    .blog-page-header h1 {
        font-size: 2rem;
    }
}

/* =============================================
   CONTACT US PAGE
   ============================================= */

/* ── Page wrapper ── */
.contact-page {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* ── Hero ── */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #055a96 0%, #00B0F0 100%);
    padding: 90px 25px 80px;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

.contact-hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.15;
}

.contact-hero-content h1 span {
    color: #7ec8ff;
}

.contact-hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Info Cards Row ── */
.contact-info-section {
    padding: 0 0 20px;
    margin-top: -48px;
    position: relative;
    z-index: 10;
}

.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    color: inherit;
    text-decoration: none;
}

.contact-card-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.contact-info-card:hover .contact-card-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.contact-icon-blue {
    background: #e8f0ff;
    color: #0066FF;
}

.contact-icon-green {
    background: #e6f9f1;
    color: #25D366;
}

.contact-icon-orange {
    background: #fff4e8;
    color: #ff7b1a;
}

.contact-card-body h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #9aa5b4;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.contact-card-body p {
    font-size: 1rem;
    font-weight: 700;
    color: #0A2E5B;
    margin: 0;
    word-break: break-all;
}

/* ── Form Section ── */
.contact-form-section {
    padding: 60px 0 80px;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
}

.contact-form-aside {
    background: linear-gradient(160deg, #0166a0 0%, #00B0F0 100%);
    padding: 52px 38px;
    display: flex;
    align-items: center;
}

.aside-inner {
    color: #fff;
}

.aside-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 18px 0;
    animation: aside-float 4s ease-in-out infinite;
    cursor: default;
}

@keyframes aside-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.aside-logo-wrap:hover {
    animation-play-state: paused;
    transform: scale(1.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Breeze wave lines (right → left) ── */
.aside-breeze {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 14px;
}

.aside-breeze-line {
    position: absolute;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(126, 200, 255, 0.5) 40%, rgba(30, 144, 255, 0.35) 70%, transparent 100%);
    animation: aside-breeze-flow 3.5s linear infinite;
    opacity: 0;
}

.aside-breeze-1 {
    width: 80%;
    top: 25%;
    right: -80%;
    animation-delay: 0s;
}

.aside-breeze-2 {
    width: 65%;
    top: 50%;
    right: -65%;
    animation-delay: 1.2s;
}

.aside-breeze-3 {
    width: 90%;
    top: 72%;
    right: -90%;
    animation-delay: 2.4s;
}

@keyframes aside-breeze-flow {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    80% {
        opacity: 0.7;
    }

    100% {
        transform: translateX(-260%);
        opacity: 0;
    }
}

.aside-logo {

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;

    align-items: baseline;
    justify-content: center;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    letter-spacing: 1px;
    line-height: 1;
    z-index: 2;
    overflow: hidden;
    border-radius: 12px;
}

.aside-logo-cool {
    font-size: 1.3rem;
    font-weight: 900;
    color: #0A2E5B;
    background: #fff;
    padding: 10px 0 10px 16px;
    border-radius: 12px 0 0 12px;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.aside-logo-air {
    font-size: 1.3rem;
    font-weight: 900;
    color: #027ba7;
    background: #fff;
    padding: 10px 16px 10px 0;
    border-radius: 0 12px 12px 0;

    line-height: 1;
    position: relative;
    z-index: 2;
    animation: aside-air-glow 2.5s ease-in-out infinite;
}

@keyframes aside-air-glow {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(30, 144, 255, 0.3),
            0 0 12px rgba(30, 144, 255, 0.15);
    }

    50% {
        text-shadow: 0 0 14px rgba(30, 144, 255, 0.6),
            0 0 28px rgba(30, 144, 255, 0.3),
            0 0 42px rgba(30, 144, 255, 0.12);
    }
}

.aside-logo-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.5) 45%,
            rgba(200, 230, 255, 0.45) 50%,
            rgba(255, 255, 255, 0.5) 55%,
            transparent 80%);
    z-index: 3;
    pointer-events: none;
    animation: aside-shimmer-sweep 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes aside-shimmer-sweep {

    0%,
    85%,
    100% {
        left: -100%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    40% {
        left: 180%;
        opacity: 1;
    }

    45% {
        opacity: 0;
    }
}

/* ── Particle canvas ── */
.aside-particles {
    position: absolute;
    inset: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    pointer-events: none;
    z-index: 4;
}

.contact-form-aside h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.35;
}

.contact-form-aside p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.aside-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aside-features li {
    color: rgb(249, 247, 247);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aside-features li i {
    color: #0A2E5B;
    font-size: 1rem;
}

.contact-form-panel {
    background: #fff;
    padding: 52px 48px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 22px;
}

.contact-form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0A2E5B;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-form-group label i {
    color: #00B0F0;
    font-size: 0.8rem;
}

.req {
    color: #e53e3e;
    margin-left: 1px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2d3748;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    box-sizing: border-box;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: #0066FF;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form-group.has-error input,
.contact-form-group.has-error select,
.contact-form-group.has-error textarea {
    border-color: #e53e3e;
    background: #fff5f5;
}

.contact-form-group.has-error input:focus,
.contact-form-group.has-error select:focus,
.contact-form-group.has-error textarea:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.12);
}

.contact-error-msg {
    font-size: 0.8rem;
    color: #e53e3e;
    font-weight: 600;
}

.contact-recaptcha-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e0;
    border-radius: 12px;
    padding: 16px 20px;
    color: #718096;
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.contact-recaptcha-placeholder i {
    font-size: 1.4rem;
    color: #48bb78;
    flex-shrink: 0;
}

.contact-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #027ba7, #00B0F0);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
    width: 100%;
}

.contact-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

/* ── Success Alert Banner ── */
.contact-success-alert {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
    border: 1.5px solid #a3e4b8;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
    animation: slideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    position: relative;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-success-alert-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(72, 187, 120, 0.3);
}

.contact-success-alert-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.contact-success-alert-body h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #22543d;
    margin: 0 0 4px;
}

.contact-success-alert-body p {
    font-size: 0.88rem;
    color: #4a7c59;
    margin: 0;
    line-height: 1.5;
}

.contact-success-alert-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: #81b896;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}

.contact-success-alert-close:hover {
    color: #22543d;
    background: rgba(72, 187, 120, 0.15);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-aside {
        padding: 40px 32px;
        text-align: center;
    }

    .aside-features {
        align-items: center;
    }
}

@media (max-width: 900px) {
    .contact-cards-row {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        padding: 36px 24px;
    }
}

@media (max-width: 600px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-info-card {
        padding: 24px 20px;
    }

    .contact-form-aside {
        padding: 32px 20px;
    }
}

/* ═══════════════════════════════════════════════════
   CAPTCHA WIDGET  (ca-* namespace)
   ═══════════════════════════════════════════════════ */

.ca-captcha-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

/* ── Main box (reCAPTCHA card look) ── */
.ca-captcha-box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 302px;
    height: 74px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
    padding: 0 12px;
    box-sizing: border-box;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.ca-captcha-box:hover {
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.13);
}

/* ── Checkbox square ── */
.ca-checkbox {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    border: 2px solid #c1c1c1;
    background: #fff;
    margin-right: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: border-color 0.15s;
}

.ca-captcha-box:hover .ca-checkbox {
    border-color: #b0b0b0;
}

/* ── Spinner ── */
.ca-spinner {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

.ca-spinner-ring {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #e0e0e0;
    border-top-color: #4285f4;
    animation: ca-spin 0.8s linear infinite;
}

@keyframes ca-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Green check (verified) ── */
.ca-check-ok {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

.ca-check-ok svg {
    width: 28px;
    height: 28px;
    animation: ca-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ca-pop {
    from {
        transform: scale(0.3);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ca-checkmark-path {
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    animation: ca-draw 0.35s 0.15s ease forwards;
}

@keyframes ca-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* ── Label ── */
.ca-label {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    font-family: Roboto, Arial, sans-serif;
    user-select: none;
}

/* ── reCAPTCHA badge (right side) ── */
.ca-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
    width: 66px;
    padding-left: 10px;
    border-left: 1px solid #e0e0e0;
    height: 100%;
}

.ca-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.25;
}

.ca-brand-text span {
    font-size: 8px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-family: Roboto, Arial, sans-serif;
}

.ca-brand-text span:last-child {
    font-size: 7px;
    font-weight: 400;
    color: #9e9e9e;
    text-transform: none;
    letter-spacing: 0;
}

/* ── Error message ── */
.ca-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff8f8;
    border: 1px solid #f5b8b8;
    border-radius: 3px;
    padding: 8px 12px;
    font-size: 12px;
    color: #c0392b;
    font-family: Roboto, Arial, sans-serif;
    max-width: 302px;
    animation: ca-fade-in 0.25s ease both;
}

.ca-error i {
    color: #e74c3c;
    font-size: 13px;
    flex-shrink: 0;
}

@keyframes ca-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Shake on blocked submit ── */
@keyframes ca-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

.ca-shake {
    animation: ca-shake 0.4s ease both;
}

/* ── Responsive ── */
@media (max-width: 480px) {

    .ca-captcha-box,
    .ca-error {
        max-width: 100%;
    }

    .ca-brand-text {
        display: none;
    }
}




/*          live visitor        */
.stats-bar {
    margin-top: -10px;
    position: relative;
    z-index: 10;
}

.stats-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 25px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.stat-icon {
    font-size: 2rem;
    color: #007bff;

}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.stat-label {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}


.live-dot {
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: -10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.serviceClass {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.serviceDesc {
    color: #666;
    font-size: 8px;
    line-height: 1.2;

}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.error-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    margin: 20px;
}


.error-code {
    font-size: 120px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ==============================
   Product Offers Section
   Brand Color: #247BB5
   ============================== */

.product-offers-section {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid #d6eafa;
    border-radius: 16px;
    background-color: #f4f9fd;
}

.product-offers-section>h2 {
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #d6eafa;
    color: #247BB5;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.7;
}

/* Offers layout */

.installment-offers-list,
.discount-offers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 16px 0 26px;
}

/* Offer cards */

.product-offer-card {
    min-width: 0;
    margin-top: 12px;
    padding: 20px;
    border: 1px solid #d6eafa;
    border-radius: 12px;
    background: #fff;
    color: #29465f;
    line-height: 1.8;
    overflow-wrap: anywhere;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.product-offer-card:hover {
    transform: translateY(-3px);
    border-color: #9ccbea;
    box-shadow: 0 6px 20px rgba(36, 123, 181, 0.12);
}

.product-offer-card h3 {
    margin: 0 0 14px;
    color: #247BB5;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.product-offer-card p {
    margin: 10px 0;
    color: #4c6275;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    direction: rtl;
    text-align: right;
    unicode-bidi: plaintext;
}

/* Installment offers */

.installment-offer-card {
    border: 1px solid #c5e2f5;
    border-top: 4px solid #247BB5;
    background: #edf7ff;
}

.installment-offer-card h3 {
    color: #247BB5;
}

/* Discount offers */

.discount-offer-card {
    border: 1px solid #c5e2f5;
    border-top: 4px solid #247BB5;
    background: #f0f7ff;
}

.discount-offer-card h3 {
    color: #247BB5;
}

/* Company details link */

.product-offer-card a {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid #247BB5;
    border-radius: 8px;
    background: #247BB5;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.product-offer-card a:hover {
    border-color: #1c6392;
    background-color: #1c6392;
    color: #fff !important;
}

/* Product card text direction */

.product-card p {
    direction: rtl;
    text-align: right;
    unicode-bidi: plaintext;
}

/* Responsive */

@media (max-width: 576px) {
    .product-offers-section {
        margin: 22px 0;
        padding: 16px;
    }

    .product-offers-section>h2 {
        font-size: 20px;
    }

    .installment-offers-list,
    .discount-offers-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .product-offer-card {
        padding: 16px;
    }
}

/* =====================================
   Installment Company Details Page
   Primary Brand Color: #247BB5
   ===================================== */
.about-header .company-brand {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #f2f5fa, #c7d3e5);
    border-radius: 20px;
    overflow: hidden;
}

.about-header .about-logo {
    display: block;
    width: min(420px, 80%);
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation: logoReveal 1s ease-out forwards;
}

@keyframes logoReveal {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.installment-company-page {
    direction: auto;
    padding: 36px 16px 56px;
    background: #f3f9ff;
    color: #29465f;
    line-height: 1.9;
}

.installment-company-details {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.company-brand {
    width: 100%;
    min-height: 180px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Company hero */

.company-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px;
    border: 1px solid #d6eafa;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f5ff 60%, #eaf2ff 100%);
    box-shadow: 0 8px 28px rgba(36, 123, 181, 0.08);
}

.company-hero-content {
    flex: 1;
    min-width: 0;
}

.company-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 13px;
    border-radius: 30px;
    background: #dff2ff;
    color: #247BB5;
    font-size: 13px;
    font-weight: 700;
}

.company-hero h1 {
    margin: 0 0 10px;
    color: #247BB5;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.company-hero-content>p {
    margin: 0;
    color: #617d96;
    font-size: 16px;
}

.company-logo-wrapper {
    display: flex;
    flex: 0 0 150px;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    padding: 14px;
    border: 1px solid #dcebf7;
    border-radius: 16px;
    background: #fff;
}

.installment-company-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Information cards */

.company-information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.company-information-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid #deebf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(36, 123, 181, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.company-information-card:hover {
    border-color: #a9d6f4;
    box-shadow: 0 8px 24px rgba(36, 123, 181, 0.1);
}

.company-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5eff7;
}

.company-section-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #e1f3ff;
    color: #247BB5;
    font-size: 20px;
    font-weight: 700;
}

.company-section-heading h2 {
    margin: 0;
    color: #247BB5;
    font-size: 20px;
    font-weight: 750;
}

.company-information-card>p {
    margin: 0;
    color: #4e6579;
    font-size: 15px;
    line-height: 2;
    overflow-wrap: anywhere;
    white-space: normal;
    unicode-bidi: plaintext;
}

/* Official website button */

.company-website-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.company-website-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #247BB5;
    border-radius: 10px;
    background: #247BB5;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.company-website-button:hover {
    transform: translateY(-2px);
    background: #1c6392;
    border-color: #1c6392;
}

/* Responsive layout */

@media (max-width: 700px) {
    .installment-company-page {
        padding: 22px 12px 36px;
    }

    .company-hero {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
        padding: 24px 20px;
    }

    .company-logo-wrapper {
        flex-basis: 120px;
        width: 120px;
        height: 120px;
        align-self: center;
    }

    .company-information-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 18px;
    }

    .company-information-card {
        padding: 20px;
    }

    .company-section-heading h2 {
        font-size: 18px;
    }

    .company-website-button {
        width: 100%;
    }
}

/* =========================================
   Public Offers Page
   Concord Appliances - #247BB5
   ========================================= */

.offers-page {
    --offers-primary: #247BB5;
    --offers-primary-dark: #1c6392;
    --offers-light: #edf7ff;
    --offers-border: #d6eafa;
    --offers-text: #29465f;
    --offers-muted: #647b8e;

    max-width: 1240px;
    margin: 0 auto;
    padding: 35px 20px 55px;
    color: var(--offers-text);
    line-height: 1.9;
}

.offers-page-header {
    position: relative;
    margin-bottom: 32px;
    padding: 36px 30px;
    overflow: hidden;
    border: 1px solid var(--offers-border);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff 0%, #edf7ff 100%);
    text-align: center;
}

.offers-page-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 13px;
    border-radius: 30px;
    background: #dcefff;
    color: var(--offers-primary);
    font-size: 13px;
    font-weight: 800;
}

.offers-page-header h1 {
    margin: 0 0 10px;
    color: var(--offers-primary);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.5;
}

.offers-page-header>p {
    margin: 0;
    color: var(--offers-muted);
    font-size: 16px;
}

.offers-page-count {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding: 8px 16px;
    border: 1px solid #c6e2f5;
    border-radius: 30px;
    background: #fff;
    color: var(--offers-primary);
    font-size: 14px;
    font-weight: 700;
}

.offers-page-count>span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    padding: 0 6px;
    border-radius: 50%;
    background: var(--offers-primary);
    color: #fff;
}

/* Cards grid */

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.offer-public-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--offers-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(36, 123, 181, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.offer-public-card:hover {
    transform: translateY(-4px);
    border-color: #a9d4ef;
    box-shadow: 0 12px 28px rgba(36, 123, 181, 0.13);
}

.offer-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--offers-border);
    background: var(--offers-light);
}

.offer-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 30px;
    background: var(--offers-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.offer-expiry {
    color: var(--offers-muted);
    font-size: 12px;
}

.offer-card-content {
    flex: 1;
    padding: 22px;
}

.offer-card-content>h2 {
    margin: 0 0 12px;
    color: var(--offers-primary);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.offer-description {
    margin: 0 0 18px;
    color: #526a7d;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

/* Discount highlight */

.offer-discount-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #c6e2f5;
    border-radius: 12px;
    background: #edf7ff;
}

.offer-discount-highlight>span {
    color: var(--offers-text);
    font-size: 14px;
    font-weight: 600;
}

.offer-discount-highlight>strong {
    color: var(--offers-primary);
    font-size: 24px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* Details */

.offer-detail-block {
    margin-top: 20px;
    padding: 17px;
    border: 1px solid var(--offers-border);
    border-radius: 12px;
    background: #f8fbfe;
}

.offer-detail-block h3,
.offer-products h3 {
    margin: 0 0 10px;
    color: var(--offers-primary);
    font-size: 16px;
    font-weight: 800;
}

.offer-detail-block p {
    margin: 8px 0;
    color: #526a7d;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.offer-detail-block p strong,
.offer-meta strong {
    color: var(--offers-text);
}

.offer-terms {
    white-space: normal;
    unicode-bidi: plaintext;
}

.offer-company-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 8px 13px;
    border: 1px solid var(--offers-primary);
    border-radius: 8px;
    background: #fff;
    color: var(--offers-primary) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.offer-company-link:hover {
    background: var(--offers-primary);
    color: #fff !important;
}

/* Dates and target information */

.offer-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e6eff6;
}

.offer-meta p {
    margin: 5px 0;
    color: var(--offers-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

/* Products included in offer */

.offer-products {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #f4f9fd;
}

.offer-products ul {
    margin: 0;
    padding-right: 20px;
}

.offer-products li {
    margin: 5px 0;
    color: #526a7d;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.offer-scope-note {
    margin-top: 15px;
    color: var(--offers-primary);
    font-size: 13px;
    font-weight: 700;
}

/* Card footer */

.offer-card-footer {
    padding: 12px 20px;
    border-top: 1px solid #e6eff6;
    background: #fbfdff;
    color: var(--offers-muted);
    font-size: 12px;
}

/* Empty state */

.offers-empty-state {
    padding: 45px 20px;
    border: 1px dashed #a9d4ef;
    border-radius: 16px;
    background: #f8fbfe;
    text-align: center;
}

.offers-empty-state h2 {
    margin: 0 0 8px;
    color: var(--offers-primary);
    font-size: 23px;
}

.offers-empty-state p {
    margin: 0;
    color: var(--offers-muted);
}

/* Responsive */

@media (max-width: 760px) {
    .offers-page {
        padding: 22px 14px 38px;
    }

    .offers-page-header {
        padding: 28px 18px;
        margin-bottom: 22px;
    }

    .offers-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .offer-card-content {
        padding: 18px;
    }

    .offer-card-content>h2 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .offer-public-card,
    .offer-company-link {
        transition: none;
    }

    .offer-public-card:hover {
        transform: none;
    }
}

.offer-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 9px 14px;
    border: 1px solid #247BB5;
    border-radius: 8px;
    background: #fff;
    color: #247BB5;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.offer-toggle-button:hover {
    background: #247BB5;
    color: #fff;
}

.offer-toggle-button:focus-visible {
    outline: 2px solid #247BB5;
    outline-offset: 3px;
}

.offer-products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.offer-products-heading h3 {
    margin: 0;
}

.offer-products-count {
    padding: 4px 9px;
    border-radius: 20px;
    background: #EAF4FB;
    color: #247BB5;
    font-size: 12px;
    font-weight: 600;
}

.offer-products-list li[hidden],
.offer-collapsible-content[hidden] {
    display: none !important;
}

.offer-terms {
    overflow-wrap: anywhere;
    line-height: 1.9;
}

.offer-collapsible-content {
    margin-top: 10px;
}

/* ========================================
   Installment Companies Page
======================================== */

.installment-companies-page {
    direction: rtl;
    padding: 55px 20px 70px;
    background: #fff;
    min-height: 60vh;
}

.installment-companies-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.installment-companies-title {
    position: relative;
    width: fit-content;
    margin: 0 auto 45px;
    padding-bottom: 16px;
    color: #247BB5;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    text-align: center;
}

.installment-companies-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 75px;
    height: 4px;
    border-radius: 10px;
    background: #247BB5;
}

.installment-companies-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.installment-company-card {
    min-width: 0;
    min-height: 225px;
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e5edf3;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(24, 69, 100, 0.06);
    text-align: center;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.installment-company-card:hover {
    transform: translateY(-6px);
    border-color: #247BB5;
    box-shadow: 0 12px 28px rgba(36, 123, 181, 0.14);
}

.installment-company-logo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 115px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.installment-company-name {
    margin: 0;
    color: #263746;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* Empty state */
.installment-companies-empty {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px 20px;
    color: #667785;
    background: #f6f9fc;
    border: 1px dashed #cbdce8;
    border-radius: 14px;
    text-align: center;
    font-size: 17px;
}

/* Tablet */
@media (max-width: 992px) {
    .installment-companies-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .installment-company-card {
        min-height: 210px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .installment-companies-page {
        padding: 35px 15px 45px;
    }

    .installment-companies-title {
        margin-bottom: 30px;
    }

    .installment-companies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .installment-company-card {
        min-height: 175px;
        padding: 18px 10px;
        gap: 13px;
        border-radius: 14px;
    }

    .installment-company-logo {
        height: 85px;
        max-width: 140px;
    }

    .installment-company-name {
        font-size: 15px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .installment-companies-grid {
        grid-template-columns: 1fr;
    }

    .installment-company-card {
        min-height: 165px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .installment-company-card {
        transition: none;
    }

    .installment-company-card:hover {
        transform: none;
    }
}

.installment-company-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
}

.installment-company-link:hover,
.installment-company-link:focus-visible {
    color: #247BB5;
    text-decoration: none;
}

.installment-company-link:focus-visible {
    outline: 2px solid #247BB5;
    outline-offset: 5px;
}

.installment-company-link .installment-company-name {
    transition: color 0.2s ease;
}

.installment-company-link:hover .installment-company-name {
    color: #247BB5;
}

.installment-company-link .installment-company-logo {
    flex-shrink: 0;
}

@media (max-width: 650px) {
    .installment-company-link {
        gap: 13px;
    }
}

/* Compact installment terms inside product offer cards */
.installment-terms {
    width: 100%;
    min-width: 0;
    margin: 12px 0;
}

.installment-terms-content {
    max-height: 115px;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 1.8;
    font-size: 14px;
    color: #52616d;
    white-space: normal;
}

.installment-terms-content.is-expanded {
    max-height: none;
}

.installment-terms-toggle {
    margin-top: 10px;
    padding: 7px 13px;
    border: 1px solid #247BB5;
    border-radius: 7px;
    background: #fff;
    color: #247BB5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.installment-terms-toggle:hover {
    background: #247BB5;
    color: #fff;
}

.installment-offer-card {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .installment-terms-content {
        max-height: 100px;
        font-size: 13px;
    }
}

/* ============================================================
   CONCORD responsive design foundation (shared across storefront routes)
   ============================================================ */
:root {
    --concord-cyan: #00B0F0;
    --concord-navy: #0A2E5B;
    --concord-white: #FFFFFF;
    --concord-ink: #14263d;
    --concord-muted: #627286;
    --concord-border: #e4ebf2;
    --concord-surface: #f6f9fc;
    --concord-radius-sm: 8px;
    --concord-radius-md: 14px;
    --concord-radius-lg: 20px;
    --concord-shadow: 0 12px 32px rgba(10, 46, 91, .08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 0 !important;
    width: 100%;
    overflow-x: clip;
    color: var(--concord-ink);
    background: var(--concord-white);
    line-height: 1.65;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

:focus-visible {
    outline: 3px solid rgba(0, 176, 240, .6);
    outline-offset: 3px;
}

.content {
    min-width: 0;
    width: 100%;
}

.main-header {
    padding: 8px clamp(12px, 2.6vw, 32px);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(10, 46, 91, .08);
    box-shadow: 0 4px 22px rgba(10, 46, 91, .035);
}

.nav-container {
    width: calc(100% - 25px);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    min-width: 0;
    box-sizing: border-box;
}

.logo_nav {
    flex: 0 0 auto;
    min-width: 0;
}

.logo_nav img {
    display: block;
    width: clamp(145px, 16vw, 235px);
    max-width: 100%;
    height: auto;
    max-height: 66px;
    object-fit: contain;
}

.primary-navigation {
    min-width: 0;
}

.nav-links {
    gap: clamp(12px, 1.7vw, 27px);
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
    font-size: clamp(12px, .92vw, 15px);
}

.nav-actions {
    flex-shrink: 0;
    gap: 10px;
}

.nav-links-i,
.nav-link,
.lang-toggle {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00B0F0;
}

.mobile-nav-toggle {
    display: none;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--concord-border);
    border-radius: 10px;
    background: #fff;
    color: var(--concord-navy);
    font-size: 19px;
    cursor: pointer;
}

.content {
    margin-top: 82px;
    padding: clamp(16px, 2.6vw, 38px);
}

.content>* {
    max-width: 100%;
}

.container {
    width: min(100%, 1240px);
    margin-inline: auto;
}

.main-footer {
    margin-top: 48px;
    padding: clamp(28px, 5vw, 58px) clamp(16px, 3vw, 40px) 22px;
    background: var(--concord-navy);
    color: rgba(255, 255, 255, .86);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 44px);
}

.main-footer h2,
.main-footer h4 {
    color: #fff;
}

.main-footer a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.main-footer a:hover {
    color: var(--concord-cyan);
}

.main-footer ul {
    padding: 0;
    list-style: none;
}

.main-footer li {
    margin: 8px 0;
    overflow-wrap: anywhere;
}

/* Consistent form and content surfaces without changing page-specific behavior. */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    max-width: 100%;
    border-color: #d7e1eb;
    border-radius: 9px;
}

button,
.btn,
input[type="submit"] {
    touch-action: manipulation;
}

button:not(.mobile-nav-toggle),
.btn,
input[type="submit"] {
    max-width: 100%;
}

table {
    max-width: 100%;
}

.content table {
    width: 100%;
}

.content pre,
.content code {
    overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
    .nav-container {
        gap: 8px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-actions {
        gap: 6px;
    }

    .logo_nav img {
        width: 170px;
    }
}

@media (max-width: 980px) {
    .main-header {
        padding: 8px 16px;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        order: 2;
    }

    .nav-actions {
        order: 3;
    }

    .primary-navigation {
        display: none;
        order: 4;
        width: 100%;
        flex: 0 0 100%;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 12px;
        padding: 12px 0 8px;
    }

    .nav-links li {
        min-width: 0;
    }

    .nav-links a {
        white-space: normal;
        min-height: 44px;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .nav-links a:hover,
    .nav-links a.active-nav {
        background: #eaf9ff;
    }

    .nav-links a.active-nav::after {
        display: none;
    }

    .content {
        margin-top: 75px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .main-header {
        padding: 7px 12px;
    }

    .nav-container {
        gap: 8px;
    }

    .logo_nav img {
        width: 148px;
        max-height: 48px;
    }

    .nav-actions {
        gap: 4px;
    }

    .nav-actions .nav-links-i,
    .nav-actions .nav-link,
    .nav-actions .lang-toggle {
        min-width: 36px;
        min-height: 40px;
        padding: 6px;
        color: #00B0F0;
    }

    .nav-actions span.nav-links-i {
        display: none;
    }

    .register-btn {
        padding: 7px 10px;
    }

    .nav-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .content {
        margin-top: 68px;
        padding: 16px 12px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .main-footer {
        margin-top: 30px;
    }

    h1 {
        overflow-wrap: anywhere;
    }

    .content img {
        max-width: 100%;
    }

    .content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    input,
    select,
    textarea {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* CONCORD refinement pass: storefront pages, footer, services and account icons */
:root {
    --concord-cyan: #00B0F0;
    --concord-navy: #0A2E5B;
    --concord-white: #FFFFFF;
    --concord-ink: #17324f;
    --concord-muted: #64778b;
    --concord-border: #dce7f0;
    --concord-surface: #f5f9fc;
    --concord-radius-md: 14px;
    --concord-radius-lg: 20px;
    --concord-shadow: 0 12px 32px rgba(10, 46, 91, .08);
}

/* Keep all account actions within the official brand palette. */
.nav-actions .login-btn,
.nav-actions .login-btn i {
    color: var(--concord-cyan) !important;
}

.nav-actions .logout-btn,
.nav-actions .logout-btn i {
    color: var(--concord-navy) !important;
}

.nav-actions .login-btn:hover,
.nav-actions .logout-btn:hover,
.nav-actions .login-btn:hover i,
.nav-actions .logout-btn:hover i {
    color: var(--concord-cyan) !important;
}

.nav-actions .register-btn {
    background: var(--concord-cyan);
    color: #fff !important;
}

.nav-actions .register-btn:hover {
    background: var(--concord-navy);
}

.nav-actions .nav-links-i {
    color: var(--concord-cyan);
}

/* Full-width homepage hero with balanced spacing and readable overlay. */
.content:has(.master-hero) {
    padding: 0;
}

.content:has(.master-hero)>.master-hero {
    margin: 0;
}

.master-hero {
    min-height: clamp(500px, 68vw, 690px);
    background-position: center;
    border-radius: 0;
}

.hero-bg-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 43%, rgba(255, 255, 255, .12) 100%);
}

.hero-container {
    width: min(100% - 48px, 1240px);
    padding: 48px 0;
}

.hero-text-block {
    max-width: 700px;
}

.hero-text-block h3 {
    margin: 0 0 22px;
    font-size: clamp(15px, 1.3vw, 19px);
    font-weight: 700;
    letter-spacing: .025em;
}

.hero-text-block h1 {
    max-width: 720px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0 0 28px;
    color: var(--concord-cyan);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-main-glow {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border-radius: 999px;
    background: var(--concord-navy);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(10, 46, 91, .18);
    text-decoration: none;
    font-weight: 800;
}

.btn-main-glow:hover {
    background: var(--concord-cyan);
    transform: translateY(-1px);
}

.btn-minimal-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    color: var(--concord-navy) !important;
    text-decoration: none;
    font-weight: 800;
}

.btn-minimal-link:hover {
    color: var(--concord-cyan) !important;
}

.category-smart-section,
.products-showcase-section {
    padding-block: clamp(36px, 5vw, 70px);
}

.section-header-centered {
    margin: 0 auto 22px;
    max-width: 760px;
    text-align: center;
}

.section-header-centered h2 {
    color: var(--concord-navy);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    font-weight: 850;
}

.section-header-centered h2 span {
    color: var(--concord-cyan);
}

.section-header-centered p {
    color: var(--concord-muted);
    margin-top: 12px;
}

.category-grid-smart {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 20px;
    padding: 28px 0 10px;
}

.cat-card-smart {
    border-color: var(--concord-border);
    border-radius: 16px;
    padding: 28px 18px;
    box-shadow: 0 8px 24px rgba(10, 46, 91, .045);
}

.cat-card-smart:hover {
    transform: translateY(-4px);
    border-color: var(--concord-cyan);
    box-shadow: var(--concord-shadow);
}

.cat-icon-frame {
    background: #eaf9ff;
    color: var(--concord-cyan);
}

.products-grid-premium {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: 22px;
}

.product-card,
.product-card-premium {
    min-width: 0;
    border-color: var(--concord-border);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(10, 46, 91, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover,
.product-card-premium:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 176, 240, .65);
    box-shadow: var(--concord-shadow);
}

.product-img-wrapper,
.product-image {
    background: #f7fafc;
}

.product-img-wrapper {
    height: 230px;
}

.product-img-wrapper img,
.product-image img {
    object-fit: contain;
}

/* Footer: proper brand asset, accessible links and responsive columns. */
.main-footer {
    margin-top: clamp(36px, 5vw, 68px);
    padding: clamp(36px, 5vw, 62px) clamp(16px, 3vw, 40px) 22px;
    background: var(--concord-navy);
    color: rgba(255, 255, 255, .84);
}

.footer-grid {
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(110px, 1fr));
    gap: clamp(22px, 3vw, 44px);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-brand img {
    display: block;
    width: min(100%, 230px);
    height: auto;
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
}

.footer-logo h2 {
    display: none;
}

.footer-logo p {
    max-width: 330px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.85;
}

.main-footer h4 {
    margin: 0 0 22px;
    font-size: 15px;
    letter-spacing: .01em;
}

.footer-links h4::after {
    background: var(--concord-cyan);
    width: 38px;
}

.footer-links ul li {
    margin: 10px 0;
    line-height: 1.65;
}

.main-footer a {
    transition: color .18s ease, transform .18s ease;
}

.main-footer a:hover {
    color: var(--concord-cyan);
}

.footer-links ul li i {
    color: var(--concord-cyan);
    margin-inline-end: 8px;
}

.footer-bottom {
    margin-top: 38px !important;
    padding-top: 18px !important;
    border-top-color: rgba(255, 255, 255, .14) !important;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
}

/* Product listing/detail pages */
.products-page-container {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.products-sidebar {
    min-width: 0;
    border: 1px solid var(--concord-border);
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(10, 46, 91, .04);
}

.products-sidebar h4,
.products-header h1 {
    color: var(--concord-navy);
}

.products-sidebar h4::after {
    background: var(--concord-cyan);
}

.products-main {
    min-width: 0;
}

.products-header {
    margin-bottom: 24px;
}

.products-header h1 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.25;
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
    gap: 20px;
}

.products-grid .product-card {
    padding: 16px;
}

.products-grid .product-image {
    height: 205px;
    border-radius: 12px;
    overflow: hidden;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details-page {
    max-width: 1180px;
    margin-inline: auto;
}

.product-title {
    color: var(--concord-navy);
}

.product-price {
    color: var(--concord-cyan);
}

.product-details-page .content-card,
.product-details-page .product-tabs-section,
.product-details-page .reviews-section {
    border-color: var(--concord-border);
    border-radius: 16px;
}

/* Offers page */
.offers-page {
    max-width: 1240px;
    margin-inline: auto;
    padding: 20px 0 42px;
}

.offers-page-header {
    border-color: var(--concord-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #eefaff 100%);
}

.offers-page-eyebrow {
    background: #e4f8ff;
    color: var(--concord-navy);
}

.offers-page-header h1,
.offer-card-content>h2,
.offer-detail-block h3,
.offer-products h3 {
    color: var(--concord-navy);
}

.offer-type-badge,
.offers-page-count>span:first-child {
    background: var(--concord-navy);
}

.offer-public-card {
    border-color: var(--concord-border);
    box-shadow: 0 7px 22px rgba(10, 46, 91, .055);
}

.offer-public-card:hover {
    border-color: rgba(0, 176, 240, .65);
    box-shadow: var(--concord-shadow);
}

.offer-discount-highlight {
    border-color: #c8efff;
    background: #effaff;
}

.offer-discount-highlight>strong {
    color: var(--concord-cyan);
}

.offer-company-link {
    border-color: var(--concord-cyan);
    color: var(--concord-navy) !important;
}

.offer-company-link:hover {
    background: var(--concord-cyan);
    color: #fff !important;
}

/* Services listing and detail pages */
.services-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 0 28px;
}

.services-page-header {
    margin-bottom: 28px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--concord-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #eefaff);
    text-align: center;
}

.services-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--concord-cyan);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
}

.services-page-header h1,
.service-detail-header h1 {
    margin: 0;
    color: var(--concord-navy);
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.25;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 22px;
    margin-top: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 0 20px 22px;
    border: 1px solid var(--concord-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(10, 46, 91, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 176, 240, .65);
    box-shadow: var(--concord-shadow);
}

.service-card-image {
    height: 190px;
    margin: 0 -20px 18px;
    overflow: hidden;
    background: #f4f8fb;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.serviceClass {
    margin: 0 0 10px;
    color: var(--concord-navy);
    font-size: 20px;
    line-height: 1.4;
}

.serviceDesc {
    flex: 1;
    margin: 0;
    color: var(--concord-muted);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.service-card-link,
.service-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 44px;
    margin-top: 18px;
    padding: 10px 18px;
    border: 1px solid var(--concord-cyan);
    border-radius: 9px;
    background: var(--concord-cyan);
    color: #fff !important;
    font-weight: 750;
    text-decoration: none;
}

.service-card-link:hover,
.service-back-link:hover {
    border-color: var(--concord-navy);
    background: var(--concord-navy);
}

.services-empty-state,
.service-not-found {
    padding: 36px 20px;
    border: 1px dashed var(--concord-border);
    border-radius: 16px;
    background: var(--concord-surface);
    text-align: center;
    color: var(--concord-muted);
}

.service-detail-page {
    max-width: 1040px;
    margin: 0 auto;
}

.service-detail-header {
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--concord-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #f0fbff);
}

.service-detail-description {
    margin: 18px 0 0;
    color: var(--concord-muted);
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-line;
}

.service-types-title {
    margin: 32px 0 18px;
    color: var(--concord-navy);
    font-size: clamp(22px, 2.5vw, 30px);
}

.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: 18px;
}

.service-type-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--concord-border);
    border-inline-start: 4px solid var(--concord-cyan);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(10, 46, 91, .04);
}

.service-type-card h3 {
    margin: 0 0 10px;
    color: var(--concord-navy);
}

.service-type-description {
    color: var(--concord-muted);
    line-height: 1.8;
}

.btn-book button,
.btn-book-no-types button {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--concord-cyan);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}

.btn-book button:hover,
.btn-book-no-types button:hover {
    background: var(--concord-navy);
}

.service-back-link-wrap {
    margin-top: 28px;
}

#serviceModal {
    position: fixed;
    z-index: 1500;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 520px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 24px;
    border: 1px solid var(--concord-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(10, 46, 91, .25);
}

#serviceModal h3 {
    margin-top: 0;
    color: var(--concord-navy);
}

#serviceModal form {
    display: grid;
    gap: 14px;
}

#serviceModal textarea {
    min-height: 110px;
    resize: vertical;
}

#serviceModal button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    background: var(--concord-cyan);
    color: #fff;
    cursor: pointer;
}

#serviceModal button[type="button"] {
    background: var(--concord-navy);
}

/* General route polish: headings, tables, alerts and content width. */
.content>h1,
.content>h2 {
    color: var(--concord-navy);
}

.content :is(button, input[type="submit"], .add-btn, .btn-details, .btn-book button) {
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.content table th {
    background: #eef9fd;
    color: var(--concord-navy);
}

.content table td,
.content table th {
    border-color: var(--concord-border);
}

.content :is(.alert, .no-results, .empty-reviews-state) {
    border-radius: 12px;
}

@media (max-width: 980px) {
    .products-page-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-sidebar {
        order: 0;
    }

    .products-main {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-container {
        width: min(100% - 36px, 1240px);
    }
}

@media (max-width: 600px) {
    .content:has(.master-hero) {
        padding: 0;
    }

    .master-hero {
        min-height: 510px;
        background-position: 62% center;
    }

    .hero-bg-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82) 72%, rgba(255, 255, 255, .55));
    }

    .hero-container {
        width: calc(100% - 28px);
        padding: 34px 0;
    }

    .hero-text-block h1 {
        font-size: clamp(31px, 9vw, 40px);
        line-height: 1.15;
    }

    .hero-text-block h3 {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-actions {
        align-items: stretch;
        gap: 8px;
    }

    .btn-main-glow,
    .btn-minimal-link {
        justify-content: center;
        min-height: 46px;
    }

    .btn-main-glow {
        padding-inline: 18px;
    }

    .category-smart-section,
    .products-showcase-section {
        padding-block: 34px;
    }

    .category-grid-smart {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cat-card-smart {
        padding: 20px 10px;
    }

    .cat-icon-frame {
        width: 58px;
        height: 58px;
        margin-bottom: 12px;
    }

    .products-grid-premium,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .products-grid .product-card {
        padding: 10px;
    }

    .products-grid .product-image {
        height: 150px;
    }

    .product-img-wrapper {
        height: 165px;
        padding: 12px;
    }

    .product-info-wrapper {
        padding: 14px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .footer-brand img {
        width: 190px;
    }

    .services-page {
        padding-top: 0;
    }

    .services-grid,
    .service-types-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .service-card-image {
        height: 210px;
    }

    .service-detail-header {
        padding: 22px 18px;
    }

    .service-type-card {
        padding: 18px;
    }

    .offers-page {
        padding-inline: 0;
    }

    .offer-card-top {
        align-items: flex-start;
    }

    #serviceModal {
        padding: 20px 16px;
    }
}

@media (max-width: 360px) {

    .category-grid-smart,
    .products-grid-premium,
    .products-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-grid .product-image {
        height: 210px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}


/* Refined home category carousel and product cards — CONCORD brand system. */
.category-carousel {
    position: relative;
    margin-top: 28px;
    padding-inline: 42px;
}

.category-grid-smart {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, calc((100% - 48px) / 4));
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 2px 18px;
}

.category-grid-smart::-webkit-scrollbar {
    display: none;
}

.category-grid-smart.is-static {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    overflow: visible;
    scroll-snap-type: none;
}

.category-grid-smart.is-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
}

.cat-card-smart {
    min-height: 178px;
    justify-content: center;
    gap: 10px;
    padding: 22px 18px;
    border: 1px solid #e5eef5;
    border-radius: 18px;
    scroll-snap-align: start;
    box-shadow: 0 7px 22px rgba(10, 46, 91, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cat-card-smart:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 176, 240, .6);
    box-shadow: 0 14px 28px rgba(10, 46, 91, .08);
}

.cat-icon-frame {
    width: 58px;
    height: 58px;
    margin: 0 0 3px;
    flex: 0 0 auto;
    font-size: 22px;
}

.cat-card-title {
    color: var(--concord-navy);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 750;
    text-align: center;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    color: var(--concord-cyan);
    font-size: 13px;
    font-weight: 750;
}

.category-carousel-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dcebf3;
    border-radius: 50%;
    background: #fff;
    color: var(--concord-navy);
    box-shadow: 0 5px 15px rgba(10, 46, 91, .08);
    cursor: pointer;
}

.category-carousel-control:hover {
    background: var(--concord-cyan);
    border-color: var(--concord-cyan);
    color: #fff;
}

.category-carousel-prev {
    left: 0;
}

.category-carousel-next {
    right: 0;
}

.products-grid-premium {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.home-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    background: #fff;
    border: 1px solid #e7eef4;
    border-radius: 17px;
    box-shadow: 0 7px 24px rgba(10, 46, 91, .045);
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 32px rgba(10, 46, 91, .10);
}

.home-product-media {
    position: relative;
    min-width: 0;
    padding: 14px;
    background: linear-gradient(180deg, #f8fcfe, #fff);
    border-bottom: 1px solid #edf3f7;
}

.home-product-image-link {
    display: flex;
    height: 205px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-product-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
}

.home-product-card:hover .home-product-image-link img {
    transform: scale(1.035);
}

.home-product-badges {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 24px);
}

.home-product-card .product-offer-badge {
    gap: 6px;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 750;
    box-shadow: 0 3px 10px rgba(10, 46, 91, .06);
}

.home-product-card .installment-badge {
    background: #edf9ff;
    border-color: #d1f0fc;
    color: #087aa5;
}

.home-product-card .discount-badge {
    background: #fff5e9;
    border-color: #ffead0;
    color: #9b5a13;
}

.home-product-card .more-offers-badge {
    background: #f0f4f8;
    border-color: #e1e9ef;
    color: var(--concord-navy);
}

.home-product-card .product-info-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
}

.home-product-card .top-info {
    min-height: 20px;
}

.home-product-card .stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #287b56 !important;
    font-size: 11px;
    font-weight: 700;
}

.stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #35a779;
}

.home-product-card h4 {
    display: -webkit-box;
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    color: var(--concord-navy);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 750;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-product-model {
    margin: 0;
    color: #8291a1;
    font-size: 11px;
    letter-spacing: .025em;
}

.home-product-card .price-display {
    margin: auto 0 4px;
    padding-top: 6px;
    color: var(--concord-navy);
    font-size: 19px;
    font-weight: 850;
}

.home-product-card .price-display span {
    color: #7a8998;
    font-size: 11px;
    font-weight: 650;
}

.home-product-card .card-actions {
    margin-top: 2px;
}

.home-product-card .card-actions .btn {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--concord-navy);
    border-radius: 9px;
    background: var(--concord-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.home-product-card .card-actions .btn:hover {
    border-color: var(--concord-cyan);
    background: var(--concord-cyan);
}

@media (max-width: 1100px) {
    .products-grid-premium {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-grid-smart.is-carousel {
        grid-auto-columns: minmax(200px, 30%);
    }

    .category-grid-smart.is-static {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .products-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .category-carousel {
        padding-inline: 0;
    }

    .category-grid-smart.is-carousel {
        grid-auto-columns: minmax(175px, 44%);
        gap: 12px;
    }

    .category-grid-smart.is-static {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .category-carousel-control {
        display: none;
    }

    .home-product-media {
        padding: 10px;
    }

    .home-product-image-link {
        height: 165px;
    }

    .home-product-badges {
        top: 8px;
        inset-inline-start: 8px;
        gap: 4px;
        max-width: calc(100% - 16px);
    }

    .home-product-card .product-offer-badge {
        padding: 5px 7px;
        font-size: 9px;
    }

    .home-product-card .product-info-wrapper {
        padding: 12px;
    }

    .home-product-card h4 {
        font-size: 13px;
        min-height: 38px;
    }

    .home-product-card .price-display {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .products-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .home-product-image-link {
        height: 135px;
    }

    .home-product-card .product-info-wrapper {
        padding: 9px;
    }

    .home-product-card .product-offer-badge {
        font-size: 8px;
    }

    .category-grid-smart.is-static {
        grid-template-columns: minmax(0, 1fr);
    }

    .cat-card-smart {
        min-height: 160px;
    }
}

.main-header .nav-links a {
    font-size: 15px !important;
}

/* ===== Fix Concord Navbar ===== */
.nav-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

.logo_nav {
    flex-shrink: 0;
}

.logo_nav img {
    display: block;
    width: auto;
    max-width: 210px;
    height: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(12px, 1.4vw, 22px);
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.nav-links a {
    white-space: nowrap;
    font-size: 16px;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 12px;
}

.nav-actions>* {
    flex-shrink: 0;
}

.nav-links-i {
    font-size: 24px;
    margin-right: 4px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    margin: 0;
    min-width: 0;
}

/* Laptop and smaller screens */
@media (max-width: 1250px) {
    .nav-container {
        gap: 14px;
        padding: 10px 16px;
    }

    .logo_nav img {
        max-width: 175px;
        height: 52px;
    }

    .nav-links {
        gap: 11px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-actions {
        gap: 8px;
    }
}

/* Mobile */
@media (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        order: 3;
    }

    .nav-actions {
        margin-left: auto;
    }
}

/* ===== FINAL NAVBAR OVERLAP FIX ===== */
.main-header {
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.main-header .nav-container {
    width: 100%;
    max-width: 1600px;
    min-width: 0;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-sizing: border-box;
}

.main-header .logo_nav {
    flex: 0 0 auto;
}

.main-header .logo_nav img {
    display: block;
    width: 190px;
    max-width: 190px;
    height: 58px;
    object-fit: contain;
}

.main-header .primary-navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.main-header .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.1vw, 17px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-header .nav-links li {
    flex: 0 0 auto;
}

.main-header .nav-links a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: clamp(12px, 1.05vw, 15px);
}

.main-header .nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 0;
}

.main-header .nav-actions a,
.main-header .nav-actions button {
    flex-shrink: 0;
}

/* Prevent Bootstrap nav styles from adding extra spacing */
.main-header .navbar-nav {
    padding: 0;
    margin: 0;
}

/* Medium screens */
@media (min-width: 981px) and (max-width: 1350px) {
    .main-header .nav-container {
        gap: 10px;
        padding-inline: 12px;
    }

    .main-header .logo_nav img {
        width: 155px;
        height: 50px;
    }

    .main-header .nav-links {
        gap: 8px;
    }

    .main-header .nav-links a {
        font-size: 12px;
    }

    .main-header .nav-actions {
        gap: 5px;
    }
}

/* Mobile menu remains controlled by existing toggle */
@media (max-width: 980px) {
    .main-header .nav-container {
        flex-wrap: wrap;
    }

    .main-header .primary-navigation {
        flex: 0 0 100%;
        width: 100%;
    }

    .main-header .nav-actions {
        margin-left: auto;
    }
}
