/* ===== VARIABLES & BASE STYLES ===== */
:root {
    --medical-blue: #24393E;
    --medical-dark: #1a2d32;
    --medical-light: #2a4a52;
    --gold-color: #E8D26E;
    --white: #FFFFFF;
    --light-bg: #1a1a1a;
    --dark-text: #333333;
    --shadow: 0 4px 10px rgba(36, 57, 62, 0.1);
    --card-bg: #2d2d2d;
    --surface: #363636;
    --border-color: #404040;
    --muted: #b0b0b0;
    --text-light: #e0e0e0;
}

/* Utility classes to reduce repetition */
.card-bg {
    background-color: var(--card-bg) !important;
}

.surface-bg {
    background-color: var(--surface) !important;
}

.bd {
    border-color: var(--border-color) !important;
}

.muted {
    color: var(--muted) !important;
}

.text-light {
    color: var(--text-light) !important;
}

.shadow-standard {
    box-shadow: var(--shadow);
}

.text-medical-blue {
    color: var(--gold-color) !important;
}

.bg-medical-blue {
    background-color: var(--medical-blue) !important;
}

body {
    background-color: var(--light-bg);
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
}

/* ===== BUTTON STYLES ===== */
.btn {
    margin: 1.5px;
    transition: all 0.3s ease;
}

.btn-medical-action {
    background-color: var(--medical-blue) !important;
    color: white !important;
    border: none;
    opacity: 0.9;
}

.btn-medical-action:hover {
    background-color: var(--medical-dark) !important;
    color: white !important;
    opacity: 1;
    transform: scale(1.1);
}

.btn-warning {
    background-color: var(--medical-blue);
    color: white;
}

.btn-light {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.btn-lg {
    padding: 15px 30px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-action .btn:hover {
    background-color: var(--medical-dark);
    color: var(--white);
}

/* ===== NAVIGATION HOVER EFFECTS ===== */
.nav-hover {
    position: relative;
    transition: all 0.3s ease;
}

.nav-hover:hover {
    color: var(--gold-color) !important;
    transform: translateY(-2px);
}

.nav-hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: width 0.3s ease;
}

.nav-hover:hover::after {
    width: 100%;
}

.nav-icon {
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 5px;
}

.nav-icon:hover {
    color: var(--gold-color) !important;
    transform: scale(1.2);
    background-color: rgba(232, 210, 110, 0.1);
}

/* ===== SECTION TITLES ===== */
.section-title span {
    transition: all 0.5s ease;
}

.best-seller-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    padding: 12px 25px !important;
    font-family: 'Cormorant Garamond', serif;
}

.section-title span:hover {
    box-shadow: 5px 5px 10px #000 !important;
    transform: translateY(-3px);
}

/* ===== PRODUCT STYLES ===== */
.product-item {
    transition: all 0.5s ease;
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.product-item:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    border-color: var(--medical-blue);
    transform: translateY(-5px);
}

.product-img img {
    transition: transform 0.5s ease;
    height: 310px;
    object-fit: cover;
}

.product-img:hover img {
    transform: scale(1.03);
}

.product-item .h6 {
    font-weight: normal;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.product-item .h6:hover {
    font-weight: bold;
    color: var(--gold-color);
}

.product-item .d-flex h5 {
    color: var(--gold-color);
    transition: all 0.3s ease;
    font-weight: bold;
}

/* ===== OFFER SECTION ===== */
.offer-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.offer-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.offer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    z-index: 2;
    text-align: center;
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* ===== BEST SELLER CARDS ===== */
.outfit-card {
    border: 2px solid var(--medical-blue);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(36, 57, 62, 0.2);
    transition: all 0.4s ease;
    background-color: var(--card-bg);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.outfit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(36, 57, 62, 0.3);
    border-color: var(--medical-light);
}

.card-header-medical {
    background: linear-gradient(135deg, var(--medical-blue) 0%, var(--medical-dark) 100%);
    padding: 8px 15px;
    text-align: center;
}

.medical-badge {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    padding: 10px;
}

.small-images {
    margin: 10px 0;
}

.small-images img {
    width: 45px;
    height: 55px;
    margin: 3px;
    cursor: pointer;
    border: 2px solid var(--medical-blue);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.small-images img:hover {
    border-color: var(--medical-light);
    transform: scale(1.15);
}

.description {
    padding: 20px 15px;
    background-color: var(--surface);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.description .text-muted {
    color: var(--muted) !important;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 10px;
}

.ratings {
    margin: 8px 0;
}

.ratings i {
    color: var(--gold-color);
}

.ratings .text-muted {
    color: #b0b0b0 !important;
    font-size: 0.8rem;
}

.price-section {
    margin-top: auto;
}

.current-price {
    color: var(--gold-color);
    font-size: 1.3rem;
    font-weight: 700;
}

/* ===== SOCIAL MEDIA ICONS ===== */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--medical-blue);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(36, 57, 62, 0.4);
}

/* ===== FOOTER LINKS ===== */
.footer-link {
    transition: all 0.3s ease;
    padding: 2px 0;
}

.footer-link:hover {
    color: var(--gold-color) !important;
    transform: translateX(5px);
    text-decoration: none;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .offer-container {
        height: 250px;
    }

    .offer-text {
        font-size: 20px;
    }

    .best-seller-title {
        font-size: 1.2rem !important;
        padding: 8px 20px !important;
    }

    .outfit-card {
        margin-bottom: 20px;
    }
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */
.product-detail-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.btn-outline-medical {
    border-color: var(--medical-blue);
    color: var(--medical-blue);
}

.btn-outline-medical:hover {
    background-color: var(--medical-blue);
    color: white;
}

.border-medical {
    border-color: var(--medical-blue) !important;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
    border-color: var(--medical-blue);
}

.medical-tabs .nav-link {
    color: #b0b0b0;
    border: none;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.medical-tabs .nav-link.active {
    color: var(--gold-color);
    background-color: transparent;
    border-bottom: 3px solid var(--gold-color);
    font-weight: 600;
}

.medical-tabs .nav-link:hover {
    color: var(--gold-color);
    background-color: rgba(232, 210, 110, 0.1);
}

.product-features {
    background-color: var(--surface);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.table-bordered {
    border-color: var(--border-color) !important;
}

.table-bordered td {
    border-color: var(--border-color) !important;
    color: var(--text-light);
}

/* Ensure dark theme consistency */
.text-muted {
    color: var(--muted) !important;
}

.bg-light {
    background-color: var(--surface) !important;
}

/* ===== CONTACT US PAGE STYLES ===== */
.contact-container {
    max-width: 800px;
    margin: 20px auto;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.contact-header {
    text-align: center;
    margin-bottom: 25px;
}

.contact-header h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-info {
    background-color: var(--section-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: var(--card-bg);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--medical-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 18px;
}

.contact-details h5 {
    margin: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

.contact-details p {
    margin: 3px 0 0 0;
    color: #b0b0b0;
    font-size: 14px;
}

.working-hours {
    background: var(--section-bg);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list strong {
    color: #ffffff;
}

/* Contact Page Specific Social Icons */
.contact-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    color: var(--white);
    border-radius: 50%;
    margin: 0 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.contact-social .social-icon:hover {
    background: var(--medical-blue);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 3px 10px rgba(36, 57, 62, 0.3);
}



/* ===== CHECKOUT PAGE STYLES ===== */
.checkout-container {
    max-width: 1000px;
    margin: 30px auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-header h1 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.order-summary {
    background-color: var(--surface);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #404040;
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
}

.checkout-form .form-label {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.checkout-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    background-color: var(--surface);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.checkout-form .form-control:focus {
    border-color: var(--medical-blue);
    box-shadow: 0 0 0 0.2rem rgba(36, 57, 62, 0.25);
    background-color: var(--card-bg);
    color: var(--white);
}

.checkout-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.payment-methods {
    background: var(--surface);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-check-input:checked {
    background-color: var(--medical-blue);
    border-color: var(--medical-blue);
}

.btn-confirm {
    background-color: var(--medical-blue);
    border: none;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-confirm:hover {
    background-color: var(--medical-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}










.navbar-brand span {
    font-family: 'Playfair Display', serif !important;
    background-color: #24393E !important;
}

.navbar-brand span:first-child {
    color: #E8D26E !important;
}

.navbar-brand span:last-child {
    color: #E8D26E !important;
}

.navbar {
    background-color: #24393E !important;
}

.best-seller-title {
    background: linear-gradient(135deg, #24393E 0%, #2a4a52 100%) !important;
    color: #E8D26E !important;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.section-title span {
    background: linear-gradient(135deg, #24393E 0%, #2a4a52 100%) !important;
    color: #E8D26E !important;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.cart-popup-content {
    text-align: left;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #24393E;
    background: #f8f9fa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.size-options,
.color-options {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.size-option,
.color-option {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option.selected,
.color-option.selected {
    border-color: #24393E;
    background-color: #24393E;
    color: white;
}

.color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.price-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}


/* Mobile cart icon positioning */
@media (max-width: 991.98px) {
    #cart-mobile {
        order: 1;
        margin-right: 10px;
    }
    
    .navbar-toggler {
        order: 2;
    }
    
    .navbar-brand {
        order: 0;
    }
}