/* style1-light-no-images.css
   Облегчённая версия оформления без внешних картинок и background-image.
   Рассчитано на HTML с классами rm-* / oct-* из текущего шаблона.
*/

:root {
  --color-primary: #fb9130;
  --color-primary-dark: #d9781e;
  --color-dark: #272323;
  --color-text: #23262f;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-bg: #f6f7fb;
  --color-card: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(31, 41, 55, .08);
  --shadow-md: 0 12px 30px rgba(31, 41, 55, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: transparent; }
img, svg { max-width: 100%; height: auto; }

/* Минимальная сетка вместо тяжёлого CSS */
.container, .container-sm, .container-fluid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
.container-fluid { max-width: 1320px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > [class*="col-"] { padding: 0 12px; width: 100%; }
.no-gutters { margin: 0; }
.no-gutters > [class*="col-"] { padding: 0; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }

.d-none { display: none !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }
.text-center { text-align: center !important; }
.list-unstyled { list-style: none; padding-left: 0; margin: 0; }
.position-relative { position: relative !important; }
.fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
.fixed-right { position: fixed; right: 18px; z-index: 1020; }
.mt-3 { margin-top: 1rem !important; }
.mt-auto { margin-top: auto !important; }
.order-0 { order: 0; }
.order-1 { order: 1; }
.order-3 { order: 3; }
.order-4 { order: 4; }

@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .flex-md-row { flex-direction: row !important; }
  .flex-md-column { flex-direction: column !important; }
  .justify-content-md-center { justify-content: center !important; }
  .justify-content-md-start { justify-content: flex-start !important; }
  .align-items-md-end { align-items: flex-end !important; }
  .text-md-center { text-align: center !important; }
  .order-md-2 { order: 2; }
  .mt-md-0 { margin-top: 0 !important; }
  .mt-md-auto { margin-top: auto !important; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
  .justify-content-lg-start { justify-content: flex-start !important; }
  .text-lg-left { text-align: left !important; }
}

@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
}

/* Кнопки и формы */
.rm-btn {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rm-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.rm-btn.primary { background: var(--color-primary); color: #fff; }
.rm-btn.primary:hover { background: var(--color-primary-dark); color: #fff; }
.rm-btn.secondary { background: var(--color-dark); color: #fff; }
.rm-btn.secondary:hover { background: #111827; color: #fff; }
.rm-btn.dark { background: #111827; color: #fff; }
.form-control {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}
.form-control:focus { outline: 2px solid rgba(251, 145, 48, .25); border-color: var(--color-primary); }
.input-group { display: flex; gap: 8px; }
.input-group .form-control { flex: 1; }
.error_style { border-color: #dc2626 !important; }

/* Верхняя информационная плашка */
#oct-infobar {
  position: relative;
  z-index: 20;
  padding: 10px 0;
  background: #656c7d;
  color: #f8f8f8;
}
#oct-infobar.hidden { display: none; }
.oct-infobar-text { font-weight: 600; }
#oct-infobar-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
}
#oct-infobar-btn:hover { background: #fff; color: var(--color-dark); }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}
header .row { min-height: 78px; gap: 12px 0; }
#logo span::before {
  content: "Golfstrim-Astana";
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -.02em;
}
.rm-btn-icon {
  width: 22px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 8px;
}
.rm-btn-icon span, .rm-btn-icon::before, .rm-btn-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.rm-header-cart {
  min-width: 64px;
  padding: 8px;
  color: var(--color-dark);
}
.rm-header-cart-icon::before { content: "🛒"; font-size: 24px; }
.rm-header-cart-quantity,
.oct-fixed-bar-quantity {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.rm-header-cart-text { font-weight: 700; font-size: 13px; }

/* Мобильная навигация */
#rm_mobile_nav {
  min-height: 58px;
  padding: 8px 14px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.rm-mobile-nav-buttons-btn::before { content: "☎"; font-size: 22px; color: var(--color-primary); }
.rm-sidebar {
  position: fixed;
  inset: 0;
  z-index: 1040;
  pointer-events: none;
}
.rm-sidebar-content {
  width: min(360px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateX(-105%);
  transition: transform .25s ease;
}
.rm-sidebar.active { pointer-events: auto; }
.rm-sidebar.active .rm-sidebar-content { transform: translateX(0); }
.rm-sidebar-title {
  padding: 18px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 800;
}
.modal-close-icon { display: inline-block; width: 18px; height: 2px; background: var(--color-dark); }
.modal-close-left { transform: rotate(45deg); }
.modal-close-right { transform: rotate(-45deg); margin-left: -18px; }

/* Каталог */
.rm-menu {
  width: 100%;
  order: 5;
}
.rm-menu nav { width: 100%; }
.rm-menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rm-menu-list-item { position: relative; }
.rm-menu-list-item > div:first-child {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--color-border);
}
.rm-menu-list-item-name { font-weight: 700; }
.rm-menu-list-item-chevron::after { content: "›"; margin-left: 8px; color: var(--color-muted); }
.rm-menu-list-item-child {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 320px;
  max-width: 760px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 25;
}
.rm-menu-list-item:hover > .rm-menu-list-item-child { display: block; }
.rm-menu-list-item-child-links-categories { row-gap: 12px; }
.rm-menu-list-item-child-links-categories-item-title,
.rm-menu-list-item-child-brands-item a {
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fafafa;
  font-weight: 700;
}
.rm-menu-list-item-child-brands { gap: 10px; }
.rm-menu-list-item-child-brands-item { width: calc(50% - 5px); }

/* Блок товаров */
.rm-module {
  max-width: var(--container);
  margin: 34px auto;
  padding: 0 16px;
}
.row-padding-top { padding-top: 10px; }
.rm-module-header {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 850;
  letter-spacing: -.03em;
}
.rm-module-col { padding: 12px !important; }
.rm-module-item {
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rm-module-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(251, 145, 48, .45);
}
.rm-module-img {
  position: relative;
  min-height: 180px;
  background: linear-gradient(135deg, #fff7ed, #f3f4f6);
}
/* Без картинок: аккуратный текстовый placeholder внутри ссылки товара */
.rm-module-img > a.order-0 {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--color-muted);
  text-align: center;
}
.rm-module-img > a.order-0::before {
  content: "Товар";
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d1d5db;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  font-weight: 800;
}
.rm-module-buttons {
  position: absolute;
  top: 12px;
  right: 12px;
  gap: 8px;
  z-index: 2;
}
.rm-module-buttons-item,
.rm-module-quantity-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
}
.rm-module-buttons-item.wishlist span::before { content: "♡"; font-size: 22px; }
.rm-module-buttons-item.compare span::before { content: "⇄"; font-size: 18px; }
.rm-module-buttons-item:hover,
.rm-module-quantity-btn:hover { color: #fff; background: var(--color-primary); }
.rm-module-quantity {
  position: absolute;
  left: 12px;
  bottom: 12px;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}
.rm-module-quantity input {
  width: 46px;
  height: 34px;
  min-height: 34px;
  padding: 4px;
  text-align: center;
}
.minus::before { content: "−"; font-size: 22px; line-height: 1; }
.plus::before { content: "+"; font-size: 20px; line-height: 1; }
.rm-module-caption { padding: 16px; gap: 10px; }
.rm-module-title a {
  display: block;
  min-height: 44px;
  font-weight: 800;
  color: var(--color-dark);
}
.rm-module-stock {
  color: #16803c;
  font-size: 14px;
  font-weight: 700;
}
.rm-module-price-bottom { gap: 12px; }
.rm-module-price {
  font-size: 22px;
  font-weight: 850;
  color: var(--color-dark);
}
.rm-cart-btn { gap: 8px; white-space: nowrap; }
.rm-cart-btn-icon::before { content: "🛒"; }

/* Footer */
footer { margin-top: 40px; }
.rm-footer {
  padding: 38px 0 20px;
  background: #222733;
  color: #f9fafb;
}
.rm-footer .row { row-gap: 24px; }
.rm-footer-title {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 850;
}
.rm-footer a { color: #f9fafb; }
.rm-footer a:hover { color: var(--color-primary); }
.rm-footer-subscribe { margin-bottom: 16px; }
.form-checkbox-group {
  margin-top: 10px;
  color: #d1d5db;
  font-size: 13px;
}
.rm-form-checkbox-input { margin-right: 8px; }
.rm-footer-links-list li,
.rm-footer-shedule-list-item { margin-bottom: 9px; color: #d1d5db; }
.rm-social { gap: 10px; margin-bottom: 16px; }
.rm-social-item,
.rm-footer-payments-item {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.rm-social-item .fab, .rm-social-item .fas { font-style: normal; }
.fa-facebook-f::before { content: "f"; font-weight: 800; }
.fa-twitter::before { content: "x"; font-weight: 800; }
.fa-instagram::before { content: "◎"; }
.fa-vk::before { content: "vk"; font-size: 12px; font-weight: 800; }
.fa-odnoklassniki::before { content: "ok"; font-size: 12px; font-weight: 800; }
.rm-footer-payments-list { gap: 8px; }
.rm-footer-payments-item.privat24::before { content: "P24"; font-size: 11px; font-weight: 800; }
.rm-footer-payments-item.visa::before { content: "VISA"; font-size: 10px; font-weight: 800; }
.rm-footer-payments-item.mastercard::before { content: "MC"; font-size: 11px; font-weight: 800; }
.rm-footer-catalog-btn { margin-top: 18px; }
.rm-footer-credits {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #d1d5db;
  font-size: 14px;
}

/* Плавающие элементы */
.oct-fixed-bar {
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.oct-fixed-bar-item,
#rm_fixed_contact_button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.oct-fixed-bar-item-compare::before { content: "⇄"; }
.oct-fixed-bar-item-wishlist::before { content: "♡"; }
#rm_fixed_contact_button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1030;
  background: var(--color-primary);
  color: #fff;
}
.rm-fixed-contact-icon .fas { font-style: normal; }
.fa-envelope::before { content: "✉"; }
.fa-phone::before { content: "☎"; }
.fa-address-book::before { content: "☷"; }
.rm-fixed-contact-dropdown {
  display: none !important;
  position: absolute;
  right: 0;
  bottom: 62px;
  width: 220px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  gap: 10px;
}
#rm_fixed_contact_button:hover .rm-fixed-contact-dropdown { display: flex !important; }
.rm-fixed-contact-item { gap: 8px; }
.rm-fixed-contact-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff7ed;
  color: var(--color-primary);
}
#rm_overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, .45);
}
#rm_overlay.active { display: block; }

/* Адаптив */
@media (max-width: 991.98px) {
  body { padding-top: 58px; }
  header { position: relative; top: auto; }
  .rm-menu-list { flex-direction: column; }
  .rm-menu-list-item-child {
    position: static;
    min-width: 0;
    max-width: none;
    margin-top: 8px;
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  .container, .container-sm, .container-fluid { padding: 0 12px; }
  .row { margin: 0 -8px; }
  .row > [class*="col-"] { padding: 0 8px; }
  .col-3 { flex: 0 0 50%; max-width: 50%; }
  .rm-module { margin: 24px auto; padding: 0 12px; }
  .rm-module-col { padding: 8px 0 !important; }
  .rm-module-item { flex-direction: row !important; }
  .rm-module-img { flex: 0 0 38%; min-height: 170px; }
  .rm-module-img > a.order-0 { min-height: 170px; }
  .rm-module-img > a.order-0::before { width: 76px; height: 76px; }
  .rm-module-caption { flex: 1; padding: 14px; }
  .rm-module-buttons { right: 8px; top: 8px; }
  .rm-module-quantity { position: static; margin: 8px; justify-content: center; }
  .rm-module-price-bottom { align-items: flex-start !important; }
  .input-group { flex-direction: column; }
}

@media (max-width: 480px) {
  .rm-module-item { flex-direction: column !important; }
  .rm-module-img { flex-basis: auto; }
  .rm-cart-btn { width: 100%; justify-content: center !important; }
}
