:root {
    --orange-triatale: #f28c28;
}

* {
    box-sizing: border-box;
}

/* GLOBAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #1b0f2b, #0b0612);
    color: white;
}

/* HEADER */
.shop-header {
    height: 300px;
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
        url("../img/banner2.png");
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 30px;
}

/* TOP BAR */
.shop-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
}

.shop-top-centered {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.shop-top-centered .shop-nav {
    justify-self: start;
}

.shop-top-centered .shop-title {
    justify-self: center;
    margin: 0;
}

.shop-top-centered .user-menu {
    justify-self: end;
}

/* NAV */
.shop-nav {
    display: flex;
    gap: 14px;
}

.shop-nav a {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;

    color: var(--orange-triatale);
    border: 2px solid var(--orange-triatale);
    background: rgba(20,10,35,0.8);

    transition: 0.25s;
}

.shop-nav a:hover {
    background: var(--orange-triatale);
    color: #1b0f2b;
}

/* USER */
.user-box {
    padding: 10px 18px;
    border-radius: 8px;
    border: 2px solid var(--orange-triatale);
    color: var(--orange-triatale);
    font-weight: bold;
}

/* TITRE */
.shop-header h1 {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 40px;
    color: var(--orange-triatale);
}

.shop-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: var(--orange-triatale);
}

/* BOUTIQUE */
.shop-container {
    padding: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

/* ITEM */
.item {
    background: linear-gradient(180deg, #1e1233, #12081f);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.item img {
    width: 120px;
    margin-bottom: 15px;
}

.item h3 {
    margin-top: 15px;
    margin-bottom: 8px;
    text-align: center;
}

.item p {
    text-align: center;
    line-height: 1.5;
    margin: 0 10px 20px;
}

.item .price {
    display: inline-block;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80%;              /* ⬅️ LARGEUR */
    height: 55px;            /* ⬅️ HAUTEUR */

    margin: 25px auto 0;

    font-size: 20px;
    font-weight: bold;

    background: #f28c28;
    color: #1b0f2b;

    border: none;
    border-radius: 14px;

    cursor: pointer;

    box-shadow: 0 0 20px rgba(242,140,40,0.7);

    transition: all 0.25s ease;
}

.price:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(242,140,40,1);
}



.remove-btn {
    margin-top: 10px;
    padding: 8px;

    background: transparent;
    border: 2px solid red;
    color: red;

    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;

    transition: 0.25s;
}

.remove-btn:hover {
    background: red;
    color: white;
    box-shadow: 0 0 10px red;
}

.clear-cart-btn {
    margin: 40px auto 0;
    display: block;

    padding: 12px 25px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;

    background: transparent;
    color: red;

    border: 2px solid red;
    border-radius: 10px;
    cursor: pointer;

    transition: 0.25s;
}

.clear-cart-btn:hover {
    background: red;
    color: white;
    box-shadow: 0 0 18px red;
}

.item .price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 220px !important;
    height: 70px !important;

    margin: 30px auto 0 !important;

    font-size: 26px !important;
    font-weight: 900 !important;

    background: linear-gradient(90deg, #f28c28, #ffb347) !important;
    color: #1b0f2b !important;

    border-radius: 18px !important;
    border: none !important;

    cursor: pointer !important;

    box-shadow:
        0 0 25px rgba(242,140,40,0.9),
        inset 0 0 12px rgba(255,255,255,0.25) !important;
}

/* ================= UTILISATEUR ================= */
.shop-top {
    padding: 0 30px;
    width: 100%;
    max-width: none;
}

/* Bouton Connexion / Pseudo */
.shop-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 120px;
    height: 40px;

    padding: 0 18px;

    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;

    color: var(--orange-triatale);
    background: rgba(20, 10, 35, 0.85);

    border: 2px solid var(--orange-triatale);
    border-radius: 8px;

    box-shadow: 0 0 10px rgba(242,140,40,0.4);

    transition: all 0.25s ease;
}

/* Hover */
.shop-user-btn:hover {
    background: var(--orange-triatale);
    color: #1b0f2b;
    box-shadow: 0 0 18px rgba(242,140,40,0.9);
}

/* UTILISATEUR DANS LA NAV (STYLE PANIER) */
.shop-nav-user {
    padding: 10px 22px;
    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;

    color: var(--orange-triatale);
    background: rgba(20, 10, 35, 0.85);

    border: 2px solid var(--orange-triatale);

    box-shadow: 0 0 10px rgba(242,140,40,0.4);
    transition: all 0.25s ease;
}

/* Hover identique */
.shop-nav-user:hover {
    background: var(--orange-triatale);
    color: #1b0f2b;
    box-shadow: 0 0 18px rgba(242,140,40,0.9);
    transform: translateY(-2px);
}

/* ================= USER MENU ================= */

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu a {
    color: var(--orange-triatale);
    text-decoration: none;
    font-weight: bold;
}

.user-trigger {
    padding: 10px 16px;
    background: rgba(20, 10, 35, 0.85);
    border: 2px solid var(--orange-triatale);
    border-radius: 8px;
    color: var(--orange-triatale);
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.25s;
}

.user-trigger:hover {
    background: var(--orange-triatale);
    color: #1b0f2b;
}

/* DROPDOWN */
.user-dropdown {
    position: absolute;
    top: 110%;
    right: 0;

    background: rgba(20, 10, 35, 0.95);
    border: 2px solid var(--orange-triatale);
    border-radius: 10px;

    min-width: 160px;
    display: none;
    flex-direction: column;
    overflow: hidden;

    box-shadow: 0 0 15px rgba(242,140,40,0.6);
    z-index: 100;
}

.user-menu.is-open .user-dropdown {
    display: flex;
}

.user-dropdown a {
    padding: 12px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.user-dropdown a:hover {
    background: var(--orange-triatale);
    color: #1b0f2b;
}

/* LOGIN BUTTONS */
.login-btn {
    padding: 10px 16px;
    margin-left: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;

    color: var(--orange-triatale);
    border: 2px solid var(--orange-triatale);
    background: rgba(20, 10, 35, 0.85);

    transition: 0.25s;
}

.login-btn:hover {
    background: var(--orange-triatale);
    color: #1b0f2b;
    box-shadow: 0 0 18px rgba(242,140,40,0.9);
}
/* ================= USER MENU ================= */
