@font-face {
    font-family: 'IBM Plex Sans Arabic';
    src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f7;
    /* overflow-x: hiddffen; */
}
.site-header {
    border-bottom: 5px solid #a3d062;
    font-size: 14px;
}
.products-slider ,.slick-dotted.slick-slider{
    overflow-x: hidden;
}
.single-product-page .related-products {
    margin-right: 15px ;
    margin-left: 15px ;
}

.site-header a {
    color: #fff;
    text-decoration: none;
    padding: 2px 5px;
}
.site-header a:not(:last-child)::after {
    background-color: #fff;
    width: 1px;
    height: 40px;
    content: '';
    display: inline-block;
    position: absolute;
    margin-top: -10px;
    margin-right: 5px;
    opacity: .5;
}

#websiteNav {
    background-image: linear-gradient(to top, #ecfaf1, #ecfaf1, #e7f7eb);

}

#websiteNav .nav-link {
    font-size: 18pt;
}


.slider-wrapper .slide-content {
    position: absolute;
    margin-top: -4em;
    width: 100%;
    text-align: center;
    text-shadow: 0 1px 1px #FFF;
}
.slider-wrapper .slick-dotted.slick-slider {
    margin-bottom: 0 !important;
    overflow: hidden;
}
.slider-wrapper .slick-dots {
    z-index: 2;
}

.why-us {
    z-index: 1;
    position: relative;
    padding-top: 250px;
    top: -20px;
}
.why-us .row {
    margin-top: 50px;
    text-align: center;
}
.why-us .row img {
    max-width: 45px;
    object-fit: contain;
    object-position: center center;
}
.why-us h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}
.why-us p {
    font-size: 14px;
}
.bg-green {
    background-color: #aadcb0;
}
.text-green {
    color: #aadcb0;
}

.embed-responsive {
    position: relative;
    margin-top: -20px;
}

.product-item {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    z-index: 1;
}
.main-products-wrapper .product-item {
    margin-left: 0;
    margin-right: 0;
}
.product-item img {
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.product-item h3 {
    font-size: 16px;
    margin-top: 15px;
    height: 2.4em;
    overflow: hidden;
    color: #1c4261;
    font-weight: bold
}

.product-item span.price {
    color: #1c4261;
    font-weight: 700;
}
.product-item del {
    font-size: smaller;
    color: #7c7c7c;
}

.btn-cart {
    background-color: #8dc543;
    border: 2px solid #8dc543;
    color: #fff;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    text-decoration: none;
    flex-grow: 1;
}

.btn-fav, .btn-whatsapp {
    border: 2px solid #818181;
    border-radius: 10px;
    padding: 5px 10px;
}


.btn-fav {
    color: red;
}
.btn-fav.active {
    background-color: red;
    color: white;
    border-color: red;
}

.btn-whatsapp {
    color: #5b802a;
}

.buttons-wrapper .stepper {
    display: flex;
    gap: 5px;
    width: 100%;
}

.for-customers .for-customers-grid  {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.for-customers .for-customers-grid .card-body {
    text-align: center;
}

.categories-slider div{
    margin: 0 15px 0 0 ;
}

.categories-slider img {
    aspect-ratio: 1 / 1;
}

.categories-slider .card, .categories-slider .card-img-top {
    border-radius: 30px;
    overflow: hidden;
}

footer {
    padding-top: 50px;
    margin-top: 50px;
    border-top: 1px solid rgba(221, 221, 221, 0.467);
    background-image: linear-gradient(to top, #a8d497, #daead6 30%, #f5f5f7);
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 15px;
}

.footer-inner ul {
    padding: 0;
}
.footer-inner li {
    list-style: none;
}

.footer-inner li a {
    text-decoration: none;
    color: #000;
}

.breadcrumb {
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

.breadcrumb li {
    color: #818181;
    font-size: 14px;
}

.breadcrumb-item.active {
    color: #1c4261;
    font-weight: 600;
}

.breadcrumb a {
    color: #8dc543;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #5b802a;
    text-decoration: underline;
}

.dropdown-menu[data-bs-popper] {
    left: auto !important;
    text-align: right;
}

@media screen and (max-width: 991px) {
    .footer-inner {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .dropdown-menu[data-bs-popper] {
        background: transparent;
        border-left: 0;
        border-top: 0;
        border-bottom: 0;
        border-radius: 0;
        font-size: 23px;
        border-color: #a3b8ab;
        border-width: 4px;
        margin-top: -13px;
    }

}

/* ===========================================
   ENHANCED PRODUCTS SIDEBAR STYLES
   =========================================== */

/* Products Sidebar */
.products-sidebar {
    padding-left: 15px;
}

.sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Sidebar Sections */
.sidebar-section {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

/* Category Showcase */
.category-showcase {
    position: relative;
    padding: 0;
}

.category-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.category-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(28, 66, 97, 0.9));
    padding: 20px;
    color: #fff;
}

.category-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
}

.category-desc {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Filters Section */
.filters-section {
    padding: 0;
}

.section-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    color: #1c4261;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #8dc543;
}

.btn-clear-filters {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-clear-filters:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-1px);
}

.filters-container {
    padding: 0;
}

/* Filter Groups */
.filter-group {
    border-bottom: 1px solid #f8f9fa;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-header {
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-header:hover {
    background-color: #f8f9fa;
}

.filter-title {
    color: #1c4261;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title i {
    color: #8dc543;
    font-size: 14px;
}

.filter-toggle {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 4px;
    border-radius: 50%;
}

.filter-toggle:hover {
    background: #f8f9fa;
    color: #8dc543;
}

.filter-toggle.collapsed i {
    transform: rotate(180deg);
}

.filter-content {
    padding: 0 ;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid #cccccc2d;
}

.filter-content.active {
    max-height: 1000px;
    padding: 15px 20px;
    border-top: 0px none transparent;
}

/* Price Filter */
.price-inputs {
    display: flex;
    align-items: end;
    gap: 15px;
    margin-bottom: 15px;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 5px;
}

.input-with-currency {
    position: relative;
}

.price-input {
    padding: 8px 40px 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.price-input:focus {
    border-color: #8dc543;
    box-shadow: 0 0 0 0.2rem rgba(141, 197, 67, 0.25);
    outline: none;
}

.currency-label {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* Range Slider */
.price-range-wrapper {
    margin-top: 15px;
}

.range-slider {
    position: relative;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin: 15px 0;
}

.range-input {
    position: absolute;
    width: 100%;
    height: 18px;
    top: -6px;
    left: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #8dc543;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    cursor: grab;
    transition: all 0.2s ease;
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.range-input::-webkit-slider-thumb:active {
    cursor: grabbing;
}

.range-input::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #8dc543;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    cursor: grab;
    transition: all 0.2s ease;
}

.range-input::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.range-input::-moz-range-thumb:active {
    cursor: grabbing;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Brands Filter */
.brands-search {
    margin-bottom: 15px;
}

.brands-search-input {
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.brands-search-input:focus {
    border-color: #8dc543;
    box-shadow: 0 0 0 0.2rem rgba(141, 197, 67, 0.25);
    outline: none;
}

.brands-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.brand-option {
    display: block;
    margin: 0;
    cursor: pointer;
}

.brand-checkbox {
    display: none;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.brand-content:hover {
    border-color: #8dc543;
    background: rgba(141, 197, 67, 0.05);
}

.brand-checkbox:checked + .brand-content {
    border-color: #8dc543;
    background: rgba(141, 197, 67, 0.1);
}

.brand-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-placeholder {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

.brand-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #1c4261;
}

.brand-checkmark {
    opacity: 0;
    color: #8dc543;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.brand-checkbox:checked + .brand-content .brand-checkmark {
    opacity: 1;
}

.btn-show-more-brands {
    background: none;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-show-more-brands:hover {
    border-color: #8dc543;
    color: #8dc543;
}

/* Categories Filter */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-option {
    display: block;
    margin: 0;
    cursor: pointer;
}

.category-checkbox {
    display: none;
}

.category-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-content:hover {
    border-color: #8dc543;
    background: rgba(141, 197, 67, 0.05);
}

.category-checkbox:checked + .category-content {
    border-color: #8dc543;
    background: rgba(141, 197, 67, 0.1);
}

.category-name {
    font-size: 14px;
    font-weight: 500;
    color: #1c4261;
    flex: 1;
}

.category-count {
    font-size: 12px;
    color: #6c757d;
    margin-left: 8px;
}

.category-checkmark {
    opacity: 0;
    color: #8dc543;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.category-checkbox:checked + .category-content .category-checkmark {
    opacity: 1;
}

/* Availability Filter */
.availability-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.availability-option {
    display: block;
    margin: 0;
    cursor: pointer;
}

.availability-checkbox {
    display: none;
}

.availability-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.availability-content:hover {
    border-color: #8dc543;
    background: rgba(141, 197, 67, 0.05);
}

.availability-checkbox:checked + .availability-content {
    border-color: #8dc543;
    background: rgba(141, 197, 67, 0.1);
}

.availability-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.availability-indicator.in-stock {
    background: #28a745;
}

.availability-indicator.on-sale {
    background: #e74c3c;
}

.availability-text {
    font-size: 14px;
    font-weight: 500;
    color: #1c4261;
}

/* Filter Actions */
.filters-actions {
    padding: 25px;
    border-top: 1px solid #f8f9fa;
    background: #f8f9fa;
}

.btn-apply-filters {
    background: linear-gradient(135deg, #8dc543, #6ba730);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 197, 67, 0.4);
}

.active-filters-count {
    text-align: center;
    margin-top: 10px;
}

.filters-count-text {
    font-size: 12px;
    color: #6c757d;
}

.filters-count-text .count {
    font-weight: 600;
    color: #8dc543;
}

/* Promo Section */
.promo-section {
    background: linear-gradient(135deg, #8dc543, #6ba730);
    color: #fff;
    padding: 0;
}

.promo-card {
    padding: 25px;
}

.promo-header {
    margin-bottom: 15px;
}

.promo-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.promo-content {
    text-align: center;
}

.promo-text p {
    margin: 0 0 15px 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

.btn-promo {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-promo:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Scrollbar Styling */
.brands-list::-webkit-scrollbar {
    width: 4px;
}

.brands-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 2px;
}

.brands-list::-webkit-scrollbar-thumb {
    background: #8dc543;
    border-radius: 2px;
}

.brands-list::-webkit-scrollbar-thumb:hover {
    background: #6ba730;
}

/* Responsive Design */
@media screen and (max-width: 1199px) {
    .products-sidebar {
        margin-bottom: 30px;
    }

    .sidebar-container {
        gap: 20px;
    }

    .section-header {
        padding: 15px 20px;
    }

    .filter-content.active {
        padding: 15px 20px;
    }

    .promo-card {
        padding: 20px;
    }
}

@media screen and (max-width: 991px) {
    .products-sidebar {
        padding-left: 0;
        margin-bottom: 30px;
    }

    .sidebar-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .category-showcase {
        grid-column: 1 / -1;
    }

    .promo-section {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 767px) {
    .sidebar-container {
        grid-template-columns: 1fr;
    }

    .section-header {
        padding: 12px 15px;
    }

    .section-title {
        font-size: 18px;
    }

    .filter-content.active {
        padding: 15px;
    }

    .price-inputs {
        flex-direction: row;
        gap: 15px;
    }

    .brands-list {
        max-height: 200px;
    }

    .category-image-container {
        height: 150px;
    }

    .promo-card {
        padding: 15px;
    }

    .filters-actions {
        padding: 15px;
    }
}

/* ===========================================
   END ENHANCED PRODUCTS SIDEBAR STYLES
   =========================================== */

/* ===========================================
   EXISTING STYLES (keeping the original styles)
   =========================================== */

/* Products Page Container */
.products-page-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 40px;
}

/* Enhanced Breadcrumb */
.breadcrumb-wrapper {
    background: linear-gradient(135deg, #1c4261, #2c5a7a);
    padding: 20px 0;
    margin-bottom: 30px;
}

.enhanced-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.enhanced-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.enhanced-breadcrumb .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.enhanced-breadcrumb .breadcrumb-item a:hover {
    color: #8dc543;
    transform: translateX(5px);
}

.enhanced-breadcrumb .breadcrumb-item.active {
    color: #8dc543;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: none !important;
}
.enhanced-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

/* Category Description Section */
.category-description-section {
    margin-bottom: 40px;
}

.description-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.description-content {
    padding: 30px;
    position: relative;
}

.description-text {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    max-height: 150px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.description-text.expanded {
    max-height: none;
}

.description-toggle {
    text-align: center;
    margin-top: 20px;
}

.btn-expand-description {
    background: linear-gradient(135deg, #8dc543, #6ba730);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-expand-description:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 197, 67, 0.4);
}

.btn-expand-description .collapse-text {
    display: none;
}

.btn-expand-description.expanded .expand-text {
    display: none;
}

.btn-expand-description.expanded .collapse-text {
    display: inline;
}

.btn-expand-description i {
    transition: transform 0.3s ease;
}

.btn-expand-description.expanded i {
    transform: rotate(180deg);
}

/* Products Main Section */
.products-main-section {
    /* background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden; */
    /* margin-bottom: 30px; */
}

/* Enhanced Products Filter Section */
.products-filter-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
    padding: 25px 30px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-title {
    color: #1c4261;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.products-count {
    background: rgba(141, 197, 67, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(141, 197, 67, 0.3);
}

.count-text {
    color: #6ba730;
    font-weight: 600;
    font-size: 14px;
}

.filter-controls {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* View Options */
.view-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-label {
    color: #1c4261;
    font-weight: 600;
    font-size: 16px;
}

.view-buttons {
    display: flex;
    gap: 5px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
}

.btn-view {
    background: transparent;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-view:hover,
.btn-view.active {
    background: #8dc543;
    color: #fff;
    transform: translateY(-1px);
}

/* Sort Controls */
.sort-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.sort-label {
    color: #1c4261;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}
.sort-select-wrapper {
    flex: 1;
}
.sort-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 8px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.sort-select:focus {
    border-color: #8dc543;
    box-shadow: 0 0 0 0.2rem rgba(141, 197, 67, 0.25);
    outline: none;
}

.btn-apply-filter {
    background: linear-gradient(135deg, #8dc543, #6ba730);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-apply-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 197, 67, 0.4);
}

/* Subcategories Section */
.subcategories-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.subcategories-title {
    color: #1c4261;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.subcategory-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.subcategory-content {
    position: relative;
}

.subcategory-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.subcategory-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.subcategory-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 66, 97, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.subcategory-card:hover .subcategory-overlay {
    opacity: 1;
}

.subcategory-overlay i {
    color: #fff;
    font-size: 24px;
}

.subcategory-info {
    padding: 20px;
    text-align: center;
}

.subcategory-name {
    color: #1c4261;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.subcategory-card:hover .subcategory-name {
    color: #8dc543;
}

/* Products Grid Wrapper */

.products-grid {
    display: grid;
    gap: 25px;
    transition: all 0.3s ease;
}

.products-grid[data-view="grid"] {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.products-grid[data-view="list"] {
    grid-template-columns: 1fr;
}

.product-grid-item {
    transition: all 0.3s ease;
}

/* Enhanced Product Item Styles */
.product-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    margin: 0;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8dc543, transparent);
    transition: left 0.5s ease;
}

.product-item:hover::before {
    left: 100%;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #8dc543;
}

.product-item-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    background: #f8f9fa;
}

.product-item-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-item-img img {
    transform: scale(1.05);
}

.product-item h3 {
    font-size: 18px;
    margin: 15px 0;
    height: auto;
    min-height: 2.5em;
    color: #1c4261;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-item:hover h3 {
    color: #8dc543;
}

.product-item p {
    margin-bottom: 20px;
}

.product-item .price {
    color: #1c4261;
    font-weight: 700;
    font-size: 20px;
}

.product-item del {
    font-size: 16px;
    color: #999;
    margin-right: 10px;
}

/* List View Styles */
.products-grid[data-view="list"] .product-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 20px;
    gap: 25px;
}

.products-grid[data-view="list"] .product-item-img {
    flex-shrink: 0;
    width: 150px;
    margin-bottom: 0;
}

.products-grid[data-view="list"] .product-item-img img {
    height: 150px;
}

.products-grid[data-view="list"] .product-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Enhanced Pagination */
/* .pagination-wrapper {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
} */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-container .pagination {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pagination-container .page-link {
    color: #1c4261;
    border: none;
    padding: 12px 16px;
    margin: 0 2px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-container .page-link:hover {
    background: #8dc543;
    color: #fff;
    transform: translateY(-2px);
}

.pagination-container .page-item.active .page-link {
    background: linear-gradient(135deg, #8dc543, #6ba730);
    color: #fff;
    box-shadow: 0 4px 15px rgba(141, 197, 67, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 1199px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .products-grid[data-view="grid"] {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 991px) {
    .filter-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-controls .row {
        flex-direction: row;
        gap: 20px;
    }

    .sort-controls {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .products-grid[data-view="grid"] {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 767px) {
    .products-filter-section {
        padding: 20px 15px;
    }

    .filter-title {
        font-size: 24px;
    }

    .view-options,
    .sort-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sort-select {
        min-width: 100%;
    }

    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .subcategory-image {
        height: 150px;
    }

    .products-grid[data-view="grid"] {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .products-grid[data-view="list"] .product-item {
        flex-direction: column;
        text-align: center;
    }

    .products-grid[data-view="list"] .product-item-img {
        width: 100%;
    }

    .products-grid-wrapper {
        padding: 20px 15px;
    }

    .subcategories-section {
        padding: 20px 15px;
    }

    .description-content {
        padding: 20px;
    }

    .enhanced-breadcrumb .breadcrumb-item span {
        display: none;
    }

    .enhanced-breadcrumb .breadcrumb-item a {
        gap: 0;
    }
}

@media screen and (max-width: 575px) {
    .products-grid[data-view="grid"] {
        grid-template-columns: 1fr;
    }

    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .product-item {
        padding: 20px;
    }

    .product-item h3 {
        font-size: 16px;
    }

    .breadcrumb-wrapper {
        padding: 15px 0;
    }

    .filter-controls {
        padding: 15px;
    }
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-grid-container {
    animation: fadeInUp 0.6s ease-out;
}

.subcategory-card {
    animation: fadeInUp 0.6s ease-out;
}

.product-grid-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.products-loading {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.products-loading i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #8dc543;
    animation: spin 1s linear infinite;
}

/* Empty State */
.products-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    margin: 30px 0;
}

.products-empty i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.products-empty h3 {
    color: #6c757d;
    margin-bottom: 15px;
}

.products-empty p {
    color: #999;
    font-size: 16px;
}

/* Additional Product Features */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-badge.sale {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.product-badge.new {
    background: linear-gradient(135deg, #8dc543, #6ba730);
}

.product-badge.featured {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.product-rating .stars {
    color: #ffd700;
}

.product-rating .rating-text {
    color: #6c757d;
    font-size: 14px;
}

/* Enhanced Product Item Details */
.product-info {
    padding-top: 10px;
}

.product-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info h3 a:hover {
    color: #8dc543;
}

.product-price {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-price .old-price {
    color: #999;
    font-size: 16px;
    text-decoration: line-through;
}

.product-price .price {
    color: #1c4261;
    font-weight: 700;
    font-size: 20px;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-actions {
    margin-top: 15px;
}

/* List View Specific Styles */
.products-grid[data-view="list"] .product-item .product-info {
    flex: 1;
    text-align: left;
    padding-top: 0;
}

.products-grid[data-view="list"] .product-price {
    justify-content: flex-start;
}

.products-grid[data-view="list"] .product-description {
    min-height: auto;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Rating Stars Enhancement */
.product-rating .stars i.fa-star {
    color: #ffd700;
}

.product-rating .stars i.fa-star-o {
    color: #ddd;
}

/* Mobile Adjustments for Product Items */
@media screen and (max-width: 767px) {
    .product-item {
        padding: 20px 15px;
    }

    .product-item h3 {
        font-size: 16px;
        min-height: 2em;
    }

    .product-price .price {
        font-size: 18px;
    }

    .product-description {
        font-size: 13px;
        min-height: 35px;
    }

    .btn-quick-view {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Quick View Button Enhancement */
.btn-quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(28, 66, 97, 0.9);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.product-item:hover .btn-quick-view {
    opacity: 1;
}

.btn-quick-view:hover {
    background: #8dc543;
    transform: translate(-50%, -50%) scale(1.05);
}

/* ===========================================
   END ENHANCED PRODUCTS PAGE STYLES
   =========================================== */

/* ===========================================
   EXISTING STYLES (keeping the original styles)
   =========================================== */

/* Product Page Container */
.single-product-page {
    min-height: 100vh;
    padding: 20px 0;
}

/* Product Info Section */
.product-info {
    /* background-color: #fff; */
    overflow: hidden;
    margin-bottom: 30px;
}

.product-info.has-extra-button {
    padding: 30px;
}

/* Product Left Section (Images) */
.product-left {
    flex: 1;
    margin-right: 30px;
}

.product-image {
    position: relative;
}

.product-image.direction-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Main Product Image */
.main-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.main-image img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

/* Additional Images (Thumbnails) */
.additional-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.thumbs {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbs:hover {
    border-color: #8dc543;
    transform: scale(1.05);
}

.thumbs.active {
    border-color: #8dc543;
    box-shadow: 0 4px 15px rgba(141, 197, 67, 0.3);
}

.thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Right Section (Details) */
.product-right {
    flex: 1;
    padding-left: 30px;
}

.product-details {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
}

.product-details .title {
    color: #1c4261;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Product Blocks */
.product-blocks {
    margin-top: 25px;
}

.tabs-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-layout {
    margin-bottom: 20px;
}


/* Product Tags */
.product-tags {
    margin: 20px 0;
}

.product-tags .badge {
    margin: 5px 10px 5px 0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.product-tags .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-tags .badge.bordered {
    border: 1px solid #ddd;
}

/* Product Content */
.product-content {
    margin-top: 25px;
    line-height: 1.7;
    color: #555;
}

.product-content h1, .product-content h2, .product-content h3 {
    color: #1c4261;
    margin-top: 25px;
    margin-bottom: 15px;
}

.product-content p {
    margin-bottom: 15px;
}

.product-content ul, .product-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Caption Styles */
.caption {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 15px 0;
}

.caption .stats {
    margin-bottom: 15px;
}

.caption .stats-label {
    font-weight: 600;
    color: #1c4261;
    margin-right: 10px;
}

.caption .stat-1 a {
    color: #8dc543;
    text-decoration: none;
    font-weight: 500;
}

.caption .stat-1 a:hover {
    color: #5b802a;
    text-decoration: underline;
}

.caption .product-price {
    font-size: 24px;
    font-weight: 700;
    color: #1c4261;
    margin: 15px 0;
}

.caption .product-price span:first-child {
    color: #e74c3c;
    text-decoration: line-through;
    font-size: 18px;
    margin-right: 10px;
}

/* Buttons Wrapper */
.buttons-wrapper {
    margin-top: 20px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Stepper (Quantity Input) */
.stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 5px;
    min-width: 120px;
}

.stepper input[type="number"] {
    border: none;
    text-align: center;
    width: 60px;
    font-weight: 600;
    color: #1c4261;
}

.stepper input[type="number"]:focus {
    outline: none;
    box-shadow: none;
}
.single-product-page .page-title {
    color: #1c4261;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}
/* Enhanced Button Styles */
.btn-cart {
    background: linear-gradient(135deg, #8dc543, #6ba730);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 12px 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cart:hover {
    background: linear-gradient(135deg, #6ba730, #5b802a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 197, 67, 0.4);
    color: #fff;
}

.btn-cart:active {
    transform: translateY(0);
}

.btn-whatsapp {
    background-color: #25d366;
    border: 2px solid #25d366;
    color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    color: #fff;
}

/* Related Products Section */
.related-products {
    margin-top: 50px;
    padding: 40px 0;
    background-color: #f8f9fa;
    border-radius: 20px;
}

.related-products h4 {
    color: #1c4261;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Modal Customizations */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #8dc543, #6ba730);
    color: #fff;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 20px 25px;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 18px;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px 25px;
    gap: 10px;
}

/* Image Gallery Modal */
#myModal.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

#myModal .modal-content {
    position: relative;
    background-color: transparent;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    margin-top: 5%;
}

#myModal .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    z-index: 10000;
    cursor: pointer;
}

#myModal .close:hover {
    color: #8dc543;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.mySlides.active {
    display: block;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.numbertext {
    color: #fff;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 0;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    user-select: none;
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
    text-decoration: none;
}

.next {
    left: 0;
    border-radius: 8px 0 0 8px;
}
.prev {
    right: 0;
    border-radius: 0 8px 8px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(141, 197, 67, 0.8);
    color: #fff;
}

/* Responsive Design */
@media screen and (max-width: 1199px) {
    .product-info.has-extra-button {
        padding: 20px;
    }

    .product-left {
        margin-right: 20px;
    }

    .product-right {
        padding-left: 20px;
    }
}

@media screen and (max-width: 991px) {
    .product-info {
        flex-direction: column;
    }

    .product-left {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .product-right {
        padding-left: 0;
    }

    .product-details {
        padding: 20px;
    }

    .tabs-container {
        padding: 15px;
    }

    .cart-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cart {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .additional-images {
        gap: 10px;
    }

    .thumbs {
        width: 60px;
        height: 60px;
    }

    .product-details .title {
        font-size: 22px;
    }

    .caption .product-price {
        font-size: 20px;
    }

    .related-products {
        margin-top: 30px;
        padding: 20px 0;
    }

    #myModal .modal-content {
        width: 95%;
        height: 70%;
        margin-top: 10%;
    }

    .prev, .next {
        padding: 12px;
        font-size: 18px;
    }
}

/* ===========================================
   UTILITY CLASSES FOR SINGLE PAGE
   =========================================== */

/* Spacing Utilities */
.sp-mt-10 { margin-top: 10px; }
.sp-mt-15 { margin-top: 15px; }
.sp-mt-20 { margin-top: 20px; }
.sp-mt-30 { margin-top: 30px; }
.sp-mb-10 { margin-bottom: 10px; }
.sp-mb-15 { margin-bottom: 15px; }
.sp-mb-20 { margin-bottom: 20px; }
.sp-mb-30 { margin-bottom: 30px; }

/* Text Utilities */
.sp-text-primary { color: #1c4261; }
.sp-text-success { color: #8dc543; }
.sp-text-danger { color: #e74c3c; }
.sp-text-muted { color: #6c757d; }

.sp-font-weight-bold { font-weight: 700; }
.sp-font-weight-medium { font-weight: 500; }
.sp-font-weight-normal { font-weight: 400; }

.sp-font-size-sm { font-size: 14px; }
.sp-font-size-md { font-size: 16px; }
.sp-font-size-lg { font-size: 18px; }
.sp-font-size-xl { font-size: 24px; }

/* Background Utilities */
.sp-bg-light { background-color: #f8f9fa; }
.sp-bg-white { background-color: #fff; }
.sp-bg-primary { background-color: #1c4261; }
.sp-bg-success { background-color: #8dc543; }

/* Border Utilities */
.sp-border { border: 1px solid #e9ecef; }
.sp-border-light { border: 1px solid #f8f9fa; }
.sp-border-primary { border: 1px solid #1c4261; }
.sp-border-success { border: 1px solid #8dc543; }

.sp-border-radius-sm { border-radius: 5px; }
.sp-border-radius-md { border-radius: 10px; }
.sp-border-radius-lg { border-radius: 15px; }
.sp-border-radius-xl { border-radius: 20px; }

/* Shadow Utilities */
.sp-shadow-sm { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
.sp-shadow-md { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.sp-shadow-lg { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }

/* Animation Utilities */
.sp-transition { transition: all 0.3s ease; }
.sp-hover-lift:hover { transform: translateY(-2px); }
.sp-hover-scale:hover { transform: scale(1.05); }

/* Product Specific Utilities */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-badge.sale {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.product-badge.new {
    background: linear-gradient(135deg, #8dc543, #6ba730);
}

.product-badge.featured {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.product-stock-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0;
}

.product-stock-info.in-stock {
    background-color: rgba(141, 197, 67, 0.1);
    color: #6ba730;
    border: 1px solid rgba(141, 197, 67, 0.3);
}

.product-stock-info.out-of-stock {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.product-stock-info.low-stock {
    background-color: rgba(243, 156, 18, 0.1);
    color: #e67e22;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

/* Product Specifications Table */
.product-specs {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.product-specs table {
    width: 100%;
    margin: 0;
}

.product-specs th,
.product-specs td {
    padding: 15px 20px;
    border-bottom: 1px solid #f8f9fa;
    text-align: left;
}

.product-specs th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1c4261;
    width: 30%;
}

.product-specs td {
    color: #555;
}

.product-specs tr:last-child th,
.product-specs tr:last-child td {
    border-bottom: none;
}

/* Product Reviews Section */
.product-reviews {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
}

.product-reviews .review-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f8f9fa;
}

.product-reviews .review-stars {
    color: #ffd700;
    font-size: 18px;
    margin-right: 10px;
}

.product-reviews .review-item {
    padding: 15px 0;
    border-bottom: 1px solid #f8f9fa;
}

.product-reviews .review-item:last-child {
    border-bottom: none;
}

.product-reviews .review-author {
    font-weight: 600;
    color: #1c4261;
    margin-bottom: 5px;
}

.product-reviews .review-date {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
}

.product-reviews .review-text {
    color: #555;
    line-height: 1.6;
}

/* Quantity Controls Enhancement */
.qty-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #1c4261;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background-color: #8dc543;
    color: #fff;
    border-color: #8dc543;
}

.qty-btn:active {
    transform: scale(0.95);
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn-cart:focus,
.btn-whatsapp:focus,
.qty-btn:focus,
.thumbs:focus {
    outline: 2px solid #8dc543;
    outline-offset: 2px;
}
.product-content {
    color: #1c4261;
}
/* Print Styles */
@media print {
    .modal,
    .related-products,
    .buttons-wrapper,
    .btn-cart,
    .btn-whatsapp {
        display: none !important;
    }

    .product-info {
        box-shadow: none;
        border: 1px solid #000;
    }

    .product-image img {
        max-width: 100%;
        height: auto;
    }
}

