/*
Theme Name: AffiliateKing
Description: Affiliate tema med WooCommerce support
Version: 3.0
Author: AffiliateKing
Text Domain: affiliateking
*/
/* ============================================================
   AFFILIATEKING TEMA – MOBILE FIRST CSS v3
   ============================================================ */

/* === VARIABLER === */
:root {
  --red:        #E8192C;
  --red-dark:   #B8111F;
  --red-glow:   rgba(232,25,44,0.12);
  --green:      #16a34a;
  --green-dark: #15803d;
  --dark:       #111111;
  --dark2:      #1e1e1e;
  --mid:        #666;
  --light:      #f5f5f5;
  --white:      #fff;
  --border:     rgba(0,0,0,0.08);
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-red: 0 8px 28px rgba(232,25,44,0.22);
  --trans:      0.22s ease;
  --max:        1240px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Outfit', 'Helvetica Neue', sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--trans); }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* === TOPBAR – skjult på mobil === */
.ak-topbar { display: none; }

/* === HEADER === */
.ak-header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.07); position: sticky; top: 0; z-index: 999; }
.ak-header-inner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; max-width: var(--max); margin: 0 auto; }

/* Logo */
.ak-logo { flex-shrink: 0; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ak-logo-icon { background: var(--red); color: white; width: 34px; height: 34px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.9rem; flex-shrink: 0; }
.ak-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem; letter-spacing: 0.05em; color: var(--dark); }
.ak-logo-text span { color: var(--red); }

/* Header søgefelt – skjult på mobil (vises i mobil-nav) */
.ak-header-search { display: none; }

/* Desktop nav – skjult på mobil */
.ak-nav { display: none; }

/* Header ikoner */
.ak-header-icons { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ak-icon-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--dark); transition: all var(--trans); text-decoration: none; position: relative; font-size: 1rem; }
.ak-icon-btn:hover { background: var(--light); color: var(--red); }
.ak-cart-count { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; background: var(--red); color: white; font-size: 0.58rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Hamburger */
.ak-menu-toggle { background: none; border: none; cursor: pointer; padding: 8px; color: var(--dark); font-size: 1.2rem; display: flex; align-items: center; }

/* Mobil nav drawer */
.ak-mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--white); }
.ak-mobile-nav.open { display: block; }
.ak-mobile-nav ul { padding: 8px 16px; display: flex; flex-direction: column; gap: 2px; }
.ak-mobile-nav a { display: block; padding: 12px 14px; color: var(--dark); font-weight: 500; font-size: 1rem; border-radius: var(--radius); border-bottom: 1px solid var(--border); }
.ak-mobile-nav a:hover { background: var(--red-glow); color: var(--red); }
.ak-mobile-search { padding: 12px 16px 16px; }
.ak-mobile-search form { display: flex; gap: 8px; }
.ak-mobile-search input { flex: 1; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 1rem; outline: none; }
.ak-mobile-search input:focus { border-color: var(--red); }
.ak-mobile-search button { background: var(--red); color: white; border: none; border-radius: var(--radius); padding: 12px 16px; cursor: pointer; font-size: 1rem; }

/* === HERO – MOBIL FIRST === */
.ak-hero { background: linear-gradient(160deg, var(--dark) 0%, var(--dark2) 60%, #180407 100%); padding: 52px 0 44px; position: relative; overflow: hidden; }
.ak-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.ak-hero-content { position: relative; z-index: 1; text-align: center; padding: 0 4px; }

.ak-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(232,25,44,0.14); border: 1px solid rgba(232,25,44,0.28); color: #ff6677; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; margin-bottom: 16px; }

.ak-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 10vw, 5.5rem); color: var(--white); letter-spacing: 0.03em; line-height: 1.05; margin-bottom: 12px; }
.ak-hero h1 span { color: var(--red); display: block; }
.ak-hero-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 480px; margin: 0 auto 28px; line-height: 1.65; }

/* Hero søgefelt – mobil */
.ak-hero-search-wrap { margin-bottom: 20px; padding: 0 4px; }
.ak-hero-search { display: flex; flex-direction: column; gap: 8px; max-width: 600px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.35); position: relative; }
.ak-hero-search input { border: none; background: transparent; padding: 12px 14px; font-size: 1rem; outline: none; color: var(--dark); width: 100%; }
.ak-hero-search input::placeholder { color: var(--mid); }
.ak-hero-search-btn { background: var(--red); color: white; border: none; border-radius: var(--radius); padding: 14px; font-size: 1rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: background var(--trans); width: 100%; }
.ak-hero-search-btn:hover { background: var(--red-dark); }

/* Søge-suggestions */
.ak-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(0,0,0,0.16); overflow: hidden; display: none; z-index: 200; }
.ak-suggestions.open { display: block; }
.ak-sug-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; transition: background var(--trans); text-decoration: none; color: var(--dark); font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.ak-sug-item:last-child { border-bottom: none; }
.ak-sug-item:hover { background: var(--light); }
.ak-sug-img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--light); }
.ak-sug-icon { width: 40px; height: 40px; border-radius: 6px; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--mid); flex-shrink: 0; }
.ak-sug-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.88rem; }
.ak-sug-price { color: var(--red); font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.ak-sug-more { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; color: var(--red); font-weight: 700; font-size: 0.88rem; text-decoration: none; background: var(--light); }

/* Quick tags */
.ak-quick-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; padding: 0 4px; }
.ak-quick-tags span { color: rgba(255,255,255,0.4); font-size: 0.8rem; align-self: center; width: 100%; text-align: center; margin-bottom: 2px; }
.ak-quick-tag { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); padding: 6px 14px; border-radius: 50px; font-size: 0.82rem; cursor: pointer; transition: all var(--trans); text-decoration: none; }
.ak-quick-tag:hover { background: var(--red); border-color: var(--red); color: white; }

/* Stats – 2x2 grid på mobil */
.ak-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07); }
.ak-stat { text-align: center; }
.ak-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--red); letter-spacing: 0.04em; line-height: 1; }
.ak-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }

/* === DEAL STRIP === */
.ak-deal-strip { background: var(--red); padding: 12px 0; overflow: hidden; }
.ak-deal-inner { display: flex; white-space: nowrap; animation: ak-marquee 28s linear infinite; }
.ak-deal-inner:hover { animation-play-state: paused; }
.ak-deal-item { display: inline-flex; align-items: center; gap: 7px; padding: 0 24px; color: white; font-size: 0.82rem; font-weight: 600; }
.ak-deal-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.35); border-radius: 50%; flex-shrink: 0; }
@keyframes ak-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === SECTIONS === */
.ak-section { padding: 48px 0; }
.ak-section-white { background: var(--white); }
.ak-section-light { background: var(--light); }
.ak-section-dark { background: var(--dark); }
.ak-section-header { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.ak-section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: 0.04em; color: var(--dark); line-height: 1; }
.ak-section-dark .ak-section-title { color: var(--white); }
.ak-section-sub { color: var(--mid); font-size: 0.88rem; }

/* === BUTTONS === */
.ak-btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; cursor: pointer; border: 2px solid transparent; transition: all var(--trans); text-decoration: none; white-space: nowrap; }
.ak-btn-red { background: var(--red); color: white; border-color: var(--red); }
.ak-btn-red:hover { background: var(--red-dark); color: white; }
.ak-btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.ak-btn-outline:hover { background: var(--red); color: white; }

/* === KATEGORIER – 2 kolonner mobil === */
.ak-cats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ak-cat-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 1; text-decoration: none; display: block; }
.ak-cat-card:first-child { grid-column: span 2; aspect-ratio: 2/1; }
.ak-cat-bg { position: absolute; inset: 0; transition: transform 0.4s ease; }
.ak-cat-card:hover .ak-cat-bg { transform: scale(1.04); }
.ak-cat-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.ak-cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 55%); }
.ak-cat-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; }
.ak-cat-icon { width: 32px; height: 32px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.85rem; margin-bottom: 6px; }
.ak-cat-card:first-child .ak-cat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
.ak-cat-name { font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; color: white; letter-spacing: 0.04em; display: block; }
.ak-cat-card:first-child .ak-cat-name { font-size: 1.4rem; }
.ak-cat-count { font-size: 0.68rem; color: rgba(255,255,255,0.55); display: block; }
.ak-cat-arrow { display: none; }

/* === PRODUKT GRID – 2 kolonner mobil === */
.ak-products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.ak-product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all var(--trans); position: relative; }
.ak-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.ak-product-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 8px; border-radius: 4px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.ak-badge-sale { background: var(--red); color: white; }
.ak-badge-new { background: var(--dark); color: white; }

.ak-product-img { position: relative; overflow: hidden; background: var(--light); aspect-ratio: 1; }
.ak-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.ak-product-card:hover .ak-product-img img { transform: scale(1.04); }
.ak-product-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 2rem; }

.ak-product-info { padding: 10px 11px 12px; }
.ak-product-cat { font-size: 0.65rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; display: block; margin-bottom: 3px; }
.ak-product-name { font-size: 0.82rem; font-weight: 600; color: var(--dark); line-height: 1.35; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ak-product-name a { color: inherit; }
.ak-product-name a:hover { color: var(--red); }
.ak-product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.ak-product-price { font-size: 1rem; font-weight: 700; color: var(--red); }
.ak-product-price del { font-size: 0.75rem; color: var(--mid); font-weight: 400; margin-right: 2px; }
.ak-product-btn { padding: 7px 12px; background: var(--green); color: white; border: none; border-radius: var(--radius); font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: background var(--trans); white-space: nowrap; text-decoration: none; display: inline-block; }
.ak-product-btn:hover { background: var(--green-dark); color: white; }

/* === TRUST – 1 kolonne mobil === */
.ak-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ak-trust-item { text-align: center; }
.ak-trust-icon { width: 52px; height: 52px; background: rgba(232,25,44,0.1); border: 1px solid rgba(232,25,44,0.22); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.3rem; color: var(--red); transition: all var(--trans); }
.ak-trust-item:hover .ak-trust-icon { background: var(--red); color: white; }
.ak-trust-title { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; color: var(--white); letter-spacing: 0.05em; margin-bottom: 6px; }
.ak-trust-text { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.55; }

/* === CTA BANNER === */
.ak-cta { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); padding: 56px 0; text-align: center; }
.ak-cta-inner { max-width: 520px; margin: 0 auto; padding: 0 4px; }
.ak-cta-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.6rem, 6vw, 2.8rem); color: white; letter-spacing: 0.04em; margin-bottom: 10px; }
.ak-cta-text { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 0.92rem; }
.ak-newsletter-form { display: flex; flex-direction: column; gap: 8px; max-width: 420px; margin: 0 auto; }
.ak-newsletter-form input { padding: 14px 16px; border: none; border-radius: var(--radius); font-size: 0.95rem; outline: none; background: rgba(255,255,255,0.18); color: white; width: 100%; }
.ak-newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.ak-newsletter-form button { background: white; color: var(--red); border: none; padding: 14px; border-radius: var(--radius); font-weight: 700; cursor: pointer; font-size: 0.95rem; width: 100%; }
.ak-newsletter-form button:hover { background: var(--dark); color: white; }

/* === BLOG KORT – 1 kolonne mobil === */
.ak-posts-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ak-post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.ak-post-card:hover { box-shadow: var(--shadow); }
.ak-post-img { aspect-ratio: 16/9; overflow: hidden; background: var(--light); }
.ak-post-img img { width: 100%; height: 100%; object-fit: cover; }
.ak-post-body { padding: 16px; }
.ak-post-tag { font-size: 0.68rem; color: var(--red); text-transform: uppercase; font-weight: 700; letter-spacing: 0.08em; display: block; margin-bottom: 6px; }
.ak-post-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.ak-post-title a { color: var(--dark); }
.ak-post-title a:hover { color: var(--red); }
.ak-post-excerpt { font-size: 0.84rem; color: var(--mid); line-height: 1.6; margin-bottom: 8px; }
.ak-post-meta { font-size: 0.75rem; color: var(--mid); }

/* === FOOTER – 1 kolonne mobil === */
.ak-footer { background: var(--dark); border-top: 1px solid rgba(232,25,44,0.18); padding: 48px 0 0; }
.ak-footer-disclaimer { background: rgba(0,0,0,0.3); border-radius: var(--radius); padding: 14px 16px; font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.6; margin-bottom: 32px; }
.ak-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
.ak-footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-bottom: 12px; }
.ak-footer-about { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 18px; }
.ak-social-links { display: flex; gap: 7px; }
.ak-social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.07); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: all var(--trans); text-decoration: none; }
.ak-social-link:hover { background: var(--red); color: white; }
.ak-footer-col h4 { color: white; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 14px; }
.ak-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.ak-footer-col a { color: rgba(255,255,255,0.45); font-size: 0.84rem; transition: color var(--trans); }
.ak-footer-col a:hover { color: var(--red); }
.ak-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.76rem; color: rgba(255,255,255,0.3); text-align: center; }

/* === INNER PAGES === */
.ak-page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 40px 0; text-align: center; border-bottom: 3px solid var(--red); }
.ak-page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.6rem, 6vw, 3rem); color: white; letter-spacing: 0.04em; }
.ak-page-hero p { color: rgba(255,255,255,0.55); margin-top: 8px; font-size: 0.9rem; }
.ak-page-content { padding: 32px 0 56px; }

/* Content + sidebar – stacked på mobil */
.ak-content-wrap { display: flex; flex-direction: column; gap: 24px; }
.ak-sidebar-widget { background: var(--white); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 16px; border: 1px solid var(--border); }
.ak-sidebar-title { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.06em; color: var(--dark); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--red); display: inline-block; }

/* === BREADCRUMB === */
.ak-breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 0; }
.ak-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.78rem; list-style: none; }
.ak-breadcrumb li { display: flex; align-items: center; gap: 4px; color: var(--mid); }
.ak-breadcrumb li::after { content: '/'; color: var(--border); }
.ak-breadcrumb li:last-child::after { display: none; }
.ak-breadcrumb a { color: var(--red); }

/* === BACK TO TOP === */
.ak-btt { position: fixed; bottom: 20px; right: 16px; width: 42px; height: 42px; background: var(--red); color: white; border: none; border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-red); opacity: 0; transform: translateY(12px); transition: all var(--trans); z-index: 998; font-size: 0.9rem; }
.ak-btt.visible { opacity: 1; transform: translateY(0); }
.ak-btt:hover { background: var(--red-dark); }

/* === SHOP LAYOUT – stacked på mobil === */
.ak-shop-layout { display: flex; flex-direction: column; gap: 20px; }
.ak-shop-layout .ak-sidebar { order: 2; }
.ak-shop-layout > div:last-child { order: 1; }

/* Filter-toggle knap til mobil */
.ak-filter-toggle { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 16px; font-size: 0.9rem; font-weight: 600; cursor: pointer; color: var(--dark); width: 100%; justify-content: center; margin-bottom: 16px; }
.ak-filter-toggle i { color: var(--red); }
.ak-sidebar-collapse { display: none; }
.ak-sidebar-collapse.open { display: block; }

/* === ENKELT PRODUKT – mobil === */
.ak-product-single-wrap { display: flex; flex-direction: column; gap: 28px; }

/* Pris box */
.ak-product-price-box { background: #fff5f5; border: 2px solid rgba(232,25,44,0.22); border-radius: var(--radius-lg); padding: 16px 20px; margin: 14px 0 18px; display: block; }
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price .woocommerce-Price-amount { font-size: 2.4rem !important; font-weight: 900 !important; color: var(--red) !important; display: block !important; line-height: 1.1 !important; }

/* Grøn køb nu knap */
.ak-buy-btn { display: block !important; text-align: center !important; background: var(--green) !important; color: #fff !important; border-radius: var(--radius) !important; padding: 18px 32px !important; font-size: 1.15rem !important; font-weight: 800 !important; text-decoration: none !important; width: 100% !important; box-shadow: 0 6px 20px rgba(22,163,74,0.3) !important; margin-bottom: 16px !important; letter-spacing: 0.02em !important; transition: all 0.2s ease !important; }
.ak-buy-btn:hover { background: var(--green-dark) !important; color: #fff !important; transform: translateY(-2px) !important; box-shadow: 0 10px 28px rgba(22,163,74,0.4) !important; }

/* Skjul WooCommerce standard knap/meta */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product .product_meta { display: none !important; }

/* Produkt meta */
.ak-product-meta { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; }
.ak-product-meta-row { display: flex; align-items: flex-start; gap: 8px; }
.ak-product-meta-label { font-weight: 600; color: var(--dark); min-width: 90px; flex-shrink: 0; }
.ak-product-meta-row a { color: var(--red); }

/* === WOOCOMMERCE OVERRIDES === */
.woocommerce span.price, .woocommerce-page span.price { color: var(--red) !important; font-weight: 700 !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--red) !important; color: white !important; border-radius: var(--radius) !important; font-weight: 600 !important; padding: 12px 22px !important; border: none !important; transition: all var(--trans) !important; font-size: 0.95rem !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--red-dark) !important; color: white !important; }
.woocommerce span.onsale { background: var(--red) !important; border-radius: var(--radius) !important; font-weight: 700 !important; min-height: unset !important; min-width: unset !important; padding: 3px 9px !important; line-height: 1.4 !important; top: 8px !important; left: 8px !important; font-size: 0.72rem !important; }
.woocommerce-breadcrumb { font-size: 0.8rem; color: var(--mid); padding: 12px 0; }
.woocommerce-breadcrumb a { color: var(--red); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 2px solid var(--border) !important; border-radius: var(--radius) !important; padding: 12px 14px !important; font-size: 1rem !important; width: 100% !important; }
.woocommerce form .form-row input.input-text:focus { border-color: var(--red) !important; outline: none !important; }
.woocommerce #payment #place_order { background: var(--green) !important; font-size: 1.05rem !important; padding: 16px !important; font-weight: 700 !important; width: 100% !important; border-radius: var(--radius) !important; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: #FFBA00; }
.woocommerce-message { border-top-color: var(--red) !important; }

/* Shop produkt grid */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; float: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }

/* Pagination */
.woocommerce nav.woocommerce-pagination { text-align: center; margin-top: 32px; }
.woocommerce nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; border: none !important; }
.woocommerce nav.woocommerce-pagination ul li { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { display: flex !important; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: var(--radius) !important; border: 2px solid var(--border) !important; color: var(--dark) !important; font-weight: 600 !important; font-size: 0.88rem !important; background: var(--white) !important; }
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--red) !important; color: var(--red) !important; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--red) !important; border-color: var(--red) !important; color: white !important; }

/* My account nav */
.woocommerce-MyAccount-navigation { margin-bottom: 24px; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; background: var(--light); color: var(--dark); border-bottom: 1px solid var(--border); font-weight: 500; font-size: 0.92rem; }
.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a { background: var(--red); color: white; }

/* Cart tabel */
.woocommerce table.shop_table { font-size: 0.88rem; }
.woocommerce table.shop_table th { font-size: 0.78rem; }

/* Entry content */
.ak-entry-content { line-height: 1.8; font-size: 0.95rem; }
.ak-entry-content h2, .ak-entry-content h3 { margin: 1.4em 0 0.5em; font-weight: 700; }
.ak-entry-content p { margin-bottom: 1.1em; }
.ak-entry-content ul, .ak-entry-content ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.ak-entry-content blockquote { border-left: 4px solid var(--red); padding: 12px 16px; margin: 1.2em 0; background: var(--light); font-style: italic; }
.ak-entry-content a { color: var(--red); text-decoration: underline; }

/* ============================================================
   TABLET – 600px+
   ============================================================ */
@media (min-width: 600px) {
  .container { padding: 0 20px; }
  .ak-cats-grid { grid-template-columns: repeat(3, 1fr); }
  .ak-cat-card:first-child { grid-column: span 3; aspect-ratio: 3/1; }
  .ak-hero-search { flex-direction: row; border-radius: 60px; }
  .ak-hero-search-btn { width: auto; border-radius: 50px; }
  .ak-quick-tags span { width: auto; }
  .ak-hero-stats { grid-template-columns: repeat(4, 1fr); }
  .ak-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .ak-newsletter-form { flex-direction: row; }
  .ak-newsletter-form input { flex: 1; width: auto; }
  .ak-newsletter-form button { width: auto; }
  .ak-footer-grid { grid-template-columns: 1fr 1fr; }
  .ak-footer-bottom { flex-direction: row; justify-content: space-between; }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .ak-products-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ak-shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
  .ak-shop-layout .ak-sidebar { order: 1; }
  .ak-shop-layout > div:last-child { order: 2; }
  .ak-filter-toggle { display: none; }
  .ak-sidebar-collapse { display: block !important; }
  .ak-content-wrap { flex-direction: row; }
  .ak-content-wrap .ak-sidebar { width: 260px; flex-shrink: 0; }
  .ak-section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ============================================================
   DESKTOP – 768px+
   ============================================================ */
@media (min-width: 768px) {
  .ak-topbar { display: block; background: var(--dark); color: rgba(255,255,255,0.55); font-size: 0.78rem; padding: 7px 0; }
  .ak-topbar .container { display: flex; justify-content: space-between; align-items: center; }
  .ak-topbar a { color: rgba(255,255,255,0.55); }
  .ak-topbar a:hover { color: var(--red); }

  .ak-header-inner { gap: 16px; padding: 14px 20px; }
  .ak-header-search { display: block; flex: 1; max-width: 400px; position: relative; }
  .ak-header-search input { width: 100%; padding: 9px 42px 9px 14px; border: 2px solid var(--border); border-radius: 50px; font-size: 0.88rem; background: var(--light); outline: none; transition: border-color var(--trans); }
  .ak-header-search input:focus { border-color: var(--red); background: var(--white); }
  .ak-header-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; background: var(--red); border: none; border-radius: 50px; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

  .ak-nav { display: block; margin-left: auto; }
  .ak-nav ul { display: flex; gap: 2px; align-items: center; }
  .ak-nav a { color: var(--dark); font-size: 0.9rem; font-weight: 500; padding: 7px 12px; border-radius: var(--radius); transition: all var(--trans); }
  .ak-nav a:hover, .ak-nav .current-menu-item a { color: var(--red); background: var(--red-glow); }

  .ak-menu-toggle { display: none; }

  .ak-hero { padding: 80px 0 64px; }
  .ak-hero-sub { font-size: 1rem; }
  .ak-section { padding: 64px 0; }
  .ak-cats-grid { grid-template-columns: repeat(5, 1fr); }
  .ak-cat-card:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: unset; }
  .ak-cat-arrow { display: flex; position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; background: rgba(255,255,255,0.1); border-radius: 50%; align-items: center; justify-content: center; color: white; font-size: 0.75rem; opacity: 0; transform: translate(3px,-3px); transition: all var(--trans); }
  .ak-cat-card:hover .ak-cat-arrow { opacity: 1; transform: translate(0,0); }
  .ak-trust-grid { grid-template-columns: repeat(4, 1fr); }
  .ak-posts-grid { grid-template-columns: repeat(3, 1fr); }
  .ak-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .ak-products-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .woocommerce ul.products { grid-template-columns: repeat(4, 1fr) !important; gap: 18px !important; }
  .ak-product-single-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
  .ak-page-content { padding: 48px 0 72px; }
  .ak-page-hero { padding: 52px 0; }
  .ak-btt { bottom: 28px; right: 28px; }
}

/* ============================================================
   WIDE – 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .container { padding: 0 24px; }
  .ak-header-search { max-width: 460px; }
  .ak-cat-name { font-size: 1rem; }
  .ak-cat-card:first-child .ak-cat-name { font-size: 1.65rem; }
  .ak-shop-layout { grid-template-columns: 240px 1fr; gap: 28px; }
}

/* ============================================================
   SINGLE PRODUKT – desktop 2-kolonne, mobil stacked
   ============================================================ */
.ak-single-product { padding: 28px 0 60px; }

/* MOBIL: stacked (billede øverst, info nedenunder) */
.ak-single-wrap { display: flex; flex-direction: column; gap: 20px; }

/* Billede */
.ak-single-img-col { width: 100%; }
.ak-single-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.ak-single-img-main img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.ak-single-badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 5px; z-index: 2; }

/* Thumbnails */
.ak-single-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ak-thumb { width: 58px; height: 58px; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--white); padding: 0; flex-shrink: 0; transition: border-color var(--trans); }
.ak-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ak-thumb.active, .ak-thumb:hover { border-color: var(--red); }

/* Info kolonne */
.ak-single-info-col { width: 100%; }

.ak-single-cat { font-size: 0.72rem; color: var(--red); text-transform: uppercase; font-weight: 700; letter-spacing: 0.09em; display: inline-block; margin-bottom: 8px; text-decoration: none; }
.ak-single-cat:hover { text-decoration: underline; }

/* TITEL – MOBIL: 1.3rem, DESKTOP: 1.5rem via media query */
.ak-single-title,
.woocommerce div.product .product_title {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--dark) !important;
  margin: 0 0 16px !important;
}

/* Pris boks */
.ak-single-price-box {
  background: #fff5f5;
  border: 2px solid rgba(232,25,44,0.2);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 16px;
}
.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product span.price .woocommerce-Price-amount,
.ak-single-price-box .woocommerce-Price-amount {
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: var(--red) !important;
  line-height: 1.1 !important;
}
.ak-single-saving { display: inline-block; margin-top: 4px; font-size: 0.78rem; font-weight: 600; color: var(--green); background: rgba(22,163,74,0.1); padding: 2px 8px; border-radius: 4px; }

/* Køb nu knap */
.ak-single-buy-btn {
  display: block !important;
  text-align: center !important;
  background: var(--green) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: 18px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  width: 100% !important;
  box-shadow: 0 6px 20px rgba(22,163,74,0.3) !important;
  margin-bottom: 16px !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
}
.ak-single-buy-btn:hover { background: var(--green-dark) !important; color: #fff !important; transform: translateY(-2px) !important; }

/* Trust */
.ak-single-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ak-single-trust span { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--mid); background: var(--light); padding: 6px 11px; border-radius: 50px; }
.ak-single-trust i { color: var(--red); }

/* Meta */
.ak-single-meta { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ak-meta-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; }
.ak-meta-label { font-weight: 700; color: var(--dark); min-width: 90px; flex-shrink: 0; }
.ak-meta-row a { color: var(--red); }

/* Tabs */
.ak-single-tabs { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--mid); font-weight: 500; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--red); }

/* Skjul WooCommerce standard knap og meta */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product .product_meta { display: none !important; }

/* ============================================================
   RELATEREDE VARER
   ============================================================ */
.ak-related { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.ak-related-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ak-related-line { width: 32px; height: 4px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.ak-related-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.06em; color: var(--dark); margin: 0; }

/* Mobil: 2 kolonner */
.ak-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.ak-related-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ak-related-badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--red); color: white; font-size: 0.65rem; font-weight: 700; padding: 3px 7px; border-radius: 4px; }
.ak-related-img-wrap { display: block; aspect-ratio: 1; overflow: hidden; background: var(--light); }
.ak-related-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.ak-related-card:hover .ak-related-img-wrap img { transform: scale(1.04); }
.ak-related-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 2rem; }
.ak-related-body { padding: 10px 11px 12px; }
.ak-related-cat { font-size: 0.64rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; display: block; margin-bottom: 3px; text-decoration: none; }
.ak-related-name { margin: 0 0 8px; }
.ak-related-name a { font-size: 0.78rem; font-weight: 600; color: var(--dark); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.ak-related-name a:hover { color: var(--red); }
.ak-related-foot { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.ak-related-price { font-size: 0.9rem; font-weight: 700; color: var(--red); }
.ak-related-price .woocommerce-Price-amount { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }
.ak-related-btn { background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 6px 10px; border-radius: 6px; text-decoration: none; white-space: nowrap; display: inline-block; }
.ak-related-btn:hover { background: var(--green-dark); color: #fff; }

/* DESKTOP: 2-kolonne layout – gendanner original desktop */
@media (min-width: 768px) {
  .ak-single-wrap { flex-direction: row; gap: 52px; align-items: flex-start; }
  .ak-single-img-col { width: 45%; flex-shrink: 0; }
  .ak-single-info-col { flex: 1; min-width: 0; }
  .ak-single-title,
  .woocommerce div.product .product_title {
    font-size: 1.5rem !important;
  }
  .woocommerce div.product p.price .woocommerce-Price-amount,
  .ak-single-price-box .woocommerce-Price-amount {
    font-size: 2.4rem !important;
  }
  .ak-related-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .ak-single-product { padding: 40px 0 72px; }
}


