/* RedEyeSeeds: responsive NOVA child theme for JTL-Shop 5.8.1+.
   Native NOVA markup, Wawi catalog data and checkout remain in charge. */
:root {
  --re-black: #101114;
  --re-charcoal: #1b1d21;
  --re-red: #d71920;
  --re-red-dark: #a90f16;
  --re-paper: #fff;
  --re-canvas: #f3f3f4;
  --re-ink: #191a1d;
  --re-muted: #666a70;
  --re-line: #dedfe2;
  --re-radius: 8px;
  --re-shadow: 0 2px 7px rgba(16,17,20,.08);
  --re-buy: #d71920;
  --re-buy-hover: #b50f17;
}
html { background: var(--re-canvas); }
body { color: var(--re-ink); background: var(--re-canvas); font-family: Arial, "Helvetica Neue", sans-serif; }
a { color: #a90f16; }
a:hover, a:focus { color: #70090e; }

/* Header: dark brand strip, compact logo sizing, readable search. */
#header, .header, #header .container-fluid,
#header-branding, .header-branding {
  background: var(--re-black) !important;
  color: #fff;
}
#header a, .header a, #header-branding a { color: #fff; }
#header a:hover, .header a:hover, #header-branding a:hover { color: #ff777b; }
#header .logo, #header-branding .logo, .navbar-brand { max-width: 210px; min-width: 0; }
#header .logo img, #header-branding .logo img, .navbar-brand img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 68px; object-fit: contain;
}
#header-search input, .header-search input, #header-search .form-control {
  min-height: 44px; border: 2px solid var(--re-red); border-radius: 6px 0 0 6px;
  box-shadow: none; font-size: 16px;
}
#header-search button, #header-search .btn, .header-search button {
  min-height: 44px; color: #fff; background: var(--re-red); border-color: var(--re-red); font-weight: 700;
}
#header-search button:hover, #header-search .btn:hover { background: var(--re-red-dark); }
#header .navbar, #header-navigation, #main-navigation,
.navbar-default, .navbar-inverse {
  background: var(--re-charcoal) !important; border: 0;
}
#header .navbar a, #header-navigation a, #main-navigation a,
.navbar-default .navbar-nav > li > a, .navbar-inverse .navbar-nav > li > a {
  color: #fff; font-weight: 600;
}
#header .navbar a:hover, #header-navigation a:hover,
.navbar-default .navbar-nav > li > a:hover { color: #ff777b; }

/* Shop surfaces and controls. */
#content, #main-wrapper, .main-wrapper { min-width: 0; }
.breadcrumb, .breadcrumb-container { background: transparent; }
.breadcrumb a { color: var(--re-red-dark); }
.card, .panel, .well, .box, .product-wrapper, .productbox,
.productbox-inner, .product-cell, .category-wrapper, .categorybox {
  background: var(--re-paper); border-color: var(--re-line); border-radius: var(--re-radius); box-shadow: var(--re-shadow);
}
.panel-heading, .card-header { background: #f8f8f8; border-color: var(--re-line); }
.product-wrapper, .productbox, .categorybox { overflow: hidden; }
.productbox-title, .product-title, .productbox a.title {
  color: #202125; font-size: 15px; line-height: 1.4; font-weight: 650;
}
.price, .price_wrapper, .productbox-price { color: #17181b; font-weight: 750; }
.btn-primary, .btn-warning, .btn-buy, button[type="submit"].btn-primary {
  color: #fff; background: var(--re-buy); border-color: var(--re-red-dark);
  border-radius: 6px; font-weight: 700;
}
.btn-primary:hover, .btn-warning:hover, .btn-buy:hover,
button[type="submit"].btn-primary:hover { color: #fff; background: var(--re-buy-hover); border-color: #890b11; }
.btn-default, .btn-secondary { border-radius: 6px; }
.pagination > .active > a, .pagination > .active > span {
  color: #fff; background: var(--re-red); border-color: var(--re-red);
}
#footer, footer, .footer { background: var(--re-black); color: #ededee; }
#footer a, footer a, .footer a { color: #ededee; }
#footer a:hover, footer a:hover, .footer a:hover { color: #ff777b; }

/* Mobile first: the menu, logo, basket and full-width search stay in their own rows. */
@media (max-width: 767px) {
  body { font-size: 15px; }
  #header .container, #header .container-fluid { padding-left: 10px; padding-right: 10px; }
  #header-branding, .header-branding { min-height: 62px; }
  #header .logo, #header-branding .logo, .navbar-brand {
    display: block; flex: 0 1 auto; width: auto; max-width: 132px; min-width: 0; margin: 0;
  }
  #header .logo img, #header-branding .logo img, .navbar-brand img { max-width: 132px; max-height: 58px; }
  #header-search, .header-search { width: 100%; min-width: 0; margin: 8px 0 10px; }
  #header-search form, .header-search form { display: flex; width: 100%; min-width: 0; }
  #header-search input, .header-search input, #header-search .form-control { min-width: 0; }
  #header .navbar-nav > li > a, #header-navigation .nav > li > a,
  #main-navigation .nav > li > a { min-height: 44px; padding: 12px 14px; }
  .product-wrapper, .productbox, .categorybox { margin-bottom: 12px; }
  .productbox-title, .product-title { font-size: 14px; }
  .btn, button { min-height: 42px; }
  #footer, footer, .footer { padding-top: 24px; }
}
@media (min-width: 768px) {
  .product-wrapper:hover, .productbox:hover, .categorybox:hover { box-shadow: 0 4px 14px rgba(16,17,20,.13); }
}

/* 18+ self-declaration overlay; this is not an identity or age verification service. */
.re-age-backdrop {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center;
  padding: 18px; background: rgba(5,5,7,.84);
}
.re-age-dialog {
  width: min(100%, 430px); padding: 27px; border: 1px solid #393a40; border-top: 4px solid var(--re-red);
  border-radius: 10px; background: #17181c; color: #f7f7f8; box-shadow: 0 14px 48px rgba(0,0,0,.34);
}
.re-age-dialog h2 { margin: 0 0 10px; color: #fff; font-size: 25px; }
.re-age-dialog p { line-height: 1.55; color: #dedee0; }
.re-age-actions { display: flex; gap: 10px; margin-top: 20px; }
.re-age-actions button { flex: 1; min-height: 46px; border-radius: 6px; font-weight: 750; }
.re-age-yes { border: 1px solid var(--re-red); background: var(--re-red); color: #fff; }
.re-age-yes:hover { background: var(--re-red-dark); }
.re-age-no { border: 1px solid #65666b; background: #24252a; color: #fff; }
.re-age-denied { color: #ff8589 !important; font-weight: 700; }
@media (max-width: 420px) { .re-age-dialog { padding: 22px 18px; } .re-age-actions { flex-direction: column; } }
