/* Zippkid Main Stylesheet */
:root {
    --zk-primary: #793CAF;
    --zk-deep: #5D278F;
    --zk-pink: #E74391;
    --zk-yellow: #FFC85B;
    --zk-bg: #FFFCFF;
    --zk-text: #30233E;
    --zk-text-light: #756780;
    --zk-white: #FFFFFF;
    --zk-border: #E8E0EC;
    --zk-radius: 16px;
    --zk-mobile-bar-height: 56px;
    --zk-drawer-width: 85%;
    --zk-mobile-breakpoint: 992px;
}

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

body {
    font-family: 'Avenir Next', Avenir, 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--zk-bg);
    color: var(--zk-text);
    line-height: 1.5;
    padding-bottom: var(--zk-mobile-bar-height);
}

@media(min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, var(--zk-primary), var(--zk-pink));
    color: var(--zk-white);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

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

/* Header */
.site-header {
    background: var(--zk-white);
    border-bottom: 1px solid var(--zk-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(121, 60, 175, 0.05);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(121, 60, 175, 0.08);
    color: var(--zk-primary);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--zk-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--zk-pink);
}

.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: none;
}

@media(min-width: 768px) {
    .header-search {
        display: block;
    }
}

.header-search input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid var(--zk-border);
    border-radius: 30px;
    background: var(--zk-bg);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.header-search input:focus {
    border-color: var(--zk-primary);
    background: var(--zk-white);
    box-shadow: 0 0 0 4px rgba(121, 60, 175, 0.1);
}

.header-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--zk-text-light);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon-btn {
    position: relative;
    background: rgba(121, 60, 175, 0.08);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zk-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.header-icon-btn:hover {
    background: var(--zk-primary);
    color: var(--zk-white);
}

.badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--zk-pink);
    color: var(--zk-white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--zk-white);
}

/* Desktop Navigation */
.desktop-nav {
    background: var(--zk-white);
    border-bottom: 1px solid var(--zk-border);
    display: none;
}

@media(min-width: 992px) {
    .desktop-nav {
        display: block;
    }
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    padding: 14px 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--zk-text);
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--zk-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--zk-primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.2s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Banner Slider */
.hero-slider {
    max-width: 1300px;
    margin: 20px auto;
    padding: 0 20px;
    border-radius: var(--zk-radius);
    overflow: hidden;
}

.hero-slide {
    background: linear-gradient(135deg, #F3E8FF, #FCE7F3);
    border-radius: var(--zk-radius);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 400px;
    position: relative;
}

.hero-content {
    max-width: 550px;
}

.hero-tag {
    display: inline-block;
    background: var(--zk-pink);
    color: var(--zk-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--zk-deep);
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--zk-text-light);
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--zk-primary);
    color: var(--zk-white);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(121, 60, 175, 0.3);
}

.btn-primary:hover {
    background: var(--zk-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(121, 60, 175, 0.4);
}

/* Sections & Product Cards */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--zk-deep);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--zk-white);
    border-radius: var(--zk-radius);
    overflow: hidden;
    border: 1px solid var(--zk-border);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(121, 60, 175, 0.1);
}

.product-img-wrap {
    position: relative;
    background: #F8F4FA;
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--zk-yellow);
    color: #5D278F;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.wishlist-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--zk-white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zk-text-light);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.wishlist-toggle:hover, .wishlist-toggle.active {
    color: var(--zk-pink);
    transform: scale(1.1);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 12px;
    color: var(--zk-text-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--zk-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 14px;
}

.product-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--zk-primary);
}

.product-old-price {
    font-size: 14px;
    color: var(--zk-text-light);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    background: rgba(121, 60, 175, 0.1);
    color: var(--zk-primary);
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background: var(--zk-primary);
    color: var(--zk-white);
}

/* Category Slider */
.category-slider-section {
    margin: 40px 0;
}

.category-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex: 0 0 130px;
    text-align: center;
    background: var(--zk-white);
    padding: 16px;
    border-radius: var(--zk-radius);
    border: 1px solid var(--zk-border);
    transition: all 0.2s;
}

.category-pill:hover {
    border-color: var(--zk-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(121, 60, 175, 0.08);
}

.category-pill img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    background: #F8F4FA;
}

.category-pill h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--zk-text);
}

/* Footer */
.site-footer {
    background: var(--zk-deep);
    color: var(--zk-white);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--zk-yellow);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--zk-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
