/* Cart Layout Styles - Fake Search Box Version */

/* Cart Header */
.wcc-cart-header {
    background: #f8f9fa;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.wcc-cart-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wcc-cart-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.wcc-mobile-title {
    display: none;
}

/* Search Container - 30% width for both desktop and mobile */
.wcc-search-container {
    display: flex;
    align-items: center;
    width: 30%;
    max-width: 400px;
    min-width: 200px;
}

/* Fake Search Box */
.wcc-fake-search-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 2px solid #ddd;
    border-radius: 25px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wcc-fake-search-box:hover {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.wcc-search-placeholder {
    color: #999;
    font-size: 13px;
    flex: 1;
    text-align: left;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wcc-search-icon {
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
}

.wcc-search-icon svg {
    width: 16px;
    height: 16px;
}

/* Cart Bottom Section */
.wcc-cart-bottom-section {
    background: #f8f9fa;
    padding: 30px 0;
    margin-top: 30px;
    border-top: 1px solid #dee2e6;
}

/* Customer Message */
.wcc-customer-message {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 15px;
}

.wcc-message-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Coupon Section */
.wcc-coupon-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wcc-coupon-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.wcc-coupon-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wcc-coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.wcc-coupon-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.wcc-coupon-input:focus {
    border-color: #e74c3c;
}

.wcc-coupon-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.wcc-coupon-button:hover {
    background: #c0392b;
}

/* Applied Coupons */
.wcc-applied-coupons {
    margin-top: 15px;
}

.wcc-applied-coupons h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.wcc-applied-coupon {
    display: inline-flex;
    align-items: center;
    background: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.wcc-coupon-code {
    margin-right: 8px;
    font-weight: 500;
}

.wcc-remove-coupon {
    color: #155724;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    transition: color 0.2s ease;
}

.wcc-remove-coupon:hover {
    color: #0a3622;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .wcc-search-container {
        width: 30%;
        min-width: 180px;
    }
    
    .wcc-search-placeholder {
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .wcc-search-container {
        width: 30%;
        min-width: 160px;
    }
    
    .wcc-fake-search-box {
        padding: 9px 14px;
    }
    
    .wcc-search-placeholder {
        font-size: 11px;
    }
    
    .wcc-search-icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 767px) {
    .wcc-desktop-title {
        display: none;
    }
    
    .wcc-mobile-title {
        display: inline;
    }
    
    .wcc-search-container {
        width: 30%;
        min-width: 140px;
    }
    
    .wcc-cart-header-content {
        padding: 0 15px;
    }
    
    .wcc-cart-title {
        font-size: 18px;
    }
    
    .wcc-fake-search-box {
        padding: 8px 12px;
    }
    
    .wcc-search-placeholder {
        font-size: 10px;
    }
    
    .wcc-search-icon {
        margin-left: 6px;
    }
    
    .wcc-search-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .wcc-coupon-input-group {
        flex-direction: column;
    }
    
    .wcc-coupon-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wcc-cart-header-content {
        padding: 0 10px;
    }
    
    .wcc-cart-title {
        font-size: 16px;
    }
    
    .wcc-search-container {
        min-width: 120px;
    }
    
    .wcc-search-placeholder {
        font-size: 9px;
    }
}