:root {
    --primary-color: #D4145D;
    --black-color: #1a1a1a;
    --primary-hover: #D40169;
    --primary-light: #ffebf5;
    --font-main: 'Inter', sans-serif;
    --letter-spacing: 0.5px;
    --primary: #D4145D;
    --primary-soft: #fff0f7;
    --text-main: #1a1a1a;
    --text-muted: #666;
    --smooth: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-3xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --footer-bg: #ffffff;
    --primary-gradient: linear-gradient(135deg, #fc027d 0%, #ff6a00 100%);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: var(--font-main), serif;
    background-color: #ffffff;
    overflow-x: hidden;
    color: var(--text-main);
}

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

/* Branding Overrides */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(252, 2, 125, 0.2);
}

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

/* Shimmer / Skeleton Loading Effect */
.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    display: inline-block;
    position: relative;
    animation: placeholderShimmer 1.2s linear infinite forwards;
}

@keyframes placeholderShimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

/* Utility classes */
.cursor-pointer {
    cursor: pointer;
}

.section-padding {
    padding: 60px 0;
}

.letter-spacing-1 {
    letter-spacing: var(--letter-spacing);
}

/* Top Bar */
.header-top {
    background: var(--primary-color);
}

/* Search Component */
.header-search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-loader {
    position: absolute;
    right: 15px;
    top: 18px;
    z-index: 5;
}

.search-results-dropdown {
    position: absolute;
    width: 100%;
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000;
    border: 1px solid #eee;
}

.result-item-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-main);
    border-radius: 12px;
    transition: var(--smooth);
}

.result-item-link:hover {
    background: var(--primary-soft);
}

.result-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

/* Icons Polish */
.action-item {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--smooth);
}

.action-item:hover {
    color: var(--primary-color);
}

.action-item .badge {
    font-size: 0.65rem;
    top: -5px;
    right: -8px;
    padding: 4px 6px;
    border: 2px solid #fff;
}

/* Mobile Header Icons */
.btn-icon-premium {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px;
    color: var(--text-main);
    transition: var(--smooth);
    border: none;
    background: transparent;
}

.btn-icon-premium:hover {
    background: var(--primary-soft);
    color: var(--primary-color);
}

.mobile-actions .badge {
    font-size: 0.6rem;
    top: 5px;
    right: 5px;
    padding: 3px 5px;
    border: 2px solid #fff;
}

/* Desktop Navigation */
.desktop-nav-bar {
    position: relative;
}

.menu-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    display: block;
    transition: var(--smooth);
}

.menu-item:hover .menu-link {
    color: var(--primary-color);
}

/* Mega Menu */
.has-megamenu {
    position: static !important;
}

.megamenu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--smooth);
    z-index: 1000;
    border-top: 1px solid #f1f1f1;
}

.has-megamenu:hover .megamenu-panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;

}

.mega-list {
    list-style: none;
    padding: 0;
}

.mega-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    transition: var(--smooth);
}

.mega-list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Dropdown Menus */
.has-nested {
    position: relative;
}

.nested-menu, .sub-nested {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--smooth);
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-3xl);
    z-index: 1000;
}

.sub-nested {
    left: 100%;
    top: 0;
    border-radius: 10px;
}

.has-nested:hover > .nested-menu, .has-submenu:hover > .sub-nested {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nested-link {

    display: block;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.85rem;
}

.nested-link:hover {
    background: var(--primary-soft);
    color: var(--primary-color);
}

/* Mobile Sidebar */
.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: var(--smooth);
}

.mobile-sidebar-overlay.active {
    visibility: visible;
    opacity: 1;
}

.sidebar-content {
    position: absolute;
    left: -320px;
    width: 320px;
    height: 100%;
    transition: var(--smooth);
    overflow-y: auto;
}

.mobile-sidebar-overlay.active .sidebar-content {
    left: 0;
}

.m-nav-item {
    padding: 15px 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-main);
    border-bottom: 1px solid #f8f8f8;
    display: block;
}

.m-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.m-dropdown-toggle.active i {
    transform: rotate(135deg);
    color: var(--primary-color);
}

/* Sticky Nav Animation */
.desktop-nav-bar.is-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Newsletter Polish */
.newsletter-group .form-control {
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.newsletter-group .form-control:focus {
    border-color: var(--primary-color);
}

.newsletter-group .btn-primary {
    background-color: var(--primary-color);
    border: none;
    transition: transform 0.2s ease;
}

.newsletter-group .btn-primary:hover {
    background-color: #000;
    transform: scale(1.02);
}

/* Footer Links */
.footer-title {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    margin-bottom: 1.5rem;
    color: #111;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* Contact & Social Icons */
.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-box {
    width: 38px;
    height: 38px;
    background: #f4f4f4;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-box:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Rounded Helpers */
.rounded-pill-start {
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
}

.rounded-pill-end {
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .footer-title {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

}

/* Bottom Nav CSS */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom); /* For iPhone Notch */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    display: flex;
    align-items: center;
}

.m-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.m-bottom-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.m-bottom-item.active {
    color: var(--primary-color);
}

.m-bottom-item.active i {
    transform: translateY(-2px);
}

/* Raised Center Button */
.center-action {
    transform: translateY(-20px);
}

.action-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    font-size: 1.6rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.center-action:hover .action-circle {
    transform: scale(1.1);
}

.m-bottom-item .badge {
    font-size: 0.6rem;
    top: -5px;
    right: 15px;
    padding: 3px 5px;
    border: 2px solid #fff;
}

/* Adjust Body for Bottom Nav */
@media (max-width: 991px) {
    body {
        padding-bottom: 80px; /* Prevents content from being hidden behind bar */
    }
}

/* Premium Shadows */
.shadow-premium {
    box-shadow: 0 10px 25px rgba(252, 2, 125, 0.3);
}

#product-page {
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Gallery System */
.gallery-column {
    position: sticky;
    top: 100px;
}

.main-gallery-viewport {
    border-radius: 20px;
    overflow: hidden;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    cursor: zoom-in;
}

.main-gallery-viewport img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}


.thumb-item {
    width: 100%;
    height: 90px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s ease;
    object-fit: cover;
    opacity: 0.5;
}

.splide__slide.is-active .thumb-item {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(0.95);
}

/* Typography & Branding */
.brand-link {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.product-title-h1 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.meta-value {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Price & Actions */
.price-display-box {
    margin-bottom: 20px;
}

.price-now {
    font-size: 2rem;
    font-weight: 900;
    color: #000;
}

.price-now.has-sale {
    color: var(--primary);
}

.price-was {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: #b5b5b5;
    margin-left: 10px;
}


.variation-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.variation-group {
    position: relative;
    border: 1.5px solid var(--primary-color);
    border-radius: 10px;
    padding: 12px 10px 10px;
    min-width: 160px;
    background: #fff;
}

/* Header */
.variation-header {
    position: absolute;
    top: -8px;
    left: 10px;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    background: #fff;
    color: #666;
    white-space: nowrap;
}

/* Swatch layout */
.swatch-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Hide radio */
.swatch-input {
    display: none;
}

/* Button */
.swatch-btn {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

/* Hover */
.swatch-btn:hover {
    border-color: #000;
}

/* Active */
.swatch-input:checked + .swatch-btn {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Optional: better alignment */
.swatch-item {
    display: inline-block;
}

/* Sticky Action Bar */
.action-grid {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    padding: 15px 0;
}

/* ️ Wishlist button */
.btn-wishlist {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
}

.btn-wishlist:hover {
    color: #e63946;
    border-color: #e63946;
}

/* Active (clicked state) */
.btn-wishlist.active {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

/* Qty */
.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.qty-stepper button {
    background: #f8f8f8;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
}

.qty-stepper input {
    width: 40px;
    text-align: center;
    border: none;
}


/* Buttons */
.btn-checkout-luxury {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: #000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}


.btn-checkout-luxury:hover:not(:disabled) {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-checkout-luxury:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Concerns Tags */
.concern-pill {
    display: inline-block;
    background: #f4f4f4;
    color: #555;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .product-title-h1 {
        font-size: 1.2rem;
    }

    .gallery-column {
        position: relative;
        top: 0;
    }

    body {
        padding-bottom: 80px;
    }
}

.splide__track--nav > .splide__list > .splide__slide.is-active {
    border: none !important;
}

.breadcrumb-one-line {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

.breadcrumb-one-line .breadcrumb-item {
    white-space: nowrap;
}

/* 👇 This is the key part */
.breadcrumb-last {
    overflow: hidden;
    text-overflow: ellipsis;

}

/* Luxury Trust Bar - 4 Item Professional Version */
.premium-trust-bar {
    display: grid;
    /* Desktop: 4 items in a row */
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 25px 10px;
    margin-top: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    gap: 15px;
}

.trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Icon Squircle Styling */
.trust-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

/* 4-Color Professional Palette */
.item-authentic .trust-icon-wrapper {
    background: #eef2ff;
    color: #4f46e5;
}

/* Blue */
.item-return .trust-icon-wrapper {
    background: #fff1f2;
    color: #e11d48;
}

/* Rose */
.item-secure .trust-icon-wrapper {
    background: #f0fdf4;
    color: #16a34a;
}

/* Green */
.item-brand .trust-icon-wrapper {
    background: #f5f3ff;
    color: #7c3aed;
}

/* Purple */

.trust-card:hover .trust-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.trust-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    display: block;
    line-height: 1.2;
}

.trust-subtitle {
    font-size: 9px;
    color: #888;
    font-weight: 500;
    margin-top: 2px;
}

/* --- Responsive Layout: 2x2 on Mobile --- */
@media (max-width: 768px) {
    .premium-trust-bar {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        grid-template-rows: repeat(2, auto); /* 2 rows */
        padding: 20px;
        gap: 25px 10px;
    }

    .trust-icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}


.product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.info-label {
    flex: 0 0 120px;
    font-weight: 500;
    font-size: 14px;
}

.info-value {
    flex: 1;
    font-weight: 400;
    font-size: 14px;
}


/* Tab Navigation - Premium Polish */
#productTabs {
    border: none;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 50px;
    display: inline-flex;
    margin-bottom: 40px !important;
}

#productTabs .nav-link {
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 12px;
    letter-spacing: 1px;
    color: #666;
    transition: 0.3s all cubic-bezier(0.4, 0, 0.2, 1);
}

#productTabs .nav-link.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


@media (max-width: 768px) {

    #productTabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        justify-content: flex-start;
        border-radius: 15px;
    }
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border: 1px solid #f0f0f0;
    border-radius: 16px; /* High-end rounded look */
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Header Styling */
thead th {
    background-color: #fafafa;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 24px;
    text-align: left;
    border-bottom: 2px solid #f1f1f1;
}

/* Body Cell Styling */
tbody td {
    padding: 16px 24px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f8f8f8;
    vertical-align: middle;
    transition: all 0.2s ease;
}

/* Hover Effect: Colorful Row Glow */
tbody tr:hover td {
    background-color: #fff9fc; /* Soft brand-tint glow */
    color: #000;
}

/* Remove border from last row to respect border-radius */
tbody tr:last-child td {
    border-bottom: none;
}

/* Bold the first column for a professional "Spec Label" look */
tbody td:first-child {
    font-weight: 700;
    color: #1a1a1a;
    width: 30%; /* Fixed width for labels */
}

/* Responsive Handling */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/* Product Grid Reset */
.product-box {
    background: var(--white);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid var(--primary-color);
    padding: 10px !important;
}

.product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    border-color: #eee;
}

/* Thumbnail System: Ensures uniform size across all products */
.product-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    /* Forces 1:1 Aspect Ratio */
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills space without stretching */
    transition: transform 0.8s ease;
}

.product-box:hover .product-image-wrapper img {
    transform: scale(1.1);
}

/* Compact Badge System */
.badge-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}

.premium-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    background: #000;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Floating Action Bar: Compact & Professional */
.action-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-box:hover .action-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.action-icon, .wishlist-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: 0.2s;
    background: transparent;
    border: none;
    font-size: 1rem;
}

.action-icon:hover, .wishlist-btn:hover {
    background: #f8f8f8;
    color: var(--primary); /* Uses your primary brand color */
}

/* Compact Content Styling */
.card-body {
    padding: 12px 4px 4px 4px !important;
}

.product-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
    height: 38px; /* Limits to 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.price-now {
    font-size: 15px;
    font-weight: 800;
    color: #000;
}

.price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

/* Final Action Button */
.btn-premium-cart {
    background: var(--primary-color);
    color: var(--primary-light);
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
    width: 100%;
}

.product-box:hover .btn-premium-cart {
    background: #000;
    color: #fff;
}
.btn-premium-cart:disabled {
    color: red !important;
    border: 1px dashed red !important;
    background-color: transparent !important;
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-premium-cart:disabled:hover {
    color: red;
    border: 1px dashed red !important;
    background-color: transparent !important;
}
.checkout-floating-bar {
    position: fixed;
    z-index: 1050;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 10px 15px;
    transition: all 0.3s ease;
}

/* Desktop: Bottom Right */
@media (min-width: 992px) {
    .checkout-floating-bar {
        bottom: 20px;
        right: 20px;
        width: 320px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Mobile: Above Bottom Nav */
@media (max-width: 991px) {
    .checkout-floating-bar {
        bottom: 70px; /* Adjust this based on your mobile-bottom-nav height */
        left: 0;
        right: 0;
        border-radius: 15px 15px 0 0;
    }
}

/* Premium Elements */
.shadow-premium {
    box-shadow: 0 10px 30px rgba(1, 106, 62, 0.3);
}

.cart-icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1.4rem;
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 50px;
}

.btn-checkout {
    color: var(--primary-color) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    background: #f8f9fa;
}
.user-wrapper {
    background: #fcfcfc;
    min-height: 80vh;
    padding-bottom: 50px;
}

/* Premium Sidebar */
.user-sidebar {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f1f1;
    overflow: hidden;
}

.user-nav-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--smooth);
    border-left: 3px solid transparent;
}

.user-nav-link i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.user-nav-link:hover, .user-nav-link.active {
    background: var(--primary-soft);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Stats Cards */
.stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #f1f1f1;
    transition: var(--smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3xl);
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Order Table Polish */
.premium-table {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f1f1;
}

.status-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}



/* Order Specific Styles */
.order-card-premium {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 18px;
    transition: var(--smooth);
}
.order-card-premium:hover { box-shadow: var(--shadow-3xl); border-color: var(--primary-soft); }

.status-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* Badge Colors based on status */
.status-pending { background: #fff7ed; color: #c2410c; }
.status-completed { background: #f0fdf4; color: #16a34a; }
.status-processing { background: #eff6ff; color: #1d4ed8; }
.status-cancelled { background: #fef2f2; color: #dc2626; }

.btn-view-order {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-soft);
    border: none;
    padding: 6px 15px;
    border-radius: 8px;
    transition: var(--smooth);
}
.btn-view-order:hover { background: var(--primary-color); color: #fff; }

/* Custom Pagination Style */
.pagination .page-link { border: none; color: var(--text-main); font-weight: 600; margin: 0 3px; border-radius: 8px; }
.pagination .page-item.active .page-link { background: var(--primary-color); color: #fff; }
/* Form Polish */
.settings-card { background: #fff; border: 1px solid #f1f1f1; border-radius: 20px; }
.form-label-premium { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }

.form-control-premium {
    height: 50px;
    border-radius: 12px;
    border: 1.5px solid #eee;
    padding: 10px 18px;
    font-size: 14px;
    transition: var(--smooth);
}

.form-control-premium:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-soft);
    outline: none;
}

.btn-save-premium {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--smooth);
}

.btn-save-premium:hover { transform: translateY(-2px); box-shadow: var(--shadow-3xl); color: #fff; }
/* Base Card */
.cart-card-compact {
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

/* Compact Image */
.item-img-compact {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 12px;
    background: #fbfbfb;
}

/* Typography */
.product-name-compact {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.badge-compact {
    font-size: 0.72rem;
    color: #888;
    background: #f4f6f8;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* Pricing */
.price-compact {
    font-weight: 900;
    color: #FC027D; /* Primary Boutique Color */
    font-size: 1.05rem;
}

.old-price-compact {
    font-size: 0.75rem;
    color: #bfc5cb;
    text-decoration: line-through;
}

/* Slim Stepper UI */
.qty-stepper-compact {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn-sm {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn-sm:hover {
    background: #f8f9fa;
    color: #FC027D;
}

.qty-val-compact {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 10px;
    min-width: 30px;
    text-align: center;
}

/* Action Links */
.remove-btn-compact {
    color: #adb5bd;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.remove-btn-compact:hover {
    color: #dc3545;
}

/* Mobile Tweaks */
@media (max-width: 576px) {
    .item-img-compact {
        width: 65px;
        height: 65px;
    }
    .product-name-compact {
        font-size: 0.85rem;
    }
}
