/* =========================*/
/* shop.css - Lexy Unleashed */
/* =========================*/

/* Global Shop Theme Override --------------- */
body {
    background-color: #0a0a0a;
    color: #f5f5f5;
}

.shop-hero,
.cart-page,
.checkout-page,
.wishlist-page,
.orders-page,
.confirmation-page,
.sale-page,
.category-container {
    background: linear-gradient(135deg, rgba(0,0,0,0.95), #1a1a1a);
    color: #fff;
}

/* -------------- Glow Buttons (Unified) ----------- */
button,
.checkout-button,
.add-to-cart,
.place-order,
.upload-button,
.view-order, 
.back-to-shop {
    background: linear-gradient(to right, var(--pink-glow)), var(--sky-blue);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(255,51,153,0.5);
}

button:hover,
.checkout-button:hover,
.add-to-cart:hover,
.place-order:hover,
.upload-button:hover,
.view-order:hover,
.back-to-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--sky-blue), 0 0 40px (var--pink-glow);
}

/* --- Product Cards (Dark Mode) ---- */
.product-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255,78,203,0.4);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 12px rgba(255,78,203,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px;      /* Consistent card height */
    width: 100%;
    max-width: 270px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--pink-glow);
    min-height: 48px;       /* reserve space for longer titles */
}

.product-card .price {
    font-size: 1rem;
    font-weight: bold;
    color: var(--sky-blue);
    margin-bottom: 1rem;
}

.product-card button {
    margin-top: 1rem;
}

/* ---- Sale Tags --- */
.sale-tag {
    top: 15px;
    left: 15px;
    transform: translateY(5px);
    z-index: 5;
    padding: 0.4rem 0.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    background: var(--pink-glow);
    color: #fff;
    box-shadow: 0 0 8px var(--pink-glow);
}

.product-wrapper,
.wishlist-page {
    max-width: 1200px;
    margin: 0 auto
}

/* --- Shop Page Hero/Shop home Section --- */
.shop-hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to right, #ff66b2, #7fd9fc);
    color: #fff;
}

.shop-intro h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.shop-intro p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Product Grid --- */
.product-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    align-items: stretch; /* make every card the same height in each row */
    justify-items: center;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.product-page {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px; 
    width: 100%;
    background: rgba(17,17,17,0.95);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(255,78,203,0.3);
}

/* Each Product card */

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--pink-glow), 0 0 20px var(--sky-blue);
}

/* Product Images*/
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,204,255,0.4);
}

/* Product title & price */
.product-card a{
    color: var(--pink-glow);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.product-card a:hover {
    color: var(--sky-blue);
    text-shadow: 0 0 10px var(--sky-blue);
}
.product-card button {
    background-color: #ff66b2;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.product-card button:hover {
    background-color: #e60073;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

/* --- shop-product.html styling -- */
.product-detail {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background: #f9f9f9;
}

.product-image-large {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1)
}

.product-info {
    flex: 1;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h2 {
    color: var(--pink-glow);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--pink-glow);
}

.product-info .price {
    color: var(--sky-blue);
    font-size: 1.3rem;
    font-weight: bold; 
    margin-bottom: 1rem;                          
}

.product-info .description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #eee;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    font-size: 2rem;
    color: #e60087;
    margin-bottom: 20px;
    font-weight: bold;
}

.product-description {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}

.product-tags {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
}

.product-tags li {
    background: #ff60a2;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Add to Cart button */

.product-info .add-to-cart {
    width: fit-content;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.back-to-shop {
    color: var(--sky-blue);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    margin-top: 3rem;
}

.back-to-shop:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--sky-blue);
}

.add-to-cart {
    background: linear-gradient(to right, var(--pink-glow), var(--sky-blue));
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    font-weight: bold;
    /*font-size: 1rem;*/
    cursor: pointer;
    transition: /*background*/ all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.add-to-cart:hover {
    box-shadow: 0 0 20px var(--pink-glow), 0 0 20px var(--sky-blue);
    transform: scale(1.05)
    /*background: #e60087;*/
}

/* Responsive */
@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-info {
        align-items: center;
    }

    .product-info .add-to-cart {
        align-self: center;
    }
}
/* ============  Cart PAGE ============ */

.cart-page {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    /*background: #f9f9f9;
    min-height: 100vh;*/
}

.cart-container {
    background: rgba(17,17,17,0.95);
    border-radius: 15px;
    padding: 3rem;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 0 30px rgba(255,78,203,0.3);
}


.cart-header {
    text-align: center;
    margin-bottom: 30px;
}

.cart-header h1 {
    font-size: 2.5rem;
    color: #333;
}

.cart-header p {
    font-size: 1.2rem;
    color: #667;
}

/* Cart Items */
.cart-items {
    max-width: 900px;
    margin: 0 auto;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    gap: 20px;
    margin-bottom: 30px;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 51, 153, 0.25);
}

.cart-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.cart-details {
    flex: 1;
}

.cart-details h3 {
    color: var(--pink-glow);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.cart-details p {
    color: #ccc;
    font-size: 0.95rem;
}

.cart-item img {
    width: 120px;
    height: auto;
    border-radius: 5px;
}

.item-info h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.item-info p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e60087;
    margin-bottom: 10px;
}

.quantity-input {
    width: 60px; 
    padding: 6px;
    margin-left: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Remove Button */
.remove-item {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    margin-top: 10px;
    background-color: #ccc;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--sky-blue);
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover {
    background-color: #999;
    color: #fff;
}

/* Cart Summary */
.cart-summary {
    text-align: right;
    margin-top: 2rem;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.cart-summary p { margin: 0.3rem 0; }
.cart-summary .total span {
    color: var(--sky-blue);
    font-size: 1.3rem;
    font-weight: bold;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}


.cart-total {
    font-size: 1.8rem;
    color: #e60087;
    font-weight: bold;
}

.checkout-button {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(to right, var(--pink-glow), var(--sky-blue));
    color: #fff;
    font-weight: bold;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background: #e60087;
    box-shadow: 0 0 15px var(--pink-glow), 0 0 15px var(--sky-blue);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cart-item { 
        flex-direction: column;
        text-align: center;
    }

    .cart-thumb {
        margin-bottom: 1rem; 
    }

    .cart-actions {
        flex-actions {
            flex-direction: column;
            align-items: center;
        }
    }
}

/* ==== Checkout Page ==== */

.checkout-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    max-width: 800px;
    margin: 40px auto;
    padding: 4rem 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.checkout-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #e60087;
}

.checkout-form {
    background: rgba(17,17,17,0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255,78,203,0.5);
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.checkout-section h3 {
    color: var(--pink-glow);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--pink-glow);
}

.checkout-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
    color: var(--sky-blue);
}

.checkout-form input {
    width: 100%;
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: none;
    background: #1a1a1a;
    color: #fff;
    box-shadow: inset 0 0 6px rgba(255,78,203,0.2);
    transition: all 0.3s ease;
}

.checkout-form input:focus {
    outline: none;
    box-shadow: 0 0 10px var(--sky-blue), 0 0 20px var(--pink-glow);
}

.half-inputs {
    display: flex;
    gap: 1rem;
}

/*fieldset {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
}*/

legend {
    font-weight: bold;
    color: #ff60a2;
    padding: 0 10px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.order-summary {
    text-align: right;
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.checkout-total {
    font-size: 1.8rem;
    color: #e60087;
    font-weight: bold;
}

.checkout-summary {
    text-align: right;
}

.checkout-summary p {
    margin: 0.3rem 0;
}

.checkout-summary .total span {
    color: var(--sky-blue);
    font-size: 1.3rem;
    font-weight: bold;
}

.place-order {
    background: linear-gradient(to right, var(--pink-glow), var(--sky-blue));
    background-color: #ff60a2;
    color: #fff;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 1.5rem;
    /*font-size: 1.1rem;*/
    cursor: pointer;
    transition: all 0.3s ease;
}

.place-order:hover {
    box-shadow: 0 0 15px var(--pink-glow), 0 0 15px var(--sky-blue);
    transform: translateY(-2px);
    background-color: #e60087;
}

/*RESPONSIVE*/
@media (max-width: 768) {
    .half-inputs {
        flex-direction: column;
    }

    .checkout-form {
        padding: 2rem 1rem;
    }
}

/* =============================================== Confirmation Page ================================================= */

.confirmation-page {
    min-height:80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 5rem 2rem;
    color: #fff;
}

.confirmation-card {
    background: rgba(17,17,17,0.95);
    border-radius: 15px;
    padding: 3rem 4rem;
    max-width: 700px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 25px rgba(255,78,203,0.4);
    animation: fadeInGlow 2.3s ease forwards;
}

@keyframes fadeInGlow {
    from {
        opacity: 0;
        transform: scale(0.95);
        box-shadow: none;
    }
    to {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 25px rgba(255,78,203,0.4);
    }
}

.confirmation-card p {
    color: #eee;
    margin: 0.8rem 0;
    line-height: 1.6;
}

.order-details {
    margin: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
}

.order-details p {
    color: #ccc;
}

.order-details span {
    color: var(--sky-blue);
    font-weight: bold;
}

/*STATUS COLOR*/
.status.shipped {
    color: var(--pink-glow);
    text-shadow: 0 0 8px var(--pink-glow);
}

/*Action Buttons*/
.confirmation-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.view-orders,
.back-to-shop {
    background: linear-gradient(to right, var(--pink-glow), var(--sky-blue));
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.view-orders:hover,
.back-to-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--pink-glow), 0 0 20px var(--sky-blue)
}

/*Responsive */
@media (max-width: 768px) {
    .confirmation-card {
        padding: 2rem;
    }
}
.confirmation-box {
    max-width: 600px;
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.confirmation-box h1 {
    font-size: 2.5rem;
    color: #e60087;
    margin-bottom: 20px;
}

.confirmation-box p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 10px;
}

.confirmation-box .order-id {
    font-size: 1.1rem;
    color: #333;
    margin-top: 20px;
}

.back-to-shop {
    display: inline-block;
    margin-top: 30px;
    background-color: #ff60a2;
    color: white;
    padding: 14px 30px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.back-to-school:hover {
    background-color: #e60087;
}

/* ================================================ Orders Page =================================================== */

.orders-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
}

.orders-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #e60087;
    margin-bottom: 10px;
}

.orders-subtext {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.orders-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.order-card {
    background: rgba(17,17,17,0.95);
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 0 20px rgba(255,78,203,0.3);
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--pink-glow), 0 0 25px var(--sky-blue);
}

.order-card h3 {
    color: var(--pink-glow);
    margin-bottom: 0.6rem;
}

.order-card h2 {
    margin-bottom: 10px;
    color: #333;
}

.order-card p {
    margin-bottom: 6px;
    margin: 0.3rem 0;
    color: #ccc;
    font-size: 1rem;
}

.order-items {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.status {
    font-weight: bold;
    text-transform: capitalize;
}

.status.shipped {
    color: var(--sky-blue);
    text-shadow: 0 0 8px var(--pink-glow);
}

/*Buttons*/
.order-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.order-actions a {
    background: linear-gradient(to right, var(--pink-glow), var(--sky-blue));
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.order-actions a:hover {
    box-shadow: 
        0 0 15px var(--pink-glow),
        0 0 15px var(--sky-blue);
    transform: translateY(-2px);
}

/*RESPONSIVE*/
@media (max-width: 768px) {
    .order-card {
        text-align: center;
    }
    .order-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.view-order {
    display: inline-block;
    margin-top: 15px;
    background-color: #ff60a2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.view-order:hover {
    background-color: #e60087;
}

/* ================================================= Wishlist Page ================================================== */

.wishlist-page {
    width: 100%;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    text-align: center;
}

.wishlist-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #e60087;
    margin-bottom: 10px;
}

.wishlist-page h2 {
    color: var(--pink-glow);
    text-shadow: 0 0 15px var(--pink-glow);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.wishlist-subtext {
    color: #ccc;
    font-style: italic;
    font-size: 1.7rem;
    margin-bottom: 1.1rem;
}

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

.wishlist-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width:  1100px;
    margin: 0 auto 3rem;;
    padding: 0 1rem;
}
.wishlist-card {
    background: rgba(17,17,17,0.95);
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255,78,203,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.wishlist-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.wishlist-card h3 {
    font-size: 1.3rem;
    color: var(--pink-glow);
    margin-bottom: 0.4rem;
}

.wishlist-card p {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.wishlist-card .price {
    color: var(--sky-blue);
    font-weight: bold;
    margin-bottom: 1rem;
}

.wishlist-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.wishlist-actions .add-to-cart,
.wishlist-actions .remove-item {
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/*Glow Add-to-cart*/
.wishlist-actions .add-to-cart {
    background: linear-gradient(to right, var(--pink-glow), var(--sky-blue));
    color: #fff;
}

.wishlist-actions .add-to-cart:hover {
    box-shadow: 0 0 15px var(--pink-glow), 0 0 15px var(--sky-blue);
}

/*Subtle Remove Button */
.wishlist-actions .remove-item {
    background: rgba(255,255,255,0.1);
    color: #ccc;
}

.wishlist-actions .remove-item:hover {
    color: #fff;
    background: rgba(255,78,203,0.25);
}


/*.wishlist-actions button {
    background-color: #ff60a2;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wishlist-actions button:hover {
    background-color: #e60087;
}*/

/*Responsive*/

@media (max-width: 768px) {
    .wishlist-actions {
        flex-direction: column;
    }
}

/* ================================================== Product Upload Page =========================================== */

.upload-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.upload-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #e60087;
    margin-bottom: 30px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-form label {
    font-weight: bold;
    color: #333;
}

.upload-form input[type="text"],
.upload-form input[type="file"],
.upload-form textarea,
.upload-form select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.toggle-sale {
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-button {
    margin-top: 10px;
    background-color: #ff60a2;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload-button:hover {
    background-color: #e60087;
}

/* ==================================================== Sale Page ============================================ */
.sale-hero {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.1)
    ), linear-gradient(
        to right,
        #ff3cac,
        #784ba0,
        #2b86c5
    );
    padding: 4rem 1rem 3rem;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255,78,203,0.4);
    text-align: center;
    padding: 4rem 1rem 3rem;
    color: #fff;
}

.sale-hero h2 {
    color: var(--pink-glow);
    font-size: 2.7rem;
    text-shadow:
        0 0 10px var(--sky-blue),
        0 0 25px var(--pink-glow),
        0 0 45px rgba(255,255,255,0.4);
}

.sale-hero p {
    color: #e0e0e0;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow:
        0 0 8px rgba(0,0,0,0.5),
        0 0 12px var(--sky-blue);
    margin-top: 0.8rem;
}

.sale-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    color: #fff;
}

/*.sale-banner {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ff60a2, #7fd9fc);
    color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.sale-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.sale-banner p {
    font-size: 1.2rem;
}*/

.sale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
    margin-top: 2rem;
}

/* Sale Product Styling */
.product-card.sale {
    background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(255,78,203,0.4);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 0 15px rgba(255,78, 203, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card.sale:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px var(--pink-glow), 0 0 20px var(--sky-blue);
}

.product-card.sale h3:hover {
    text-shadow: 0 0 10px var(--pink-glow), 0 0 20px var(--sky-blue);
    transform: scale(1.03);
    transition: all 0.3s ease;
}

.product-card.sale img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}


.sale-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(to right, var(--pink-glow), var(--sky-blue));
    color: #fff;
    /*background-color: #e60087;*/
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255,78,203,0.5);
    /*font-weight: bold;
    z-index: 1;*/
}


/* Price styling*/
.price {
    color: var(--sky-blue);
    font-size: 1.1rem;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/*.product-card.sale .price {
    color: #e60087;
    font-weight: bold;
}

.product-card.sale .price s {
    color: #888;
    margin-right: 8px;
}*/

/* ------------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .sale-hero h2 {
        font-size: 2rem;
    }
    .sale-grid {
        gap: 1.5rem;
    }
}

/* ============================================== Product Edit Page ================================================= */

.edit-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.edit-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #e60087;
    margin-bottom: 30px;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edit-form label {
    font-weight: bold;
    color: #333;
}

.edit-form input[type="text"],
.edit-form input[type="file"],
.edit-form textarea,
.edit-form select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.toggle-sale {
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-buttton {
    background-color: #ff60a2;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.update-button:hover {
    background-color: #e60087;
}

/* ================================== shop-category.html Category Page Styles ======================================= */

.category-container {
    padding: 4rem 2rem;
    text-align: center;
}

.category-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff2a68;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background-color: rgba(17,17,17,0.8);
    color: var(--text-light);
    padding: 2rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: bold;
    text-shadow: 0 0 8px var(--pink-glow);
    box-shadow: 0 0 12px rgba(255,51,153,0.3);
    transition: all 0.3s ease;
    border: 2px solid #ff2a68;
}

.category-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 51, 153, 0.4);
}

@media (max-width: 600px) {
    .category-card {
        font-size: 1rem;
        padding: 1.2rem;
    }
}

/* === FLOATING CART (ONLY ON SHOP PAGES) === */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 25px;
    background: linear-gradient(90deg, #ff1493, #00ffff);
    color: #111;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 18px;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.6);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.floating-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* ---------------------------------------------------------- Footer -------------------------------------------------*/

footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #111;
    color: #fff;
}