        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: #faf7f2;  /* creamy white background */
            color: #1e1e1e;
            line-height: 1.5;
            overflow-x: hidden;
        }

        h1, h2, h3 {
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== PREMIUM COLOR PALETTE ===== */
        :root {
            --deep-red: #b12734;
            --deep-red-dark: #8a1f2a;
            --dark-charcoal: #26221f;
            --cream: #faf3e8;
            --warm-gold: #c6a15b;
            --warm-gold-light: #e0c28d;
            --glass-white: rgba(255, 255, 255, 0.7);
            --shadow-sm: 0 10px 30px -10px rgba(0,0,0,0.15);
            --shadow-hover: 0 30px 40px -15px rgba(178, 34, 34, 0.25);
            --border-radius-card: 28px;
            --border-radius-element: 24px;
        }

        /* ===== PREMIUM NAVBAR (sticky, glassmorphism) ===== */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(250, 243, 232, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(198, 161, 91, 0.2);
            box-shadow: 0 4px 20px rgba(0,0,0,0.03);
            padding: 16px 0;
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            font-family: 'Playfair Display', serif;
            color: var(--deep-red);
            letter-spacing: -0.02em;
        }
        .logo span {
            color: var(--dark-charcoal);
            font-family: inherit;
        }

        .nav-links {
            display: flex;
            gap: 28px;
            font-weight: 500;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--dark-charcoal);
            font-size: 0.95rem;
            transition: 0.2s;
            border-bottom: 2px solid transparent;
            padding-bottom: 4px;
        }
        .nav-links a:hover {
            color: var(--deep-red);
            border-bottom-color: var(--warm-gold);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .location-selector {
            background: rgba(255,255,255,0.5);
            backdrop-filter: blur(4px);
            padding: 8px 16px;
            border-radius: 40px;
            font-size: 0.9rem;
            border: 1px solid rgba(198,161,91,0.3);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .location-selector i {
            color: var(--warm-gold);
        }
        .search-bar {
            background: white;
            border-radius: 40px;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: var(--shadow-sm);
        }
        .search-bar input {
            border: none;
            background: transparent;
            outline: none;
            width: 180px;
            font-size: 0.9rem;
        }
        .search-bar input::placeholder {
            color: #a1a1a1;
        }
        .login-btn, .cart-icon {
            background: white;
            border-radius: 40px;
            padding: 8px 18px;
            font-weight: 500;
            box-shadow: var(--shadow-sm);
            transition: 0.2s;
            cursor: pointer;
            border: 1px solid transparent;
        }
        .login-btn:hover, .cart-icon:hover {
            border-color: var(--warm-gold);
            background: var(--cream);
        }
        .cart-icon {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        /* ===== MOBILE SEARCH ADDITIONS ===== */
        .mobile-search-icon {
            display: none;
            background: white;
            border-radius: 40px;
            padding: 8px 16px;
            box-shadow: var(--shadow-sm);
            cursor: pointer;
            border: 1px solid transparent;
            transition: 0.2s;
            color: var(--dark-charcoal);
        }
        .mobile-search-icon i {
            font-size: 1.1rem;
            color: var(--warm-gold);
        }
        .mobile-search-icon:hover {
            border-color: var(--warm-gold);
            background: var(--cream);
        }
        .mobile-search-bar {
            display: none;
            width: 100%;
            padding: 16px 24px 8px;
            transition: all 0.3s ease;
            background: transparent;
        }
        .mobile-search-bar.show {
            display: block;
            animation: slideDown 0.3s ease forwards;
        }
        .mobile-search-bar input {
            width: 100%;
            padding: 14px 20px;
            border: 2px solid rgba(198, 161, 91, 0.2);
            border-radius: 50px;
            font-size: 1rem;
            background: white;
            box-shadow: var(--shadow-sm);
            outline: none;
            font-family: 'Inter', sans-serif;
        }
        .mobile-search-bar input:focus {
            border-color: var(--warm-gold);
        }
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== HERO SLIDER (full width) ===== */
        .hero {
            margin: 20px 0 40px;
            border-radius: 32px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            position: relative;
        }
        .slider-container {
            position: relative;
            width: 100%;
            height: 560px;
            overflow: hidden;
        }
        .slider-wrapper {
            display: flex;
            transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            height: 100%;
        }
        .slide {
            min-width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .slide::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(90deg, rgba(38,34,31,0.8) 0%, rgba(38,34,31,0.3) 70%);
        }
        .slide-content {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 8%;
            color: white;
            z-index: 5;
            max-width: 600px;
        }
        .slide-content h1 {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            text-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        .slide-content p {
            font-size: 1.3rem;
            margin: 24px 0 32px;
            opacity: 0.9;
        }
        .btn-group {
            display: flex;
            gap: 16px;
        }
        .btn-primary, .btn-outline {
            padding: 14px 36px;
            border-radius: 60px;
            font-weight: 600;
            border: none;
            font-size: 1rem;
            transition: 0.2s;
            cursor: pointer;
            box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
        }
        .btn-primary {
            background: var(--deep-red);
            color: white;
        }
        .btn-primary:hover {
            background: var(--deep-red-dark);
            transform: scale(1.05);
        }
        .btn-outline {
            background: transparent;
            border: 2px solid white;
            color: white;
        }
        .btn-outline:hover {
            background: white;
            color: var(--dark-charcoal);
        }
        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 20;
            background: rgba(255,255,255,0.25);
            backdrop-filter: blur(8px);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            cursor: pointer;
            transition: 0.2s;
            border: 1px solid rgba(255,255,255,0.3);
        }
        .slider-arrow:hover {
            background: var(--warm-gold);
            color: var(--dark-charcoal);
        }
        .prev { left: 30px; }
        .next { right: 30px; }

        /* section headers */
        .section-header {
            text-align: center;
            margin: 60px 0 40px;
        }
        .section-header h2 {
            font-size: 2.8rem;
            color: var(--dark-charcoal);
            font-weight: 600;
        }
        .section-header span {
            color: var(--deep-red);
            border-bottom: 3px solid var(--warm-gold);
            padding-bottom: 5px;
        }

        /* ===== CATEGORY CARDS ===== */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 30px;
        }
        .category-card {
            background: white;
            border-radius: var(--border-radius-card);
            padding: 30px 16px 20px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(4px);
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.5);
            cursor: pointer;
        }
        .category-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: var(--shadow-hover);
            border-color: var(--warm-gold-light);
        }
        .category-card img {
            width: 120px;
            height: 120px;
            object-fit: cover;
            border-radius: 50%;
            margin-bottom: 16px;
            box-shadow: 0 20px 20px -10px rgba(177,39,52,0.3);
        }
        .category-card h3 {
            font-size: 1.4rem;
        }

        /* ===== HORIZONTAL SLIDER (best sellers) ===== */
        .slider-section {
            position: relative;
            overflow: hidden;
            margin: 40px 0;
        }
        .card-slider {
            display: flex;
            gap: 24px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 20px 4px 40px;
            scrollbar-width: none;
        }
        .card-slider::-webkit-scrollbar {
            display: none;
        }
        .product-card {
            min-width: 280px;
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(8px);
            border-radius: var(--border-radius-card);
            padding: 20px;
            box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.6);
            transition: all 0.3s ease;
            position: relative;
        }
        .product-card:hover {
            transform: scale(1.02) translateY(-8px);
            box-shadow: var(--shadow-hover);
            background: white;
        }
        .discount-badge {
            position: absolute;
            top: 16px; left: 16px;
            background: var(--deep-red);
            color: white;
            padding: 6px 14px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.8rem;
            z-index: 2;
        }
        .product-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 20px;
            margin-bottom: 16px;
        }
        .stars i {
            color: var(--warm-gold);
            font-size: 0.9rem;
            margin-right: 3px;
        }
        .price-add {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 16px;
        }
        .price {
            font-weight: 700;
            font-size: 1.4rem;
            color: var(--deep-red);
        }
        .add-btn {
            background: var(--dark-charcoal);
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 40px;
            font-weight: 500;
            cursor: pointer;
            transition: 0.2s;
        }
        .add-btn:hover {
            background: var(--deep-red);
        }

        /* feature cards (why choose us) */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
            gap: 30px;
        }
        .feature-card {
            background: var(--glass-white);
            backdrop-filter: blur(8px);
            border-radius: 30px;
            padding: 40px 20px;
            text-align: center;
            box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
            border: 1px solid white;
        }
        .feature-card i {
            font-size: 3rem;
            color: var(--deep-red);
            background: rgba(198,161,91,0.2);
            padding: 18px;
            border-radius: 60px;
        }

        /* promo banner */
        .promo-banner {
            background: linear-gradient(135deg, var(--deep-red) 0%, #571c24 100%);
            border-radius: 40px;
            padding: 80px 60px;
            margin: 60px 0;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-hover);
        }
        .promo-banner h2 {
            font-size: 3rem;
            color: white;
            max-width: 600px;
            position: relative;
            z-index: 2;
        }
        .promo-banner .gold-text {
            color: var(--warm-gold);
        }

        /* testimonials */
        .testimonials-grid {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }
        .testimonial {
            background: white;
            border-radius: 30px;
            padding: 30px;
            flex: 1 1 300px;
            box-shadow: var(--shadow-sm);
        }
        .testimonial img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }
        .profile {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
        }

        /* recipe cards */
        .recipe-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
            gap: 30px;
        }
        .recipe-card {
            border-radius: 30px;
            overflow: hidden;
            background: white;
            box-shadow: var(--shadow-sm);
        }
        .recipe-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: 0.4s;
        }
        .recipe-card:hover img {
            transform: scale(1.05);
        }
        .recipe-card .content {
            padding: 20px;
        }

        /* app download (dark premium) */
        .app-section {
            background: var(--dark-charcoal);
            border-radius: 40px;
            padding: 70px;
            color: white;
            margin: 70px 0;
            background-image: radial-gradient(circle at 80% 30%, rgba(198,161,91,0.2) 0%, transparent 40%);
        }

        /* footer */
        .footer {
            background: #1b1715;
            color: #ddd;
            padding: 60px 0 30px;
            border-radius: 40px 40px 0 0;
            margin-top: 60px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px,1fr));
            gap: 40px;
        }
        .social i {
            font-size: 1.6rem;
            margin-right: 16px;
            color: var(--warm-gold);
        }

        /* micro interactions */
        .hover-lift {
            transition: transform 0.2s;
        }
        .hover-lift:hover {
            transform: translateY(-4px);
        }

        /* ----- hamburger menu for mobile (already present) ----- */
        .hamburger {
            display: none;
            font-size: 32px;
            background: none;
            border: none;
            color: var(--deep-red);
            cursor: pointer;
            padding: 0 8px;
            transition: 0.2s;
            z-index: 110;
            line-height: 1;
        }
        .hamburger:hover {
            color: var(--warm-gold);
        }

        .mobile-nav {
            display: none;
            flex-direction: column;
            background: var(--cream);
            backdrop-filter: blur(12px);
            padding: 20px 24px 30px;
            border-radius: 0 0 32px 32px;
            box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2);
            margin-top: 12px;
            border-bottom: 2px solid rgba(198,161,91,0.2);
            width: 100%;
        }
        .mobile-nav a {
            padding: 16px 0;
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--dark-charcoal);
            text-decoration: none;
            border-bottom: 1px solid rgba(198,161,91,0.15);
        }
        .mobile-nav a:last-child {
            border-bottom: none;
        }
        .mobile-nav.show {
            display: flex;
        }

        /* ===== RESPONSIVE IMPROVEMENTS ===== */
        @media (max-width: 1200px) {
            .container {
                padding: 0 28px;
            }
            .slide-content h1 {
                font-size: 3.6rem;
            }
        }

        @media (max-width: 900px) {
            .nav-links {
                display: none !important;
            }
            .hamburger {
                display: block;
                order: 2;
            }
            .nav-container {
                flex-wrap: wrap;
                align-items: center;
            }
            .logo {
                order: 1;
            }
            .nav-actions {
                order: 3;
                margin-left: auto;
            }
            .slider-container {
                height: 480px;
            }
            .slide-content h1 {
                font-size: 3rem;
            }
            .slide-content p {
                font-size: 1.1rem;
            }
            .btn-group {
                gap: 12px;
            }
            .btn-primary, .btn-outline {
                padding: 12px 28px;
            }
        }

        @media (max-width: 768px) {
            .category-grid {
                display: flex;
                gap: 20px;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding: 8px 4px 24px;
                scrollbar-width: none;
                grid-template-columns: unset;
            }
            .category-grid::-webkit-scrollbar {
                display: none;
            }
            .category-card {
                min-width: calc(50vw - 32px);
                scroll-snap-align: start;
                flex-shrink: 0;
                margin-right: 0;
            }

            .recipe-grid {
                display: flex;
                gap: 20px;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding: 8px 4px 24px;
                grid-template-columns: unset;
            }
            .recipe-card {
                min-width: calc(70vw - 32px);
                scroll-snap-align: start;
                flex-shrink: 0;
            }

            .card-slider {
                gap: 16px;
                padding: 8px 4px 24px;
                scroll-snap-type: x mandatory;
            }
            .product-card {
                min-width: calc(50vw - 36px);
                scroll-snap-align: start;
                flex-shrink: 0;
            }

            .slider-container {
                height: 420px;
            }
            .slide-content {
                left: 5%;
                right: 5%;
                max-width: none;
            }
            .slide-content h1 {
                font-size: 2.5rem;
            }
            .btn-group {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
            .btn-primary, .btn-outline {
                width: auto;
                min-width: 200px;
                text-align: center;
            }

            .promo-banner {
                padding: 50px 30px;
                border-radius: 32px;
            }
            .promo-banner h2 {
                font-size: 2.2rem;
                max-width: 100%;
            }

            .section-header h2 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 600px) {
            .container {
                padding: 0 18px;
            }
            .navbar {
                padding: 0px 0;
            }
            .logo {
                font-size: 24px;
            }
            .location-selector {
                display: none;
            }
            .nav-actions{
            display:flex;
            align-items:center;
            gap:8px;
            }
            .login-btn, .cart-icon {
                padding: 6px 14px;
                font-size: 0.9rem;
            }
            /* hide desktop search bar, show mobile icon */
            .search-bar {
                display: none;
            }
            .mobile-search-icon{
            display:flex !important;
            align-items:center;
            justify-content:center;
            }

            .hero {
                margin: 10px 0 30px;
            }
            .slider-container {
                height: 380px;
            }
            .slide-content h1 {
                font-size: 2rem;
            }
            .slide-content p {
                font-size: 1rem;
                margin: 16px 0 24px;
            }
            .btn-primary, .btn-outline {
                padding: 12px 24px;
                font-size: 0.95rem;
            }

            .category-card img {
                width: 90px;
                height: 90px;
            }

            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 18px;
            }
            .feature-card {
                padding: 30px 12px;
            }

            .promo-banner {
                padding: 40px 20px;
                text-align: center;
            }
            .promo-banner h2 {
                font-size: 1.9rem;
            }

            .testimonials-grid {
                flex-direction: column;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 480px) {
            .slider-container {
                height: 340px;
            }
            .slide-content h1 {
                font-size: 1.8rem;
            }
            .btn-primary, .btn-outline {
                min-width: 160px;
                padding: 10px 18px;
            }

            .category-card {
                min-width: calc(50vw - 28px);
                padding: 20px 8px 16px;
            }
            .product-card {
                min-width: calc(50vw - 28px);
                padding: 16px;
            }
            .product-card img {
                height: 140px;
            }
            .price {
                font-size: 1.2rem;
            }

            .section-header h2 {
                font-size: 1.9rem;
            }

            .promo-banner {
                padding: 30px 16px;
                border-radius: 28px;
            }
            .promo-banner h2 {
                font-size: 1.6rem;
            }

            .add-btn, .login-btn, .cart-icon, .category-card, .product-card {
                cursor: pointer;
                min-height: 44px;
            }
            .nav-actions .login-btn, .nav-actions .cart-icon {
                padding: 10px 16px;
            }
        }

        @media (hover: none) and (pointer: coarse) {
            .add-btn, .btn-primary, .btn-outline, .category-card, .product-card,
            .login-btn, .cart-icon, .slider-arrow {
                min-height: 48px;
                min-width: 48px;
            }
            .nav-actions i {
                font-size: 1.2rem;
            }
        }

        .card-slider, .category-grid, .recipe-grid {
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
        }
        .card-slider::-webkit-scrollbar,
        .category-grid::-webkit-scrollbar,
        .recipe-grid::-webkit-scrollbar {
            display: none;
        }

        /* responsiveness override for very small devices */
        @media (max-width: 360px) {
            .category-card {
                min-width: calc(50vw - 20px);
            }
            .product-card {
                min-width: calc(50vw - 24px);
            }
        }




        
        /* breadcrumb */
        .breadcrumb {
            display: flex;
            gap: 10px;
            color: #6b625a;
            font-size: 0.9rem;
            margin-bottom: 25px;
        }

        .breadcrumb a {
            color: var(--deep-red);
            text-decoration: none;
        }

        /* main grid */
        .profile-grid {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 25px;
        }

        /* left sidebar - Amazon style */
        .profile-sidebar {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            height: fit-content;
        }

        .sidebar-header {
            background: linear-gradient(135deg, var(--deep-red) 0%, var(--deep-red-dark) 100%);
            color: white;
            padding: 25px 20px;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
            text-align: center;
        }

        .sidebar-header i {
            font-size: 3rem;
            background: rgba(255,255,255,0.2);
            padding: 15px;
            border-radius: 50%;
            margin-bottom: 10px;
        }

        .sidebar-header h3 {
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .sidebar-header p {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .sidebar-menu {
            padding: 15px;
        }

        .menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 15px;
            border-radius: 12px;
            color: var(--dark-charcoal);
            text-decoration: none;
            transition: 0.2s;
            margin-bottom: 5px;
        }

        .menu-item i {
            color: var(--warm-gold);
            width: 24px;
        }

        .menu-item:hover, .menu-item.active {
            background: #f5efe8;
            color: var(--deep-red);
        }

        .menu-item.active {
            border-left: 4px solid var(--deep-red);
            font-weight: 600;
        }

        /* right content area */
        .content-area {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            padding: 30px;
        }

        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0e8e0;
        }

        .section-title h2 {
            font-size: 1.6rem;
            color: var(--dark-charcoal);
            font-weight: 600;
        }

        .edit-btn {
            background: none;
            border: 2px solid var(--warm-gold);
            color: var(--warm-gold);
            padding: 8px 20px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
        }

        .edit-btn:hover {
            background: var(--warm-gold);
            color: white;
        }

        /* profile info display */
        .info-row {
            display: flex;
            margin-bottom: 20px;
            padding: 10px 0;
            border-bottom: 1px solid #f0e8e0;
        }

        .info-label {
            width: 120px;
            color: #6b625a;
            font-weight: 500;
        }

        .info-value {
            flex: 1;
            font-weight: 500;
        }

        .edit-form {
            display: none;
        }

        .edit-form.show {
            display: block;
        }

        .info-display {
            display: block;
        }

        .info-display.hide {
            display: none;
        }

        /* addresses section */
        .address-card {
            border: 1px solid #f0e8e0;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 15px;
            position: relative;
            transition: 0.2s;
        }

        .address-card:hover {
            border-color: var(--warm-gold);
            box-shadow: var(--shadow-sm);
        }

        .address-type {
            display: inline-block;
            background: var(--warm-gold);
            color: white;
            padding: 4px 12px;
            border-radius: 40px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .address-text {
            font-size: 1rem;
            margin-bottom: 8px;
            line-height: 1.6;
        }

        .address-actions {
            display: flex;
            gap: 15px;
            margin-top: 12px;
        }

        .address-actions button {
            background: none;
            border: none;
            color: var(--deep-red);
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px 10px;
            border-radius: 20px;
            transition: 0.2s;
        }

        .address-actions button:hover {
            background: #f5efe8;
        }

        .address-actions .delete-btn {
            color: #999;
        }

        .add-address-btn {
            background: var(--cream);
            border: 2px dashed var(--warm-gold);
            border-radius: 16px;
            padding: 25px;
            text-align: center;
            color: var(--warm-gold);
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 20px;
        }

        .add-address-btn i {
            font-size: 1.5rem;
            margin-right: 10px;
        }

        .add-address-btn:hover {
            background: var(--warm-gold-light);
            color: white;
            border-color: var(--deep-red);
        }

        /* form styles */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark-charcoal);
        }

        .form-group input, .form-group select {
            width: 100%;
            padding: 14px 18px;
            border: 1.5px solid #e8e0d8;
            border-radius: 12px;
            font-size: 1rem;
            transition: 0.2s;
            outline: none;
        }

        .form-group input:focus, .form-group select:focus {
            border-color: var(--warm-gold);
            box-shadow: 0 0 0 3px rgba(198,161,91,0.2);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .btn-primary {
            background: var(--deep-red);
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
        }

        .btn-primary:hover {
            background: var(--deep-red-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(177,39,52,0.3);
        }

        .btn-outline {
            background: none;
            border: 2px solid #e8e0d8;
            padding: 12px 30px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            margin-left: 10px;
        }

        .btn-outline:hover {
            border-color: var(--warm-gold);
        }

        /* modal for address edit */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal.show {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 30px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .modal-header h3 {
            font-size: 1.5rem;
            color: var(--dark-charcoal);
        }

        .close-modal {
            font-size: 2rem;
            cursor: pointer;
            color: #999;
        }

        /* responsive */
        @media (max-width: 900px) {
            .profile-grid {
                grid-template-columns: 1fr;
            }
            .nav-search {
                display: none;
            }
        }

        /* Navbar */
       
        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            font-weight: 700;
            color: var(--deep-red);
            text-decoration: none;
        }

        .logo span {
            color: #1e1b18;
        }

        .cart-icon {
            position: relative;
            font-size: 1.3rem;
            color: var(--deep-red);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cart-badge {
            background: var(--warm-gold);
            color: white;
            font-size: 0.75rem;
            padding: 4px 8px;
            border-radius: 40px;
            font-weight: 600;
        }

        /* Container */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 30px;
        }

        /* Page Header */
        .page-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 40px;
        }

        .page-header h1 {
            font-size: 2.2rem;
            font-weight: 600;
            color: #1e1b18;
        }

        .page-header i {
            font-size: 2rem;
            color: var(--warm-gold);
        }

        /* Cart Layout */
        .cart-layout {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 30px;
        }

        /* Cart Items */
        .cart-items {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: var(--shadow-md);
        }

        .cart-item {
            display: grid;
            grid-template-columns: 100px 1fr auto;
            gap: 25px;
            padding: 25px 0;
            border-bottom: 1px solid rgba(198,161,91,0.2);
        }

        .cart-item:last-child {
            border-bottom: none;
        }

        .item-image {
            width: 100px;
            height: 100px;
            border-radius: 16px;
            object-fit: cover;
            border: 2px solid var(--warm-gold-light);
        }

        .item-details h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .item-weight {
            color: #6b7280;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 10px;
        }

        .item-price {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .item-current-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--deep-red);
        }

        .item-original-price {
            color: #9ca3af;
            text-decoration: line-through;
            font-size: 1rem;
        }

        .item-actions {
            text-align: right;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            background: var(--cream);
            padding: 8px;
            border-radius: 50px;
        }

        .quantity-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: white;
            color: var(--deep-red);
            font-size: 1.2rem;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: var(--shadow-sm);
        }

        .quantity-btn:hover:not(:disabled) {
            background: var(--warm-gold);
            color: white;
        }

        .quantity-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .quantity {
            font-size: 1.1rem;
            font-weight: 600;
            min-width: 30px;
            text-align: center;
        }

        .item-subtotal {
            font-weight: 600;
            color: #1e1b18;
            margin-bottom: 10px;
        }

        .remove-btn {
            background: none;
            border: none;
            color: #9ca3af;
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .remove-btn:hover {
            color: var(--deep-red);
        }

        /* Cart Summary */
        .cart-summary {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: var(--shadow-md);
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .summary-header {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(198,161,91,0.2);
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            color: #4b5563;
        }

        .summary-total {
            display: flex;
            justify-content: space-between;
            margin: 20px 0;
            padding-top: 20px;
            border-top: 2px solid rgba(198,161,91,0.2);
            font-size: 1.2rem;
            font-weight: 600;
            color: #1e1b18;
        }

        .checkout-btn {
            width: 100%;
            background: linear-gradient(135deg, var(--deep-red), var(--deep-red-dark));
            color: white;
            border: none;
            padding: 18px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .checkout-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 30px rgba(177,39,52,0.3);
        }

        .delivery-note {
            text-align: center;
            margin-top: 15px;
            color: #6b7280;
            font-size: 0.9rem;
        }

        /* Empty Cart */
        .empty-cart {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: var(--border-radius);
        }

        .empty-cart i {
            font-size: 5rem;
            color: var(--warm-gold-light);
            margin-bottom: 20px;
        }

        .empty-cart h2 {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .empty-cart p {
            color: #6b7280;
            margin-bottom: 30px;
        }

        .browse-btn {
            background: var(--deep-red);
            color: white;
            text-decoration: none;
            padding: 16px 40px;
            border-radius: 60px;
            font-weight: 600;
            display: inline-block;
            transition: 0.3s;
        }

        .browse-btn:hover {
            background: var(--deep-red-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(177,39,52,0.3);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .cart-layout {
                grid-template-columns: 1fr;
            }
            
            .cart-summary {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .cart-item {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .item-image {
                margin: 0 auto;
            }
            
            .item-actions {
                text-align: center;
            }
            
            .quantity-control {
                justify-content: center;
            }
        }