/**** public/assets/css/tyleia.css ***/

/* ====================================
   TYPOGRAPHY SYSTEM - Tyleia TCO
   Matching tyleia.ae website fonts
   ==================================== */

:root {
    /* Font Families */
    --e-global-typography-primary-font-family: 'Montserrat', sans-serif;
    --e-global-typography-primary-font-weight: 700;

    --e-global-typography-secondary-font-family: 'Inter Tight', sans-serif;
    --e-global-typography-secondary-font-weight: 600;

    --e-global-typography-text-font-family: 'Inter', sans-serif;
    --e-global-typography-text-font-weight: 500;

    --e-global-typography-accent-font-family: 'Inter', sans-serif;
    --e-global-typography-accent-font-weight: 700;

    /* Fallback for backward compatibility */
    --font-primary: var(--e-global-typography-primary-font-family);
    --font-secondary: var(--e-global-typography-secondary-font-family);
    --font-text: var(--e-global-typography-text-font-family);

    /* WordPress Preset Font Sizes */
    --wp--preset--font-size--small: 13px;
    --wp--preset--font-size--medium: 20px;
    --wp--preset--font-size--large: 36px;
    --wp--preset--font-size--x-large: 42px;

    /* Base Font Sizing (applied via html selector) */

    /* Bootstrap Navigation Variables */
    --bs-nav-link-font-size: 16px;
    --bs-nav-link-line-height: 1.25;
}

/* HTML Base Font Size - Default */
html {
    font-size: 100%; /* Default font size for dashboard */
    overflow-y: scroll; /* Always show vertical scrollbar */
}

/* Base Body Text - Inter 500 */
body {
    background: black;
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
}

/* Adjust container widths to account for scrollbar (typically 15-17px) */
.container,
.container-fluid,
.main-wrapper {
    box-sizing: border-box;
}

/* Default max-width for smaller screens */
@media (max-width: 1199px) {
    .container,
    .container-fluid,
    .main-wrapper {
        max-width: calc(
            1140px - 20px
        ); /* Reduce by 20px to account for scrollbar + padding */
    }
}

/* Ensure body content accounts for always-visible scrollbar */
body {
    padding-right: 0; /* Let browser handle scrollbar space naturally */
    margin-right: 0;
}

/* CSS custom property to calculate scrollbar width */
:root {
    --scrollbar-width: calc(100vw - 100%);
}

/* For screens larger than 1400px - expand content to 80% with 10% black on each side */
@media (min-width: 1400px) {
    /* Main wrapper takes 80% of viewport, centered */
    .dashboard-v2-wrapper {
        max-width: 80vw !important; /* Total content area: 80% of viewport */
        margin: 0 auto !important;
        width: 80vw !important;
    }

    /* Left sidebar positioned at start of 80% area (after 10% left margin) */
    .desktop-sidebar {
        left: calc(
            10vw - var(--scrollbar-width) / 2
        ) !important; /* Account for dynamic scrollbar width */
        width: 200px !important;
        top: 91px !important;
        height: calc(100vh - 91px) !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Main content takes remaining space after left sidebar only */
    .dashboard-main-content {
        margin-left: 200px !important; /* Left sidebar (200px) */
        margin-right: 0 !important; /* No right margin - right column is inside */
        max-width: calc(80vw - 200px) !important; /* 80% - left sidebar only */
        width: calc(80vw - 200px) !important;
    }

    /* Override container widths to fit within content area - ONLY for dashboard pages */
    .dashboard-v2-wrapper .container,
    .dashboard-v2-wrapper .container-fluid,
    .dashboard-v2-wrapper .main-wrapper {
        max-width: calc(80vw - 200px) !important;
        width: 100% !important;
        margin-left: 205px !important;
    }

    /* Dashboard v2 header containers - 80vw width, no padding */
    .dashboard-v2-body .header .container,
    .dashboard-v2-body .header .container-fluid,
    .dashboard-v2-body .header nav .container,
    .dashboard-v2-body .header nav .container-fluid,
    .dashboard-v2-body .header .container.d-flex.align-items-center {
        max-width: 80vw !important;
        width: 80vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* Keep overlay cart sidebar unchanged */

    /* Fix layout: left column takes remaining space, right column flexible up to 400px max */
    .col-lg-9 {
        flex: 1 !important; /* Take all remaining space */
        max-width: none !important; /* Remove Bootstrap constraint */
    }

    .col-lg-3 {
        max-width: 400px !important; /* Maximum width constraint */
        flex: 0 1 auto !important; /* Don't grow, can shrink, auto basis */
        margin-right: 0 !important; /* Remove right margin */
        padding-right: 0 !important; /* Remove right padding */
    }

    /* Ensure full width layout */
    .dashboard-main-content {
        width: calc(80vw - 200px) !important;
        max-width: calc(80vw - 200px) !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .dashboard-main-content .container,
    .dashboard-main-content .container-fluid {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .dashboard-main-content .row {
        width: 100% !important;
        margin: 0 !important;
        max-width: none !important;
    }

    /* Remove Bootstrap row gutter margin-top for service and right widget */
    .dashboard-main-content .row > * {
        margin-top: 0 !important;
    }

    /* Specific fix for services page columns */
    .dashboard-main-content .col-lg-9,
    .dashboard-main-content .col-lg-3 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* For very large screens, maintain the expanded layout */
@media (min-width: 1400px) {
    .dashboard-v2-wrapper {
        max-width: 80vw !important; /* Keep expanded layout */
    }

    .dashboard-v2-wrapper .container,
    .dashboard-v2-wrapper .container-fluid,
    .dashboard-v2-wrapper .main-wrapper {
        /* max-width: calc(80vw) !important; */
    }

    /* Dashboard v2 header containers - 80vw width, no padding */
    .dashboard-v2-body .header .container,
    .dashboard-v2-body .header .container-fluid,
    .dashboard-v2-body .header nav .container,
    .dashboard-v2-body .header nav .container-fluid,
    .dashboard-v2-body .header .container.d-flex.align-items-center {
        max-width: 80vw !important;
        width: 80vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
}

/* ====================================
   LOGIN/PUBLIC PAGES LAYOUT - 1140px
   Only applies to non-dashboard pages
   ==================================== */

/* Show scroll bar and larger font size only on login pages */
.login-body,
.login-body html {
    overflow-y: scroll !important; /* Always show vertical scroll bar on login pages */
    min-height: 100vh; /* Ensure minimum height for scroll bar visibility */
    font-size: 112% !important; /* Larger font size for login pages */
}

/* Login page specific container constraints */
.login-wrapper .container {
    max-width: calc(1140px) !important;
    margin: 0 auto;
}

/* ====================================
   SIGNIN/SIGNUP RIGHT COLUMN IMAGE ENHANCEMENT
   ==================================== */

/* Scale up the signin image within the Bootstrap column */
#extracol img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Work with the original padding-top: 20px inline style */
#extracol .row[style*='padding-top: 20px'] {
    padding-top: 45px !important;
}

/* Ensure the image column takes full advantage of available space */
#extracol .row:last-child .col-12 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ====================================
   SIGNUP FORM SPACING ADJUSTMENTS
   ==================================== */

/* Remove margin-bottom from password confirmation field */
input[name='password_confirmation'] {
    margin-bottom: 0 !important;
}

/* Remove margin-bottom from the password confirmation field container */
.mb-3:has(input[name='password_confirmation']) {
    margin-bottom: 0 !important;
}

/* Fallback selector for browsers that don't support :has() */
#password2 {
    margin-bottom: 0 !important;
}

.mb-3:last-of-type {
    margin-bottom: 0 !important;
}

/* Adjust line height for signup headline */
.fs-2.fw-semibold.text-black.text-center {
    line-height: 1.4 !important;
}

/* Adjust line height for signup row text-center on left side */
.loginbox .row.text-center {
    line-height: 1.265 !important;
}

/* ====================================
   DESKTOP SIDEBAR POSITIONING
   ==================================== */

@media (min-width: 1200px) {
    .desktop-sidebar {
        left: calc(
            10vw - var(--scrollbar-width) / 2
        ) !important; /* Account for dynamic scrollbar width */
        width: 200px !important;
        top: 91px !important;
        height: calc(100vh - 91px) !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Dashboard main content positioning */
.dashboard-main-content {
    margin-left: 205px !important;
    margin-right: 0px !important;
    padding-left: 0.5rem !important;
    padding-right: 0px !important;
    margin-bottom: calc(53px + 22px) !important;
}

/* Bootstrap gutter adjustments */
.g-3,
.gx-3 {
    --bs-gutter-x: 1.5rem;
}

/* Desktop sidebar navigation positioning */
.desktop-sidebar > nav.mb-3 {
    position: absolute;
    bottom: 4rem;
    left: 0.5rem;
    right: 0.5rem;
}

/* Apply 1140px only to login body pages */
.login-body .container,
.login-body .container-fluid {
    max-width: calc(1140px) !important;
    margin: 0 auto;
}

.login-body .main-wrapper {
    max-width: calc(1140px) !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.login-body .main-wrapper .container,
.login-body .main-wrapper .container-fluid {
    max-width: calc(1140px) !important;
    width: 100% !important;
}

/* Override Bootstrap for login pages only */
.login-body .container-sm,
.login-body .container-md,
.login-body .container-lg,
.login-body .container-xl,
.login-body .container-xxl {
    max-width: calc(1140px) !important;
    margin: 0 auto;
}

/* Override Bootstrap's 1320px rule for login pages only */
@media (min-width: 1400px) {
    .login-body .container,
    .login-body .container-fluid,
    .login-body .container-sm,
    .login-body .container-md,
    .login-body .container-lg,
    .login-body .container-xl,
    .login-body .container-xxl {
        max-width: calc(1140px) !important;
    }
}

/* Headings - Montserrat Bold */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: var(--e-global-typography-primary-font-weight);
}

/* Card/Section Titles - Montserrat Bold */
.card-title,
.cart-title,
.section-header h1,
.section-header h2,
.section-header h3,
.profile-name {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: var(--e-global-typography-primary-font-weight);
}

/* Form Elements - Inter 500 */
input,
textarea,
select,
.form-control,
.form-label,
.form-label2 {
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
}

/* Paragraphs and Body Text - Inter 500 */
p,
.text-muted,
.service-description,
.cart-item-details {
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
}

/* Navigation Links - Inter Tight 600 */
.nav-link,
.navbar-nav .nav-link {
    text-decoration: none !important;
    color: #1a3055 !important;
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: var(--e-global-typography-primary-font-weight);
    position: relative;
}

.btn-signin {
    background: #005290;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.3s;
}

.btn-signin:hover {
    background: #00d084;
}

.btn-signup {
    background: #00d084;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.3s;
}

.btn-signup:hover {
    background: #005290;
}
/* Hover underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    /* Thickness of underline */
    bottom: 0;
    left: 0;
    background-color: #04d380;
    /* Underline color on hover */
    transition: width 0.25s ease;
    /* Smooth transition */
}

.nav-link:hover::after {
    width: 100%;
    /* Underline appears with transition */
}

/* Remove color change on hover */
.nav-link:hover {
    color: #1a3055 !important;
    /* Keep text color same */
}

.btn-color {
    background-color: #005d94 !important;
    border-color: #005d94 !important;
    color: white !important;
}

.logo-section {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.logo-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.status-notices {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 12px;
    margin-bottom: 24px;
    flex-direction: row;
}

.notice-card {
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid;
    flex: 1;
    min-width: 250px;
    font-size: 14px;
}

.notice-success {
    background: #d1fae5;
    border-left-color: #10b981;
    color: #065f46;
}

.notice-warning {
    background: #fef3c7;
    border-left-color: #f59e0b;
    color: #92400e;
}

.notice-danger {
    background: #fee2e2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.form-section {
    margin-bottom: 24px;
}

.section-header {
    border-bottom: 2px solid #005d94;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.text-primary {
    color: #005d94 !important;
}

.file-upload-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.form-label2 {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #444444;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.file-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.file-input {
    width: 100%;
    border: 1px dashed #d1d5db;
    background: #f9fafb;
    cursor: pointer;
}

.file-input:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.status-indicator {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fef3c7;
    color: #92400e;
}

.btn-remove {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}

.btn-remove:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
}

.input-with-status {
    position: relative;
}

.input-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

@media (max-width: 768px) {
    .status-notices {
        flex-direction: column;
    }

    .file-upload-group {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-section {
        text-align: center;
    }

    .logo-section .row {
        flex-direction: column;
        align-items: center;
    }
}

/* Dashboard wrapper with fixed width */
.dashboard-v2-wrapper {
    margin: 0 auto;
    position: relative;
    /* padding-right: 15px; */
}

/* Default max-width for smaller screens */
@media (max-width: 1199px) {
    .dashboard-v2-wrapper {
        max-width: 1140px;
    }
}

/* Desktop header spacing */
@media (min-width: 992px) {
    .dashboard-v2-wrapper {
        margin-top: 71px !important; /* Account for desktop header (50px black bar + 40px header = ~80px) */
    }
}

.desktop-sidebar {
    position: fixed;
    top: 91px; /* Keep proper alignment with content area */
    left: calc(
        (100vw - 1140px) / 2 - var(--scrollbar-width) / 2
    ); /* Aligned with wrapper edge, account for dynamic scrollbar */
    width: 200px;
    min-width: 200px;
    height: calc(100vh - 91px); /* Account for header spacing */
    border-radius: 8px;
    padding: 1rem 8px 1rem 8px !important;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Entire sidebar scrolls */
    overflow-x: hidden;
}

/* Position top content at the top of sidebar */
.sidebar-top-content {
    flex: 1 1 auto; /* Fill available space */
    padding: 0;
    display: flex; /* Make this a flex container */
    flex-direction: column; /* Stack children vertically */
}

/* Push services navigation further down */
.sidebar-top-content nav.mt-3 {
    margin-top: 1rem !important; /* Spacing from welcome section */
}

/* Position bottom navigation specifically (notifications, profile, exit) */
.sidebar-top-content > nav.mb-3 {
    margin-top: auto; /* Push to bottom when space available */
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Override Bootstrap gap for bottom nav items */
.sidebar-top-content > nav.mb-3 .nav {
    gap: 0.5rem !important;
}

.sidebar-top-content > nav.mb-3 .nav-item {
    margin-bottom: 0;
}

/* Remove margin from last item */
.sidebar-top-content > nav.mb-3 .nav-item:last-child {
    margin-bottom: 0;
}

/* Main content aligned next to sidebar within wrapper */
.dashboard-main-content {
    margin-left: 200px !important; /* Sidebar width (200px) */
    margin-right: 0px !important; /* No right margin - right column is inside container */
    padding-left: 0.5rem !important;
    padding-right: 0px !important;
    margin-bottom: calc(53px + 22px) !important;
}

/* Desktop only - fixed sidebar */
@media (min-width: 993px) {
    .desktop-sidebar {
        z-index: 999;
    }
}

/* For tablet screens (1399px and below) - Keep sidebar but adjust spacing */
@media (max-width: 1399px) and (min-width: 993px) {
    .dashboard-v2-wrapper {
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 15px;
    }

    .desktop-sidebar {
        left: 15px !important;
    }

    .dashboard-main-content {
        margin-left: 232px !important; /* 15px edge + 200px sidebar + 10px gap */
        max-width: calc(
            100vw - 240px - var(--scrollbar-width)
        ) !important; /* Account for left spacing + right padding + dynamic scrollbar */
    }

    .navbar-brand {
        left: 1rem !important;
    }

    nav > .container {
        padding-right: 15px !important;
    }
}

/* Mobile header styling */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.65rem 1rem;
}

/* For mobile screens (992px and below) - Hide desktop sidebar, full width layout */
@media (max-width: 992px) {
    /* Hide desktop sidebar completely on mobile */
    .desktop-sidebar {
        display: none !important;
    }

    /* Full width layout for mobile */
    .dashboard-v2-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Mobile cart button spacing - add black space between header and button */
    .mobile-cart-icon {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        margin-right: 15px !important;
    }

    /* Main content takes full width */
    .dashboard-main-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 30px !important; /* Add proper top spacing on mobile - 1.5x increased */
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Override container widths for mobile */
    .dashboard-main-content .container,
    .dashboard-main-content .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .dashboard-main-content .col-lg-9,
    .dashboard-main-content .col-lg-3 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 0 !important;
    }

    .dashboard-v2-content {
        padding-bottom: 0px !important;
        margin-bottom: 0;
    }

    /* Mobile services container top margin */
    .card-body .d-md-none {
        margin-top: 20px !important;
    }

    /* Adjust header margin for mobile */
    .dashboard-v2-wrapper {
        margin-top: 60px !important; /* Smaller top margin for mobile header */
    }

    /* Mobile typography and spacing adjustments */
    body {
        font-size: 14px; /* Slightly smaller base font for mobile */
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 1.25rem; /* Smaller headings on mobile */
    }

    .card-title {
        font-size: 1.1rem;
    }

    /* Service cards mobile spacing */
    .service-card {
        margin-bottom: 1rem !important;
        padding: 0.75rem !important;
    }

    /* Mobile-friendly button sizing */
    .btn {
        min-height: 44px; /* Touch-friendly button height */
        padding: 0.5rem 1rem;
    }

    /* Cart and right column spacing on mobile */
    .col-lg-3 > div {
        margin-bottom: 1rem !important;
    }

    /* Reduce excessive margins on mobile */
    .mb-3,
    .my-3 {
        margin-bottom: 1rem !important;
    }

    .mt-3,
    .my-3 {
        margin-top: 1rem !important;
    }

    /* Form elements mobile optimization */
    .form-control {
        min-height: 44px;
        font-size: 16px; /* Prevent iOS zoom */
    }

    /* Tables responsive behavior */
    .table-responsive {
        border: none;
    }

    .table {
        font-size: 0.875rem;
    }
}

/* Remove margin-top from services card on desktop */
@media (min-width: 992px) {
    .card.border-0.shadow-sm {
        margin-top: 0 !important;
    }
}

/* Container query for cart items - show unit price in left column only when container > 200px */
.cart-items-list {
    container-type: inline-size;
}

@container (min-width: 200px) {
    .cart-item-unit-price-bottom {
        display: block !important;
    }
    .cart-item-unit-price-top {
        display: none !important;
    }
}

@container (max-width: 199px) {
    .cart-item-unit-price-bottom {
        display: none !important;
    }
    .cart-item-unit-price-top {
        display: block !important;
    }
}

/* Extra small mobile devices (576px and below) */
@media (max-width: 576px) {
    /* Smaller padding for very small screens */
    .dashboard-main-content {
        margin-top: 23px !important; /* 1.5x increased top margin for very small screens */
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Adjust mobile cart spacing for very small screens */
    .mobile-cart-icon {
        margin-right: 10px !important;
    }

    /* Compact spacing */
    .col-lg-9,
    .col-lg-3 {
        margin-bottom: 0.75rem !important;
    }

    /* Smaller text for very small screens */
    body {
        font-size: 13px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 1.1rem;
    }

    .card-title {
        font-size: 1rem;
    }

    /* Compact service cards */
    .service-card {
        padding: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* Smaller buttons for very small screens */
    .btn {
        min-height: 40px;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Mobile button styling for screens 767px and below */
@media (max-width: 767px) {
    .d-lg-none .btn {
        min-height: 44px;
        touch-action: manipulation;
        /* margin-left: 10px; */
        /* margin-right: 10px; */
        width: calc(100% - 6px) !important;
        margin-left: 3px;
        margin-right: 3px;
    }
}

.content-with-sidebar {
    margin-left: 200px;
    padding: 1.25rem;
}

.profile-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px;
}

.profile-name {
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Sidebar - Inter Tight 600 */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #fff;
    background: #0d2c6c;
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: var(--e-global-typography-secondary-font-weight);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #1a3f8b;
    color: #fff;
}

.desktop-sidebar,
#mobileSidebar .offcanvas-body,
#mobileSidebar .offcanvas-header {
    background-color: #0d2c6c !important;
}

.desktop-sidebar .profile-name,
.desktop-sidebar a,
#mobileSidebar a,
#mobileSidebar .profile-name {
    color: #fff !important;
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: var(--e-global-typography-secondary-font-weight);
}

#mobileSidebar {
    --bs-offcanvas-width: 260px;
}

.sidebar-footer {
    margin-bottom: 100px;
}

.sidebar-footer a {
    display: block;
    margin-bottom: 0.45rem;
    color: #333;
    text-decoration: none;
}

a.google {
    color: #fff;
    display: inline-block;
    font-size: 18px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    width: 32px;
    margin: auto;
    background-color: #fe5240;
    border-radius: 4px;
    text-align: center;
}

a.facebook {
    color: #fff;
    background-color: #0a66c2;
    display: inline-block;
    font-size: 18px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    width: 32px;
    margin: auto;
    border-radius: 4px;
    text-align: center;
}

a.github {
    background-color: #333333 !important;
    color: #fff !important;
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    text-align: center !important;
    border-radius: 4px !important;
    font-size: 18px !important;
    margin: auto;
}

a.linkedin {
    background-color: #0a66c2 !important;
    color: #fff !important;
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    text-align: center !important;
    border-radius: 4px !important;
    font-size: 18px !important;
    margin: auto;
}

/* Cart Styles */
#cartSidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 414px;
    height: 100vh;
    background: #ffffff;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

#cartSidebar.show {
    transform: translateX(0);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #212529;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-close:hover {
    background: #f8f9fa;
    color: #4361ee;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
}

.cart-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-img {
    /* width: 80px;
    height: 80px; */
    object-fit: cover;
    border-radius: 8px;
    background: linear-gradient(45deg, #f0f4ff, #e6e9ff);
}

.cart-item-details {
    flex: 1;
    padding-left: 16px;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #212529;
}

.cart-item-price {
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    color: #000;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: var(--color-primary, #007bff);
    color: white;
}

.quantity-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-radius: 4px;
    margin: 0 8px;
    background: #f8f9fa;
    color: #000;
}

.cart-item-remove {
    color: #ff6b6b;
    background: none;
    border: none;
    margin-left: 15px;
    font-size: 1.2rem;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-checkout {
    background: var(--primary-gradient);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: white;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.cart-empty i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #e9ecef;
}

.cart-count {
    position: relative;
    top: -16px;
    right: 0px;
    background: #198754;
    border: 1px solid white;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Cart count update animation */
.cart-count-updated {
    animation: cartCountPulse 0.3s ease-in-out;
}

@keyframes cartCountPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Ensure cart badges are properly styled */
.cart-badge,
.mobile-cart-badge-header,
.sidebar-cart-badge,
.mobile-cart-badge {
    background-color: var(--color-secondary);
    color: white;
    border-radius: 6px;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
}

/* Hide cart badges when count is 0 */
.cart-badge:empty,
.mobile-cart-badge-header:empty,
.sidebar-cart-badge:empty,
.mobile-cart-badge:empty {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #cartSidebar {
        max-width: 414px;
    }
}

@media (max-width: 767px) {
    /* Mobile Full-Screen Cart Experience */
    #cartSidebar {
        max-width: 100%;
        width: 100%;
    }

    .cart-header {
        padding: 20px;
        background: linear-gradient(135deg, #005d94, #005d94);
    }

    .cart-title {
        font-size: 1.5rem;
        font-weight: 700;
    }

    /* Larger close button for mobile */
    .cart-close {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .cart-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }

    .cart-body {
        padding: 16px;
    }

    /* Enhanced cart items for mobile */
    .cart-item {
        padding: 20px;
        margin-bottom: 12px;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .cart-item-header {
        margin-bottom: 12px;
    }

    .cart-item-name {
        font-size: 1.1rem;
    }

    /* Larger remove button */
    .btn-remove-item {
        padding: 8px;
        font-size: 1.3rem;
        min-width: 44px;
        min-height: 44px;
        border-radius: 8px;
        background: rgba(220, 53, 69, 0.1);
        transition: all 0.3s ease;
    }

    .btn-remove-item:hover {
        background: #dc3545;
        color: white;
    }

    .cart-item-details {
        font-size: 1rem;
    }

    .cart-item-qty {
        font-size: 1rem;
    }

    .cart-item-price {
        font-size: 1.2rem;
    }

    /* Full-width checkout button */
    .cart-footer {
        padding: 20px;
        background: #fff;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    }

    .cart-total {
        padding: 16px;
        font-size: 1.3rem;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .btn-checkout {
        padding: 16px;
        font-size: 1.2rem;
        border-radius: 12px;
        min-height: 56px;
    }

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

@media (max-width: 575px) {
    /* Enhanced mobile experience for extra small screens */
    .cart-header {
        padding: 16px;
    }

    .cart-title {
        font-size: 1.3rem;
    }

    .cart-close {
        width: 44px;
        height: 44px;
    }

    .cart-item {
        padding: 16px;
    }

    .cart-item-name {
        font-size: 1rem;
    }

    .cart-footer {
        padding: 16px;
    }

    .cart-total {
        padding: 14px;
        font-size: 1.2rem;
    }

    .btn-checkout {
        padding: 14px;
        font-size: 1.1rem;
        min-height: 52px;
    }
}

/* ====================================
   SUBTLE FEEDBACK SYSTEM STYLES
   Non-intrusive feedback mechanisms
   ==================================== */

/* Cart item added animation */
.cart-item-added {
    animation: cartPulse 0.6s ease-in-out;
}

@keyframes cartPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Inline error styling */
.inline-error-message {
    animation: slideInError 0.3s ease-out;
    display: none;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cart feedback positioning */
.cart-feedback {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Toast notifications (small, subtle) */
.toast-notification {
    font-family:
        system-ui,
        -apple-system,
        sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toast-notification:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Favorite button transitions */
.favorite-btn {
    transition: transform 0.2s ease;
}

.favorite-btn:active {
    transform: scale(0.95);
}

/* Cart count update animation */
.cart-count-updated {
    animation: pulseCount 0.3s ease-in-out;
}

@keyframes pulseCount {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Subtle success feedback */
.inline-success-message {
    animation: slideInSuccess 0.3s ease-out;
    display: none;
}

@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect enhancement for toast */
.toast-notification.toast-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.toast-notification.toast-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.toast-notification.toast-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

/* Accessibility: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cart-item-added,
    .cart-feedback,
    .toast-notification,
    .inline-error-message,
    .inline-success-message,
    .cart-count-updated {
        animation: none;
        transition: none;
    }

    .cart-item-added {
        transform: scale(1.05);
    }
}

/* Service Table Styles */
.service-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-name-container {
    flex: 1;
}

.service-name {
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
}

.service-description {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 4px;
    color: #6c757d !important;
}

.btn-service-info {
    background: none;
    border: none;
    color: #4361ee;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.btn-service-info:hover {
    color: #0056b3;
}

/* Responsive adjustments for service table */
@media (max-width: 768px) {
    .service-description {
        font-size: 0.75rem;
    }

    .service-name-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ====================================
   MOBILE CART ENHANCEMENTS
   Enhanced mobile cart experience
   ==================================== */

/* Mobile Cart Icon */
.mobile-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-cart-icon:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-cart-icon i {
    font-size: 1.5rem;
    color: #005d94;
}

.mobile-cart-badge-header {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Haptic feedback animation */
.cart-added-haptic {
    animation: hapticBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes hapticBounce {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(0.95);
    }
    75% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Cart icon pulse when item added */
.cart-icon-pulse {
    animation: cartIconPulse 0.6s ease-out;
}

@keyframes cartIconPulse {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.3);
    }
    40% {
        transform: scale(0.95);
    }
    60% {
        transform: scale(1.1);
    }
    80% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

/* Swipe indicator for mobile cart */
.cart-swipe-indicator {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    z-index: 10;
}

/* Enhanced overlay for mobile */
@media (max-width: 767px) {
    .cart-overlay {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(2px);
    }

    .cart-overlay.show {
        animation: overlayFadeIn 0.3s ease-out;
    }

    @keyframes overlayFadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* Touch-friendly cart controls */
@media (max-width: 767px) {
    /* Quantity controls with larger touch targets */
    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .quantity-btn {
        min-width: 44px;
        min-height: 44px;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: 600;
        background: #f8f9fa;
        border: none;
        color: #000;
        transition: all 0.2s ease;
    }

    .quantity-btn:hover {
        background: var(--color-primary, #007bff);
        color: white;
    }

    .quantity-btn:active {
        transform: scale(0.95);
        background: var(--color-primary, #007bff);
        color: white;
    }

    .quantity-input {
        min-width: 60px;
        min-height: 44px;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        border: none;
        border-radius: 8px;
        background: #f8f9fa;
        color: #000;
    }
}

/* Smooth cart slide animation */
#cartSidebar {
    will-change: transform;
}

#cartSidebar.show {
    animation: slideInFromRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Cart body scroll behavior */
.cart-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Hide scrollbar on mobile for cleaner look */
@media (max-width: 767px) {
    .cart-body::-webkit-scrollbar {
        width: 4px;
    }

    .cart-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .cart-body::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2px;
    }
}

/* Enhanced empty cart state for mobile */
@media (max-width: 767px) {
    .cart-empty {
        padding: 80px 20px;
    }

    .cart-empty i {
        font-size: 5rem;
        margin-bottom: 24px;
        color: #dee2e6;
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
        0%,
        100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    .cart-empty p {
        font-size: 1.1rem;
        color: #6c757d;
    }
}

/* Mobile cart footer sticky positioning */
@media (max-width: 767px) {
    .cart-footer {
        position: sticky;
        bottom: 0;
        z-index: 10;
    }
}

/* Improved button feedback for mobile */
@media (max-width: 767px) {
    .btn-checkout:active {
        transform: scale(0.98);
    }

    .btn-remove-item:active {
        transform: scale(0.9);
    }
}

/* ====================================
   RESPONSIVE SERVICES CARDS (MOBILE)
   ==================================== */

/* Service Card Layout - Similar to Cart Items */
.service-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-info {
    display: flex;
    gap: 0.75rem;
    flex: 1;
}

.service-card-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.service-card-placeholder {
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.service-card-details {
    flex: 1;
    min-width: 0;
}

.service-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #212529;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.service-card-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    margin-top: 0.25rem;
    display: block;
}

.service-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #198754;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.service-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
}

.service-card-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.qty-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin: 0;
}

.qty-input-mobile {
    width: 60px;
    /* padding: 0.375rem 0.5rem; */
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-align: center;
    font-size: 0.875rem;
    height: 24px;
    box-sizing: border-box;
}

.unit-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.btn-add-cart-mobile {
    background: #198754;
    /* min-height: 44px; */
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 0;
}

.btn-add-cart-mobile:hover {
    background: #157347;
    transform: translateY(-1px);
}

.btn-add-cart-mobile:active {
    transform: translateY(0);
}

/* Extra compact for very small screens */
@media (max-width: 576px) {
    .service-card {
        padding: 0.75rem;
    }

    .service-card-image {
        width: 40px;
        height: 40px;
    }

    .service-card-name {
        font-size: 0.9rem;
    }

    .service-card-description {
        font-size: 0.8rem;
        display: block !important;
        margin-top: 0.25rem !important;
    }

    .service-card-price {
        font-size: 1rem;
    }

    .service-card-actions {
        flex-direction: row;
        gap: 0.75rem;
        align-items: stretch;
    }

    .btn-add-cart-mobile {
        justify-content: center;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.125rem;
        height: auto;
    }

    /* Handle very narrow screens */
    .service-card-actions {
        gap: 0.5rem;
    }

    .service-card-qty {
        min-width: 0;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .qty-input-mobile {
        width: 50px;
        padding: 0.25rem 0.25rem;
        font-size: 0.75rem;
        height: auto;
        box-sizing: border-box;
    }
}

/* ====================================
   RESPONSIVE SPACING ADJUSTMENTS
   ==================================== */

/* Reduce upcoming events margin on smaller screens */
@media (max-width: 992px) {
    /* Target the div containing upcoming payments */
    div[style*='margin-bottom: 24px'] {
        margin-bottom: 18px !important;
    }

    /* Alternative targeting for upcoming payments wrapper */
    .col-12.col-lg-3 > div[style*='margin-bottom: 24px'] {
        margin-bottom: 18px !important;
    }
}

/* ====================================
   CART ITEM STYLING WITH IMAGES
   ==================================== */

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.cart-item-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.cart-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0;
    display: block;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    width: 100%;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-item-qty {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    flex-shrink: 0;
}

.cart-item-price {
    font-weight: 600;
    color: #198754;
    white-space: nowrap;
    flex-shrink: 0;
}
