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%;
}

body {
  margin-bottom: 60px;
}

.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;
}

.site-footer {
    background: radial-gradient(circle at top left, rgba(179, 31, 39, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(33, 37, 41, 0.08), transparent 35%), linear-gradient(180deg, #faf8f6 0%, #f4f1ed 100%);
    color: #2f2f2f;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-main {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.footer-logo {
    max-width: 100%;
    height: auto;
}

.footer-description {
    color: #5f6368;
    font-size: 0.975rem;
    line-height: 1.8;
    max-width: 42rem;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.footer-links li + li {
    margin-top: 0.7rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #5b6470;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.5;
}

    .footer-links a:hover {
        color: #b31f27;
        transform: translateX(3px);
    }

    .footer-links a:focus-visible,
    .footer-contact-link:focus-visible,
    .social-link:focus-visible,
    .footer-logo-link:focus-visible {
        outline: 3px solid rgba(179, 31, 39, 0.25);
        outline-offset: 3px;
        border-radius: 0.75rem;
    }

.footer-links i {
    font-size: 0.8rem;
    color: #b31f27;
    flex-shrink: 0;
}

.social-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #495057;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

    .social-link i {
        font-size: 1.1rem;
        line-height: 1;
    }

    .social-link:hover {
        color: #fff;
        background: #b31f27;
        border-color: #b31f27;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(179, 31, 39, 0.22);
    }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

    .footer-contact-list li + li {
        margin-top: 1rem;
    }

.contact-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: rgba(179, 31, 39, 0.08);
    color: #b31f27;
    font-size: 1rem;
}

.footer-contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a9099;
    margin-bottom: 0.15rem;
}

.footer-contact-link {
    color: #374151;
    text-decoration: none;
    line-height: 1.7;
    transition: color 0.2s ease;
}

    .footer-contact-link:hover {
        color: #b31f27;
    }

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #6b7280;
}

@media (max-width: 991.98px) {
    .footer-brand {
        padding-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        padding: 1.5rem !important;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .footer-description {
        font-size: 0.95rem;
    }
}

.cart-badge-bump {
    animation: cartBadgeBump 0.35s ease;
}

@keyframes cartBadgeBump {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.28);
    }

    60% {
        transform: scale(0.92);
    }

    100% {
        transform: scale(1);
    }
}