/*
Theme Name: Supertilbud REHub Child
Template: rehub-theme
Version: 2.0
Description: Child theme til supertilbud.dk - designet "Ugens jagt" (REHub + Elementor).
*/
@import url("../rehub-theme/style.css");

/*
 * Supertilbud.dk – "Ugens jagt"
 * REHub-tilpasset designsystem. Lægges i child theme'ets style.css.
 */

/* ---------- 1. Tokens ---------- */
:root{
  --st-ink:#101014; --st-ink-2:#26262E; --st-paper:#FFFDF8; --st-yellow:#FFD400;
  --st-coral:#FF4B2B; --st-muted:#6E6E78; --st-line:#ECE7DA; --st-soft:#F7F3E8;
  --st-disp:"Bricolage Grotesque","Inter",sans-serif;
  --st-body:"Inter","Helvetica Neue",Arial,sans-serif;
}
body, .rh-container, .rh-content, p, li, td, .post-content{
  font-family:var(--st-body); color:var(--st-ink); font-size:15px; line-height:1.55;
}
h1,h2,h3,h4,h5,h6,.wpsm-title,.widget .title,.footer-bottom h3{
  font-family:var(--st-disp); font-weight:800; letter-spacing:-.02em; color:var(--st-ink);
}
a{color:var(--st-ink)} a:hover{color:var(--st-coral)}

/* ---------- 2. Header: hvid topbar ---------- */
body #main_header{background:#fff !important; border-bottom:1px solid var(--st-line); box-shadow:none}
body #main_header .header_wrap{padding:6px 0}
body #main_header .logo_image img{max-height:34px; max-width:200px; width:auto; height:auto}
body #main_header .main-nav{border:0}
body #main_header nav.top_menu > ul > li > a{
  font-family:var(--st-body); font-size:13.5px; font-weight:700; letter-spacing:0;
  text-transform:none; color:var(--st-ink) !important; padding:10px 11px; white-space:nowrap;
  border-bottom:3px solid transparent;
}
body #main_header nav.top_menu > ul > li > a:hover,
body #main_header nav.top_menu > ul > li.current-menu-item > a{border-color:var(--st-yellow)}
body #main_header .rh-header-icon, body #main_header .icon-search-onclick{color:var(--st-ink) !important}
body #main_header .dl-menuwrapper button svg line{stroke:var(--st-ink) !important}
body #main_header .header-actions-logo .celldisplay{border:0}

/* ---------- 3. Layout ---------- */
.rh-container{max-width:1200px}
.home .main-side, .page-template-default .main-side{width:100%; float:none}
.home .sidebar, .page-template-template-full-width .sidebar{display:none}
.home .rh-content-wrap, .page-template-default .rh-content-wrap{padding-top:0}
.home .wpsm-title{display:none}
.home .rh-container > .rh-content-wrap > .main-side{padding:0}

/* ---------- 4. Knapper ---------- */
.st-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;padding:15px 24px;
  font-family:var(--st-body);font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase;
  border:2px solid var(--st-ink);background:transparent;color:var(--st-ink);text-decoration:none;transition:transform .15s}
.st-btn:hover{transform:translateY(-1px);color:var(--st-ink)}
.st-btn--dark{background:var(--st-ink);color:#fff}
.st-btn--dark:hover{color:#fff}
.st-btn--sm{padding:11px 12px;font-size:11px;border-radius:10px;width:100%}

/* ---------- 5. Hero ---------- */
.st-hero{background:var(--st-yellow);border-radius:28px;padding:54px 54px 26px;display:grid;grid-template-columns:1.05fr .95fr;
  gap:20px;overflow:hidden;position:relative}
.st-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--st-ink) 1px,transparent 1px);
  background-size:22px 22px;opacity:.05;pointer-events:none}
.st-hero h1,.st-hero .st-hero__title{font-family:var(--st-disp);font-weight:800;font-size:64px;line-height:.98;
  letter-spacing:-.03em;margin:20px 0 18px;position:relative;color:var(--st-ink)}
.st-hero p{font-size:17px;max-width:430px;font-weight:500;color:#2a2a12}
.st-kicker{display:inline-flex;align-items:center;gap:8px;background:var(--st-ink);color:#fff;border-radius:999px;
  padding:7px 14px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.st-hero__stats{display:flex;gap:26px;padding:18px 0 26px;border-top:1.5px solid rgba(16,16,20,.18);
  font-size:12.5px;font-weight:600}
.st-hero__stats b{font-family:var(--st-disp);font-size:20px;display:block;letter-spacing:-.02em}
.st-covers{position:relative;min-height:350px;width:100%;max-width:460px;margin-left:auto}
.st-cover{position:absolute;width:190px;height:290px;background:#fff;border-radius:14px;
  box-shadow:0 24px 50px rgba(16,16,20,.22);padding:12px;display:flex;flex-direction:column}
.st-cover__top{display:flex;justify-content:space-between;align-items:center;font-family:var(--st-disp);font-weight:800;font-size:19px}
.st-cover__week{background:var(--st-ink);color:#fff;font-size:10px;padding:4px 8px;border-radius:6px;letter-spacing:.08em}
.st-cover__ph{flex:1;border-radius:8px;margin:12px 0;position:relative;overflow:hidden;background:linear-gradient(140deg,#ffe9ec,#ff9aa5)}
.st-cover__ph:after{content:"";position:absolute;left:12px;bottom:12px;width:74px;height:74px;border-radius:50%;
  background:var(--st-yellow);border:3px solid var(--st-ink)}
.st-cover__price{position:absolute;left:12px;bottom:12px;z-index:2;width:74px;height:74px;display:grid;place-items:center;
  text-align:center;padding:8px;font-family:var(--st-body);font-weight:800;font-size:10.5px;line-height:1.15;font-style:normal;letter-spacing:.02em}
.st-cover__row{display:flex;justify-content:space-between;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#555}
.st-c1{left:0;top:32px;transform:rotate(-7deg);z-index:1}
.st-c2{left:135px;top:0;transform:rotate(-1deg);z-index:3}
.st-c3{left:270px;top:36px;transform:rotate(5deg);z-index:2}
.st-c1 .st-cover__ph{background:linear-gradient(140deg,#ffe9ec,#ff9aa5)}
.st-c2 .st-cover__ph{background:linear-gradient(140deg,#e3f0ff,#8db8ff)}
.st-c3 .st-cover__ph{background:linear-gradient(140deg,#e9ffe6,#8fd88a)}
.st-sticker{position:absolute;right:26px;bottom:22px;background:var(--st-coral);color:#fff;border-radius:14px;
  padding:12px 16px;font-family:var(--st-disp);font-weight:800;font-size:20px;line-height:1;text-align:center;
  transform:rotate(6deg);box-shadow:0 12px 24px rgba(255,75,43,.35);z-index:5}
.st-sticker small{display:block;font-family:var(--st-body);font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;margin-top:5px}

/* ---------- 6. Sektioner ---------- */
.st-section{padding:64px 0 0}
.st-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.st-section-head h2{font-family:var(--st-disp);font-weight:800;font-size:38px;letter-spacing:-.025em;line-height:1.05;margin:0}
.st-section-head p{color:var(--st-muted);font-size:14px;margin-top:6px}
.st-link{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  border-bottom:2px solid var(--st-yellow);padding-bottom:3px;white-space:nowrap;color:var(--st-ink)}

/* ---------- 7. Butiksfelter ---------- */
.st-stores{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}
.st-store{background:#fff;border:1px solid var(--st-line);border-radius:14px;padding:18px 14px;text-align:center;
  transition:.15s;display:block}
.st-store:hover{border-color:var(--st-ink);transform:translateY(-2px)}
.st-store__name{font-family:var(--st-disp);font-weight:800;font-size:16px;color:var(--st-ink)}
.st-store__go{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--st-muted);margin-top:6px}
.st-store__bar{height:6px;border-radius:4px;margin:10px auto 0;width:46px;background:var(--st-yellow)}

/* ---------- 8. Tilbudskort ---------- */
.st-deals{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.st-deal{background:#fff;border:1px solid var(--st-line);border-radius:16px;overflow:hidden;display:flex;
  flex-direction:column;transition:.15s}
.st-deal:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(16,16,20,.08)}
.st-deal__img{height:170px;position:relative;background:linear-gradient(140deg,#fff1d6,#ffcf7a)}
.st-deal__off{position:absolute;left:12px;top:12px;background:var(--st-coral);color:#fff;font-weight:800;
  font-size:12px;padding:6px 10px;border-radius:8px}
.st-deal__img{position:relative}
.st-deal__ico{position:absolute;inset:0;display:grid;place-items:center;color:rgba(16,16,20,.30)}
.st-deal__ico svg{width:96px;height:96px}
.st-deal__fav{position:absolute;top:12px;right:12px;z-index:2}
.st-deal__fav{position:absolute;right:12px;top:12px;width:32px;height:32px;border-radius:50%;background:#fff;
  display:grid;place-items:center;font-size:14px}
.st-deal__body{padding:16px 16px 18px;display:flex;flex-direction:column;flex:1}
.st-deal__store{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--st-muted)}
.st-deal h3{font-size:15.5px;line-height:1.35;margin:6px 0 12px;font-weight:700;font-family:var(--st-body)}
.st-price{display:flex;align-items:baseline;gap:9px;margin-top:auto}
.st-price__now{font-family:var(--st-disp);font-weight:800;font-size:26px;letter-spacing:-.02em;color:var(--st-ink)}
.st-price__was{color:var(--st-muted);text-decoration:line-through;font-size:13px}
.st-d1{background:linear-gradient(140deg,#fff1d6,#ffcf7a)}.st-d2{background:linear-gradient(140deg,#e7f3ff,#9dc7ff)}
.st-d3{background:linear-gradient(140deg,#ffe8e4,#ff9e8e)}.st-d4{background:linear-gradient(140deg,#eaf7e6,#a8d99a)}

/* ---------- 9. Aviskort ---------- */
.st-avis{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.st-av{background:#fff;border:1px solid var(--st-line);border-radius:14px;padding:12px;text-align:center;
  transition:.15s;display:block}
.st-av:hover{transform:translateY(-3px);box-shadow:0 16px 30px rgba(16,16,20,.08)}
.st-av__cov{height:190px;border-radius:8px;position:relative;overflow:hidden;margin-bottom:12px;
  background:linear-gradient(150deg,#ffe3e6,#ff8b98)}
.st-av__lab{position:absolute;left:10px;top:10px;background:#fff;border-radius:6px;padding:4px 8px;font-size:10px;
  font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--st-ink) !important}
.st-av__pr{position:absolute;right:10px;bottom:10px;background:var(--st-yellow);border:2px solid var(--st-ink);
  border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-family:var(--st-disp);
  font-weight:800;font-size:12px;line-height:1.05;text-align:center;color:var(--st-ink) !important}
.st-av__name{font-family:var(--st-disp);font-weight:800;font-size:15px;color:var(--st-ink)}
.st-av__week{font-size:11px;color:var(--st-muted);margin-top:2px}
.st-a1{background:linear-gradient(150deg,#ffe3e6,#ff8b98)}.st-a2{background:linear-gradient(150deg,#dceaff,#7fa9f0)}
.st-a3{background:linear-gradient(150deg,#ffe9c9,#f0a94a)}.st-a4{background:linear-gradient(150deg,#e2f2ff,#5aa8e0)}
.st-a5{background:linear-gradient(150deg,#e8f7e2,#7cc46a)}.st-a6{background:linear-gradient(150deg,#f3e6ff,#b78bdd)}

/* ---------- 10. Guides ---------- */
.st-guides{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:18px}
.st-guide{border-radius:16px;overflow:hidden;position:relative;min-height:260px;display:flex;align-items:flex-end;
  padding:22px;color:#fff;background:linear-gradient(160deg,#2c2c34,#101014)}
.st-guide__tag{position:absolute;left:22px;top:20px;background:var(--st-yellow);color:var(--st-ink);font-size:10px;
  font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:6px 10px;border-radius:7px}
.st-guide h3{font-family:var(--st-disp);font-weight:800;font-size:24px;line-height:1.1;letter-spacing:-.02em;color:#fff}
.st-guide small{font-size:11.5px;opacity:.85;font-weight:600}
.st-g2{background:linear-gradient(160deg,#0d4f3c,#0a2c22)}
.st-g3{background:linear-gradient(160deg,#4a1d1d,#2a0f0f)}

/* ---------- 11. Nyhedsbrev ---------- */
.st-news{background:var(--st-ink);border-radius:28px;padding:48px 54px;display:grid;grid-template-columns:1.1fr .9fr;
  gap:30px;align-items:center;color:#fff;position:relative;overflow:hidden}
.st-news h2{font-family:var(--st-disp);font-weight:800;font-size:40px;line-height:1;letter-spacing:-.025em;color:#fff}
.st-news p{color:#b9b9c4;margin-top:10px;max-width:420px}
.st-news form{display:flex;gap:10px;position:relative;z-index:2}
.st-news input{flex:1;border:0;border-radius:12px;padding:16px 18px;font:inherit;font-size:14px}
.st-news button{background:var(--st-yellow);border:0;border-radius:12px;padding:0 24px;font:inherit;font-weight:800;
  font-size:12px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;color:var(--st-ink)}

/* ---------- 12. Footer ---------- */
body .footer-bottom{background:var(--st-ink) !important;background-image:none !important;color:#cfcfd8;padding:46px 0 22px}
body .footer-bottom .footer_widget{border:0 !important}
body .footer-bottom h3, body .footer-bottom .widget .title{color:#fff !important;font-family:var(--st-disp);font-size:15px}
body .footer-bottom a{color:#cfcfd8}
body .footer-bottom a:hover{color:var(--st-yellow)}
body .footer-bottom .copyright, body .footer-bottom .footer-bottom-line{color:#8a8a95;font-size:12px}
body .footer-bottom .st-fbrand{font-size:28px !important}
body .footer-bottom .footer_widget h3{color:#fff !important;font-family:var(--st-disp);font-size:14px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 18px}
.st-fbrand{font-family:var(--st-disp);font-weight:800;font-size:30px;letter-spacing:-.02em;color:#fff !important;margin:0 0 14px;line-height:1}
.st-fbrand span{color:var(--st-yellow)}
.st-fabout{color:#b9b9c4 !important;font-size:14px;line-height:1.65;max-width:320px;margin:0}
.st-flinks{list-style:none;margin:0;padding:0}
.st-flinks li{margin:0 0 10px}
.st-flinks a{color:#dcdce4 !important;text-decoration:none;font-size:14.5px}
.st-flinks a:hover{color:var(--st-yellow) !important}
#footercustomarea{background:#000 !important;color:#8f8f9b;padding:16px 0}
#footercustomarea .st-fbot{max-width:1240px;margin:0 auto;padding:0 15px;display:flex;justify-content:space-between;gap:12px;font-size:12.5px}
.st-cover.st-c3 .st-cover__top{flex-direction:row-reverse}
.st-cover.st-c3 .st-cover__week{visibility:hidden}
.st-news__ok,.st-news__err{background:rgba(255,255,255,.08);border-radius:12px;padding:16px 18px;font-weight:600;color:#fff}
.st-news__err{color:#ffb4a8}


/* ---------- 13. Mobil ---------- */
@media(max-width:980px){
  .st-hero{grid-template-columns:1fr;padding:36px 28px 26px}
  .st-hero h1{font-size:46px}
  .st-covers{min-height:400px;transform:scale(.9);transform-origin:top left}
  .st-stores{grid-template-columns:repeat(4,1fr)}
  .st-deals{grid-template-columns:repeat(2,1fr)}
  .st-avis{grid-template-columns:repeat(3,1fr)}
  .st-guides{grid-template-columns:1fr}
  .st-news{grid-template-columns:1fr;padding:32px 28px}
}
@media(max-width:560px){
  body #main_header .logo_image img{max-height:30px}
  .st-hero{padding:28px 20px 24px}
  .st-hero h1{font-size:34px}
  .st-covers{min-height:0;max-width:300px;margin:14px auto 0;transform:none}
  .st-cover{position:relative;width:210px;height:300px;margin:0 auto;left:auto;top:auto}
  .st-cover.st-c1,.st-cover.st-c3{display:none}
  .st-cover.st-c2{transform:rotate(-2deg)}
  .st-sticker{right:0;bottom:-6px}
  .st-stores{grid-template-columns:repeat(2,1fr)}
  .st-deals{grid-template-columns:1fr}
  .st-avis{grid-template-columns:repeat(2,1fr)}
  .st-section-head h2{font-size:30px}
  .st-news h2{font-size:30px}
  .st-news form{flex-direction:column}
}

/* ---------- 14. Undersider ---------- */
.st-page-hero{background:var(--st-yellow);border-radius:28px;padding:48px 54px;margin-top:24px;position:relative;overflow:hidden}
.st-page-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--st-ink) 1px,transparent 1px);background-size:22px 22px;opacity:.05}
.st-page-hero h1{font-family:var(--st-disp);font-weight:800;font-size:50px;line-height:1;letter-spacing:-.03em;margin:16px 0 14px;position:relative}
.st-page-hero p{max-width:640px;font-size:17px;font-weight:500;color:#2a2a12;position:relative}
.st-prose{max-width:860px;margin:0 auto;padding:34px 0 10px}
.st-prose h2{font-family:var(--st-disp);font-size:32px;letter-spacing:-.02em;margin:38px 0 12px}
.st-prose h3{font-family:var(--st-disp);font-size:21px;letter-spacing:-.01em;margin:26px 0 8px}
.st-prose p,.st-prose li{font-size:16px;line-height:1.7;color:#26262E}
.st-prose ul{padding-left:22px;list-style:disc;margin:10px 0 18px}
.st-prose li{margin-bottom:6px}
.st-prose a{color:var(--st-ink);border-bottom:2px solid var(--st-yellow);text-decoration:none;font-weight:600}
.st-box{background:#fff;border:1px solid var(--st-line);border-radius:18px;padding:26px 30px;margin:22px 0}
.st-box h3{margin-top:0}
.st-faq{border-top:1px solid var(--st-line);padding:18px 0}
.st-faq h3{margin:0 0 6px}
.st-note{background:var(--st-soft);border-left:4px solid var(--st-yellow);border-radius:0 12px 12px 0;padding:16px 20px;font-size:14.5px;color:#3a3a2a;margin:20px 0}
.st-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.st-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.st-bigcover{display:grid;grid-template-columns:320px 1fr;gap:34px;align-items:center;background:#fff;border:1px solid var(--st-line);border-radius:22px;padding:30px;margin:26px 0}
.st-bigcover__img{height:420px;border-radius:12px;background:linear-gradient(150deg,#ffe3e6,#ff8b98);position:relative;overflow:hidden}
.st-bigcover__lab{position:absolute;left:14px;top:14px;background:#fff;border-radius:7px;padding:5px 10px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.st-bigcover__pr{position:absolute;right:14px;bottom:14px;background:var(--st-yellow);border:2px solid var(--st-ink);border-radius:50%;width:70px;height:70px;display:grid;place-items:center;font-family:var(--st-disp);font-weight:800;font-size:14px;line-height:1.05;text-align:center}
.st-bigcover h2{margin-top:0}
body.page .sidebar{display:none}
body.page .main-side{width:100%;float:none}
body.page .rh-content-wrap{padding-top:0}
body.page .wpsm-title{display:none}
body.page article > .title, body.home article > .title{display:none}
body.page .rh-container{padding-top:0}
.st-news .wpforms-form{display:flex;gap:10px}
.st-news .wpforms-form .wpforms-field-container{flex:1;display:flex}
.st-news .wpforms-form input[type=email]{flex:1;border:0;border-radius:12px;padding:16px 18px;font:inherit;font-size:14px;width:100%}
.st-news .wpforms-form .wpforms-submit-container{padding:0 !important}
.st-news .wpforms-form button[type=submit]{background:var(--st-yellow);border:0;border-radius:12px;padding:16px 24px;font:inherit;font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;color:var(--st-ink);height:100%}
@media(max-width:980px){
  .st-page-hero{padding:36px 28px}.st-page-hero h1{font-size:38px}
  .st-bigcover{grid-template-columns:1fr}.st-bigcover__img{height:340px}
  .st-grid-3{grid-template-columns:1fr}
  .st-news .wpforms-form{flex-direction:column}
}

/* ---------- 15. Footer-rækkefølge: kolonner først, copyright nederst ---------- */
.rh-outer-wrap{display:flex;flex-direction:column}
.rh-outer-wrap > #footercustomarea{order:99}
.rh-outer-wrap > .footer-bottom{order:1}
#footercustomarea{padding:18px 0;border-top:1px solid rgba(255,255,255,.08)}
#footercustomarea .st-fbot{max-width:1240px;margin:0 auto;padding:0 15px}

#footercustomarea .st-flegal a{color:#b9b9c4;text-decoration:none}
#footercustomarea .st-flegal a:hover{color:#FFD400}
