/*
 * ===================================================================
 * FINAL CONSOLIDATED STYLESHEET - V2 REFINED - PART 1
 * ===================================================================
 */

/* Part 1: Main Page Layout */
@media (min-width: 1000px) {
    body.single-product div.product {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        align-items: start;
        gap: 50px;
    }
    body.single-product div.product .summary.entry-summary {
        margin-top: 0;
    }
}

/* Part 2: The Main Rental Wrapper */
.custom-rental-wrapper {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.custom-rental-wrapper form.cart.rnb-cart {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* Part 3: The Inner Booking Panel */
.custom-rental-wrapper .rnb-final-booking-panel {
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 !important;
}

/* Part 4: Panel Header - Fixed for block-level free shipping */
.rnb-panel-header { 
    font-size: 24px;
    font-weight: 600; 
    color: #111; 
    padding-bottom: 12px; 
    border-bottom: 1px solid #f0f0f0;
    margin: 0 !important;
}

.rnb-panel-header .amount { 
    text-decoration: none; 
}

.rnb-panel-header span:not(.amount) { 
    font-weight: 400; 
    font-size: 15px; 
    color: #666; 
}

/* Free Shipping Indicator - Block element under price */
.rnb-panel-header .free-shipping-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 8px 0 0 0 !important;
    padding: 4px 12px !important;
    background-color: #00a650 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    width: fit-content !important;
}

.rnb-panel-header .free-shipping-indicator span {
    color: #ffffff !important;
    font-size: 11px !important;
}

.shipping-truck-icon {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
    stroke: #ffffff !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Part 5: Date Picker Styling */
.rnb-panel-dates { 
    display: flex; 
    width: 100%; 
    border: 1px solid #b0b0b0; 
    border-radius: 8px; 
    overflow: hidden; 
}

.rnb-panel-dates .date-time-picker { 
    flex: 1; 
    margin: 0 !important;
    padding: 12px 16px !important; 
    cursor: pointer !important; 
    position: relative;
    transition: background-color 0.2s ease;
}

.rnb-panel-dates .date-time-picker:first-child { 
    border-right: 1px solid #b0b0b0; 
}

.rnb-panel-dates .date-time-picker:hover {
    background-color: #ffffff !important;
}

.rnb-panel-dates .date-time-picker * {
    pointer-events: none;
    background-color: transparent !important;
}

.rnb-panel-dates .date-time-picker input {
    pointer-events: auto;
}

.rnb-panel-dates h5 { 
    font-size: 10px !important; 
    font-weight: 700 !important; 
    text-transform: uppercase; 
    color: #222 !important; 
    margin: 0 0 8px 0 !important; 
    letter-spacing: 0.5px;
}

.rnb-panel-dates .date-time-picker i.fa,
.rnb-panel-dates .date-time-picker i.fas,
.rnb-panel-dates .date-time-picker > i,
.rnb-panel-dates i.fa-calendar-alt {
    display: none !important;
}

.rnb-panel-dates .pick-up-date-picker::before,
.rnb-panel-dates .drop-off-date-picker::before {
    content: "\f073";
    font-family: FontAwesome;
    font-size: 16px;
    color: #666;
    margin-right: 10px;
    display: inline-block;
}

.rnb-panel-dates .pick-up-date-picker,
.rnb-panel-dates .drop-off-date-picker {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.rnb-panel-dates input { 
    font-size: 14px !important; 
    color: #333 !important; 
    border: none !important; 
    box-shadow: none !important; 
    background: transparent !important; 
    padding: 0 !important; 
    cursor: pointer !important; 
    margin: 0 !important;
    line-height: 1.4 !important;
    width: 100% !important;
    text-overflow: ellipsis !important;
}

.rnb-panel-dates input::placeholder {
    color: #999 !important;
    background: transparent !important; 
    opacity: 1 !important;
}

/* Calendar Flyout Styling */
.xdsoft_datetimepicker {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.xdsoft_datetimepicker .xdsoft_calendar {
    border: none !important;
}

.xdsoft_datetimepicker .xdsoft_calendar table {
    border-collapse: collapse !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td, 
.xdsoft_datetimepicker .xdsoft_calendar th {
    border: none !important;
}

/* All date cells get rounded corners */
.xdsoft_datetimepicker .xdsoft_calendar td,
.xdsoft_datetimepicker .xdsoft_calendar td > div {
    border-radius: 8px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_calendar th:hover {
    background: #f0f0f0 !important;
    border-radius: 8px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today.xdsoft_current {
    background: #2341ee !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_date:not(.xdsoft_disabled):hover {
    background: #e8e8e8 !important;
    border-radius: 8px !important;
}

/* Weekend and disabled dates with rounded corners */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_weekend {
    border-radius: 8px !important;
}

/* Mobile Calendar - Hide Submit Button */
#cal-submit-btn,
#drop-cal-submit-btn {
    display: none !important;
}

/* Part 6: Custom Quantity Dropdown */
.redq-quantity {
    position: relative !important;
}

.custom-quantity-dropdown { 
    width: 100%; 
    padding: 12px 15px; 
    font-size: 15px; 
    font-weight: 600; 
    color: #333; 
    background-color: #f5f5f5; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    cursor: pointer; 
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22%20fill%3D%22%23555%22/%3E%3C/svg%3E'); 
    background-repeat: no-repeat; 
    background-position: right 15px center; 
    background-size: 16px; 
    user-select: none; 
}

.custom-options-panel { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background-color: #ffffff; 
    border: 1px solid #e0e0e0; 
    border-top: none; 
    border-radius: 0 0 8px 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    z-index: 1000;
    max-height: 200px; 
    overflow-y: auto; 
}

.custom-option { 
    padding: 12px 15px; 
    cursor: pointer; 
    font-size: 15px; 
}

.custom-option:hover { 
    background-color: #f5f5f5; 
}

/* Part 7: Button Container Styling */
.rnb-panel-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    width: 100% !important;
}

.custom-rental-wrapper .rnb-panel-buttons {
    margin-bottom: 8px !important;
}

.custom-rental-wrapper .div_evowap_btn {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Part 8: Button Styling */
.rnb-panel-buttons .single_add_to_cart_button, 
.rnb-panel-buttons #quote-content-confirm {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    margin: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    float: none !important;
    transition: all 0.3s ease !important;
}

body.single-product .custom-rental-wrapper .div_evowap_btn a.wa-order-class button.wa-order-button,
body .custom-rental-wrapper a.wa-order-class button.wa-order-button,
.custom-rental-wrapper .wa-order-button {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-radius: 12px 0 0 12px !important; /* Rounded left, square right */
    margin: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    float: none !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
    background-color: #25D366 !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    height: auto !important;
    line-height: 1.5 !important;
    min-height: 44px !important;
}

/* Part 9: Button Hover States */
.rnb-panel-buttons .single_add_to_cart_button:hover {
    background: #2341ee !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(52, 82, 255, 0.3) !important;
}

.rnb-panel-buttons #quote-content-confirm:hover { 
    background: #f8f8f8 !important; 
    color: #333 !important; 
    border: 1px solid #bbb !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

body.single-product .custom-rental-wrapper .div_evowap_btn a.wa-order-class:hover button.wa-order-button,
body .custom-rental-wrapper a.wa-order-class:hover button.wa-order-button,
.custom-rental-wrapper .wa-order-button:hover {
    background-color: #1DAE56 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

/* Part 10: Disabled Button States */
.rnb-panel-buttons .single_add_to_cart_button[disabled],
.rnb-panel-buttons #quote-content-confirm[disabled],
.rnb-panel-buttons .single_add_to_cart_button.disabled,
.rnb-panel-buttons #quote-content-confirm.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    font-weight: 500 !important;
}

.rnb-panel-buttons .single_add_to_cart_button[disabled]:hover,
.rnb-panel-buttons #quote-content-confirm[disabled]:hover,
.rnb-panel-buttons .single_add_to_cart_button.disabled:hover,
.rnb-panel-buttons #quote-content-confirm.disabled:hover {
    font-size: 15px !important;
    font-weight: 500 !important;
    transform: none !important;
    box-shadow: none !important;
}

button.single_add_to_cart_button[disabled],
button.single_add_to_cart_button[disabled]:hover,
button.single_add_to_cart_button[disabled]:focus,
button.single_add_to_cart_button[disabled]:active {
    font-weight: 500 !important;
    font-size: 15px !important;
    font-family: inherit !important;
}

/* Part 11: Pricing Panel Styles */
.rnb-final-booking-panel .rnb-loader { 
    width: 100%; 
    margin: 0 !important; 
}

.rnb-final-booking-panel .booking-pricing-info {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost ul { 
    list-style: none; 
    margin: 0; 
    padding: 12px 0 0 0; 
    border-top: 1px solid #f0f0f0;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost li { 
    display: flex; 
    justify-content: space-between; 
    padding: 8px 0; 
    margin: 0;
    border: none !important;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost li.duration {
    padding-bottom: 8px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost li .name {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost li .price {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost li.total { 
    font-weight: 700; 
    padding-top: 8px !important;
    border-top: none !important;
    margin-top: 0 !important;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost li.total .name,
.rnb-final-booking-panel .booking-pricing-info .booking_cost li.total .price {
    font-size: 16px;
    color: #111;
    font-weight: 700;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost .woocommerce-Price-amount,
.rnb-final-booking-panel .booking-pricing-info .booking_cost .amount {
    color: inherit !important;
    background: none !important;
}

.rnb-final-booking-panel .booking-pricing-info .booking_cost li:empty,
.rnb-final-booking-panel .booking-pricing-info .booking_cost li.extras:empty,
.rnb-final-booking-panel .booking-pricing-info .booking_cost li.resource:empty,
.rnb-final-booking-panel .booking-pricing-info .booking_cost li.addon:empty {
    display: none;
}

/* Part 12: Spacing with Product Description */
body.single-product .woocommerce-product-details__short-description {
    margin-top: 0;
}

body.single-product form.cart.rnb-cart {
    margin-bottom: 30px;
}

/* Part 13: WhatsApp Button with Info Icon */
.wa-info-wrapper {
    display: flex !important;
    gap: 2px !important;
    width: 100% !important;
    align-items: stretch !important;
}

.wa-info-button {
    width: auto !important;
    min-width: unset !important;
    height: auto !important;
    min-height: 44px !important;
    background: #25D366 !important;
    border: none !important;
    border-radius: 0 6px 6px 0 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 14px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

/* More specific selectors to override the 15px radius */
.wa-info-wrapper .wa-info-button,
.custom-rental-wrapper .wa-info-wrapper .wa-info-button,
body .custom-rental-wrapper .wa-info-wrapper .wa-info-button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.wa-info-button:hover {
    background: #1DAE56 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

.wa-info-button .sale-tag-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

.wa-info-wrapper .wa-order-class {
    flex: 1 !important;
}

.custom-rental-wrapper .wa-order-class {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}

/* Modal Styles */
.wa-info-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.wa-info-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.wa-info-modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.wa-info-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wa-info-modal-close:hover {
    color: #333;
    background-color: #f5f5f5;
}

.wa-info-modal h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 20px 0 !important;
    font-family: inherit !important;
}

.wa-info-modal p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
}

.wa-info-modal ul {
    margin: 0 0 20px 0 !important;
    padding: 0 0 0 20px !important;
    list-style: disc !important;
}

.wa-info-modal ul li {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #333 !important;
    margin: 0 0 10px 0 !important;
    padding-left: 0 !important;
    list-style-position: outside !important;
}

.wa-info-modal ul li strong {
    color: #25D366 !important;
    font-weight: 600 !important;
}

.wa-info-modal .wa-info-cta {
    background-color: #f0f9f4;
    border-left: 4px solid #25D366;
    padding: 15px;
    margin: 20px 0 0 0 !important;
    font-size: 14px !important;
    color: #1a7f3a !important;
    font-weight: 500 !important;
}

/* Mobile Modal Style */
@media (max-width: 600px) {
    .wa-info-modal.show {
        align-items: flex-end;
    }
    
    .wa-info-modal-content {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        padding: 25px 20px 30px 20px;
        animation: slideUpMobile 0.3s ease;
    }
    
    .wa-info-modal h3 {
        font-size: 20px !important;
    }
    
    .wa-info-modal p,
    .wa-info-modal ul li {
        font-size: 14px !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 999px) {
    .wa-info-wrapper {
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .wa-info-button {
        font-size: 11px !important;
        padding: 0 10px !important;
    }
    
    .wa-info-button .sale-tag-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Part 14: Mobile Product Title and Review Rating */
@media (max-width: 999px) {
    .mobile-only-product-title {
        display: block !important;
        margin: 0 0 15px 0 !important;
        padding: 0 15px !important;
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    .nectar-prod-wrap .woocommerce-product-rating,
    .mobile-only-product-rating {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 0 15px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nectar-prod-wrap .woocommerce-product-rating .star-rating,
    .mobile-only-product-rating .star-rating {
        flex-shrink: 0 !important;
    }
    
    .nectar-prod-wrap .woocommerce-product-rating .woocommerce-review-link,
    .mobile-only-product-rating .woocommerce-review-link {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }
    
    .summary.entry-summary .product_title,
    .summary.entry-summary .woocommerce-product-rating {
        display: none !important;
    }
}

@media (min-width: 1000px) {
    .mobile-only-product-title,
    .mobile-only-product-rating {
        display: none !important;
    }
    
    .summary.entry-summary .product_title,
    .summary.entry-summary .woocommerce-product-rating {
        display: block !important;
    }
}

/* Part 15: Breadcrumb Sizing */
.woocommerce-breadcrumb,
nav.woocommerce-breadcrumb {
    font-size: 75% !important;
    line-height: 1.4 !important;
    padding: 5px 0 !important;
    margin-bottom: 10px !important;
}

.woocommerce-breadcrumb a,
.woocommerce-breadcrumb span {
    font-size: inherit !important;
}

.woocommerce-breadcrumb .fa {
    font-size: inherit !important;
}

/* Part 16: Apple-style Tab Indicator with Logo Colors as Background - REFINED V9 */
.woocommerce-tabs {
    margin-top: 40px !important;
}

/* Make all panels visible (not just on mobile) */
.woocommerce-tabs .panel,
.woocommerce-tabs .wc-tab {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
}

/* Section markers for reliable detection */
.wc-tab[data-section-marker] {
    position: relative;
}

.wc-tab[data-section-marker]::before {
    content: '';
    position: absolute;
    top: -80px;
    height: 1px;
    width: 1px;
    pointer-events: none;
}

/* Container has symmetric padding */
.woocommerce-tabs ul.tabs {
    position: relative !important;
    background: #f8f8f8 !important;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
    padding: 8px !important;
    border-radius: 20px !important;
    display: flex !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Desktop Sticky Bottom Tabs - Above 680px - UPDATED */
@media (min-width: 681px) {
    /* Container for sticky behavior */
    .woocommerce-tabs {
        position: relative;
    }
    
    /* Store original width */
    .woocommerce-tabs ul.tabs[data-original-width] {
        /* Width will be set dynamically via JS */
    }
    
    /* Placeholder to maintain layout when tabs become sticky */
    .tabs-sticky-placeholder {
        display: none;
        height: 70px;
    }
    
    .tabs-sticky-placeholder.active {
        display: block !important;
    }
    
    /* Sticky state - fixed at bottom */
    .woocommerce-tabs ul.tabs.sticky-bottom {
        position: fixed !important;
        bottom: 0 !important; /* NO GAP - touching bottom of viewport */
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: var(--original-width) !important; /* Use original width */
        max-width: 100% !important;
        background: rgba(248, 248, 248, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 -2px 15px rgba(0,0,0,0.1) !important;
        z-index: 998 !important;
        padding: 10px 15px !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 !important;
    }
    
    /* Add some bottom margin to sections when tabs are sticky */
    .woocommerce-tabs.has-sticky-tabs .wc-tab:last-child {
        margin-bottom: 100px !important;
    }
}

.woocommerce-tabs ul.tabs::before {
    display: none !important;
}

.woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    position: relative !important;
    overflow: visible !important;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

/* Desktop tab styles - vertical icon/text layout like mobile */
.woocommerce-tabs ul.tabs li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 12px 8px !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
    z-index: 2 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    font-weight: 500 !important;
    color: #666 !important;
    border-radius: 0 !important;
    white-space: normal !important;
    font-size: 13px !important;
    overflow: visible !important;
    min-height: 54px !important;
    line-height: 1.2 !important;
}

/* Inactive tabs have transparent background to show the container's light gray */
.woocommerce-tabs ul.tabs li:not(.active) a {
    background-color: transparent !important;
}

/* Active tabs also have transparent background to let indicator show through */
.woocommerce-tabs ul.tabs li.active a {
    background-color: transparent !important;
}

/* Create pseudo-element for colored backgrounds */
.woocommerce-tabs ul.tabs li a::before {
    content: '' !important;
    position: absolute !important;
    top: -8px !important;
    bottom: -8px !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    z-index: -1 !important;
    transition: all 0.3s ease !important;
    display: block !important;
    pointer-events: none !important;
}

/* First tab - extend to left edge */
.woocommerce-tabs ul.tabs li:first-child a::before {
    left: -8px !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

/* Last tab - extend to right edge */
.woocommerce-tabs ul.tabs li:last-child a::before {
    right: -8px !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.woocommerce-tabs ul.tabs li a .tab-icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    transition: color 0.3s ease !important;
    flex-shrink: 0 !important;
}

/* Tab text spans */
.woocommerce-tabs ul.tabs li a span:not(.tab-icon) {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

/* Simple hover state - darker gray background */
.woocommerce-tabs ul.tabs li:not(.active) a:hover::before {
    background-color: #f8f8f8 !important;
}

/* Active state - colored text and icon based on tab */
.woocommerce-tabs ul.tabs li:nth-child(1).active a {
    color: #DDA520 !important;
    font-weight: 600 !important;
}

.woocommerce-tabs ul.tabs li:nth-child(1).active a .tab-icon {
    color: #DDA520 !important;
}

.woocommerce-tabs ul.tabs li:nth-child(2).active a {
    color: #E98A1D !important;
    font-weight: 600 !important;
}

.woocommerce-tabs ul.tabs li:nth-child(2).active a .tab-icon {
    color: #E98A1D !important;
}

.woocommerce-tabs ul.tabs li:nth-child(3).active a {
    color: #F16E20 !important;
    font-weight: 600 !important;
}

.woocommerce-tabs ul.tabs li:nth-child(3).active a .tab-icon {
    color: #F16E20 !important;
}

.woocommerce-tabs ul.tabs li:nth-child(4).active a {
    color: #E94B3C !important;
    font-weight: 600 !important;
}

.woocommerce-tabs ul.tabs li:nth-child(4).active a .tab-icon {
    color: #E94B3C !important;
}

.woocommerce-tabs ul.tabs li:nth-child(5).active a {
    color: #6B4C93 !important;
    font-weight: 600 !important;
}

.woocommerce-tabs ul.tabs li:nth-child(5).active a .tab-icon {
    color: #6B4C93 !important;
}

/* Remove colored backgrounds from active tabs */
.woocommerce-tabs ul.tabs li.active a::before {
    background: transparent !important;
    background-color: transparent !important;
}

/* Sliding tab indicator - lighter gray (slightly darker than tab panel) */
.tab-indicator {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    background-color: #f0f0f0 !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 1 !important;
}

/* Mobile Sticky Top Navigation - Below 680px */
@media (max-width: 680px) {
    /* Sections spacing on mobile */
    .woocommerce-tabs .panel,
    .woocommerce-tabs .wc-tab {
        margin-bottom: 40px !important;
        padding-top: 20px !important;
    }
    
    /* Tab container placeholder to maintain layout when sticky */
    .tabs-placeholder {
        display: none;
        height: 60px;
    }
    
    .tabs-placeholder.active {
        display: block !important;
    }
    
    /* Regular state - tabs in normal flow */
    .woocommerce-tabs ul.tabs {
        background: rgba(240, 240, 240, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        z-index: 998 !important;
        margin: 0 -15px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        width: calc(100% + 30px) !important;
        height: 60px !important;
        overflow: hidden !important;
    }
    
    /* Sticky state - fixed to top */
    .woocommerce-tabs ul.tabs.sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        width: 100% !important;
        margin: 0 !important;
        animation: slideDown 0.3s ease !important;
        transition: top 0.2s ease !important;
    }
    
    .woocommerce-tabs ul.tabs li {
        flex: 1 1 0 !important;
        height: 60px !important;
    }
    
    .woocommerce-tabs ul.tabs li a {
        height: 100% !important;
        padding: 8px 4px !important;
        flex-direction: column !important;
        gap: 2px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        min-height: unset !important;
    }
    
    .woocommerce-tabs ul.tabs li a span:not(.tab-icon) {
        white-space: nowrap !important;
    }
    
    .woocommerce-tabs ul.tabs li a .tab-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 18px !important;
    }
    
    /* Adjust pseudo-elements for full-width mobile nav */
    .woocommerce-tabs ul.tabs li a::before {
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    
    /* Mobile hover states - simple darker gray */
    .woocommerce-tabs ul.tabs li:not(.active) a:hover::before {
        background-color: #d8d8d8 !important;
    }
    
    /* Adjust indicator for mobile nav */
    .tab-indicator {
        border-radius: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        max-height: 60px !important;
    }
}

/* Animation for sticky nav appearance */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Part 17: Tab Content Title Styling */
.custom-description-title,
.custom-attributes-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.3 !important;
}

@media (max-width: 768px) {
    .custom-description-title,
    .custom-attributes-title {
        font-size: 24px !important;
    }
}

/* Force all tab panels to be visible on mobile - HIGH SPECIFICITY */
@media (max-width: 680px) {
    body.single-product .woocommerce-tabs .panel,
    body.single-product .woocommerce-tabs .wc-tab,
    body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
    body.single-product .woocommerce-tabs #tab-description,
    body.single-product .woocommerce-tabs #tab-additional_information,
    body.single-product .woocommerce-tabs #tab-reviews,
    body.single-product .woocommerce-tabs #tab-related_products,
    body.single-product .woocommerce-tabs #tab-upsell_products {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Remove any hiding classes */
    body.single-product .woocommerce-tabs .panel:not(.active) {
        display: block !important;
    }
}

/* Hide original sections that were moved to tabs */
.span_12.dark:has(.related.products:empty),
.span_12.dark:has(.up-sells:empty) {
    display: none !important;
}

/* Part 18: Star Rating with Logo Colors */
.star-rating {
    position: relative !important;
    overflow: hidden !important;
    display: inline-block !important;
}

/* Star colors in product summary */
.star-rating span:before {
    content: "SSSSS" !important;
    letter-spacing: 0.1em !important;
    background: linear-gradient(to right, 
        #DDA520 0%,    /* Gold */
        #E98A1D 25%,   /* Orange-gold */
        #F16E20 50%,   /* Orange */
        #E94B3C 75%,   /* Red-orange */
        #6B4C93 100%   /* Purple */
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.star-rating span {
    background: linear-gradient(to right, 
        #DDA520 0%,    /* Gold */
        #E98A1D 25%,   /* Orange-gold */
        #F16E20 50%,   /* Orange */
        #E94B3C 75%,   /* Red-orange */
        #6B4C93 100%   /* Purple */
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Empty stars (background) */
.star-rating:before {
    color: #ffffff !important;
}

/* Review Form Stars */
.comment-form-rating .stars {
    display: inline-block !important;
    position: relative !important;
}

.comment-form-rating .stars a {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    text-decoration: none !important;
    position: relative !important;
    margin-right: 2px !important;
}

.comment-form-rating .stars a:before {
    content: "\53" !important;
    font-family: "star" !important;
    font-size: 20px !important;
    color: #d3ced2 !important;
    position: absolute !important;
    left: 0 !important;
    transition: color 0.2s ease !important;
}

/* Individual star colors on hover/active */
.comment-form-rating .stars a.star-1.active:before,
.comment-form-rating .stars a.star-1:hover:before {
    color: #DDA520 !important;
}

.comment-form-rating .stars a.star-2.active:before,
.comment-form-rating .stars a.star-2:hover:before {
    color: #E98A1D !important;
}

.comment-form-rating .stars a.star-3.active:before,
.comment-form-rating .stars a.star-3:hover:before {
    color: #F16E20 !important;
}

.comment-form-rating .stars a.star-4.active:before,
.comment-form-rating .stars a.star-4:hover:before {
    color: #E94B3C !important;
}

.comment-form-rating .stars a.star-5.active:before,
.comment-form-rating .stars a.star-5:hover:before {
    color: #6B4C93 !important;
}

/* Fill all stars to the left on hover */
.comment-form-rating .stars:hover a.star-1:before {
    color: #DDA520 !important;
}

.comment-form-rating .stars a.star-2:hover ~ a.star-1:before,
.comment-form-rating .stars a.star-3:hover ~ a.star-1:before,
.comment-form-rating .stars a.star-4:hover ~ a.star-1:before,
.comment-form-rating .stars a.star-5:hover ~ a.star-1:before {
    color: #DDA520 !important;
}

.comment-form-rating .stars a.star-3:hover ~ a.star-2:before,
.comment-form-rating .stars a.star-4:hover ~ a.star-2:before,
.comment-form-rating .stars a.star-5:hover ~ a.star-2:before {
    color: #E98A1D !important;
}

.comment-form-rating .stars a.star-4:hover ~ a.star-3:before,
.comment-form-rating .stars a.star-5:hover ~ a.star-3:before {
    color: #F16E20 !important;
}

.comment-form-rating .stars a.star-5:hover ~ a.star-4:before {
    color: #E94B3C !important;
}

/* Selected state */
.comment-form-rating .stars a.selected:before {
    font-weight: 700 !important;
}

/* Product Carousel Shadow & Layout (Salient Theme) - Final v5 */
.wpb_row.full-width-content:has(.nectar-woo-flickity[data-controls="bottom-pagination"]) {
    padding-left: 15px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}

.vc_col-sm-6:has(.nectar-woo-flickity[data-controls="bottom-pagination"]) {
    overflow: hidden !important;
    background-color: #f9f9f9;
}

.vc_col-sm-6:has(.nectar-woo-flickity[data-controls="bottom-pagination"]) .wpb_wrapper {
    padding: 20px;
}

.nectar-woo-flickity[data-controls="bottom-pagination"] .flickity-viewport,
.nectar-woo-flickity[data-controls="bottom-pagination"] .product-wrap {
    overflow: visible !important;
}

/* WhatsApp Button Styles for Cart and Checkout Pages */

/* Cart Page WhatsApp Button - With Info Icon like Product Page */
.wa-order-cart-button-container {
    margin-top: 10px;
    width: 100%;
}

/* Cart WhatsApp wrapper with info button */
.wa-cart-wrapper {
    display: flex !important;
    gap: 2px !important;
    width: 100% !important;
    align-items: stretch !important;
}

.wa-order-cart-button {
    background-color: #25D366 !important;
    color: #ffffff !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    padding: inherit;
    border-radius: 12px 0 0 12px !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 48px;
}

/* Cart info button - same as product page BUT with proper border radius */
.wa-cart-info-button {
    width: auto !important;
    min-width: unset !important;
    height: auto !important;
    min-height: 48px !important;
    background: #25D366 !important;
    border: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 14px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

/* More specific selector to ensure proper border radius on cart page */
.wa-cart-wrapper .wa-cart-info-button,
.wa-order-cart-button-container .wa-cart-info-button,
body.woocommerce-cart .wa-cart-info-button {
    border-radius: 0 12px 12px 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.wa-cart-info-button:hover {
    background: #1DAE56 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

/* Rest of the cart/checkout CSS remains the same... */

/* Checkout Page WhatsApp Button - Icon Only */
.wa-order-checkout-button-container {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
}

.wc-block-checkout__actions_row {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* Hide the return to cart link */
.wc-block-components-checkout-return-to-cart-button {
    display: none !important;
}

.wa-order-checkout-button {
    background-color: #25D366 !important;
    color: #ffffff !important;
    width: 60px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    padding: 0 !important;
}

.wa-order-checkout-button .wa-button-text {
    display: none !important;
}

.wa-order-checkout-button .wa-icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

/* Button hover states */
.wa-order-cart-button:hover {
    background-color: #128C7E !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-order-checkout-button:hover {
    background-color: #128C7E !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Inner content wrapper */
.wa-button-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

/* WhatsApp icon */
.wa-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Button text */
.wa-button-text {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .wa-order-cart-button {
        min-height: 44px;
        font-size: 16px;
    }
    
    .wa-order-checkout-button {
        width: 50px !important;
        height: 44px !important;
    }
    
    .wa-icon {
        width: 18px;
        height: 18px;
    }
}

/* Ensure button matches WooCommerce Blocks button style */
.wp-block-woocommerce-cart .wa-order-cart-button {
    font-family: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.wp-block-woocommerce-checkout .wa-order-checkout-button {
    font-family: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

/* Fix any potential alignment issues - Cart */
.wc-block-cart__submit-container + .wa-order-cart-button-container {
    margin-top: 12px;
}

/* Fix any potential alignment issues - Checkout */
.wc-block-components-checkout-place-order-button + .wa-order-checkout-button-container {
    margin-top: 1px;
}

/* Ensure the WhatsApp button text doesn't wrap */
.wa-button-inner {
    white-space: nowrap;
}

/* Match disabled state if needed */
.wa-order-cart-button:disabled,
.wa-order-checkout-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading state (if you add one later) */
.wa-order-cart-button.loading,
.wa-order-checkout-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Additional refinements for exact button matching - Cart*/
.wc-block-components-button.wa-order-cart-button {
    margin: 0;
    width: 100%;
    text-align: center;
}

/* Additional refinements for exact button matching - Checkout*/
.wc-block-components-button.wa-order-checkout-button {
    margin: 10px;
    width: 55%;
    text-align: center;
}

/* Fix any potential icon color issues */
.wa-order-cart-button svg,
.wa-order-checkout-button svg {
    fill: currentColor;
}

/* Ensure focus states are accessible */
.wa-order-cart-button:focus,
.wa-order-checkout-button:focus {
    outline: 2px solid #128C7E;
    outline-offset: 2px;
}

/* Active/pressed state */
.wa-order-cart-button:active,
.wa-order-checkout-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

/* ========================================
   CHECKOUT PAGE - COMPLETE PANEL STYLING
   ======================================== */

/* Main checkout form area - organize into panels */
.wc-block-checkout__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Force light gray background on checkout page */
body.woocommerce-checkout .container-wrap,
body.woocommerce-checkout .full-width-content {
    background-color: #f5f5f5 !important;
    background: #f5f5f5 !important;
}

/* Also target the specific checkout wrapper */
body.woocommerce-checkout .wp-block-woocommerce-checkout-i2-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .woocommerce {
    background-color: #ffffff !important;
    background: #f5f5f5 !important;
}

/* Ensure the checkout columns also have the background */
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
    background-color: transparent !important;
}

/* Override any theme-specific backgrounds */
body.woocommerce-checkout[data-bg-header="false"],
body.woocommerce-checkout.material {
    background-color: #f5f5f5 !important;
}

/* Ensure the order summary sticky panel stays WHITE */
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout__sidebar > div,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Also ensure any wrapper around the sidebar stays transparent to show the panel */
body.woocommerce-checkout .wc-block-checkout__sidebar-wrapper {
    background-color: transparent !important;
    background: transparent !important;
}

/* Ensure the checkout container has proper spacing */
.wp-block-woocommerce-checkout {
    padding: 20px;
}

/* ========================================
   LEFT SIDE - FORM PANELS
   ======================================== */

/* Panel styles for all form sections */
.wc-block-checkout__contact-fields,
.wc-block-checkout__shipping-fields,
.wc-block-checkout__shipping-option,
.wc-block-checkout__payment-method,
.wc-block-checkout__additional-fields,
.wp-block-woocommerce-checkout-contact-information-block,
.wp-block-woocommerce-checkout-shipping-address-block,
.wp-block-woocommerce-checkout-billing-address-block,
.wp-block-woocommerce-checkout-shipping-methods-block,
.wp-block-woocommerce-checkout-payment-methods-block,
.wp-block-woocommerce-checkout-order-note-block {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
}

/* Style the existing headers (no duplicates) */
.wc-block-checkout h2,
.wp-block-woocommerce-checkout-contact-information-block h2,
.wp-block-woocommerce-checkout-shipping-address-block h2,
.wp-block-woocommerce-checkout-payment-methods-block h2 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

/* Ensure form fields have proper spacing within panels */
.wc-block-components-text-input,
.wc-block-components-combobox {
    margin-bottom: 15px;
}

/* Buttons container at bottom of order summary */
.checkout-summary-buttons-container {
    display: flex !important;
    gap: 10px !important;
    padding: 20px !important;
    margin: 20px 0 0 0 !important;
    border-top: 1px solid #e0e0e0 !important;
background: #ffffff !important;    box-sizing: border-box !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    width: 100% !important;
    position: relative !important;
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */

@media (max-width: 768px) {
    /* Form panels on mobile */
    .wc-block-checkout__contact-fields,
    .wc-block-checkout__shipping-fields,
    .wc-block-checkout__shipping-option,
    .wc-block-checkout__payment-method,
    .wc-block-checkout__additional-fields,
    .wp-block-woocommerce-checkout-contact-information-block,
    .wp-block-woocommerce-checkout-shipping-address-block,
    .wp-block-woocommerce-checkout-billing-address-block,
    .wp-block-woocommerce-checkout-shipping-methods-block,
    .wp-block-woocommerce-checkout-payment-methods-block,
    .wp-block-woocommerce-checkout-order-note-block {
        padding: 20px !important;
        margin-bottom: 15px !important;
        border-radius: 8px !important;
    }
    
    /* Order summary on mobile */
    .wc-block-checkout__sidebar .wc-block-components-sidebar-layout {
        margin-top: 20px;
        border-radius: 8px !important;
    }
    
    /* Buttons container on mobile */
    .checkout-summary-buttons-container {
        padding: 15px !important;
    }
}

/* Order summary title - use pseudo-element for inset border */
.wc-block-checkout__sidebar h2:first-child {
    padding: 20px 20px 15px 20px !important;
    margin: 0 !important;
    border-bottom: none !important; /* Remove full-width border */
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #111 !important;
    position: relative !important;
}

/* Add inset border using pseudo-element */
.wc-block-checkout__sidebar h2:first-child::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #e0e0e0;
}

/* Buttons container - modify border to be inset */
.checkout-summary-buttons-container {
    display: flex !important;
    gap: 10px !important;
    padding: 20px !important;
    margin: 20px 0 0 0 !important;
    border-top: none !important; /* Remove full-width border */
    background: #ffffff !important;
    box-sizing: border-box !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    width: 100% !important;
    position: relative !important;
}

/* Add inset border to buttons container */
.checkout-summary-buttons-container::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #e0e0e0;
}

/* If there are any dividers between order items, make them inset too */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item {
    padding: 15px 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
    position: relative !important;
}

/* Add inset divider between items if needed */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

