/*
Theme Name: 074KU Dutch Velvet Shop Slider
Theme URI: https://www.074ku.ai
Author: NotYouAgain Studio + ChatGPT
Description: European Dutch design shop theme for 074KU.AI – stacked scoreboard logo, orange blocks, cold grey velvet background. Part of the NotYouAgain network by Alfons Scholing.
Version: 1.1.0
Text Domain: 074ku-dutch-velvet-shop-slider
*/

:root {
  --bg-dark: #7a8697;
  --bg-light: #c7d0db;
  --orange: #ff6f00;
  --orange-soft: #ff8c26;
  --text-main: #111217;
  --text-muted: #4b4f56;
  --panel: rgba(255,255,255,0.82);
  --border-soft: rgba(0,0,0,0.08);
  --font-display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-main);
  background:
    linear-gradient(45deg, #7a8697 0%, #c7d0db 70%, #d6dde7 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

/* Sidebar: logo + menu */
.site-sidebar {
  padding: 1.75rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.site-logo {
  width: 100%;
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.site-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* Orange block menu */
.side-nav {
  width: 100%;
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.side-nav li {
  margin: 0;
}

.side-nav a {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--orange);
  color: #ffffff;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
  transition: background 120ms ease-out, transform 120ms ease-out, box-shadow 120ms ease-out;
}

.side-nav a:hover,
.side-nav .current-menu-item > a,
.side-nav .current_page_item > a,
.side-nav .current-menu-ancestor > a {
  background: var(--orange-soft);
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.3);
}

/* Main content */
.site-main {
  padding: 1.75rem 1.75rem 2.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Header strip inside main */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.main-title-block {
  max-width: 60ch;
}

.main-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-subtitle {
  margin-top: 0.4rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.main-meta {
  font-size: 0.8rem;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* Panel for content */
.panel {
  border-radius: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  box-shadow:
    0 14px 28px rgba(0,0,0,0.08),
    0 1px 0 rgba(255,255,255,0.6);
  padding: 1.4rem 1.5rem 1.6rem;
}

/* Home hero text */
.hero-copy {
  font-size: 0.98rem;
  max-width: 58ch;
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 0;
  border: 1px solid var(--text-main);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: transparent;
}

.btn-outline--solid {
  background: #ffffff;
}

.btn-outline:hover {
  background: #111217;
  color: #ffffff;
}

/* Generic page / Woo wrappers */
.main-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-inner {
  width: 100%;
}

.main-inner h1 {
  margin-top: 0;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-inner p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-main);
}

/* WooCommerce basic tweaks */
.woocommerce .products ul,
.woocommerce ul.products {
  margin: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: rgba(255,255,255,0.92);
  border-radius: 0.6rem;
  border: 1px solid var(--border-soft);
  padding: 0.9rem;
}

.woocommerce ul.products li.product .button {
  border-radius: 0;
  background: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.woocommerce div.product .button.single_add_to_cart_button {
  border-radius: 0;
  background: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.woocommerce span.onsale {
  border-radius: 0;
  background: var(--text-main);
}

/* Footer */
.site-footer {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .site-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-sidebar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
  }
  .site-logo {
    max-width: 260px;
  }
  .side-nav {
    max-width: 60%;
  }
  .side-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .side-nav a {
    font-size: 0.7rem;
    padding: 0.5rem 0.8rem;
  }
}

@media (max-width: 640px) {
  .site-sidebar {
    flex-direction: column;
    align-items: flex-start;
  }
  .side-nav {
    width: 100%;
  }
}

/* Blog article title links – Helvetica Neue Black Condensed */
.main-shell .main-inner article h2,
.main-shell .main-inner article h2 a {
  font-family: "Helvetica Neue Black Condensed", "Helvetica Neue", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 900;
}


/* Single article featured image */
.entry-thumbnail {
  margin: 1.5rem 0;
}
.entry-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Embedded product cards inside articles */
.article-product-card {
  margin: 2rem 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 1.25rem;
}
.article-product-card__image img {
  width: 100%;
  height: auto;
  display: block;
}
.article-product-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.article-product-card__title a {
  text-decoration: none;
  color: var(--text-main);
}
.article-product-card__title a:hover {
  text-decoration: underline;
}
.article-product-card__price {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.article-product-card__cta {
  margin-top: 0.25rem;
}

/* Stack the card on small screens */
@media (max-width: 640px) {
  .article-product-card {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Product slider – latest 13 products */
.product-slider {
  width: 100%;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}

.product-slider-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  animation: product-slider-scroll 30s linear infinite;
}

.product-slider-track:hover {
  animation-play-state: paused;
}

.product-slide-item {
  display: inline-block;
  margin-right: 0.75rem;
}

.product-slide-item img {
  display: block;
  height: 100px;
  width: auto;
  border-radius: 4px;
}

@keyframes product-slider-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Slider loop + layout fixes */
.product-slider {
  width: 100%;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}

.product-slider-track {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 200%;
  animation: product-slider-scroll 45s linear infinite;
}

.product-slider-track:hover {
  animation-play-state: paused;
}

.product-slide-item {
  flex: 0 0 auto;
  display: inline-block;
  margin-right: 0.75rem;
}

.product-slide-item img {
  display: block;
  height: 110px;
  width: auto;
  border-radius: 4px;
}

/* Redefine keyframes for smooth infinite loop */
@keyframes product-slider-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
