@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary:       #D06070;
    --primary-dark:  #B04D5C;
    --primary-light: #F8D5DC;
    --bg-soft:       #FEF7F8;
    --text-dark:     #1A1A1A;
    --text-muted:    #777777;
    --border:        #E8E0E2;
}

* {
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: #FFFFFF;
    color: var(--text-dark);
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garant', serif;
    letter-spacing: -0.01em;
}

.site-logo {
    font-family: 'Cormorant Garant', serif !important;
    font-size: 1.55rem !important;
    letter-spacing: 0.04em;
}

.site-logo-img {
    height: 58px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .site-logo-img {
        height: 72px;
        max-width: 220px;
    }
}

section.bg-gray-50 {
    background-color: var(--bg-soft) !important;
}

.min-h-screen.bg-gray-50 {
    background-color: #FAFAFA !important;
}

.product-container {
    background: #FFFFFF;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    position: relative;
}

.product-container:hover {
    box-shadow: 0 8px 24px rgba(208, 96, 112, 0.16);
    transform: translateY(-3px);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    border: none;
    margin-bottom: 0;
    display: block;
}

.product-info {
    padding: 12px 14px 16px;
    background: #FFFFFF;
}

.product-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 7px;
    line-height: 1.4;
    font-family: 'Nunito', sans-serif;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.current-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    background: var(--primary);
    color: white;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.02em;
}

.campaign-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    color: white;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 2;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.product-container .product-buttons {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(208, 96, 112, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

@media (hover: hover) {
    .product-container:hover .product-buttons {
        background: rgba(208, 96, 112, 0.18);
        opacity: 1;
        pointer-events: auto;
    }
    .product-info { cursor: default; }
}

@media (hover: none) {
    .product-container.active .product-buttons {
        background: rgba(208, 96, 112, 0.18);
        opacity: 1;
        pointer-events: auto;
    }
    .product-info { cursor: pointer; transition: background-color 0.3s ease; position: relative; z-index: 5; }
    .product-container.active .product-info { background-color: rgba(208, 96, 112, 0.04); }
}

@media (max-width: 640px) {
    .product-container { width: 200px !important; }
}

#addToCartBtn,
#checkoutBtn,
#completeOrder,
#continueToPayment {
    background: var(--primary) !important;
    background-image: none !important;
    border-color: var(--primary) !important;
}
#addToCartBtn:hover,
#checkoutBtn:hover,
#completeOrder:hover,
#continueToPayment:hover {
    background: var(--primary-dark) !important;
}

#cartDropdown button.bg-black {
    background: var(--primary) !important;
}
#cartDropdown button.bg-black:hover {
    background: var(--primary-dark) !important;
}

.add-to-cart-btn {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}
.add-to-cart-btn:hover {
    background: var(--primary-dark) !important;
}

.add-to-cart-btn.bg-gray-100 {
    background: #F8D5DC !important;
    color: var(--primary) !important;
}
.add-to-cart-btn.bg-gray-100:hover {
    background: var(--primary) !important;
    color: white !important;
}

.scrolling-text {
    animation: scroll-text 22s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-text {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.slider-container {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}
.slider-container > div {
    min-width: 100%;
    max-width: 100%;
}
.slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.category-slider,
.product-slider { scroll-behavior: smooth; }

.product-slider { scrollbar-width: none; -ms-overflow-style: none; }
.product-slider::-webkit-scrollbar { display: none; }

.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }

.shadow-3xl { box-shadow: 0 35px 60px -12px rgba(0,0,0,0.12); }

.animate-slide { animation: slide 0.5s ease-in-out; }
@keyframes slide {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.add-to-cart { display: none; }

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2D1520;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 4px;
}
.mobile-menu-link:hover {
    background: #FEE8EE;
    color: #D4637A;
}
.mobile-menu-link:hover span:first-child {
    background: #D4637A !important;
}
.mobile-menu-link:hover span:first-child i {
    color: #fff !important;
}

.mobile-fashion-link {
    display: block;
    padding: 13px 20px;
    font-family: 'Cormorant Garant', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D1520;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
    letter-spacing: 0.02em;
}
.mobile-fashion-link:hover {
    color: #D4637A;
    border-left-color: #F5C0CC;
    background: #FEF8F9;
    padding-left: 26px;
}
.mobile-fashion-link--active {
    color: #D4637A;
    border-left-color: #D4637A;
    font-weight: 700;
    background: #FEF3F5;
    padding-left: 26px;
}

.mobile-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 16px;
    text-decoration: none;
    background: #FFFFFF;
    border: 1.5px solid #F5E0E6;
    transition: all 0.18s ease;
    min-height: 88px;
}
.mobile-nav-card:active {
    transform: scale(0.95);
}
.mobile-nav-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FEE8EE;
    color: #D4637A;
    font-size: 1rem;
    transition: all 0.18s ease;
}
.mobile-nav-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #3D1A24;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.mobile-nav-card--active {
    background: linear-gradient(135deg, #D4637A, #E88898);
    border-color: transparent;
}
.mobile-nav-card--active .mobile-nav-card__icon {
    background: rgba(255,255,255,0.25);
    color: #FFFFFF;
}
.mobile-nav-card--active .mobile-nav-card__label {
    color: #FFFFFF;
}
.mobile-nav-card:not(.mobile-nav-card--active):hover {
    border-color: #D4637A;
    background: #FEF0F3;
}
.mobile-nav-card:not(.mobile-nav-card--active):hover .mobile-nav-card__icon {
    background: #D4637A;
    color: #FFFFFF;
}

.mobile-cat-pill {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #7B3545;
    background: #FEF0F3;
    text-decoration: none;
    border: 1px solid #F5D0DA;
    transition: all 0.15s;
}
.mobile-cat-pill:hover,
.mobile-cat-pill:active {
    background: #D4637A;
    color: #FFFFFF;
    border-color: #D4637A;
}

.category-nav-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    gap: 2px;
    padding: 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
}
.category-nav-strip::-webkit-scrollbar {
    display: none;
}

.category-nav-link {
    display: inline-block;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #555555;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.category-nav-link:hover {
    color: #D4637A;
    border-bottom-color: #F5C0CC;
}

.category-nav-active {
    color: #D4637A !important;
    border-bottom-color: #D4637A !important;
}
