/*
Theme Name: Bookly
Theme URI: https://templatejungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Bookly - Bookstore eCommerce Bootstrap 5 HTML CSS Website Template
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:
1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Section Title
  2.3 Buttons

3. CONTENT ELEMENTS
  3.1 Form Control
  3.2 Form Select
  3.3 Table
  3.4 Pagination
  3.5 Slash Divider

4. SITE STRUCTURE
  4.1 Header
  4.2 Billboard
  4.3 Icon Box - Company Services
  4.4 Product
  4.5 Items Listings
  4.6 Testimonial
  4.7 Brands
  4.8 Instagram
  4.9 Footer

5. OTHER PAGES
  5.1 Single Product Page
    - Product Tabs
    
/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
  --accent-color: #717171;
  --white-color: #fff;
  --black-color: #272727;
  --gray-color: #F3F3F3;
  --gray-color-200: #E3E3E3;
  --gray-color-300: #E0E0E0;
  --gray-color-500: #D0D0D0;
  --gray-color-800: #3A3A3A;
  --light-gray-color: #D2D2D2;
  --primary-color: #F86D72;
  --bs-body-color: #272727;
  --bs-secondary-color: #FFE8F0;
  --bs-secondary-rgb: 255, 232, 240;
  --bs-primary-rgb: 248, 109, 114;
  --bs-border-color: #E3E3E3;
  --bs-dropdown-link-active-bg: #F5F5F5;
  --light-color: #F8F8F8;
  --light-blue-color: #EDF1F3;
  --navbar-color-color: #131814;
  --swiper-theme-color: #4A4A4A;
  --swiper-pagination-color: #4A4A4A;
  --bs-box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.08);

  --bs-btn-font-size: 1rem;
}

/* Fonts */
:root {
  --body-font: "Nunito", sans-serif;
  --heading-font: "Nunito", sans-serif;
}

@media (min-width: 1850px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1540px;
  }
}

/*----------------------------------------------*/
/* 2. GENERAL TYPOGRAPHY */
/*----------------------------------------------*/

/* 2.1 General Styles
/*----------------------------------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 300;
  margin: 0;
}

p {
  color: var(--black-color);
  letter-spacing: 0.01rem;
  line-height: normal;
}

a {
  color: var(--black-color);
  text-decoration: none;
  transition: 0.3s color ease-out;
}

a.light {
  color: var(--light-color);
}

a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

hr {
  margin: 1.25rem 0;
  color: var(--gray-color-200);
  opacity: 1;
}

/*------------ Background Color -----------*/
.bg-gray {
  background: var(--gray-color);
}

.bg-dark {
  background: var(--black-color);
}

.bg-light {
  background: var(--light-color);
}

.bg-light-gray {
  background: #F5F5F5;
}

/* - Section Padding
--------------------------------------------------------------*/
.padding-xsmall {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.padding-small {
  padding-top: 2em;
  padding-bottom: 2em;
}

.padding-medium {
  padding-top: 4em;
  padding-bottom: 4em;
}

.padding-large {
  padding-top: 7em;
  padding-bottom: 7em;
}

.padding-xlarge {
  padding-top: 9.5em;
  padding-bottom: 9.5em;
}

/* - Section margin
--------------------------------------------------------------*/
.margin-small {
  margin-top: 2em;
  margin-bottom: 2em;
}

.margin-medium {
  margin-top: 4em;
  margin-bottom: 4em;
}

.margin-large {
  margin-top: 7em;
  margin-bottom: 7em;
}

.margin-xlarge {
  margin-top: 9.5em;
  margin-bottom: 9.5em;
}

/* 2.2 Section Title
/*----------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  text-transform: capitalize;
  letter-spacing: 0.03em;
  font-weight: 600;
  line-height: 115%;
}

h4,
h5,
h6 {
  color: var(--light-black-color);
}

h1 {
  font-size: 3.9rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.1rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.3rem;
  font-weight: 300;
  text-transform: capitalize;
  letter-spacing: 0.01rem;
}

h6 {
  font-size: 1.1rem;
}

@media only screen and (max-width: 999px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.95rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.24rem;
  }

  h5 {
    font-size: 1.20rem;
  }
}

@media only screen and (max-width: 500px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
/** 2.3 Buttons
--------------------------------------------------------------*/
.btn {
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.09em;
  color: var(--white-color);
  background-color: var(--primary-color);
  border: none;
  padding: 1.125rem 2.625rem;
  font-size: 1rem;
  border-radius: 200px;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible,
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  color: var(--white-color);
  background-color: var(--black-color);
}

.btn-dark {
  background-color: var(--black-color);
}

.btn-dark:hover {
  background-color: var(--primary-color);
}

.btn-light {
  background-color: var(--light-color);
}

.btn-light:hover {
  color: #fff;
  background-color: var(--primary-color);
}

/*--------------------------------------------------------------
/** 3. CONTENT ELEMENTS
--------------------------------------------------------------*/

/*--------------------------------------------------------------
/** 3.1 Form Control
--------------------------------------------------------------*/
.form-control {
  padding: 1rem;
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0.01rem;
  line-height: normal;
}

.form-control:focus {
  box-shadow: none;
  border-color: #131814;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
  color: var(--black-color);
}

/*--------------------------------------------------------------
/** 3.2 Form Select
--------------------------------------------------------------*/
.filter-blog .form-select,
.filter-shop .form-select {
  padding: 0;
  font-size: 21px;
  font-weight: 300;
  border: none;
  background-color: transparent;
  line-height: normal;
  width: 180px;
}

.form-select:focus {
  box-shadow: none;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(243, 141, 68, 0.25);
}

/*--------------------------------------------------------------
/** 3.3 Table
--------------------------------------------------------------*/
th {
  font-weight: 300;
  letter-spacing: 0.06rem;
}

/*--------------------------------------------------------------
/** 3.4 Pagination
--------------------------------------------------------------*/
.page-link {
  padding: 0;
  font-size: 21px;
  color: var(--black-color);
  background: none;
  border: none;
}

.page-link:focus {
  color: var(--primary-color);
  background: none;
  box-shadow: none;
}

.page-link:hover {
  color: var(--primary-color);
  background: none;
  border: none;
}

.active>.page-link,
.page-link.active {
  color: var(--primary-color);
  background: none;
  border: none;
}

.disabled>.page-link,
.page-link.disabled {
  color: var(--gray-color-500);
  background: none;
  border: none;
}

/* Animation */
@media (min-width: 200px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}

/* Animate Slide */
@keyframes slide {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slide {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.slide {
  -webkit-animation-name: slide;
  animation-name: slide;
}

/*----------------------------------------------*/
/* 4. SITE STRUCTURE */
/*----------------------------------------------*/

/* Preloader */
#preloader {
  background: #FFF;
  opacity: 0.8;
  height: 100%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99999999;
  transition: 0.2s ease-in-out;
}

#preloader.hide-preloader {
  display: none;
}

.book {
  --color: #F86D72;
  --duration: 6.8s;
  width: 32px;
  height: 12px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.book .inner {
  width: 32px;
  height: 12px;
  position: relative;
  transform-origin: 2px 2px;
  transform: rotateZ(-90deg);
  animation: book var(--duration) ease infinite;
}

.book .inner .left,
.book .inner .right {
  width: 60px;
  height: 4px;
  top: 0;
  border-radius: 2px;
  background: var(--color);
  position: absolute;
}

.book .inner .left:before,
.book .inner .right:before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: inherit;
  position: absolute;
  top: -10px;
  left: 6px;
}

.book .inner .left {
  right: 28px;
  transform-origin: 58px 2px;
  transform: rotateZ(90deg);
  animation: left var(--duration) ease infinite;
}

.book .inner .right {
  left: 28px;
  transform-origin: 2px 2px;
  transform: rotateZ(-90deg);
  animation: right var(--duration) ease infinite;
}

.book .inner .middle {
  width: 32px;
  height: 12px;
  border: 4px solid var(--color);
  border-top: 0;
  border-radius: 0 0 9px 9px;
  transform: translateY(2px);
}

.book ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  left: 50%;
  top: 0;
}

.book ul li {
  height: 4px;
  border-radius: 2px;
  transform-origin: 100% 2px;
  width: 48px;
  right: 0;
  top: -10px;
  position: absolute;
  background: var(--color);
  transform: rotateZ(0deg) translateX(-18px);
  animation-duration: var(--duration);
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.book ul li:nth-child(0) {
  animation-name: page-0;
}

.book ul li:nth-child(1) {
  animation-name: page-1;
}

.book ul li:nth-child(2) {
  animation-name: page-2;
}

.book ul li:nth-child(3) {
  animation-name: page-3;
}

.book ul li:nth-child(4) {
  animation-name: page-4;
}

.book ul li:nth-child(5) {
  animation-name: page-5;
}

.book ul li:nth-child(6) {
  animation-name: page-6;
}

.book ul li:nth-child(7) {
  animation-name: page-7;
}

.book ul li:nth-child(8) {
  animation-name: page-8;
}

.book ul li:nth-child(9) {
  animation-name: page-9;
}

.book ul li:nth-child(10) {
  animation-name: page-10;
}

.book ul li:nth-child(11) {
  animation-name: page-11;
}

.book ul li:nth-child(12) {
  animation-name: page-12;
}

.book ul li:nth-child(13) {
  animation-name: page-13;
}

.book ul li:nth-child(14) {
  animation-name: page-14;
}

.book ul li:nth-child(15) {
  animation-name: page-15;
}

.book ul li:nth-child(16) {
  animation-name: page-16;
}

.book ul li:nth-child(17) {
  animation-name: page-17;
}

.book ul li:nth-child(18) {
  animation-name: page-18;
}

@keyframes page-0 {
  4% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  13%,
  54% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  63% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-1 {
  5.86% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  14.74%,
  55.86% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  64.74% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-2 {
  7.72% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  16.48%,
  57.72% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  66.48% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-3 {
  9.58% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  18.22%,
  59.58% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  68.22% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-4 {
  11.44% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  19.96%,
  61.44% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  69.96% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-5 {
  13.3% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  21.7%,
  63.3% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  71.7% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-6 {
  15.16% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  23.44%,
  65.16% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  73.44% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-7 {
  17.02% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  25.18%,
  67.02% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  75.18% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-8 {
  18.88% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  26.92%,
  68.88% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  76.92% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-9 {
  20.74% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  28.66%,
  70.74% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  78.66% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-10 {
  22.6% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  30.4%,
  72.6% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  80.4% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-11 {
  24.46% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  32.14%,
  74.46% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  82.14% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-12 {
  26.32% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  33.88%,
  76.32% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  83.88% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-13 {
  28.18% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  35.62%,
  78.18% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  85.62% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-14 {
  30.04% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  37.36%,
  80.04% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  87.36% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-15 {
  31.9% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  39.1%,
  81.9% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  89.1% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-16 {
  33.76% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  40.84%,
  83.76% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  90.84% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-17 {
  35.62% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  42.58%,
  85.62% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  92.58% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes page-18 {
  37.48% {
    transform: rotateZ(0deg) translateX(-18px);
  }

  44.32%,
  87.48% {
    transform: rotateZ(180deg) translateX(-18px);
  }

  94.32% {
    transform: rotateZ(0deg) translateX(-18px);
  }
}

@keyframes left {
  4% {
    transform: rotateZ(90deg);
  }

  10%,
  40% {
    transform: rotateZ(0deg);
  }

  46%,
  54% {
    transform: rotateZ(90deg);
  }

  60%,
  90% {
    transform: rotateZ(0deg);
  }

  96% {
    transform: rotateZ(90deg);
  }
}

@keyframes right {
  4% {
    transform: rotateZ(-90deg);
  }

  10%,
  40% {
    transform: rotateZ(0deg);
  }

  46%,
  54% {
    transform: rotateZ(-90deg);
  }

  60%,
  90% {
    transform: rotateZ(0deg);
  }

  96% {
    transform: rotateZ(-90deg);
  }
}

@keyframes book {
  4% {
    transform: rotateZ(-90deg);
  }

  10%,
  40% {
    transform: rotateZ(0deg);
    transform-origin: 2px 2px;
  }

  40.01%,
  59.99% {
    transform-origin: 30px 2px;
  }

  46%,
  54% {
    transform: rotateZ(90deg);
  }

  60%,
  90% {
    transform: rotateZ(0deg);
    transform-origin: 2px 2px;
  }

  96% {
    transform: rotateZ(-90deg);
  }
}

/* Search Bar
------------------------------------------------------------- */
.search-box {
  background: var(--gray-color);
  position: relative;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 120px;
  cursor: pointer;
  z-index: 9;
}

.search-box input.search-input {
  font-size: 1.3em;
  width: 70%;
  height: 30px;
  padding: 25px;
  border-radius: 80px;
  border-color: rgb(0 0 0 / 25%);
  background: transparent;
}

.search-box svg {
  width: 22px;
  height: 22px;
  color: var(--primary-color);
}

.search-box svg.search {
  margin-left: -50px;
}


/** Search Form
--------------------------------------------------------------*/
.search-form input[type="search"].search-field {
  border: none;
  background: #f1f1f1;
  width: 100%;
  border-radius: 50px;
  padding: 10px 40px;
}

.search-form input[type="search"].search-field::focus {
  border-color: #af9aaa;
}

.search-form button {
  position: absolute;
  top: 6px;
  right: 9px;
  background: transparent;
  border: none;
}

/** Search Popup
--------------------------------------------------------------*/
.search-popup {
  background-color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 999999;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}

.search-popup.is-visible {
  opacity: 1;
  visibility: visible;
  cursor: -webkit-image-set(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFF' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E") 1x, url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E") 2x), pointer;
  cursor: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E"), pointer;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.search-popup-container {
  background-color: transparent;
  position: relative;
  top: 50%;
  margin: 0 auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  text-align: center;
  box-shadow: none;
  cursor: default;
  -webkit-transform: translateY(-40px);
  transform: translateY(-40px);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.is-visible .search-popup-container {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.search-popup-form {
  position: relative;
  margin: 0 0 3em 0;
}

.search-popup-form .form-control {
  padding: 0 0 .375em 0;
  font-size: 2em;
}

.search-popup-form #search-popup-submit {
  display: none;
}

.search-popup .search-popup-close {
  display: block;
  position: absolute;
  top: 2em;
  right: 2em;
  margin: -0.5em;
  padding: 0.5em;
  line-height: 0;
}

.search-popup .search-popup-close:hover {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.search-popup .search-popup-close i {
  display: block;
  position: relative;
  width: 1em;
  height: 1em;
  fill: rgba(0, 0, 0, 0.5);
}

.search-popup .search-popup-close:hover i {
  fill: rgba(0, 0, 0, 1);
}

.search-popup .cat-list-title {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 0.6em;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.search-popup .cat-list {
  margin: 0;
  list-style-type: none;
}

.search-popup .cat-list-item {
  display: inline-block;
  margin-bottom: 0;
  letter-spacing: 0.015em;
  font-size: 2em;
}

.search-popup .cat-list-item a {
  position: relative;
}

.search-popup .cat-list-item a::after {
  background: none repeat scroll 0 0 #fff;
  content: "";
  height: 1px;
  border-bottom: 1px solid #ff9697;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 100%;
  width: 100%;
  -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  transition: height 0.3s, opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.search-popup .cat-list-item a:hover::after {
  height: 1px;
  opacity: 1;
  -webkit-transform: translateY(2px);
  transform: translateY(2px);
}

.search-popup .cat-list-item::after {
  content: "/";
  padding: 0 5px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
  vertical-align: text-top;
}

.search-popup .cat-list-item:last-child::after {
  display: none;
}

@media only screen and (max-width: 991px) {

  .search-popup .cat-list-item,
  .search-popup-form .form-control {
    font-size: 1.425em;
  }
}

@media only screen and (max-width: 767px) {
  .search-popup .search-popup-close {
    top: 1em;
    right: 1em;
  }
}

@media only screen and (max-width: 575px) {

  .search-popup .cat-list-item,
  .search-popup-form .form-control {
    font-size: 1.125em;
  }

  .search-popup .search-popup-close {
    top: 1em;
    right: 1em;
  }
}

.search-popup input[type="search"] {
  font-size: 24px;
  height: 60px;
  padding: 26px;
}

.search-popup .search-form button {
  top: 12px;
  right: 15px;
}

.search-popup .search-form button svg {
  height: 28px;
  width: 28px;
}

/* nav tabs */
.nav-tabs .nav-link {
  color: var(--black-color);
}

:focus-visible {
  outline: none;
}

/* 4.1 Header
/*----------------------------------------------*/
.site-header {
  width: 100%;
  z-index: 10;
  transition: background 0.3s ease-out;
}

.navbar-toggler svg.navbar-icon {
  width: 50px;
  height: 50px;
}

.navbar-nav .nav-item a.nav-link {
  font-size: 0.7619em;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--black-color);
}

.navbar-nav .nav-item a.nav-link.active,
.navbar-nav .nav-item a.nav-link:focus,
.navbar-nav .nav-item a.nav-link:hover {
  color: var(--primary-color);
}

.modal {
  --bs-modal-zindex: 99999;
}

.modal-dialog {
  max-width: 800px;
  margin: auto;
  height: 100vh;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  --bs-dropdown-link-active-color: var(--primary-color);
  --bs-dropdown-link-active-bg: #F5F5F5;
  --bs-dropdown-zindex: 99999;
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
}

.cart-dropdown .dropdown-menu,
.wishlist-dropdown .dropdown-menu {
  min-width: 21rem;
}

.cart-dropdown.dropdown a::after,
.wishlist-dropdown.dropdown a::after {
  display: none;
}

@media only screen and (max-width: 500px) {

  .cart-dropdown .dropdown-menu,
  .wishlist-dropdown .dropdown-menu {
    min-width: fit-content;
  }
}

/*------------ Offcanvas -------------- */
#header-nav .navbar-toggler:focus {
  box-shadow: none;
}

#header-nav .offcanvas {
  transition: 0.5s ease-in-out;
}

#header-nav .offcanvas.show {
  z-index: 99999;
}

#header-nav .offcanvas-end {
  width: 500px;
}

/*------------ Top User Icons -----------*/
.site-header .user-items svg {
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.site-header .cart-dropdown a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header .header-cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  line-height: 20px;
  text-align: center;
}

.site-header .header-cart-total {
  font-size: 0.85rem;
  color: var(--black-color);
  white-space: nowrap;
}

@media only screen and (max-width: 575px) {
  .site-header .header-cart-total {
    display: none;
  }
}

.toast-action {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: #111;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.toast-action:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.toast-action:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media only screen and (max-width: 991px) {
  #header-nav .offcanvas-body .user-items {
    width: 100%;
    margin-top: 0.75rem;
  }

  #header-nav .offcanvas-body .user-items>ul {
    width: 100%;
  }

  #header-nav .offcanvas-body .user-items>ul>li {
    padding-right: 0 !important;
  }

  #header-nav .offcanvas-body .user-items .cart-dropdown a {
    display: inline-flex;
    align-items: center;
  }
}

/* 4.2 Billboard
/*----------------------------------------------*/
/*------------Swiper Arrow -----------*/
.swiper-next,
.swiper-prev {
  color: var(--black-color);
  z-index: 9999;
}

.main-slider-button-next,
.main-slider-button-prev {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
  transition: transform 0.15s ease, background-color 0.2s ease;
  overflow: hidden;
}

.main-slider-button-next:hover,
.main-slider-button-prev:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.main-slider-button-next .billboard-arrow,
.main-slider-button-prev .billboard-arrow {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  color: #111827;
  transform: translateY(-1px);
}

.swiper-button-disabled {
  color: var(--gray-color-500);
  opacity: 0.5;
}

@media only screen and (max-width: 765px) {
  section#billboard {
    height: 100vh !important;
  }
}

/* 4.3 Icon Box - Company Services
/*----------------------------------------------*/
.icon-box .icon-box-icon svg {
  width: 33px;
  height: 33px;
  fill: var(--primary-color);
}

@media only screen and (max-width: 991px) {
  #company-services .icon-box {
    flex-wrap: wrap;
  }
}

/* 4.4 Product
/*----------------------------------------------*/
.card-concern {
  text-align: center;
  bottom: 145px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease-out;
  opacity: 0;
}

.card-concern .btn {
  padding: 1.125rem;
}

.card-concern svg {
  width: 27px;
  height: 27px;
  cursor: pointer;
}

.card:hover .card-concern {
  bottom: 160px;
  opacity: 1;
}

/* 4.5 Items Listings
/*----------------------------------------------*/
#items-listing img {
  max-width: 80px;
  max-height: 90px;
}

/*------------Swiper Pagination -----------*/
.product-store .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 35px;
}

.swiper-pagination span.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
}

/* 4.6 Testimonial
/*----------------------------------------------*/
.rating svg.star {
  width: 16px;
  height: 16px;
}
.rating svg.star use {
  fill: currentColor;
}
.rating svg.star.star-empty {
  opacity: 0.25;
}

.product-detail__info-item--rating .review-link {
  color: inherit;
  text-decoration: none;
}
.product-detail__info-item--rating .review-link:hover {
  text-decoration: underline;
}

/* 4.7 Brands
/*----------------------------------------------*/
#brands .brand-images img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: 0.3s ease-in-out;
}

#brands .brand-images a.brand:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* 4.8 Instagram
/*----------------------------------------------*/
.instagram-item .icon-overlay {
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: auto;
  color: var(--light-color);
  opacity: 0;
  transition: 0.9s ease-out;
}

.instagram-item:hover .icon-overlay {
  opacity: 1;
}

/* 4.9 Footer
/*----------------------------------------------*/
#footer .menu-list .menu-item a {
  font-size: 0.7619em;
  font-weight: 300;
  letter-spacing: 0.09em;
  color: var(--black-color);
}

#footer .menu-list .menu-item a:hover {
  color: var(--primary-color);
}

.social-links svg {
  width: 20px;
  height: 20px;
  transition: 0.3s ease-in-out;
  color: var(--light-gray-color);
}

.social-links svg:hover {
  color: var(--primary-color);
}

.social-links li {
  padding-right: 30px;
}

/*----------------------------------------------*/
/* 5. SITE STRUCTURE */
/*----------------------------------------------*/
/* ----------- Search Bar -----------*/
select#input-sort {
  border: none;
  padding: 0;
  text-align: right;
  cursor: pointer;
}

/* 5.1 Single Product Page
/*----------------------------------------------*/
.thumb-swiper .swiper-slide {
  height: auto;
}

.swiper-slide-thumb-active img {
  border: var(--bs-border-width) var(--bs-border-style) var(--primary-color) !important;
}

.product-info del {
  color: var(--gray-color-500);
}

/*---- Product Tabs ----------*/
.nav-tabs .nav-link {
  letter-spacing: 0.06em;
}

.nav-tabs .nav-link {
  background: none;
  border: none;
}

.nav-tabs button.nav-link.active {
  color: var(--primary-color);
  background: none;
}

.nav-tabs button.nav-link:hover {
  color: var(--primary-color);
}

@media screen and (max-width: 991px) {
  .product-tabs .review-item {
    width: 100%;
    flex-wrap: wrap;
  }

  .product-tabs .review-item .image-holder {
    margin-bottom: 10px;
  }
}

.product-categories .has-children>.sub-categories {
  display: none;
}

.product-categories .has-children.open>.sub-categories {
  display: block;
}

.product-categories .tree-toggle {
  font-weight: 600;
  text-decoration: none;
}

.product-categories .tree-toggle .caret {
  transition: transform 0.2s ease;
}

.product-categories .has-children.open .tree-toggle .caret {
  transform: rotate(180deg);
}

/* Volitelné zvýraznění aktivního filtru */
.sidebar .filter-link.active {
  font-weight: 600;
  color: var(--bs-primary);
}

/* Thumbnails v detailu produktu */
.product-thumbs {
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.product-thumbs .thumb-btn {
  flex: 0 0 auto;
  /* neroste */
  width: 84px;
  /* velikost náhledu */
  height: 84px;
  border-radius: 12px;
}

.product-thumbs .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  display: block;
}

.product-thumbs .thumb-btn:hover .thumb-img {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
}

.product-thumbs .thumb-btn:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
  border-radius: 14px;
}

/* Detail: akce + množství */
.product-actions {
  gap: 1rem;
}

@media (max-width: 576px) {
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 4px;
  background: #fff;
}

.quantity-control .qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #f4f4f4;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .12s ease;
}

.quantity-control .qty-btn:hover {
  background: #e4e4e4;
}

.quantity-control .qty-input {
  width: 56px;
  border: none;
  text-align: center;
  font-weight: 600;
  color: #222;
  background: transparent;
}

.quantity-control .qty-input:focus {
  outline: none;
  box-shadow: none;
}

.quantity-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 .15rem rgba(220, 53, 69, .15);
}

.cart-feedback {
  font-size: 0.95rem;
  color: #555;
}

.cart-feedback .msg {
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: .75rem;
  background: #f6f6f6;
}

.cart-feedback .msg-success {
  background: rgba(25, 135, 84, .10);
  color: #146c43;
}

.cart-feedback .msg-error {
  background: rgba(220, 53, 69, .10);
  color: #b02a37;
}

#btnAddToCart.is-loading {
  opacity: .75;
  pointer-events: none;
}

#btnAddToCart.is-loading .btn-label::after {
  content: "…";
}

/* tabulka košíku – responzivní */
.cart-table thead th {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom-width: 1px;
}

.cart-item-title {
  font-weight: 600;
  font-size: 1rem;
}

.cart-item-meta {
  font-size: 0.875rem;
}

.cart-item-thumbnail {
  width: 70px;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr {
    display: block;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .cart-table td {
    display: block;
    border: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .cart-table td.cart-col-actions {
    margin-top: 0.5rem;
  }

  .cart-summary {
    margin-top: 1.5rem;
  }
}

.cart-summary {
  border-radius: 1rem;
  border: 1px solid #e5e5e5;
}

.cart-summary-total {
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .35rem;
}

.cart-summary-row span:first-child {
  font-size: 0.9rem;
}

/* malé X tlačítko pro odebrání položky */
.cart-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background-color: transparent;
  color: #888888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.cart-remove-btn:hover {
  background-color: #f8d7da;
  color: #b00020;
}

/* Aktivní root kategorie (tree-toggle) – vizuálně jako aktivní filter-link */
.product-categories .tree-toggle.active {
  font-weight: 600;
  color: var(--bs-primary);
}

/* volitelně: malý highlight pozadí, když chceš podobné jako dropdown active */
.product-categories .tree-toggle.active {
  background: rgba(248, 109, 114, 0.08); /* vychází z --primary-color */
  border-radius: 10px;
  padding: 6px 10px;
}

/* Aktivní filtry (pill) */
.active-filters .filter-pill{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 6px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: var(--black-color);
  font-size: 0.9rem;
  text-decoration: none;
}

.active-filters .filter-pill:hover{
  background: #fafafa;
  color: var(--primary-color);
}

.active-filters .filter-pill .x{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  color: #777;
}

.active-filters .filter-pill:hover .x{
  background: #f8d7da;
  color: #b00020;
}

.active-filters .filter-pill.clear-all{
  border-color: rgba(248, 109, 114, .35);
}
/* Galerie: thumbnaily vedle main obrázku */
.product-gallery {
  align-items: flex-start;
}

/* vertikální sloupec thumbů */
.product-thumbs.product-thumbs--side {
  width: 92px;               /* šířka sloupce */
  max-height: 520px;         /* aby to nepřerostlo */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

/* tlačítko thumb */
.product-thumbs.product-thumbs--side .thumb-btn {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  flex: 0 0 auto;
}

/* obrázek thumb */
.product-thumbs.product-thumbs--side .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hlavní obrázek */
.product-main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* mobil: vrať thumbnaily pod obrázek (lepší UX) */
@media (max-width: 576px) {
  .product-gallery {
    flex-direction: column;
  }

  .product-thumbs.product-thumbs--side {
    width: 100%;
    max-height: none;
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 4px;
  }

  .product-thumbs.product-thumbs--side .thumb-btn {
    width: 84px;
    height: 84px;
  }
}


/* === Detail: pravý panel ve stylu "shop box" === */
.product-detail__info-title,
.product-detail__info-title {
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #777;
  margin: 0;
}

.product-detail__authors a,
.product-detail__authors span {
  font-weight: 600;
  text-decoration: none;
}

.product-detail__right-part .product-detail__shop {
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  background: #fff;
  padding: 18px;
}

.shop__binding {
  font-size: 1rem;
}

.badge-box {
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #111;
  border-radius: .75rem;
  padding: .35rem .6rem;
  font-weight: 600;
}

.shop__price .h3 {
  letter-spacing: .02em;
}

/* "Číst více" vypadá jako link tlačítko */
.description .btn-link {
  color: #1b1f24;
  text-decoration: none;
  font-weight: 600;
}
.description .btn-link:hover {
  color: #fff;
  background: var(--primary-color, #0d6efd);
  border-radius: 4px;
  padding: 2px 6px;
  text-decoration: underline;
}

/* parametry jako ve vzoru */
.product-detail__parameters {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  background: #fff;
}
.product-detail__parameters > li {
  padding: 14px 16px;
  border-top: 1px solid #f0f0f0;
}
.product-detail__parameters > li:first-child {
  border-top: none;
}
.product-detail__parameters > li > p {
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: .03em;
}
.product-detail__parameter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
}

/* =========================================================
   CATALOG – UI polish (sidebar, grid, active filters, pagination)
   Přidej na konec main CSS souboru
   ========================================================= */

.catalog-page .sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
}

@media (max-width: 991.98px) {
  .catalog-page .sidebar {
    position: static;
    top: auto;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

/* Sidebar widgety jako "cards" */
.catalog-page .sidebar .widget-menu,
.catalog-page .sidebar .widget-product-tags,
.catalog-page .sidebar .widget-product-authur,
.catalog-page .sidebar .widget-price-filter {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--bs-box-shadow);
}

.catalog-page .sidebar .widget-product-tags,
.catalog-page .sidebar .widget-product-authur,
.catalog-page .sidebar .widget-price-filter {
  margin-top: 18px;
}

/* Sidebar search */
.catalog-page .widget-search-bar form {
  background: var(--light-color);
  border: 1px solid var(--bs-border-color) !important;
  border-radius: 16px !important;
}

.catalog-page .widget-search-bar .form-control {
  font-size: 16px;
  padding: 0.8rem 0.75rem;
}

.catalog-page .widget-search-bar button.btn {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
}

/* Kategorie / filtry v sidebaru */
.catalog-page .sidebar-list a.filter-link,
.catalog-page .product-categories a.filter-link,
.catalog-page .product-categories .tree-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--black-color);
  transition: background-color .12s ease, color .12s ease, transform .12s ease;
}

.catalog-page .sidebar-list a.filter-link:hover,
.catalog-page .product-categories .tree-toggle:hover {
  background: rgba(248, 109, 114, 0.08);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.catalog-page .sidebar .filter-link.active {
  background: rgba(248, 109, 114, 0.12);
  border: 1px solid rgba(248, 109, 114, 0.22);
  color: var(--primary-color);
  font-weight: 700;
}

.catalog-page .filter-count {
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #51606f;
  background: #eef3f7;
  line-height: 1;
  flex-shrink: 0;
}

.catalog-page .js-show-more {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Strom kategorií – caret animace + separator mezi položkami */
.catalog-page .product-categories .cat-item + .cat-item {
  margin-top: 4px;
}

.catalog-page .product-categories .sub-categories {
  margin-top: 6px !important;
  padding-left: 12px;
  border-left: 1px dashed var(--gray-color-300);
}

.catalog-page .product-categories .tree-toggle .caret {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--light-color);
  transition: transform .18s ease, background-color .18s ease;
}

.catalog-page .product-categories .has-children.open .tree-toggle .caret {
  transform: rotate(180deg);
  background: rgba(248, 109, 114, 0.12);
}

/* Aktivní filtry (pills) */
.catalog-page .active-filters {
  align-items: center;
}

.catalog-page .active-filters .filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--bs-border-color);
  background: #fff;
  font-size: 0.92rem;
  color: var(--black-color);
  box-shadow: 0 1px 10px rgba(0,0,0,.04);
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

.catalog-page .active-filters .filter-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 109, 114, .35);
  color: var(--primary-color);
  background: rgba(248, 109, 114, .06);
}

.catalog-page .active-filters .filter-pill .x {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  color: #777;
  background: var(--light-color);
}

.catalog-page .active-filters .filter-pill:hover .x {
  background: rgba(220, 53, 69, .10);
  color: #b02a37;
}

.catalog-page .active-filters .filter-pill.clear-all {
  border-color: rgba(248, 109, 114, .35);
  background: rgba(248, 109, 114, .08);
}

/* Grid karty produktů – jemnější hover + cover */
.catalog-page .product-item .card {
  border: 1px solid var(--bs-border-color) !important;
  border-radius: 18px !important;
  box-shadow: 0 1px 18px rgba(0,0,0,.04);
  transition: transform .14s ease, box-shadow .14s ease;
  overflow: hidden;
}

.catalog-page .product-item .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

.catalog-page .product-item img.img-fluid {
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  width: 100%;
}

/* Cena výrazněji */
.catalog-page .product-item .price {
  letter-spacing: 0.02em;
}

/* CTA (cart) na hover – trochu jemnější než default template */
.catalog-page .card-concern {
  bottom: 140px;
  opacity: 0;
  transition: all .18s ease;
}

.catalog-page .card:hover .card-concern {
  bottom: 156px;
  opacity: 1;
}

/* Selecty řazení – decentní „pill“ */
.catalog-page .catalog-sort-form {
  flex-wrap: nowrap;
  gap: 0.45rem !important;
}

.catalog-page .catalog-sort-form .form-select.form-select-sm {
  border-radius: 999px;
  padding: 0.38rem 1.7rem 0.38rem 0.65rem;
  border: 1px solid var(--bs-border-color);
  background-color: #fff;
  box-shadow: 0 1px 10px rgba(0,0,0,.03);
  font-size: 12px;
  line-height: 1.15;
  min-width: 105px;
  max-width: 120px;
  font-weight: 600;
}

/* =========================================================
   PAGINATION – moderní tlačítka (přepíše původní .page-link)
   ========================================================= */

.catalog-page .pagination {
  gap: 8px;
}

.catalog-page .pagination .page-item {
  margin: 0;
}

.catalog-page .pagination .page-link {
  padding: 10px 14px;             /* přepisuje template padding:0 */
  border: 1px solid var(--bs-border-color);
  border-radius: 14px;
  background: #fff;
  color: var(--black-color);
  font-size: 16px;                 /* template má 21px, to je moc */
  font-weight: 700;
  box-shadow: 0 1px 12px rgba(0,0,0,.04);
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

.catalog-page .pagination .page-link:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 109, 114, .35);
  background: rgba(248, 109, 114, .06);
  color: var(--primary-color);
}

.catalog-page .pagination .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 26px rgba(248,109,114,.25);
}

.catalog-page .pagination .page-item.disabled .page-link {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  background: #fff;
}

/* tečky "…" */
.catalog-page .pagination .page-item.disabled > .page-link,
.catalog-page .pagination .page-item.disabled > span.page-link {
  border-style: dashed;
  box-shadow: none;
}

/* mobil: menší */
@media (max-width: 575.98px) {
  .catalog-page .pagination {
    gap: 6px;
  }
  .catalog-page .pagination .page-link {
    padding: 9px 12px;
    font-size: 15px;
    border-radius: 12px;
  }
}

/* Product detail tweaks */
.product-detail-page .product-thumbs--under .thumb-btn {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  overflow: hidden;
}

.product-detail-page .product-thumbs--under .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-page .description .btn-link {
  color: #1b1f24;
  text-decoration: underline;
  font-weight: 600;
}

.product-detail-page .description .btn-link:hover {
  color: var(--primary-color);
  background: transparent;
  padding: 0;
}

.product-detail-page .description__detail--full {
  padding-top: 6px;
}

.product-detail-page .description__detail-buttons {
  margin-top: 14px !important;
}

.product-detail-page .related-products .card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.product-detail-page .sample-download-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
}

.product-detail-page .sample-download-box .btn {
  border-radius: 999px;
}

.product-detail-page .sample-download-box__preview {
  font-size: .86rem;
  color: #6b7280;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #000000;
}

/* Homepage search controls */
#hpSearchForm .hp-search-control {
  height: 48px;
}

#hpSearchForm button.hp-search-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

#hpSuggestList .hp-suggest-meta {
  color: #475569;
}

#hpSuggestList .list-group-item:hover .hp-suggest-meta,
#hpSuggestList .list-group-item:focus .hp-suggest-meta {
  color: #334155;
}

#sidebarSuggestList .catalog-suggest-meta {
  color: #475569;
}

#sidebarSuggestList .list-group-item:hover .catalog-suggest-meta,
#sidebarSuggestList .list-group-item:focus .catalog-suggest-meta {
  color: #334155;
}
