/* bide-shop.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.bide-shop-wrapper {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    color: #2c3e50;
}

.bide-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.bide-search-form {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.bide-search-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e1e8ed;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-family: inherit;
    font-size: 15px;
}

.bide-search-form button {
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--bide-p1) 0%, var(--bide-p2) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 8px 8px 0 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s !important;
}

.bide-search-form button:hover {
    transform: translateY(-2px) !important;
}

.bide-cart-icon {
    font-size: 26px;
    cursor: pointer;
    position: relative;
    padding: 10px;
    color: var(--bide-p1);
    transition: transform 0.3s;
}

.bide-cart-icon:hover {
    transform: scale(1.1);
}

.bide-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--bide-a1) 0%, var(--bide-a2) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.bide-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.bide-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
}

.bide-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.bide-product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f8fafc;
    cursor: pointer;
    border-bottom: 1px solid #f0f4f8;
}

.bide-product-title {
    font-size: 16px;
    margin: 15px 20px 5px;
    font-weight: 600;
    color: #1a252f;
    flex: 1;
    cursor: pointer;
    line-height: 1.4;
}

.bide-product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--bide-a2);
    margin: 0 20px 15px;
}

.bide-add-to-cart-btn {
    display: block !important;
    width: auto !important;
    margin: 0 20px 20px 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 12px 15px !important;
    background: linear-gradient(135deg, var(--bide-a1) 0%, var(--bide-a2) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    text-transform: none !important;
}

.bide-add-to-cart-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

/* Modals */
.bide-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.bide-modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    font-family: 'Outfit', sans-serif;
}

.bide-close-modal, .bide-close-cart, .bide-close-auth-modal {
    position: absolute !important;
    top: 20px !important;
    right: 25px !important;
    font-size: 32px !important;
    cursor: pointer !important;
    color: #8898aa !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
    min-width: auto !important;
    padding: 0 !important;
    transition: color 0.3s;
}

.bide-close-modal:hover, .bide-close-cart:hover, .bide-close-auth-modal:hover {
    color: #ff5e62 !important;
}

/* Cart Specific */
.bide-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f4f8;
}

.bide-cart-item-name {
    flex: 2;
    font-weight: 500;
    font-size: 15px;
}

.bide-cart-item-actions {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bide-qty-btn {
    background: #f4f7f6 !important;
    border: 1px solid #e1e8ed !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    color: #333 !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.bide-cart-item-price {
    flex: 1;
    text-align: right;
    font-weight: 700;
    color: var(--bide-p2);
}

.bide-cart-total {
    font-size: 24px;
    font-weight: 700;
    text-align: right;
    margin: 30px 0;
    color: #1a252f;
}

.bide-checkout-section select, .bide-checkout-section textarea, .bide-checkout-section input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-top: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.bide-checkout-section select:focus, .bide-checkout-section textarea:focus, .bide-checkout-section input:focus {
    border-color: var(--bide-p2);
}
