/**
 * KenKiemKom Checkout Styles
 * Shopify-inspired modern checkout
 */

/* Reset & Base */
.kenkiemkom-checkout {
    background: #f7f7f7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.kenkiemkom-checkout .site-header,
.kenkiemkom-checkout .site-footer,
.kenkiemkom-checkout #main > :not(.kkk-checkout-container) {
    display: none !important;
}

/* Container */
.kkk-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.kkk-checkout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 72px);
}

@media (min-width: 1000px) {
    .kkk-checkout-wrapper {
        flex-direction: row;
    }
}

/* Main Column - Customer Info */
.kkk-checkout-main {
    flex: 1;
    padding: 20px;
    background: #fff;
}

@media (min-width: 768px) {
    .kkk-checkout-main {
        padding: 40px 60px;
    }
}

@media (min-width: 1000px) {
    .kkk-checkout-main {
        flex: 0 0 58%;
        padding: 40px 80px 40px 60px;
    }
}

/* Header */
.kkk-checkout-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
    width: 100%;
}

.kkk-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kkk-header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.kkk-header-logo img {
    max-height: 40px;
    width: auto;
}

.kkk-header-logo .kkk-site-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.kkk-header-cart {
    display: flex;
    align-items: center;
}

.kkk-cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
}

.kkk-cart-link:hover {
    background: #f3f4f6;
}

.kkk-cart-link svg {
    width: 22px;
    height: 22px;
}

.kkk-cart-count {
    background: #2271b1;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    position: absolute;
    top: 4px;
    right: 8px;
}

@media (min-width: 768px) {
    .kkk-checkout-header {
        padding: 20px 40px;
    }
    
    .kkk-header-logo img {
        max-height: 50px;
    }
    
    .kkk-cart-link svg {
        width: 24px;
        height: 24px;
    }
    
    .kkk-cart-count {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
}

/* Breadcrumb */
.kkk-checkout-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.kkk-checkout-breadcrumb a {
    color: #2271b1;
    text-decoration: none;
}

.kkk-checkout-breadcrumb a:hover {
    text-decoration: underline;
}

.kkk-checkout-breadcrumb .separator {
    margin: 0 8px;
}

.kkk-checkout-breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* Sections */
.kkk-checkout-section {
    margin-bottom: 10px;
}

.kkk-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

/* Form Fields */
.kkk-form-fields {
    display: grid;
    gap: 2px;
}

.kkk-form-fields .form-row {
    margin: 0 !important;
}

.kkk-form-fields .form-row-wide {
    grid-column: 1 / -1;
}

.kkk-form-fields .form-row-first,
.kkk-form-fields .form-row-last,
.kkk-form-fields .form-row-middle {
    width: 100% !important;
    float: none !important;
}

/* Hidden fields (first_name, last_name when using full_name) */
.kkk-form-fields .kkk-hidden {
    display: none !important;
}

/* 3-column layout for City, State, Zip */
.kkk-form-fields .kkk-col-3 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .kkk-form-fields {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .kkk-form-fields .form-row-wide {
        grid-column: 1 / -1;
    }
    
    .kkk-form-fields .kkk-col-3 {
        grid-column: span 2;
    }
}



.kkk-form-fields label {
    display: none;
}

.kkk-form-fields label .required {
    display: none;
}

.kkk-form-fields input[type="text"],
.kkk-form-fields input[type="email"],
.kkk-form-fields input[type="tel"],
.kkk-form-fields input[type="password"],
.kkk-form-fields select,
.kkk-form-fields textarea {
    width: 100%;
    height: 49px;
    padding: 0 12px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.15s ease-in-out;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 0 0 1px transparent;
    margin-bottom: 10px;
}

.kkk-form-fields textarea {
    height: auto;
    min-height: 80px;
    padding: 12px;
}

.kkk-form-fields input::placeholder,
.kkk-form-fields select::placeholder,
.kkk-form-fields textarea::placeholder {
    color: #737373;
}

.kkk-form-fields input:hover,
.kkk-form-fields select:hover,
.kkk-form-fields textarea:hover {
    border-color: #b3b3b3;
}

.kkk-form-fields input:focus,
.kkk-form-fields select:focus,
.kkk-form-fields textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.kkk-form-fields select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23737373' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 36px;
    cursor: pointer;
}

.kkk-form-fields .woocommerce-invalid input,
.kkk-form-fields .woocommerce-invalid select,
.kkk-form-fields .woocommerce-invalid textarea,
.kkk-payment-box input.woocommerce-invalid,
.kkk-payment-box select.woocommerce-invalid {
    border-color: #dc2626;
}

.kkk-form-fields .woocommerce-invalid input:focus,
.kkk-form-fields .woocommerce-invalid select:focus,
.kkk-form-fields .woocommerce-invalid textarea:focus,
.kkk-payment-box input.woocommerce-invalid:focus,
.kkk-payment-box select.woocommerce-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Shipping Methods */
.kkk-shipping-methods {
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    padding: 0;
    min-height: 60px;
}

.kkk-shipping-methods table.woocommerce-shipping-methods {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.kkk-shipping-methods table.woocommerce-shipping-methods tr {
    border-bottom: 1px solid #e5e7eb;
}

.kkk-shipping-methods table.woocommerce-shipping-methods tr:last-child {
    border-bottom: none;
}

.kkk-shipping-methods table.woocommerce-shipping-methods td {
    padding: 16px;
}

.kkk-shipping-methods table.woocommerce-shipping-methods input[type="radio"] {
    margin-right: 10px;
    vertical-align: middle;
}

.kkk-shipping-methods table.woocommerce-shipping-methods label {
    cursor: pointer;
    margin: 0;
    display: inline;
    font-size: 14px;
    vertical-align: middle;
}

.kkk-shipping-methods table.woocommerce-shipping-methods tr:hover {
    background: #f9fafb;
}

/* WooCommerce Shipping Wrapper */
.kkk-shipping-methods #shipping_method {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kkk-shipping-methods #shipping_method li {
    border-bottom: 1px solid #e5e7eb;
    padding: 16px;
    display: flex;
    align-items: center;
    transition: background 0.15s ease;
}

.kkk-shipping-methods #shipping_method li:last-child {
    border-bottom: none;
}

.kkk-shipping-methods #shipping_method li:hover {
    background: #f9fafb;
}

.kkk-shipping-methods #shipping_method input[type="radio"] {
    margin: 0 10px 0 0;
    vertical-align: middle;
    cursor: pointer;
}

.kkk-shipping-methods #shipping_method label {
    cursor: pointer;
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    line-height: 1.5;
}

.kkk-shipping-methods #shipping_method label .kkk-shipping-cost {
    font-weight: 600;
    margin-left: auto;
}

.kkk-shipping-methods .woocommerce-shipping-totals,
.kkk-shipping-methods .shipping {
    background: transparent;
}

.kkk-shipping-methods .woocommerce-shipping-totals th,
.kkk-shipping-methods .woocommerce-shipping-totals td {
    padding: 0;
    border: none;
}

.kkk-shipping-notice {
    padding: 16px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}

/* Payment Methods */
.kkk-payment-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: -10px 0 20px 0;
}

.kkk-payment-methods {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.kkk-payment-method {
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.kkk-payment-method:last-child {
    margin-bottom: 0;
}

.kkk-payment-card {
    margin-bottom: 24px;
}

.kkk-payment-method.kkk-payment-selected {
    border-color: #1a1a1a;
}

.kkk-payment-label {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    margin: 0;
    transition: background 0.15s ease;
}

.kkk-payment-label:hover {
    background: #fafafa;
}

.kkk-payment-label input[type="radio"] {
    margin: 0 12px 0 0;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    border: 2px solid #d4d4d4;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.kkk-payment-label input[type="radio"]:checked {
    border-color: #5b21b6;
    background: #5b21b6;
}

.kkk-payment-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.kkk-payment-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

.kkk-payment-box {
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.kkk-payment-method.kkk-payment-selected .kkk-payment-box {
    max-height: 600px;
    opacity: 1;
    padding: 20px;
}

.kkk-payment-box p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #4b5563;
}

/* Crypto Payment Special Discount */
.kkk-crypto-discount {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.kkk-crypto-discount::before {
    content: 'ðŸŽ‰';
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    opacity: 0.3;
}

.kkk-crypto-discount-title {
    color: #92400e;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kkk-crypto-discount-desc {
    color: #78350f;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 12px 0;
}

.kkk-crypto-discount-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.kkk-crypto-discount-details {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
}

.kkk-crypto-discount-row {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 13px;
}

.kkk-crypto-discount-row.original {
    color: #78350f;
    text-decoration: line-through;
    opacity: 0.7;
}

.kkk-crypto-discount-row.your-price {
    color: #15803d;
    font-weight: 700;
    font-size: 16px;
    border-top: 1px dashed #fbbf24;
    padding-top: 8px;
    margin-top: 8px;
}

.kkk-crypto-discount-row.savings {
    color: #dc2626;
    font-weight: 600;
    background: rgba(220, 38, 38, 0.1);
    padding: 6px 8px;
    border-radius: 4px;
    margin-top: 6px;
}

.kkk-payment-box input[type="text"],
.kkk-payment-box input[type="email"],
.kkk-payment-box input[type="tel"],
.kkk-payment-box input[type="number"] {
    width: 100%;
    height: 49px;
    padding: 0 12px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    background: #fff;
}

.kkk-payment-box input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

/* Place Order Button */
.kkk-place-order-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: #2271b1;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: none;
}

.kkk-place-order-btn:hover {
    background: #1a5a8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.kkk-place-order-btn:active {
    transform: translateY(0);
}

/* Sidebar - Order Summary */
.kkk-checkout-sidebar {
    background: #fafafa;
    border-left: 1px solid #e5e7eb;
    padding: 20px;
}

@media (min-width: 768px) {
    .kkk-checkout-sidebar {
        padding: 40px 30px;
    }
}

@media (min-width: 1000px) {
    .kkk-checkout-main {
        order: 1;
    }
    
    .kkk-checkout-sidebar {
        order: 2;
        flex: 0 0 42%;
        padding: 40px 60px 40px 40px;
    }
}

.kkk-order-summary {
    position: static;
}

@media (min-width: 1000px) {
    .kkk-order-summary {
        position: sticky;
        top: 20px;
    }
}

.kkk-summary-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #333;
}

/* Cart Items */
.kkk-cart-items {
    margin-bottom: 25px;
}

.kkk-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.kkk-cart-item:first-child {
    padding-top: 0;
}

.kkk-cart-item:last-child {
    border-bottom: none;
}

.kkk-item-image {
    position: relative;
    flex-shrink: 0;
}

.kkk-item-image img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.kkk-item-quantity {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #666;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.kkk-item-details {
    flex: 1;
    min-width: 0;
}

.kkk-item-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    font-size: 14px;
}

.kkk-item-details dl {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.kkk-item-total {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Discount Code */
.kkk-coupon-section {
    margin-bottom: 16px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.kkk-coupon-section form {
    display: flex !important;
    gap: 8px;
}

.kkk-coupon-section input[type="text"] {
    flex: 1;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s ease;
}

.kkk-coupon-section input[type="text"]:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.05);
}

.kkk-coupon-section input[type="text"]::placeholder {
    color: #9ca3af;
}

.kkk-apply-coupon {
    height: 44px;
    padding: 0 20px;
    border: none;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.kkk-apply-coupon:hover {
    background: #000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Coupon Messages */
.kkk-coupon-messages {
    margin-bottom: 16px;
}

.kkk-coupon-messages .woocommerce-error,
.kkk-coupon-messages .woocommerce-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin: 0;
}

.kkk-coupon-messages .woocommerce-error {
    background: #fee;
    border-left: 4px solid #dc2626;
    color: #dc2626;
}

.kkk-coupon-messages .woocommerce-message {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    color: #15803d;
}

.kkk-coupon-messages ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kkk-coupon-messages li {
    margin: 0;
}

/* WooCommerce default coupon row */
.cart-discount {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1px solid #86efac !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 8px 0 !important;
}

.cart-discount th,
.cart-discount td {
    padding: 12px 16px !important;
    color: #15803d !important;
    font-weight: 500 !important;
    border: none !important;
    background: transparent !important;
}

.cart-discount th {
    position: relative;
    padding-left: 40px !important;
}

.cart-discount th::before {
    content: 'âœ“';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
}

.cart-discount .woocommerce-Price-amount {
    color: #15803d !important;
    font-weight: 600 !important;
}

.cart-discount .woocommerce-remove-coupon {
    margin-left: 8px;
    color: #dc2626 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(220, 38, 38, 0.1);
    transition: all 0.2s ease;
}

.cart-discount .woocommerce-remove-coupon:hover {
    background: #dc2626 !important;
    color: #fff !important;
}

/* Crypto Discount Fee - Green style */
.kkk-crypto-fee {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1px solid #86efac !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin: 8px 0 !important;
}

.kkk-crypto-fee .kkk-total-label,
.kkk-crypto-fee .kkk-total-value {
    color: #15803d !important;
    font-weight: 600 !important;
}

/* Save 20% Badge */
.kkk-save-badge {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Crypto payment method highlight */
.kkk-payment-crypto {
    border-color: #86efac !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #fafafa 100%);
}

.kkk-payment-crypto.kkk-payment-selected {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 1px #22c55e;
}

/* Totals */
.kkk-cart-totals {
    font-size: 14px;
}

.kkk-total-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.kkk-total-row:last-child {
    border-bottom: none;
}

.kkk-total-label {
    color: #666;
}

.kkk-total-value {
    font-weight: 500;
    color: #333;
}

.kkk-discount {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 12px 16px !important;
    margin: 8px 0 !important;
}

.kkk-discount .kkk-total-label {
    color: #15803d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kkk-discount .kkk-total-label::before {
    content: 'âœ“';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
}

.kkk-discount .kkk-total-value {
    color: #15803d;
    font-weight: 600;
}

.kkk-remove-coupon {
    margin-left: 8px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    transition: all 0.2s ease;
}

.kkk-remove-coupon:hover {
    background: #dc2626;
    color: #fff;
    transform: rotate(90deg);
}

.kkk-grand-total {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #333;
}

.kkk-grand-total .kkk-total-label,
.kkk-grand-total .kkk-total-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Loading State */
.kkk-checkout-main.processing,
.kkk-checkout-sidebar.processing {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.kkk-checkout-main.processing:after,
.kkk-checkout-sidebar.processing:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.processing .kkk-place-order-btn {
    opacity: 0.6;
    pointer-events: none;
}

.processing .kkk-place-order-btn:after {
    content: '...';
    animation: dots 1.5s infinite;
}

/* Hide shipping method selector in sidebar (only show in main section) */
.kkk-order-totals .woocommerce-shipping-methods,
.kkk-order-totals #shipping_method,
.woocommerce-checkout-review-order-table,
.shop_table.woocommerce-checkout-review-order-table,
table.woocommerce-checkout-review-order-table {
    display: none !important;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* WooCommerce Notices */
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    margin: 0 0 20px 0;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid;
}

.woocommerce-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.woocommerce-message {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
}

.woocommerce-info {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Mobile Optimizations */
@media (max-width: 999px) {
    .kkk-checkout-wrapper {
        flex-direction: column;
    }
    
    .kkk-checkout-main {
        order: 1;
    }
    
    .kkk-checkout-sidebar {
        order: 2;
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
}

/* Responsive Typography */
@media (max-width: 767px) {
    .kkk-section-title {
        font-size: 16px;
    }
    
    .kkk-summary-title {
        font-size: 18px;
    }
}

/* ========================================
   THANK YOU PAGE STYLES
   ======================================== */

/* Thank you page specific */
.kenkiemkom-thankyou {
    background: #f7f7f7;
}

.kenkiemkom-thankyou .site-header,
.kenkiemkom-thankyou .site-footer,
.kenkiemkom-thankyou #main > :not(.kkk-thankyou-container) {
    display: none !important;
}

.kkk-thankyou-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.kkk-thankyou-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kkk-thankyou-logo img {
    height: 32px;
    width: auto;
}

.kkk-thankyou-success {
    text-align: center;
    padding: 40px 20px 20px;
}

.kkk-success-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.kkk-success-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 3;
    fill: none;
}

.kkk-thankyou-title {
    font-size: 28px;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px 0;
}

.kkk-order-number {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Savings Alert */
.kkk-savings-alert {
    padding: 12px 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left: 3px solid #10b981;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.kkk-savings-alert strong {
    color: #065f46;
    font-size: 16px;
    font-weight: 700;
}

/* Crypto Payment Section */
.kkk-crypto-payment-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.kkk-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.kkk-payment-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.kkk-crypto-amount-badge {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.kkk-crypto-amount-badge span {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-left: 4px;
}

/* QR Code Section */
.kkk-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.kkk-qrcode {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kkk-qrcode img {
    display: block;
}

.kkk-network-badge {
    margin-top: 12px;
    padding: 6px 12px;
    background: #fef3c7;
    border-radius: 6px;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
}

/* Wallet Address Section */
.kkk-wallet-section {
    margin-bottom: 24px;
}

.kkk-input-group {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.kkk-input-wrapper {
    flex: 1;
}

.kkk-wallet-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.kkk-wallet-input {
    width: 100%;
    height: 49px;
    padding: 0 16px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #111;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.kkk-wallet-input:hover {
    border-color: #3b82f6;
}

.kkk-wallet-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.kkk-copy-btn-group {
    flex-shrink: 0;
    width: 49px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kkk-copy-btn-group:hover {
    background: #374151;
    transform: translateY(-1px);
}

.kkk-copy-btn-group svg {
    display: block;
}

/* Payment Timeout */
.kkk-payment-timeout {
    text-align: center;
    padding: 10px;
    background: #fef3c7;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
}

/* Payment Details */
.kkk-payment-details {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.kkk-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.kkk-detail-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.kkk-detail-label {
    color: #6b7280;
}

.kkk-detail-value {
    color: #111;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kkk-amount-row .kkk-detail-value {
    font-size: 16px;
    color: #3b82f6;
}

.kkk-text-muted {
    color: #9ca3af !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}

.kkk-copy-small-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.kkk-copy-small-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.kkk-copy-small-btn svg {
    display: block;
}

/* Payment Notes */
.kkk-payment-notes {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #92400e;
}

/* Order Info Line */
.kkk-order-info-line {
    text-align: center;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
    color: #6b7280;
    margin-top: 16px;
}

/* Standard Thank You (Non-Crypto) */
.kkk-order-summary-standard {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.kkk-order-summary-standard h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 0 0 16px 0;
}

.kkk-order-summary-standard > p {
    color: #666;
    margin: 0 0 32px 0;
}

.kkk-order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    text-align: left;
}

.kkk-info-item {
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.kkk-info-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.kkk-info-value {
    display: block;
    font-size: 16px;
    color: #111;
    font-weight: 600;
}

/* Thank You Actions */
.kkk-thankyou-actions {
    margin-top: 32px;
    text-align: center;
}

.kkk-button-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.kkk-button-primary:hover {
    background: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Order Failed */
.kkk-order-failed {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

.kkk-order-failed p {
    color: #991b1b;
    margin: 0 0 20px 0;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .kkk-thankyou-container {
        padding: 12px;
    }
    
    .kkk-checkout-header {
        padding: 12px 20px;
    }
    
    .kkk-crypto-payment-section {
        padding: 16px;
        border-radius: 8px;
    }
    
    .kkk-payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .kkk-payment-header h2 {
        font-size: 18px;
    }
    
    .kkk-crypto-amount-badge {
        font-size: 16px;
    }
    
    .kkk-payment-details {
        padding: 12px;
    }
    
    .kkk-detail-row {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .kkk-amount-row .kkk-detail-value {
        font-size: 15px;
    }
    
    .kkk-qr-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .kkk-qrcode {
        padding: 8px;
    }
    
    .kkk-qrcode img {
        max-width: 100%;
        height: auto !important;
    }
    
    .kkk-wallet-input {
        font-size: 11px;
        padding: 0 12px;
        height: 44px;
    }
    
    .kkk-copy-btn-group {
        width: 44px;
        height: 44px;
    }
    
    .kkk-input-group {
        gap: 8px;
    }
    
    .kkk-savings-alert {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .kkk-payment-notes {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .kkk-order-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
