/* Modern Responsive CSS for BeautyNike Store - Compact Version */

/* Base responsive improvements */
img {
    max-width: 100%;
    height: auto;
}

/* Modern color palette */
:root {
    --primary: #6a11cb;
    --secondary: #2575fc;
    --accent: #ff6b6b;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --gradient-start: #6a11cb;
    --gradient-end: #2575fc;
}

/* Modern typography - Compact */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.4; /* Reduced from 1.5 */
    color: var(--gray-800);
    font-size: 0.875rem; /* Smaller base font */
    background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Reduced from 700 */
    line-height: 1.2; /* Reduced from 1.3 */
    margin-bottom: 0.5rem; /* Reduced spacing */
}

h1 { font-size: 1.75rem; /* Reduced from 2.5rem */ }
h2 { font-size: 1.5rem; /* Reduced from 2rem */ }
h3 { font-size: 1.25rem; /* Reduced from 1.75rem */ }
h4 { font-size: 1.125rem; /* Reduced from 1.5rem */ }
h5 { font-size: 1rem; /* Reduced from 1.25rem */ }
h6 { font-size: 0.875rem; /* Reduced from 1.1rem */ }

/* Modern navigation - Compact */
.navbar {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    padding: 0.5rem 0; /* Reduced padding */
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
}

.navbar-brand {
    font-weight: 700; /* Reduced from 800 */
    font-size: 1.25rem; /* Reduced from 1.75rem */
    background: linear-gradient(45deg, white, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-height: 44px;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 500; /* Reduced from 600 */
    transition: all 0.2s ease; /* Faster transition */
    padding: 0.25rem 0.5rem; /* Reduced padding */
    min-height: 44px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
    font-size: 0.875rem; /* Smaller font */
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-1px); /* Reduced movement */
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.navbar-nav .nav-item {
    margin: 0 0.125rem; /* Reduced spacing */
}

/* Modern buttons - Compact */
.btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.5rem 1.25rem; /* Reduced padding */
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Reduced shadow */
    font-size: 0.875rem; /* Smaller font */
    min-height: 44px;
    min-width: 44px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px); /* Reduced movement */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Reduced shadow */
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 8px rgba(106, 17, 203, 0.3); /* Reduced shadow */
}

.btn-danger {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.btn-success {
    background: linear-gradient(135deg, #56ab2f, #a8e063);
}

.btn-lg {
    padding: 0.75rem 1.5rem; /* Reduced padding */
    font-size: 1rem; /* Reduced font size */
}

.btn-sm {
    padding: 0.375rem 0.75rem; /* Reduced padding */
    font-size: 0.8125rem; /* Reduced font size */
}

/* Modern cards - Compact */
.card {
    border: none;
    border-radius: 10px; /* Reduced from 15px */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Reduced shadow */
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 1.5rem; /* Reduced spacing */
    background: white;
}

.card:hover {
    transform: translateY(-5px); /* Reduced movement */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12); /* Reduced shadow */
}

.card-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    font-weight: 700;
    padding: 1rem 1.5rem; /* Reduced padding */
}

.card-body {
    padding: 1.5rem; /* Reduced padding */
}

/* Slider/Carousel - Compact design */
.carousel {
    border-radius: 10px; /* Reduced from 15px */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    margin: 1.5rem 0; /* Reduced margin */
    position: relative;
}

.carousel-item {
    height: 300px; /* Reduced from 500px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.carousel-item .carousel-content {
    max-width: 800px;
    padding: 1rem; /* Reduced padding */
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.carousel-item h2 {
    font-size: 2rem; /* Reduced from 3rem */
    font-weight: 700; /* Reduced from 800 */
    margin-bottom: 1rem; /* Reduced spacing */
    animation: fadeInUp 0.6s ease;
}

.carousel-item p {
    font-size: 1rem; /* Reduced from 1.25rem */
    margin-bottom: 1.5rem; /* Reduced spacing */
    animation: fadeInUp 0.6s ease 0.2s both;
}

.carousel-item .btn {
    animation: fadeInUp 0.6s ease 0.4s both;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Reduced shadow */
}

.carousel-item img {
    max-height: 300px; /* Reduced from 500px */
    object-fit: cover;
    width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px; /* Reduced from 60px */
    height: 40px; /* Reduced from 60px */
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduced shadow */
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0.5);
    width: 1.5rem; /* Reduced size */
    height: 1.5rem; /* Reduced size */
}

.carousel-indicators [data-bs-target] {
    width: 10px; /* Reduced from 12px */
    height: 10px; /* Reduced from 12px */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: white;
    transform: scale(1.1); /* Reduced from 1.2 */
}

/* Product cards - Compact design */
.product-card {
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px; /* Reduced from 15px */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Reduced shadow */
    margin-bottom: 1.5rem; /* Reduced spacing */
    position: relative;
    background: white;
}

.product-card:hover {
    transform: translateY(-5px); /* Reduced from -10px */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12); /* Reduced shadow */
}

/* Card link for clickable entire card */

/* Ensure content stays above the link */

/* Ensure buttons still work */

.product-image {
    height: 200px; /* Reduced from 300px */
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease; /* Faster transition */
}

.product-card:hover .product-image {
    transform: scale(1.03); /* Reduced from 1.05 */
}

.sale-badge {
    position: absolute;
    top: 10px; /* Reduced from 20px */
    right: 10px; /* Reduced from 20px */
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    color: white;
    font-weight: 700; /* Reduced from 800 */
    padding: 0.4rem 0.8rem; /* Reduced padding */
    border-radius: 30px;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3); /* Reduced shadow */
    z-index: 10;
    font-size: 0.75rem; /* Smaller font */
    animation: pulse 1.5s infinite; /* Faster animation */
}

.card-title {
    font-weight: 600; /* Reduced from 700 */
    color: var(--gray-800);
    font-size: 1.125rem; /* Reduced from 1.375rem */
    margin-bottom: 0.5rem; /* Reduced spacing */
}

.card-text {
    color: var(--gray-600);
    font-size: 0.875rem; /* Reduced from 1rem */
    margin-bottom: 1rem; /* Reduced spacing */
    line-height: 1.5; /* Reduced from 1.6 */
}

/* Product detail page - Compact design */
.product-image-main {
    height: 400px; /* Reduced from 500px */
    object-fit: cover;
    width: 100%;
    border-radius: 10px; /* Reduced from 15px */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Reduced shadow */
}

.product-image-thumb {
    height: 80px; /* Reduced from 120px */
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px; /* Reduced from 10px */
    transition: all 0.2s ease; /* Faster transition */
    border: 2px solid transparent;
}

.product-image-thumb:hover {
    border-color: var(--primary);
    transform: scale(1.03); /* Reduced from 1.05 */
}

/* Cart page - Compact design */
.cart-table th {
    font-weight: 600; /* Reduced from 700 */
    color: var(--gray-700);
    font-size: 0.875rem; /* Smaller font */
}

.product-image-thumb-cart {
    width: 60px; /* Reduced from 80px */
    height: 60px; /* Reduced from 80px */
    object-fit: cover;
    border-radius: 8px; /* Reduced from 10px */
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem; /* Reduced from 0.5rem */
}

.quantity-btn {
    width: 28px; /* Reduced from 35px */
    height: 28px; /* Reduced from 35px */
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease; /* Faster transition */
    font-size: 0.75rem; /* Smaller font */
    min-height: 44px;
    min-width: 44px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Reduced shadow */
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
}

.quantity-input {
    width: 40px; /* Reduced from 50px */
    text-align: center;
    border: 1px solid var(--gray-300);
    border-radius: 6px; /* Reduced from 8px */
    padding: 0.125rem; /* Reduced padding */
    font-size: 0.8125rem; /* Smaller font */
    font-weight: 500; /* Reduced from 600 */
}

/* Order summary - Compact design */
.order-summary {
    background: linear-gradient(135deg, var(--gray-100), white);
    border-radius: 10px; /* Reduced from 15px */
    padding: 1rem; /* Reduced from 1.5rem */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); /* Reduced shadow */
}

.order-summary .list-group-item {
    border: none;
    padding: 0.5rem 0; /* Reduced padding */
    background: transparent;
    font-size: 0.875rem; /* Smaller font */
}

/* Footer - Compact design */
.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 2rem 0 1.5rem; /* Reduced padding */
    font-size: 0.875rem; /* Smaller font */
    margin-top: 2rem; /* Reduced margin */
}

.footer h5 {
    font-weight: 600; /* Reduced from 700 */
    margin-bottom: 1rem; /* Reduced spacing */
    position: relative;
    font-size: 1.125rem; /* Reduced from 1.25rem */
    padding-bottom: 0.75rem; /* Reduced padding */
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px; /* Reduced from 50px */
    height: 2px; /* Reduced from 3px */
    background: var(--primary);
    border-radius: 1px; /* Reduced from 2px */
}

.footer a {
    color: var(--gray-400);
    transition: all 0.2s ease; /* Faster transition */
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.375rem 0; /* Reduced padding */
    display: block;
    line-height: 1.4; /* Reduced from 1.5 */
}

.footer a:hover {
    color: white;
    transform: translateX(3px); /* Reduced movement */
    background: rgba(255, 255, 255, 0.05);
    padding-left: 0.375rem; /* Reduced padding */
    border-radius: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    padding: 0.375rem 0; /* Reduced padding */
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    width: 20px; /* Reduced from 24px */
    height: 20px; /* Reduced from 24px */
    line-height: 20px; /* Reduced from 24px */
    text-align: center;
    margin-right: 0.5rem; /* Reduced spacing */
    color: var(--primary);
    font-size: 0.875rem; /* Smaller font */
}

.social-icons {
    display: flex;
    gap: 0.75rem; /* Reduced from 1rem */
    margin-top: 1rem; /* Reduced spacing */
    justify-content: flex-start;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Reduced from 50px */
    height: 40px; /* Reduced from 50px */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 1.125rem; /* Reduced from 1.5rem */
    margin: 0;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduced shadow */
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px); /* Reduced movement */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Reduced shadow */
    border-color: white;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s; /* Faster animation */
}

.social-icons a:active::before {
    width: 200%; /* Reduced from 300% */
    height: 200%; /* Reduced from 300% */
}

/* WhatsApp floating button - Compact design */
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Reduced from 30px */
    right: 20px; /* Reduced from 30px */
    width: 50px; /* Reduced from 60px */
    height: 50px; /* Reduced from 60px */
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px; /* Adjusted for new size */
    font-size: 24px; /* Reduced from 30px */
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); /* Reduced shadow */
    z-index: 1000;
    transition: all 0.2s ease; /* Faster transition */
    animation: pulse 1.5s infinite; /* Faster animation */
}

.whatsapp-float:hover {
    transform: scale(1.05); /* Reduced from 1.1 */
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); /* Reduced shadow */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); /* Reduced opacity */
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); /* Reduced size */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Modern form elements - Compact */
.form-control, .form-select {
    border-radius: 8px; /* Reduced from 10px */
    border: 1px solid var(--gray-300);
    padding: 0.5rem 0.75rem; /* Reduced padding */
    transition: all 0.2s ease; /* Faster transition */
    font-size: 0.875rem; /* Smaller font */
    min-height: 44px;
    min-width: 44px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Reduced shadow */
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(106, 17, 203, 0.2); /* Reduced shadow */
}

.form-label {
    font-weight: 500; /* Reduced from 600 */
    color: var(--gray-700);
    font-size: 0.8125rem; /* Smaller font */
    margin-bottom: 0.25rem; /* Reduced spacing */
}

/* Modern badges - Compact */
.badge {
    font-weight: 500; /* Reduced from 600 */
    padding: 0.35em 0.65em; /* Reduced padding */
    border-radius: 50px;
    font-size: 0.75rem; /* Smaller font */
}

.badge.bg-danger {
    background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #56ab2f, #a8e063) !important;
}

/* Modern alerts - Compact */
.alert {
    border-radius: 8px; /* Reduced from 10px */
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Reduced shadow */
    padding: 0.75rem 1rem; /* Reduced padding */
    font-size: 0.875rem; /* Smaller font */
}

.alert-success {
    background: linear-gradient(135deg, #56ab2f, #a8e063);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: white;
}

/* Modern sections - Compact */
section {
    padding: 3rem 0; /* Reduced from 4rem */
}

section:nth-child(even) {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.03), rgba(37, 117, 252, 0.03));
}

/* Flash sales section */
.flash-sales {
    position: relative;
    overflow: hidden;
    padding: 3rem 0; /* Reduced padding */
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 142, 142, 0.1));
}

.flash-sales::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 142, 142, 0.05));
    z-index: -1;
}

.flash-sales .section-title {
    text-align: center;
    margin-bottom: 2rem; /* Reduced spacing */
}

.flash-sales .section-title h2 {
    font-size: 2rem; /* Reduced from 2.5rem */
    background: linear-gradient(135deg, var(--accent), #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Featured products section */
.featured-products {
    position: relative;
    overflow: hidden;
    padding: 3rem 0; /* Reduced padding */
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.02), rgba(37, 117, 252, 0.02)); /* Reduced opacity */
    z-index: -1;
}

.featured-products .section-title {
    text-align: center;
    margin-bottom: 2rem; /* Reduced spacing */
}

.featured-products .section-title h2 {
    font-size: 2rem; /* Reduced from 2.5rem */
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations - Faster */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* Reduced movement */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.4s ease; /* Faster animation */
}

.slide-in-left {
    animation: fadeInUp 0.4s ease;
}

.slide-in-right {
    animation: fadeInUp 0.4s ease 0.1s both;
}

/* Responsive improvements */
@media (max-width: 991px) {
    h1 { font-size: 1.625rem; } /* Further reduced */
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.25rem; }
    
    .carousel-item h2 {
        font-size: 1.75rem; /* Reduced */
    }
    
    .carousel-item p {
        font-size: 0.875rem; /* Reduced */
    }
    
    .product-image {
        height: 180px; /* Reduced */
    }
}

@media (max-width: 767px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    
    .carousel-item {
        height: 250px; /* Reduced from 300px */
    }
    
    .carousel-item h2 {
        font-size: 1.5rem; /* Reduced */
    }
    
    .carousel-item .btn {
        padding: 0.375rem 1rem; /* Reduced */
        font-size: 0.75rem; /* Reduced */
    }
    
    .product-image {
        height: 160px; /* Reduced */
    }
    
    .product-image-main {
        height: 300px; /* Reduced */
    }
    
    .footer {
        padding: 1.5rem 0 1rem; /* Reduced */
    }
    
    .social-icons a {
        width: 35px; /* Reduced */
        height: 35px; /* Reduced */
        font-size: 1rem; /* Reduced */
    }
    
    section {
        padding: 2rem 0; /* Reduced */
    }
}

@media (max-width: 575px) {
    h1 { font-size: 1.375rem; } /* Further reduced */
    h2 { font-size: 1.125rem; }
    h3 { font-size: 1rem; }
    
    .navbar-brand {
        font-size: 1.125rem; /* Reduced */
    }
    
    .carousel-item {
        height: 200px; /* Reduced */
    }
    
    .carousel-item h2 {
        font-size: 1.25rem; /* Reduced */
    }
    
    .carousel-item .btn {
        padding: 0.25rem 0.75rem; /* Reduced */
        font-size: 0.6875rem; /* Reduced */
    }
    
    .product-image {
        height: 140px; /* Reduced */
    }
    
    .product-image-main {
        height: 250px; /* Reduced */
    }
    
    .btn {
        padding: 0.375rem 1rem; /* Reduced */
        font-size: 0.75rem; /* Reduced */
    }
    
    .btn-lg {
        padding: 0.5rem 1rem; /* Reduced */
        font-size: 0.875rem; /* Reduced */
    }
    
    .social-icons {
        gap: 0.5rem; /* Reduced */
    }
    
    .social-icons a {
        width: 30px; /* Reduced */
        height: 30px; /* Reduced */
        font-size: 0.875rem; /* Reduced */
    }
    
    .whatsapp-float {
        width: 40px; /* Reduced */
        height: 40px; /* Reduced */
        line-height: 40px; /* Adjusted */
        font-size: 20px; /* Reduced */
        bottom: 15px; /* Reduced */
        right: 15px; /* Reduced */
    }
}

@media (max-width: 400px) {
    h1 { font-size: 1.25rem; } /* Further reduced */
    h2 { font-size: 1rem; }
    h3 { font-size: 0.875rem; }
    
    .carousel-item {
        height: 180px; /* Reduced */
    }
    
    .carousel-item h2 {
        font-size: 1.125rem; /* Reduced */
    }
    
    .product-image {
        height: 120px; /* Reduced */
    }
    
    .btn {
        padding: 0.25rem 0.75rem; /* Reduced */
        font-size: 0.6875rem; /* Reduced */
    }
}