html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.btn:hover {
    background-color: var( --brand-accent-hover)
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
:root {
    --brand-dark: #0F172A;
    --brand-surface: #1e293b;
    --brand-accent: #2F9E6D;
    --brand-accent-hover: #25825a;
    --brand-muted: #94a3b8;
}

body {
    color: #ffffff !important;
    font-family: 'Tajawal', sans-serif !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--brand-dark) !important;
}

.body-home-bg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)), url('/landing_page_background_with_doodle_art.webp');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: top center;
}

@@media (max-width: 768px) {
    .body-home-bg {
        background-attachment: scroll;
        background-repeat: repeat;
        background-size: 120% auto;
    }
}

.body-default-bg {
    background-color: var(--brand-dark) !important;
    background-image: none;
}

.glass-header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1030;
    position: sticky; 
    top: 0;
}

.btn-brand {
    background-color: var(--brand-accent);
    color: #fff;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

.nav-link-custom {
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .nav-link-custom:hover {
        color: var(--brand-accent) !important;
    }

.nav-link-active {
    color: var(--brand-accent) !important;
    font-weight: 800 !important;
}

a {
    text-decoration: none;
}

.text-brand-accent {
    color: var(--brand-accent);
}

.text-brand-muted {
    color: var(--brand-muted);
}

.bg-brand-surface {
    background-color: var(--brand-surface);
}

@@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--brand-surface);
        padding: 1.5rem;
        border-radius: 1rem;
        margin-top: 1rem;
        border: 1px solid rgba(255,255,255,0.05);
    }

    .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

        .nav-item:last-child {
            border-bottom: none;
        }
}

.glass-offcanvas {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    width: 400px !important;
    max-width: 100vw;
}

.cart-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--brand-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}