:root {
            --color-pink-50: #ffe8ee; /* Slightly darker pink background */
            --color-purple-200: #e0ccf0; /* Darker light purple for header/footer */
            --color-purple-300: #c6a2e0; /* Darker medium light purple */
            --color-purple-400: #a97fd1; /* Darker purple for active nav/buttons */
            --color-purple-500: #8c5fb6; /* Darker purple for hover */
            --color-purple-600: #7a4a9c; /* Even darker purple for text/links */
            --color-purple-700: #5c307e; /* Deeper purple for totals */
            --color-purple-800: #3f1d56; /* Darkest purple for brand text */
            --color-fuchsia-400: #e05ddc; /* Darker fuchsia for men's shop button */
            --color-fuchsia-500: #ce31e1; /* Darker fuchsia for hover */
            --color-sky-300: #93d9e0; /* Darker light sky blue */
            --color-sky-400: #29a0e1; /* Darker sky blue for women's shop button */
            --color-sky-500: #0c8cd0; /* Darker sky blue for hover */
            --color-emerald-300: #58c99f; /* Darker light emerald green */
            --color-indigo-500: #5558da; /* Indigo for gradient */
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            background-color: var(--color-pink-50);
            color: #1a202c; /* Equivalent to gray-900 */
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        /* Header Styling */
        header {
            background-color: var(--color-purple-200);
            color: var(--color-purple-800);
            padding-top: 1rem;
            padding-bottom: 1rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-xl */
            border-bottom-left-radius: 0.75rem; /* rounded-b-xl */
            border-bottom-right-radius: 0.75rem; /* rounded-b-xl */
        }

        header .container {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
        }

        @media (min-width: 768px) {
            header .container {
                flex-direction: row;
            }
        }

        header h1 {
            font-size: 2.25rem; /* text-4xl */
            font-weight: 800; /* font-bold */
            margin-bottom: 1rem;
            color: var(--color-purple-800);
            transition: transform 0.3s ease-in-out;
        }

        header h1:hover {
            transform: scale(1.05);
        }

        header nav ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem; /* gap-x-6 gap-y-2 */
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 1.125rem; /* text-lg */
        }

        header nav button {
            padding: 0.5rem 1rem; /* px-4 py-2 */
            border-radius: 0.5rem; /* rounded-lg */
            transition: all 0.3s ease-in-out;
            background-color: transparent;
            border: none;
            cursor: pointer;
            color: var(--color-purple-800);
        }

        header nav button:hover {
            background-color: var(--color-purple-300);
        }

        header nav button.active {
            background-color: var(--color-purple-400);
            color: white;
        }

        header nav .group {
            position: relative;
        }

        header nav .group ul {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 100%;
            margin-top: 0.5rem; /* mt-2 */
            width: 12rem; /* w-48 */
            background-color: var(--color-purple-300);
            border-radius: 0.5rem; /* rounded-lg */
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease-in-out;
            z-index: 10;
            flex-direction: column;
            align-items: flex-start;
            gap: 0;
        }

        header nav .group:hover ul {
            opacity: 1;
            visibility: visible;
        }

        header nav .group ul button {
            display: block;
            width: 100%;
            text-align: left;
            padding: 0.5rem 1rem;
            color: #1a202c; /* gray-800 */
        }

        header nav .group ul button:hover {
            background-color: var(--color-purple-400);
            color: white;
        }

        header nav .group ul button:first-child {
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
        }

        header nav .group ul button:last-child {
            border-bottom-left-radius: 0.5rem;
            border-bottom-right-radius: 0.5rem;
        }

        header nav svg {
            display: inline-block;
            width: 1rem;
            height: 1rem;
            margin-left: 0.25rem;
            margin-top: -0.25rem;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            vertical-align: middle;
        }

        /* Cart counter */
        header nav .relative {
            position: relative;
        }
        header nav .relative .cart-count {
            position: absolute;
            top: -0.5rem;
            right: -0.5rem;
            background-color: #ef4444; /* red-500 */
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
            border-radius: 9999px; /* rounded-full */
            height: 1.25rem;
            width: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }


        /* Main Content Area */
        main {
            flex-grow: 1;
            padding-top: 2rem;
            padding-bottom: 2rem;
        }

        /* Home Page */
        .home-section {
            text-align: center;
            padding-top: 5rem;
            padding-bottom: 5rem;
            background-color: white;
            border-radius: 0.75rem; /* rounded-xl */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
        }

        .home-section h2 {
            font-size: 3rem; /* text-5xl */
            font-weight: 800; /* font-extrabold */
            color: #1a202c; /* gray-900 */
            margin-bottom: 1.5rem;
            line-height: 1.25; /* leading-tight */
        }

        .home-section p {
            font-size: 1.125rem; /* text-lg */
            color: #4a5568; /* gray-700 */
            margin-bottom: 2rem;
            max-width: 48rem; /* max-w-2xl */
            margin-left: auto;
            margin-right: auto;
        }

        .home-section .flex {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem; /* gap-4 */
        }

        .home-section button {
            font-weight: bold;
            padding: 0.75rem 2rem; /* py-3 px-8 */
            border-radius: 9999px; /* rounded-full */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-lg */
            transition: all 0.3s ease-in-out;
            border: none;
            cursor: pointer;
            color: white;
        }

        .home-section button.bg-fuchsia-400 {
            background-color: var(--color-fuchsia-400);
        }
        .home-section button.bg-fuchsia-400:hover {
            background-color: var(--color-fuchsia-500);
            transform: scale(1.05);
        }

        .home-section button.bg-sky-400 {
            background-color: var(--color-sky-400);
        }
        .home-section button.bg-sky-400:hover {
            background-color: var(--color-sky-500);
            transform: scale(1.05);
        }

        .home-section .mt-16 {
            margin-top: 4rem;
        }

        .home-section .grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem; /* gap-8 */
            max-width: 64rem; /* max-w-4xl */
            margin-left: auto;
            margin-right: auto;
        }

        @media (min-width: 768px) {
            .home-section .grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .home-section .gradient-card {
            padding: 2rem;
            border-radius: 0.75rem; /* rounded-xl */
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease-in-out;
            cursor: pointer;
        }

        .home-section .gradient-card:hover {
            transform: scale(1.05);
        }

        .home-section .gradient-card.from-purple-300-to-pink-300 {
            background: linear-gradient(to bottom right, var(--color-purple-300), #fbcde8); /* Adjusted for darker pink */
            color: var(--color-purple-800);
        }

        .home-section .gradient-card.from-sky-300-to-emerald-300 {
            background: linear-gradient(to bottom right, var(--color-sky-300), var(--color-emerald-300));
            color: #1e40af; /* blue-800 */
        }

        .home-section .gradient-card h3 {
            font-size: 1.875rem; /* text-3xl */
            font-weight: bold;
            margin-bottom: 0.75rem; /* mb-3 */
        }

        .home-section .gradient-card p {
            font-size: 1.125rem; /* text-lg */
            opacity: 0.9;
            margin-bottom: 0;
        }

        /* Product Card Styling */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted for better responsiveness */
            gap: 1.5rem; /* gap-6 */
        }

        .product-card {
            background-color: white;
            border-radius: 0.75rem; /* rounded-xl */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-lg */
            overflow: hidden;
            transition: transform 0.3s ease-in-out;
        }

        .product-card:hover {
            transform: scale(1.05);
        }

        .product-card img {
            width: 100%;
            height: 12rem; /* h-48 */
            object-fit: cover;
            transition: opacity 0.3s ease-in-out;
        }

        .product-card:hover img {
            opacity: 0.9;
        }

        .product-card .p-4 {
            padding: 1rem;
        }

        .product-card h3 {
            font-size: 1.25rem; /* text-xl */
            font-weight: 600; /* font-semibold */
            color: #1a202c; /* gray-800 */
            margin-bottom: 0.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-card p.price {
            color: var(--color-purple-600);
            font-weight: bold;
            font-size: 1.125rem; /* text-lg */
            margin-bottom: 0.5rem;
        }

        .product-card p.description {
            color: #4a5568; /* gray-600 */
            font-size: 0.875rem; /* text-sm */
            margin-bottom: 1rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .product-card .flex-buttons {
            display: flex;
            gap: 0.5rem;
        }

        .product-card button {
            flex: 1;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            transition: background-color 0.3s ease-in-out;
            font-weight: 500;
            border: none;
            cursor: pointer;
            color: white;
        }

        .product-card button.bg-purple-400 {
            background-color: var(--color-purple-400);
        }

        .product-card button.bg-purple-400:hover {
            background-color: var(--color-purple-500);
        }

        .product-card button.bg-pink-400 {
            background-color: #f0a3cc; /* Custom darker light pink for buy now */
        }
        .product-card button.bg-pink-400:hover {
            background-color: #e67bb3; /* Slightly darker pink for hover */
        }
        
        /* Auth Form */
        .auth-form {
            background-color: white;
            padding: 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 28rem;
            margin: 2rem auto;
        }

        .auth-form h3 {
            font-size: 1.875rem;
            font-weight: bold;
            color: #1a202c;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .auth-form .space-y-4 > div {
            margin-bottom: 1rem;
        }

        .auth-form label {
            display: block;
            color: #4a5568;
            font-size: 0.875rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .auth-form input {
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            appearance: none;
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            width: 100%;
            padding: 0.5rem 0.75rem;
            color: #4a5568;
            line-height: 1.5;
            outline: none;
            transition: all 0.2s ease-in-out;
        }

        .auth-form input:focus {
            box-shadow: 0 0 0 3px rgba(184, 152, 219, 0.5); /* focus:shadow-outline with purple-400 color */
            border-color: var(--color-purple-300);
        }

        .auth-form button[type="submit"] {
            width: 100%;
            background-color: var(--color-purple-400);
            color: white;
            font-weight: bold;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            outline: none;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease-in-out;
            border: none;
            cursor: pointer;
        }

        .auth-form button[type="submit"]:hover {
            background-color: var(--color-purple-500);
            transform: scale(1.05);
        }

        .auth-form p.text-center {
            text-align: center;
            color: #4a5568;
            font-size: 0.875rem;
            margin-top: 1rem;
        }

        .auth-form p.text-center button {
            color: var(--color-purple-600);
            font-weight: 600;
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            text-decoration: none;
        }

        .auth-form p.text-center button:hover {
            text-decoration: underline;
        }

        /* Cart Styling */
        .cart-section {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            max-width: 64rem; /* max-w-4xl */
            margin-left: auto;
            margin-right: auto;
        }

        .cart-section h2 {
            font-size: 2.25rem; /* text-4xl */
            font-weight: 800; /* font-extrabold */
            color: #1a202c; /* gray-800 */
            margin-bottom: 2rem;
            text-align: center;
        }

        .cart-section .empty-cart-message {
            text-align: center;
            color: #4a5568;
            font-size: 1.125rem;
        }

        .cart-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            background-color: #f7fafc; /* gray-50 */
            padding: 1rem;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
            margin-bottom: 1rem; /* space-y-4 */
        }

        @media (min-width: 640px) { /* sm:flex-row */
            .cart-item {
                flex-direction: row;
            }
            .cart-item > div.flex-items-center {
                margin-bottom: 0;
            }
        }

        .cart-item .flex-items-center {
            display: flex;
            align-items: center;
            width: 100%;
            margin-bottom: 1rem;
        }

        @media (min-width: 640px) {
            .cart-item .flex-items-center {
                width: auto;
            }
        }

        .cart-item img {
            width: 5rem;
            height: 5rem;
            object-fit: cover;
            border-radius: 0.375rem; /* rounded-md */
            margin-right: 1rem;
        }

        .cart-item h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1a202c;
        }

        .cart-item p {
            color: #4a5568;
        }

        .cart-item p.price {
            color: var(--color-purple-600);
            font-weight: bold;
        }

        .cart-item .quantity-controls {
            display: flex;
            align-items: center;
            margin-left: 1rem; /* space-x-4 */
        }

        .cart-item .quantity-buttons {
            display: flex;
            align-items: center;
            border: 1px solid #cbd5e0; /* gray-300 */
            border-radius: 0.375rem;
        }

        .cart-item .quantity-buttons button {
            padding: 0.25rem 0.75rem; /* px-3 py-1 */
            background-color: #edf2f7; /* gray-200 */
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .cart-item .quantity-buttons button:hover:not(:disabled) {
            background-color: #e2e8f0; /* gray-300 */
        }

        .cart-item .quantity-buttons button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .cart-item .quantity-buttons button:first-child {
            border-top-left-radius: 0.375rem;
            border-bottom-left-radius: 0.375rem;
        }

        .cart-item .quantity-buttons button:last-child {
            border-top-right-radius: 0.375rem;
            border-bottom-right-radius: 0.375rem;
        }

        .cart-item .quantity-buttons span {
            padding: 0.25rem 0.75rem;
        }

        .cart-item .remove-button {
            background-color: #ef4444; /* red-400 */
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            transition: background-color 0.3s;
            font-weight: 500;
            border: none;
            cursor: pointer;
        }

        .cart-item .remove-button:hover {
            background-color: #dc2626; /* red-500 */
        }

        .cart-summary {
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 2px solid #e2e8f0; /* border-t-2 border-gray-200 */
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-summary h3 {
            font-size: 1.5rem; /* text-2xl */
            font-weight: bold;
            color: #1a202c;
        }

        .cart-summary p {
            font-size: 1.875rem; /* text-3xl */
            font-weight: 800; /* font-extrabold */
            color: var(--color-purple-700);
        }

        .cart-checkout-button {
            margin-top: 2rem;
            text-align: center;
        }

        .cart-checkout-button button {
            background-color: #22c55e; /* green-500 */
            color: white;
            font-weight: bold;
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease-in-out;
            border: none;
            cursor: pointer;
        }

        .cart-checkout-button button:hover {
            background-color: #16a34a; /* green-600 */
            transform: scale(1.05);
        }

        /* Checkout Form Styling */
        .checkout-section {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            max-width: 42rem; /* max-w-2xl */
            margin: 2rem auto;
        }

        .checkout-section h2 {
            font-size: 2.25rem;
            font-weight: 800;
            color: #1a202c;
            margin-bottom: 2rem;
            text-align: center;
        }

        .checkout-section .form-group {
            margin-bottom: 1.5rem; /* space-y-6 equivalent on direct children */
        }

        .checkout-section h3 {
            font-size: 1.5rem;
            font-weight: bold;
            color: #1a202c;
            margin-bottom: 1rem;
        }

        .checkout-section .order-summary {
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            padding: 1rem;
        }

        .checkout-section .order-summary p {
            display: flex;
            justify-content: space-between;
            color: #4a5568;
            margin-bottom: 0.5rem;
        }

        .checkout-section .order-summary p:last-of-type {
            font-size: 1.25rem;
            font-weight: bold;
            color: #1a202c;
            margin-top: 1rem;
            padding-top: 0.5rem;
            border-top: 1px solid #e2e8f0;
        }

        .checkout-section .grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        @media (min-width: 768px) {
            .checkout-section .grid {
                grid-template-columns: 1fr 1fr;
            }
            .checkout-section .grid .md-col-span-2 {
                grid-column: span 2;
            }
        }

        .checkout-section label {
            display: block;
            color: #4a5568;
            font-size: 0.875rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .checkout-section input {
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            appearance: none;
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            width: 100%;
            padding: 0.5rem 0.75rem;
            color: #4a5568;
            line-height: 1.5;
            outline: none;
            transition: all 0.2s ease-in-out;
        }

        .checkout-section input:focus {
            box-shadow: 0 0 0 3px rgba(184, 152, 219, 0.5); /* focus:shadow-outline with purple-400 color */
            border-color: var(--color-purple-300);
        }

        .checkout-section button[type="submit"] {
            width: 100%;
            background-color: var(--color-purple-500);
            color: white;
            font-weight: bold;
            padding: 0.75rem 2rem;
            border-radius: 9999px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease-in-out;
            border: none;
            cursor: pointer;
        }

        .checkout-section button[type="submit"]:hover {
            background-color: var(--color-purple-600);
            transform: scale(1.05);
        }


        /* Footer Styling */
        footer {
            background-color: var(--color-purple-200);
            color: var(--color-purple-800);
            padding-top: 1.5rem;
            padding-bottom: 1.5rem;
            margin-top: 2rem;
            border-top-left-radius: 0.75rem;
            border-top-right-radius: 0.75rem;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06); /* shadow-inner */
        }

        footer .container {
            text-align: center;
            font-size: 0.875rem;
        }

        footer p {
            margin-bottom: 0.5rem;
        }

        footer .mt-4 {
            margin-top: 1rem;
        }

        footer .flex-contact {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            font-size: 1rem;
        }

        @media (min-width: 640px) {
            footer .flex-contact {
                flex-direction: row;
                gap: 2rem;
            }
        }

        footer .flex-contact a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease-in-out;
        }

        footer .flex-contact a:hover {
            color: var(--color-purple-600);
        }

        footer .mt-2 {
            margin-top: 0.5rem;
        }
        footer .text-red-500 {
            color: #ef4444;
        }
        footer .text-xs {
            font-size: 0.75rem;
        }
        footer .opacity-80 {
            opacity: 0.8;
        }

        /* Custom Alert Modal */
        .custom-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-in-out;
        }

        .custom-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .custom-modal-content {
            background-color: white;
            padding: 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            text-align: center;
            max-width: 400px;
            width: 90%;
            transform: translateY(-20px);
            transition: transform 0.3s ease-in-out;
        }

        .custom-modal-overlay.show .custom-modal-content {
            transform: translateY(0);
        }

        .custom-modal-content h3 {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: var(--color-purple-800);
        }

        .custom-modal-content p {
            margin-bottom: 1.5rem;
            color: #4a5568;
        }

        .custom-modal-content button {
            background-color: var(--color-purple-400);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .custom-modal-content button:hover {
            background-color: var(--color-purple-500);
        }
