:root {
    --primary-red: #73020F;
    --secondary-gray: #A7AEBA;
    --black: #000000;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 600;
}

.signature-red {
    background-color: var(--primary-red);
}

.signature-red-text {
    color: var(--primary-red);
}

.signature-gray {
    background-color: var(--secondary-gray);
}

.signature-gray-text {
    color: var(--secondary-gray);
}

/* Header Styles */
.header-top {
    background-color: var(--primary-red);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    top: 100%;
    right: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 400;
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--primary-red);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 10px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Page Title Section */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #5a0109 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title-section.light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    border-bottom: 1px solid #dee2e6;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-title-section.light .page-title {
    font-size: 3rem;
    color: var(--primary-red);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.page-title-section.light .page-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 500;
}

.page-highlight {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Area Styles */
.content-area {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(115, 2, 15, 0.08);
    border: 1px solid rgba(115, 2, 15, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Sidebar Styles */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(115, 2, 15, 0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar h3 {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
}

/* Product Grid */
.product-area {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(115, 2, 15, 0.1);
}

/* Booqable Components */
.booqable-datepicker {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(115, 2, 15, 0.1);
    border: 1px solid #f1f3f4;
    margin-bottom: 3rem;
}

.booqable-sidebar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(115, 2, 15, 0.1);
    border: 1px solid #e9ecef;
}

.booqable-sidebar * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.booqable-sidebar .form-group {
    margin-bottom: 1.5rem !important;
}

.booqable-sidebar input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}

.booqable-sidebar input:focus {
    outline: none !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 3px rgba(115, 2, 15, 0.1) !important;
}

.booqable-sidebar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.booqable-sidebar li {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #f1f3f4 !important;
}

.booqable-sidebar li:last-child {
    border-bottom: none !important;
}

.booqable-sidebar a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.booqable-sidebar a:hover {
    color: var(--primary-red) !important;
}

.booqable-product-search {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(115, 2, 15, 0.1);
    border: 1px solid #f1f3f4;
    margin-bottom: 3rem;
}

.booqable-product-list {
    margin-top: 0;
}

/* Collection Info Card */
.collection-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 6px solid var(--primary-red);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(115, 2, 15, 0.08);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.info-title {
    font-weight: 500;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.info-description {
    font-weight: 400;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Login Page Specific Styles */
.login-main {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(115, 2, 15, 0.15);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    margin: 0 2rem;
}

.login-form-container {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f1f3f4;
}

.form-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.form-tab.active {
    color: var(--primary-red);
}

.form-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-red);
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(115, 2, 15, 0.1);
}

.form-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-button:hover {
    background: #5a0109;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(115, 2, 15, 0.3);
}

.form-link {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.form-link a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
}

.form-link a:hover {
    text-decoration: underline;
}

.booqable-auth {
    margin-top: 2rem;
}

/* Search Dropdown Styles */
.booqable-search-button {
    position: relative;
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    border: 1px solid #e9ecef;
}

.search-dropdown.open {
    display: block;
}

.search-dropdown input {
    transition: border-color 0.3s ease;
}

.search-dropdown input:focus {
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 3px rgba(115, 2, 15, 0.1) !important;
}

.search-suggestion {
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-suggestion:hover {
    background-color: #f8f9fa;
}

.search-suggestion img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Universal Search Modal */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Isolate modal search from main page - prevent Booqable interference */
body:has(.search-overlay.open) .booqable-product-list:not(.modal-search-results) {
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
}

/* Hide unwanted Booqable product lists on specific pages */
body[data-page="login"] .booqable-product-list:not(.modal-search-results),
body[data-page="checkout"] .booqable-product-list:not(.modal-search-results),
body[data-page="confirmation"] .booqable-product-list:not(.modal-search-results) {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Hide any standalone product items on non-product pages */
body[data-page="login"] .booqable-product:not(.search-overlay *),
body[data-page="checkout"] .booqable-product:not(.search-overlay *),
body[data-page="confirmation"] .booqable-product:not(.search-overlay *) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Fallback: Hide by class detection */
body.login-page .booqable-product-list:not(.modal-search-results),
body.checkout-page .booqable-product-list:not(.modal-search-results),
body.confirmation-page .booqable-product-list:not(.modal-search-results) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Force hide any disabled product lists */
.booqable-product-list[data-disabled="true"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Ensure search modal product lists are always visible */
.search-overlay .booqable-product-list {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    left: auto !important;
    z-index: auto !important;
}

.search-modal {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(115, 2, 15, 0.3);
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.3s ease;
    cursor: default;
    overflow: hidden;
}

.search-overlay.open .search-modal {
    transform: translateX(-50%) translateY(0);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0;
}

.search-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: #f5f5f5;
    color: var(--primary-red);
}

.universal-search-form {
    position: relative;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.universal-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.universal-search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(115, 2, 15, 0.1);
}

.search-icon-input {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    z-index: 1;
}

.search-suggestions {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem 2rem 2rem 2rem;
}

.search-category {
    margin-bottom: 1.5rem;
}

.search-category-title {
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-item {
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f3f4;
    margin-bottom: 0.25rem;
}

.search-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.search-item-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.search-item-description {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.search-item-price {
    font-size: 0.8rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 0.25rem;
}

.search-view-all {
    background: var(--primary-red);
    color: white;
    margin-top: 0.5rem;
}

.search-view-all:hover {
    background: #5a0109;
    transform: none;
}

.search-view-all .search-item-title,
.search-view-all .search-item-description {
    color: white;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-results h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.no-results ul {
    text-align: left;
    max-width: 300px;
    margin: 1rem auto;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.no-results li {
    margin-bottom: 0.5rem;
}

.search-loading {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f1f3f4;
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Booqable Search Component Styles in Modal */
.booqable-search-container {
    padding: 1rem 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.booqable-search-container .booqable-product-search {
    margin: 0;
}

.booqable-search-container .booqable-product-search input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: white;
}

.booqable-search-container .booqable-product-search input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(115, 2, 15, 0.1);
}

.booqable-search-container .booqable-product-search input::placeholder {
    color: #999;
    font-family: 'Poppins', sans-serif;
}

.search-results-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem 2rem 2rem 2rem;
    position: relative;
}

/* AJAX Live Results Overlay */
.ajax-live-results {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 10;
    padding: 1rem 2rem 2rem 2rem;
    overflow-y: auto;
}

.search-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.search-loading .spinner {
    width: 30px;
    height: 30px;
    border: 2px solid #f1f3f4;
    border-top: 2px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

.product-result {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #f1f3f4;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.product-result:hover {
    box-shadow: 0 4px 12px rgba(115, 2, 15, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-red);
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1rem;
    background: #f5f5f5;
}

.product-info {
    flex: 1;
}

.product-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.product-description {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.product-price {
    color: var(--primary-red);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-results h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.no-results p {
    color: #666;
    font-family: 'Poppins', sans-serif;
}

/* Original Booqable Product List Styling */
.search-results-container .booqable-product-list {
    margin: 0;
}

.search-results-container .booqable-product-list .product-item {
    padding: 1rem;
    border: 1px solid #f1f3f4;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-results-container .booqable-product-list .product-item:hover {
    box-shadow: 0 4px 12px rgba(115, 2, 15, 0.1);
    transform: translateY(-2px);
}

/* Grid layout for proper product card spacing */
.booqable-product-list-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    padding: 1rem 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .booqable-product-list-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .booqable-product-list-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ensure product cards don't overlap */
.booqable-product {
    position: relative !important;
    margin: 0 !important;
}
}

/* Loading state for Booqable components in modal */
.search-results-container .booqable-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.search-results-container .booqable-loading .spinner {
    width: 30px;
    height: 30px;
    border: 2px solid #f1f3f4;
    border-top: 2px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

/* Products Page Search Container */
.products-search-container {
    padding: 2rem;
    text-align: center;
}

.products-search-container .search-description {
    margin-bottom: 1.5rem;
}

.products-search-container .search-description p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.search-redirect-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.search-redirect-btn:hover {
    background: #5a0109;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(115, 2, 15, 0.3);
}

.search-powered {
    text-align: center;
    padding: 1rem 2rem;
    border-top: 1px solid #f1f3f4;
    font-size: 0.8rem;
    color: #999;
    background: #fafafa;
}

/* Cart Styles */
.booqable-cart-button {
    position: relative;
}

/* Hide Booqable branding in cart */
.booqable-cart-contents [class*="powered"],
.booqable-cart-contents [class*="branding"],
.booqable-cart-contents a[href*="booqable"],
.cart-sidebar [class*="powered"],
.cart-sidebar [class*="branding"],
.cart-sidebar a[href*="booqable"],
[class*="booqable"] [class*="powered"],
[class*="booqable"] [class*="branding"],
[class*="booqable"] a[href*="booqable.com"],
*[class*="booqable-powered"],
*[class*="booqable-branding"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide any text containing "Powered by Booqable" */
*:contains("Powered by Booqable"),
*:contains("powered by booqable") {
    display: none !important;
}

#cart-count {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.booqable-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: #999999;
    padding: 2rem 0;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}

.footer-links {
    text-align: center;
    margin: 1.5rem 0;
}

.footer-links a {
    color: rgb(235, 59, 79);
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 0 0.5rem;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.footer-powered {
    text-align: center;
    color: #999999;
    font-size: 13px;
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .logo {
        height: 50px;
    }
}

@media (max-width: 768px) {
    body {
        background-color: #fafafa;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 200;
    }

    .nav-menu.mobile-open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0.5rem;
        border-radius: 4px;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-title-section.light .page-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .main-content {
        padding: 2rem 0;
    }

    .content-area {
        padding: 2rem;
    }

    .sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .login-form-container {
        padding: 3rem 2rem;
    }

    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }

    .cart-sidebar.open {
        right: 0;
    }

    .main-header .container {
        position: relative;
    }

    /* Stack header icons vertically on very small screens */
    .flex.items-center.space-x-4 {
        gap: 0.5rem;
    }

    .logo {
        height: 40px;
    }

    .search-modal {
        width: 95%;
        top: 5%;
        max-height: 90vh;
    }

    .search-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .universal-search-form {
        padding: 1rem 1.5rem;
    }

    .search-suggestions {
        padding: 1rem 1.5rem 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .page-title-section.light .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .page-title-section.light .page-subtitle {
        font-size: 1rem;
    }

    .sidebar {
        padding: 1.5rem;
    }

    .product-area {
        padding: 1.5rem;
    }

    .nav-menu {
        padding: 1rem;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 0.75rem 0;
    }

    /* Footer responsive */
    .footer {
        padding: 1.5rem 0;
    }

    .footer-bottom,
    .footer-links,
    .footer-powered {
        font-size: 12px;
    }

    .footer-links {
        margin: 1rem 0;
    }

    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }

    /* Cart sidebar responsive */
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }

    .cart-sidebar.open {
        right: 0;
    }