@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

body {
  width: 100%;
  height: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #FDFBF7;
  color: #23312B;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: #163328;
  font-weight: 700;
  letter-spacing: -0.02em;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-size: 12px;
  font-weight: normal;
}

/* Chrome border line */
button:focus {
  outline: none !important;
}

/* container */
#container {
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 320px;
  margin-left: -160px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* top */
#top {
  background-color: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}

/* logo */
#logo {
  text-align: center;
  margin: 7px 0 7px 0;
}

#logo img {
  max-width: 200px;
}

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}
/* search */
#search {
  margin-bottom: 10px;
}

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}

/* cart */
#cart {
  margin-bottom: 10px;
}

#cart .img-thumbnail {
  min-width: 100px;
}

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}

#cart .dropdown-menu {
  background: #eee;
}

#cart .dropdown-menu li {
  min-width: 300px;
}

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}
/* menu */
#menu {
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border: 1px solid #1f90bb;
  border-color: #1f90bb #1f90bb #145e7a;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
  margin-bottom: 20px;
}

#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px 10px 15px;
  background-color: transparent;
}

#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}

@media (min-width: 960px) {
  #menu {
    position: relative;
  }
  /* full-width mega menu */
  #menu .navbar-nav > li.dropdown {
    position: static;
  }
  #menu .navbar-nav > li.dropdown .dropdown-menu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    padding: 15px;
  }
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
    flex-wrap: wrap;
  }
  #menu .dropdown-inner ul {
    flex: 1 1 0;
  }
}
#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em;
}

/* default boostrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}

.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}

.nav-tabs {
  margin-bottom: 15px;
}

.form-check .form-check-input {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
/* footer */
footer {
  border: 1px solid #000000;
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding-top: 30px;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer h5, footer .footer-title {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}
.breadcrumb i {
  font-size: 15px;
}
.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}
.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}
.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}

.product-thumb .image {
  text-align: center;
}

.product-thumb .image a:hover {
  opacity: 0.8;
}

.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}

.product-thumb .description h4 {
  font-weight: bold;
}

.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}

.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color);
}

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }
  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}
.rating .fa-stack {
  width: 20px;
}

.rating .fa-star {
  color: #999;
  font-size: 15px;
}

.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}

.rating .fa-star + .fa-star {
  color: #E69500;
}

/* product list */
.price {
  color: #444;
}

.price-new {
  font-weight: 600;
}

.price-old {
  color: #dc512c;
  text-decoration: line-through;
}

.price-tax {
  color: #6b6b6b;
  font-size: 12px;
  display: block;
}

/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.blog-thumb h4 {
  font-weight: bold;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-thumb .image a:hover {
  opacity: 0.8;
}

.blog-thumb .description {
  padding: 15px;
}

/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}

#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}
/* ===================== СВОЯ ЛАВКА (svoyalavka.com.ua) BRAND DESIGN ===================== */
:root {
  --sl-primary: #163328;
  --sl-primary-dark: #0F241C;
  --sl-primary-light: #204A3B;
  --sl-amber: #D97706;
  --sl-amber-dark: #B45309;
  --sl-amber-light: #F59E0B;
  --sl-terracotta: #EA580C;
  --sl-sage: #2D6A4F;
  --sl-cream: #FAF8F5;
  --sl-cream-border: #EAE3D9;
  --sl-text: #23312B;
  --sl-muted: #5C6E66;
  --sl-card-shadow: 0 4px 18px rgba(22, 51, 40, 0.05);
  --sl-card-hover-shadow: 0 12px 30px rgba(22, 51, 40, 0.12);
}

/* Page container & general */
#container {
  background-color: #FDFBF7;
}

header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--sl-cream-border);
  padding: 16px 0 12px;
}

/* top announcement / utility bar */
#top {
  background-color: var(--sl-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  color: #E2ECE7;
  font-size: 13px;
  padding: 6px 0;
}

#top .list-inline-item > a,
#top .list-inline-item .dropdown > a,
#top .list-inline-item .dropdown > span {
  color: #E2ECE7;
  font-weight: 500;
  transition: color 0.2s;
}

#top .list-inline-item > a:hover,
#top .list-inline-item .dropdown > span:hover {
  color: var(--sl-amber-light);
}

#top i {
  color: var(--sl-amber-light);
  margin-right: 4px;
}

/* Logo styling */
#logo {
  display: flex;
  align-items: center;
}

#logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

#logo img:hover {
  transform: scale(1.02);
}

/* Search bar */
#search {
  margin-top: 6px;
}

#search .input-group {
  box-shadow: 0 2px 8px rgba(22, 51, 40, 0.06);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--sl-cream-border);
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search .input-group:focus-within {
  border-color: var(--sl-amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
}

#search input {
  border: none;
  padding-left: 20px;
  font-size: 14px;
  background: transparent;
}

#search input:focus {
  box-shadow: none;
}

#search .btn-light {
  background: linear-gradient(135deg, var(--sl-amber) 0%, var(--sl-terracotta) 100%);
  border: none;
  color: #FFFFFF;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}

#search .btn-light:hover {
  opacity: 0.92;
  color: #FFFFFF;
}

/* Cart widget button */
#cart {
  margin-top: 6px;
}

#cart > button.btn-dark,
#cart .btn-lg {
  background: var(--sl-primary);
  border: 1px solid var(--sl-primary-dark);
  color: #FFFFFF;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(22, 51, 40, 0.15);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

#cart > button.btn-dark:hover,
#cart .btn-lg:hover {
  background: var(--sl-primary-light);
  border-color: var(--sl-primary);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 51, 40, 0.22);
}

#cart i {
  color: var(--sl-amber-light);
  margin-right: 6px;
}

/* Navigation category menu (#menu) */
#menu {
  background: var(--sl-primary);
  background-image: linear-gradient(180deg, #1C4032 0%, var(--sl-primary) 100%);
  border: none;
  border-radius: 12px;
  margin-top: 14px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(22, 51, 40, 0.14);
}

#menu .navbar-nav > li > a {
  color: #F2F7F4;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 18px;
  transition: all 0.2s ease;
  position: relative;
}

#menu .navbar-nav > li > a:hover {
  color: var(--sl-amber-light);
  background-color: rgba(255, 255, 255, 0.06);
}

#menu .navbar-nav > li.dropdown:hover > a,
#menu .navbar-nav > li.show > a {
  color: var(--sl-amber-light);
  background-color: rgba(255, 255, 255, 0.08);
}

#menu .dropdown-menu {
  border: 1px solid var(--sl-cream-border);
  box-shadow: 0 16px 36px rgba(22, 51, 40, 0.15);
  border-radius: 12px;
  padding: 10px;
}

#menu .dropdown-inner a {
  color: var(--sl-text);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

#menu .dropdown-inner a:hover {
  background-color: var(--sl-cream);
  color: var(--sl-amber-dark);
}

/* Buttons & CTA */
.btn-primary {
  --bs-btn-bg: var(--sl-amber);
  --bs-btn-border-color: var(--sl-amber);
  --bs-btn-hover-bg: var(--sl-amber-dark);
  --bs-btn-hover-border-color: var(--sl-amber-dark);
  --bs-btn-active-bg: var(--sl-amber-dark);
  --bs-btn-active-border-color: var(--sl-amber-dark);
  --bs-btn-color: #FFFFFF;
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-active-color: #FFFFFF;
  background-image: linear-gradient(135deg, var(--sl-amber) 0%, var(--sl-terracotta) 100%);
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 18px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.38);
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Product cards & catalog */
.product-thumb {
  background: #FFFFFF;
  border: 1px solid var(--sl-cream-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--sl-card-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 24px;
}

.product-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--sl-card-hover-shadow);
  border-color: var(--sl-amber);
}

.product-thumb .image {
  background: #FAF8F5;
  padding: 16px;
  text-align: center;
  overflow: hidden;
}

.product-thumb .image img {
  transition: transform 0.3s ease;
  max-height: 220px;
  object-fit: contain;
}

.product-thumb:hover .image img {
  transform: scale(1.05);
}

.product-thumb .content {
  padding: 16px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-thumb h4 {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.product-thumb h4 a {
  color: var(--sl-text);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.product-thumb h4 a:hover {
  color: var(--sl-amber);
}

.product-thumb .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--sl-primary);
  margin-top: auto;
  padding-top: 10px;
}

.product-thumb .price-new {
  color: var(--sl-terracotta);
  font-weight: 700;
}

.product-thumb .price-old {
  color: #94A3B8;
  font-size: 14px;
  text-decoration: line-through;
  margin-left: 6px;
}

/* Button groups in product cards */
.product-thumb .button-group {
  display: flex;
  border-top: 1px solid var(--sl-cream-border);
  background: #FAF8F5;
}

.product-thumb .button-group button {
  border: none;
  background: transparent;
  padding: 10px 14px;
  color: var(--sl-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
  flex: 1;
}

.product-thumb .button-group button:hover {
  background: var(--sl-amber);
  color: #FFFFFF;
}

.product-thumb .button-group button:first-child {
  flex: 2;
  background: linear-gradient(135deg, var(--sl-amber) 0%, var(--sl-terracotta) 100%);
  color: #FFFFFF;
}

.product-thumb .button-group button:first-child:hover {
  opacity: 0.92;
  background: var(--sl-amber-dark);
}

/* Stock status & badges */
.text-success, .badge.bg-success {
  color: #15803D !important;
  background-color: #DCFCE7 !important;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 12px 0;
  margin-bottom: 18px;
}

.breadcrumb-item a {
  color: var(--sl-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb-item a:hover {
  color: var(--sl-amber);
}

.breadcrumb-item.active {
  color: var(--sl-primary);
  font-weight: 600;
}

/* Footer styling */
footer {
  background-color: var(--sl-primary-dark);
  color: #D3DFDA;
  padding: 50px 0 24px;
  border-top: 3px solid var(--sl-amber);
  margin-top: 60px;
}

footer h2.footer-title,
footer h5 {
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

footer h2.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--sl-amber);
  border-radius: 2px;
}

footer ul.list-unstyled li {
  margin-bottom: 8px;
}

footer ul.list-unstyled a {
  color: #B5C9C0;
  text-decoration: none;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
  font-size: 14px;
}

footer ul.list-unstyled a:hover {
  color: var(--sl-amber-light);
  transform: translateX(3px);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 32px 0 20px;
}

footer p {
  color: #8CA399;
  font-size: 13px;
}

footer p a {
  color: var(--sl-amber-light);
  text-decoration: underline;
}

