.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;
}

.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-image: url('../img/hero/bg1.png');
}

.optech-service-contact {
    background-image: url('../img/service/bg.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/hero/bg4.png');
}

.custom-image-two {
    background-image: url('../img/cta/cta-bg3.png');
}

.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;
}

/* Shop Theme - Black and White */
.optech-shop-btn {
    background-color: #000000 !important;
}

.optech-shop-btn:hover {
    background-color: #333333 !important;
}

.optech-shop-badge {
    background-color: #000000 !important;
}

.optech-shop-wrap:hover .optech-shop-btn {
    background-color: #333333 !important;
}

/* Product card buttons */
.optech-product-btn {
    background-color: #000000 !important;
}

.optech-product-btn:hover {
    background-color: #333333 !important;
}

.optech-product-btn::before {
    background-color: #000000 !important;
}

.optech-product-btn:hover::before {
    background-color: #333333 !important;
}

/* Testimonial quote color swap */
.optech-t-quote svg path,
.optech-t-quote3 svg path {
    fill: #000000 !important;
}

.dark-bg .optech-t-quote2 svg path,
.dark-bg .optech-t-quote3 svg path {
    fill: #ffffff !important;
}

.amazon-product-price .current-price {
    color: #424649 !important;
}

/* Shop checkboxes and form elements */
.shop-radio-btn input[type="radio"]:checked + .radio-label:before {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

/* Amazon add to cart button - already has black border, keep it black */
.amazon-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #ffffff !important;
    color: #000000 !important;

    /* Thin clean border */
    border: 1px solid rgba(0, 0, 0, 0.75) !important;

    border-radius: 5px;

    padding: 1px 9px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}

/* Cart Circle */
.amazon-add-to-cart::before {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    background: #ffffff;
    color: #000000;

    border-radius: 50%;

    font-size: 10px;
    font-weight: bold;

    margin-left: -16px;
}

/* Hover Effect */
.amazon-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    background: #111111 !important;
    color: #ffffff !important;
}

/* Click Effect */
.amazon-add-to-cart:active {
    transform: scale(0.97);
}

@media (max-width: 767px) {
    .footer-services-col {
        display: none !important;
    }

    .footer-quick-links,
    .footer-information-col {
        width: 50% !important;
        max-width: 50% !important;
        float: left !important;
    }

    .footer-quick-links .optech-footer-menu,
    .footer-information-col .optech-footer-menu {
        margin-bottom: 0 !important;
    }

    /* Mobile login button - icon only */
    .mobile-login {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 10px !important;
    }

    .login-btn-mobile {
        font-size: 0 !important;
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }

    .login-btn-mobile::before {
        content: "";
        width: 24px;
        height: 24px;
        display: inline-block;
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11ZM12 21C15.866 21 19 19.2091 19 17C19 14.7909 15.866 13 12 13C8.13401 13 5 14.7909 5 17C5 19.2091 8.13401 21 12 21Z' fill='%23000000'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* Responsive iconbox column for mobile screens */
    @media (max-width: 992px) {
        .optech-iconbox-column {
            gap: 20px !important;
            flex-direction: column;
        }

        .optech-iconbox-wrap3 {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .optech-iconbox-icon3 {
            margin-bottom: 12px;
        }
    }

    @media (max-width: 768px) {
        .optech-iconbox-column {
            gap: 15px !important;
        }

        .optech-iconbox-wrap3 {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .optech-iconbox-icon3 {
            margin-bottom: 10px;
        }
    }

    @media (max-width: 576px) {
        .optech-iconbox-column {
            gap: 12px !important;
            padding: 0 10px;
        }

        .optech-iconbox-wrap3 {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .optech-iconbox-icon3 {
            margin-bottom: 8px;
        }
    }

    @media (max-width: 480px) {
        .optech-iconbox-column {
            gap: 10px !important;
            padding: 0 5px;
            flex-direction: column;
        }

        .optech-iconbox-wrap3 {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .optech-iconbox-icon3 {
            margin-bottom: 8px;
        }
    }

    @media (max-width: 360px) {
        .optech-iconbox-column {
            gap: 8px !important;
            padding: 0 5px;
        }

        .optech-iconbox-wrap3 {
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .optech-iconbox-icon3 {
            margin-bottom: 6px;
        }
    }
}

/* Reduce spacing between product rows */
.col-6.col-sm-6.col-md-6.col-lg-4.col-xl-3.mt-5 {
    margin-top: 0.1rem !important;
}

/* For all screen sizes */
@media (min-width: 768px) {
    .col-6.col-sm-6.col-md-6.col-lg-4.col-xl-3 {
        margin-top: 0.1rem !important;
    }
}

/* SweetAlert Black and White Styling */
.swal2-popup {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

.swal2-title {
    color: #000000 !important;
}

.swal2-html-container {
    color: #000000 !important;
}

.swal2-confirm {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

.swal2-confirm:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

.swal2-cancel {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

.swal2-cancel:hover {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
}

.swal2-styled.swal2-confirm {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.swal2-styled.swal2-cancel {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Toastr Black and White Styling */
.toast {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.toast-success {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.toast-error {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

.toast .toast-message {
    color: #ffffff !important;
}

.toast-success .toast-message {
    color: #ffffff !important;
}

.toast-error .toast-message {
    color: #000000 !important;
}

/* Mobile positioning for toastr */
@media (max-width: 767px) {
    .toast-container {
        position: fixed !important;
        bottom: 50% !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(50%) !important;
        top: auto !important;
        right: auto !important;
        width: 90% !important;
        max-width: 300px !important;
    }

    .toast {
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
}
