:root {
  --fm-red: #e30613;
  --fm-red-dark: #b90012;
  --fm-green: #00ff88;
  --fm-bg: #030607;
  --fm-card: #111518;
  --fm-card-2: #181c20;
  --fm-border: #343a40;
  --fm-text: #f7f8f9;
  --fm-muted: #a8b0bb;
  --fm-width: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--fm-bg); color: var(--fm-text); }
body.fmshop {
  margin: 0;
  background: var(--fm-bg);
  color: var(--fm-text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.fmshop-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #ec0015 0%, #d9061b 100%);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
body.admin-bar .fmshop-header { top: 32px; }
.fmshop-header-inner {
  width: min(calc(100% - 32px), 1280px);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
}
.fmshop-logo { display: inline-flex; align-items: center; width: 130px; }
.fmshop-logo img { display: block; width: 100%; }
.fmshop-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.fmshop-nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: .86rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fmshop-nav-list a:hover { opacity: .78; }
.fmshop-actions { display: flex; align-items: center; gap: 12px; }
.fmshop-language {
  display: flex;
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 4px;
}
.fmshop-language a {
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 800;
}
.fmshop-language a.is-active { color: #fff; background: rgba(255,255,255,.18); }
.fmshop-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.14);
  text-decoration: none;
}
.fmshop-cart span {
  position: absolute;
  right: -2px;
  top: -5px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #0b0d0f;
  font-size: .65rem;
  font-weight: 900;
}
.fmshop-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.14);
}
.fmshop-mobile-nav {
  position: fixed;
  z-index: 999;
  top: 78px;
  left: 0;
  right: 0;
  background: #111518;
  border-bottom: 1px solid var(--fm-border);
  padding: 16px;
}
.fmshop-mobile-nav .fmshop-nav-list { flex-direction: column; gap: 12px; }

.fmshop-presale {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-bottom: 90px;
}
.fmshop-presale-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 15% 15%, rgba(227,6,19,.30), transparent 37%),
    radial-gradient(circle at 88% 18%, rgba(0,255,136,.18), transparent 34%),
    #030607;
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}
.fmshop-hero,
.fmshop-facts,
.fmshop-info-grid {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--fm-width));
  margin-inline: auto;
}
.fmshop-hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: 78px 0 42px;
}
.fmshop-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #eb071a, #a91225);
  border: 1px solid rgba(255,255,255,.25);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
}
.fmshop-hero h1,
.fmshop-info-grid h2,
.fmshop-page-shell > h1,
.fmshop-woo-shell .page-title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.02em;
}
.fmshop-hero h1 {
  max-width: 680px;
  margin: 28px 0 20px;
  font-size: clamp(4.2rem, 8vw, 7.8rem);
}
.fmshop-lead {
  max-width: 690px;
  color: #d4d8dd;
  font-size: 1.08rem;
}
.fmshop-lead p { margin: 0; }
.fmshop-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.fmshop-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #454b51;
  background: rgba(255,255,255,.08);
  font-size: .78rem;
  font-weight: 800;
}
.fmshop-badges i { color: var(--fm-green); }
.fmshop-buybox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  max-width: 730px;
  padding: 22px;
  border: 1px solid var(--fm-border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(19,23,27,.98), rgba(6,9,11,.98));
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}
.fmshop-buy-copy { display: grid; }
.fmshop-buy-copy > span {
  color: #9baac0;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.fmshop-buy-copy strong {
  margin-top: 6px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.1rem;
  line-height: .92;
}
.fmshop-buy-copy em {
  margin-top: 6px;
  color: var(--fm-green);
  font-style: normal;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.1;
}
.fmshop-buy-copy p { margin: 12px 0 0; color: #c2c8cf; font-size: .82rem; }
.fmshop-reserve-form { display: flex; align-items: center; gap: 14px; }
.fmshop-qty {
  display: grid;
  grid-template-columns: 36px 42px 36px;
  align-items: center;
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid #454b51;
  overflow: hidden;
  background: #202429;
}
.fmshop-qty button,
.fmshop-qty input {
  width: 100%;
  height: 52px;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: center;
  font-weight: 900;
}
.fmshop-qty input { appearance: textfield; }
.fmshop-qty input::-webkit-inner-spin-button { appearance: none; }
.fmshop-cta,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
#place_order {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ff0b24, #c4001c) !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: .78rem !important;
  font-weight: 900 !important;
  letter-spacing: .06em;
  box-shadow: 0 18px 40px rgba(227,6,19,.35);
  cursor: pointer;
}
.fmshop-config-note { max-width: 270px; padding: 14px; border-radius: 12px; background: #3b2a12; color: #ffe3ab; }
.fmshop-hero-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fmshop-hero-visual > img {
  width: min(430px, 90%);
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 26px 35px rgba(0,0,0,.65));
  transform: rotate(-1.5deg);
}
.fmshop-price-card {
  width: min(440px, 100%);
  display: grid;
  padding: 18px 22px;
  border: 1px solid var(--fm-border);
  border-radius: 18px;
  background: rgba(9,12,14,.96);
  box-shadow: 0 24px 70px rgba(0,255,136,.10);
}
.fmshop-price-card span,
.fmshop-price-card small { color: #9baac0; font-size: .67rem; font-weight: 900; letter-spacing: .12em; }
.fmshop-price-card strong { font-family: "Bebas Neue", sans-serif; font-size: 3.8rem; line-height: 1; }
.fmshop-price-card small { color: var(--fm-green); }
.fmshop-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border: 1px solid var(--fm-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--fm-card-2);
}
.fmshop-facts > div { min-width: 0; padding: 25px; border-right: 1px solid var(--fm-border); }
.fmshop-facts > div:last-child { border-right: 0; }
.fmshop-facts strong { display: block; font-family: "Bebas Neue", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .95; overflow-wrap: anywhere; }
.fmshop-facts span { display: block; margin-top: 8px; color: #9baac0; font-size: .67rem; font-weight: 900; letter-spacing: .12em; }
.fmshop-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-top: 100px;
}
.fmshop-info-grid h2 { margin: 22px 0; font-size: clamp(3rem, 6vw, 5.5rem); }
.fmshop-info-grid p { color: #c9ced4; }
.fmshop-steps { display: grid; gap: 14px; align-content: start; }
.fmshop-steps > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--fm-border); border-radius: 14px; background: rgba(255,255,255,.08); }
.fmshop-steps i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #05120c; background: var(--fm-green); }
.fmshop-steps span { color: #c9ced4; font-size: .88rem; }
.fmshop-steps strong { display: block; margin-bottom: 4px; color: #fff; }

.fmshop-page-shell {
  width: min(calc(100% - 32px), 1180px);
  min-height: 70vh;
  margin: 0 auto;
  padding: 70px 0 90px;
}
.fmshop-page-shell > h1 { margin: 0 0 36px; font-size: clamp(3.4rem, 7vw, 5rem); }
.fmshop-page-shell .entry-content { color: #d2d7dd; }

.fmshop-checkout-shell .woocommerce { width: 100%; }
.fmshop-reservation-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  width: 100%;
  margin: 0 0 28px !important;
  padding: 18px 22px !important;
  border: 1px solid #d70020 !important;
  border-radius: 16px !important;
  color: #4e5968 !important;
  background: #f6f6f7 !important;
  list-style: none !important;
}
.fmshop-reservation-notice { display: flex; gap: 14px; align-items: flex-start; }
.fmshop-reservation-notice i { color: var(--fm-red); margin-top: 4px; }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none !important; }

.woocommerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: start;
}
.woocommerce form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce #customer_details,
.woocommerce #order_review_heading,
.woocommerce #order_review {
  min-width: 0;
}
.woocommerce #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 22px;
  border: 1px solid var(--fm-border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20,24,27,.98), rgba(8,11,13,.98));
}
.woocommerce #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--fm-border);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(145deg, #1c2024, #111417);
}
.woocommerce #order_review {
  grid-column: 2;
  grid-row: 2;
  margin-top: -42px;
  padding: 18px;
  border: 1px solid var(--fm-border);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(145deg, rgba(20,24,27,.98), rgba(8,11,13,.98));
  box-shadow: 0 28px 60px rgba(0,0,0,.35);
}
.woocommerce .col2-set,
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 { width: 100%; float: none; }
.woocommerce .col2-set .col-2 { display: none; }
.woocommerce .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.woocommerce form .form-row,
.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce form .form-row-wide {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce #billing_country_field,
.woocommerce #billing_address_1_field,
.woocommerce #billing_address_2_field,
.woocommerce #billing_email_field { grid-column: 1 / -1; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; color: #f0f1f3; font-weight: 800; }
.woocommerce form .form-row .optional { color: #8fa0b5; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d5d8dc;
  border-radius: 11px;
  color: #20262d;
  background: #fff;
  padding: 10px 12px;
}
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder { color: #75859a; opacity: 1; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce .woocommerce-checkout-review-order-table,
.woocommerce .woocommerce-checkout-review-order-table th,
.woocommerce .woocommerce-checkout-review-order-table td {
  border-color: var(--fm-border) !important;
  color: #eef1f3;
  background: transparent;
}
.woocommerce .woocommerce-checkout-review-order-table { border: 1px solid var(--fm-border); border-radius: 14px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.woocommerce #payment { color: #e9edf0; background: rgba(255,255,255,.06); border-radius: 14px; }
.woocommerce #payment ul.payment_methods { border-bottom-color: var(--fm-border); }
.woocommerce #payment div.payment_box { background: #20252a; color: #fff; }
.woocommerce #payment div.payment_box::before { border-bottom-color: #20252a; }
.woocommerce #place_order { width: 100%; margin-top: 12px; }
.woocommerce .woocommerce-privacy-policy-text { color: #d4d8dd; }
.woocommerce .woocommerce-privacy-policy-text a { color: #ff182f; }
.woocommerce table.shop_table { border-color: var(--fm-border); }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { color: #edf0f2; border-color: var(--fm-border); }
.woocommerce .quantity .qty { min-height: 42px; border-radius: 8px; }
.woocommerce ul.products li.product { padding: 18px; border: 1px solid var(--fm-border); border-radius: 16px; background: var(--fm-card); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: #fff; }
.woocommerce div.product { padding: 24px; border-radius: 18px; background: #fff; color: #15202d; }
.woocommerce div.product .product_title { color: #15202d; }

.fmshop-footer {
  border-top: 1px solid #252b30;
  background: #050708;
  color: #758194;
  font-size: .75rem;
}
.fmshop-footer > div {
  width: min(calc(100% - 32px), 1280px);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fmshop-footer a { color: #8c98aa; text-decoration: none; }

@media (max-width: 900px) {
  body.admin-bar .fmshop-header { top: 46px; }
  .fmshop-header-inner { grid-template-columns: 140px 1fr; }
  .fmshop-nav { display: none; }
  .fmshop-actions { justify-self: end; }
  .fmshop-menu-toggle { display: inline-grid; place-items: center; }
  .fmshop-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .fmshop-hero-visual { order: -1; }
  .fmshop-hero-visual > img { width: min(330px, 75vw); }
  .fmshop-info-grid { grid-template-columns: 1fr; gap: 36px; }
  .woocommerce form.checkout { grid-template-columns: 1fr; }
  .woocommerce #customer_details,
  .woocommerce #order_review_heading,
  .woocommerce #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce #order_review { margin-top: -42px; }
}

@media (max-width: 640px) {
  .fmshop-header-inner { width: min(calc(100% - 20px), 1280px); min-height: 68px; }
  .fmshop-logo { width: 105px; }
  .fmshop-language a { padding-inline: 8px; }
  .fmshop-cart, .fmshop-menu-toggle { width: 38px; height: 38px; }
  .fmshop-mobile-nav { top: 68px; }
  .fmshop-hero,
  .fmshop-facts,
  .fmshop-info-grid,
  .fmshop-page-shell { width: min(calc(100% - 20px), 1180px); }
  .fmshop-hero h1 { font-size: clamp(3.7rem, 18vw, 5.2rem); }
  .fmshop-buybox { grid-template-columns: 1fr; }
  .fmshop-reserve-form { flex-direction: column; align-items: stretch; }
  .fmshop-qty { width: 120px; }
  .fmshop-facts { grid-template-columns: 1fr; }
  .fmshop-facts > div { border-right: 0; border-bottom: 1px solid var(--fm-border); }
  .fmshop-facts > div:last-child { border-bottom: 0; }
  .woocommerce .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .woocommerce #billing_first_name_field,
  .woocommerce #billing_last_name_field,
  .woocommerce #billing_country_field,
  .woocommerce #billing_address_1_field,
  .woocommerce #billing_address_2_field,
  .woocommerce #billing_city_field,
  .woocommerce #billing_state_field,
  .woocommerce #billing_postcode_field,
  .woocommerce #billing_phone_field,
  .woocommerce #billing_email_field { grid-column: 1; }
  .fmshop-footer > div { flex-direction: column; justify-content: center; padding: 22px 0; }
}
