/*
Theme Name: Storefront Reisegepäck Weiss
Theme URI: https://woocommerce.com/storefront/
Description: Helles, weisses Storefront Child Theme für einen WooCommerce-Reisegepäck-Shop mit dezenten blauen und korallfarbenen Akzenten.
Author: OpenAI
Template: storefront
Version: 1.1.0
Text Domain: storefront-reisegepaeck
*/

:root {
  --travelix-blue: #164e9a;
  --travelix-blue-dark: #0b315d;
  --travelix-coral: #ff7043;
  --travelix-yellow: #ffd166;
  --travelix-ink: #202936;
  --travelix-muted: #657487;
  --travelix-bg: #f5f7fa;
  --travelix-border: #e4eaf1;
  --travelix-radius: 16px;
}

body { color: var(--travelix-ink); }
a { color: var(--travelix-blue); }
a:hover { color: var(--travelix-coral); }
button, input[type="button"], input[type="reset"], input[type="submit"], .button, .added_to_cart {
  background-color: var(--travelix-blue);
  border-color: var(--travelix-blue);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .added_to_cart:hover {
  background-color: var(--travelix-coral);
  border-color: var(--travelix-coral);
  color: #fff;
}
.site-header { border-bottom: 1px solid var(--travelix-border); }
.site-branding .site-title a { color: var(--travelix-blue-dark); font-weight: 800; }
.main-navigation ul li a { font-weight: 650; }
.woocommerce-active .site-header .site-header-cart .cart-contents { color: var(--travelix-blue-dark); }

/* Front page */
.travelix-home { width: 100%; }
.travelix-home .entry-header { display: none; }
.travelix-home .travelix-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 400px;
  margin: 0 0 30px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 0 0 var(--travelix-radius) var(--travelix-radius);
  background: linear-gradient(105deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 36%, rgba(255,255,255,.03) 68%), url('assets/hero-banner.jpg') center right / cover no-repeat, linear-gradient(120deg, #dbeaf8, #f7b07b);
}
.travelix-hero__content { position: relative; z-index: 1; max-width: 560px; }
.travelix-hero__eyebrow { margin: 0 0 14px; color: #e95327; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.travelix-hero h1 { max-width: 540px; margin: 0 0 16px; color: var(--travelix-blue-dark); font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 850; line-height: 1.02; letter-spacing: -.04em; }
.travelix-hero__description { max-width: 450px; margin: 0 0 24px; color: #20354c; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.travelix-home .travelix-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 23px; border: 0; border-radius: 999px; background: var(--travelix-coral); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(255,112,67,.22); }
.travelix-home .travelix-cta:hover { background: var(--travelix-blue); color: #fff; transform: translateY(-1px); }
.travelix-section { margin: 30px 0; }
.travelix-section__heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.travelix-section__heading h2 { margin: 0; color: var(--travelix-blue-dark); font-size: clamp(1.5rem, 2.7vw, 2.15rem); font-weight: 800; }
.travelix-section__heading p { margin: 4px 0 0; color: var(--travelix-muted); }
.travelix-categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.travelix-category { min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 13px; color: #fff; text-decoration: none !important; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.travelix-category:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,49,93,.13); }
.travelix-category:nth-child(1) { background: linear-gradient(135deg, #246db0, #78bde3); }
.travelix-category:nth-child(2) { background: linear-gradient(135deg, #ed5e3f, #ff9d73); }
.travelix-category:nth-child(3) { background: linear-gradient(135deg, #0b315d, #328cc2); }
.travelix-category:nth-child(4) { background: linear-gradient(135deg, #1e5868, #65b7b1); }
.travelix-category:nth-child(5) { background: linear-gradient(135deg, #ffd166, #ffad39); color: #202936; }
.travelix-category__icon { font-size: 2rem; line-height: 1; }
.travelix-category__title { margin: 0; font-size: 1.12rem; font-weight: 800; }
.travelix-category__sub { margin: 3px 0 0; font-size: .86rem; opacity: .94; }
.travelix-products { padding: 4px 0; }
.travelix-home .travelix-products .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.travelix-home .travelix-products .woocommerce ul.products::before,
.travelix-home .travelix-products .woocommerce ul.products::after { display: none; content: none; }
.travelix-home .travelix-products .woocommerce ul.products li.product {
  float: none; width: auto; margin: 0; padding: 12px;
  border: 1px solid var(--travelix-border); border-radius: 13px;
  background: #fff; overflow: hidden;
  box-shadow: 0 4px 16px rgba(11,49,93,.045);
  transition: transform .18s ease, box-shadow .18s ease;
}
.travelix-home .travelix-products .woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,49,93,.10); }
.travelix-home .travelix-products .woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 6px; margin-bottom: 12px; border-radius: 9px; background: var(--travelix-bg); }
.travelix-home .travelix-products .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.7em; color: var(--travelix-ink); font-size: .98rem; font-weight: 750; }
.travelix-home .travelix-products .woocommerce ul.products li.product .price { color: var(--travelix-blue); font-size: 1.08rem; font-weight: 800; }
.travelix-home .travelix-products .woocommerce ul.products li.product .button { display: block; padding: 11px 9px; text-align: center; }
.travelix-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 34px 0 10px; padding: 22px; border: 1px solid var(--travelix-border); border-radius: 14px; background: #f7f9fc; }
.travelix-benefit { display: flex; gap: 11px; align-items: center; }
.travelix-benefit__icon { flex: 0 0 auto; font-size: 1.7rem; }
.travelix-benefit strong { display: block; color: var(--travelix-blue-dark); font-size: .96rem; }
.travelix-benefit span { display: block; color: var(--travelix-muted); font-size: .83rem; }
.travelix-shop-link { display: inline-block; font-weight: 750; text-underline-offset: 4px; }

@media (max-width: 980px) {
  .travelix-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .travelix-home .travelix-products .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travelix-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travelix-home .travelix-hero { min-height: 360px; background-position: center right 32%; }
}
@media (max-width: 600px) {
  .travelix-home .travelix-hero { min-height: 340px; padding: 28px 20px; background-image: linear-gradient(100deg, rgba(255,255,255,.97), rgba(255,255,255,.78)), url('assets/hero-banner.jpg'); background-position: center right; }
  .travelix-hero h1 { font-size: 2.35rem; }
  .travelix-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .travelix-category { min-height: 120px; padding: 14px; }
  .travelix-home .travelix-products .woocommerce ul.products { gap: 10px; }
  .travelix-home .travelix-products .woocommerce ul.products li.product { padding: 8px; }
  .travelix-home .travelix-products .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .88rem; }
  .travelix-home .travelix-products .woocommerce ul.products li.product .button { font-size: .78rem; line-height: 1.25; }
  .travelix-benefits { grid-template-columns: 1fr; padding: 16px; }
}


/* WHITE EDITION: clean white surfaces with restrained blue/coral accents */
:root {
  --travelix-blue: #165b96;
  --travelix-blue-dark: #17344e;
  --travelix-coral: #ff7043;
  --travelix-yellow: #ffd166;
  --travelix-ink: #253443;
  --travelix-muted: #697887;
  --travelix-bg: #ffffff;
  --travelix-border: #e7edf2;
}

html, body, #page, .site, .site-content, .content-area, .site-main,
.site-header, .site-footer, .site-info, .storefront-primary-navigation,
.main-navigation, .secondary-navigation {
  background-color: #fff;
}
body { color: var(--travelix-ink); }
.site-header { border-bottom: 1px solid #e7edf2; }
.site-footer { border-top: 1px solid #e7edf2; color: var(--travelix-ink); }
.site-footer, .site-footer a, .site-info, .site-info a { color: var(--travelix-ink); }
.site-footer a:hover, .site-info a:hover { color: var(--travelix-coral); }
.main-navigation ul li a, .secondary-navigation ul li a { color: var(--travelix-ink); }
.main-navigation ul li a:hover, .secondary-navigation ul li a:hover { color: var(--travelix-coral); }

.travelix-home { background: #fff; }
.travelix-home .travelix-hero {
  border-radius: 12px;
  border: 1px solid #edf1f5;
  box-shadow: 0 8px 30px rgba(23, 52, 78, .06);
  background: linear-gradient(100deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.93) 36%, rgba(255,255,255,.08) 72%), url('assets/hero-banner.jpg') center right / cover no-repeat, #fff;
}
.travelix-hero__eyebrow { color: #e85d32; }
.travelix-hero h1 { color: #17344e; }
.travelix-hero__description { color: #33495d; }
.travelix-section__heading h2 { color: #17344e; }

/* White category cards instead of colored tiles */
.travelix-category,
.travelix-category:nth-child(1),
.travelix-category:nth-child(2),
.travelix-category:nth-child(3),
.travelix-category:nth-child(4),
.travelix-category:nth-child(5) {
  position: relative;
  min-height: 132px;
  color: var(--travelix-ink);
  background: #fff;
  border: 1px solid #e7edf2;
  border-radius: 13px;
  box-shadow: 0 3px 12px rgba(23, 52, 78, .035);
}
.travelix-category::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--travelix-blue);
  border-radius: 13px 0 0 13px;
}
.travelix-category:nth-child(2)::before,
.travelix-category:nth-child(5)::before { background: var(--travelix-coral); }
.travelix-category:nth-child(3)::before { background: var(--travelix-yellow); }
.travelix-category:hover,
.travelix-category:nth-child(n):hover {
  color: var(--travelix-blue-dark);
  background: #fff;
  border-color: #cad9e7;
  box-shadow: 0 9px 22px rgba(23, 52, 78, .08);
}
.travelix-category__title { color: var(--travelix-blue-dark); }
.travelix-category__sub { color: var(--travelix-muted); opacity: 1; }
.travelix-category__icon { color: var(--travelix-blue); }

.travelix-home .travelix-products .woocommerce ul.products li.product {
  background: #fff;
  border-color: #e7edf2;
  box-shadow: 0 3px 14px rgba(23, 52, 78, .035);
}
.travelix-home .travelix-products .woocommerce ul.products li.product:hover {
  box-shadow: 0 10px 24px rgba(23, 52, 78, .09);
}
.travelix-home .travelix-products .woocommerce ul.products li.product a img {
  background: #fff;
  border: 1px solid #f0f3f6;
}
.travelix-home .travelix-products .woocommerce ul.products li.product .woocommerce-loop-product__title { color: #253443; }
.travelix-home .travelix-products .woocommerce ul.products li.product .price { color: #165b96; }
.travelix-home .travelix-products .woocommerce ul.products li.product .button {
  background: #165b96;
  border-color: #165b96;
  color: #fff;
}
.travelix-home .travelix-products .woocommerce ul.products li.product .button:hover {
  background: #ff7043;
  border-color: #ff7043;
  color: #fff;
}
.travelix-benefits {
  background: #fff;
  border: 1px solid #e7edf2;
  box-shadow: 0 3px 14px rgba(23, 52, 78, .025);
}
.travelix-benefit strong { color: #17344e; }
.travelix-benefit span { color: #697887; }
.travelix-shop-link { color: #165b96; }
.travelix-shop-link:hover { color: #ff7043; }

@media (max-width: 600px) {
  .travelix-home .travelix-hero {
    border-radius: 10px;
    background-image: linear-gradient(100deg, rgba(255,255,255,.98), rgba(255,255,255,.86)), url('assets/hero-banner.jpg');
  }
}
