/* Prevent horizontal scrollbar across all public website pages */
html, body, #app {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

/* Modern Cinematic Footer Styles */
.cinematic-footer {
    margin-top: 64px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

.cinematic-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 0;
}

.footer-main-container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

@media (min-width: 1024px) {
    .footer-main-container {
        flex-direction: row;
        padding: 96px 48px;
        gap: 96px;
    }
}

/* Links Section */
.footer-links-section {
    flex: 1;
    width: 100%;
}

@media (min-width: 1024px) {
    .footer-links-section {
        max-width: 60%;
    }
}

.desktop-links {
    display: none;
    gap: 48px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
    .desktop-links {
        display: grid;
    }
}

@media (min-width: 1280px) {
    .desktop-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-group a {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.footer-link-group a:hover {
    color: #2563eb;
}

/* Mobile Accordion */
.mobile-links {
    display: block;
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .mobile-links {
        display: none;
    }
}

.mobile-links-header {
    padding: 16px 20px;
    background-color: #f8fafc;
    cursor: pointer;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease;
}

.mobile-links-header:hover {
    background-color: #f1f5f9;
}

.mobile-links-content {
    padding: 24px;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) {
    .mobile-links-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Newsletter Section */
.newsletter-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .newsletter-section {
        max-width: 40%;
        border-left: 1px solid #e5e7eb;
        padding-left: 64px;
    }
}

.newsletter-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

@media (min-width: 768px) {
    .newsletter-title {
        font-size: 36px;
    }
}

.newsletter-subtitle {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0;
}

.newsletter-form {
    margin-top: 16px;
    width: 100%;
    max-width: 500px;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.newsletter-input {
    width: 100%;
    height: 56px;
    padding: 0 130px 0 24px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    outline: none;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.newsletter-input:hover {
    border-color: #94a3b8;
}

.newsletter-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    padding: 0 24px;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.newsletter-btn:hover {
    background-color: #2563eb;
}

.newsletter-error {
    margin-top: 8px;
    margin-left: 16px;
    font-size: 12px;
    color: #ef4444;
}

/* Bottom Bar */
.bottom-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
    background-color: rgba(248, 250, 252, 0.5);
}

.bottom-bar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .bottom-bar-container {
        flex-direction: row;
        padding: 24px 48px;
    }
}

.copyright-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.legal-links a {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #334155;
}


/* Modern Contact Us Page */
.contact-page {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 300px);
    padding: 64px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}

@media (min-width: 1024px) {
    .contact-container {
        flex-direction: row;
        gap: 0;
    }
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    z-index: 10;
}

/* Left Side: Info */
.contact-info {
    flex: 1;
    background-color: #0f172a;
    color: #ffffff;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(15,23,42,0) 70%);
    border-radius: 50%;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.contact-info p.contact-desc {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.info-icon {
    color: #3b82f6;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #e2e8f0;
}

.info-text p {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
}

/* Right Side: Form */
.contact-form-wrapper {
    flex: 1.2;
    padding: 48px;
    background: #ffffff;
}

.contact-form-wrapper h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .form-grid.two-cols {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
    text-align: left;
}

.form-label.required::after {
    content: ' *';
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.3s ease;
    margin: 0;
}

.form-control:hover {
    background: #f1f5f9;
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

/* =============================================
   MODERN SIDE DRAWER CART STYLES
   ============================================= */
.mini-cart-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}
.mini-cart-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}
.mini-cart-promo {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-top: 6px;
    letter-spacing: -0.01em;
}
.mini-cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
    height: 100%;
    overflow-y: auto;
}
.mini-cart-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mini-cart-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transform: translateY(-1px);
}
.mini-cart-item-img-wrapper {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    background: #fafafa;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mini-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    justify-content: space-between;
}
.mini-cart-item-name {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #1e293b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}
.mini-cart-item-name:hover {
    color: #0f766e;
}
.mini-cart-item-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f766e;
    margin: 0;
    white-space: nowrap;
}
.mini-cart-item-meta {
    font-size: 11px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.mini-cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.mini-cart-qty-wrapper {
    zoom: 0.82;
    transform-origin: left center;
}
.mini-cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    background: #fff;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}
.mini-cart-remove-btn:hover {
    background: #fee2e2;
    border-color: #fecaca;
    transform: scale(1.05);
}

/* Empty Cart State */
.mini-cart-empty {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 80px 24px !important;
    text-align: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.mini-cart-empty-icon {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    margin-bottom: 8px;
}
.mini-cart-empty-text {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.mini-cart-empty-subtext {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    max-width: 240px;
    line-height: 1.5;
}

/* Footer styles */
.mini-cart-footer-wrapper {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    background: #ffffff;
}
.mini-cart-subtotal-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}
.mini-cart-subtotal-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}
.mini-cart-subtotal-val {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    text-align: right;
}
.mini-cart-action-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #0f766e;
    color: #ffffff !important;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}
.mini-cart-action-btn:hover {
    background: #0d9488;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.3);
    transform: translateY(-1px);
}
.mini-cart-secondary-btn {
    display: inline-block;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 4px 8px;
}
.mini-cart-secondary-btn:hover {
    color: #0f172a;
}
