@charset "UTF-8";
/*
Theme Name: CSSC Elegant
Theme URI: https://example.com/
Author: Kamil
Description: Prosty i elegancki motyw dla porównywarki CSS (Comparison Shopping Service). Lekki, szybki, bez zbędnych zależności.
Version: 1.0.8
License: GNU General Public License v2 or later
Text Domain: cssc-elegant
*/
:root {
  --bg: #f7f7f7;
  --panel: #ffffff;
  --panel2: #f3f3f3;
  --border: #e3e3e3;
  --text: #111111;
  --muted: #444444;
  --muted2: #666666;
  --brand: #FFE900;
  --brand2: #ffd500;
  --header-bg: #292929;
  --header-text: #ffffff;
  --ok: #34d399;
  --bad: #fb7185;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius2: 20px;
  --max: 1100px;
  --pad: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at 18% -10%, rgba(255, 233, 0, 0.22) 0%, transparent 55%), radial-gradient(circle at 85% 0%, rgba(0, 0, 0, 0.05) 0%, transparent 55%), linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.55;
}

a {
  color: inherit;
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  background: var(--header-bg);
  border-bottom: 1px solid #3a3a3a;
  color: var(--header-text);
}
.site-header a {
  color: var(--header-text);
}
.site-header a:hover {
  color: var(--brand);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 260px;
  height: auto;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(14px 14px at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.brand-title {
  font-weight: 750;
  letter-spacing: 0.2px;
}

.nav {
  display: block;
}
.nav .menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav .menu li {
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(560px, 100%);
}
.searchbar select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #111111;
  outline: none;
  font: inherit;
  line-height: 1.2;
  padding: 12px 44px 12px 14px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23AAB0BB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
}

select:focus {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

option {
  color: #111111;
}

.filters {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: end;
}

/* Controls: inputs & selects (filters) */
.filters select,
.filters input[type=text],
.filters input[type=number],
.cssc-filter-form select,
.cssc-filter-form input[type=text],
.cssc-filter-form input[type=number] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #111111;
  outline: none;
  font: inherit;
  line-height: 1.2;
}

.filters select,
.cssc-filter-form select {
  padding-right: 44px !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23AAB0BB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 18px 18px !important;
}

.filters select:focus,
.cssc-filter-form select:focus,
.filters input:focus,
.cssc-filter-form input:focus {
  border-color: rgba(0, 0, 0, 0.25) !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}

.filters select option,
.cssc-filter-form select option {
  background-color: #ffffff;
  color: #111111;
}

.cssc-filter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
}

.cssc-filter-form input,
.cssc-filter-form select {
  border-radius: 14px !important;
  border: 1px solid #d8d8d8 !important;
  background: #ffffff !important;
  color: #111111 !important;
  padding: 12px 44px 12px 14px !important;
}

.cssc-filter-form input {
  padding: 12px 14px !important;
}

.cssc-filter-form select {
  background-position: right 14px center !important;
}

.filters .f-6 {
  grid-column: span 6;
}

.filters .f-4 {
  grid-column: span 4;
}

.filters .f-3 {
  grid-column: span 3;
}

.filters .f-2 {
  grid-column: span 2;
}

.filters .f-12 {
  grid-column: span 12;
}

.filters label {
  display: block;
  font-size: 12px;
  color: var(--muted2);
  margin: 0 0 6px 2px;
}

@media (max-width: 980px) {
  .filters {
    grid-template-columns: repeat(6, 1fr);
  }
  .filters .f-6 {
    grid-column: span 6;
  }
  .filters .f-4 {
    grid-column: span 6;
  }
  .filters .f-3 {
    grid-column: span 6;
  }
  .filters .f-2 {
    grid-column: span 6;
  }
}
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #111111;
  outline: none;
  font: inherit;
  line-height: 1.2;
}

.searchbar input::-moz-placeholder {
  color: #888888;
}

.searchbar input::placeholder {
  color: #888888;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.12s ease, border-color 0.12s ease;
  font-size: 15px;
  line-height: normal;
}
.btn:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-1px);
}

.btn-primary {
  border: 1px solid #d5c800;
  background: #FFE900;
  color: #111111;
}
.btn-primary:hover {
  border-color: #cdbf00;
  background: #ffef33;
  color: #000;
}

.hero {
  padding: 44px 0 18px 0;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .searchbar {
    width: 100%;
  }
  .nav {
    display: none;
  }
}
.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.card-pad {
  padding: 18px;
}

.kicker {
  color: var(--muted2);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.h1 {
  margin: 10px 0 10px 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1040px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  transition: transform 0.1s ease, border-color 0.12s ease, background 0.12s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: #FFE900;
  background: #ffffff;
}

.product-thumb {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-thumb-img {
  max-height: 140px;
  width: auto;
}

.product-title {
  font-weight: 650;
  line-height: 1.25;
}

.price {
  font-weight: 750;
  letter-spacing: -0.01em;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f6f6f6;
  color: #555555;
  font-size: 12px;
  width: -moz-fit-content;
  width: fit-content;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid #3a3a3a;
  background: var(--header-bg);
  color: var(--header-text);
}
.site-footer a {
  color: var(--header-text);
}

.footer-inner {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #d0d0d0;
  font-size: 13px;
}

.small {
  font-size: 13px;
  color: #666666;
}

.notice {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #eadf78;
  background: #fff8b5;
  color: #4a4300;
}

.notice-mt {
  margin-top: 12px;
}

/* --- Pagination --- */
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
}

.pager a.page-numbers:hover {
  background: #fff6a5;
  border-color: #FFE900;
  transform: translateY(-1px);
}

.pager .page-numbers.current {
  background: #FFE900;
  border-color: #d5c800;
  font-weight: 750;
  color: #111111;
}

/* --- CSSC pages (search + product) --- */
.section-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #111111;
}

.section-title--inline {
  margin: 0;
}

.products-section {
  margin-top: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.card-mt {
  margin-top: 12px;
}

.filters-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
}

.filters-meta {
  margin-top: 10px;
}

.grid-mt {
  margin-top: 12px;
}

.kv {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.kv strong {
  color: #111111;
  font-weight: 650;
}

.product-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
}

@media (max-width: 920px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}
.media {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media img {
  max-height: 360px;
  width: auto;
}

.offer-list {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.offer-row + .offer-row {
  border-top: 1px solid var(--border);
}

.offer-merchant {
  font-weight: 650;
  line-height: 1.25;
}

.offer-meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.offer-right {
  text-align: right;
  min-width: 160px;
}

.offer-price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.offer-actions {
  margin-top: 8px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: #666666;
  font-size: 13px;
}
.breadcrumbs a {
  text-decoration: none;
  color: #333333;
}
.breadcrumbs a:hover {
  color: var(--brand);
}

.site-header .header-inner {
  display: block;
  padding: 14px 0;
}

.header-top {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.header-top .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
}

.btn-ghost {
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
}

.btn-ghost:hover {
  background: #000000;
  border-color: #000000;
}

.nav-row {
  width: 100%;
  margin-top: 13px;
}

.header-top .searchbar {
  width: 100%;
}

.cssc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.cssc-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cssc-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.cssc-modal-card {
  background: #fff;
  width: min(560px, 100%);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 20px;
}

.cssc-modal-card,
.cssc-modal-card * {
  color: #111;
}

.cssc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cssc-modal-title {
  font-size: 20px;
  margin: 0;
}

.cssc-modal-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cssc-modal-form {
  display: grid;
  gap: 12px;
}

.cssc-modal-form label {
  font-size: 12px;
  opacity: 0.75;
}

.cssc-modal-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.cssc-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
}

.cssc-modal-note {
  font-size: 12px;
  opacity: 0.7;
  margin: 0;
}

@media (max-width: 980px) {
  .header-top {
    grid-template-columns: 1fr;
  }
  .header-cta {
    justify-self: start;
  }
}/*# sourceMappingURL=style.css.map */