/* Stránka /merch (layout) + merch formulár (.mf-*) */

/* --- merch.php --- */
#maincontent.merch-page .merch-page-hero-img,
.merch-page-hero-img { display: block; margin-bottom: 1.75rem; }
#maincontent.merch-page .textcontent h1 { margin-bottom: 1.125rem; }
#maincontent.merch-page .textcontent > p {
  margin-bottom: 2rem;
  line-height: 1.72;
}
#maincontent.merch-page .merch-intro-list .mf-outer { margin-bottom: 2.25rem; }
#maincontent.merch-page .merch-intro-list h2 {
  margin-top: 0;
  margin-bottom: 1.125rem;
}
#maincontent.merch-page .merch-intro-list ul {
  margin: 0 0 0 1.1em;
  padding: 0;
}
#maincontent.merch-page .merch-intro-list li { margin-bottom: 0.65em; }
#maincontent.merch-page .merch-intro-list li:last-child { margin-bottom: 0; }
#maincontent.merch-page section {
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  padding-top: 0.25rem;
}
#maincontent.merch-page #preco-my {
  clear: both;
  margin-top: 0;
  padding-top: 3.25rem;
}
#maincontent.merch-page section h2 {
  margin-top: 0;
  margin-bottom: 1.125rem;
}
#maincontent.merch-page section ul {
  margin: 0 0 0 1.1em;
  padding: 0;
}
#maincontent.merch-page section li { margin-bottom: 0.65em; }
#maincontent.merch-page section li:last-child { margin-bottom: 0; }
#maincontent.merch-page #technologie .merch-tech-cta {
  margin-top: 1.35rem;
}

#maincontent.merch-page .homeleft.fullwidth,
#maincontent.merch-page .textcontent {
  box-sizing: border-box;
}
@media screen and (max-width: 900px) {
  #maincontent.merch-page .textcontent h1 {
    line-height: 1.28;
    padding-left: 0;
    padding-right: 0;
  }
  #maincontent.merch-page .textcontent {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  #maincontent.merch-page > section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  #bcid #maincontent.merch-page .homeleft.fullwidth,
  #bcid #maincontent.merch-page .homeleft.fullwidth .textcontent,
  #bcid #maincontent.merch-page > section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
  #bcid #maincontent.merch-page .homeleft.fullwidth .textcontent .mf-outer {
    max-width: 100% !important;
  }
  #maincontent.merch-page {
    padding-bottom: 5rem;
    box-sizing: border-box;
  }
}

/* --- merch-email-formular.php --- */
.mf-outer { max-width: 600px; }
/* Rovnaké ako .malfini-home-filters .catalog-link (textil_eshopy.css) */
.mf-toggle {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0;
  line-height: 50px;
  text-align: center;
  box-sizing: border-box;
  background: #C10000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  font-size: 1.25em;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(193, 0, 0, 0.3);
  font-family: 'Signika', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  -webkit-appearance: none;
  appearance: none;
}
.mf-toggle:hover {
  background: #a00;
  box-shadow: 0 3px 8px rgba(193, 0, 0, 0.4);
}
.mf-toggle:active {
  background: #800;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.mf-toggle.mf-toggle--active {
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
}
a.mf-toggle {
  text-decoration: none;
  color: #fff;
}
a.mf-toggle:visited {
  color: #fff;
}
a.mf-toggle.mf-toggle--soft {
  background: #757575;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
a.mf-toggle.mf-toggle--soft:hover {
  background: #5c5c5c;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}
a.mf-toggle.mf-toggle--soft:active {
  background: #4a4a4a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}
/* siteone #bcid main div { display:block } inak prebije display:none na paneli */
.mf-outer .mf-panel:not(.mf-panel--open) { display: none !important; }
#bcid .mf-outer .mf-panel:not(.mf-panel--open) { display: none !important; }
#bcid .mf-outer .mf-panel.mf-panel--open { display: block !important; }
.mf-wrap { max-width: 600px; border: 2px solid #111; overflow: hidden; }
.mf-header { background: #111; padding: 28px 32px; position: relative; overflow: hidden; }
.mf-header::after { content: ''; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; background: #C10000; transform: rotate(15deg); opacity: 0.15; }
.mf-header h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; }
.mf-header h2 span { color: #C10000; }
.mf-header p { color: #aaa; font-size: 13px; margin-top: 6px; }
.mf-body { padding: 28px 32px; background: #fff; }
.mf-errors { background: #fff5f5; border: 1.5px solid #C10000; padding: 12px 16px; margin-bottom: 20px; font-size: 13px; color: #C10000; }
.mf-errors ul { padding-left: 16px; }
.mf-success { text-align: center; padding: 40px 32px; }
.mf-success h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; text-transform: uppercase; margin: 12px 0 8px; }
.mf-success p { color: #666; font-size: 14px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mf-field { margin-bottom: 18px; }
.mf-field label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: #666; margin-bottom: 6px; }
.mf-field label span { color: #C10000; }
.mf-field input, .mf-field select, .mf-field textarea { width: 100%; padding: 10px 14px; border: 1.5px solid #ddd; font-family: inherit; font-size: 14px; color: #222; background: #fff; transition: border-color 0.2s; outline: none; box-sizing: border-box; }
.mf-field input:focus, .mf-field select:focus, .mf-field textarea:focus { border-color: #C10000; }
.mf-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
.mf-field textarea { resize: vertical; min-height: 90px; }
.mf-radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.mf-radio-group label { display: flex; align-items: center; gap: 6px; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 400; color: #222; cursor: pointer; padding: 7px 14px; border: 1.5px solid #ddd; transition: all 0.15s; }
.mf-radio-group input[type="radio"] { width: auto; padding: 0; border: none; accent-color: #C10000; appearance: auto; -webkit-appearance: radio; }
.mf-section-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 16px; }
.mf-divider { border: none; border-top: 1px solid #eee; margin: 8px 0 20px; }
.mf-submit { width: 100%; padding: 14px; background: #C10000; color: #fff; border: none; font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: background 0.2s; margin-top: 8px; }
.mf-submit:hover { background: #8f0000; }
.mf-note { font-size: 11px; color: #aaa; text-align: center; margin-top: 12px; }
@media (max-width: 500px) {
  .mf-row { grid-template-columns: 1fr; }
  .mf-body { padding: 20px; }
  .mf-header { padding: 20px; }
}
@media (max-width: 640px) {
  .mf-outer {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .mf-toggle {
    height: auto;
    min-height: 48px;
    line-height: 1.3;
    padding: 12px 14px;
    white-space: normal;
    word-break: break-word;
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }
}
