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;
}

/* Category Cards Responsive Styles */
@media (max-width: 767.98px) {
  .category-img {
    height: 150px !important;
    object-fit: cover;
  }
  
  .category-title {
    font-size: 0.8rem !important;
    margin: 8px !important;
    padding: 4px 8px !important;
  }
}

/* Delivery Options Styles */
.delivery-options {
    margin-top: 1rem;
}

.delivery-option {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.delivery-option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.delivery-option.selected {
    border-color: #28a745;
    background-color: #f8fff8;
}

.delivery-label {
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-description {
    color: #6c757d;
    font-size: 0.9rem;
}

.form-check-input:checked + .delivery-label .option-header {
    color: #28a745;
}

.shipping-cost-info .alert {
    margin-bottom: 0;
    padding: 0.75rem;
}

.updated-total {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
}

.btn-change-address {
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-change-address:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

.pickup-info .alert {
    margin-bottom: 0;
}

/* Responsive styles for delivery options */
@media (max-width: 767.98px) {
    .delivery-option {
        padding: 0.75rem;
    }
    
    .option-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}