:root {
    /* Girlish Color Palette */
    --primary: #be185d;
    /* Pink 700 */
    --secondary: #fce7f3;
    /* Pink 100 */
    --accent: #db2777;
    /* Pink 600 */
    --background: #fff1f2;
    /* Rose 50 */
    --surface: #ffffff;
    --text: #881337;
    /* Rose 900 */
    --text-light: #9f1239;
    /* Rose 800 */
    --border: #fbcfe8;
    /* Pink 200 */

    /* Compact Sizing */
    --radius: 12px;
    --shadow: 0 2px 4px -1px rgb(190 24 93 / 0.1), 0 1px 2px -1px rgb(190 24 93 / 0.1);
    --shadow-lg: 0 8px 12px -3px rgb(190 24 93 / 0.15), 0 3px 4px -2px rgb(190 24 93 / 0.1);
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    /* More feminine font if available, fallback to Inter */
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.4;
    font-size: 14px;
    /* Smaller base font size */
}

/* Navbar */
.modern-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.modern-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.navbar-brand i {
    color: var(--accent);
    font-size: 1.5rem;
}

.navbar-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    position: relative;
}

.navbar-link:hover {
    color: var(--accent);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-link:hover::after {
    width: 100%;
}

.cart-badge {
    position: relative;
}

.cart-badge .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: white;
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid white;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 320px;
    /* Smaller height */
    overflow: hidden;
    background: var(--secondary);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    text-align: center;
}

.carousel-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.carousel-desc {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.carousel-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Product Grid */
.section-header {
    text-align: center;
    margin: 2rem 0 1.5rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.modern-product-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.modern-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.modern-product-card:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    padding: 0.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    color: var(--text);
    line-height: 1.3;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
}

.btn-add-cart {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.btn-add-cart:hover {
    background: var(--accent);
    color: white;
}

/* Announcement Bar */
.announcement-bar {
    font-size: 0.8rem;
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    background-color: var(--accent) !important;
}

/* Footer */
.modern-footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-section h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Mobile Bottom Nav - Girlish Floating Pill */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    /* Light background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px -5px rgba(190, 24, 93, 0.25);
    z-index: 1000;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    padding-bottom: 0.4rem;
}

.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    padding: 0.4rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--accent);
}

.mobile-bottom-nav .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.1rem;
    transition: transform 0.2s;
    margin-bottom: 1px;
}

.mobile-bottom-nav .nav-item.active i {
    transform: translateY(-2px);
    color: var(--accent);
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

.mobile-bottom-nav .nav-item.active span {
    opacity: 1;
    font-weight: 700;
}

.mobile-bottom-nav .badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(8px);
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    border: 1px solid white;
    padding: 0;
}

/* --- Product Detail Page Styles --- */
.product-detail-page {
    max-width: 1000px;
    /* Smaller container */
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--accent);
}

.product-breadcrumb i {
    font-size: 0.7rem;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-image-section {
    position: sticky;
    top: 90px;
}

.product-main-image {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-info-section {
    padding: 0.5rem 0;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.product-price-section {
    margin-bottom: 1.2rem;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.product-stock-status {
    margin-bottom: 1.5rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.stock-available {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.stock-unavailable {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.product-description {
    margin-bottom: 1.5rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-description h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.product-description p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.add-to-cart-form {
    width: 100%;
}

.btn-add-to-cart {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 10px rgba(219, 39, 119, 0.3);
}

.btn-add-to-cart:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(219, 39, 119, 0.4);
}

.btn-back-to-products {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-back-to-products:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--secondary);
}

/* --- Cart Page Styles --- */
.sleek-cart-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cart-item-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--border);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--background);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.3rem;
}

.cart-item-description {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0 0 0.6rem;
}

.cart-item-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
}

.cart-item-quantity {
    font-size: 0.75rem;
    background: var(--secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.cart-item-actions {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}

.cart-item-total {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-remove-item {
    background: none;
    border: none;
    color: #e11d48;
    cursor: pointer;
    padding: 0.4rem;
    font-size: 1.1rem;
    transition: all 0.2s;
    border-radius: 0.4rem;
}

.btn-remove-item:hover {
    background: #ffe4e6;
}

.cart-summary-section {
    position: sticky;
    top: 90px;
}

.cart-summary-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text);
}

.summary-value {
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 1.2rem 0;
}

.summary-total {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.summary-total-value {
    font-size: 1.5rem;
    color: var(--accent);
}

.btn-checkout {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 10px rgba(219, 39, 119, 0.3);
}

.btn-checkout:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(219, 39, 119, 0.4);
}

.btn-continue-shopping {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.7rem 1.2rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-continue-shopping:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--secondary);
}

/* Empty State */
.empty-cart-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.empty-cart-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-browse-products {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-browse-products:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* --- Checkout Page Styles --- */
.sleek-checkout-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.checkout-error {
    background: #ffe4e6;
    color: #be123c;
    padding: 0.8rem 1.2rem;
    border-radius: 0.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    border: 1px solid #fda4af;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

.checkout-form-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.checkout-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-input {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: var(--surface);
    color: var(--text);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

.btn-place-order {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 10px rgba(219, 39, 119, 0.3);
}

.btn-place-order:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(219, 39, 119, 0.4);
}

.checkout-summary-section {
    position: sticky;
    top: 90px;
}

.checkout-summary-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.summary-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.summary-item-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.summary-item-quantity {
    font-size: 0.8rem;
    color: var(--text-light);
}

.summary-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

/* --- Account Page Styles --- */
.sleek-account-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.profile-section {
    position: sticky;
    top: 90px;
}

.profile-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--accent), #be185d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.4rem;
}

.profile-phone {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.profile-divider {
    height: 1px;
    background: var(--border);
    margin: 1.2rem 0;
}

.btn-logout {
    width: 100%;
    background: #ffe4e6;
    color: #be123c;
    border: 1px solid #fda4af;
    padding: 0.7rem 1.2rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-logout:hover {
    background: #fecdd3;
    border-color: #f43f5e;
}



.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.order-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.order-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.order-id {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.order-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: #fef9c3;
    color: #a16207;
}

.status-processing {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-completed {
    background: #dcfce7;
    color: #15803d;
}

.status-cancelled {
    background: #ffe4e6;
    color: #be123c;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}

.order-detail-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.85rem;
}

.order-detail-item i {
    color: var(--accent);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.total-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.total-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.btn-view-order {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

.btn-view-order:hover {
    background: var(--accent);
    color: white;
}

.empty-orders-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.empty-orders-icon {
    font-size: 4rem;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-orders-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.empty-orders-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-start-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-start-shopping:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Products Page */
.products-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.products-header {
    text-align: center;
    margin-bottom: 2rem;
}

.products-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.products-header p {
    color: var(--text-light);
    margin: 0;
}

.filters-bar {
    background: var(--surface);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-select {
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    min-width: 160px;
}

.filter-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.order-detail-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.85rem;
}

.order-detail-item i {
    color: var(--accent);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.total-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.total-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.btn-view-order {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

.btn-view-order:hover {
    background: var(--accent);
    color: white;
}

.empty-orders-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.empty-orders-icon {
    font-size: 4rem;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-orders-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.empty-orders-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-start-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-start-shopping:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Products Page */
.products-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.products-header {
    text-align: center;
    margin-bottom: 2rem;
}

.products-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.products-header p {
    color: var(--text-light);
    margin: 0;
}

.filters-bar {
    background: var(--surface);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-select {
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    min-width: 160px;
}

.filter-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin: 0 0 1.5rem;
}

/* Categories Page Styles */
.categories-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.categories-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.categories-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.categories-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.category-card:hover::before {
    transform: scaleY(1);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--background));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.category-icon i {
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.3s;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transform: rotate(5deg) scale(1.1);
}

.category-card:hover .category-icon i {
    color: white;
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.category-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.category-arrow {
    width: 32px;
    height: 32px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.category-arrow i {
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s;
}

.category-card:hover .category-arrow {
    background: var(--accent);
    transform: translateX(5px);
}

.category-card:hover .category-arrow i {
    color: white;
}

.empty-categories-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.empty-categories-state i {
    font-size: 4rem;
    color: var(--text-light);
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

.empty-categories-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.empty-categories-state p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        /* Use bottom nav for mobile */
    }

    .modern-navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .hero-carousel {
        height: 220px;
        /* Smaller on mobile */
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.8rem;
    }

    .product-content {
        padding: 0.6rem;
    }

    .product-title {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .btn-add-cart span {
        display: none;
    }

    .btn-add-cart {
        padding: 0.4rem;
    }

    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }

    /* Page Specific Mobile Styles */
    .product-detail-page,
    .sleek-cart-page,
    .sleek-checkout-page,
    .sleek-account-page {
        padding: 1rem 0.8rem;
    }

    .product-container,
    .cart-layout,
    .checkout-layout,
    .account-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-image-section,
    .cart-summary-section,
    .checkout-summary-section,
    .profile-section {
        position: static;
    }

    .product-detail-title {
        font-size: 1.5rem;
    }

    .product-detail-price {
        font-size: 1.8rem;
    }

    .cart-item-card {
        grid-template-columns: 60px 1fr;
        gap: 0.8rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .checkout-summary-section {
        order: -1;
    }

    .orders-grid {
        grid-template-columns: 1fr;
    }

    /* Products Page Mobile */
    .products-page-container {
        padding: 1rem 0.8rem;
    }

    .products-header {
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .products-header h1 {
        font-size: 1.5rem;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .filter-group {
        padding: 1rem 1.2rem !important;
        background: #fff !important;
        color: var(--text) !important;
        font-weight: 500 !important;
        font-size: 0.95rem !important;
        border-bottom: 1px solid var(--border) !important;
        transition: all 0.2s ease !important;
    }

    .filter-select option:hover,
    .filter-select option:focus,
    .filter-select option:checked {
        background: var(--secondary) !important;
        color: var(--primary) !important;
        font-weight: 700 !important;
    }

    .filter-select option:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .filter-select option:last-child {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        border-bottom: none !important;
    }

    /* Selected option styling */
    .filter-select option[selected] {
        background: linear-gradient(135deg, var(--accent), var(--primary)) !important;
        color: white !important;
        font-weight: 700 !important;
    }

    /* Custom Select Component */
    .custom-select-wrapper {
        position: relative;
        width: 100%;
    }

    .custom-select-button {
        width: 100%;
        padding: 0.85rem 1.2rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.98);
        color: var(--text);
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        text-align: left;
    }

    .custom-select-button:hover {
        border-color: rgba(255, 255, 255, 0.6);
        background: #fff;
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(190, 24, 93, 0.2);
    }

    .custom-select-button i {
        transition: transform 0.3s ease;
        color: var(--primary);
        font-size: 1rem;
    }

    .custom-select-wrapper.open .custom-select-button {
        border-color: #fff;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 6px 16px rgba(190, 24, 93, 0.2);
    }

    .custom-select-wrapper.open .custom-select-button i {
        transform: rotate(180deg);
    }

    .custom-select-dropdown {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        max-height: 300px;
        overflow-y: auto;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid var(--border);
    }

    .custom-select-wrapper.open .custom-select-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .custom-select-option {
        padding: 1rem 1.2rem;
        cursor: pointer;
        transition: all 0.2s ease;
        color: var(--text);
        font-weight: 500;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--border);
    }

    .custom-select-option:last-child {
        border-bottom: none;
    }

    .custom-select-option:hover {
        background: var(--secondary);
        color: var(--primary);
        font-weight: 600;
    }

    .custom-select-option.selected {
        background: linear-gradient(135deg, var(--accent), var(--primary));
        color: white;
        font-weight: 700;
    }

    .custom-select-option.selected:hover {
        background: linear-gradient(135deg, var(--primary), var(--accent));
    }

    /* Scrollbar styling for dropdown */
    .custom-select-dropdown::-webkit-scrollbar {
        width: 6px;
    }

    .custom-select-dropdown::-webkit-scrollbar-track {
        background: var(--background);
        border-radius: 10px;
    }

    .custom-select-dropdown::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 10px;
    }

    .custom-select-dropdown::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

    @media (max-width: 768px) {
        .custom-select-button {
            font-size: 1rem;
            padding: 0.9rem 1.2rem;
        }

        .custom-select-option {
            padding: 1.1rem 1.2rem;
            font-size: 1rem;
        }

        .custom-select-dropdown {
            max-height: 250px;
        }
    }

    /* Elegant Filter Bar Design */
    .filters-bar {
        display: flex;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
        background: var(--surface);
        border-radius: 12px;
        margin-bottom: 2rem;
        box-shadow: var(--shadow);
        border: 1px solid var(--border);
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        flex: 1;
        min-width: 180px;
    }

    .filter-group label {
        color: var(--text-light);
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Custom Select Styling */
    .custom-select-wrapper {
        position: relative;
        width: 100%;
    }

    .custom-select-button {
        width: 100%;
        padding: 0.7rem 1rem;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--background);
        color: var(--text);
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .custom-select-button:hover {
        border-color: var(--accent);
        background: var(--surface);
    }

    .custom-select-button i {
        transition: transform 0.2s ease;
        color: var(--accent);
        font-size: 0.9rem;
    }

    .custom-select-wrapper.open .custom-select-button {
        border-color: var(--accent);
        background: var(--surface);
        box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
    }

    .custom-select-wrapper.open .custom-select-button i {
        transform: rotate(180deg);
    }

    .custom-select-dropdown {
        position: absolute;
        top: calc(100% + 0.4rem);
        left: 0;
        right: 0;
        background: var(--surface);
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        max-height: 280px;
        overflow-y: auto;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: all 0.2s ease;
        border: 1px solid var(--border);
    }

    .custom-select-wrapper.open .custom-select-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .custom-select-option {
        padding: 0.8rem 1rem;
        cursor: pointer;
        transition: all 0.15s ease;
        color: var(--text);
        font-weight: 500;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .custom-select-option:last-child {
        border-bottom: none;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .custom-select-option:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .custom-select-option:hover {
        background: var(--secondary);
        color: var(--primary);
    }

    .custom-select-option.selected {
        background: var(--accent);
        color: white;
        font-weight: 600;
    }

    .custom-select-option.selected::after {
        content: '✓';
        font-weight: 700;
        font-size: 1rem;
    }

    .custom-select-option.selected:hover {
        background: var(--primary);
    }

    /* Scrollbar */
    .custom-select-dropdown::-webkit-scrollbar {
        width: 5px;
    }

    .custom-select-dropdown::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom-select-dropdown::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 10px;
    }

    .custom-select-dropdown::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
    }

    @media (max-width: 768px) {
        .filters-bar {
            flex-direction: column;
            padding: 1rem;
            gap: 0.8rem;
        }

        .filter-group {
            min-width: 100%;
        }

        .custom-select-button {
            padding: 0.85rem 1rem;
            font-size: 1rem;
        }

        .custom-select-option {
            padding: 1rem;
            font-size: 1rem;
        }
    }