@keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
/* Product filter and tabs styles */

p.sing_product_id {
    background-color: #b0fd00;
    position: absolute;
    top: 0;
    right: 0;
    color: #000;
    padding: 4px 16px;
    border-radius: 0px 0px 0px 16px;
    font-weight: 600;
}
.product-filter-container {
    padding: 20px;
    background: #000000;
    border: 1px solid #30343c;
}
.col-inner.tab-content-container {
    margin-top: 0px;
}
.product-filter-form {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.price-filter, .sort-filter {
    flex: 1;
    min-width: 200px;
}

.search-filter {
    flex: 2;
    min-width: 300px;
}


.filter-button, .reset-button {
    display: flex;
    align-items: flex-end;
}


.product-small:hover {
    transform: translateY(-6px);
}


.loading-spinner {
    text-align: center;
    padding: 20px;
}

.loading-spinner-fc {
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2e8b57;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pagination-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination-link {
    display: inline-block;
    padding: 0px !important;
    border: 1px solid #ddd;
    border-radius: 99px;
    text-decoration: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    margin: 0px;
    line-height: 34px;
}

.pagination-link.current {
    background-color: #9ee200;
    color: white;
    border-color: #9ee200;
}
a.pagination-link:hover {
    color: #ffffff;
    background-color: #9ee200;
}
.no-products-found {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Tab Styles */
.fco-tabs-container {
    margin-bottom: 40px;
}

.tab-item {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}



.tab-content-container {
    margin-top: 20px;
}

.fco-tab-content {
    display: none;
}

.fco-tab-content.active {
    display: block;
}

.fco-tab-content.hidden {
    display: none;
}


/* Make the icon boxes display horizontally */
.fco-tab .col-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 0px; /* Space between icons */
}

/* Set the width for each icon box */
.fco-tab .icon-box {
  width: auto;
  min-width: 120px;
  max-width: 180px;
  flex: 1;
  margin: 0;
 
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Add some hover effects */
.fco-tab .icon-box:hover {
  transform: translateY(-5px);
 
}

.fco-tab .icon-box-img {
    width: 86px !important;
}
.product-small.box.has-hover.box-normal.box-text-bottom {
    background: #1f2228;
    border: 1px solid #30343c;
}

.product-small .box-text.text-left {
    padding: 0px 0px 8px 0px;
}
.account_id { background-color: #b0fd00; position: absolute; top: 0; left: 0; color: #000; padding: 4px 8px; border-radius: 2px 0px 18px 0px; font-weight: 600;font-size: 14px; }
.product-small .title-wrapper {
    background-color: #ff9800;
    width: 100%;
    text-align: center;
    padding: 5px 2px;
    text-transform: uppercase;
}

.product-small .price-wrapper {
    font-size: 18px;
    text-align: center;
}

.account_details {
    background-color: #313233;
    margin: 0px 4px 8px 4px;
    color: #d1d1d1;
    padding: 8px;
    border-radius: 6px;
    font-style: italic;font-size: 12px;
}


.product-small .image-cover {
    padding-top: 65% !important;
}

a.btnMuangay {
    background: -webkit-linear-gradient(bottom, #7bb100 0%, #acf700 100%);
    color: #000000;
    margin: auto;
    text-align: center !important;
    padding: 6px 8px;
    font-weight: 600;
    margin-top: 8px !important;
    display: flex !important;
    justify-content: center;
    width: 68%;
}

.filter-button {
    margin:  0px !important;
}

.filter-button button {
    background: -webkit-linear-gradient(bottom, #b1ff00 0%, #acf700 100%);
    color: #000000;
}

.icon-box.active img {
    border: 3px solid #aefa00 !important;
    border-radius: 50%;
        padding: 0px;
    margin: 0px;
}

.filter-select option {
    background-color: white;
    color: black;
}
button.reset-filter-btn {
    background: -webkit-linear-gradient(bottom, #EC4B13 0%, #AC300E 100%);
    color: #000;
    box-shadow: unset;
}
.icon-box.tab-item.active h3 {
    color: #b1ff00 !important;
}
/* Style for active tab */

/* Make the images responsive */
.fco-tab .icon-box-img {
  margin-bottom: 10px;
}

/* Style the text for better readability */
.fco-tab .icon-box-text h3 {
  font-size: 14px;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

/* Responsive adjustments */



@media (max-width: 768px) {
  .fco-tab .icon-box {
    min-width: 100px;
    max-width: 150px;
  }
}

@media (max-width: 480px) {
	
	.fco-tab .col-inner {
    display: flex;
    flex-wrap: inherit;
    gap: 2px !important;
    overflow: scroll;
}
	.fco-tab .icon-box-img {
    width: 58px !important;
}
	
	.col.summer-product-info .col-inner { padding: 8px; }
	.col.summer-product-info .custom-button {
    display: flex !important;
    flex: 1;
    margin: 0px 0px 8px 0px;
}
	
	div#fco-tab-row .fco-tab > .col-inner {
    padding: 8px !important;
}
	
  .fco-tab .col-inner {
    gap: 4px;
  }
  
  .fco-tab .icon-box {
    min-width: 78px;
    max-width: 110px;
	padding: 0px;
  }
  
  .fco-tab .icon-box-text h3 {
    font-size: 12px;
  }
}

.product-filter-form * { margin-bottom: 0px; }
.product-filter-container {
    padding: 8px;
}

.filter-button, .reset-button { flex: 1; }  .filter-button *, .reset-button * { width: 100%; margin: 0px; }
div#fco-tab-row .fco-tab > .col-inner {
    background: #1f2228;
    border: 1px solid #30343c;
    border-bottom: none;
    padding: 20px 20px 15px 20px;
}

.fco-tab .icon-box-text h3 {
    text-transform: uppercase;
    font-weight: 500;
}




/* Dark theme for account details - Optimized for responsiveness */
.account-details-order {
    background-color: #111;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    border: 1px solid #222;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #eee;
    width: 100%;
   animation-name
    box-sizing: border-box;
}
section.woocommerce-order-details {
    display: none;
}
.account-details-order h4 {
    color: #fcbf55;
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    flex-wrap: wrap;
    line-height: 1.4;
}

.account-details-order h4 svg {
    margin-right: 8px;
    stroke: #fcbf55;
    flex-shrink: 0;
}

.account-detail-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    margin-bottom: 8px;
    background-color: #1a1a1a;
    border-radius: 6px;
    border-left: 3px solid #b1ff00;
    flex-wrap: wrap;
}

.account-detail-item strong {
    display: flex;
    align-items: center;
    color: #b1ff00;
    margin-right: 8px;
    width: 188px;
    font-size: 14px;
    flex-shrink: 0;
}

.account-detail-item strong svg {
    margin-right: 5px;
    stroke: #b1ff00;
    flex-shrink: 0;
}

.account-detail-item span {
    flex: 1;
    min-width: 0; /* Important for text overflow in flex items */
    word-break: break-all;
    padding: 0 8px;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
}

.copy-btn {
    background-color: #222;
    border: none;
    color: #ccc;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 5px;
    height: 28px;
    width: 28px;
}

.copy-btn:hover {
    background-color: #333;
    color: #fcbf55;
}

.copy-btn svg {
    stroke: currentColor;
}

.copy-btn.copied {
    background-color: #2d3b1f;
    color: #b1ff00;
}

/* Responsive adjustments - Mobile First approach */
@media (max-width: 480px) {
    .account-details-order {
        padding: 12px;
    }
    
    .account-detail-item {
        flex-direction: column;
        padding: 8px;
    }
    
    .account-detail-item strong {
        width: 100%;
        margin-right: 0;
        margin-bottom: 6px;
    }
    
    .account-detail-item span {
        width: 100%;
        padding: 5px 0;
        margin-bottom: 6px;
    }
    
    .copy-btn {
        align-self: flex-end;
        margin-left: auto;
    }
}

/* Medium screens (tablets) */
@media (min-width: 481px) and (max-width: 768px) {
    .account-detail-item {
        flex-wrap: wrap;
    }
    
    .account-detail-item strong {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .account-detail-item span {
        width: calc(100% - 40px);
        padding: 5px 0;
    }
    
    .copy-btn {
        margin-left: auto;
		position: absolute;
        background-color: unset;
    }
	
		.woo-top-buyers__list {
    min-height: unset;
}
	
	
}

/* Ensure tap targets are large enough on mobile */
@media (max-width: 768px) {
    .copy-btn {
        height: 36px;
        width: 36px;
        padding: 8px;
		position: absolute;
        background-color: unset;
    }
	
	.woo-top-buyers__list {
    min-height: unset;
}
	
}

.woo-top-buyers__list {
    min-height: 250px;
}

        .woo-top-buyers {
            background-color: #111;
            color: #fff;
            border-radius: 0px;
            overflow: hidden;
            max-width: 450px;
            margin: 0 auto;
        }
        .woo-top-buyers__title {
            color: #adff2f;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            padding: 15px 0;
            margin: 0;
        }
        .woo-top-buyers__list {
            padding: 0 15px;
        }
        .woo-top-buyers__item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding: 5px 0;
        }
        .woo-top-buyers__rank {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
            font-weight: bold;
        }
        .woo-top-buyers__rank-1 {
            background-color: transparent;
            color: #ffd700;
            font-size: 24px;
        }
        .woo-top-buyers__rank-2 {
            background-color: #00ffcc;
            color: #000;
        }
        .woo-top-buyers__rank-3 {
            background-color: #00b3ff;
            color: #000;
        }
        .woo-top-buyers__rank-4,
        .woo-top-buyers__rank-5,
        .woo-top-buyers__rank-6 {
            background-color: #3cb371;
            color: #000;
        }
        .woo-top-buyers__name {
            color: #ff9800;
            font-size: 16px;
            font-weight: bold;
            flex-grow: 1;
        }
        .woo-top-buyers__amount {
            background-color: #ffbf00;
            color: #000;
            padding: 2px 10px;
            border-radius: 5px;
            font-weight: bold;
        }
        
.row-action-top {
    display: flex;
    flex-direction: column; /* xếp dọc */
    gap: 15px;
    align-items: stretch;   /* để nút chiếm full width */
    margin: 14px 0;
}

/* Base button styling */
.woo-top-buyers__button,
.woo-top-minigame__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 150px;
    height: 45px;
    border: 2px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     width: 100%; /* full width */
}



/* Nạp số dư button - Blue theme */
.woo-top-buyers__button {
    background: linear-gradient(135deg, #4CAF50, #4CAF50);
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px #4CAF50;
}

.woo-top-buyers__button::before {
    content: "💰";
    margin-right: 8px;
    font-size: 16px;
    animation: bounce 2s infinite;
}

/* Mini Game button - Orange theme */
.woo-top-minigame__button {
    background: linear-gradient(135deg, #ff6b35, #cc5529);
    color: white;
    border-color: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.woo-top-minigame__button::before {
    content: "🎮";
    margin-right: 8px;
    font-size: 16px;
    animation: pulse 1.5s infinite;
}

/* Hover effects */
.woo-top-buyers__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.5);
    background: linear-gradient(135deg, #4CAF50, #4CAF50);
    border-color: #0099cc;
}

.woo-top-minigame__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #cc5529, #994020);
    border-color: #cc5529;
}

/* Active/Click effects */
.woo-top-buyers__button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.woo-top-minigame__button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Glow animation */
@keyframes glow-blue {
    0% { box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(0, 191, 255, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3); }
}

@keyframes glow-orange {
    0% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); }
}

/* Icon animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Apply glow animations */
.woo-top-buyers__button {
    animation: glow-blue 3s infinite;
}

.woo-top-minigame__button {
    animation: glow-orange 3s infinite 1s;
}

/* Shimmer effect */
.woo-top-buyers__button::after,
.woo-top-minigame__button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.woo-top-buyers__button:hover::after,
.woo-top-minigame__button:hover::after {
    left: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .row-action-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .woo-top-buyers__button,
    .woo-top-minigame__button {
        width: 100%;
        
    }
}

/* Loading state animation */
@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.woo-top-buyers__button.loading::before {
    content: "⟳";
    animation: loading 1s linear infinite;
}

.woo-top-minigame__button.loading::before {
    content: "⟳";
    animation: loading 1s linear infinite;
}














/* Modal Base Styles */
.modal-process-buy-now {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-process-buy-now__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.modal-process-buy-now__container {
    position: relative;
    background: #1f2228;
    border: 2px solid #30343c;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.3s ease;
}

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

/* Header */
.modal-process-buy-now__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 2px solid #30343c;
    background: linear-gradient(135deg, #2a2d35 0%, #1f2228 100%);
}

.modal-process-buy-now__price-row {
    display: none;
}

.modal-process-buy-now__header h3 {
    margin: 0;
    color: #b1ff00;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-process-buy-now__close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-process-buy-now__close:hover {
    background: #ff4200;
    transform: rotate(90deg);
}

/* Body */
.modal-process-buy-now__body {
    padding: 20px;
}

/* Product Info */
.modal-process-buy-now__product-info {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #111;
    border-radius: 8px;
    border: 1px solid #30343c;
    margin-bottom: 20px;
}

.modal-process-buy-now__product-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #30343c;
}

.modal-process-buy-now__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-process-buy-now__product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-process-buy-now__product-details h4 {
    margin: 0;
    color: #ff9800;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.modal-process-buy-now__product-id {
    color: #b1ff00;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}

.modal-process-buy-now__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-process-buy-now__label {
    color: #aaa;
    font-size: 14px;
}

.modal-process-buy-now__original-price * {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

/* Coupon Section */
.modal-process-buy-now__coupon-section {
    margin-bottom: 20px;
}

.modal-process-buy-now__coupon-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b1ff00;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-process-buy-now__coupon-section label svg {
    stroke: #b1ff00;
}

.modal-process-buy-now__coupon-input-group {
    display: flex;
    gap: 8px;
}

.modal-process-buy-now__coupon-input-group input {
    flex: 1;
    padding: 2px 16px !important;
    background: #111 !important;
    border: 2px solid #30343c ! IMPORTANT;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 14px !important;
    text-transform: uppercase;
    transition: all 0.3s 
ease !important;
    height: 48px !important;
    max-height: unset !important;
}

.modal-process-buy-now__coupon-input-group input:focus {
    outline: none;
    border-color: #b1ff00;
    background: #1a1a1a;
}

.modal-process-buy-now__apply-btn {
    padding: 2px 16px !important;
    background: linear-gradient(135deg, #b1ff00 0%, #8bc900 100%);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modal-process-buy-now__apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(177, 255, 0, 0.4);
}

.modal-process-buy-now__apply-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.modal-process-buy-now__coupon-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: none;
}

.modal-process-buy-now__coupon-message.success {
    display: block;
    background: rgba(177, 255, 0, 0.1);
    border: 1px solid #b1ff00;
    color: #b1ff00;
}

.modal-process-buy-now__coupon-message.error {
    display: block;
    background: rgba(255, 66, 0, 0.1);
    border: 1px solid #ff4200;
    color: #ff4200;
}

/* Summary */
.modal-process-buy-now__summary {
    background: #111;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #30343c;
}

.modal-process-buy-now__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #aaa;
    font-size: 14px;
}

.modal-process-buy-now__summary-row span:last-child {
    color: #fff;
    font-weight: 600;
}

.modal-process-buy-now__discount {
    color: #b1ff00 !important;
}

.modal-process-buy-now__total-row {
    border-top: 2px solid #30343c;
    margin-top: 4px;
    padding-top: 6px;
    font-size: 16px;
}

.modal-process-buy-now__total-row span:first-child {
    color: #fff;
    font-weight: 600;
}

.modal-process-buy-now__final-price {
    color: #ff9800 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.modal-process-buy-now__balance {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #30343c;
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 13px;
}

.modal-process-buy-now__balance span:last-child {
    color: #b1ff00;
    font-weight: 700;
}

/* Footer */
.modal-process-buy-now__footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 2px solid #30343c;
    background: #1a1a1a;
}

.modal-process-buy-now__btn {
    flex: 1;
    padding: 4px 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-process-buy-now__btn-cancel {
    background: #30343c;
    color: #fff;
}

.modal-process-buy-now__btn-cancel:hover {
    background: #3a3f48;
    transform: translateY(-2px);
}

.modal-process-buy-now__btn-confirm {
    background: linear-gradient(135deg, #b1ff00 0%, #8bc900 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(177, 255, 0, 0.3);
}

.modal-process-buy-now__btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(177, 255, 0, 0.5);
}

.modal-process-buy-now__btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.modal-process-buy-now__btn svg {
    flex-shrink: 0;
}

/* Loading State */
.modal-process-buy-now__btn.loading {
    position: relative;
    color: transparent;
}

.modal-process-buy-now__btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    
        .col.summer-product-info .custom-button {
        padding: 4px 12px;
    }
    
    .modal-process-buy-now__container {
        width: 95%;
        max-width: none;
        margin: 10px;
    }

    .modal-process-buy-now__header {
        padding: 12px 15px;
    }

    .modal-process-buy-now__header h3 {
        font-size: 16px;
    }

    .modal-process-buy-now__body {
        padding: 15px;
    }

    /* Giữ layout ngang và thu gọn */
    .modal-process-buy-now__product-info {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .modal-process-buy-now__product-image {
        width: 70px;
        height: 70px;
    }

    .modal-process-buy-now__product-details h4 {
        font-size: 14px;
        line-height: 1.3;
        /* Giới hạn 2 dòng */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .modal-process-buy-now__product-id {
        font-size: 12px;
    }

    .modal-process-buy-now__price-row {
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .modal-process-buy-now__label {
        font-size: 12px;
    }

    .modal-process-buy-now__original-price * {
        font-size: 14px;
    }

    /* Thu gọn các phần khác */
    .modal-process-buy-now__coupon-section {
        margin-bottom: 15px;
    }

    .modal-process-buy-now__coupon-section label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .modal-process-buy-now__coupon-input-group input {
        font-size: 13px !important;
        height: 42px !important;
    }

    .modal-process-buy-now__apply-btn {
        font-size: 13px;
        padding: 0 14px !important;
    }

    .modal-process-buy-now__summary {
        padding: 12px;
    }

    .modal-process-buy-now__summary-row {
        padding: 6px 0;
        font-size: 13px;
    }

    .modal-process-buy-now__total-row {
        font-size: 15px;
        padding-top: 10px;
        margin-top: 6px;
    }

    .modal-process-buy-now__final-price {
        font-size: 20px !important;
    }

    .modal-process-buy-now__balance {
        margin-top: 10px;
        padding-top: 10px;
        font-size: 12px;
    }

    .modal-process-buy-now__footer {
        padding: 5px 10px;
        gap: 8px;
    }
    
    .modal-process-buy-now__footer button {
    margin-bottom: 0px;
}

    .modal-process-buy-now__btn {
        padding: 6px 2px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-process-buy-now__product-image {
        width: 65px;
        height: 65px;
    }

    .modal-process-buy-now__product-details h4 {
        font-size: 13px;
    }

    .modal-process-buy-now__coupon-input-group {
        flex-direction: row;
        gap: 6px;
    }

    .modal-process-buy-now__coupon-input-group input {
        height: 40px !important;
    }

    .modal-process-buy-now__apply-btn {
        padding: 0 12px !important;
        white-space: nowrap;
    }

    .modal-process-buy-now__header h3 {
        font-size: 15px;
    }

    .modal-process-buy-now__final-price {
        font-size: 18px !important;
    }
}


.modal-process-buy-now__close {
    margin: 0px ! IMPORTANT;
    padding: 0px !important;
    height: 36px !important;
    max-height: 36px !important;
    min-height: unset;
}