/*
Theme Name: Maluszkowe Sny
Theme URI: https://maluszkowesny.pl
Description: Motyw potomny Kadence dla sklepu Maluszkowe Sny – wyprawki dla noworodków szyte na zamówienie.
Author: Digital Business
Template: kadence
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: maluszkowe-sny
*/

/* ------------------------------------------------------------------ */
/* Fonty (lokalnie – bez Google Fonts)                                  */
/* ------------------------------------------------------------------ */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("assets/fonts/nunito-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("assets/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/great-vibes-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/great-vibes-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ */
/* Tokeny marki (te same kolory co w kreatorze)                         */
/* ------------------------------------------------------------------ */

:root {
  --ms-bg: #fbf6f1;
  --ms-surface: #ffffff;
  --ms-surface-2: #f6ede5;
  --ms-ink: #3f2f25;
  --ms-ink-2: #6b5646;
  --ms-line: #e8dccf;
  --ms-accent: #9e5a63;
  --ms-accent-hover: #87474f;
  --ms-accent-soft: #f5e3e2;
  --ms-gold: #b88d52;
  --ms-font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ms-font-head: "Fraunces", Georgia, serif;
  --ms-font-script: "Great Vibes", cursive;
  --ms-radius: 22px;
  --ms-radius-sm: 14px;
  --ms-shadow: 0 1px 2px rgba(63, 47, 37, .05), 0 14px 36px -20px rgba(63, 47, 37, .28);
  --ms-ease: cubic-bezier(.2, .7, .2, 1);
  --ms-wide: min(75vw, 1440px);
  /* Kontener Kadence (nagłówek, podstrony, koszyk) = ta sama szerokość co sekcje i kreator */
  --global-content-width: var(--ms-wide);
}
@media (max-width: 899px) {
  :root { --ms-wide: 100%; --global-content-width: 100%; }
}

body {
  background: var(--ms-bg);
  color: var(--ms-ink);
  font-family: var(--ms-font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.site-title {
  font-family: var(--ms-font-head);
  color: var(--ms-ink);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-variant-ligatures: no-common-ligatures; /* Fraunces łączy „ft” w znak podobny do „ł” */
  letter-spacing: -.015em;
}
.mk-set__title, .mk-tier__name { font-variant-ligatures: no-common-ligatures; }
a { color: var(--ms-accent); }
a:hover { color: var(--ms-accent-hover); }
:focus-visible { outline: 3px solid var(--ms-accent); outline-offset: 2px; }
::selection { background: var(--ms-accent-soft); color: var(--ms-ink); }

/* Kreator dziedziczy fonty motywu (body + ID wygrywa z domyślnymi zmiennymi kreatora) */
body #mk-kreator.mk { --mk-font: var(--ms-font); --mk-font-head: var(--ms-font-head); --mk-bg: var(--ms-bg); padding-top: clamp(24px, 4vw, 56px); }
body #mk-kreator .mk-head h2 { font-weight: 600; }

/* Kremowe tło zamiast białej "kartki" Kadence */
body .content-bg, body .site, body .site-content, body.content-style-unboxed .site, body.content-style-boxed .content-bg { background: var(--ms-bg); }

/* ------------------------------------------------------------------ */
/* Nagłówek                                                             */
/* ------------------------------------------------------------------ */

#masthead .site-header-wrap,
#masthead .site-main-header-wrap .site-header-row-container-inner {
  background: rgba(251, 246, 241, .92);
  backdrop-filter: saturate(1.2) blur(10px);
}
#masthead { border-bottom: 1px solid var(--ms-line); }
.site-branding .custom-logo { border-radius: 50%; }
.site-branding .site-title {
  font-family: var(--ms-font-script);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ms-ink);
}
.site-branding .site-description {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ms-ink-2);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-weight: 600;
  font-size: 16px;
  color: var(--ms-ink);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover { color: var(--ms-accent); }
.main-navigation .primary-menu-container > ul > li.menu-item.ms-menu-cta > a {
  background: var(--ms-accent);
  color: #fff;
  border-radius: 999px;
  padding: .6em 1.2em;
  margin-left: .4em;
}
.main-navigation .primary-menu-container > ul > li.menu-item.ms-menu-cta > a:hover { background: var(--ms-accent-hover); color: #fff; }
.header-cart-wrap .header-cart-button { color: var(--ms-ink); }
.header-cart-wrap .header-cart-total { background: var(--ms-accent); color: #fff; }

/* ------------------------------------------------------------------ */
/* Przyciski i drobne elementy                                          */
/* ------------------------------------------------------------------ */

.wp-block-button__link,
.button, button.button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button,
.wc-block-components-button:not(.is-link) {
  border-radius: 999px !important;
  font-weight: 700;
  transition: background-color .2s var(--ms-ease), transform .15s var(--ms-ease);
}
.wp-block-button__link:active { transform: scale(.98); }
.wp-block-button.is-style-outline > .wp-block-button__link {
  border: 1.5px solid var(--ms-line);
  color: var(--ms-ink);
  background: transparent;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--ms-accent); color: var(--ms-accent); }

.ms-eyebrow {
  font-family: var(--ms-font-script);
  font-size: clamp(26px, 3vw, 34px) !important;
  line-height: 1.1;
  color: var(--ms-gold);
  margin-bottom: 4px !important;
}
.ms-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ms-ink-2); line-height: 1.65; max-width: 36em; }
.ms-note { font-size: 14px; color: var(--ms-ink-2); }

.mk-lead-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--ms-surface); border: 1px solid var(--ms-line);
  font-size: 15px; color: var(--ms-ink);
}
.mk-lead-chip::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5c9a6c;
  box-shadow: 0 0 0 4px rgba(92, 154, 108, .18);
}
.mk-lead-chip.is-off::before { background: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }

/* ------------------------------------------------------------------ */
/* Sekcje strony głównej                                                */
/* ------------------------------------------------------------------ */

.ms-section {
  padding: clamp(56px, 8vw, 112px) var(--global-content-edge-padding, 1.5rem) !important;
  margin: 0 !important;
  background: var(--ms-bg);
}
.ms-section > * { max-width: calc(var(--ms-wide) - 2 * var(--global-content-edge-padding, 1.5rem)); margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 899px) { .ms-section > * { max-width: 100%; } }
.ms-section--tint { background: var(--ms-surface-2); }
.ms-section--white { background: var(--ms-surface); }
.ms-section.ms-section--compact { padding-top: clamp(32px, 4vw, 48px) !important; padding-bottom: clamp(32px, 4vw, 48px) !important; }
.ms-section__head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px) !important; }
.ms-section__head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; margin: 0 0 12px; font-weight: 600; }
.ms-section__head p { color: var(--ms-ink-2); max-width: 38em; margin: 0 auto; font-size: 18px; }

/* Hero */
.ms-hero { padding-top: clamp(36px, 6vw, 88px) !important; overflow: hidden; }
.ms-hero .wp-block-columns { align-items: center !important; gap: clamp(32px, 5vw, 80px); }
.ms-hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  font-weight: 600;
  margin: 0 0 20px;
}
.ms-hero h1 em { font-style: italic; color: var(--ms-accent); font-weight: 500; }
.ms-hero .wp-block-buttons { margin: 28px 0 22px; gap: 12px; }
.ms-hero .wp-block-button__link, .ms-cta .wp-block-button__link { padding: 15px 30px !important; font-size: 17px !important; line-height: 1.3; }
.ms-hero .is-style-outline .wp-block-button__link, .ms-cta .is-style-outline .wp-block-button__link { padding: 13.5px 28.5px !important; }

.ms-collage { position: relative; aspect-ratio: 1 / 1; max-width: 620px; margin: 0 auto !important; }
.ms-collage figure { position: absolute; margin: 0 !important; border-radius: 50%; overflow: hidden; box-shadow: var(--ms-shadow); border: 6px solid var(--ms-surface); }
.ms-collage figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-collage figure:nth-child(1) { width: 62%; aspect-ratio: 1; top: 4%; left: 0; z-index: 2; }
.ms-collage figure:nth-child(2) { width: 46%; aspect-ratio: 1; top: 0; right: 0; z-index: 1; }
.ms-collage figure:nth-child(3) { width: 44%; aspect-ratio: 1; bottom: 0; right: 8%; z-index: 3; }
.ms-collage figure:nth-child(4) { width: 30%; aspect-ratio: 1; bottom: 6%; left: 6%; z-index: 4; }

/* Atuty */
.ms-perks { gap: 16px !important; }
.ms-perks > .wp-block-column {
  background: var(--ms-surface);
  border: 1px solid var(--ms-line);
  border-radius: var(--ms-radius-sm);
  padding: 22px 22px 20px;
}
.ms-perks h3 { font-size: 20px; margin: 14px 0 6px; font-weight: 600; }
.ms-perks p { color: var(--ms-ink-2); font-size: 15.5px; margin: 0; line-height: 1.55; }
.ms-perks > .wp-block-column::before {
  content: ""; display: block; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ms-accent-soft) center / 22px no-repeat;
}
.ms-perks > .ms-ic-needle::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e5a63' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M19 5 7 17M16 5h3v3M7 17l-2 2M9 7c-3 0-5 2-5 4s2 3 4 2 3-4 7-3'/%3E%3C/svg%3E"); }
.ms-perks > .ms-ic-heart::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e5a63' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
.ms-perks > .ms-ic-palette::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e5a63' stroke-width='1.8'%3E%3Ccircle cx='8' cy='9' r='3'/%3E%3Ccircle cx='16' cy='9' r='3'/%3E%3Ccircle cx='12' cy='16' r='3'/%3E%3C/svg%3E"); }
.ms-perks > .ms-ic-gift::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e5a63' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7.5h18V11H3zM12 7.5V20M12 7.5c-1.5-3-5-3.5-5-1.2 0 1.2 2 1.2 5 1.2zm0 0c1.5-3 5-3.5 5-1.2 0 1.2-2 1.2-5 1.2z'/%3E%3C/svg%3E"); }

/* Karty zestawów ([maluszkowe_zestawy]) */
.mk-sets { display: grid; gap: 20px; }
.mk-set {
  display: flex; flex-direction: column; text-decoration: none !important; color: var(--ms-ink) !important;
  background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: var(--ms-radius);
  overflow: hidden; box-shadow: var(--ms-shadow);
  transition: transform .25s var(--ms-ease), box-shadow .25s var(--ms-ease), border-color .25s var(--ms-ease);
}
.mk-set:hover { transform: translateY(-4px); border-color: var(--ms-accent); }
.mk-set__img {
  width: 68%; aspect-ratio: 1; object-fit: cover; display: block; margin: 28px auto 0;
  border-radius: 50%; border: 6px solid var(--ms-surface); box-shadow: 0 0 0 1px var(--ms-line), var(--ms-shadow);
  transform: scale(1); transition: transform .3s var(--ms-ease);
}
.mk-set:hover .mk-set__img { transform: scale(1.03); }
.mk-set__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.mk-set__title { font-family: var(--ms-font-head); font-size: 24px; font-weight: 600; line-height: 1.2; }
.mk-set__desc { color: var(--ms-ink-2); font-size: 16px; }
.mk-set__parts { font-size: 14px; color: var(--ms-ink-2); padding: 10px 12px; background: var(--ms-bg); border-radius: 10px; }
.mk-set__price { font-size: 22px; font-weight: 800; color: var(--ms-accent); margin-top: auto; padding-top: 8px; font-variant-numeric: tabular-nums; }
.mk-set__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ms-accent); }
.mk-set__cta::after { content: "→"; transition: transform .2s var(--ms-ease); }
.mk-set:hover .mk-set__cta::after { transform: translateX(4px); }
.mk-set--custom {
  background: var(--ms-accent-soft);
  border-style: dashed; border-width: 2px; border-color: #dcb9bb;
  justify-content: flex-end;
}
.mk-set--custom::before {
  content: "+"; display: grid; place-items: center;
  width: 68%; aspect-ratio: 1; margin: 28px auto 0; border-radius: 50%;
  border: 2px dashed #d6adb1; color: var(--ms-accent);
  font-family: var(--ms-font-head); font-size: clamp(64px, 7vw, 110px); font-weight: 300; line-height: 1;
  background: rgba(255, 255, 255, .55);
}
.mk-set--custom .mk-set__body { justify-content: flex-end; }
.mk-set--custom .mk-set__title { font-size: 28px; }
.mk-set--custom .mk-set__cta { margin-top: 8px; }

/* Jak zamawiać */
.ms-steps { counter-reset: ms-step; gap: 16px !important; }
.ms-steps > .wp-block-column { position: relative; padding: 28px 24px 24px; background: var(--ms-surface); border-radius: var(--ms-radius-sm); border: 1px solid var(--ms-line); }
.ms-steps > .wp-block-column::before {
  counter-increment: ms-step; content: counter(ms-step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ms-accent); color: #fff; font-family: var(--ms-font-head); font-weight: 600; font-size: 20px;
  margin-bottom: 14px;
}
.ms-steps h3 { font-size: 21px; margin: 0 0 6px; font-weight: 600; }
.ms-steps p { color: var(--ms-ink-2); margin: 0; font-size: 16px; }

/* Materiały ([maluszkowe_materialy]) */
.mk-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mk-tier { display: grid; align-content: start; gap: 6px; padding: 22px; border-radius: var(--ms-radius-sm); background: var(--ms-surface); border: 1px solid var(--ms-line); }
.mk-tier img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }
.mk-tier__name { font-family: var(--ms-font-head); font-weight: 600; font-size: 20px; }
.mk-tier__desc { color: var(--ms-ink-2); font-size: 15.5px; }

/* Galeria */
.ms-gallery.wp-block-gallery { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px) !important; }
.ms-gallery.wp-block-gallery .wp-block-image { width: auto !important; margin: 0 !important; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--ms-shadow); border: 6px solid var(--ms-surface); }
.ms-gallery.wp-block-gallery .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
@media (min-width: 782px) { .ms-gallery.wp-block-gallery { grid-template-columns: repeat(4, 1fr); } }

/* O mnie */
.ms-about .wp-block-columns { align-items: center !important; gap: clamp(28px, 5vw, 72px); }
.ms-about__img { border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--ms-shadow); border: 8px solid var(--ms-surface); max-width: 480px; margin: 0 auto !important; }
.ms-about__img img { width: 100%; height: 100%; object-fit: cover; }
.ms-about h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 600; margin: 0 0 16px; }
.ms-about p { color: var(--ms-ink-2); font-size: 17.5px; line-height: 1.7; }
.ms-signature { font-family: var(--ms-font-script); font-size: 40px !important; color: var(--ms-gold) !important; margin-top: 8px !important; }

/* FAQ */
.ms-faq { max-width: 860px !important; }
.ms-faq .wp-block-details {
  background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: var(--ms-radius-sm);
  padding: 0; margin: 0 0 12px !important;
}
.ms-faq .wp-block-details summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 17.5px; color: var(--ms-ink);
}
.ms-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.ms-faq .wp-block-details summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ms-accent-soft); color: var(--ms-accent); font-weight: 700; transition: transform .2s var(--ms-ease);
}
.ms-faq .wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ms-faq .wp-block-details > :not(summary) { padding: 0 22px 20px; margin: 0; color: var(--ms-ink-2); }

/* CTA na końcu */
.ms-cta {
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #fff 0%, var(--ms-accent-soft) 70%) !important;
  border-radius: 32px;
  padding: clamp(40px, 6vw, 80px) 24px !important;
}
.ms-cta img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 8px; }
.ms-cta h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; font-weight: 600; margin: 0 0 12px; }
.ms-cta p { color: var(--ms-ink-2); font-size: 18px; }
.ms-cta .wp-block-buttons { justify-content: center; margin-top: 24px; }


/* ------------------------------------------------------------------ */
/* Podstrony tekstowe (regulamin, polityka, kontakt)                    */
/* ------------------------------------------------------------------ */

.ms-doc { max-width: 820px; margin: 0 auto; }
.ms-doc h2 { font-size: 26px; margin: 2.2em 0 .6em; font-weight: 600; }
.ms-doc h3 { font-size: 20px; margin: 1.6em 0 .5em; }
.ms-doc p, .ms-doc li { line-height: 1.75; color: var(--ms-ink); }
.ms-doc ol, .ms-doc ul { padding-left: 1.3em; }
.ms-todo { background: #fff3c4; padding: 0 .25em; border-radius: 4px; }
.ms-contact-cards { gap: 16px !important; }
.ms-contact-cards > .wp-block-column { background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: var(--ms-radius-sm); padding: 24px; }
.ms-contact-cards h3 { font-size: 18px; margin: 0 0 6px; }
.ms-contact-cards p { margin: 0; font-size: 18px; }

.entry-hero .entry-title, .entry-header .entry-title { font-weight: 600; }

/* ------------------------------------------------------------------ */
/* Stopka                                                               */
/* ------------------------------------------------------------------ */

.ms-footer { background: var(--ms-ink); color: #e9ddd2; padding: 64px var(--global-content-edge-padding, 1.5rem) 28px; }
.ms-footer a { color: #fff; text-decoration: none; }
.ms-footer a:hover { color: var(--ms-accent-soft); text-decoration: underline; }
.ms-footer__inner { max-width: calc(var(--ms-wide) - 2 * var(--global-content-edge-padding, 1.5rem)); margin: 0 auto; display: grid; gap: 36px; }
.ms-footer__brand { display: flex; gap: 16px; align-items: center; }
.ms-footer__brand img { width: 84px; height: 84px; border-radius: 50%; }
.ms-footer__name { font-family: var(--ms-font-script); font-size: 38px; line-height: 1; color: #fff; }
.ms-footer__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #cdbcad; margin-top: 6px; }
.ms-footer h2 { font-family: var(--ms-font); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #cdbcad; margin: 0 0 14px; font-weight: 700; }
.ms-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ms-footer__bottom { max-width: calc(var(--ms-wide) - 2 * var(--global-content-edge-padding, 1.5rem)); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: #bfae9f; }

/* ------------------------------------------------------------------ */
/* WooCommerce – koszyk i checkout w klimacie marki                     */
/* ------------------------------------------------------------------ */

.woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius: var(--ms-radius-sm); }
.mk-lead-notice { padding: 14px 18px !important; margin: 0 0 24px !important; border-radius: var(--ms-radius-sm) !important; background: var(--ms-surface) !important; border: 1px solid var(--ms-line) !important; border-left: 4px solid var(--ms-gold) !important; color: var(--ms-ink) !important; }
.wc-block-cart, .wc-block-checkout { --wc-radius: 14px; }
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button { background: var(--ms-accent) !important; color: #fff !important; }
.wc-block-components-product-metadata { font-size: 14px; color: var(--ms-ink-2); }

/* ------------------------------------------------------------------ */
/* Responsywność                                                        */
/* ------------------------------------------------------------------ */

@media (min-width: 700px) {
  .mk-sets { grid-template-columns: repeat(2, 1fr); }
  .mk-tiers { grid-template-columns: repeat(2, 1fr); }
  .ms-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .mk-sets { grid-template-columns: repeat(3, 1fr); }
  .mk-tiers { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 781px) {
  .ms-hero .wp-block-column:last-child { order: -1; }
  .ms-collage { max-width: 420px; }
  .site-branding .site-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
