/* Wrapper */
.demo-order-profile-dropdown {
    display: table-cell;
    vertical-align: middle;
}

/* Toggle Area */
.demo-order-profile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
     padding-bottom: 10px;
}

/* Avatar Circle */
.demo-order-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* Username */
.demo-order-name {
    font-weight: 500;
}

/* Arrow */
.demo-order-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    transition: 0.3s ease;
}

/* Dropdown Menu */
.demo-order-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    padding: 15px 0;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

/* Dropdown Header */
.demo-order-dropdown-header {
    padding: 0 15px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.demo-order-dropdown-header p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #777;
}

/* Menu List */
.demo-order-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.demo-order-dropdown-list li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.2s ease;
}

.demo-order-dropdown-list li a:hover {
    background: #f5f5f5;
}

/* Logout */
.demo-order-logout {
    display: block;
    padding: 8px 15px;
    color: #e74c3c;
    text-decoration: none;
}

.demo-order-logout:hover {
    background: #fbeaea;
}

.demo-order-profile-dropdown.active .demo-order-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.demo-order-profile-dropdown.active .demo-order-arrow {
    transform: rotate(180deg);
}
.demo-order-header-login-btn {
    display: inline-block;
    padding: 8px 18px;
    /* background: #f37321; */
    /* color: #fff !important; */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    /* border: 2px solid #f37321; */
}


/* Hover open */
.demo-order-profile-dropdown:hover .demo-order-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow animation */
.demo-order-arrow {
    transition: transform 0.3s ease;
}

.demo-order-profile-dropdown:hover .demo-order-arrow {
    transform: rotate(180deg);
}

/* breadcrumbs Custom CSS start */

/* Breadcrumb Wrapper */
/* .breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
} */

/* Inner Container */
.breadcrumbs_inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
}

/* Links */
.breadcrumbs_inner a {
    color: #e6ae48 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumbs_inner a:hover {
    color: #c8922f; /* slightly darker for hover */
    text-decoration: underline;
}

/* Separator */
.breadcrumbs_inner .delimiter {
    margin: 0 8px;
    color: #999;
}

/* Current Page */
.breadcrumbs_inner .current {
    color: #333;
    font-weight: 600;
}

/* breadcrumbs Custom CSS end */

/* ================================
   CART TABLE DESIGN
================================= */

.woocommerce-cart-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.woocommerce table.shop_table {
    border: none;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.woocommerce table.shop_table thead th {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.woocommerce table.shop_table tbody tr.cart_item {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-radius: 10px;
}

.woocommerce table.shop_table td {
    padding: 18px 15px;
    vertical-align: middle;
    border-top: none;
}

/* Product Image */
.product-thumbnail img {
    border-radius: 10px;
    width: 80px;
}

/* Product Name */
.product-name a {
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.product-name a:hover {
    color: #e6ae48;
}

/* Remove Button */
.product-remove a.remove {
    background: #f8f9fa;
    color: #e6ae48 !important;
    font-size: 18px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    transition: 0.3s ease;
}

.product-remove a.remove:hover {
    background: #e6ae48;
    color: #fff !important;
}

/* ================================
   CART TOTALS CARD
================================= */

.cart_totals {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cart_totals h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.cart_totals table {
    border: none;
}

.cart_totals th {
    font-weight: 500;
}

.cart_totals .order-total {
    font-size: 18px;
}

.cart_totals .order-total strong {
    color: #e6ae48;
}
.cart_totals tr th {
    vertical-align: middle;
}

/* ================================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    .woocommerce-cart-form,
    .cart_totals {
        padding: 15px;
    }

    .quantity {
        width: 100px;
    }
}

/* Checkout page custom CSS start */
/* ===== MAIN WRAPPER ===== */
.custom-checkout-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* LEFT SIDE (Billing Form) */
.checkout-left {
    flex: 3;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* RIGHT SIDE (Order Summary) */
.checkout-right {
    flex: 2;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 30px;
}

/* SECTION HEADINGS */
.checkout-left h3,
.checkout-right h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f3f3;
}

/* ===== FORM FIELDS ===== */
.woocommerce-billing-fields__field-wrapper p {
    margin-bottom: 20px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

/* Focus Effect */
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #e6ae48;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230,174,72,0.15);
    outline: none;
}

/* Labels */
.woocommerce form .form-row label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* ===== ORDER TABLE ===== */
.woocommerce-checkout-review-order-table {
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 600;
}

/* Highlight Total */
.order-total th,
.order-total td {
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

/* Budget Highlight Rows */
/* .available-budget,
.remaining-balance {
    background: #faf7f0;
    font-weight: 600;
} */

/* ===== PAYMENT METHOD ===== */
.wc_payment_methods {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.wc_payment_methods label {
    font-weight: 500;
    cursor: pointer;
}

/* ===== DELIVERY SELECT ===== */
#delivery_preference,
#specific_delivery_date {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fafafa;
}

#delivery_preference:focus,
#specific_delivery_date:focus {
    border-color: #e6ae48;
    box-shadow: 0 0 0 3px rgba(230,174,72,0.15);
    outline: none;
}

/* ===== ORDER TABLE CLEAN FIX ===== */

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px; /* space between rows */
}

.woocommerce-checkout-review-order-table thead th {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #6b7280;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout-review-order-table tfoot tr {
    background: #f9fafb;
    border-radius: 10px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 14px 16px;
}

.woocommerce-checkout-review-order-table tbody tr td:first-child,
.woocommerce-checkout-review-order-table tfoot tr th {
    text-align: left;
    border-radius: 10px 0 0 10px;
}

.woocommerce-checkout-review-order-table tbody tr td:last-child,
.woocommerce-checkout-review-order-table tfoot tr td {
    text-align: right;
    border-radius: 0 10px 10px 0;
}

/* Remove default borders */
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    border: none !important;
}
/* ===== FORCE FULL WIDTH FIELDS ===== */

#billing_company_field,
.woocommerce-additional-fields {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* Add spacing above Additional Information */
.woocommerce-additional-fields {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}
.available-budget,
.deducted-amount,
.remaining-balance {
    background: #ffffff !important;
    border: 1px solid #eef0f4;
}

.available-budget td,
.deducted-amount td,
.remaining-balance td {
    font-weight: 600;
}

.remaining-balance td {
    color: #ef4444;
}
.mis-approval-row td,
.delivery-preference-row td {
    padding-top: 20px !important;
}

.mis-approval-row small {
    display: block;
    margin-top: 8px;
    background: #fff1f2;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
}
.woocommerce-checkout-review-order-table th.product-total {
    text-align: right;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .custom-checkout-wrapper {
        flex-direction: column;
    }

    .checkout-right {
        position: relative;
        top: 0;
    }
}
/* Checkout page custom CSS end */


/* Cart icon custom CSS */
.custom-cart-link::before {
    content: "";
    display: inline-block;
    width: 2em;
    height: 2em;
    margin-right: 6px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 32 32'><circle cx='12.667' cy='24.667' r='2'/><circle cx='23.333' cy='24.667' r='2'/><path fill-rule='evenodd' d='M9.285 10.036a1 1 0 0 1 .776-.37h15.272a1 1 0 0 1 .99 1.142l-1.333 9.333A1 1 0 0 1 24 21H12a1 1 0 0 1-.98-.797L9.083 10.87a1 1 0 0 1 .203-.834m2.005 1.63L12.814 19h10.319l1.047-7.333z' clip-rule='evenodd'/><path fill-rule='evenodd' d='M5.667 6.667a1 1 0 0 1 1-1h2.666a1 1 0 0 1 .984.82l.727 4a1 1 0 1 1-1.967.359l-.578-3.18H6.667a1 1 0 0 1-1-1' clip-rule='evenodd'/></svg>");
}
ul#menu-demo-order-footer-menu li a:hover {
    color: #f37321;
}
.footer_bottom {
    padding: 10px 20px;
}

/* Left column */
.footer_bottom .footer_text_main {
    float: left;
}

/* Right column */
.footer_bottom .menu-demo-order-footer-menu-container {
    float: right;
}

/* Remove default spacing */
.footer_bottom .footer_text_main p {
    margin: 0;
}

/* Menu reset */
.footer_bottom #menu-demo-order-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* hide share button from product detail page */
.product_meta span.social_share_title {
    display: none !important;
}
.refurbished-single {
    display: inline-block;
    background: #d63638;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}