/* ===== Złoty Kamień Theme v1.0 — style główny =====
   Paleta: kość słoniowa #fbf8f2, szmaragd #0f3d33, złoto #b8935a, tekst #1e2a26 */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Avenir Next','Segoe UI',sans-serif; background:#fbf8f2; color:#1e2a26; line-height:1.5; }
h1, h2, h3, .logo { font-family:'Palatino Linotype','Book Antiqua',Palatino,serif; font-weight:400; }

/* --- Pasek górny i nagłówek --- */
.topbar { background:#0f3d33; color:#e9dcc3; text-align:center; padding:9px 16px; font-size:13px; }
header { background:#fbf8f2; padding:22px 60px; display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; border-bottom:1px solid #e6dfd2; }
.logo { font-size:30px; color:#0f3d33; }
nav ul { display:flex; gap:6px; list-style:none; }
.filter { background:none; border:1px solid transparent; border-radius:999px; padding:8px 16px; font:inherit; font-size:14px; color:#1e2a26; cursor:pointer; transition:border-color .2s, background .2s; }
.filter:hover { border-color:#b8935a; }
.filter.active { background:#0f3d33; color:#fbf8f2; }
.header-right { display:flex; align-items:center; gap:18px; }
.lang-switcher { display:flex; gap:2px; }
.lang-switcher button { background:none; border:none; padding:6px 8px; font:inherit; font-size:13px; color:#7b8a84; cursor:pointer; border-bottom:2px solid transparent; }
.lang-switcher button.active { color:#0f3d33; border-color:#b8935a; }
.bag-btn { background:none; border:1px solid #0f3d33; color:#0f3d33; padding:9px 16px; border-radius:999px; font:inherit; font-size:14px; cursor:pointer; display:flex; align-items:center; gap:8px; }
.bag-btn:hover { background:#0f3d33; color:#fbf8f2; }
.count { background:#b8935a; color:#fff; border-radius:999px; min-width:22px; padding:1px 7px; font-size:12px; text-align:center; }

/* --- Hero --- */
.hero { display:grid; grid-template-columns:1.1fr .9fr; min-height:480px; background:#0f3d33; color:#fbf8f2; }
.hero-text { padding:90px 60px; display:flex; flex-direction:column; justify-content:center; max-width:640px; }
.hero-text h1 { font-size:54px; line-height:1.08; margin-bottom:22px; color:#e9dcc3; }
.hero-text p { font-size:17px; color:#c9d3cf; margin-bottom:34px; max-width:46ch; }
.hero-text button { align-self:flex-start; background:#b8935a; color:#0f3d33; border:none; padding:15px 34px; border-radius:999px; font:inherit; font-weight:600; cursor:pointer; }
.hero-text button:hover { background:#e9dcc3; }
.hero-stone { display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 50% 45%, #2c6b5c 0%, #0f3d33 62%); }
.hero-stone span { font-size:150px; filter:drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

/* --- Kolekcja --- */
.collection { padding:90px 60px; }
.collection h2 { font-size:38px; color:#0f3d33; margin-bottom:40px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:36px 28px; }
.piece-img { height:260px; background:#f1ebe0; display:flex; align-items:center; justify-content:center; font-size:84px; position:relative; border-radius:4px; }
.badge { position:absolute; top:14px; left:14px; background:#0f3d33; color:#e9dcc3; padding:4px 12px; border-radius:999px; font-size:12px; }
.piece-body { padding:16px 2px 0; }
.piece-body h3 { font-size:21px; margin-bottom:4px; }
.spec { font-size:14px; color:#6b766f; margin-bottom:14px; }
.price-row { display:flex; justify-content:space-between; align-items:center; }
.price { font-size:19px; color:#0f3d33; font-weight:600; }
.add-btn { background:none; border:none; border-bottom:1px solid #b8935a; color:#1e2a26; padding:4px 0; font:inherit; font-size:14px; cursor:pointer; }
.add-btn:hover { color:#b8935a; }

/* --- Gwarancje --- */
.trust { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; padding:70px 60px; background:#f1ebe0; }
.trust h3 { font-size:22px; color:#0f3d33; margin-bottom:8px; }
.trust p { color:#4c5a54; font-size:15px; max-width:34ch; }

/* --- Stopka --- */
footer { background:#0f3d33; color:#c9d3cf; padding:36px 60px; text-align:center; font-size:14px; }

/* --- Menu mobilne --- */
.menu-toggle { display:none; background:none; border:none; font-size:26px; cursor:pointer; color:#0f3d33; }

/* --- Panel koszyka --- */
.cart-overlay { position:fixed; inset:0; background:rgba(15,61,51,.45); z-index:200; }
.cart-drawer { position:fixed; top:0; right:0; height:100%; width:min(420px,100%); background:#fbf8f2; z-index:201; display:flex; flex-direction:column; transform:translateX(100%); visibility:hidden; transition:transform .3s, visibility 0s .3s; }
.cart-drawer.open { transform:none; visibility:visible; transition:transform .3s; }
.cart-head { display:flex; justify-content:space-between; align-items:center; padding:24px 28px; border-bottom:1px solid #e6dfd2; }
.cart-head h2 { font-size:24px; color:#0f3d33; }
.cart-close { background:none; border:none; font-size:30px; line-height:1; cursor:pointer; color:#b8935a; }
.cart-items { list-style:none; flex:1; overflow-y:auto; padding:8px 28px; }
.cart-item { display:grid; grid-template-columns:48px 1fr auto; gap:14px; align-items:center; padding:16px 0; border-bottom:1px solid #e6dfd2; }
.cart-item-icon { font-size:28px; text-align:center; background:#f1ebe0; border-radius:4px; padding:6px 0; }
.cart-item-name { font-family:'Palatino Linotype','Book Antiqua',Palatino,serif; font-size:17px; }
.cart-item-price { color:#6b766f; font-size:14px; }
.qty { display:flex; align-items:center; gap:8px; }
.qty button { width:28px; height:28px; border-radius:50%; border:1px solid #b8935a; background:none; cursor:pointer; color:#0f3d33; }
.qty button:hover { background:#b8935a; color:#fff; }
.cart-empty { color:#6b766f; text-align:center; padding:50px 0; }
.cart-foot { padding:24px 28px; border-top:1px solid #e6dfd2; }
.cart-total { display:flex; justify-content:space-between; font-size:18px; margin-bottom:16px; }
.cart-checkout { width:100%; background:#0f3d33; color:#fbf8f2; border:none; padding:15px; border-radius:999px; font:inherit; font-weight:600; cursor:pointer; }
.cart-checkout:hover { background:#1c5446; }
.cart-checkout:disabled { background:#c7cfcb; cursor:not-allowed; }

/* --- Komunikat --- */
.toast { position:fixed; bottom:24px; left:50%; transform:translate(-50%,20px); background:#0f3d33; color:#e9dcc3; padding:12px 22px; border-radius:999px; opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; z-index:300; }
.toast.show { opacity:1; transform:translate(-50%,0); }

/* --- Dostępność --- */
button:focus-visible, a:focus-visible { outline:2px solid #b8935a; outline-offset:3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition:none !important; scroll-behavior:auto !important; }
}
