body, .navbar, .btn, .category-card, .product-card {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    color: #FFA726 !important;
    font-size: 3rem !important;
    letter-spacing: 0.5px;
}

.hero-subtitle, .category-description, .card-title, .card-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 1rem;
}

.hero-section {
    min-height: 400px;
}

.hero-section .btn-primary, .btn-primary {
    background: #FFA726;
    border: none;
    color: #222;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    transition: background 0.2s;
}

.hero-section .btn-primary:hover, .btn-primary:hover {
    background: #fb8c00;
    color: #fff;
}

.navbar-brand {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff !important;
    font-size: 2rem;
}

.navbar {
    background: #fff !important;
}

.category-card {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #222;
}

/* Lovet Marketplace - Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.2);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background-color: #0066cc !important;
    border-color: #0066cc !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    padding: 0.75rem 2rem !important;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #0052a3 !important;
    border-color: #0052a3 !important;
    color: #fff !important;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #1e7e34;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.card-body {
    padding: 1rem;
}

.card-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    background-color: #f8f9fa;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.product-store {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

/* Search Section */
.search-section {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Cart */
.cart-icon {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cart-item-title a {
    text-decoration: none;
}

.cart-item-price {
    color: #007bff;
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #007bff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white;
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.sidebar {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: #007bff;
    color: white;
}

.main-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
}

.table th,
.table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table tr:hover {
    background-color: #f8f9fa;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .dashboard {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 1rem;
    }
    
    .sidebar {
        order: 1 !important;
        margin-bottom: 1rem;
    }
    
    .main-content {
        order: 2 !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* Image Upload Styles */
.current-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.image-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    background: #f8f9fa;
}

.image-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.image-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.image-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.primary-radio, .delete-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.primary-radio:hover {
    background-color: #e3f2fd;
}

.delete-checkbox:hover {
    background-color: #ffebee;
}

.radio-label {
    color: #1976d2;
    font-weight: 500;
}

.checkbox-label {
    color: #d32f2f;
    font-weight: 500;
}

.image-status {
    color: #666;
    font-weight: 500;
    text-align: center;
    font-size: 0.75rem;
}

.image-info input[type="radio"],
.image-info input[type="checkbox"] {
    margin: 0;
}

/* Image Preview Styles */
.image-preview {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.preview-item {
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.preview-info small {
    font-size: 0.75rem;
    color: #666;
}

.primary-indicator {
    color: #1976d2 !important;
    font-weight: 500;
}

/* Product Details Page */
.product-details-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 100%;
    overflow: hidden;
}


.product-images-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    max-width: 100%;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
    aspect-ratio: 1;
    max-width: 150px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
}

.image-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Responsive adjustments for product images */
@media (max-width: 768px) {
    .product-images-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
        max-width: 120px;
    }
    

/*    .row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }*/
}

@media (max-width: 480px) {
    .product-images-gallery {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.4rem;
    }
    
    .gallery-item {
        border-radius: 4px;
        max-width: 100px;
    }
    
    .image-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
}

/* Enhanced gallery interactions */
.gallery-item {
    cursor: pointer;
}

.gallery-item:active {
    transform: scale(0.98);
}

/* Ensure images don't overflow on very small screens */
@media (max-width: 360px) {
    .product-images-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .gallery-item {
        max-width: 80px;
    }
}

/* Custom container width for featured products */
.container.featured-products-container {
    max-width: 70% !important;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .container.featured-products-container {
        max-width: 98% !important;
    }
}

@media (max-width: 768px) {
    .container.featured-products-container {
        max-width: 100% !important;
        padding: 0 15px;
    }
}

/* Row layout for product details */
/*.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .row {
        grid-template-columns: 1fr;
    }
}*/

/* Product links */
.product-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.product-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* File Upload Styling */
input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.3s;
}

input[type="file"]:hover {
    border-color: #007bff;
}

input[type="file"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* Form Row for responsive layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Input Group for price fields */
.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    padding: 0.75rem;
    background: #e9ecef;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 5px 0 0 5px;
    color: #495057;
}

.input-group .form-control {
    border-radius: 0 5px 5px 0;
}

/* Form Check styling */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.form-check-input {
    margin: 0;
    width: 1rem;
    height: 1rem;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
}

/* Content header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.action-buttons .btn {
    min-width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.action-buttons .btn i {
    font-size: 14px;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

a.btn.btn-primary.btn-gold,
button.btn.btn-primary.btn-gold,
input[type="submit"].btn.btn-primary.btn-gold {
    background-color: #FFA726 !important;
    border-color: #FFA726 !important;
    color: #fff !important;
}

a.btn.btn-primary.btn-gold:hover,
button.btn.btn-primary.btn-gold:hover,
input[type="submit"].btn.btn-primary.btn-gold:hover,
a.btn.btn-primary.btn-gold:focus,
button.btn.btn-primary.btn-gold:focus,
input[type="submit"].btn.btn-primary.btn-gold:focus {
    background-color: #fb8c00 !important;
    border-color: #fb8c00 !important;
    color: #fff !important;
}


/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-primary {
    background-color: #cce5ff;
    color: #004085;
}

.badge-secondary {
    background-color: #e2e3e5;
    color: #383d41;
} 

/* --- Navigation styles from index.php for global consistency --- */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #222222 !important;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff !important;
}

/* Mobile cart icon styles */
.navbar .nav-link.d-lg-none {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333 !important;
    text-decoration: none;
    padding: 0.5rem;
    margin-right: 10px;
}

.navbar .nav-link.d-lg-none:hover {
    color: #0066cc !important;
}

.navbar .form-control,
.navbar .form-select {
    border-radius: 20px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.navbar .form-control:focus,
.navbar .form-select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.navbar .btn {
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
}

.search-form-nav {
    flex: 1;
    max-width: 1280px;
}

.search-form-nav .form-control {
    flex: 1;
    min-width: 0;
}

@media (max-width: 991px) {
    .navbar .form-control,
    .navbar .form-select {
        margin-bottom: 0.5rem;
    }
    .search-form-nav {
        max-width: 100%;
    }
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}
/* --- End navigation styles --- */ 

/* --- Lovet Marketplace Button Theme (High Specificity) --- */
button.btn.btn-primary, a.btn.btn-primary, input[type="submit"].btn.btn-primary {
    background-color: #0066cc !important;
    border-color: #0066cc !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    padding: 0.75rem 2rem !important;
    color: #fff !important;
}
button.btn.btn-primary:hover, a.btn.btn-primary:hover, input[type="submit"].btn.btn-primary:hover,
button.btn.btn-primary:focus, a.btn.btn-primary:focus, input[type="submit"].btn.btn-primary:focus {
    background-color: #0052a3 !important;
    border-color: #0052a3 !important;
    color: #fff !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #FFA726 !important;
    border-color: #FFA726 !important;
    color: #fff !important;
}
/* --- End Button Theme --- */

/* Cart checkout buttons spacing */
.checkout-actions .btn.btn-block {
    margin-bottom: 1rem !important;
    display: block !important;
}

.checkout-actions .btn.btn-block:last-child {
    margin-bottom: 0 !important;
}

/* Alternative approach - target specific button types */
.checkout-actions .btn-primary.btn-block {
    margin-bottom: 1rem !important;
}

.checkout-actions .btn-secondary.btn-block {
    margin-top: 0.5rem !important;
} 