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

.cta-bg3 {
    background: var(--light-bg1) !important;
    background-color: var(--light-bg1) !important;
}

.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: transparent !important;
    background-image: none !important;
}

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

.optech-hero-section {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%) !important;
}

/* Force header top section to be visible with dark text */
.optech-header-top {
    background-color: #f8f9ff !important;
    border-bottom: 1px solid #e3e3ec !important;
}

.optech-header-info ul li,
.optech-header-info ul li a,
.optech-header-info ul li i {
    color: #0a165e !important;
}

.optech-header-info.dark-color ul li,
.optech-header-info.dark-color ul li a,
.optech-header-info.dark-color ul li i {
    color: #0a165e !important;
}

/* Login button and icons in header */
.optech-header-info-right .cur_lun_login_item span svg path {
    fill: #0a165e !important;
}

.optech-header-info-right .login-btn {
    color: #0a165e !important;
    font-weight: 600 !important;
}

/* Currency, Language, Login dropdowns and text */
.cur_lun_login_item select,
.cur_lun_login_item .select2-container,
.cur_lun_login_item .select2-selection,
.cur_lun_login_item .js-example-basic-single {
    color: #0a165e !important;
    background-color: transparent !important;
    border: none !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-selection--single {
    background-color: transparent !important;
    border: none !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #0a165e !important;
    font-weight: 600 !important;
    padding-left: 8px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    display: none !important;
}

/* Dropdown options */
.select2-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #e3e3ec !important;
}

.select2-results__option {
    color: #0a165e !important;
}

.select2-results__option--highlighted {
    background-color: #f8f9ff !important;
    color: #2b4dff !important;
}

/* Currency and language icons color */
.optech-header-info-right .cur_lun_login_item span {
    display: inline-flex !important;
    align-items: center !important;
}

.optech-header-info-right .cur_lun_login_item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #0a165e !important;
}

/* Force text colors for hero section 7 (digital agency theme) */
.optech-hero-section7 {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%) !important;
}

.optech-hero-section7 .optech-hero-content h5,
.optech-hero-section7 .optech-hero-content.dark-color h5 {
    color: #2b4dff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 20px !important;
}

.optech-hero-section7 .optech-hero-content h1,
.optech-hero-section7 .optech-hero-content.dark-color h1 {
    color: #0a165e !important;
    font-weight: 700 !important;
    line-height: 1.2em !important;
}

.optech-hero-section7 .optech-hero-content p,
.optech-hero-section7 .optech-hero-content.dark-color p {
    color: #585b6f !important;
    font-size: 20px !important;
    line-height: 1.75em !important;
    opacity: 0.9 !important;
}

/* Force text colors for hero section (main demo theme) */
.optech-hero-section h5 {
    color: #2b4dff !important;
}

.optech-hero-section h1 {
    color: #0a165e !important;
}

.optech-hero-section p {
    color: #585b6f !important;
}

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

.custom_image {
    background: var(--light-bg1) !important;
    background-color: var(--light-bg1) !important;
}

.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: var(--light-bg1) !important;
    background-color: var(--light-bg1) !important;
}

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

.custom-image-two {
    background: var(--light-bg1) !important;
    background-color: var(--light-bg1) !important;
}

.custom-image-two-home {
    background: var(--light-bg1) !important;
    background-color: var(--light-bg1) !important;
}

/* Breadcrumb abu-abu - override inline styles */
.optech-breadcrumb {
    background-image: none !important;
    background: var(--light-bg1) !important;
    background-color: var(--light-bg1) !important;
}

.optech-breadcrumb::before {
    background: transparent !important;
    background-image: none !important;
}

/* Team section background putih */
.dark-bg.section.optech-section-padding2,
.section.optech-section-padding2 {
    background: var(--white-bg) !important;
    background-color: var(--white-bg) !important;
}

.dark-bg .optech-team-wrap {
    background-color: var(--white-bg) !important;
}

.dark-bg .optech-section-title h2,
.dark-bg .optech-section-title p {
    color: var(--heading-color) !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;
}

/* ========================================
   CHECKOUT PAGE STYLES - Konsisten & Rapih
   ======================================== */

/* Checkout Form Container */
.optech-checkout-form {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 40px 4px rgba(10, 22, 94, 0.08);
}

.optech-checkout-form h5 {
    font-size: 22px;
    font-weight: 700;
    color: #0a165e;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef1ff;
}

/* Checkout Input Fields */
.optech-checkout-field {
    margin-bottom: 20px;
}

.optech-checkout-field:last-child {
    margin-bottom: 0;
}

.optech-checkout-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    color: #0a165e;
}

.optech-checkout-field input,
.optech-checkout-field textarea {
    width: 100%;
    height: 54px;
    padding: 16px 20px !important;
    border: 2px solid #e3e3ec !important;
    border-radius: 12px;
    font-size: 15px;
    color: #4a5568;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.optech-checkout-field input:focus,
.optech-checkout-field textarea:focus {
    border-color: #2b4dff !important;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.15);
    background: #fff;
    outline: none;
}

.optech-checkout-field input::placeholder,
.optech-checkout-field textarea::placeholder {
    color: #9ca3af;
}

.optech-checkout-field textarea {
    height: 120px;
    resize: vertical;
}

/* Dropdown Select */
.optech-checkout-field.dropdown {
    position: relative;
}

.optech-checkout-field.dropdown::before {
    content: "\ea4e";
    right: 20px;
    top: 50px;
    position: absolute;
    font-family: remixicon !important;
    font-size: 20px;
    color: #6b7280;
    pointer-events: none;
    z-index: 2;
}

.optech-checkout-field select,
.optech-checkout-field .form-select {
    width: 100%;
    height: 54px;
    padding: 16px 50px 16px 20px;
    border: 2px solid #e3e3ec;
    border-radius: 12px;
    font-size: 15px;
    color: #4a5568;
    background: #f9fafb;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.optech-checkout-field select:focus,
.optech-checkout-field .form-select:focus {
    border-color: #2b4dff;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.15);
    background: #fff;
    outline: none;
}

/* Disabled Select Dropdown */
.optech-checkout-field select:disabled,
.optech-checkout-field .form-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Shipping Loading Indicator */
#shipping-loading {
    padding: 15px;
    margin: 10px 0;
    background: #f8f9ff;
    border-radius: 8px;
    color: #0a165e;
    font-size: 14px;
}

#shipping-loading .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

/* Checkout Textarea */
.optech-checkout-field textarea.form-control {
    width: 100%;
    min-height: 100px;
    padding: 14px 18px;
    border: 1px solid #e3e3ec;
    border-radius: 8px;
    background: #f8f9ff;
    font-size: 14px;
    color: #0a165e;
    transition: all 0.3s ease;
    resize: vertical;
}

.optech-checkout-field textarea.form-control:focus {
    border-color: #2b4dff;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.15);
    background: #fff;
    outline: none;
}

/* Checkout Sidebar */
.optech-checkuot-sidebar-column {
    position: sticky;
    top: 100px;
}

.optech-checkuot-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 40px 4px rgba(10, 22, 94, 0.08);
    margin-bottom: 20px;
}

.optech-checkuot-sidebar h5 {
    font-size: 22px;
    font-weight: 700;
    color: #0a165e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef1ff;
}

.optech-checkuot-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.optech-checkuot-sidebar ul li {
    padding: 16px 0;
    line-height: 1.5;
    border-bottom: 1px solid #e3e3ec;
    color: #4a5568;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.optech-checkuot-sidebar ul li:last-child {
    border-bottom: none;
}

.optech-checkuot-sidebar ul li span {
    font-weight: 600;
    color: #0a165e;
}

.optech-checkuot-sidebar ul li.order-header {
    background: #eef1ff;
    margin: -30px -30px 0 -30px;
    padding: 16px 30px;
    border-radius: 16px 16px 0 0;
    font-weight: 700;
    color: #0a165e;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.optech-checkuot-sidebar ul li.order-item {
    font-size: 14px;
    color: #4a5568;
}

.optech-checkuot-sidebar ul li.order-item b {
    color: #6b7280;
    font-weight: 400;
    margin: 0 5px;
}

.optech-checkuot-sidebar ul li.sub_total {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px dashed #e3e3ec;
    font-weight: 600;
    color: #0a165e;
}

.optech-checkuot-sidebar ul li.shipping_cost {
    color: #6b7280;
}

.optech-checkuot-sidebar ul li.shipping_cost span {
    color: #10b981;
}

.optech-checkuot-sidebar ul li.total {
    margin-top: 10px;
    padding: 20px 0;
    background: linear-gradient(135deg, #eef1ff 0%, #f0f4ff 100%);
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 0 0 16px 16px;
    font-size: 18px;
    font-weight: 700;
    color: #0a165e;
    border-bottom: none;
}

.optech-checkuot-sidebar ul li.total span {
    font-size: 20px;
    color: #2b4dff;
}

/* Place Order Button */
.shop-order-btn {
    width: 100%;
    padding: 18px 30px !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: #2b4dff;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.shop-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 77, 255, 0.35);
}

/* Checkout Responsive */
@media (max-width: 991px) {
    .optech-checkuot-sidebar-column {
        margin-top: 30px;
        position: static;
    }

    .optech-checkout-form,
    .optech-checkuot-sidebar {
        padding: 25px;
    }
}

@media (max-width: 575px) {
    .optech-checkout-form,
    .optech-checkuot-sidebar {
        padding: 20px;
    }

    .optech-checkout-form h5,
    .optech-checkuot-sidebar h5 {
        font-size: 18px;
    }

    .optech-checkuot-sidebar ul li.order-header {
        margin: -20px -20px 0 -20px;
        padding: 14px 20px;
    }

    .optech-checkuot-sidebar ul li.total {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ========================================
   USER DASHBOARD STYLES
   MOVED TO: user-dashboard.css
   See file: frontend/assets/css/user-dashboard.css
   ======================================== */

/* Global Responsive Layout Fix */
/* Ensure sections don't stick to edges on mobile */
.optech-section-padding,
section {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
}

/* ========================================
   Sticky Header - Kagemi.id Style
   Top header visible only at page top, hidden when scrolled
   ======================================== */
/* Prevent header clipping during transitions */
header.optech-header-section {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: box-shadow 0.3s ease;
}

/* Base Header Styles */
header.optech-header-section {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    transition: all 0.3s ease;
    background: #fff;
}

/* Header top bar transition */
header.optech-header-section .optech-header-top {
    transition:
        max-height 0.3s ease,
        opacity 0.3s ease,
        padding 0.3s ease;
    overflow: hidden;
}

/* When sticky (scrolled past threshold), position header at top */
header.optech-header-section.sticky-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* When sticky - ALWAYS hide header top bar */
header.optech-header-section.sticky-menu .optech-header-top {
    max-height: 0 !important;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    visibility: hidden;
    display: none;
}

/* Ensure bottom section is styled when sticky */
header.optech-header-section.sticky-menu .optech-header-bottom {
    padding: 15px 0;
}

/* Normal state (at top of page) - header top visible */
header.optech-header-section:not(.sticky-menu) .optech-header-top {
    display: block;
    visibility: visible;
    opacity: 1;
    max-height: none;
}

/* Prevent content jump when header becomes fixed */
body.sticky-active {
    padding-top: 80px;
}

/* Header and Navigation spacing */
.optech-header-section,
.optech-navigation-section {
    padding-left: 15px;
    padding-right: 15px;
}

/* Footer spacing */
footer,
.optech-footer-section {
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile specific spacing */
@media (max-width: 575px) {
    .container,
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Hero section spacing */
    .optech-hero-section,
    .optech-hero-slider {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Content sections */
    .optech-content-section,
    .optech-service-section,
    .optech-about-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Tablet specific spacing */
@media (min-width: 576px) and (max-width: 991px) {
    .container,
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .optech-hero-section,
    .optech-content-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Desktop - Reset body padding */
@media (min-width: 992px) {
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Hero Section - Full Image Display */
.optech-hero-section7 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.optech-hero-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optech-hero-thumb img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .optech-hero-thumb img {
        max-width: 700px;
    }
}

@media (min-width: 1400px) {
    .optech-hero-thumb img {
        max-width: 800px;
    }
}

@media (max-width: 991px) {
    .optech-hero-section7 {
        min-height: 80vh;
        padding: 60px 0;
    }

    .optech-hero-thumb {
        margin-top: 40px;
    }

    .optech-hero-thumb img {
        max-width: 100%;
    }
}

/* Mobile Header - Konsisten untuk SEMUA halaman */
@media (max-width: 991px) {
    /* Hide top bar di mobile untuk konsistensi dengan sticky */
    .optech-header-top {
        display: none !important;
    }

    /* Header padding - LEBIH BESAR */
    .optech-header-bottom {
        padding: 20px 0 !important;
        background-color: #fff !important;
    }

    /* Remove extra wrapper padding on landing page */
    .optech-header-bottom .optech-header-bottom2 {
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    /* Sticky menu - SAMA persis dengan normal */
    header.optech-header-section.sticky-menu .optech-header-bottom,
    header.optech-header-one.sticky-menu .optech-header-bottom {
        padding: 20px 0 !important;
    }

    /* Logo size - LEBIH BESAR */
    .brand-logo img,
    .optech-header-logo img {
        max-height: 50px !important;
        width: auto !important;
    }

    /* Menu trigger - LEBIH BESAR */
    .mobile-menu-trigger {
        width: 40px !important;
        height: 40px !important;
    }

    .mobile-menu-trigger span {
        height: 3px !important;
    }

    .mobile-menu-trigger span::before,
    .mobile-menu-trigger span::after {
        height: 3px !important;
    }

    /* Container padding di mobile */
    .optech-header-bottom .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Header icons - LEBIH BESAR */
    .optech-header-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .optech-header-icon i {
        font-size: 22px !important;
    }
}

/* Footer Badge Images Styling */
.footer-badge-images {
    padding-top: 20px;
    margin-top: 15px;
}

.footer-badge-images .badge-image {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.footer-badge-images .badge-image:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.footer-badge-images .badge-image img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-badge-images .badge-image a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer Logo Responsive */
.optech-footer-textarea img {
    max-width: 180px !important;
    height: auto !important;
}

@media (max-width: 991px) {
    .optech-footer-textarea img {
        max-width: 140px !important;
    }

    .optech-footer-textarea {
        text-align: center;
    }

    .optech-footer-textarea a {
        display: inline-block;
        margin: 0 auto;
    }

    .optech-social-icon-box {
        justify-content: center;
    }

    .optech-social-icon-box ul {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .optech-footer-textarea img {
        max-width: 120px !important;
    }
}

/* Responsive untuk badge images */
@media (max-width: 991px) {
    .footer-badge-images {
        margin-top: 20px;
    }

    .footer-badge-images .badge-image img {
        max-width: 60px;
        max-height: 60px;
    }
}

/* ============================================
   FIX: Tawk Chat Widget Responsive on Mobile
   ============================================ */
@media (max-width: 767px) {
    /* Tawk chat widget container - prevent overflow */
    #tawk-bubble-container,
    .tawk-min-container,
    [class*="tawk-"] {
        max-width: 60px !important;
        right: 10px !important;
        left: auto !important;
    }

    /* Tawk chat button - make smaller on mobile */
    .tawk-button,
    #tawk-bubble-container .tawk-button {
        width: 50px !important;
        height: 50px !important;
        right: 10px !important;
        bottom: 15px !important;
    }

    /* Chat window when opened */
    .tawk-chat-panel,
    #tawk-chat-frame,
    iframe[title*="chat"] {
        max-width: calc(100vw - 20px) !important;
        right: 10px !important;
        left: auto !important;
        width: calc(100vw - 20px) !important;
    }
}

/* Prevent horizontal scroll caused by chat widgets */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure main content doesn't overflow */
.wrapper,
.main-wrapper,
main,
#app {
    overflow-x: hidden;
    max-width: 100%;
}

/* ============================================
   Blog Tags Styling
   ============================================ */
.optech-blog-tags {
    margin-top: 10px;
}

.optech-blog-tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.optech-blog-tags ul li {
    margin: 0;
}

.optech-blog-tags ul li a {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f7fa;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e8eef3;
}

.optech-blog-tags ul li a:hover,
.optech-blog-tags ul li a.active {
    background: var(--primary-color, #4a90e2);
    color: #fff;
    border-color: var(--primary-color, #4a90e2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Tags in blog detail */
.optech-single-post-tag-wrap {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.optech-single-post-tag-wrap .optech-blog-tags ul li a {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
}

.optech-single-post-tag-wrap .optech-blog-tags ul li a:hover {
    background: linear-gradient(
        135deg,
        var(--primary-color, #4a90e2) 0%,
        #3a7bd5 100%
    );
}

/* ========================================
   Mobile Cart Icon in Header
   ======================================== */

/* Mobile navbar wrapper for cart + toggle */
@media (max-width: 991px) {
    /* Wrapper untuk cart dan toggle di mobile */
    .site-navbar .mobile-cart-icon {
        display: flex !important;
        align-items: center;
        order: 10;
    }

    .site-navbar .mobile-menu-trigger {
        order: 11;
    }

    /* Container untuk cart dan toggle berdekatan */
    .mobile-cart-icon + .mobile-menu-trigger {
        margin-left: 0;
    }
}

/* Hide mobile cart icon on larger screens (desktop) */
@media (min-width: 992px) {
    .site-navbar .mobile-cart-icon {
        display: none !important;
    }
}

/* Mobile cart icon styling */
.mobile-cart-icon {
    display: none;
    align-items: center;
    margin-right: 15px;
}

/* Style the cart icon in mobile view */
.mobile-cart-icon .optech-header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-icon .optech-header-cart svg {
    width: 24px;
    height: 24px;
}

.mobile-cart-icon .optech-header-cart .cart_number {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color, #4a90e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure hamburger toggle stays at far right */
.mobile-menu-trigger {
    flex-shrink: 0;
}

/* ========================================
   PAYMENT PAGE STYLES - Konsisten & Profesional
   ======================================== */

/* Payment Box Container */
.payment_box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 40px 4px rgba(10, 22, 94, 0.08);
}

.payment_box_head {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef1ff;
}

.payment_box_head h5 {
    font-size: 22px;
    font-weight: 700;
    color: #0a165e;
    margin: 0;
}

/* Payment Method Grid */
.payment_select_item_main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.payment_select_item_box {
    width: 100%;
}

.payment_box_item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: 2px solid #e3e3ec;
    border-radius: 12px;
    padding: 20px 15px;
    min-height: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment_box_item:hover {
    border-color: #2b4dff;
    background: #fff;
    box-shadow: 0 8px 25px rgba(43, 77, 255, 0.12);
    transform: translateY(-3px);
}

.payment_box_item.active,
.payment_box_item:focus {
    border-color: #2b4dff;
    background: #eef1ff;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.15);
}

.payment_select_item_thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.payment_select_item_thumb img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.payment_box_item:hover .payment_select_item_thumb img {
    transform: scale(1.05);
}

/* Bank Payment Modal Styles */
.payment-modal-item {
    background: linear-gradient(135deg, #eef1ff 0%, #f0f4ff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.payment-modal-item h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #0a165e;
    margin: 0;
}

.payment-modal-item h4 span {
    font-size: 20px;
    font-weight: 700;
    color: #2b4dff;
}

.bank-payment-modal-txt {
    background: #f9fafb;
    border: 1px solid #e3e3ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
}

.bank-payment-form-item .form-control {
    border: 2px solid #e3e3ec;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 15px;
    resize: vertical;
    transition: all 0.3s ease;
}

.bank-payment-form-item .form-control:focus {
    border-color: #2b4dff;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.15);
    outline: none;
}

.bank-payment-form-inner .main-btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: #2b4dff;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.bank-payment-form-inner .main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 77, 255, 0.35);
}

/* Stripe Modal Styles */
.stripe-modal-form .proposal-input-container {
    margin-bottom: 0;
}

.stripe-modal-form .proposal-form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    color: #0a165e;
}

.stripe-modal-form .form-control {
    width: 100%;
    height: 54px;
    padding: 16px 20px;
    border: 2px solid #e3e3ec;
    border-radius: 12px;
    font-size: 15px;
    color: #4a5568;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.stripe-modal-form .form-control:focus {
    border-color: #2b4dff;
    box-shadow: 0 0 0 3px rgba(43, 77, 255, 0.15);
    background: #fff;
    outline: none;
}

/* Modal Base Styles */
.banck-modal .modal-content,
.stripe-modal .modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.banck-modal .modal-header,
.stripe-modal .modal-header {
    background: #eef1ff;
    border-bottom: none;
    padding: 20px 25px;
}

.banck-modal .modal-title,
.stripe-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0a165e;
}

.banck-modal .modal-body,
.stripe-modal .modal-body {
    padding: 25px;
}

/* Payment Page Responsive */
@media (max-width: 991px) {
    .payment_box {
        margin-bottom: 30px;
        padding: 25px;
    }

    .payment_select_item_main {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .payment_box_item {
        padding: 15px 12px;
        min-height: 80px;
    }
}

@media (max-width: 575px) {
    .payment_box {
        padding: 20px;
    }

    .payment_box_head h5 {
        font-size: 18px;
    }

    .payment_select_item_main {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .payment_box_item {
        padding: 12px 10px;
        min-height: 70px;
    }

    .payment_select_item_thumb img {
        max-height: 35px;
    }
}

/* Fix dropdown menu z-index - prevent dropdown from going behind other elements */
.site-header,
.optech-header-section {
    position: relative;
    z-index: 9999;
}

.optech-header-bottom {
    position: relative;
    z-index: 9999;
}

.site-menu-main .sub-menu {
    z-index: 99999 !important;
}

.nav-item-has-children:hover > .sub-menu,
.nav-item.nav-item-has-children:hover > .sub-menu {
    z-index: 99999 !important;
}

/* Ensure header stays above all content */
.menu-block-wrapper {
    position: relative;
    z-index: 9999;
}

/* Fix for hero section and other sections that might overlap */
.optech-hero-section,
.optech-hero-section7,
section {
    position: relative;
    z-index: 1;
}

/* Ensure select2 dropdown appears on top */
.select2-container--open {
    z-index: 999999 !important;
}

.select2-dropdown {
    z-index: 999999 !important;
}
