/* Ručná Krása — shared styles (design tokens ported 1:1 from the Claude Design project) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #faf6f0; color: #2e2620; font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: #b0603c; text-decoration: none; }
a:hover { color: #8f4a2c; }
::selection { background: #e9c9b3; color: #2e2620; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* image fill for photo slots (replaces the design's striped placeholders) */
.ph { position: relative; overflow: hidden; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* product / blog cards: hover lift (was style-hover in the design) */
.card { transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(46, 38, 32, .12); }
.lift { transition: transform .2s; }
.lift:hover { transform: translateY(-4px); }

.navlink { cursor: pointer; }
.navlink.active { color: #b0603c; }
header nav a { color: #2e2620; }
header nav a:hover { color: #b0603c; }
footer a { color: inherit; }
footer a:hover { color: #f3e7d8; }

.btn-add { border: none; cursor: pointer; }
.zoom { transition: transform .5s ease; }
.ph:hover .zoom { transform: scale(1.05); }

/* add-to-cart toast */
#rk-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #2e2620; color: #f3e7d8; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 14px 30px rgba(46, 38, 32, .3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 300; }
#rk-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* cookie banner (hidden until JS decides) */
#cookie-banner { display: none; }

/* fake-form success message */
.form-success { background: #eef3e8; border: 1px solid #cdddb9; color: #4a5f3a; border-radius: 12px; padding: 16px 18px; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; animation: fadeIn .3s ease; }
.form-error { color: #b23b2e; font-size: 13px; margin: 2px 0 10px; display: none; }
.field-invalid { border-color: #d9836f !important; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; padding-top: 40px !important; }
  .story-grid { grid-template-columns: 1fr !important; gap: 32px !important; padding: 48px 24px !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .cart-grid { grid-template-columns: 1fr !important; }
  .product-grid { grid-template-columns: 1fr !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .h1-hero { font-size: 44px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
}
@media (max-width: 620px) {
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .h1-hero { font-size: 34px !important; }
  .trust-bar { justify-content: flex-start !important; }
  .hstat { gap: 20px !important; }
  header nav { gap: 14px !important; font-size: 13.5px !important; }
  .hide-sm { display: none !important; }
  .cart-line { flex-wrap: wrap !important; }
}
