/*-------------------------------------------------
  IBMPlexSansArabic Font Family
---------------------------------------------------*/

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('./../fonts/IBMPlexSansArabic-Light.eot');
    src: url('./../fonts/IBMPlexSansArabic-Light.eot?#iefix') format('embedded-opentype'), url('./../fonts/IBMPlexSansArabic-Light.woff2') format('woff2'), url('./../fonts/IBMPlexSansArabic-Light.woff') format('woff'), url('./../fonts/IBMPlexSansArabic-Light.ttf') format('truetype'), url('./../fonts/IBMPlexSansArabic-Light.svg#IBMPlexSansArabic-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('./../fonts/IBMPlexSansArabic-Regular.eot');
    src: url('./../fonts/IBMPlexSansArabic-Regular.eot?#iefix') format('embedded-opentype'), url('./../fonts/IBMPlexSansArabic-Regular.woff2') format('woff2'), url('./../fonts/IBMPlexSansArabic-Regular.woff') format('woff'), url('./../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype'), url('./../fonts/IBMPlexSansArabic-Regular.svg#IBMPlexSansArabic-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('./../fonts/IBMPlexSansArabic-SemiBold.eot');
    src: url('./../fonts/IBMPlexSansArabic-SemiBold.eot?#iefix') format('embedded-opentype'), url('./../fonts/IBMPlexSansArabic-SemiBold.woff2') format('woff2'), url('./../fonts/IBMPlexSansArabic-SemiBold.woff') format('woff'), url('./../fonts/IBMPlexSansArabic-SemiBold.ttf') format('truetype'), url('./../fonts/IBMPlexSansArabic-SemiBold.svg#IBMPlexSansArabic-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('./../fonts/IBMPlexSansArabic-Bold.eot');
    src: url('./../fonts/IBMPlexSansArabic-Bold.eot?#iefix') format('embedded-opentype'), url('./../fonts/IBMPlexSansArabic-Bold.woff2') format('woff2'), url('./../fonts/IBMPlexSansArabic-Bold.woff') format('woff'), url('./../fonts/IBMPlexSansArabic-Bold.ttf') format('truetype'), url('./../fonts/IBMPlexSansArabic-Bold.svg#IBMPlexSansArabic-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
}

a {
    color: #89a607;
}

.gi-header-btn.dropdown .dropdown-menu {
    min-width: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
}

.gi-header-btn.dropdown .dropdown-menu .active a {
    background-color: #667eea;
    color: white;
}

.gi-header-btn.dropdown .dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.gi-header-btn.dropdown .dropdown-menu .active a:hover {
    background-color: #5a6fd8;
}


/* Category SVG Icon Styles */

.category-svg-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.category-svg-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Desktop Language Switcher Styles */

.header-top-lan .dropdown-menu .active a {
    background-color: #667eea;
    color: white;
}

.header-top-lan .dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.header-top-lan .dropdown-menu .active a:hover {
    background-color: #5a6fd8;
}

#newsletter-response {
    margin-top: 10px;
    font-size: 13px;
}


/* Language Flag Icon Styles */

.language-flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-language-flag-icon {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.1);
}


/* Language dropdown item alignment */

.header-top-lan .dropdown-item {
    display: flex;
    align-items: center;
}

.header-top-lan .dropdown-item .language-flag-icon {
    margin-right: 8px;
    flex-shrink: 0;
}


/* Mobile language dropdown item alignment */

.gi-header-btn.dropdown .dropdown-item {
    display: flex;
    align-items: center;
}

.gi-header-btn.dropdown .dropdown-item .language-flag-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

.gi-cat-dropdown .gi-cat-tab .tab-content .gi-col-title {
    font-size: 14px;
    line-height: 18px;
}

ul.cat-list {
    margin-bottom: 10px;
}


/* Subcategory styling in category menu */

.subcategory-title {
    font-weight: 600;
    color: #afd600;
    margin-top: 8px;
    margin-bottom: 4px;
    padding-left: 0;
}

.subcategory-title strong {
    font-family: 'IBMPlexSansArabic-SemiBold', sans-serif;
}

.subcategory-product {
    padding-left: 15px;
    margin-bottom: 2px;
}

.subcategory-product a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.subcategory-product a:hover {
    color: #afd600;
}


/* RTL Support for subcategory styling */

[dir="rtl"] .subcategory-product {
    padding-left: 0;
    padding-right: 15px;
}


/* Category Icon SVG Styles for Home Page */

.category-icon-svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}


/* Responsive Mega Menu Width */

.mega-menu .d-flex {
    width: auto;
    min-width: 200px;
}


/* Adjust width based on number of columns */

.mega-menu-1-cols {
    width: 300px !important;
    /* 1 column */
}

.mega-menu-2-cols {
    width: 500px !important;
    /* 2 columns */
}

.mega-menu-3-cols {
    width: 700px !important;
    /* 3 columns */
}

.mega-menu-4-cols {
    width: 900px !important;
    /* 4 columns */
}


/* Modern Product Card Styles */

.gi-product-content {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5; */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* .gi-product-content:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e3e8f0;
} */


/* Product Image Styles - Compact Layout */

.gi-pro-image-outer {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px 16px 0 0;
    position: relative;
}


/* List View Image Container Fix */

.list-view .gi-pro-image-outer,
.list-view-50 .gi-pro-image-outer {
    width: 270px;
    min-width: 270px;
    flex-shrink: 0;
    border-radius: 16px 0 0 16px;
}


/* Responsive adjustments for list view */

@media (max-width: 768px) {
    .list-view .gi-pro-image-outer,
    .list-view-50 .gi-pro-image-outer {
        width: 200px;
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .list-view .gi-pro-image-outer,
    .list-view-50 .gi-pro-image-outer {
        width: 150px;
        min-width: 150px;
    }
}

.gi-pro-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gi-pro-image .image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.gi-pro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gi-product-content:hover .gi-pro-image img {
    transform: scale(1.08);
}

.gi-pro-image .main-image,
.gi-pro-image .hover-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}

.gi-pro-image:hover .main-image {
    opacity: 0;
}

.gi-pro-image:hover .hover-image {
    opacity: 1;
}

.gi-pro-image .hover-image {
    opacity: 0;
}


/* Enhanced Action Buttons */

.gi-pro-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gi-product-content:hover .gi-pro-actions {
    opacity: 1;
    transform: translateX(0);
}

.gi-btn-group {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gi-btn-group:hover {
    background: #667eea;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.gi-btn-group.add-to-cart:hover {
    background: #48bb78;
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.gi-btn-group.wishlist:hover {
    background: #ed64a6;
    box-shadow: 0 6px 20px rgba(237, 100, 166, 0.4);
}


/* Enhanced Labels and Flags */

.flags {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.flags .new {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    font-family: 'IBMPlexSansArabic-SemiBold', sans-serif;
}

.label.veg {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 24px;
    height: 24px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.label.veg .dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}


/* Responsive adjustments - Compact Layout */

@media (max-width: 768px) {
    .gi-pro-image-outer {
        height: 180px;
    }
    .gi-pro-content {
        padding: 14px;
    }
    .gi-pro-content .gi-pro-title {
        font-size: 15px;
        min-height: 36px;
    }
    .gi-price .new-price {
        font-size: 18px;
    }
    .gi-pro-details {
        padding: 10px;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .gi-btn-group {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .gi-pro-image-outer {
        height: 160px;
    }
    .gi-pro-content {
        padding: 12px;
    }
    .gi-pro-content .gi-pro-title {
        font-size: 14px;
        min-height: 32px;
    }
    .gi-pro-content .gi-pro-stitle {
        font-size: 11px;
    }
    .gi-price .new-price {
        font-size: 16px;
    }
    .gi-pro-details {
        padding: 8px;
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .product-detail-item {
        font-size: 11px;
    }
    .detail-icon {
        width: 16px;
        height: 16px;
    }
    .detail-icon i {
        font-size: 10px;
    }
    .detail-value {
        font-size: 11px;
    }
    .gi-pro-label {
        font-size: 10px;
        padding: 2px 4px;
    }
}


/* Product Content Layout - Enhanced */

.gi-product-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.gi-pro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background: #ffffff;
}

.gi-pro-content .gi-pro-stitle {
    margin-bottom: 8px;
    font-size: 13px;
    color: #8e9aaf;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'IBMPlexSansArabic-Regular', sans-serif;
}

.gi-pro-content .gi-pro-stitle a {
    color: #8e9aaf;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gi-pro-content .gi-pro-stitle a:hover {
    color: #667eea;
}

.gi-pro-content .gi-pro-title {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.3;
    min-height: auto;
    display: flex;
    align-items: center;
    font-family: 'IBMPlexSansArabic-SemiBold', sans-serif;
    font-weight: 600;
}

.gi-pro-content .gi-pro-title a {
    color: #2d3748;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    font-family: 'IBMPlexSansArabic-SemiBold', sans-serif;
}

.gi-pro-content .gi-pro-title a:hover {
    color: #667eea;
}


/* Product Label Styles - Footer Layout */

.gi-pro-label {
    font-size: 11px;
    color: #8e9aaf;
    font-style: italic;
    line-height: 1.3;
    padding: 3px 6px;
    background: #f8f9fa;
    border-radius: 4px;
    display: inline-block;
    font-family: 'IBMPlexSansArabic-Regular', sans-serif;
    border: 1px solid #e9ecef;
}

.gi-pro-rat-price {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
}

.gi-pro-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}


/* .gi-price {
    text-align: right;
} */

.gi-price .new-price {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    font-family: 'IBMPlexSansArabic-SemiBold', sans-serif;
    letter-spacing: -0.5px;
}


/* Product Details Styles - Compact Grid Layout */

.gi-pro-details {
    margin: 12px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-detail-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    padding: 4px 0;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-right: 8px;
}

.detail-icon i {
    font-size: 12px;
    color: #667eea;
}

.detail-value {
    color: #4a5568;
    font-weight: 500;
    font-family: 'IBMPlexSansArabic-Regular', sans-serif;
    font-size: 12px;
}

.detail-value.low-stock {
    color: #e53e3e;
    font-weight: 600;
    background: #fed7d7;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 11px;
}


/* Adjust grid for different numbers of items */

.gi-pro-details:has(.product-detail-item:nth-child(3)) {
    grid-template-columns: 1fr 1fr;
}

.gi-pro-details:has(.product-detail-item:nth-child(4)) {
    grid-template-columns: 1fr 1fr;
}

.gi-pro-details:has(.product-detail-item:nth-child(5)) {
    grid-template-columns: 1fr 1fr;
}

.gi-pro-details:has(.product-detail-item:nth-child(6)) {
    grid-template-columns: 1fr 1fr 1fr;
}


/* Additional responsive adjustments for product details */

@media (max-width: 768px) {
    .gi-pro-details {
        margin: 12px 0;
    }
}

@media (max-width: 576px) {
    .gi-pro-details {
        margin: 10px 0;
    }
}


/* Ensure all product boxes have equal height */

.row .gi-product-box {
    margin-bottom: 30px;
}


/* Quickview Modal Additional Fields */

.gi-quickview-label,
.gi-quickview-code,
.gi-quickview-weight,
.gi-quickview-sizes {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.gi-quickview-label strong,
.gi-quickview-code strong,
.gi-quickview-weight strong,
.gi-quickview-sizes strong {
    color: #333;
    margin-right: 8px;
}


/* Color selection styles */

.gi-opt-color li {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: none;
}

.gi-opt-color li:hover {
    border-color: #333;
    transform: scale(1.1);
}

.gi-opt-color li.active {
    border-color: #333;
    border-width: 3px;
}

.gi-opt-color li a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
}

.gi-pro-variation-color {
    margin-bottom: 15px;
}

.gi-pro-variation-color h6 {
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}


/* Small label under product name */

.gi-quickview-label-small {
    display: block;
    margin-top: -10px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #888;
    font-style: italic;
}


/* Weight display in quickview */

.gi-quickview-weight {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.gi-quickview-weight i {
    margin-right: 8px;
    font-size: 16px;
    color: #333;
}

.gi-quickview-weight span {
    font-weight: 500;
}


/* Fix for quickview modal close button */

.quickview-modal .qty_close {
    width: 30px !important;
    height: 30px !important;
    background: url(../img/icons/close.svg) center/contain no-repeat !important;
    background-size: 20px 20px !important;
    border: none !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s ease !important;
}

.quickview-modal .qty_close:hover {
    opacity: 1 !important;
}

.quickview-pro-content .gi-pro-variation .gi-pro-variation-content ul li {
    height: 30px;
}

.gi-product-inner .gi-pro-image .flags {
    -ms-flex-direction: row;
    flex-direction: row;
}

.gi-product-inner .gi-pro-content .gi-pro-rat-price {
    -ms-flex-direction: row;
    flex-direction: row;
}

.gi-product-inner .gi-pro-content .gi-pro-stitle {
    margin-bottom: 0;
}

.gi-product-inner .gi-pro-content .gi-pro-stitle {
    color: #afd600;
}

.gi-product-content {
    padding: 0;
}


/* Agent Modal Specific Styles - Override template modal sizing */

#agentModal .modal-dialog {
    max-width: 400px !important;
    width: 400px !important;
    height: auto !important;
    padding: 15px !important;
}


/* Minimize modal height and spacing */

#agentModal .modal-content {
    max-height: 560px !important;
}

#agentModal .modal-body {
    padding: 20px !important;
}

#agentModal .modal-header {
    padding: 15px 20px !important;
    border-bottom: 1px solid #dee2e6 !important;
}

#agentModal .modal-footer {
    padding: 10px 20px !important;
    border-top: 1px solid #dee2e6 !important;
}


/* Compact spacing for agent content */

#agentModal .mb-4 {
    margin-bottom: 1rem !important;
}

#agentModal .mb-3 {
    margin-bottom: 0.75rem !important;
}

#agentModal .gi-box {
    padding: 15px !important;
    margin-bottom: 10px !important;
}

#agentModal .mb-2 {
    margin-bottom: 0.5rem !important;
}

#agentModal .mb-1 {
    margin-bottom: 0.25rem !important;
}


/* Responsive adjustments for agent modal */

@media (max-width: 576px) {
    #agentModal .modal-dialog {
        max-width: 90% !important;
        width: 90% !important;
        margin: 15px auto !important;
    }
    #agentModal .modal-content {
        max-height: 400px !important;
    }
}


/* Agents Page Styling */

.gi-agents {
    background-color: #f8f9fa;
}

.agents-grid .gi-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
}

.agent-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(92, 175, 144, 0.15);
    border-color: #5caf90;
}

.agent-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.agent-flag img {
    transition: transform 0.3s ease;
}

.agent-card:hover .agent-flag img {
    transform: scale(1.1);
}

.agent-name {
    font-family: 'IBMPlexSansArabic-SemiBold', sans-serif;
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.agent-location {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.agent-contact {
    flex: 1;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-value {
    display: block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #5caf90;
    text-decoration: none;
}

.agent-actions {
    text-align: center;
    padding-top: 15px;
}

.agent-actions .gi-btn-2 {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.agent-actions .gi-btn-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 175, 144, 0.3);
}


/* Empty state styling */

.gi-agents .text-center .gi-box {
    padding: 60px 30px;
    border: 2px dashed #ddd;
    background: #fafafa;
}

.gi-agents .text-center i {
    margin-bottom: 20px;
}

.gi-agents .text-center h3 {
    color: #666;
    margin-bottom: 15px;
}


/* Responsive adjustments for agents page */

@media (max-width: 768px) {
    .agent-name {
        font-size: 18px;
    }
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 8px 0;
    }
    .contact-icon {
        margin-bottom: 8px;
        margin-right: 0;
    }
    .agent-actions .gi-btn-2 {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .agents-grid .col-xs-12 {
        margin-bottom: 20px;
    }
    .agent-card {
        margin-bottom: 0;
    }
}


/* About Section Custom Styles */


/* Two-color title styling */

.gi-about .gi-about-detail .section-title h2 .title-dark,
.gi-breadcrumb-title .title-dark {
    color: #4b5966;
}

.gi-about .gi-about-detail .section-title h2 .title-green,
.gi-breadcrumb-title .title-green {
    color: #afd600;
}


/* Image container layout */

.gi-about .gi-about-img {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.horizontal-images-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 50%;
}


/* Main image container (vertical) */

.image-container.main-image-container {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}


/* Horizontal image containers */

.image-container.horizontal-image-container {
    flex: 1;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}


/* Image styling within containers */

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .horizontal-images-row {
        flex-direction: column;
        height: auto;
    }
    .image-container.main-image-container,
    .image-container.horizontal-image-container {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gi-about .gi-about-img {
        gap: 15px;
    }
    .horizontal-images-row {
        flex-direction: column;
        height: auto;
    }
    .image-container.main-image-container,
    .image-container.horizontal-image-container {
        height: 150px;
    }
}


/* Admin Sidebar Navigation Icon Styles */

.nav-icon.testimonials {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}


/* Footer Arabic Font Styling */

.gi-footer {
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
}

.gi-footer-heading {
    font-family: 'IBMPlexSansArabic-SemiBold', Arial, sans-serif !important;
    font-weight: 600;
}

.gi-footer-detail {
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
    line-height: 1.6;
}

.gi-footer-link {
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
}

.gi-footer-link a {
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
    transition: color 0.3s ease;
}

.gi-footer-link a:hover {
    color: #89a607;
}

.gi-copy {
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
}

.gi-copy .site-name {
    font-family: 'IBMPlexSansArabic-SemiBold', Arial, sans-serif;
    font-weight: 600;
}


/* Newsletter Modal Arabic Styling */

#gi-popnews-box h2 {
    font-family: 'IBMPlexSansArabic-SemiBold', Arial, sans-serif !important;
    font-weight: 600;
}

#gi-popnews-box p {
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
}

#gi-popnews-form input[type="email"] {
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
    text-align: right;
    direction: rtl;
}

#gi-popnews-form button {
    font-family: 'IBMPlexSansArabic-SemiBold', Arial, sans-serif;
    font-weight: 600;
}


/* RTL Footer Layout Adjustments */

.gi-footer[dir="rtl"] .gi-footer-links ul {
    text-align: right;
}

.gi-footer[dir="rtl"] .gi-footer-links li {
    text-align: right;
}

.gi-footer[dir="rtl"] .gi-footer-contact ul {
    text-align: right;
}

.gi-footer[dir="rtl"] .gi-footer-social ul {
    text-align: right;
}


/* Footer Subcategory Styling */

.gi-footer .subcategory-list {
    margin-top: 5px;
    padding-left: 15px;
    list-style: none;
}

.gi-footer .subcategory-item {
    margin-bottom: 3px;
}

.gi-footer .subcategory-item a {
    font-size: 0.85em;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gi-footer .subcategory-item a:hover {
    color: #89a607;
}


/* Footer Layout Adjustments */

.gi-footer .gi-footer-links ul {
    text-align: left;
}

.gi-footer .gi-footer-links li {
    text-align: left;
}

.gi-footer .gi-footer-contact ul {
    text-align: left;
}

.gi-footer .gi-footer-social ul {
    text-align: left;
}


/* Contact info styling */

.gi-footer .gi-foo-location,
.gi-footer .gi-foo-call,
.gi-footer .gi-foo-mail,
.gi-footer .gi-foo-whatsapp {
    direction: ltr;
    text-align: left;
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.gi-footer .gi-foo-location span,
.gi-footer .gi-foo-call span,
.gi-footer .gi-foo-mail span,
.gi-footer .gi-foo-whatsapp span {
    margin-right: 10px;
    margin-left: 0;
    flex-shrink: 0;
}

.gi-footer .gi-foo-location p,
.gi-footer .gi-foo-call a,
.gi-footer .gi-foo-mail a,
.gi-footer .gi-foo-whatsapp a {
    margin: 0;
    flex: 1;
}


/* Footer Newsletter Subscription Styling */

.gi-newsletter-subscription {
    margin-top: 20px;
}

.gi-newsletter-subscription .newsletter-title {
    font-family: 'IBMPlexSansArabic-SemiBold', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

.gi-newsletter-subscription .newsletter-form {
    margin-bottom: 10px;
}

.gi-newsletter-subscription .input-group {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gi-newsletter-subscription .newsletter-email {
    flex: 1;
    border: 1px solid #ddd;
    border-right: none;
    padding: 10px 12px;
    font-size: 13px;
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.gi-newsletter-subscription .newsletter-email:focus {
    border-color: #89a607;
    box-shadow: 0 0 0 2px rgba(137, 166, 7, 0.2);
}

.gi-newsletter-subscription .newsletter-btn {
    background-color: #afd600;
    border: 1px solid #afd600;
    color: white;
    padding: 10px 20px 5px 20px;
    font-size: 14px;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.gi-newsletter-subscription .newsletter-btn:hover {
    background-color: #7a9506;
    border-color: #7a9506;
}

.gi-newsletter-subscription .newsletter-btn:focus {
    box-shadow: 0 0 0 2px rgba(137, 166, 7, 0.2);
}

.gi-newsletter-subscription .newsletter-response {
    font-size: 12px;
    margin-top: 8px;
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
}

.gi-newsletter-subscription .newsletter-response.success {
    color: #28a745;
}

.gi-newsletter-subscription .newsletter-response.error {
    color: #dc3545;
}

.gi-newsletter-subscription .newsletter-response.info {
    color: #17a2b8;
}


/* Responsive adjustments for newsletter */

@media (max-width: 768px) {
    .gi-newsletter-subscription .newsletter-title {
        font-size: 13px;
    }
    .gi-newsletter-subscription .newsletter-email {
        font-size: 12px;
        padding: 8px 10px;
    }
    .gi-newsletter-subscription .newsletter-btn {
        padding: 8px 10px;
        font-size: 13px;
    }
    .gi-newsletter-subscription {
        margin-bottom: 30px;
    }
}

.gi-footer .footer-top .gi-footer-widget .gi-footer-detail {
    margin-bottom: 10px;
}

.footer-bottom .gi-bottom-info {
    justify-content: center !important;
}

a.sub-cat-link {
    color: #4b5966 !important;
    font-size: 14px !important;
}

.gi-cat-dropdown .gi-cat-tab .gi-tab-list {
    justify-content: flex-start !important;
}


/* Product Label Styles */

.gi-single-label-wrap {
    margin-bottom: 15px;
}

.gi-single-label {
    display: inline-block;
}

.product-label {
    display: inline-block;
    color: gray;
    padding: 6px 0 12px;
    font-size: 15px;
    font-family: 'IBMPlexSansArabic-Regular', Arial, sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}


/* Responsive adjustments for product label */

@media (max-width: 768px) {
    .product-label {
        font-size: 12px;
        padding: 5px 10px;
    }
}


/* .header-search {
    min-width: 900px !important;
} */

.gi-footer .footer-top .gi-footer-widget .gi-footer-detail {
    margin-bottom: 10px !important;
}

.gi-category-menu .gi-category-toggle,
.gi-location-block .gi-location-menu .gi-location-toggle,
.gi-btn-2,
.gi-btn-1:hover,
.gi-product-inner .gi-pro-image .flags span {
    background-color: #afd600 !important;
}

.gi-main-menu ul li:hover>a,
.header-top-social ul li:hover i,
.gi-ser-inner .gi-service-image i,
.svg_img.foo_svg,
.gi-footer .footer-top .gi-footer-widget .gi-footer-links .gi-footer-link,
.gi-product-inner .gi-pro-content .gi-pro-title a:hover,
.gi-cat-dropdown .gi-cat-tab button.active,
.gi-cat-dropdown .gi-cat-tab button.active i,
.gi-main-menu ul li .mega-menu li .mega-block li.menu_title a,
.gi-location-block .gi-location-dropdown .loc-grid .loc-list:hover,
.gi-location-block .gi-location-dropdown .loc-grid .loc-list:hover i,
.section-title .section-detail h2 span,
.gi-main-menu>ul>li:hover>a i,
.section-title-2 h2 span,
.gi-test-section .gi-test-name {
    color: #afd600 !important;
}

.gi-location-block .gi-location-dropdown .loc-grid .loc-list:hover {
    border: 1px solid #afd600 !important;
}

.gi-cat-dropdown .gi-cat-tab button.active {
    border-color: #afd600 !important;
}

.header-top-lan .dropdown-menu .active a:hover {
    color: #777 !important;
    background-color: unset !important;
}

a.gi-btn-1 {
    padding: 10px 45px;
}

.header-top {
    background-color: #f0f0f0 !important;
}

.gi-product-inner .gi-pro-image .flags span {
    width: 76px;
}

.gi-about .gi-about-img {
    display: flex !important;
}

.gi-deal-section .gi-product-inner .gi-pro-image .image {
    width: 240px !important;
}


/* Quickview Modal Styles */

.quickview-modal .modal-xl {
    max-width: 1140px;
}

.quickview-modal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.quickview-modal .modal-body {
    padding: 30px;
}

.quickview-modal .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    cursor: pointer;
}

.quickview-modal .btn-close i {
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.quickview-modal .btn-close:hover {
    background: #f44336;
}

.quickview-modal .btn-close:hover i {
    color: #000;
}

.quickview-modal .single-pro-img {
    margin-bottom: 0;
    width: 100%;
}

.quickview-modal .quickview-image-wrapper {
    width: 100%;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    padding: 0px;
}

.quickview-modal .quickview-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.quickview-modal .gi-single-title {
    margin-bottom: 15px;
    font-size: 24px;
}

.quickview-modal .gi-single-label-wrap {
    margin-bottom: 15px;
}

.quickview-modal .gi-single-price-stoke {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.quickview-modal .gi-single-desc {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.quickview-modal .gi-single-list {
    margin-bottom: 25px;
}

.quickview-modal .gi-single-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quickview-modal .gi-single-list ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.quickview-modal .gi-single-list ul li:last-child {
    border-bottom: none;
}

.quickview-modal .gi-single-list ul li strong {
    color: #333;
    font-weight: 600;
    min-width: 150px;
    display: inline-block;
}

.quickview-modal .gi-pro-variation {
    margin-bottom: 25px;
}

.quickview-modal .gi-pro-variation-inner {
    margin-bottom: 15px;
}

.quickview-modal .gi-pro-variation-inner>span {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.quickview-modal .gi-pro-variation-content ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.quickview-modal .gi-pro-variation-color .color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quickview-modal .gi-pro-variation-color li.active .color-swatch,
.quickview-modal .gi-pro-variation-color .color-swatch:hover {
    box-shadow: 0 0 0 2px #3474d4;
}

.quickview-modal .gi-pro-variation-size ul li {
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quickview-modal .gi-pro-variation-size ul li.active,
.quickview-modal .gi-pro-variation-size ul li:hover {
    border-color: #3474d4;
    background: #3474d4;
    color: #fff;
}

.quickview-modal .gi-pro-variation-size ul li span {
    font-size: 14px;
    font-weight: 500;
}

.quickview-modal .gi-single-qty {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quickview-modal .qty-plus-minus {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.quickview-modal .gi-qtybtn {
    width: 40px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f8f8f8;
    font-size: 18px;
    user-select: none;
    transition: all 0.3s ease;
}

.quickview-modal .gi-qtybtn:hover {
    background: #3474d4;
    color: #fff;
}

.quickview-modal .qty-input {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-weight: 600;
}

.quickview-modal .gi-single-cart .gi-btn-1 {
    height: 45px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.quickview-modal .gi-single-wishlist .gi-btn-group {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quickview-modal .gi-single-wishlist .gi-btn-group:hover {
    background: #3474d4;
    border-color: #3474d4;
    color: #fff;
}

.quickview-modal .gi-single-wishlist .gi-btn-group i {
    font-size: 18px;
}


/* Responsive adjustments */

@media (max-width: 991px) {
    .quickview-modal .modal-xl {
        max-width: 90%;
    }
    .quickview-modal .modal-body {
        padding: 20px;
    }
    .quickview-modal .gi-single-qty {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .quickview-modal .modal-body {
        padding: 15px;
    }
    .quickview-modal .quickview-image-wrapper {
        height: 300px;
    }
    .quickview-modal .gi-single-title {
        font-size: 20px;
    }
}

.gi-shop .gi-pro-list-top .gi-sort-select .gi-select-inner {
    width: 165px !important;
}

.header-search {
    min-width: 1180px !important;
}

.deal-slick-carousel .slick-track .slick-slide {
    display: flex;
    padding: 0px 0px;
}

.gi-pro-image-outer {
    height: 250px !important;
}

.gi-product-inner .gi-pro-content .gi-pro-title a {
    color: #AFD600 !important;
}

.gi-category .gi-category-block .gi-cat-box .gi-cat-icon .gi-cat-detail .gi-cat-title,
.gi-category .gi-category-block-2 .gi-cat-box .gi-cat-icon .gi-cat-detail .gi-cat-title {
    min-height: 45px;
}

@media (max-width: 1180px) {
    .header-search {
        min-width: 500px !important;
    }
    .deal-slick-carousel .slick-track .slick-slide {
        display: flex;
        padding: 0px 0px;
        flex-basis: max-content;
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .header-search {
        min-width: 500px !important;
    }
    .deal-slick-carousel .slick-track .slick-slide {
        display: flex;
        padding: 0px 0px;
        flex-basis: max-content;
        flex-direction: column;
    }
    .gi-pro-details:has(.product-detail-item) {
        grid-template-columns: unset;
        display: flex;
        flex-direction: column;
    }
    .mob-view.row {
        flex-direction: column;
    }
    .gi-single-product .single-pro-desc-no-sidebar {
        width: 100% !important;
    }
    .gi-single-product .single-pro-img-no-sidebar {
        width: 100% !important;
    }
    .dropdown-toggle::after {
        margin-left: 0.5em;
        margin-top: 10px;
        margin-right: unset;
    }
    .mobile-language-flag-icon {
        width: 35px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .gi-pro-details {
        display: none !important;
    }
    .mobile-language-flag-icon {
        width: 35px;
        height: auto;
    }
    .dropdown-toggle::after {
        margin-left: 0.5em;
        margin-top: 10px;
        margin-right: unset;
    }
    .header-search {
        min-width: 360px !important;
        ;
    }
    .gi-pro-details:has(.product-detail-item) {
        grid-template-columns: unset;
        display: flex;
        flex-direction: column;
    }
    .mob-view.row {
        flex-direction: column;
    }
    .gi-single-product .single-pro-desc-no-sidebar {
        width: 100% !important;
    }
    .gi-single-product .single-pro-img-no-sidebar {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .header-search {
        min-width: 360px !important;
    }
}

.arabic {
    font-family: 'IBMPlexSansArabic', Arial, sans-serif !important;
}

.header-top-message {
    font-weight: 600 !important;
}


/* .gi-about .gi-about-detail {
    justify-content: flex-start !important;
} */


/* Contact Form Messages */

#contact-message {
    display: none;
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

#contact-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#contact-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#contact-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

#contact-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}


/* .gi-hero .gi-main-content .gi-slider-content .gi-main-slider .gi-slider .gi-slide-content p {
    color: #5caf90;
} */

.gi-location-block .gi-location-menu .gi-location-toggle {
    background-color: rgb(75, 89, 102) !important;
}


/* Full Height Page Layout - Fix white space below footer */

html {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    min-height: 100vh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}


/* Main content wrapper - grows to fill available space */

#main-content-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 1250px;
}


/* Footer stays at bottom */

.gi-footer {
    flex-shrink: 0;
    margin-bottom: 0 !important;
    margin-top: auto;
}


/* Ensure no extra space after footer */

body>*:last-child:not(.gi-footer) {
    margin-bottom: 0;
}

.gi-cat-dropdown .gi-cat-tab .tab-content .tab-list li a {
    line-height: 17px !important;
    padding: 5px 0 !important;
}

.gi-cat-dropdown {
    width: 900px !important;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom .gi-copy a {
    color: #e20048 !important;
    font-weight: 600;
}

i.fa.fa-heart {
    color: #e20048;
}

@media (max-width: 767px) {
    .gi-animated-banner .gi-bnr-detail h3 {
        font-size: 16px;
        margin-top: 5px;
    }
    .gi-animated-banner .gi-bnr-detail h2 {
        font-size: 15px;
        line-height: 18px;
    }
}

@media (max-width: 480px) {
    .gi-animated-banner .gi-bnr-detail h2 {
        font-size: 15px;
        line-height: 18px;
    }
}