/* V akciji / Portal — isolated homepage design, v0.1.0 */
body.page-id-7 { background: #f5f7fa; }
body.page-id-7 #page,
body.page-id-7 #page.site,
body.page-id-7 .site.grid-container { max-width: none; width: 100%; margin: 0; }
body.page-id-7 .site-header,
body.page-id-7 .main-navigation,
body.page-id-7 .site-footer,
body.page-id-7 .entry-header,
body.page-id-7 .site-info,
body.page-id-7 .widget-area { display: none !important; }
body.page-id-7 .site-content { display: block; width: 100%; }
body.page-id-7 #primary,
body.page-id-7 #main,
body.page-id-7 .inside-article,
body.page-id-7 .entry-content { width: 100%; max-width: none; margin: 0; padding: 0; float: none; background: transparent; }
body.page-id-7 .inside-article { box-shadow: none; }

.vak-app {
  --vak-ink: #18253a;
  --vak-muted: #718098;
  --vak-red: #f0444f;
  --vak-red-dark: #d92f3e;
  --vak-line: #e9edf3;
  --vak-radius: 17px;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  background: #f5f7fa;
  color: var(--vak-ink);
  font: 400 15px/1.5 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}
.vak-app, .vak-app * { box-sizing: border-box; }
.vak-app h1, .vak-app h2, .vak-app h3, .vak-app p { margin: 0; padding: 0; font-family: inherit; }
.vak-app button, .vak-app input { font: inherit; }
.vak-app button { cursor: pointer; }
.vak-app button:focus-visible, .vak-app input:focus-visible, .vak-app summary:focus-visible { outline: 3px solid #ffb8bc; outline-offset: 3px; }
.vak-app [hidden] { display: none !important; }
.vak-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip: rect(0,0,0,0); clip-path: inset(50%); }

/* Left rail contains JUST the logo and the long navigation. */
.vak-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border-right: 1px solid var(--vak-line);
  padding: 33px 14px 22px;
  z-index: 5;
  scrollbar-width: thin;
}
body.admin-bar.page-id-7 .vak-sidebar { top: 32px; height: calc(100vh - 32px); }
.vak-logo { display: flex; align-items: center; gap: 12px; padding: 0 12px 28px; white-space: nowrap; }
.vak-logo-icon { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; width: 43px; height: 43px; border-radius: 14px; background: linear-gradient(145deg, #ff6268, #e72d45); box-shadow: 0 7px 14px #e83b4d32; font-size: 29px; font-weight: 900; letter-spacing: -3px; color: #fff; }
.vak-logo-dot { color: #ffd2d5; font-weight: 900; transform: translate(0, 6px); }
.vak-logo-type > span { display: block; font-size: 24px; line-height: 1; font-weight: 860; letter-spacing: -1.3px; color: #1d2a3d; }
.vak-logo-red { color: var(--vak-red); }
.vak-logo-type small { display: block; margin-top: 5px; font-size: 10px; color: #8b95a5; font-weight: 600; letter-spacing: .15px; }
.vak-nav { display: flex; flex-direction: column; gap: 3px; }
.vak-nav-item { display: flex; align-items: center; min-height: 43px; gap: 11px; padding: 9px 13px; font-size: 13px; line-height: 1.25; font-weight: 650; color: #657386; border-radius: 10px; }
.vak-nav-item--active { background: #fff0f0; color: #e23545; font-weight: 780; }
.vak-nav-item--placeholder { color: #637184; }
.vak-nav-icon { display: inline-flex; flex: 0 0 20px; align-items: center; justify-content: center; width: 20px; color: #a0aaba; font-size: 21px; line-height: 1; font-weight: 400; }
.vak-nav-item--active .vak-nav-icon { color: var(--vak-red); }
.vak-mobile-topbar { display: none; }

/* Main column */
.vak-main { min-width: 0; max-width: 1730px; width: 100%; padding: 29px clamp(20px, 2.35vw, 43px) 66px; margin: 0 auto; }
.vak-search-wrap { display: flex; align-items: center; gap: 13px; height: 64px; padding: 0 20px; background: #fff; border: 1px solid #e8edf4; box-shadow: 0 7px 30px #193d6d09; border-radius: 15px; }
.vak-search-icon { display: flex; align-items: center; color: #8390a2; }
.vak-search-wrap input { flex: 1 1 auto; min-width: 0; width: 100%; color: #24334a; font-size: 15px; background: transparent; border: 0; outline: 0; box-shadow: none !important; padding: 0; height: 100%; }
.vak-search-wrap input::placeholder { color: #a0aabb; opacity: 1; }
.vak-search-hint { display: inline-block; color: #9ba7b8; font-size: 11px; font-weight: 650; white-space: nowrap; background: #f5f7fa; border-radius: 7px; padding: 6px 9px; }
.vak-categories { display: flex; align-items: center; gap: 9px; overflow-x: auto; scrollbar-width: none; margin-top: 18px; padding-bottom: 4px; }
.vak-categories::-webkit-scrollbar { display: none; }
.vak-category { flex: 0 0 auto; padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid #e9edf2; color: #6c798b; font-size: 12px; font-weight: 760; transition: color .15s, background .15s, border-color .15s; box-shadow: 0 3px 8px #1b355006; }
.vak-category:hover { color: #e83f4a; border-color: #f5c4c8; }
.vak-category--active { color: #fff; background: var(--vak-red); border-color: var(--vak-red); box-shadow: 0 4px 14px #f0444f2f; }
.vak-category--active:hover { color: #fff; border-color: var(--vak-red-dark); }

/* Rotating main advertising slot */
.vak-hero { position: relative; margin-top: 23px; border-radius: 22px; isolation: isolate; overflow: hidden; box-shadow: 0 16px 35px #182d4c12; }
.vak-hero-slide { position: relative; display: grid; grid-template-columns: 1.38fr 1fr; min-height: 300px; padding: 39px 48px 53px; overflow: hidden; color: #fff; }
.vak-hero-slide--red { background: linear-gradient(111deg,#f04454 0%,#ef6270 58%,#ff9c88 100%); }
.vak-hero-slide--blue { background: linear-gradient(112deg,#234b93 0%,#3975c6 60%,#86c2e8 100%); }
.vak-hero-slide--purple { background: linear-gradient(108deg,#6c4fc0 0%,#9a70cf 62%,#dd9bb7 100%); }
.vak-hero-copy { z-index: 2; position: relative; padding-top: 4px; max-width: 590px; }
.vak-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 850; line-height: 1.2; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; opacity: .93; }
.vak-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #ffffff32; }
.vak-hero h1 { margin-top: 18px; font-size: clamp(27px, 2.8vw, 46px); font-weight: 875; line-height: 1.13; letter-spacing: -1.6px; color: #fff; }
.vak-hero p { margin-top: 14px; max-width: 425px; font-size: 14px; line-height: 1.7; font-weight: 500; color: #fff; opacity: .92; }
.vak-hero-note { display: inline-block; margin-top: 21px; padding: 8px 11px; background: #ffffff24; border: 1px solid #ffffff43; border-radius: 8px; color: #fff; font-size: 11px; font-weight: 750; }
.vak-hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-width: 0; }
.vak-art-glow { position: absolute; top: 4%; left: 23%; width: 240px; height: 240px; border-radius: 50%; background: #ffffff2f; filter: blur(10px); }
.vak-art-ticket { z-index: 2; display: flex; justify-content: center; align-items: flex-start; flex-direction: column; gap: 11px; width: min(290px,75%); aspect-ratio: 1.47; padding: 24px 26px; transform: rotate(-10deg) translate(-9px,-5px); border-radius: 21px; background: linear-gradient(130deg,#ffffffeb,#fff9); backdrop-filter: blur(12px); box-shadow: 0 23px 45px #17263c34; color: #e74253; }
.vak-art-ticket small { font-size: 10px; font-weight: 850; letter-spacing: 2.3px; }
.vak-art-ticket strong { font-size: clamp(27px, 3.7vw, 55px); font-weight: 900; line-height: .95; letter-spacing: -2px; }
.vak-art-ticket > span { color: #627188; font-size: 13px; font-weight: 700; }
.vak-art-orbit { position: absolute; border: 2px solid #ffffff55; border-radius: 50%; }
.vak-art-orbit--one { width: 350px; height: 350px; right: -20px; top: -75px; }
.vak-art-orbit--two { width: 245px; height: 245px; right: 53px; top: -30px; }
.vak-carousel-controls { position: absolute; z-index: 3; left: 48px; bottom: 19px; right: 29px; display: flex; justify-content: space-between; align-items: center; }
.vak-carousel-dots { display: flex; gap: 7px; }
.vak-carousel-dot { width: 7px; height: 7px; min-width: 7px; padding: 0; border: 0; border-radius: 20px; background: #ffffff77; transition: width .2s, background .2s; }
.vak-carousel-dot--active { width: 25px; background: #fff; }
.vak-carousel-arrows { display: flex; gap: 7px; }
.vak-carousel-arrows button { display: grid; place-items: center; width: 32px; height: 32px; background: #ffffff38; border: 1px solid #ffffff44; color: #fff; border-radius: 50%; font-family: inherit; font-size: 26px; font-weight: 400; line-height: 1; padding: 0 0 4px; }
.vak-carousel-arrows button:hover { background: #ffffff66; }

/* 2 x 3 medium ads */
.vak-section { margin-top: 34px; }
.vak-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.vak-section-overline { display: block; margin-bottom: 4px; color: #ec4a59; font-size: 10px; font-weight: 860; letter-spacing: 1.8px; }
.vak-section h2 { color: #1a293d; font-size: clamp(21px,1.9vw,27px); line-height: 1.24; font-weight: 850; letter-spacing: -.8px; }
.vak-section-label { padding-bottom: 3px; color: #939eb0; font-size: 11px; font-weight: 650; text-align: right; }
.vak-promos-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.vak-promo { position: relative; min-height: 164px; padding: 23px 22px; overflow: hidden; isolation: isolate; border-radius: var(--vak-radius); border: 1px solid #00000005; }
.vak-promo::after { content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; top: -55px; right: -55px; border-radius: 50%; background: #ffffff77; }
.vak-promo--mint { background: #ddf4ed; color: #174e40; }
.vak-promo--lavender { background: #e7e4fb; color: #483d91; }
.vak-promo--peach { background: #ffe6d9; color: #9b4e2f; }
.vak-promo--sky { background: #dfedf9; color: #295985; }
.vak-promo--butter { background: #fff1c8; color: #87611d; }
.vak-promo--lilac { background: #f0e5f5; color: #704b82; }
.vak-promo-text { position: relative; z-index: 2; width: 77%; }
.vak-promo-tag { display: inline-block; font-size: 9px; font-weight: 850; letter-spacing: 1px; opacity: .72; }
.vak-promo h3 { max-width: 235px; margin-top: 14px; font-size: clamp(17px,1.5vw,23px); font-weight: 820; line-height: 1.14; letter-spacing: -.6px; color: inherit; }
.vak-promo p { margin-top: 9px; font-size: 11px; opacity: .81; font-weight: 730; }
.vak-promo-illustration { position: absolute; right: 3%; bottom: -4px; transform: rotate(-11deg); font-size: clamp(64px,6.5vw,115px); line-height: 1.17; filter: drop-shadow(0 10px 10px #00000019); }

/* Dense six-across desktop product cards */
.vak-products { margin-top: 36px; }
.vak-product-count { display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; margin-left: 5px; border-radius: 8px; background: #e9edf3; color: #718196; font-size: 13px; vertical-align: 3px; letter-spacing: 0; }
.vak-products-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 13px; }
.vak-product { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e9edf2; border-radius: 13px; box-shadow: 0 5px 14px #1f365008; transition: transform .15s, box-shadow .15s; }
.vak-product:hover { transform: translateY(-3px); box-shadow: 0 14px 25px #1c344017; }
.vak-product-media { display: flex; align-items: center; justify-content: center; position: relative; height: clamp(105px,10.6vw,166px); margin: 7px 7px 0; overflow: hidden; background: #f3f7fc; border-radius: 9px; }
.vak-product-media--hrana { background: #eef5e8; }
.vak-product-media--elektronika { background: #edf1fa; }
.vak-product-media--dom { background: #fbf0e9; }
.vak-product-media--oblacila { background: #f7ebf2; }
.vak-product-media--vozila { background: #eef3f8; }
.vak-product-media--gradnja { background: #edeff2; }
.vak-product-media--vrt { background: #edf6ec; }
.vak-product-media--sport { background: #eaf3f9; }
.vak-product-media--lepota { background: #f7edf4; }
.vak-product-media--ostalo { background: #f3edf7; }
.vak-discount { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 5px 7px; background: #ed4856; border-radius: 6px; color: #fff; font-size: 10px; font-weight: 850; line-height: 1; white-space: nowrap; }
.vak-product-emoji { font-size: clamp(47px,4.4vw,76px); line-height: 1; transform: translateY(7px); filter: drop-shadow(0 11px 9px #4d51651c); }
.vak-product-demo { position: absolute; right: 7px; bottom: 7px; color: #758094; background: #ffffffc9; border-radius: 4px; font-size: 8px; font-weight: 850; letter-spacing: 1px; padding: 3px 5px; }
.vak-product-info { padding: 13px 12px 14px; }
.vak-product-group { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #9ca7b7; font-size: 10px; font-weight: 750; }
.vak-product h3 { height: 38px; margin-top: 6px; color: #253449; font-size: 12px; font-weight: 760; line-height: 1.46; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vak-product-prices { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 11px; }
.vak-product-prices strong { font-size: clamp(15px,1.23vw,19px); line-height: 1.2; font-weight: 900; letter-spacing: -.6px; color: #e73c4d; white-space: nowrap; }
.vak-product-prices del { color: #a1aab7; font-size: 10px; white-space: nowrap; }
.vak-product-store { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 9px; color: #818fa1; border-top: 1px solid #f1f3f7; font-size: 10px; font-weight: 680; }
.vak-store-dot { flex: 0 0 6px; height: 6px; background: #7ec3ae; border-radius: 50%; }
.vak-no-results { padding: 38px 20px; margin-top: 15px; background: #fff; border-radius: 12px; text-align: center; color: #6d7788; }
.vak-demo-disclaimer { margin-top: 23px; color: #99a3b0; font-size: 11px; text-align: center; }

@media (max-width: 1210px) {
  .vak-app { grid-template-columns: 224px minmax(0,1fr); }
  .vak-main { padding-left: 24px; padding-right: 24px; }
  .vak-products-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .vak-product-media { height: 145px; }
}
@media (max-width: 1110px) {
  .vak-products-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .vak-promos-grid { gap: 11px; }
  .vak-promo { padding: 19px 15px; }
  .vak-hero-slide { padding-left: 34px; padding-right: 30px; }
  .vak-carousel-controls { left: 34px; }
}
@media (max-width: 900px) {
  .vak-app { display: block; }
  .vak-sidebar { display: none; }
  .vak-mobile-topbar { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 72px; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--vak-line); }
  .vak-mobile-topbar .vak-logo { padding: 0; }
  .vak-mobile-topbar .vak-logo-icon { width: 39px; height: 39px; font-size: 25px; }
  .vak-mobile-topbar .vak-logo-type > span { font-size: 22px; }
  .vak-mobile-menu > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #e7ebf1; border-radius: 10px; font-size: 13px; font-weight: 750; cursor: pointer; }
  .vak-mobile-menu > summary::-webkit-details-marker { display: none; }
  .vak-mobile-menu > summary span { font-size: 17px; }
  .vak-mobile-menu > .vak-nav { position: absolute; z-index: 20; right: 15px; top: 68px; width: min(320px,calc(100vw - 30px)); max-height: 70vh; overflow-y: auto; padding: 12px; background: #fff; border: 1px solid #e5eaf0; box-shadow: 0 20px 35px #152c4b22; border-radius: 15px; }
  .vak-main { padding: 21px 18px 60px; }
  .vak-products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .vak-product-media { height: clamp(130px,19vw,210px); }
  .vak-promos-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .vak-main { padding: 17px 12px 45px; }
  .vak-search-wrap { height: 56px; padding: 0 14px; border-radius: 12px; }
  .vak-search-wrap input { font-size: 13px; }
  .vak-search-hint { display: none; }
  .vak-categories { margin-top: 12px; gap: 7px; }
  .vak-category { padding: 9px 12px; }
  .vak-hero { margin-top: 16px; border-radius: 15px; }
  .vak-hero-slide { display: block; padding: 27px 25px 61px; min-height: 305px; }
  .vak-hero-copy { max-width: 85%; }
  .vak-hero h1 { font-size: clamp(25px,7vw,36px); letter-spacing: -.8px; }
  .vak-hero p { font-size: 12px; }
  .vak-hero-art { position: absolute; right: -50px; bottom: 10px; width: 170px; height: 170px; opacity: .4; }
  .vak-art-ticket { width: 165px; padding: 15px; }
  .vak-art-ticket strong { font-size: 25px; }
  .vak-art-orbit--one { width: 175px; height: 175px; top: 0; right: 0; }
  .vak-art-orbit--two { width: 115px; height: 115px; top: 28px; right: 25px; }
  .vak-carousel-controls { left: 25px; right: 20px; }
  .vak-section { margin-top: 27px; }
  .vak-section-heading { align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 12px; }
  .vak-section-label { text-align: left; }
  .vak-promos-grid { gap: 10px; }
  .vak-promo { padding: 16px 13px; min-height: 148px; border-radius: 12px; }
  .vak-promo-text { width: 91%; }
  .vak-promo h3 { margin-top: 12px; font-size: 17px; }
  .vak-promo-illustration { right: 0; bottom: -9px; opacity: .55; font-size: 75px; }
  .vak-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .vak-product-media { height: clamp(120px,33vw,192px); }
  .vak-product-info { padding: 10px 9px 12px; }
  .vak-product-prices strong { font-size: 17px; }
}
@media (max-width: 360px) {
  .vak-mobile-topbar { padding-left: 12px; padding-right: 12px; }
  .vak-logo-type small { display: none; }
  .vak-hero-slide { padding-right: 18px; }
  .vak-promo { min-height: 148px; }
  .vak-product-media { height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .vak-app *, .vak-app *::before, .vak-app *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* v0.2.0 - live database portal, not demonstration products. */
.vak-app a { text-decoration: none; }
.vak-app a:focus-visible,.vak-app select:focus-visible { outline: 3px solid #ffb8bc; outline-offset: 2px; }
.vak-nav-item { text-decoration: none; }
.vak-nav a.vak-nav-item:hover { color: var(--vak-red-dark); background: #fff0f0; }
.vak-nav-item--placeholder { font-weight: 500; opacity: .55; cursor: not-allowed; }
.vak-nav-item--placeholder small { margin-left: auto; font-size: 9px; white-space: nowrap; }
.vak-preview-banner { padding: 13px 18px; border-radius: 12px; background: #fff8e8; border: 1px solid #eadca9; color: #6d4c18; font-size: 13px; margin-bottom: 18px; }
.vak-filter-form { display: block; }
.vak-search-submit { flex: none; border: 0; background: var(--vak-red); color: #fff; font-weight: 800; font-size: 13px; padding: 10px 17px; border-radius: 9px; }
.vak-search-submit:hover,.vak-filter-apply:hover { background: var(--vak-red-dark); }
.vak-filter-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 11px; }
.vak-filter-controls label { color: #657386; font-weight: 650; font-size: 12px; }
.vak-filter-controls select { border: 1px solid #e1e7ef; background: white; color: #26344d; padding: 8px 10px; border-radius: 9px; font-size: 12px; max-width: 240px; }
.vak-filter-apply { background: #26344d; color: #fff; font-size: 12px; border: 0; padding: 9px 13px; border-radius: 9px; }
.vak-filter-reset { color: #657386; font-size: 12px; font-weight: 650; padding: 8px 5px; }
.vak-category { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.vak-category:focus-visible { outline: 3px solid #ffb8bc; outline-offset: 2px; }
.vak-stores-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.vak-store-chip { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 15px 14px; background: #fff; border: 1px solid #e8edf3; border-radius: 13px; color: #253449; box-shadow: 0 5px 14px #1f365008; }
.vak-store-chip:hover { border-color: #f3bec4; color: #d92f3e; }
.vak-store-chip > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.vak-store-chip strong { overflow-wrap: anywhere; font-size: 13px; }
.vak-store-chip small { font-size: 11px; color: #8a96a7; }
.vak-store-chip-icon { background: #f9eef0; color: #e34452; font-size: 22px; display: grid; place-items: center; border-radius: 9px; width: 40px; height: 40px; flex: 0 0 40px; }
.vak-stores-grid > .vak-no-results { grid-column: 1/-1; margin: 0; }
.vak-product-image { width: 100%; height: 100%; padding: 13px; object-fit: contain; }
.vak-product-info { display: flex; flex-direction: column; }
.vak-product-prices { margin-top: 12px; }
.vak-product-store { margin-top: auto; }
.vak-product-info h3 { margin-bottom: 12px; height: auto; min-height: 38px; overflow-wrap: anywhere; }
.vak-unit { display: block; font-size: 10px; color: #8792a1; margin-bottom: 9px; }
.vak-validity { font-size: 10px; color: #728198; margin-top: 6px; }
.vak-shop-link { display: block; margin-top: 12px; padding: 8px 6px; border-radius: 7px; background: #fce9ec; color: #b82e3e; text-align: center; font-size: 10px; font-weight: 800; }
.vak-shop-link:hover { background: #f7d1d7; color: #981d2f; }
.vak-internal-state { font-size: 10px; color: #977334; margin-top: 8px; }
.vak-pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 30px; font-size: 13px; color: #657386; }
.vak-pagination a { padding: 9px 14px; background: #fff; border: 1px solid #e0e5ed; border-radius: 9px; color: #26344d; font-weight: 750; }
.vak-pagination a:hover { background: #fce9ec; }
@media(max-width:1210px){.vak-stores-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.vak-stores-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.vak-search-submit{padding:9px 10px;}.vak-filter-controls{gap:8px;}.vak-filter-controls select{max-width:170px;}.vak-stores-grid{gap:9px;}}
@media(max-width:380px){.vak-stores-grid{grid-template-columns:1fr;}}

/* v0.2.1: larger price comparison and administrator-only source image QA. */
.vak-product-media .vak-product-emoji { position: relative; z-index: 0; }
.vak-product-media .vak-product-image {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: contain; padding: 8px; background: #fff;
  border-radius: 8px;
}
.vak-product-media .vak-product-demo { z-index: 3; }
.vak-product-demo--unverified {
  max-width: calc(100% - 14px); padding: 4px 6px;
  background: #fff5e1; color: #87520e; letter-spacing: .25px;
  font-size: 8px; line-height: 1.2;
}
.vak-product-prices--clear {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px; min-height: 57px; margin-top: 9px;
}
.vak-product-prices--clear .vak-price-old {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 7px; font-size: 11px; color: #5b6b80; font-weight: 730;
}
.vak-product-prices--clear .vak-price-old del {
  font-size: 13px; font-weight: 800; color: #687588; text-decoration-thickness: 1.5px;
}
.vak-product-prices--clear .vak-price-now {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
}
.vak-product-prices--clear .vak-price-now span {
  color: #586980; font-size: 10px; font-weight: 800;
}
.vak-product-prices--clear .vak-price-now strong {
  color: #dc253b; font-size: clamp(18px,1.5vw,22px);
  line-height: 1.22; font-weight: 900;
}
@media (max-width:640px) {
  .vak-product-prices--clear .vak-price-now strong { font-size: 20px; }
}

/* v0.2.3: tighter product-to-price rhythm and merchant readability.
   Presentation only: rights checks and external image policy remain in PHP. */
.vak-product-info h3 {
  height: auto;
  min-height: 0;
  margin-top: 5px;
  margin-bottom: 3px;
  line-height: 1.36;
}
.vak-product-prices--clear {
  margin-top: 3px;
  min-height: 0;
  gap: 3px;
}
.vak-product-store {
  font-size: 13px;
  font-weight: 820;
  color: #263a54;
  letter-spacing: 0;
  gap: 8px;
}
.vak-product-store .vak-store-dot {
  flex: 0 0 8px;
  height: 8px;
}
@media (max-width: 640px) {
  .vak-product-store { font-size: 12px; }
  .vak-product-info h3 { margin-bottom: 2px; }
}

/* v0.2.4: fixed action baseline per grid row and a real 2x discount label.
   No change to pricing, image licensing, merchant URLs or public guards. */
.vak-product {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vak-product-media {
  flex: 0 0 auto;
}
.vak-product-info {
  flex: 1 1 auto;
  min-width: 0;
}
/* Earlier margin-top:auto on the merchant would split the available space. */
.vak-product-store {
  margin-top: 10px;
}
.vak-product-actions {
  margin-top: auto;
  padding-top: 12px;
  min-width: 0;
}
.vak-product-actions .vak-shop-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 38px;
  margin-top: 0;
  white-space: nowrap;
  line-height: 1.15;
}
/* Keep the administrator-only state as one stable line below the button. */
.vak-product-actions .vak-internal-state {
  display: block;
  min-height: 13px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vak-product-media .vak-discount {
  font-size: 20px;
  font-weight: 850;
  padding: 9px 12px;
  line-height: 1.05;
  border-radius: 10px;
}


/* v0.2.5: rotating 2+3+3 discounted offers, responsive, no license changes. */
.vak-rotation { margin-top: 24px; }
.vak-rotation-heading { align-items: center; }
.vak-rotation-controls { display: flex; align-items: center; gap: 12px; color: #68788e; font-size: 12px; font-weight: 700; }
.vak-rotation-toggle { padding: 8px 12px; color: #a83242; background: #fff; border: 1px solid #f4c4cb; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer; }
.vak-rotation-toggle:hover { background: #fff2f4; }
.vak-rotation-toggle:focus-visible { outline: 3px solid #f4b7bd; outline-offset: 2px; }
.vak-rotation-layout { display: flex; flex-direction: column; gap: 14px; }
.vak-rotation-top, .vak-rotation-triple { display: grid; align-items: stretch; gap: 14px; }
.vak-rotation-top { grid-template-columns: repeat(2, minmax(0,1fr)); }
.vak-rotation-triple { grid-template-columns: repeat(3, minmax(0,1fr)); }
.vak-rotation-slot { min-width: 0; display: flex; }
.vak-rotation-slot > .vak-product { width: 100%; min-height: 100%; }
/* Top pair is larger and horizontal at desktop widths. */
.vak-rotation-top .vak-product { display: grid; grid-template-columns: minmax(0, 43%) minmax(0,1fr); min-height: 246px; }
.vak-rotation-top .vak-product-media { height: auto; min-height: 220px; margin: 10px 0 10px 10px; }
.vak-rotation-top .vak-product-info { padding: 18px 17px; }
.vak-rotation-top .vak-product h3 { font-size: clamp(14px, 1.25vw, 19px); line-height: 1.3; }
.vak-rotation-top .vak-product-prices--clear .vak-price-now strong { font-size: clamp(21px, 1.8vw, 28px); }
.vak-rotation-top .vak-shop-link { min-height: 41px; }
.vak-rotation-triple .vak-product-media { height: clamp(155px, 15vw, 216px); }
.vak-rotation-triple .vak-product-info { padding: 13px 14px 15px; }
.vak-rotation-triple .vak-product h3 { font-size: 13px; }
.vak-rotation-triple .vak-product-prices--clear .vak-price-now strong { font-size: clamp(19px, 1.35vw, 24px); }
.vak-rotation-empty { flex: 1; min-height: 215px; display: grid; place-items: center; background: #fff; border: 1px dashed #e4e8ef; border-radius: 13px; color: #8995a5; }
.vak-rotation-footnote { margin-top: 13px !important; color: #687b91; font-size: 12px; }
.vak-rotation-footnote a { font-weight: 800; color: #bd2d41; }
@media (max-width: 1170px) {
  .vak-rotation-top .vak-product { grid-template-columns: 40% minmax(0,1fr); min-height: 224px; }
  .vak-rotation-top .vak-product-media { min-height: 200px; }
}
@media (max-width: 880px) {
  .vak-rotation-top .vak-product { display: flex; flex-direction: column; min-height: 0; }
  .vak-rotation-top .vak-product-media { height: 200px; min-height: 0; margin: 7px 7px 0; }
  .vak-rotation-top .vak-product-info { padding: 12px 13px 14px; }
  .vak-rotation-triple .vak-product-media { height: 170px; }
  .vak-rotation-triple .vak-product-info { padding: 12px 11px; }
}
@media (max-width: 670px) {
  .vak-rotation-controls { align-items: flex-start; flex-direction: column; gap: 5px; }
  .vak-rotation-layout, .vak-rotation-top, .vak-rotation-triple { gap: 10px; }
  .vak-rotation-top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vak-rotation-triple { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vak-rotation-top .vak-product-media, .vak-rotation-triple .vak-product-media { height: clamp(115px,30vw,200px); }
  .vak-rotation-top .vak-product h3 { font-size: 13px; }
  .vak-rotation-top .vak-product-prices--clear .vak-price-now strong { font-size: 20px; }
  .vak-rotation-top .vak-product-info { padding: 10px 9px 12px; }
  .vak-rotation-triple .vak-product-info { padding: 10px 9px 12px; }
  .vak-rotation-slot .vak-product-media .vak-discount { font-size: 16px; padding: 7px 8px; }
}
@media (max-width: 400px) {
  .vak-rotation-top { grid-template-columns: 1fr; }
  .vak-rotation-top .vak-product { display: grid; grid-template-columns: 40% minmax(0,1fr); }
  .vak-rotation-top .vak-product-media { height: auto; min-height: 185px; margin: 7px 0 7px 7px; }
  .vak-rotation-top .vak-product h3 { font-size: 12px; }
  .vak-rotation-slot .vak-shop-link { font-size: 9px; }
}

/* v0.2.6: all four lower catalogue rows rotate independently. */
.vak-rotation-more { margin-top: 36px; }
.vak-rotation-more-rows { display: flex; flex-direction: column; gap: 14px; }
.vak-rotation-catalog-row { align-items: stretch; }
.vak-rotation-catalog-row .vak-rotation-slot { display: flex; min-width: 0; }
.vak-rotation-catalog-row .vak-product { width: 100%; min-height: 100%; }
.vak-rotation-controls { flex-wrap: wrap; justify-content: flex-end; }
.vak-rotation-controls a { color: #b82f40; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .vak-rotation-catalog-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 670px) {
  .vak-rotation-catalog-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vak-rotation-controls { align-items: flex-start; justify-content: flex-start; }
}
