/* Otiza modern storefront — lightweight theme layer */
:root {
  --otiza-ink: #16243a;
  --otiza-muted: #667085;
  --otiza-brand: #315b8a;
  --otiza-brand-dark: #203f66;
  --otiza-accent: #e66f51;
  --otiza-accent-dark: #c85439;
  --otiza-warm: #fff5ee;
  --otiza-surface: #ffffff;
  --otiza-line: #e4e9ef;
  --otiza-bg: #f5f7fa;
  --otiza-shadow: 0 18px 50px rgba(22, 36, 58, .10);
  --otiza-shadow-soft: 0 10px 30px rgba(22, 36, 58, .07);
}

html { scroll-behavior: smooth; }
body,
body input,
body textarea,
body select,
body button {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body {
  min-width: 0;
  color: var(--otiza-ink);
  background: var(--otiza-bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--otiza-brand); text-underline-offset: 3px; }
a:hover { color: var(--otiza-accent-dark); }

.container {
  width: calc(100% - 40px);
  max-width: 1240px;
}
.wrapper-top { background: var(--otiza-surface); }
.bg-top-line {
  color: #eaf0f7;
  background: var(--otiza-brand-dark) !important;
  border: 0 !important;
}
.bg-top-line a { color: #fff !important; }
.bg-top-line .container { min-height: 42px; }
.wrapper-top .auth,
.wrapper-top .currency-toggle,
.wrapper-top ul.wa-apps,
.wrapper-top #cart { line-height: 42px; }
.wrapper-top .currency-toggle { border-color: rgba(255,255,255,.18) !important; }
.wrapper-top #cart a {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  border-radius: 0 0 12px 12px;
}
.wrapper-top #cart a > span { border: 0; }

.wrapper-top .header-info {
  display: grid;
  grid-template-columns: minmax(255px, .9fr) minmax(320px, 1.25fr) minmax(220px, .75fr);
  align-items: center;
  gap: 32px;
  min-height: 116px;
}
.wrapper-top .logo,
.wrapper-top .contact,
.header-info .search {
  display: block;
  width: auto !important;
  height: auto;
}
.wrapper-top .logo p.first {
  color: var(--otiza-ink) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.wrapper-top .logo p.first::before { display: none; }
.wrapper-top .logo p.last {
  margin-top: 2px;
  color: var(--otiza-muted) !important;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.wrapper-top .logo img { width: 54px; max-height: 54px; object-fit: contain; }
.wrapper-top .logo a div.logo-img { margin-right: 12px; }
.wrapper-top .contact { text-align: right; }
.wrapper-top .contact .top-contact.phone {
  color: var(--otiza-ink) !important;
  font-family: inherit;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.wrapper-top .contact .top-contact.hint { color: var(--otiza-muted) !important; font-size: 13px; }
.header-info .search { text-align: left; }
.search-input { display: flex; width: 100%; }
.wrapper-top .header-info #search {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  color: var(--otiza-ink);
  background: #f8fafc;
  border: 1px solid var(--otiza-line) !important;
  border-right: 0 !important;
  border-radius: 14px 0 0 14px !important;
  font-size: 14px;
}
.wrapper-top .search-button {
  width: 52px;
  height: 48px;
  color: #fff !important;
  background: var(--otiza-brand) !important;
  border: 1px solid var(--otiza-brand) !important;
  border-radius: 0 14px 14px 0;
}
.wrapper-top .search-button:hover { background: var(--otiza-brand-dark) !important; }

.top-menu { margin-bottom: 0; }
ul#page-list,
ul.comfortbuy-horizontal-tree {
  overflow: visible;
  padding: 0 10px;
  color: #fff;
  background: var(--otiza-brand) !important;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(49,91,138,.18);
}
ul#page-list > li,
ul.comfortbuy-horizontal-tree > li { border-color: rgba(255,255,255,.12) !important; }
ul#page-list > li > div > a,
ul.comfortbuy-horizontal-tree > li > a,
ul.comfortbuy-horizontal-tree li.dots span {
  height: 50px;
  padding: 0 15px;
  color: #fff !important;
  border-color: transparent !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 50px;
  letter-spacing: .025em;
}
ul#page-list > li:hover > div > a,
ul.comfortbuy-horizontal-tree > li:hover > a,
ul.comfortbuy-horizontal-tree li.dots:hover span { background: rgba(255,255,255,.11) !important; }
ul#page-list ul,
ul.comfortbuy-horizontal-tree ul {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--otiza-line) !important;
  border-radius: 14px;
  box-shadow: var(--otiza-shadow);
}
ul#page-list ul a,
ul.comfortbuy-horizontal-tree ul a { color: var(--otiza-ink) !important; }

.wrapper { background: var(--otiza-bg) !important; }
#main { padding-top: 28px; }
.breadcrumbs { color: var(--otiza-muted); font-size: 13px; }
h1, h2, h3, h4, h5, h6 { color: var(--otiza-ink); }
h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; }

.otiza-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  align-items: center;
  gap: 38px;
  margin-bottom: 28px;
  padding: 50px 54px;
  background: linear-gradient(135deg, #fff 0%, #f4f8fc 52%, #fff2e9 100%);
  border: 1px solid rgba(49,91,138,.10);
  border-radius: 28px;
  box-shadow: var(--otiza-shadow-soft);
}
.otiza-hero::before,
.otiza-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  filter: blur(2px);
}
.otiza-hero::before { width: 300px; height: 300px; right: -85px; top: -105px; background: rgba(230,111,81,.14); }
.otiza-hero::after { width: 220px; height: 220px; right: 190px; bottom: -150px; background: rgba(49,91,138,.12); }
.otiza-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--otiza-accent-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.otiza-hero__eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }
.otiza-hero h1 { max-width: 760px; margin: 0; line-height: 1.06; }
.otiza-hero__lead { max-width: 720px; margin: 20px 0 0; color: var(--otiza-muted); font-size: 18px; }
.otiza-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.otiza-button,
.otiza-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: var(--otiza-accent);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(230,111,81,.22);
  font-weight: 700;
  text-decoration: none;
}
.otiza-button:hover { color: #fff; background: var(--otiza-accent-dark); }
.otiza-button--ghost,
.otiza-button--ghost:visited { color: var(--otiza-brand-dark); background: #fff; border: 1px solid var(--otiza-line); box-shadow: none; }
.otiza-button--ghost:hover { color: var(--otiza-brand-dark); background: #f8fafc; }
.otiza-hero__facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.otiza-hero__facts li {
  position: relative;
  padding: 16px 18px 16px 48px;
  color: var(--otiza-ink);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(49,91,138,.10);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(22,36,58,.05);
  font-weight: 650;
}
.otiza-hero__facts li::before {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--otiza-brand);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.da-slider {
  min-width: 0;
  height: 430px;
  margin: 0 0 30px;
  background: linear-gradient(125deg, #edf3f8, #fff) !important;
  border: 1px solid var(--otiza-line) !important;
  border-radius: 26px;
  box-shadow: var(--otiza-shadow-soft);
}
.da-slide h2 {
  width: 46%;
  top: 62px;
  color: var(--otiza-ink) !important;
  font-family: inherit;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  white-space: normal;
  text-shadow: none;
}
.da-slide p { color: var(--otiza-muted) !important; font-size: 15px; }
.da-slide p:not([itemprop="description"]) { top: 174px; }
.da-slide p[itemprop="description"] { top: 220px; height: 72px; }
.da-slide .price { color: var(--otiza-accent-dark) !important; font-size: 26px; font-weight: 750; }
.da-slide .da-img { top: 42px; width: 36%; height: 340px; }
.da-slide .da-img img { max-height: 320px; object-fit: contain; }
.da-slide .da-link {
  top: 315px;
  color: #fff !important;
  background: var(--otiza-brand) !important;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 46px;
}
.da-slide .da-link:hover { background: var(--otiza-brand-dark) !important; }
.da-arrows span { color: var(--otiza-brand) !important; }

.home-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 42px;
}
.home-block > div {
  display: block;
  width: auto;
  min-height: 156px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--otiza-line);
  border-radius: 18px;
  box-shadow: var(--otiza-shadow-soft);
}
.home-block a { padding-left: 48px; color: var(--otiza-ink); }
.home-block a i { color: var(--otiza-accent) !important; }
.home-block a span { font-size: 17px; }
.home-block p { padding-left: 48px; color: var(--otiza-muted); font-size: 14px; }

.products-slider { margin-bottom: 46px; }
.products-slider-name { margin-bottom: 20px; }
.products-slider-name::after { display: none !important; }
.products-slider-name h2,
.products-slider-name h3 {
  width: auto;
  min-width: 0;
  padding: 0;
  color: var(--otiza-ink) !important;
  background: transparent !important;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.products-slider .product-block,
ul.thumbs .product-block,
ul.list .product-block {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--otiza-line) !important;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(22,36,58,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.products-slider .product-block:hover,
ul.thumbs .product-block:hover {
  transform: translateY(-4px);
  border-color: rgba(49,91,138,.24) !important;
  box-shadow: var(--otiza-shadow);
}
.products-slider .product-block { padding: 16px; }
.products-slider .image a { height: 210px; }
.products-slider .name .product-card-title {
  height: 44px;
  margin: .5em 0;
  overflow: hidden;
  color: var(--otiza-ink);
  font-size: 15px;
  line-height: 1.45;
}
.product-list .product-card-title { font-size: 14px; font-weight: 600; }
ul.thumbs .name .product-card-title { height: 33px; margin: .5em 0; overflow: hidden; }
ul.list .name .product-card-title { float: left; width: 62%; margin: 2px 0 10px; }
ul.list .name .product-card-title.no-rating { width: 100%; }
.bg-bottom-line { padding-bottom: 45px; }
.products-slider .price,
.product-list .price { color: var(--otiza-accent-dark) !important; font-size: 20px; font-weight: 750; }
.products-slider input[type="submit"],
.product-list input[type="submit"],
.add2cart input[type="submit"],
a.button {
  color: #fff !important;
  background: var(--otiza-brand) !important;
  border-radius: 10px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.products-slider input[type="submit"]:hover,
.product-list input[type="submit"]:hover,
.add2cart input[type="submit"]:hover,
a.button:hover { background: var(--otiza-brand-dark) !important; transform: translateY(-1px); }
.products-slider .jcarousel-prev,
.products-slider .jcarousel-next {
  top: -58px;
  width: 36px;
  height: 36px;
  color: var(--otiza-brand) !important;
  background: #fff !important;
  border: 1px solid var(--otiza-line);
  border-radius: 50%;
  line-height: 34px;
  text-align: center;
}

.otiza-about {
  margin: 8px 0 42px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--otiza-line);
  border-radius: 22px;
  box-shadow: var(--otiza-shadow-soft);
}
.otiza-about h2 { margin: 0 0 14px; font-size: 28px; letter-spacing: -.025em; }
.otiza-about p { max-width: 920px; margin: 0; color: var(--otiza-muted); font-size: 16px; }

.sidebar.left230px {
  overflow: hidden;
  width: 260px;
  background: #fff;
  border: 1px solid var(--otiza-line);
  border-radius: 18px;
  box-shadow: var(--otiza-shadow-soft);
}
.content.left230px { width: calc(100% - 286px); }
.sidebar .information.block,
.sidebar .tags.block { border-color: var(--otiza-line) !important; }
.category-name,
.product-name { color: var(--otiza-ink) !important; }
.sort-and-view select,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="email"] {
  color: var(--otiza-ink);
  background: #fff;
  border: 1px solid var(--otiza-line) !important;
  border-radius: 9px;
}

.wrapper-bottom {
  position: relative;
  margin-top: 54px;
  color: #cbd7e5;
  background: var(--otiza-brand-dark) !important;
}
.wrapper-bottom .bg-bottom-line { background: transparent !important; }
.wrapper-bottom #footer { padding-top: 42px; padding-bottom: 28px; }
.wrapper-bottom a { color: #fff !important; }
.wrapper-bottom .caption { color: #fff !important; border-color: rgba(255,255,255,.16) !important; }
#wm-site { color: #b8c6d8 !important; background: #173451 !important; }

@media (max-width: 1050px) {
  .wrapper-top .header-info { grid-template-columns: 1fr 1fr; gap: 18px 26px; padding: 22px 0; }
  .header-info .search { grid-column: 1 / -1; grid-row: 2; }
  .wrapper-top .contact { grid-column: 2; grid-row: 1; }
  .otiza-hero { grid-template-columns: 1fr; padding: 42px; }
  .otiza-hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .da-slide h2 { width: 52%; }
  .sidebar.left230px { width: 230px; }
  .content.left230px { width: calc(100% - 252px); }
}

@media (max-width: 780px) {
  body { font-size: 14px; }
  .container { width: calc(100% - 24px); }
  .bg-top-line .container { width: 100%; padding: 0 12px; }
  .wrapper-top .auth,
  .wrapper-top .currency-toggle { display: none; }
  .wrapper-top #cart { float: right; }
  .wrapper-top .header-info { display: grid; grid-template-columns: 1fr; min-height: 0; padding: 18px 0; }
  .wrapper-top .logo,
  .wrapper-top .contact,
  .header-info .search { grid-column: 1; grid-row: auto; text-align: center; }
  .wrapper-top .logo p.first { font-size: 28px; }
  .wrapper-top .contact .top-contact.phone { font-size: 18px; }
  .wrapper-top .contact .top-contact.hint { display: none; }
  .header-info .search { width: 100%; }
  .wrapper-top .header-info #search { min-width: 0; }
  .top-menu { overflow-x: auto; padding-bottom: 3px; -webkit-overflow-scrolling: touch; }
  ul#page-list,
  ul.comfortbuy-horizontal-tree { display: flex; width: max-content; min-width: 100%; padding: 0 4px; border-radius: 12px; }
  ul#page-list > li,
  ul.comfortbuy-horizontal-tree > li { display: block; width: auto; min-width: max-content; }
  ul#page-list > li > div > a,
  ul.comfortbuy-horizontal-tree > li > a,
  ul.comfortbuy-horizontal-tree li.dots span { height: 46px; padding: 0 13px; line-height: 46px; }
  #main { padding-top: 16px; }
  .otiza-hero { gap: 26px; padding: 30px 22px; border-radius: 20px; }
  .otiza-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .otiza-hero__lead { font-size: 16px; }
  .otiza-hero__actions { display: grid; }
  .otiza-button { width: 100%; }
  .otiza-hero__facts { grid-template-columns: 1fr; }
  .da-slider { height: 560px; border-radius: 20px; }
  .da-slide h2,
  .da-slide p,
  .da-slide .da-link { left: 7% !important; width: 86%; }
  .da-slide h2 { top: 34px; font-size: 27px; }
  .da-slide p:not([itemprop="description"]) { top: 108px; }
  .da-slide p[itemprop="description"] { top: 148px; height: 68px; }
  .da-slide .da-img { top: 222px; left: 20% !important; width: 60%; height: 230px; }
  .da-slide .da-img img { max-height: 220px; }
  .da-slide .da-link { top: 480px; }
  .home-block { grid-template-columns: 1fr; gap: 12px; }
  .home-block > div { min-height: 0; }
  .products-slider { overflow: hidden; }
  .products-slider-name h2,
  .products-slider-name h3 { font-size: 24px; }
  .sidebar.left230px,
  .content.left230px { float: none; width: 100%; }
  .sidebar.left230px { margin-bottom: 20px; }
  .otiza-about { padding: 28px 22px; border-radius: 18px; }
  .wrapper-bottom .contact,
  .wrapper-bottom .shop,
  .wrapper-bottom .apps { float: none; width: 100%; margin-bottom: 24px; }
  .wrapper-bottom #footer { display: block; }
  .wrapper-bottom #footer .contact,
  .wrapper-bottom #footer .shop,
  .wrapper-bottom #footer .apps { display: block; box-sizing: border-box; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
