@import url('common.css');

@import url('hero-section.css');
@import url('advantages.css');

@import url('return-info-page.css');
@import url('recurring-info-page.css');

/* Light 300 */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular 400 */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium 500 */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SemiBold 600 */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold 700 */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold 800 */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Italic 400 */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --header-height: 64px;
    --header-border-width: 1px;
    --border-radius: 14px;
    --default-btn-height: 40px;
    
    /* COLORS */
    --primary-color: #1f2937;
    --primary-hover-color: #111827;
    --success-color: #065F46;
    --success-light-color: #d1fae5;
    --info-color: #3b82f6;
    --info-light-color: #eff6ff;
    --info-dark-color: #1d4ed8;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --menu-bg: #f3f4f6;
    --menu-bg-hover: #e5e7eb;
    --menu-border: #d1d5db;
    --menu-text: #111827;
    --menu-text-muted: #6b7280;
    --menu-accent: #000000;
    --white-color: #fff;
}

body {
  font-weight: 400;
  font-size: 12px;
  width: 100%;
  margin: 0;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  background: #f6f7f9;
  color: #1f2937;
  line-height: 1.6;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
}

h1, h2, h3, h4, h5, h6 {
	color: #444;
}
/* default font size */
.fa {
	font-size: 14px;
}
/* Override the bootstrap defaults */
h1 {
	font-size: 33px;
}
h2 {
	font-size: 27px;
}
h3 {
	font-size: 21px;
}
h4 {
	font-size: 15px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10.2px;
}
a {
	color: #4979cf;
}
a:hover {
	text-decoration: none;
}

/* Fix some bootstrap issues */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
	display: inline;
}

/* top */
#top {
	background-color: #f2f8fd;
	border-bottom: 1px solid #e4f1fc;
	padding: 4px 0px 3px 0;
	margin: 0 0 20px 0;
	min-height: 40px;
}
#top .container {
	padding: 0 20px;
}
#top #form-currency .currency-select,
#top #form-language .language-select {
	font-size: 12px;
	padding: 3px 20px;
	text-align: left;
}
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
	text-shadow: none;
	color: #ffffff;
	background-color: #376aca;
	background-image: linear-gradient(to bottom, #4979cf, #2f64ca);
	background-repeat: repeat-x;
}
#form-currency .btn-link, #form-language .btn-link {
  padding: 0 0 0 7.5px;
}
#top .btn-link, #top-links li, #top-links a, #head-links li, #head-links a {
	background-color: transparent;
	color: #888;
	font-size: 12px;
	text-shadow: 0 1px 0 #FFF;
	text-decoration: none;
}
#top .btn-link:hover, #top-links a:hover, #head-links .btn-link:hover, #head-links a:hover {
	color: #444;
}
#top-links .dropdown-menu a {
	text-shadow: none;
}
#top-links .dropdown-menu a:hover {
	color: #FFF;
}
#top .btn-link strong {
	font-size: 14px;
    line-height: 14px;
}
#top-links, #head-links {
	padding-top: 6px;
}
#top-links a + a, #head-links a + a {
	margin-left: 15px;
}
#top-links hr {margin: 5px 15px;}
/* logo -fix */
#logo {
	margin: 0 0 10px 0;
}
#logo .img-responsive {
    width: 200px;
    padding-bottom: 10px;
}
@media (max-width: 767px) {
    #logo { text-align: center; }
    #logo img { display: inline-block; }
	#contact {text-align: center;font-size: 25px;padding: 5px 0 15px;display: inherit;}
}
#contact {
  font-weight: 700;
  line-height: 39px;
  font-size: 18.5px;
}
#contact a {text-decoration:none;}
#contact a i {
  font-size: 22px;
  vertical-align: middle;
  display: inline;
}

@media (min-width: 992px){
	#logo {float: left;}
	#contact {float: left;margin-left:33px;}
	#search {margin-left: -35px;}
}
@media (min-width: 768px) and (max-width: 991px) {
	#logo {float: left;}
	#contact {float: right;}
}
/* search */
#search {
	margin-bottom: 10px;
}
#search .input-lg {
	height: 40px;
	line-height: 20px;
	padding: 0 10px;
}
#search .btn-lg {
	font-size: 15px;
	line-height: 18px;
	padding: 10px 20px;
	text-shadow: 0 1px 0 #FFF;
}
/* cart */
#cart {
	margin-bottom: 10px;
}
#cart > .btn {
	font-size: 12px;
	line-height: 18px;
	color: #FFF;
}
#cart.open > .btn {
	background-image: none;
	background-color: #FFFFFF;
	border: 1px solid #E6E6E6;
	color: #666;
	box-shadow: none;
	text-shadow: none;
}
#cart.open > .btn:hover {
	color: #444;
}
#cart .dropdown-menu {
	background: #eee;
	z-index: 1001;
}
#cart .dropdown-menu {
	min-width: 100%;
	overflow-y: auto;
	max-height: 800px;
	scrollbar-width: thin;
	overflow-x: hidden;
}
@media (max-width: 478px) {
	#cart .dropdown-menu {
		width: 100%;
	}
}
#cart .dropdown-menu table {
	margin-bottom: 10px;
}
#cart .dropdown-menu li > div {
	min-width: 427px;
	padding: 0 10px;
}
@media (max-width: 478px) {
	#cart .dropdown-menu li > div {
		min-width: 100%;
	}
}
#cart .dropdown-menu li p {
	margin: 20px 0;
}

/* content */
#content {min-height: 600px;}

html[dir=rtl] .breadcrumb > li::after {
  top: -3px;
  left: -5px;
  width: 26px;
  height: 26px;
  border-left: 1px solid #DDD;
  border-top: 1px solid #DDD;
  right: unset;
  border-right: unset;
  border-bottom:unset;

}
.pagination {
	margin: 0;
}

@media (min-width: 1200px) {
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-3:nth-child(4n+1),
	#content .col-lg-4:nth-child(3n+1),
	#content .col-lg-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-3:nth-child(4n+1),
	#content .col-md-4:nth-child(3n+1),
	#content .col-md-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-3:nth-child(4n+1),
	#content .col-sm-4:nth-child(3n+1),
	#content .col-sm-6:nth-child(2n+1) {
		clear:left;
	}
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
    #column-left  .product-layout .col-md-3 {
       width: 100%;
    }

	#column-left + #content .product-layout .col-md-3 {
       width: 50%;
    }

	#column-left + #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }

    #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .product-layout, #column-right .product-layout {
	width: 100%;
}

html[dir=rtl] .checkbox input[type="checkbox"],
html[dir=rtl] .checkbox-inline input[type="checkbox"],
html[dir=rtl] .radio input[type="radio"],
html[dir=rtl] .radio-inline input[type="radio"] {
    position: absolute;
    margin-top: 4px\9;
    margin-right: -20px;
      margin-left: unset;
}
html[dir=rtl] .input-group-btn:last-child > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
html[dir=rtl] .input-group .form-control:first-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}
html[dir=rtl] .container .row:first-child  .col-sm-4, html[dir=rtl] .container .row:first-child  .col-sm-5 {
  float: right;

}
html[dir=rtl] #cart .dropdown-menu {
  left: 0;
  right: auto;

}
@media (min-width: 768px) {
   
    html[dir=rtl] .navbar-nav {
        float: right;
        margin: 0;
    }
    
    html[dir=rtl] .navbar-nav > li {
        float: right;
    }
   
}

[class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

i.fa ~ span {
  margin-left: 4px;
}

@media (max-width: 768px) {
  #head-nav {
    i.fa {
      font-size: 20px;
    }
  }
}

.container {
  width: 95%;
}

/* carousel */
#common-home .slideshow.swiper-viewport, 
#content .swiper-viewport {border: 1px solid #f3f8fd;box-shadow: 0 1px 4px rgb(236, 244, 252);}
.carousel-caption {
	color: #FFFFFF;
	text-shadow: 0 1px 0 #000000;
}
.carousel img {display: initial;}
.carousel-control .icon-prev:before {
	content: '\f053';
	font-family: FontAwesome;
}
.carousel-control .icon-next:before {
	content: '\f054';
	font-family: FontAwesome;
}
.swiper-viewport .swiper-button-next::before, .swiper-viewport .swiper-button-prev::before {
	color: rgb(55, 106, 203);
}

.swiper-pagination .swiper-pagination-bullet {
  background-color: rgb(234, 244, 252);
  box-shadow:inset 0 0 3px rgba(12, 93, 246, 0.3);
}
.swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgb(62, 112, 204);
}

#carousel0 .swiper-viewport {
  margin-bottom: 20px;
}

#carousel0 .swiper-slide {
  /* filter: grayscale(1);
  transition: filter ease-in-out 0.2s; */
}

#carousel0 .swiper-slide:hover {
  /* filter: none; */
}

#cart, #search {
    margin: 0;
}

#cart > .btn {
    color: var(--menu-text);
    background-color: #fff;
}

/* breadcrumb */
.breadcrumb {
	margin: 20px 0;
	padding: 0;
	border: none;
	background: none;
	line-height: 20px;
}
.breadcrumb i {
	font-size: 14px;
}
.breadcrumb > li {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 12px 0 0;
	position: relative;
	white-space: nowrap;
	line-height: 16px;
	margin-right: 12px;
}
.breadcrumb > li > a {
    font-weight: 300;
    color: var(--menu-text-muted);
    transition: color 0.3s ease;
}
.breadcrumb > li > a:hover {
    color: var(--menu-text);
}
.breadcrumb > li + li:before {
	content: '';
	padding: 0;
}
.breadcrumb > li:after {
    display: none;
}
.breadcrumb > li:not(:last-of-type):after {
	content: '';
	display: block;
	position: absolute;
	top: 4px;
	right: -2px;
	width: 8px;
	height: 8px;
	border-right: 0.5px solid var(--menu-text-muted);
	border-bottom: 0.5px solid var(--menu-text-muted);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
html[dir=rtl] .breadcrumb > li::after {
  top: -3px;
  left: -5px;
  width: 26px;
  height: 26px;
  border-left: 1px solid #DDD;
  border-top: 1px solid #DDD;
  right: unset;
  border-right: unset;
  border-bottom:unset;
}

@media (max-width: 767px) {
    .breadcrumb {
        margin-top: calc(var(--header-height) + 8px);
        margin-bottom: 8px;
	    line-height: 28px;
    }
}

/* ─── Pagination ─── */
/* Подключить глобально — работает везде где OpenCart рендерит {{ pagination }} */
.products-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--menu-text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-links .pagination,
ul.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.pagination li a,
ul.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--menu-border);
  background: var(--white-color);
  color: var(--menu-text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  line-height: 1;
}

ul.pagination li a:hover {
  background: var(--menu-bg);
  border-color: var(--menu-border);
  color: var(--menu-text);
}

/* Активная страница */
ul.pagination li.active span {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
  cursor: default;
}

/* Стрелки > и >| */
ul.pagination li a[href*="page"]:last-child,
ul.pagination li:last-child a,
ul.pagination li:nth-last-child(2) a {
  font-size: 12px;
}

/* Disabled (если есть) */
ul.pagination li.disabled span,
ul.pagination li.disabled a {
  opacity: 0.4;
  pointer-events: none;
}

/* ─── Filter panel ─── */

.panel.panel-default[data-filter-module] {
  background: var(--white-color);
  border: 1px solid var(--menu-border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* Заголовок */
.panel.panel-default[data-filter-module] .panel-heading {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--menu-text);
  background: var(--menu-bg);
  border-bottom: 1px solid var(--menu-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Группы фильтров */
.panel.panel-default[data-filter-module] .list-group {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

/* Заголовок группы */
.panel.panel-default[data-filter-module] .list-group > a.list-group-item {
  display: block;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--menu-text-muted);
  background: var(--menu-bg);
  border: none;
  border-top: 1px solid var(--menu-border);
  text-decoration: none;
  cursor: default;
}

.panel.panel-default[data-filter-module] .list-group > a.list-group-item:first-child {
  border-top: none;
}

/* Контейнер чекбоксов */
.panel.panel-default[data-filter-module] .list-group-item:not(a) {
  padding: 8px 16px 12px;
  border: none;
  border-top: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Чекбокс */
.panel.panel-default[data-filter-module] .checkbox {
  margin: 0;
}

.panel.panel-default[data-filter-module] .checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--menu-text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s;
  user-select: none;
}

.panel.panel-default[data-filter-module] .checkbox label:hover {
  color: var(--menu-text);
}

.panel.panel-default[data-filter-module] .checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #1f2937;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
  position: relative;
}

/* Footer с кнопками */
.panel.panel-default[data-filter-module] .panel-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--menu-border);
  background: var(--white-color);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.panel.panel-default[data-filter-module] #button-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  border: none;
  background: #1f2937;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.panel.panel-default[data-filter-module] #button-filter:hover {
  background: #374151;
}

.panel.panel-default[data-filter-module] #button-reset-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--menu-border);
  background: var(--white-color);
  color: var(--menu-text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.panel.panel-default[data-filter-module] #button-reset-filter:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* ── В мобильной шторке footer прибит снизу через flex в drawer ── */
.mobile-filter-footer .panel-footer {
  padding: 0;
  border: none;
  background: transparent;
}
