/* GLOBAL */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f7e8f0;
    color: #333;
}

/* HEADER */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #1a1a1a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.shop-header .logo a {
    color: #ff4f81;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.shop-nav a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.shop-nav a:hover {
    color: #ff4f81;
}

/* CART ICON */
.cart-icon {
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
    position: relative;
}

#cart-count {
    background: #ff4f81;
    color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.8rem;
    position: absolute;
    top: -8px;
    right: -10px;
}

/* STICKY CART (MOBILE) */
.sticky-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff4f81;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 999;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 0 20px 40px;
}

.grid {
    perspective: 1000px;
}

.premium-card {
    transform-style: preserve-3d;
}
/* PREMIUM PRODUCT CARD (kompakt) */
.premium-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.35);
    position: relative;
    overflow: hidden;
    max-width: 200px; /* <-- gör kortet mindre */
    margin: 0 auto;
}

/* Floating shadow (kompakt) */
.premium-card::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 45%;
    height: 12px;
    background: rgba(0,0,0,0.12);
    filter: blur(10px);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-card:hover::after {
    opacity: 1;
}

/* 3D tilt hover (mindre) */
.premium-card:hover {
    transform: translateY(-4px) rotateX(3deg) rotateY(-3deg);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}


/* IMAGE WRAPPER (kompakt) */
.product-image-wrapper {
    background: #faf5f8;
      width: 50%;
    max-width: 90px;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}

/* Zoom on hover */
.premium-card:hover .product-image-wrapper {
    transform: scale(1.04);
}

/* Bilden mindre */
.product-image-wrapper img {
    width: 100%;          /* <-- mindre bild */
    max-width: 180px;    /* <-- mindre maxstorlek */
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* BADGES (kompakt) */
.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-new { background: #ff4f81; }
.badge-popular { background: #ff9f43; }
.badge-sale { background: #e63946; }

/* Pris mindre */
.price {
    font-size: 1rem;
    font-weight: 700;
    color: #ff4f81;
}
/* FOOTER */
.shop-footer {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
    color: #fff;
    margin-top: 40px;
}