/*
Theme Name: Przechowane
Theme URI: https://przechowane.pl/
Author: Przechowane
Description: Samodzielny motyw zachowujący referencyjne proporcje Fiorello. Nie wymaga buildera.
Version: 0.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: przechowane
License: GPL-2.0-or-later
*/
@font-face { font-family:Montserrat; src:url('assets/fonts/Montserrat-variable.ttf') format('truetype'); font-weight:100 900; font-style:normal; font-display:swap; }
@font-face { font-family:'Playfair Display'; src:url('assets/fonts/PlayfairDisplay-variable.ttf') format('truetype'); font-weight:400 900; font-style:normal; font-display:swap; }
:root { --paper:#fff; --ink:#2b2b2b; --body:#6d6a6a; --nav:#1b1b1b; --accent:#f34f3f; --muted:#afafaf; --footer:#fefaf3; --rule:#e8e8e8; --content:1100px; }
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:0; font-family:Montserrat,Arial,sans-serif; font-size:15px; line-height:1.6; color:var(--body); background:var(--paper); }
img,svg,video,iframe { max-width:100%; height:auto; }
a { color:var(--ink); text-decoration:none; }
a:hover { color:var(--accent); }
button,input,textarea,select { font:inherit; }
.comment-form textarea { display:block; width:100%; max-width:100%; }
button { cursor:pointer; }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
::selection { background:#f9dcd8; color:var(--ink); }
h1,h2,h3,h4,h5,h6 { color:var(--ink); font-family:'Playfair Display',Georgia,serif; font-weight:400; line-height:1.35; overflow-wrap:anywhere; }
h1 { font-size:clamp(2.3rem,4.5vw,3.25rem); margin:0 0 24px; }
h2 { font-size:clamp(1.8rem,3vw,38px); margin:0 0 20px; }
h3 { font-size:1.5rem; }
p { margin:0 0 1.5em; }
.site-shell { width:min(var(--content),calc(100% - 80px)); margin-inline:auto; }
.screen-reader-text { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }
.screen-reader-text:focus { clip-path:none; width:auto; height:auto; padding:8px; background:#fff; }
.skip-link { position:fixed; top:-100px; left:12px; z-index:10000; padding:12px 20px; background:var(--paper); }
.skip-link:focus { top:12px; }
.site-header { position:relative; z-index:20; background:#fff; border-bottom:1px solid var(--rule); }
.site-header__inner { min-height:100px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.site-brand { flex:0 1 auto; min-width:0; }
.site-brand__text,.site-footer__brand a { font-family:'Playfair Display',Georgia,serif; font-size:27px; color:var(--ink); white-space:nowrap; }
.site-brand img { max-height:82px; width:auto; }
.site-nav { margin-left:auto; }
.site-nav ul { display:flex; align-items:center; flex-wrap:wrap; list-style:none; margin:0; padding:0; }
.site-nav li { position:relative; }
.site-nav a { display:block; padding:16px 15px; color:var(--nav); font-size:12px; font-weight:500; line-height:22px; letter-spacing:.1em; text-transform:uppercase; }
.site-nav a:hover,.site-nav .current-menu-item > a,.site-nav .current_page_item > a { color:var(--accent); }
.site-nav li ul { display:none; position:absolute; top:100%; left:0; min-width:210px; background:#fff; border:1px solid var(--rule); box-shadow:0 8px 18px rgb(43 43 43 / .07); }
.site-nav li:hover > ul,.site-nav li:focus-within > ul { display:block; }
.site-nav li ul a { padding:10px 18px; }
.menu-toggle { display:none; gap:10px; align-items:center; border:1px solid var(--rule); background:transparent; padding:11px 13px; color:var(--nav); font-size:12px; text-transform:uppercase; letter-spacing:.1em; }
.menu-toggle__bars { display:block; width:19px; height:14px; border-top:2px solid currentColor; border-bottom:2px solid currentColor; position:relative; }
.menu-toggle__bars::after { content:''; position:absolute; left:0; right:0; top:5px; border-top:2px solid currentColor; }
.site-main { min-height:55vh; padding-block:68px 95px; }
.page-heading { margin-bottom:42px; }
.page-heading h1,.page-title { margin-bottom:14px; }
.page-heading::after,.single-entry__header::after { content:''; display:block; width:46px; height:2px; background:var(--accent); margin-top:23px; }
.post-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:58px 42px; }
.post-card { min-width:0; }
.post-card__image { display:block; margin-bottom:24px; }
.post-card__image img { display:block; width:100%; height:auto; }
.entry-meta { color:var(--muted); font-size:11px; font-weight:500; letter-spacing:.08em; margin:0 0 13px; }
.entry-meta a { color:inherit; }
.post-card__title { font-size:clamp(1.6rem,2.5vw,2.25rem); margin:0 0 14px; }
.post-card__excerpt p { margin:0 0 15px; }
.text-link { display:inline-block; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; border-bottom:1px solid var(--accent); padding-bottom:4px; }
.page-article,.single-entry,.comments-area { max-width:820px; margin-inline:auto; }
.single-entry__header { margin-bottom:32px; }
.single-entry__image { margin-bottom:32px; }
.entry-content { overflow-wrap:anywhere; }
.entry-content > * { max-width:100%; }
.entry-content a { text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:3px; }
.entry-content h2,.entry-content h3 { margin-top:1.6em; }
.entry-content blockquote { margin:28px 0; padding:8px 24px; border-left:3px solid var(--accent); font-family:'Playfair Display',Georgia,serif; font-size:1.4rem; color:var(--ink); }
.entry-content .alignwide { max-width:1100px; width:min(1100px,calc(100vw - 80px)); margin-left:50%; transform:translateX(-50%); }
.entry-content .alignfull { max-width:100vw; width:100vw; margin-left:50%; transform:translateX(-50%); }
.entry-content pre,.entry-content table { max-width:100%; overflow:auto; }
.empty-state { border:1px solid var(--rule); padding:32px; max-width:700px; }
.empty-state p { margin:0; }
.navigation.pagination,.post-navigation { margin:58px 0 0; }
.nav-links { display:flex; gap:12px; flex-wrap:wrap; }
.page-numbers,.post-navigation a { display:inline-block; padding:7px 11px; border:1px solid var(--rule); }
.page-numbers.current { color:#fff; background:var(--ink); }
.search-form { margin:24px 0 35px; max-width:570px; }
.search-form label { display:block; margin-bottom:8px; }
.search-form__row { display:flex; }
.search-form input { flex:1; min-width:0; border:1px solid var(--rule); padding:12px; }
.search-form button { border:1px solid var(--ink); background:var(--ink); color:#fff; padding:10px 18px; }
.comment-list { padding-left:20px; }
.site-footer { background:var(--footer); }
.site-footer__inner { padding-block:73px 50px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:24px 50px; }
.site-footer__widgets { flex:1 1 220px; }
.site-footer__nav ul { display:flex; flex-wrap:wrap; list-style:none; gap:10px 20px; margin:0; padding:0; }
.site-footer__nav a,.site-footer__note { font-size:12px; color:var(--body); }
.site-footer__note { width:100%; margin:0; }
/* Visual Woo layer only: no template override for checkout, payment or orders. */
.woocommerce ul.products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; padding:0; margin:0 0 42px; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display:none; }
.woocommerce ul.products li.product { width:auto !important; float:none !important; margin:0 !important; min-width:0; }
.woocommerce ul.products li.product img { width:100%; height:auto; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:'Playfair Display',Georgia,serif; font-size:20px; font-weight:400; color:var(--ink); }
.woocommerce ul.products li.product .price { color:var(--muted); font-size:12px; }
.woocommerce .button,.woocommerce button.button,.woocommerce input.button { border-radius:0; background:var(--ink); color:#fff; font-size:12px; letter-spacing:.05em; }
.woocommerce .button:hover,.woocommerce button.button:hover { background:var(--accent); color:#fff; }
.woocommerce .quantity input.qty { width:5em; }
.woocommerce div.product div.images img { height:auto; }
@media (max-width:1024px) { .site-shell { width:min(calc(100% - 50px),900px); } .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:768px) {
  .site-shell { width:calc(100% - 40px); }
  .site-header__inner { min-height:76px; flex-wrap:wrap; gap:8px; }
  .site-brand__text { font-size:23px; }
  .menu-toggle { display:flex; margin-left:auto; }
  .site-nav { display:none; order:3; width:100%; margin:0; padding-bottom:14px; }
  .site-nav.is-open { display:block; }
  .site-nav ul { display:block; }
  .site-nav a { padding:12px 0; border-top:1px solid var(--rule); }
  .site-nav li ul { display:block; position:static; box-shadow:none; border:0; min-width:0; padding-left:20px; }
  .site-main { padding-block:44px 65px; }
  .post-grid { grid-template-columns:1fr; gap:54px; }
  .site-footer__inner { padding-block:55px 40px; }
  .entry-content .alignwide { width:calc(100vw - 40px); }
}
@media (max-width:480px) { .site-shell { width:calc(100% - 32px); } .site-brand__text { font-size:21px; } .woocommerce ul.products { grid-template-columns:1fr; } .search-form__row { flex-wrap:wrap; gap:8px; } .search-form button { width:100%; } .entry-content .alignwide { width:calc(100vw - 32px); } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* visual047: restore HOME proportions without changing blog, posts or catalogue.
   The first recovered builder row is the existing two-heading introduction. */
body.home .page-article { max-width:none; }
body.home .page-article > .page-title {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
body.home .site-main { padding-top:38px; }
body.home .entry-content > p:empty { display:none; }
body.home .entry-content > .prze-builder-vc_row:first-of-type {
  max-width:820px; margin-inline:auto; margin-bottom:24px;
}
body.home .entry-content > .prze-builder-vc_row:first-of-type .prze-builder-heading {
  font-size:21px; line-height:1.55; margin:0 0 18px;
}
body.home .entry-content > .prze-builder-vc_row:first-of-type .prze-builder-heading:last-child { margin-bottom:0; }
@media (max-width:480px) {
  .site-header__inner { min-height:84px; flex-wrap:wrap; column-gap:8px; row-gap:0; }
  .site-brand img { display:block; width: min(220px, calc(100vw - 150px)); max-height:none; height:auto; }
  .menu-toggle { min-height:44px; min-width:44px; justify-content:center; }
  body.home .site-main { padding-top:24px; }
  body.home .entry-content > .prze-builder-vc_row:first-of-type .prze-builder-heading {
    font-size:18px; line-height:1.55; margin-bottom:14px;
  }
}
