.section,
.bg-cover,
.optech-section-padding,
.cta-bg3 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wishlist_icon svg path {
    stroke: #000;
    /* default outline color */
    fill: transparent;
    transition: all 0.3s ease;
}

.wishlist_icon:hover svg path {
    fill: #ff4d4d;
    /* hover fill color */
    stroke: #ff4d4d;
}

.wishlist_icon.active svg path {
    fill: #ff4d4d;
    /* active state fill color */
    stroke: #ff4d4d;
}

/* Latest Products Section - New Improved Design */
.optech-product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.optech-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Product Image Section */
.optech-product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f8f9fa;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

/* Discount Badge */
.product-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
}

.discount-text {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #fff;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.view-product-btn {
    background: #fff;
    color: #333;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-product-btn:hover {
    background: #ff4757;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.view-product-btn i {
    font-size: 16px;
}

/* Product Info Section */
.optech-product-info {
    padding: 25px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-title {
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: #ff4757;
}

/* Price Section */
.product-price-section {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-price-section del {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
}

.product-price-section:not(:has(del)) {
    color: #ff4757;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* For products with offer price */
.product-price-section:has(del) {
    color: #ff4757;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Fallback for browsers that don't support :has() */
.product-price-section .original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
}

.product-price-section .sale-price,
.product-price-section .current-price {
    color: #ff4757;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}


/* Responsive Design */
@media (max-width: 1200px) {
    .optech-product-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .optech-product-image {
        height: 220px;
    }
    
    .optech-product-info {
        padding: 20px 15px 15px;
    }
    
    .product-title a {
        font-size: 15px;
    }
    
    .product-price-section:not(:has(del)),
    .product-price-section:has(del),
    .product-price-section .sale-price,
    .product-price-section .current-price {
        font-size: 18px;
    }
    
    .view-product-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .optech-product-image {
        height: 200px;
    }
    
    .optech-product-info {
        padding: 18px 12px 12px;
    }
    
    .product-title a {
        font-size: 14px;
    }
    
    .product-price-section:not(:has(del)),
    .product-price-section:has(del),
    .product-price-section .sale-price,
    .product-price-section .current-price {
        font-size: 16px;
    }
}

.optech-hero-slider-item::before {
    content: "";
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-image: url("../img/hero/overlay.png") !important;
}

.optech-service-contact {
    background-image: url("../img/service/bg.png");
}

.optech-footer-cta-wrap {
    background-image: url("../img/cta/cta.png");
}

.optech-counter-wrap {
    background-image: url("../img/v2/counter-bg.png");
}

.optech-hero-section {
    background: url("../img/hero/bg1.png");
}

.optech-service-contact {
    background-image: url("../img/cta/cta-bg2.png");
}

.custom_image {
    background-image: url("../img/cta/cta-bg2.png");
}

.optech-hero-section4 {
    background-image: url("../img/hero/bg3.png");
}

.tech-agency-img {
    background-image: url("../img/hero/bg2.png");
}

.optech-footer-cta-wrap {
    background-image: url("../img/cta/cta.png");
}

.optech-hero-section8 {
    background-image: url("../img/background/ser1-1.jpg");
}

.custom-image-two {
    background-image: url("../img/cta/cta-bg2.png") !important;
}

.custom-image-two-home {
    background-image: url("../img/cta/cta-bg2.png") !important;
}

.cookie_consent_modal {
    width: 350px;
    padding: 30px;
    background-color: var(--white-color);
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    border: 1px solid #e4e4e4;
    box-shadow: 2px 3px 4px 0 rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.cookie_consent_modal .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 1;
}

.cookie_consent_modal h5 {
    font-size: 22px;
    font-weight: 500;
}

.cookie_consent_modal p {
    font-size: 16px;
    line-height: 27px;
    margin-top: 10px;
}

.cookie_consent_modal .thm-btn-two {
    margin-top: 20px;
}

.shop_sidebar_item_box_main.fst {
    min-height: 240px !important;
    height: 0px !important;
}

.dashbord_sidebar {
    border-radius: 0px !important;
    border-right: 1px solid #e3e3ec;
}

.dashbord_bg {
    background: #fff !important;
    box-shadow: 0 12px 40px 4px rgba(10, 22, 94, 0.0784313725) !important;
}

.dashbord_item {
    padding: 0 !important;
    flex-direction: row !important;
    text-align: start !important;
}

.dashbord_item_icon {
    width: 54px !important;
    height: 54px !important;
}

.dashbord_item_text .d-item-label {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.dashbord_table_main .table thead tr th {
    background: #eef1ff !important;
    white-space: nowrap !important;
}

.d_review_box_head {
    background: #eef1ff !important;
}

.dashbord_table_main .table tbody tr td {
    min-width: 150px !important;
}
.optech-thumb img {
    border-radius: 20px;
}
.optech-thumb-position img {
    border-radius: 100%;
    width: 100%;
    height: 300px;
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.floating-btn:hover::before {
    width: 100%;
    height: 100%;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    animation: none;
}

.floating-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.floating-btn i {
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
}

.floating-btn:hover i {
    transform: scale(1.1);
}

/* Phone Button */
.phone-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
}

/* Bounce Animation */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Pulse Animation for better visibility */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
            0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp pulse effect */
.whatsapp-btn {
    animation: pulse 2s infinite;
}

/* Focus styles for accessibility */
.floating-btn a:focus {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .floating-contact-buttons {
        bottom: 20px;
        left: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .floating-contact-buttons {
        bottom: 15px;
        left: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
    }

    .floating-btn i {
        font-size: 20px;
    }
}

/* Hide on very small screens if needed */
@media (max-width: 320px) {
    .floating-contact-buttons {
        display: none;
    }
}

/* Print styles - hide floating buttons when printing */
@media print {
    .floating-contact-buttons {
        display: none !important;
    }
}
.aos-animate {
    margin-bottom: 25px;
}
