:root {
    --primary: hsl(220, 90%, 45%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(220, 15%, 95%);
    --secondary-foreground: hsl(220, 20%, 10%);
    --muted: hsl(220, 15%, 95%);
    --muted-foreground: hsl(220, 10%, 45%);
    --accent: hsl(38, 95%, 50%);
    --accent-foreground: hsl(220, 20%, 10%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(220, 15%, 88%);
    --input: hsl(220, 15%, 88%);
    --ring: hsl(220, 90%, 45%);
    --radius: 0.5rem;
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Inter", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: white;
    color: #0f172a;
    /* Slate 900 */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--secondary-foreground);
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--destructive);
    color: white;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero */
.hero {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--secondary), white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: var(--secondary);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    width: 100%;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: hsl(220, 90%, 50%);
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: white;
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--secondary);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-note {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }

    .hero {
        text-align: left;
        padding: 6rem 1rem;
    }

    .hero-btns {
        display: flex;
        gap: 1rem;
        justify-content: flex-start;
    }
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    /* Mobile default */
}

/* Product Page Layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.product-page-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.price-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.compare-price {
    text-decoration: line-through;
    color: var(--muted-foreground);
}

.option-group {
    margin-top: 1.5rem;
}

.option-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.option-pills {
    display: flex;
    gap: 0.5rem;
}

.option-pill {
    background: white;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.option-pill:hover {
    border-color: var(--primary);
}

.option-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.add-to-cart-block {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.qty-selector button {
    padding: 0 1rem;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
}

.qty-selector span {
    width: 2rem;
    text-align: center;
    font-weight: 500;
}

.product-meta {
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    border-top: 1px solid var(--border);
}

.related-products-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.breadcrumbs {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}


.mini-cart-item {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.mini-cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-cart-img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.mini-cart-details {
    flex: 1;
}

.mini-cart-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.mini-cart-price {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Checkout & Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal.open {
    display: flex;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 2rem;
    border-radius: var(--radius);
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--muted-foreground);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: black;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 2rem;
}

.order-summary-box {
    background-color: var(--secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.checkout-items {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.checkout-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.checkout-item .details {
    flex: 1;
}

.checkout-item .name {
    font-size: 0.9rem;
    font-weight: 500;
}

.checkout-item .qty {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.checkout-totals .flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.checkout-totals .total {
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Trending Grid */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .trending-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .trending-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.trending-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.trending-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
    transition: border-color 0.2s;
    width: 120px;
    margin: 0 auto 1rem;
}

.trending-card:hover .trending-img-wrapper {
    border-color: var(--primary);
}

.trending-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.trending-card:hover img {
    transform: scale(1.1);
}

/* Badges */
.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--destructive);
    color: white;
    border-radius: 9999px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-new {
    top: 0.5rem;
    left: 0.5rem;
    right: auto;
    background: white;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.badge-sale {
    top: 0.5rem;
    right: 0.5rem;
    background: var(--destructive);
}

/* Product Card Actions */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
    background: var(--secondary);
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(100%);
    transition: transform 0.3s;
    display: flex;
    gap: 0.5rem;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--secondary);
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--secondary-foreground);
    font-weight: 500;
    font-size: 1.125rem;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.wishlist-btn-overlay {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.wishlist-btn-overlay:hover {
    background: var(--secondary);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 0.5rem;
}

.mobile-nav a {
    display: block;
    padding: 0.5rem 0;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Tablet / Smaller Desktop */
@media (max-width: 1024px) {
    .desktop-nav ul {
        gap: 1.5rem;
        /* Reduce gap on smaller screens to prevent wrapping */
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    /* Mobile Nav Drawer */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 80%;
        max-width: 300px;
        background: white;
        z-index: 1005;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
        padding: 0;
        border-right: 1px solid var(--border);
    }

    .mobile-nav.open {
        transform: translateX(0);
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--border);
        background: var(--secondary);
    }

    .mobile-nav-header h3 {
        font-size: 1.125rem;
        margin: 0;
    }

    .close-mobile-nav {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        line-height: 1;
        color: var(--muted-foreground);
    }

    .close-mobile-nav:hover {
        color: var(--foreground);
    }

    .mobile-nav ul {
        list-style: none;
        padding: 1.5rem;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        overflow-y: auto;
    }

    .mobile-nav li {
        margin: 0;
        border-bottom: 1px solid var(--border);
        padding-bottom: 0.75rem;
    }

    .mobile-nav li:last-child {
        border-bottom: none;
    }

    .mobile-nav a {
        display: block;
        font-size: 1.125rem;
        font-weight: 500;
        color: #0f172a;
        text-decoration: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo img {
        height: 50px;
        /* Increased size as requested */
    }

    .header-actions {
        gap: 0.75rem;
    }

    .header-container {
        /* No wrap needed if items fit, but keep just in case */
        flex-wrap: nowrap;
    }
}

/* Mobile Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Collections Grid - Equal Sizing */
.collections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 280px;
    }

    .collection-card.span-2 {
        grid-row: span 2;
        grid-column: span 1;
    }
}

.collection-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    text-decoration: none;
    background-color: #f0f0f0;
    /* Fallback */
    height: 100%;
    min-height: 200px;
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    color: white;
    z-index: 10;
}

.collection-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.collection-content em {
    font-style: normal;
    font-weight: 400;
}

/* Footer */
footer {
    background-color: var(--secondary);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

.footer-col h3,
.footer-col h4 {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.85rem;
}

.copyright-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    text-align: center;
}

.feature-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(var(--primary), 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

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

.section-header.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.subheading {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.view-all:hover {
    color: var(--foreground);
}

/* Success Modal */
.success-icon {
    margin-bottom: 1.5rem;
}

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

/* Utility Classes */
.text-decoration-none {
    text-decoration: none;
}

.text-dark {
    color: #0f172a;
}

.text-muted {
    color: var(--muted-foreground);
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

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

.flex-1 {
    flex: 1;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.border-top {
    border-top: 1px solid var(--border);
}

.bg-secondary {
    background-color: var(--secondary);
}

/* Product Page Specific */
.main-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    background: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-desc {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 1.5rem 0;
}

.rating-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.mini-cart-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background: var(--secondary);
    border: 1px solid var(--border);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.qty-btn:hover {
    background: var(--border);
}

.remove-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0.25rem;
    line-height: 1;
}

.remove-btn:hover {
    color: var(--destructive);
}

.empty-cart-msg {
    text-align: center;
    color: var(--muted-foreground);
    padding: 2rem 1rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--ring), 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Premium Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open .modal-content {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: #2563eb;
    /* Primary Blue */
}

.success-icon svg {
    stroke: currentColor;
}

.modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.modal p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal .btn-block {
    width: 100%;
    justify-content: center;
}

/* Close Modal Button (X) */
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
}

.close-modal:hover {
    color: #0f172a;
}

.product-page-title {
    font-size: 1.5rem;
}

.hero-btns {
    flex-direction: column;
    width: 100%;
}

.hero-btns .btn {
    width: 100%;
}
}

/* Product Price Row */
.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-compare-price {
    text-decoration: line-through;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Smooth Transitions */
* {
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

button,
a {
    transition: all 0.2s;
}

/* Shop Page Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.shop-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
    z-index: 90;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: block;
        margin-bottom: 2rem;
        border-bottom: 1px solid var(--border);
        padding-bottom: 1rem;
        position: static;
        width: 100%;
        z-index: auto;
    }
}

/* Header Alignment */
.logo {
    flex: 1;
}

.header-actions {
    flex: 1;
    justify-content: flex-end;
}

.desktop-nav {
    flex: 0 0 auto;
}

.mt-4 {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.filter-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.filter-options label {
    display: block;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
}

.shop-header {
    margin-bottom: 2rem;
}

/* Checkout Page */
.checkout-page-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .checkout-page-layout {
        grid-template-columns: 1fr;
    }
}

.order-summary-card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
}

.checkout-summary-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.summary-row.total-row {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* FAQ */
.faq-section {
    margin-bottom: 3rem;
}

.faq-item {
    margin-bottom: 2rem;
}