/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #111111;
    line-height: 1.6;
    background: #ffffff;
}

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

/* ============ ACTIVE NAVIGATION LINK ============ */
.nav-desktop a.active {
    color: #e54f9d;
    font-weight: 600;
}

.nav-desktop a.active::after {
    width: 100%;
    background: #e54f9d;
}

.nav-desktop a.active:hover {
    color: #e54f9d;
}

.nav-desktop a.active:hover::after {
    background: #e54f9d;
}

/* Mobile active link */
.nav-mobile a.active {
    color: #e54f9d;
    font-weight: 600;
    border-bottom-color: #e54f9d;
    padding-left: 0.5rem;
}

.nav-mobile a.active:hover {
    color: #e54f9d;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #e54f9d;
    color: white;
}

.btn-primary:hover {
    background: #c73d85;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(229, 79, 157, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #e54f9d;
    border: 2px solid #e54f9d;
}

.btn-secondary:hover {
    background: #fce7f3;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #111111;
    border: 2px solid #111111;
}

.btn-outline:hover {
    background: #111111;
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-dark {
    background: #111111;
    color: white;
}

.btn-dark:hover {
    background: #e54f9d;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(229, 79, 157, 0.3);
}

/* ============ HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #f8d4e8;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: #111111;
    letter-spacing: -0.5px;
}

.logo span {
    color: #e54f9d;
    background: #fce7f3;
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-desktop a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e54f9d;
    transition: width 0.25s;
}

.nav-desktop a:hover {
    color: #111111;
}

.nav-desktop a:hover::after {
    width: 100%;
}

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

.icon-btn {
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    font-size: 1.25rem;
    color: #4b5563;
}

.icon-btn:hover {
    background: #fce7f3;
    color: #e54f9d;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background: #e54f9d;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

.mobile-toggle {
    display: block;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .mobile-toggle {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }
}

.nav-mobile {
    display: none;
    padding: 1rem 0;
    border-top: 2px solid #f8d4e8;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-mobile.active {
    display: flex;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-mobile a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav-mobile a:hover {
    color: #e54f9d;
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, #fce7f3, #f8d4e8, #f0b8d8);
    color: #111111;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(229, 79, 157, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 48rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: black;
}

.hero h1 span {
    color: black;
}

.hero p {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: black;
    opacity: 0.95;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}


/* ============ FEATURES ============ */
.features {
    padding: 3rem 0;
    border-bottom: 2px solid #f8d4e8;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.25s ease;
    background: #fce7f3;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(229, 79, 157, 0.12);
}

.feature-card i {
    font-size: 2rem;
    color: #e54f9d;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111111;
}

.feature-card p {
    font-size: 0.75rem;
    color: #6b7280;
}

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

/* ============ PRODUCTS ============ */
.featured-products {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111111;
}

.section-header h2 span {
    color: #e54f9d;
}

.section-header p {
    color: #6b7280;
    margin-top: 0.25rem;
}

.view-all {
    color: #e54f9d;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.view-all:hover {
    color: #c73d85;
    gap: 0.75rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.products-grid[aria-busy="true"] {
    pointer-events: none;
}

.product-skeleton {
    overflow: hidden;
    border: 2px solid #f8d4e8;
    border-radius: 0.75rem;
    background: #ffffff;
}

.skeleton-block {
    position: relative;
    overflow: hidden;
    background: #fce7f3;
}

.skeleton-block::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    transform: translateX(-100%);
}

.skeleton-image {
    aspect-ratio: 1;
}

.skeleton-info {
    padding: 1rem;
}

.skeleton-line {
    height: 0.75rem;
    margin-bottom: 0.65rem;
    border-radius: 0.25rem;
}

.skeleton-line.title {
    width: 82%;
    height: 1rem;
}

.skeleton-line.category {
    width: 42%;
}

.skeleton-line.price {
    width: 34%;
    margin-bottom: 0;
}

.skeleton-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.skeleton-button {
    width: 4.5rem;
    height: 2rem;
    margin-bottom: 0;
}

@keyframes skeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-block::after {
        animation: none;
    }
}

.product-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid #f8d4e8;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(229, 79, 157, 0.12);
    border-color: #e54f9d;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fce7f3;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #fce7f3;
    color: #111111;
    border: 1px solid #e54f9d;
}

.badge-warning {
    background: #111111;
    color: white;
    border: 1px solid #111111;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.wishlist-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.5rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s;
    color: #9ca3af;
}

.wishlist-btn:hover {
    background: white;
    color: #e54f9d;
    transform: scale(1.05);
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.product-info h3 a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s;
}

.product-info h3 a:hover {
    color: #e54f9d;
}

.product-category {
    color: #6b7280;
    font-size: 0.8rem;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #e54f9d;
}

.add-to-cart {
    padding: 0.5rem 1rem;
    background: #e54f9d;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.add-to-cart:hover {
    background: #c73d85;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(229, 79, 157, 0.3);
}

.add-to-cart:active {
    transform: scale(0.97);
}

.preorder-info {
    font-size: 0.75rem;
    color: #111111;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, #fce7f3, #f8d4e8);
    padding: 4rem 0;
    text-align: center;
    border-top: 2px solid #e54f9d;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
}

.cta-section h2 span {
    color: #e54f9d;
}

.cta-section p {
    color: #4b5563;
    margin-top: 0.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    margin-top: 1.5rem;
}

/* ============ FOOTER ============ */
.footer {
    background: #111111;
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
    border-top: 4px solid #e54f9d;
}

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

.footer-grid .logo {
    color: white;
    font-size: 1.5rem;
}

.footer-grid .logo span {
    color: #e54f9d;
    background: rgba(229, 79, 157, 0.2);
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}

.footer-grid h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-grid a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-grid a:hover {
    color: #e54f9d;
}

.footer-grid p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.footer-grid p i {
    color: #e54f9d;
    width: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: all 0.2s;
}

.social-links a:hover {
    color: #e54f9d;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom i {
    color: #e54f9d;
}

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

/* ============ NOTIFICATIONS ============ */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #111111;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 400px;
    border-left: 4px solid #e54f9d;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification i {
    color: #e54f9d;
    font-size: 1.25rem;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fce7f3;
}

::-webkit-scrollbar-thumb {
    background: #e54f9d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c73d85;
}

/* ============ SELECTION ============ */
::selection {
    background: #e54f9d;
    color: white;
}

::-moz-selection {
    background: #e54f9d;
    color: white;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #e54f9d;
    color: white;
}

.btn-primary:hover {
    background: #111111;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #e54f9d;
    border: 2px solid #e54f9d;
}

.btn-secondary:hover {
    background: #111111;
    color: white;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.3);
}

.btn-outline {
    background: transparent;
    color: #111111;
    border: 2px solid #111111;
}

.btn-outline:hover {
    background: #111111;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: #111111;
    color: white;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.3);
}

.btn-dark {
    background: #111111;
    color: white;
}

.btn-dark:hover {
    background: #e54f9d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(229, 79, 157, 0.3);
}

/* ============ TABLET & PHONE LAYOUT ============ */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-desktop {
        gap: 1rem;
    }

    .nav-desktop a {
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

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

    .mobile-toggle {
        display: inline-flex !important;
    }

    .header {
        position: sticky;
    }

    .header > .container {
        position: relative;
    }

    .nav-mobile {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 60;
        padding: 0.75rem 1rem 1rem;
        background: #ffffff;
        border-top: 2px solid #f8d4e8;
        box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
    }

    .nav-mobile.active {
        display: flex !important;
    }

    .nav-mobile a {
        display: block;
        padding: 0.7rem 0.25rem;
        border-bottom: 1px solid #f8d4e8;
    }

    .nav-mobile a:last-child {
        border-bottom: 0;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-inner {
        height: 3.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .header-actions {
        gap: 0.15rem;
    }

    .icon-btn {
        padding: 0.4rem;
        font-size: 1.05rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .features {
        padding: 2rem 0;
    }

    .features-grid {
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1rem 0.5rem;
    }

    .featured-products {
        padding: 2.5rem 0;
    }

    .section-header {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.875rem;
    }

    .view-all {
        flex-shrink: 0;
        font-size: 0.875rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-info h3 {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .add-to-cart {
        gap: 0.25rem;
        padding: 0.45rem 0.55rem;
        font-size: 0.7rem;
    }

    .product-badges {
        top: 0.5rem;
        left: 0.5rem;
    }

    .badge {
        padding: 0.2rem 0.45rem;
        font-size: 0.6rem;
    }

    .wishlist-btn {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem;
    }

    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .notification {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        max-width: none;
    }
}