/*
Theme Name: Jens og Ogginokkerne
Description: Custom tema til jensogogginokkerne.dk
Version: 6.1
Author: Jens
*/

:root{
  --jog-black:#111;
  --jog-yellow:#f5c400;
  --jog-wood:#c9a06a;
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family:'Helvetica Neue', Arial, sans-serif;
  color:var(--jog-yellow);
  background:#000;
}

a{color:inherit;}

img{max-width:100%; height:auto; display:block;}

/* ---------- TOP MENU ---------- */
/* sticky (ikke fixed) saa menuen altid optager sin egen plads i layoutet -
   uanset om den fylder 1 eller 2 linjer, saa intet indhold gemmer sig bagved */
.jog-topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--jog-black);
  border-bottom:3px solid var(--jog-yellow);
}

.jog-nav-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:14px 10px;
}

.jog-nav-wrap ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 18px;
  margin:0;
  padding:0;
}

.jog-nav-wrap a{
  color:var(--jog-yellow);
  text-decoration:none;
  font-weight:700;
  letter-spacing:.03em;
  padding:6px 12px;
  border:2px solid var(--jog-black);
  border-radius:4px;
}

.jog-nav-wrap a:hover{
  border-color:var(--jog-yellow);
}

.jog-content{
  padding-top:20px;
}

/* ---------- CART-LINJE (ligger under menuen som en del af normalt layout,
   ikke fastlaast, saa den aldrig overlapper indhold) ---------- */
.jog-cart-bar{
  display:flex;
  justify-content:flex-end;
  padding:10px 16px;
  background:var(--jog-black);
}

.jog-cart-icon{
  background:var(--jog-black);
  color:var(--jog-yellow);
  border:2px solid var(--jog-yellow);
  border-radius:50px;
  padding:8px 16px;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.jog-cart-count{
  background:var(--jog-yellow);
  color:var(--jog-black);
  border-radius:50%;
  width:22px; height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
}

/* ---------- FRONT PAGE ---------- */
.jog-front-banner{
  width:45%;
  max-width:480px;
  margin:0 auto;
  background:#000;
}
.jog-front-banner img{width:100%; height:auto; object-fit:contain;}

.jog-front-placeholder{
  width:100%;
  min-height:140px;
  background:#eee;
  border:2px dashed #999;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777;
  text-align:center;
  padding:20px;
}

.jog-front-secondimg{
  max-width:700px;
  margin:30px auto;
}

.jog-front-secondimg .jog-front-placeholder{
  max-height:400px;
}

.jog-front-text{
  max-width:700px;
  margin:0 auto 40px;
  padding:0 20px;
  line-height:1.6;
}

/* ---------- SHOP ---------- */
.jog-shop-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:30px;
  max-width:1100px;
  margin:0 auto;
  padding:30px 20px 60px;
}

.jog-shop-item{
  background:rgba(255,255,255,.92);
  color:var(--jog-black);
  border:1px solid #ccc;
  border-radius:6px;
  padding:16px;
  text-align:center;
  text-decoration:none;
}

.jog-shop-item img{margin:0 auto 10px; max-height:220px; width:auto; object-fit:contain;}

/* ---------- PRODUCT PAGE ---------- */
.jog-product{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:40px;
  max-width:1000px;
  margin:0 auto;
  padding:30px 20px 60px;
}

.jog-product-image{flex:1 1 350px;}

.jog-product-image img{
  width:100%;
  height:auto;
  object-fit:contain;
}

.jog-product-info{flex:1 1 300px; text-align:center;}

.jog-product-price{font-size:22px; margin:10px 0 20px;}

.jog-sizes{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-bottom:24px;
}

.jog-size-btn{
  background:#fff;
  color:var(--jog-black);
  border:2px solid var(--jog-black);
  padding:8px 14px;
  cursor:pointer;
  font-weight:700;
}

.jog-size-btn.active,
.jog-size-btn:hover{
  background:var(--jog-black);
  color:#fff;
}

.jog-add-cart-btn{
  display:block;
  width:100%;
  background:var(--jog-yellow);
  color:var(--jog-black);
  border:2px solid var(--jog-yellow);
  padding:16px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.03em;
  cursor:pointer;
  margin-bottom:12px;
}

.jog-continue-btn,
.jog-gotocart-btn{
  display:block;
  width:100%;
  text-align:center;
  background:transparent;
  color:var(--jog-yellow);
  border:2px solid var(--jog-yellow);
  padding:12px;
  font-weight:700;
  text-decoration:none;
  margin-bottom:12px;
}

.jog-shipping-note{
  font-weight:700;
  font-size:17px;
  text-align:center;
  margin-top:18px;
}

/* ---------- CART / CHECKOUT ---------- */
.jog-cart-wrap{
  max-width:700px;
  margin:0 auto;
  padding:20px 20px 60px;
}

.jog-cart-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #ddd;
  padding:12px 0;
}

.jog-cart-total{
  text-align:right;
  font-size:20px;
  font-weight:700;
  margin:20px 0;
}

.jog-checkout-form input,
.jog-checkout-form textarea{
  width:100%;
  padding:10px;
  margin-bottom:12px;
  border:1px solid #ccc;
  font-family:inherit;
  color:#111;
  background:#fff;
}

.jog-mobilepay-box{
  background:#fdf5e0;
  color:var(--jog-black);
  border:2px solid var(--jog-yellow);
  padding:16px;
  margin:20px 0;
  font-weight:700;
  text-align:center;
}

/* ---------- CONTENT / TEXT PAGES (musik, nyheder, historie, tourplan) ---------- */
.jog-page-header-plain{
  text-align:center;
  padding:40px 20px 10px;
}

.jog-split-page{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  max-width:1100px;
  margin:0 auto;
  padding:20px 20px 60px;
}

.jog-split-text{flex:1 1 400px; line-height:1.7;}

.jog-split-image{flex:1 1 350px;}

/* Historie: sikrer at billedet altid ligger i højre side */
.jog-historie-page .jog-split-text{order:1;}
.jog-historie-page .jog-split-image{order:2;}

.jog-editable-text{
  max-width:800px;
  margin:20px auto;
  padding:0 20px;
  line-height:1.7;
}

/* Musik */
.jog-song-list{
  max-width:700px;
  margin:0 auto 30px;
  padding:20px 20px 0;
}

.jog-song-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.92);
  color:var(--jog-black);
  border-radius:6px;
  padding:14px 20px;
  margin-bottom:14px;
  font-weight:700;
}

.jog-song-name{flex:1; margin-right:16px;}

.jog-play-btn{
  background:var(--jog-black);
  color:var(--jog-yellow);
  border:2px solid var(--jog-black);
  border-radius:50%;
  width:44px;
  height:44px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  cursor:pointer;
}

.jog-play-btn:hover{
  background:var(--jog-yellow);
  color:var(--jog-black);
}

.jog-track-list{
  max-width:700px;
  margin:0 auto;
  padding:20px;
  list-style:none;
}

.jog-track-list li{
  border-bottom:1px solid #ddd;
  padding:12px 0;
}

/* Tourplan */
.jog-koncert-list{
  max-width:700px;
  margin:0 auto 40px;
  padding:0 20px;
}

.jog-koncert-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:6px 28px;
  border-bottom:1px solid #ddd;
  padding:10px 0;
}

/* Booking */
.jog-booking-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  max-width:1000px;
  margin:0 auto;
  padding:30px 20px 60px;
}

.jog-booking-form{flex:1 1 350px;}

.jog-booking-image{flex:1 1 350px;}

.jog-booking-form input,
.jog-booking-form textarea{
  width:100%;
  padding:10px;
  margin-bottom:12px;
  border:1px solid #ccc;
  font-family:inherit;
  color:#111;
  background:#fff;
}

.jog-booking-form button{
  background:var(--jog-yellow);
  color:var(--jog-black);
  border:2px solid var(--jog-yellow);
  padding:14px 24px;
  font-weight:700;
  cursor:pointer;
}

/* Gallery */
.jog-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  max-width:1100px;
  margin:0 auto;
  padding:30px 20px 60px;
}

.jog-gallery-caption{
  margin-top:8px;
  font-size:14px;
  color:#ccc;
}

.jog-confirmation-box{
  max-width:700px;
  margin:40px auto;
  padding:20px;
  text-align:center;
  border:2px solid var(--jog-yellow);
}
