/* 123inkt.nl frontpage clone — rewritten from the live site's computed styles.
   Textures/photos are hotlinked from123inkt.nl; every color, gradient, border
   and font-size below was read directly off the rendered page (getComputedStyle),
   not guessed, so the layout matches 1:1 while the markup/CSS itself is hand-written
   and readable instead of the original's minified 470KB stylesheet. */

:root {
  --blue-darkest: #003366;
  --blue-dark: #336699;
  --blue-mid: #1f7cbd;
  --blue-light: #5998da;
  --page-bg: #d8ebf9;
  --header-bg: #2e88c9;
  --red: #ee0000;
  --btn-yellow: #ffde5b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #000;
  background: var(--page-bg) url("https://www.123inkt.nl/assets/images/layout_page_back.png")
    repeat-x fixed;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* ---------- Box header bar (used on every widget/section title) ---------- */
/* Real site: height is exactly 24px (flex + align-items:center), horizontal
   padding only. Header font-size varies by widget "size": 16px for Webwinkel
   and Winkelwagentje, 14px for main content blocks, 12px for small sidebar
   widgets (Zoek, Mijn 123inkt.nl, Tip!, Nieuwsbrief, Nieuws). */

.box-header {
  background: linear-gradient(
    to bottom,
    var(--blue-light) 0%,
    var(--blue-mid) 33.33%,
    var(--blue-dark) 66.67%,
    var(--blue-darkest) 100%
  );
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.box-header--large {
  font-size: 16px;
}

.box-header--small {
  font-size: 12px;
}

.box-header a {
  color: #fff;
}

/* ---------- Header ---------- */

/* The cloud-texture backgrounds below belong on the CONTENT-WIDTH inner bars
   (.header-top, .top-nav), not on the full-bleed .site-header wrapper — on
   the real site these bars are exactly 1278px wide, centered, sitting on top
   of the page's own light-blue background. Stretching the cloud photo to the
   full browser width (like an earlier version of this file did) massively
   upscales/crops it, so it stops looking like clouds and just reads as a
   smeared blue gradient. */

.site-header {
  background: transparent;
}

.header-top {
  max-width: 1278px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  background-color: var(--header-bg);
  background-image: url("https://www.123inkt.nl/assets/images/backgroundcloud2.b749666b.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}

.header-address,
.header-contact {
  font-size: 11px;
  line-height: 1.2;
}

.header-badges {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-nav {
  max-width: 1278px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: var(--header-bg);
  background-image: url("https://www.123inkt.nl/assets/images/backgroundcloud.a78766b1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0 -96px;
  height: 30px;
}

.top-nav a {
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  white-space: nowrap;
}

.top-nav a:hover {
  text-decoration: underline;
}

.top-nav .nav-login {
  margin-left: auto;
}

.top-nav .flags {
  display: flex;
  gap: 4px;
  padding: 0 12px;
}

/* ---------- Layout ---------- */

.page-wrap {
  position: relative;
}

.layout {
  max-width: 1278px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 183px 1fr 198px;
  gap: 16px;
  padding: 16px;
  align-items: start;
}

.sidebar > * {
  background: #fff;
  border: 1px solid var(--blue-light);
  margin-bottom: 8px;
}

.sidebar > * > .box-body {
  padding: 8px 10px;
}

/* Category nav: rows are flush with the box edges (no ul padding), each row
   has a bottom divider, bold navy text, red arrow-bullet icon. */

.category-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-nav li {
  border-bottom: 1px solid var(--blue-light);
}

.category-nav li a {
  display: block;
  padding: 4px 0 4px 16px;
  color: var(--blue-darkest);
  font-weight: bold;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAICAYAAAArzdW1AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AscCSA1e2mzGgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAc0lEQVQY042OwQ1AQBBFHx2I65w204EWtgYlbAtaUAut0AE316EFl11ZIeGfZvJffh4m6kx0NVEPYKKdiQ5kKWLRAwFogRmYgLnelvaCvsAyWx2BCvD1thzx9ybapBVnontcS1578nwDwg3IfEJ2uwfwJyf+7jU7H5SDmwAAAABJRU5ErkJggg==")
    no-repeat left center;
}

.category-nav li a:hover {
  text-decoration: underline;
}

/* Skyscraper promo banners that sit in the page gutters on wide viewports,
   just outside the 1278px centered layout. Real site positions these with
   `position: absolute` (relative to .page-wrap) so they scroll away with the
   rest of the page — NOT `position: fixed`. Hidden once the viewport is too
   narrow to fit them without overlapping content. */

.side-banner {
  display: none;
}

@media (min-width: 1580px) {
  .side-banner {
    display: block;
    position: absolute;
    top: 140px;
  }

  .side-banner--left {
    left: calc(50% - 639px - 145px);
  }

  .side-banner--right {
    right: calc(50% - 639px - 145px);
  }
}

/* Search + login forms */

.search-form,
.login-form {
  padding: 8px 16px 8px 10px;
}

.search-form input[type="text"],
.login-form input,
.newsletter-widget input {
  width: 100%;
  padding: 4px 6px;
  margin-bottom: 6px;
  border: 1px solid var(--blue-light);
}

.search-form-row {
  display: flex;
  gap: 4px;
}

.search-form-row input {
  flex: 1;
}

.btn {
  background: var(--btn-yellow);
  color: #000;
  border: 1px solid var(--blue-darkest);
  padding: 4px 12px;
  cursor: pointer;
  font-size: 12px;
}

.login-form .forgot-password {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

.badge-section {
  padding: 8px 10px;
}

.badge-section h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: normal;
}

.badge-section h3 a {
  color: var(--blue-dark);
}

.badge-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.rating {
  font-size: 11px;
  text-align: center;
  margin-top: 6px;
}

/* ---------- Main content ---------- */

.main-content {
  min-width: 0;
}

.block {
  background: #fff;
  border: 1px solid var(--blue-dark);
  margin-bottom: 16px;
}

.block .box-body {
  padding: 10px 12px;
}

.block-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.block-half {
  flex: 1;
  margin-bottom: 0;
}

.banner {
  display: block;
  width: 100%;
  height: auto;
}

.delivery-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.delivery-table th,
.delivery-table td {
  padding: 3px 4px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.5);
  text-align: left;
  font-size: 12px;
}

.delivery-table thead th {
  font-weight: bold;
}

.delivery-table tfoot td {
  font-size: 11px;
  border-bottom: none;
  padding-top: 6px;
}

.reasons-list {
  list-style-image: url("https://www.123inkt.nl/images/green_icon.jpg");
  margin: 0;
  padding-left: 20px;
}

.reasons-list li {
  padding: 2px 0;
}

/* ---------- Right sidebar widgets ---------- */

.cart-widget table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.cart-widget th,
.cart-widget td {
  padding: 4px 0;
  border-bottom: 1px solid var(--blue-light);
  text-align: left;
  font-weight: bold;
}

.cart-widget td.center {
  font-weight: normal;
  text-align: center;
}

.cart-widget .total {
  font-weight: bold;
  border-bottom: none;
}

.featured-product .product-title {
  font-weight: bold;
  margin-bottom: 6px;
}

.featured-product .product-image {
  display: block;
  margin: 8px auto;
  max-width: 100%;
}

.featured-product .price {
  color: var(--red);
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

.featured-product .availability {
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}

.order-form {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.order-form input {
  width: 40px;
  padding: 4px;
  border: 1px solid var(--blue-light);
}

.newsletter-widget form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promo-banner {
  display: block;
  margin-bottom: 8px;
}

.news-item {
  margin-bottom: 12px;
}

.news-item time {
  display: block;
  font-size: 11px;
  color: var(--red);
}

.news-item h3 {
  font-size: 11px;
  margin: 2px 0 4px;
  font-weight: bold;
}

.news-item p {
  font-size: 11px;
  margin: 0;
}

.more-news {
  display: block;
  text-align: right;
  font-weight: bold;
  padding: 4px 10px 8px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 3px double var(--blue-light);
  margin-top: 8px;
  padding: 16px 8px 0;
}

.footer-columns {
  max-width: 1278px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
}

.footer-column h3 {
  margin: 0 0 6px;
  font-size: 12px;
}

.footer-column h3 a {
  color: var(--blue-dark);
  font-weight: bold;
}

.footer-column a {
  display: block;
  color: var(--blue-dark);
  font-size: 12px;
  padding: 2px 0;
}

.copyright-bar {
  background: var(--blue-darkest);
  color: #fff;
  text-align: center;
  padding: 6px 0;
  margin-top: 16px;
  font-size: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .header-top {
    flex-wrap: wrap;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}
