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 #ba3f09;
}

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;
}

/* ========================================
   Card Page Styles
   ======================================== */

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gradient-text {
    background: linear-gradient(135deg, #ba3f09, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

.contact-btn {
    transition: all 0.3s ease;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.dark .section-divider {
    background: linear-gradient(90deg, transparent, #3a2820, transparent);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(186, 63, 9, 0.15);
}

.badge-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.safe-area-pb {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Desktop full-screen layout */
@media (min-width: 1024px) {
    .card-desktop-layout {
        display: grid;
        grid-template-columns: 1fr 480px 1fr;
        min-height: 100vh;
    }
    
    .card-sidebar-left,
    .card-sidebar-right {
        background: linear-gradient(135deg, #ba3f09 0%, #d97706 50%, #f59e0b 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
    }
    
    .card-main {
        background: #f8fafc;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        overflow-y: auto;
    }
}

/* Mobile layout */
@media (max-width: 1023px) {
    .card-sidebar-left,
    .card-sidebar-right {
        display: none;
    }
    
    .card-main {
        min-height: 100vh;
        background: #f8fafc;
    }
}