/* === POLICE & BASE === */
body {
    margin: 0;
    font-family: 'Urbanist', sans-serif;
    background-color: #0f0f0f;
    color: #fff;
    line-height: 1.6;
}

a {
    color: gold;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff200;
}

h1, h2, h3 {
    color: #e6c674;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === HERO SECTION === */
.hero {
    background: url('bg-hero.jpg') center center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.cta {
    display: inline-block;
    background: gold;
    color: #0f0f0f;
    padding: 14px 30px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.cta:hover {
    background: #fff200;
}

/* === LOTS SECTION === */
.lots {
    padding: 60px 20px;
    text-align: center;
}

.lots h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.lot {
    background: #1a1a1a;
    padding: 25px;
    border: 2px solid gold;
    border-radius: 10px;
    min-width: 250px;
    font-size: 1.2em;
}

/* === PANIER / CART === */
.cart-page {
    background-color: #0f0f0f;
    color: #fff;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th, .cart-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.cart-table th {
    background-color: #1a1a1a;
    color: #e6c674;
}

.cart-summary {
    text-align: right;
    margin-top: 20px;
    font-size: 1.1em;
}

.cart-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px;
}

.input-small {
    width: 60px;
    padding: 6px;
    text-align: center;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #444;
    border-radius: 6px;
}

.btn-red {
    background-color: #c0392b;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-red:hover {
    background-color: #e74c3c;
}

.btn-green {
    background-color: #2ecc71;
    color: #0f0f0f;
    font-weight: bold;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-green:hover {
    background-color: #58d68d;
}

.empty-cart {
    font-size: 1.2rem;
    margin: 30px 0;
    color: #bbb;
    text-align: center;
}

.emoji {
    font-size: 1.3em;
    vertical-align: middle;
}

/* === FOOTER === */
footer {
    background: #111;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: gold;
    margin: 0 10px;
}

/* === PRODUITS === */
.title {
    font-size: 2rem;
    margin: 30px 0;
    text-align: center;
    color: #e6c674;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.product-card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.product-card h2 {
    margin-bottom: 10px;
    color: #e6c674;
}

.product-card p {
    margin-bottom: 10px;
}

form {
    margin-top: 10px;
}

/* === FORMULAIRES & CONNEXION === */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background-color: #1a1a1a;
    color: #fff;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}
.auth-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  overflow-x: auto; /* permet de scroller si besoin */
}
.auth-container h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2em;
  color: #e6c674;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}

.auth-container label {
  display: block;
  margin-top: 12px;
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.95em;
}

.auth-container input {
  width: 100%;
  padding: 12px;
  background-color: #1c1c1c;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 1em;
  margin-bottom: 10px;
}

.auth-container input:focus {
  outline: none;
  border-color: gold;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.auth-container button {
  display: block;
  margin: 20px auto 0 auto; /* centré, avec marge top */
  padding: 8px 20px;         /* plus petit */
  background-color: #e6c674;
  color: #111;
  border: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto; /* plus 100% */
  min-width: 150px;
}


.auth-container button:hover {
  background-color: #e6c200;
}

.auth-container .error {
  color: #f66;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.auth-container .switch-link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9em;
  color: #ccc;
}

.auth-container .switch-link a {
  color: gold;
  text-decoration: none;
}

.auth-container .switch-link a:hover {
  text-decoration: underline;
}


.switch-link {
    margin-top: 15px;
    font-size: 0.9em;
    text-align: center;
}

/* === BOUTONS === */
button.btn-green,
a.btn-gold {
    display: inline-block;
    margin-top: 20px;
    background-color: #e6c674;
    color: #111;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s;
}

button.btn-green:hover,
a.btn-gold:hover {
    background-color: #ffd700;
    cursor: pointer;
}

/* === TITRES === */
.gold-title {
    color: #e6c674;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* === NAVBAR PLEINE LARGEUR & RESPONSIVE === */
.navbar {
    width: 100%;
	height: 60px; /* ou ajuste selon la hauteur réelle */
    background: #1a1a1a;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: gold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #fff200;
}


/* === BURGER MENU === */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: gold;
    margin: 4px 0;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        margin: 10px 0;
    }
}
.shop-container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 30px;
    background-color: #111;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}


.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.cart-table th,
.cart-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #444;
  color: #fff;
}

.cart-summary {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #555;
  text-align: right;
}

@media (max-width: 600px) {
  .cart-table th, .cart-table td {
    font-size: 14px;
    padding: 8px;
  }

  .cart-summary {
    text-align: center;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: gold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Arrière-plan chic */
body {
  background-color: #0f0f0f;
  color: #f1f1f1;
}

.navbar {
  background-color: rgba(20, 20, 20, 0.9);
  box-shadow: 0 2px 5px rgba(255, 215, 0, 0.15);
}


body::after {
  content: "";
  position: fixed;
  bottom: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: url('assets/images/logo-lion.png') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:wght@700&display=swap');

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-icon {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 1px 1px rgba(255, 215, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo-text {
  font-family: 'Playfair Display SC', serif;
  font-size: 26px;
  color: gold;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.logo-container:hover .logo-text {
  color: #fff4b3;
}

.logo-container:hover .logo-icon {
  transform: scale(1.05);
}
body.auth .auth-container {
  margin-top: 100px; /* Espace entre la navbar sticky et le bloc formulaire */
}


