@font-face {
    font-family: 'PlayfairDisplay';
    src: url('fonts/PlayfairDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root{
      --bg:#000000;
      --text:#ffffff;
      --gold:#D4AF37;
      --hover:#715e00;
      --font: "PlayfairDisplay";
      --box-bg: #1c1c1c;
      --linkfarbe: #FFD700;
      --hoverfarbe: #715e00;
    }
    *{box-sizing:border-box}
    html,body{
      height:100%;
      margin:0;
      background: url('images/jewelry.jpg?v=2') no-repeat center center fixed;
      background-size: cover;
      color:var(--text);
      font-family:var(--font);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      
    }

    .site{
      min-height:100%;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:flex-start;
      padding:40px 20px;
      gap:20px;
      background-color: rgba(0,0,0,0.6);
      width:100%;
    }

    /* Alle normalen Links */
    a {
        color: var(--linkfarbe);
        text-decoration: none; /* optional, entfernt Unterstreichung */
    }

    /* Links beim Hover */
    a:hover {
        color: var(--hoverfarbe);
    }

    /* Optional: Speziell für Tabellen im Warenkorb */
    .artikel-table a {
        color: var(--linkfarbe);
    }

    .artikel-table a:hover {
        color: var(--hoverfarbe);
    }

    .brand{
      text-align:center;
    }
    .brand h1{
      margin:0;
      font-size:32px;
      letter-spacing:2px;
    }

    .nav-wrap {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 960px;
    z-index: 1000;
    background-color: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-sizing: border-box;
    height: 60px; /* z.B. 60px Höhe */
}


    .nav-wrap::after{
      content: "";
      position:absolute;
      left:0%;
      right:0%;
      height:3px;
      background:var(--gold);
    }
    .nav-wrap::after{ bottom:0; transform:translateY(50%);}

    nav{
      z-index:1;
      width:100%;
      display:flex;
      justify-content:center;
    }

    .nav-list{
      list-style:none;
      margin:0;
      padding:0;
      display:flex;
      gap:20px;
      align-items:center;
      position:relative;
    }
    .nav-list li{
      position:relative;
    }
    .nav-list a{
      color:var(--text);
      text-decoration:none;
      padding:10px 18px;
      display:inline-block;
      border-radius:4px;
      transition:background-color 160ms ease, transform 160ms ease;
      font-size:18px;
      font-weight:400;
      letter-spacing:1px;
    }
    .nav-list a:hover,
    .nav-list a:focus{
      background:var(--hover);
      outline:none;
      transform:translateY(-1px);
    }

    .submenu{
      display:none;
      position:absolute;
      top:100%;
      left:0;
      background:var(--bg);
      border:1px solid var(--gold);
      border-radius:4px;
      list-style:none;
      padding:0;
      margin:0;
      min-width:120px;
      z-index:2;
    }
    .submenu li a{
      display:block;
      padding:8px 12px;
      font-size:16px;
      color:var(--text);
      text-transform:none;
    }
    .submenu li a:hover{
      background:var(--hover);
    }
    .nav-list li:hover > .submenu{
      display:block;
    }

    .nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* alle normalen Menüpunkte links */
  gap: 20px;
}

.nav-list .cart-link {
  margin-left: auto; /* schiebt das Symbol ganz nach rechts */
}


    .search-bar{
      width:500px;
      display:flex;
      justify-content:center;
      margin-top:0px;
      gap:6px;
    }
    .search-bar input[type="text"]{
      flex:1;
      padding:6px 10px;
      font-family:var(--font);
      font-size:14px;
      border:2px solid var(--gold);
      border-radius:4px;
      background:var(--bg);
      color:var(--text);
    }
    .search-bar button{
      padding:6px 12px;
      font-family:var(--font);
      font-size:14px;
      font-weight:bold;
      color:var(--bg);
      background:var(--gold);
      border:2px solid var(--gold);
      border-radius:4px;
      cursor:pointer;
      transition: background 0.2s;
    }
    .search-bar button:hover{
      background:var(--hover);
      color:var(--text);
      border-color:var(--gold);
    }

    @media (max-width:520px){
      .nav-list{gap:8px; flex-wrap:wrap; justify-content:center}
      .nav-list a{padding:8px 12px; font-size:15px}
      .nav-wrap::before,.nav-wrap::after{left:5%;right:5%}
      .search-bar{width:90%; gap:4px;}
      .search-bar input[type="text"]{font-size:13px; padding:5px 8px;}
      .search-bar button{font-size:13px; padding:5px 8px;}
      .kontakt-layout {
        flex-direction: column;
        align-items: center;
      }
    }

    .main-title{
      font-size:36px;
      text-align:center;
      margin:20px 0;
    }

    .content{
      display:flex;
      gap:20px;
      width:100%;
      max-width:960px;
      font-size:1.1em; /* Schriftgröße im Content-Bereich etwas größer */
    }
    .sidebar{
      background:var(--box-bg);
      flex:0 0 200px;
      padding:20px;
      border-radius:8px;
    }
    .main-content{
      background:var(--box-bg);
      flex:2;
      flex-wrap: wrap;
      align-items: flex-start;
      padding:20px;
      border-radius:8px;
      min-width:360px;
      display:flex;
      gap:20px;
      display: inline;
    }
    


    /* Popup-Styling */
    .popup {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
        justify-content: center;
        align-items: center;
    }


    .popup img {
        max-width: 500px;
        max-height: 500px;
        border-radius: 10px;
    }
    select{
      margin-top:10px;
      padding:5px;
      border-radius:4px;
      border:1px solid var(--gold);
      background:var(--bg);
      color:var(--text);
      font-family:var(--font);
      font-size: 16px;
    }

    .order-button {
        padding:10px 20px;
        font-family:var(--font);
        font-size:16px;
        font-weight:bold;
        color:#000;
        background:#D4AF37;
        border:2px solid #D4AF37;
        border-radius:4px;
        cursor:pointer;
        transition: background 0.2s;
    }
    .order-button:hover {
        background:#715e00;
        color:#fff;
        border-color:#D4AF37;
    }

    .order-section {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 20px; /* größerer Abstand nach oben */
    }

    /* Zusätzliche Styles für das Bestellformular */
    form {
      background-color: #1c1c1c;
      color: #fff;
      padding: 20px;
      border-radius: 8px;
      max-width: 500px;
      margin: 20px auto;
      font-family:var(--font);
    }

    label {
      display: block;
      margin-bottom: 10px;
    }

    input, select, textarea {
      width: 100%;
      padding: 8px;
      margin-top: 4px;
      border-radius: 4px;
      border: 1px solid #000000;
      font-family:var(--font);
    }

    button {
      font-family:var(--font);
      background-color: #D4AF37;
      color: #000;
      border: 2px solid #D4AF37;
      border-radius: 4px;
      padding: 10px 20px;
      cursor: pointer;
      font-weight: bold;
      margin-top: 10px;
    }

    button:hover {
      background-color: #715e00;
      color: #fff;
      border-color: #D4AF37;
    }

    .artikel-table {
  width: 100%;
  border-collapse: collapse;
}

.artikel-row {
  vertical-align: top; /* Text oben ausrichten */
}

.product-text {
  width: 50%;            /* Text nimmt 70% der Breite */
  padding-right: 20px;
}

.product-image {
  width: 30%;            /* Bild 30% der Breite */
  text-align: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  cursor: pointer;
}

.artikel-trenner {
  border: none;
  height: 2px;
  background-color: #D4AF37;
  margin: 20px 0;
}

.artikel-table {
    width: 100%;           /* passt sich der Fensterbreite an */
    max-width: 800px;      /* maximale Breite wie die content-box */
    margin: 0 auto;        /* zentriert die Tabelle */
    border-collapse: collapse;
}

.artikel-table th, .artikel-table td {
    border: 0px;
    padding: 10px;
    text-align: left;
    word-wrap: break-word; /* verhindert, dass Inhalte überlaufen */
}

.artikel-table th {
    background-color: #1c1c1c;
}

.artikel-table td button {
    font-family:var(--font);
    background-color: #D4AF37;
    color: #000;
    border: 2px solid #D4AF37;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
}

.artikel-table td button:hover {
    background-color: #715e00;
    color: #fff;
    border-color: #D4AF37;
}



.product-text form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-text label {
    display: flex;
    flex-direction: column;
    font-family:var(--font);
    font-size: 14px;
    color: #fff;
}
.product-text input, .product-text select, .product-text textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border-radius: 4px;
    background:var(--bg);
    border:1px solid var(--gold);
    color: #fff;
}
.product-text button {
    font-family:var(--font);
    background-color: #D4AF37;
    color: #000;
    border: 2px solid #D4AF37;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}
.product-text button:hover {
    background-color: #715e00;
    color: #fff;
    border-color: #D4AF37;
}

.suche-form {
  display: flex;
  align-items: center;
  width: 500px;
  gap: 8px; /* Abstand zwischen Feld und Button */
}

.suche-form input[type="text"] {
  flex: 1;         /* nimmt so viel Platz wie möglich */
  padding: 6px;
}

.suche-form button {
  padding: 6px 12px;
  cursor: pointer;
}

.added-message {
    background-color: #3ed437;
    color: #000;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    position: fixed;
    top: 70px; /* z.B. Höhe der nav-wrap + etwas Abstand */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000; /* höher als nav-wrap */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.added-message-error {
    background-color: #e03e3e;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    position: fixed;
    top: 70px; /* z.B. Höhe der nav-wrap + etwas Abstand */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000; /* höher als nav-wrap */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.kontakt-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px; /* Abstand zwischen Formular und Bild */
  flex-wrap: wrap; /* Damit es auf kleinen Bildschirmen umbrechen kann */
}

.kontakt-layout .product-text {
  flex: 1 1 400px; /* Mindestbreite des Formulars */
}

.kontakt-layout .kontakt-bild {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.kontakt-layout .kontakt-bild img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.pagination {
  text-align: center;
  margin: 20px 0;
}
.pagination a {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 4px;
  background: #000;
  color: #FFD700;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 24px;
}
.pagination a.active {
  background: #FFD700;
  color: #000;
}
.pagination a:hover {
  background: #ffea80;
}
