
/* =========================================================
   TEBBA – globální vizuální styl pro OpenCart 3.0.5.0
   Verze 1.0
   ========================================================= */

:root {
  --tebba-primary: #5B256E;
  --tebba-primary-hover: #6D3384;
  --tebba-primary-dark: #4A1E59;
  --tebba-bg-soft: #F7F2FA;
  --tebba-border: #E6D8EE;
  --tebba-text: #3F2A47;
  --tebba-muted: #7A6A80;
  --tebba-white: #FFFFFF;
  --tebba-success: #5F7F63;
  --tebba-danger: #9E455A;
  --tebba-shadow: 0 8px 24px rgba(74, 30, 89, 0.10);
  --tebba-radius: 14px;
}

/* Základ */
body {
  color: var(--tebba-text);
  background: var(--tebba-white);
}

a {
  color: var(--tebba-primary);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--tebba-text);
  font-weight: 700;
}

/* Čitelnější text v produktových a kategoriálních popisech */
#product-product #tab-description,
#product-product #tab-description p,
#product-product #tab-description li,
#product-product #tab-description td,
#product-product #tab-description th,
#product-category .tebba-category-description,
#product-category .tebba-category-description p,
#product-category .tebba-category-description li,
#product-category .tebba-product-card__description {
  color: #111111 !important;
}

#product-product #tab-description h1,
#product-product #tab-description h2,
#product-product #tab-description h3,
#product-category .tebba-category-description h1,
#product-category .tebba-category-description h2,
#product-category .tebba-category-description h3 {
  color: var(--tebba-primary) !important;
}

#product-product #tab-description a,
#product-category .tebba-category-description a {
  color: var(--tebba-primary) !important;
}

#product-product #tab-description a:hover,
#product-product #tab-description a:focus,
#product-category .tebba-category-description a:hover,
#product-category .tebba-category-description a:focus {
  color: var(--tebba-primary-hover) !important;
}

/* Horní lišta a hlavička */
#top {
  background: var(--tebba-white);
  border-bottom: 0;
  color: var(--tebba-text);
}

#top a,
#top button,
#top .btn-link {
  color: var(--tebba-text);
}

#top a:hover,
#top button:hover,
#top .btn-link:hover {
  color: var(--tebba-primary);
}

header {
  background: var(--tebba-white);
  border-bottom: 0;
  padding: 14px 0;
}

header .row {
  display: flex;
  align-items: center;
}

#logo {
  margin: 0;
  padding: 0;
}

#logo img {
  display: block;
  width: auto;
  max-height: 90px;
}

#search,
#cart {
  margin-top: 0;
  margin-bottom: 0;
}

/* Sjednocení ikon a rozbalovacích nabídek v hlavičce */
header .fa,
#top .fa,
header a,
header button {
  color: var(--tebba-text);
}

header a:hover,
header button:hover,
header .fa:hover {
  color: var(--tebba-primary);
}

#top .dropdown-menu,
header .dropdown-menu {
  background: var(--tebba-white);
  border: 1px solid var(--tebba-border);
  box-shadow: var(--tebba-shadow);
}

/* Vyhledávání */
#search .form-control {
  height: 46px;
  border: 1px solid var(--tebba-border);
  border-radius: 23px 0 0 23px;
  box-shadow: none;
  padding-left: 18px;
}

#search .btn {
  height: 46px;
  border-radius: 0 23px 23px 0;
  background: var(--tebba-primary);
  border-color: var(--tebba-primary);
  color: var(--tebba-white);
}

#search .btn:hover {
  background: var(--tebba-primary-hover);
  border-color: var(--tebba-primary-hover);
}

/* Košík */
#cart > .btn {
  background: var(--tebba-primary);
  border-color: var(--tebba-primary);
  color: var(--tebba-white);
  border-radius: 23px;
  min-height: 46px;
}

#cart > .btn:hover {
  background: var(--tebba-primary-hover);
  border-color: var(--tebba-primary-hover);
}

/* Hlavička – tablet */
@media (min-width: 768px) and (max-width: 991px) {
  header .tebba-header-row {
    gap: 0;
  }

  #logo img {
    max-width: 100%;
    max-height: 68px;
  }

  #search .btn {
    width: 48px;
    padding-right: 0;
    padding-left: 0;
  }

  #cart > .btn {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    white-space: nowrap;
  }
}

/* Hlavička – telefon */
@media (max-width: 767px) {
  #top {
    min-height: 42px;
    margin-bottom: 0;
    padding: 3px 0;
  }

  #top .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 36px;
    padding-right: 15px;
    padding-left: 15px;
  }

  #top-links {
    float: none !important;
    padding-top: 0;
  }

  #top-links .list-inline {
    margin: 0;
    white-space: nowrap;
  }

  #top-links .list-inline > li {
    padding-right: 8px;
    padding-left: 8px;
  }

  header {
    padding: 10px 0 12px;
  }

  header .tebba-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-right: 0;
    margin-left: 0;
  }

  header .tebba-header-logo,
  header .tebba-header-search,
  header .tebba-header-cart {
    float: none;
    width: auto;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  header .tebba-header-logo {
    grid-column: 1 / -1;
  }

  #logo {
    display: flex;
    justify-content: center;
  }

  #logo a {
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
  }

  #logo img {
    width: auto;
    max-width: 190px;
    max-height: 58px;
  }

  header .tebba-header-search {
    grid-column: 1;
  }

  header .tebba-header-cart {
    grid-column: 2;
  }

  #search,
  #search .input-group {
    width: 100%;
  }

  #search .form-control {
    display: block !important;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border-radius: 22px 0 0 22px;
    font-size: 16px;
  }

  #search .btn {
    width: 48px;
    height: 44px;
    padding: 0;
    border-radius: 0 22px 22px 0;
  }

  #cart {
    width: auto;
  }

  #cart > .btn {
    width: auto;
    min-width: 138px;
    min-height: 44px;
    padding: 10px 13px;
    border-radius: 22px;
    font-size: 12px;
    white-space: nowrap;
  }

  #cart .dropdown-menu {
    right: 0;
    left: auto;
    width: min(340px, calc(100vw - 30px));
    min-width: 0;
  }

  #menu {
    margin-bottom: 12px;
  }
}

@media (max-width: 374px) {
  header .tebba-header-row {
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 8px;
  }

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

  #cart > .btn {
    min-width: 126px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 11px;
  }
}

/* Hlavní menu */
#menu {
  background: var(--tebba-primary);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#menu .nav > li > a {
  color: var(--tebba-white);
  font-weight: 600;
  letter-spacing: .2px;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a,
#menu .nav > li.active > a {
  background: var(--tebba-primary-hover);
  color: var(--tebba-white);
}

#menu .dropdown-menu {
  border: 1px solid var(--tebba-border);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--tebba-shadow);
}

#menu .dropdown-inner a:hover {
  color: var(--tebba-primary);
}

/* Rozbalené kategorie – svěží levandulové zvýraznění */
#menu .dropdown-menu > li > a,
#menu .dropdown-inner a {
  box-sizing: border-box;
  border-left: 3px solid transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

#menu .dropdown-menu > li > a:hover,
#menu .dropdown-menu > li > a:focus,
#menu .dropdown-inner a:hover,
#menu .dropdown-inner a:focus {
  color: var(--tebba-primary) !important;
  background: #E6D5EC !important;
  border-left-color: #B56FBD;
}

#menu .dropdown-menu > .active > a,
#menu .dropdown-menu > .active > a:hover,
#menu .dropdown-menu > .active > a:focus,
#menu .dropdown-inner li.active > a,
#menu .dropdown-inner li.active > a:hover,
#menu .dropdown-inner li.active > a:focus {
  color: var(--tebba-primary) !important;
  background: #F1E8F5 !important;
  border-left-color: #B56FBD;
  font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  border: 0;
  padding: 12px 0;
  margin-bottom: 22px;
}

.breadcrumb > li + li:before {
  color: #B9A8C0;
}

.breadcrumb a {
  color: var(--tebba-muted);
}

.breadcrumb a:hover {
  color: var(--tebba-primary);
}

/* Univerzální tlačítka */
.btn {
  border-radius: 10px;
  font-weight: 600;
  transition: all .2s ease;
}

.btn-primary {
  background: var(--tebba-primary);
  border-color: var(--tebba-primary);
  color: var(--tebba-white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background: var(--tebba-primary-hover);
  border-color: var(--tebba-primary-hover);
  color: var(--tebba-white);
}

.btn-default {
  background: var(--tebba-white);
  border-color: var(--tebba-border);
  color: var(--tebba-text);
}

.btn-default:hover {
  background: var(--tebba-bg-soft);
  border-color: #D9C6E3;
  color: var(--tebba-primary);
}

/* Formuláře */
.form-control {
  border: 1px solid var(--tebba-border);
  border-radius: 10px;
  box-shadow: none;
}

.form-control:focus {
  border-color: var(--tebba-primary);
  box-shadow: 0 0 0 3px rgba(91, 37, 110, .10);
}

.input-group-addon {
  border-color: var(--tebba-border);
  background: var(--tebba-bg-soft);
}

/* Produktové karty */
.product-thumb {
  border: 1px solid var(--tebba-border);
  border-radius: var(--tebba-radius);
  background: var(--tebba-white);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(74, 30, 89, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--tebba-shadow);
  border-color: #DCC8E6;
}

.product-thumb .image {
  background: var(--tebba-white);
  padding: 12px;
}

.product-thumb .caption {
  padding: 18px;
}

.product-thumb h4 {
  min-height: 44px;
  margin-bottom: 10px;
}

.product-thumb h4 a {
  color: var(--tebba-text);
  font-weight: 700;
}

.product-thumb h4 a:hover {
  color: var(--tebba-primary);
}

.product-thumb .price {
  color: var(--tebba-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.product-thumb .price .price-main,
.product-thumb .price .price-new {
  display: inline-block;
  color: var(--tebba-primary);
  font-weight: 800;
  white-space: nowrap;
}

.product-thumb .price-new {
  color: var(--tebba-primary);
}

.product-thumb .price-old {
  color: #A497A8;
}

.product-thumb .price-tax,
.tebba-display-price .price-tax {
  display: none !important;
  margin-top: 4px;
  color: #8e858f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.product-thumb .button-group {
  border-top: 1px solid var(--tebba-border);
}

.product-thumb .button-group button {
  background: var(--tebba-primary);
  border: 0;
  color: var(--tebba-white);
}

.product-thumb .button-group button:hover {
  background: var(--tebba-primary-hover);
  color: var(--tebba-white);
}

/* Kategorie a panely */
.panel {
  border-color: var(--tebba-border);
  border-radius: var(--tebba-radius);
  overflow: hidden;
}

.panel-heading {
  background: var(--tebba-bg-soft) !important;
  border-color: var(--tebba-border) !important;
  color: var(--tebba-text) !important;
  font-weight: 700;
}

.list-group-item {
  border-color: var(--tebba-border);
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  background: var(--tebba-primary);
  border-color: var(--tebba-primary);
}

/* Produktová stránka */
#product-product h1 {
  color: var(--tebba-text);
}

#product-product .price,
#product-product h2 {
  color: var(--tebba-primary);
}

#product-product .thumbnail {
  border-color: var(--tebba-border);
  border-radius: var(--tebba-radius);
}

#product-product .thumbnail:hover {
  border-color: var(--tebba-primary);
}

#product-product .nav-tabs {
  border-bottom: 1px solid var(--tebba-border);
}

#product-product .nav-tabs > li > a {
  color: var(--tebba-muted);
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
}

#product-product .nav-tabs > li.active > a,
#product-product .nav-tabs > li.active > a:hover,
#product-product .nav-tabs > li.active > a:focus {
  color: var(--tebba-primary);
  border: 0;
  border-bottom: 3px solid var(--tebba-primary);
  background: transparent;
}

#product-product .tab-content {
  padding-top: 20px;
}

/* Výběr velikostí */
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-option {
  margin: 0;
  cursor: pointer;
}

.size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-option span {
  display: inline-flex;
  min-width: 48px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--tebba-border);
  border-radius: 10px;
  background: var(--tebba-white);
  color: var(--tebba-text);
  font-weight: 700;
  transition: all .2s ease;
}

.size-option:hover span {
  border-color: var(--tebba-primary);
  color: var(--tebba-primary);
}

.size-option input:checked + span {
  background: var(--tebba-primary);
  border-color: var(--tebba-primary);
  color: var(--tebba-white);
  box-shadow: 0 5px 12px rgba(91, 37, 110, .22);
}

.size-option.size-disabled span {
  opacity: .45;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Cena na produktu */
#product-product .product-price,
#product-product .price-main,
#product-product .product-info h2 {
  color: var(--tebba-primary);
  font-weight: 800;
}

#product-product .tebba-price .tax-line {
  display: block;
  margin-top: 6px;
  color: #77706c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

/* Štítky */
.label-primary,
.badge-primary,
.product-label,
.label-new,
.label-sale {
  background: var(--tebba-primary) !important;
  color: var(--tebba-white) !important;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.label-success {
  background: var(--tebba-success);
}

.label-danger {
  background: var(--tebba-danger);
}

/* Upozornění */
.alert-success {
  color: #3D5D42;
  background: #EEF6EF;
  border-color: #CFE2D1;
}

.alert-danger {
  color: #7A2F42;
  background: #FAEEF1;
  border-color: #E8C8D0;
}

.alert-info {
  color: var(--tebba-text);
  background: var(--tebba-bg-soft);
  border-color: var(--tebba-border);
}

/* Tabulky */
.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border-color: var(--tebba-border);
}

.table > thead > tr > th {
  color: var(--tebba-primary);
  background: var(--tebba-bg-soft);
}

/* Pagination */
.pagination > li > a,
.pagination > li > span {
  color: var(--tebba-primary);
  border-color: var(--tebba-border);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
  background: var(--tebba-primary);
  border-color: var(--tebba-primary);
  color: var(--tebba-white);
}

/* Footer */
footer {
  background: var(--tebba-bg-soft);
  color: var(--tebba-text);
  border-top: 1px solid var(--tebba-border);
  margin-top: 50px;
  padding-top: 40px;
}

footer h5 {
  color: var(--tebba-primary-dark);
  font-weight: 800;
}

footer a {
  color: var(--tebba-text);
}

footer a:hover {
  color: var(--tebba-primary);
}

/* Mobilní zobrazení */
@media (max-width: 767px) {
  #menu {
    border-radius: 0;
  }

  .product-thumb {
    border-radius: 12px;
  }

  .product-thumb .caption {
    padding: 14px;
  }

  #product-product h1 {
    font-size: 27px;
    line-height: 1.25;
  }

  #product-product h2,
  #product-product .price {
    font-size: 30px;
  }

  .size-option span {
    min-width: 44px;
    height: 42px;
    padding: 0 12px;
  }
}


/* =========================================================
   TEBBA – Reklamace a vrácení zboží
   ========================================================= */

.tebba-return-page {
  margin-bottom: 60px;
}

.tebba-return-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 44px 40px;
  border: 1px solid var(--tebba-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.9), transparent 36%),
    linear-gradient(135deg, #F8F1FB 0%, #EEE1F4 100%);
  box-shadow: var(--tebba-shadow);
}

.tebba-return-hero:after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(91, 37, 110, .06);
}

.tebba-return-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.tebba-return-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--tebba-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.tebba-return-hero h1 {
  margin: 0 0 14px;
  color: var(--tebba-primary-dark);
  font-size: 38px;
  line-height: 1.2;
}

.tebba-return-hero p {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--tebba-muted);
  font-size: 17px;
  line-height: 1.7;
}

.tebba-return-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tebba-return-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(91, 37, 110, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--tebba-text);
  font-size: 13px;
  font-weight: 700;
}

.tebba-return-benefits .fa {
  color: var(--tebba-primary);
}

.tebba-return-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.tebba-return-sidebar {
  position: sticky;
  top: 20px;
}

.tebba-return-info-card,
.tebba-return-tip,
.tebba-return-section {
  border: 1px solid var(--tebba-border);
  border-radius: 18px;
  background: var(--tebba-white);
  box-shadow: 0 6px 20px rgba(74, 30, 89, .06);
}

.tebba-return-info-card {
  padding: 24px;
}

.tebba-return-info-card h2 {
  margin: 0 0 22px;
  color: var(--tebba-primary-dark);
  font-size: 22px;
}

.tebba-return-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 20px;
}

.tebba-return-step:last-child {
  padding-bottom: 0;
}

.tebba-return-step > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tebba-primary);
  color: var(--tebba-white);
  font-weight: 800;
}

.tebba-return-step strong {
  display: block;
  margin: 4px 0 3px;
  color: var(--tebba-text);
}

.tebba-return-step p {
  margin: 0;
  color: var(--tebba-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tebba-return-tip {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  padding: 18px;
  background: var(--tebba-bg-soft);
}

.tebba-return-tip > .fa {
  margin-top: 3px;
  color: var(--tebba-primary);
  font-size: 21px;
}

.tebba-return-tip strong {
  display: block;
  margin-bottom: 3px;
}

.tebba-return-tip p {
  margin: 0;
  color: var(--tebba-muted);
  font-size: 13px;
}

.tebba-return-form-wrap {
  min-width: 0;
}

.tebba-return-form {
  display: grid;
  gap: 22px;
}

.tebba-return-section {
  padding: 28px;
}

.tebba-return-section__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tebba-border);
}

.tebba-return-section__icon {
  display: inline-flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--tebba-bg-soft);
  color: var(--tebba-primary);
  font-size: 18px;
}

.tebba-return-section__head h2 {
  margin: 0 0 4px;
  color: var(--tebba-primary-dark);
  font-size: 21px;
}

.tebba-return-section__head p {
  margin: 0;
  color: var(--tebba-muted);
  font-size: 13px;
}

.tebba-return-form .form-group {
  margin-bottom: 19px;
}

.tebba-return-form label {
  margin-bottom: 7px;
  color: var(--tebba-text);
  font-size: 14px;
  font-weight: 700;
}

.tebba-return-form .form-group.required > label:after {
  content: " *";
  color: var(--tebba-danger);
}

.tebba-return-form .form-control {
  min-height: 46px;
  border-radius: 11px;
  background: #fff;
}

.tebba-return-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.tebba-return-date .btn {
  min-height: 46px;
}

.tebba-return-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tebba-return-reason {
  margin: 0 !important;
  cursor: pointer;
}

.tebba-return-reason input,
.tebba-return-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tebba-return-reason span {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid var(--tebba-border);
  border-radius: 11px;
  background: var(--tebba-white);
  color: var(--tebba-text);
  transition: all .2s ease;
}

.tebba-return-reason:hover span {
  border-color: var(--tebba-primary);
  color: var(--tebba-primary);
}

.tebba-return-reason input:checked + span {
  border-color: var(--tebba-primary);
  background: var(--tebba-bg-soft);
  color: var(--tebba-primary);
  box-shadow: 0 0 0 3px rgba(91, 37, 110, .08);
}

.tebba-return-reason input:checked + span .fa:before {
  content: "\f058";
}

.tebba-return-toggle {
  display: flex;
  gap: 10px;
}

.tebba-return-toggle label {
  margin: 0 !important;
  cursor: pointer;
}

.tebba-return-toggle span {
  display: inline-flex;
  min-width: 90px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tebba-border);
  border-radius: 10px;
  background: var(--tebba-white);
  transition: all .2s ease;
}

.tebba-return-toggle input:checked + span {
  border-color: var(--tebba-primary);
  background: var(--tebba-primary);
  color: var(--tebba-white);
}

.tebba-return-help {
  margin: 8px 0 0;
  color: var(--tebba-muted);
  font-size: 12px;
}

.tebba-return-consent {
  padding: 18px 20px;
  border: 1px solid var(--tebba-border);
  border-radius: 14px;
  background: var(--tebba-bg-soft);
}

.tebba-return-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 500;
}

.tebba-return-consent input {
  margin-top: 4px;
}

.tebba-return-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

.tebba-return-back,
.tebba-return-submit {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
}

.tebba-return-submit {
  min-width: 210px;
}

.tebba-return-submit .fa {
  margin-left: 7px;
}

.tebba-return-alert {
  border-radius: 12px;
}

@media (max-width: 991px) {
  .tebba-return-layout {
    grid-template-columns: 1fr;
  }

  .tebba-return-sidebar {
    position: static;
  }

  .tebba-return-info-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
  }

  .tebba-return-info-card h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .tebba-return-hero {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .tebba-return-hero h1 {
    font-size: 29px;
  }

  .tebba-return-benefits {
    display: grid;
  }

  .tebba-return-benefits span {
    justify-content: flex-start;
  }

  .tebba-return-info-card {
    display: block;
  }

  .tebba-return-section {
    padding: 20px 16px;
    border-radius: 15px;
  }

  .tebba-return-reasons {
    grid-template-columns: 1fr;
  }

  .tebba-return-actions {
    flex-direction: column-reverse;
  }

  .tebba-return-actions .btn {
    width: 100%;
  }
}


/* Janome specifické styly jsou v category.twig a jsou omezeny třídou .tebba-janome-category. */


/* =========================================================
   TEBBA – košík a pokladna, minimalistická varianta č. 1
   OpenCart 3.0.5.0
   ========================================================= */

.tebba-cart-page,
.tebba-checkout-page {
  --tebba-checkout-ink: #3f3442;
  --tebba-checkout-muted: #7d727f;
  --tebba-checkout-line: #e9e0e8;
  --tebba-checkout-soft: #f8f3f8;
  --tebba-checkout-primary: var(--tebba-primary, #5b256e);
  --tebba-checkout-dark: var(--tebba-primary-dark, #4a1e59);
  color: var(--tebba-checkout-ink);
}

.tebba-cart-page #content,
.tebba-checkout-page #content {
  float: none;
  width: 100%;
}

.tebba-cart-breadcrumb {
  margin-bottom: 8px;
  font-size: 12px;
}

.tebba-checkout-intro {
  max-width: 700px;
  margin: 18px auto 0;
  text-align: center;
}

.tebba-checkout-intro h1 {
  margin: 0;
  color: var(--tebba-checkout-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.tebba-checkout-intro h1 small {
  color: var(--tebba-checkout-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.tebba-checkout-intro > p:last-child {
  margin: 10px 0 0;
  color: var(--tebba-checkout-muted);
  font-size: 13px;
  line-height: 1.6;
}

.tebba-checkout-kicker,
.tebba-cart-count {
  display: block;
  margin: 0 0 8px;
  color: var(--tebba-checkout-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Tříkrokový ukazatel */
.tebba-checkout-steps {
  display: flex;
  width: 100%;
  max-width: 850px;
  align-items: flex-start;
  justify-content: center;
  margin: 35px auto 42px;
  padding: 0;
  list-style: none;
}

.tebba-checkout-steps > li {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #a79da8;
  font-size: 12px;
  font-weight: 700;
}

.tebba-checkout-steps > li:not(:last-child):after {
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 15px;
  left: 44px;
  height: 1px;
  background: var(--tebba-checkout-line);
  content: "";
}

.tebba-step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1c7d0;
  border-radius: 50%;
  background: #fff;
  color: #948a96;
  font-size: 12px;
  text-decoration: none;
  transition: all .2s ease;
}

.tebba-step-label {
  position: relative;
  z-index: 1;
  padding-right: 10px;
  background: #fff;
  color: inherit;
  line-height: 1.35;
  text-decoration: none;
}

a.tebba-step-number:hover,
a.tebba-step-label:hover {
  color: var(--tebba-checkout-primary);
}

.tebba-checkout-steps > li.is-active {
  color: var(--tebba-checkout-dark);
}

.tebba-checkout-steps > li.is-active .tebba-step-number {
  border-color: var(--tebba-checkout-primary);
  background: var(--tebba-checkout-primary);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(91, 37, 110, .09);
}

.tebba-checkout-steps > li.is-complete {
  color: var(--tebba-checkout-primary);
}

.tebba-checkout-steps > li.is-complete .tebba-step-number {
  border-color: var(--tebba-checkout-primary);
  color: var(--tebba-checkout-primary);
}

.tebba-checkout-steps > li.is-complete:after {
  background: #c7b0cd;
}

/* Stránka košíku */
.tebba-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 45px;
}

.tebba-cart-main {
  min-width: 0;
}

.tebba-cart-section-head,
.tebba-checkout-section-head {
  display: flex;
  min-height: 64px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.tebba-cart-section-head h2,
.tebba-checkout-section-head h2 {
  margin: 0;
  color: var(--tebba-checkout-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.015em;
}

.tebba-cart-continue-link {
  margin-top: 20px;
  color: var(--tebba-checkout-primary);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tebba-cart-products {
  border-top: 1px solid var(--tebba-checkout-line);
}

.tebba-cart-product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 130px 110px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--tebba-checkout-line);
}

.tebba-cart-product__image {
  width: 112px;
}

.tebba-cart-product__image a,
.tebba-cart-no-image {
  display: flex;
  width: 112px;
  height: 112px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--tebba-checkout-line);
  border-radius: 15px;
  background: var(--tebba-checkout-soft);
}

.tebba-cart-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tebba-cart-no-image {
  color: var(--tebba-checkout-primary);
  font-size: 28px;
}

.tebba-cart-product__info {
  min-width: 0;
}

.tebba-cart-product__brand {
  display: block;
  margin-bottom: 7px;
  color: var(--tebba-checkout-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.tebba-cart-product__info h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.tebba-cart-product__info h3 a {
  color: var(--tebba-checkout-ink);
}

.tebba-cart-product__info h3 a:hover {
  color: var(--tebba-checkout-primary);
}

.tebba-cart-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-bottom: 8px;
  color: var(--tebba-checkout-muted);
}

.tebba-cart-options small,
.tebba-cart-reward,
.tebba-cart-recurring {
  display: block;
  color: var(--tebba-checkout-muted);
  font-size: 10px;
}

.tebba-stock-warning {
  color: var(--tebba-danger, #9e455a);
}

.tebba-cart-remove,
.tebba-cart-update {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8c7d89;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tebba-cart-remove:hover,
.tebba-cart-update:hover {
  color: var(--tebba-checkout-primary);
}

.tebba-cart-product__quantity {
  text-align: center;
}

.tebba-cart-product__quantity > label {
  display: block;
  margin-bottom: 6px;
  color: var(--tebba-checkout-muted);
  font-size: 9px;
  font-weight: 600;
}

.tebba-quantity-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--tebba-checkout-line);
  border-radius: 999px;
  background: #fff;
}

.tebba-quantity-control button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tebba-checkout-primary);
  font-size: 16px;
}

.tebba-quantity-control input {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--tebba-checkout-ink);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.tebba-quantity-control input::-webkit-inner-spin-button,
.tebba-quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.tebba-cart-update {
  display: block;
  margin: 7px auto 0;
}

.tebba-cart-product__price {
  display: grid;
  gap: 5px;
  text-align: right;
}

.tebba-cart-product__price small {
  color: var(--tebba-checkout-muted);
  font-size: 9px;
}

.tebba-cart-product__price strong {
  color: var(--tebba-checkout-ink);
  font-size: 15px;
  white-space: nowrap;
}

.tebba-cart-tools {
  margin-top: 25px;
  padding: 22px;
  border-radius: 15px;
  background: var(--tebba-checkout-soft);
}

.tebba-cart-tools > h2 {
  margin: 0 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.tebba-cart-tools > p {
  margin-bottom: 15px;
  color: var(--tebba-checkout-muted);
  font-size: 11px;
}

.tebba-cart-tools .panel {
  overflow: hidden;
  margin-bottom: 8px;
  border-color: var(--tebba-checkout-line);
  border-radius: 11px;
  box-shadow: none;
}

.tebba-cart-summary {
  position: sticky;
  top: 18px;
  padding: 26px;
  border: 1px solid var(--tebba-checkout-line);
  border-radius: 20px;
  background: #fbf9fb;
  box-shadow: 0 12px 34px rgba(74, 30, 89, .06);
}

.tebba-cart-summary h2 {
  margin: 0 0 18px;
  color: var(--tebba-checkout-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.tebba-cart-summary__totals {
  padding: 10px 0;
  border-top: 1px solid var(--tebba-checkout-line);
  border-bottom: 1px solid var(--tebba-checkout-line);
}

.tebba-cart-summary__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  color: var(--tebba-checkout-muted);
  font-size: 12px;
}

.tebba-cart-summary__totals strong {
  color: var(--tebba-checkout-ink);
  white-space: nowrap;
}

.tebba-cart-summary__totals > .is-total {
  margin-top: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--tebba-checkout-line);
  color: var(--tebba-checkout-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.tebba-cart-summary__totals > .is-total strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
}

.tebba-cart-tax-note {
  margin: 8px 0 18px;
  color: var(--tebba-checkout-muted);
  font-size: 9px;
  text-align: right;
}

.tebba-cart-checkout {
  display: flex;
  width: 100%;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 12px;
}

.tebba-cart-mobile-continue {
  display: none;
  margin-top: 13px;
  font-size: 11px;
  text-align: center;
  text-decoration: underline;
}

.tebba-cart-trust {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 19px;
  color: var(--tebba-success, #5f7f63);
  font-size: 9px;
}

/* Stránka pokladny */
.tebba-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
  max-width: 1050px;
  margin: 0 auto 45px;
}

.tebba-checkout-main {
  min-width: 0;
}

.tebba-checkout-accordion .panel {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--tebba-checkout-line);
  border-radius: 14px;
  box-shadow: none;
}

.tebba-checkout-accordion .panel-heading {
  padding: 0;
  border: 0;
  background: #fff;
}

.tebba-checkout-accordion .panel-title {
  padding: 18px 20px;
  color: var(--tebba-checkout-ink);
  font-size: 13px;
  font-weight: 700;
}

.tebba-checkout-accordion .panel-title > a {
  display: block;
  margin: -18px -20px;
  padding: 18px 20px;
  color: var(--tebba-checkout-ink);
}

.tebba-checkout-accordion .panel-title > a:hover,
.tebba-checkout-accordion .panel-title > a:focus {
  background: var(--tebba-checkout-soft);
  color: var(--tebba-checkout-primary);
}

.tebba-checkout-accordion .panel-title .fa-caret-down {
  float: right;
  margin-top: 2px;
  color: var(--tebba-checkout-primary);
}

.tebba-checkout-accordion .panel-collapse.in {
  border-top: 1px solid var(--tebba-checkout-line);
}

.tebba-checkout-accordion .panel-body {
  padding: 24px 22px;
  border: 0 !important;
  background: #fff;
}

.tebba-checkout-accordion .form-group {
  margin-bottom: 16px;
}

.tebba-checkout-accordion label {
  margin-bottom: 6px;
  color: var(--tebba-checkout-ink);
  font-size: 12px;
  font-weight: 700;
}

.tebba-checkout-accordion .form-control {
  min-height: 44px;
  border-color: var(--tebba-checkout-line);
  border-radius: 10px;
  background: #fff;
}

.tebba-checkout-accordion textarea.form-control {
  min-height: 95px;
}

.tebba-checkout-accordion .radio,
.tebba-checkout-accordion .checkbox {
  padding: 12px 14px;
  border: 1px solid var(--tebba-checkout-line);
  border-radius: 10px;
  background: #fff;
}

.tebba-checkout-accordion input[type="radio"],
.tebba-checkout-accordion input[type="checkbox"] {
  accent-color: var(--tebba-checkout-primary);
}

.tebba-checkout-accordion .buttons {
  margin-top: 18px;
}

.tebba-checkout-accordion .buttons .btn-primary,
.tebba-checkout-accordion input.btn-primary {
  min-width: 180px;
  min-height: 45px;
  border-radius: 999px;
}

.tebba-checkout-accordion .alert {
  border-radius: 10px;
  font-size: 12px;
}

.tebba-checkout-accordion .table-responsive {
  border: 0;
}

.tebba-checkout-accordion .table {
  font-size: 12px;
}

.tebba-checkout-aside {
  position: sticky;
  top: 18px;
}

.tebba-checkout-assurance {
  padding: 25px;
  border: 1px solid var(--tebba-checkout-line);
  border-radius: 18px;
  background: var(--tebba-checkout-soft);
}

.tebba-checkout-assurance__icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--tebba-checkout-primary);
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(74, 30, 89, .08);
}

.tebba-checkout-assurance h2 {
  margin: 0 0 8px;
  color: var(--tebba-checkout-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
}

.tebba-checkout-assurance p {
  color: var(--tebba-checkout-muted);
  font-size: 11px;
  line-height: 1.55;
}

.tebba-checkout-assurance ul {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--tebba-checkout-line);
  list-style: none;
}

.tebba-checkout-assurance li {
  margin: 8px 0;
  color: var(--tebba-checkout-muted);
  font-size: 10px;
}

.tebba-checkout-assurance li .fa {
  width: 16px;
  color: var(--tebba-success, #5f7f63);
}

@media (max-width: 991px) {
  .tebba-cart-layout,
  .tebba-checkout-layout {
    grid-template-columns: 1fr;
  }

  .tebba-cart-summary,
  .tebba-checkout-aside {
    position: static;
  }

  .tebba-checkout-assurance {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 16px;
  }

  .tebba-checkout-assurance__icon {
    grid-row: 1 / 4;
  }

  .tebba-checkout-assurance ul {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .tebba-cart-breadcrumb {
    display: none;
  }

  .tebba-checkout-intro {
    margin-top: 24px;
  }

  .tebba-checkout-intro h1 {
    font-size: 30px;
  }

  .tebba-checkout-steps {
    margin: 28px auto 35px;
  }

  .tebba-checkout-steps > li {
    flex-direction: column;
    gap: 7px;
    font-size: 9px;
    text-align: center;
  }

  .tebba-checkout-steps > li:not(:last-child):after {
    top: 17px;
    right: calc(-50% + 20px);
    left: calc(50% + 20px);
  }

  .tebba-step-label {
    padding: 0 4px;
    background: #fff;
  }

  .tebba-cart-section-head,
  .tebba-checkout-section-head {
    min-height: 0;
  }

  .tebba-cart-section-head h2,
  .tebba-checkout-section-head h2 {
    font-size: 26px;
  }

  .tebba-cart-continue-link {
    display: none;
  }

  .tebba-cart-product {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .tebba-cart-product__image,
  .tebba-cart-product__image a,
  .tebba-cart-no-image {
    width: 84px;
    height: 84px;
  }

  .tebba-cart-product__info h3 {
    font-size: 15px;
  }

  .tebba-cart-product__quantity {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .tebba-cart-product__quantity > label {
    text-align: left;
  }

  .tebba-cart-update {
    margin-left: 0;
  }

  .tebba-cart-product__price {
    grid-column: 2;
    justify-self: end;
    margin-top: -54px;
  }

  .tebba-cart-mobile-continue {
    display: block;
  }

  .tebba-checkout-accordion .panel-body {
    padding: 20px 15px;
  }

  .tebba-checkout-accordion .buttons .btn,
  .tebba-checkout-accordion .buttons input.btn,
  .tebba-checkout-accordion .buttons a.btn {
    width: 100%;
    margin-bottom: 8px;
  }

  .tebba-checkout-assurance {
    display: block;
  }

  .tebba-checkout-assurance__icon {
    margin-bottom: 13px;
  }
}

@media (max-width: 420px) {
  .tebba-checkout-steps > li {
    font-size: 8px;
  }

  .tebba-step-number {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .tebba-checkout-steps > li:not(:last-child):after {
    top: 15px;
  }

  .tebba-cart-summary,
  .tebba-checkout-assurance,
  .tebba-cart-tools {
    padding: 20px 16px;
    border-radius: 15px;
  }

  .tebba-cart-trust {
    flex-direction: column;
    align-items: center;
  }
}

/* Lišta s odkazem na příslušenství před popisem šicího stroje */
.tebba-accessories-strip {
  display: flex;
  width: 100%;
  min-height: 92px;
  align-items: center;
  gap: 18px;
  margin: 4px 0 28px;
  padding: 18px 24px;
  border: 1px solid rgba(123, 41, 68, .22);
  border-radius: 12px;
  background: linear-gradient(110deg, #f7eff4 0%, #fff 55%, #f3e6ed 100%);
  box-shadow: 0 8px 24px rgba(73, 39, 55, .08);
  color: #302b28;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tebba-accessories-strip:hover,
.tebba-accessories-strip:focus {
  border-color: #7b2944;
  box-shadow: 0 11px 28px rgba(73, 39, 55, .14);
  color: #302b28;
  text-decoration: none;
  transform: translateY(-1px);
}

.tebba-accessories-strip__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #7b2944;
  color: #fff;
  font-size: 23px;
}

.tebba-accessories-strip__content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
}

.tebba-accessories-strip__content strong {
  color: #4d1d31;
  font-size: 19px;
  line-height: 1.3;
}

.tebba-accessories-strip__content small {
  color: #6d625f;
  font-size: 13px;
  line-height: 1.45;
}

.tebba-accessories-strip__action {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border-radius: 6px;
  background: #7b2944;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tebba-accessories-strip:hover .tebba-accessories-strip__action,
.tebba-accessories-strip:focus .tebba-accessories-strip__action {
  background: #642137;
}

@media (max-width: 767px) {
  .tebba-accessories-strip {
    gap: 13px;
    margin-bottom: 22px;
    padding: 16px;
  }

  .tebba-accessories-strip__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 19px;
  }

  .tebba-accessories-strip__content strong {
    font-size: 16px;
  }

  .tebba-accessories-strip__content small {
    font-size: 12px;
  }

  .tebba-accessories-strip__action {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .tebba-accessories-strip__action i {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .tebba-accessories-strip__icon {
    display: none;
  }
}

/* Kompatibilní příslušenství vybrané pro konkrétní stroj */
.tebba-compatible-accessories {
  scroll-margin-top: 24px;
  margin: 38px 0 24px;
  padding: 28px;
  border: 1px solid #e7dfda;
  border-radius: 14px;
  background: #faf8f7;
}

.tebba-compatible-accessories__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.tebba-compatible-accessories__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #7b2944;
  color: #fff;
  font-size: 20px;
}

#product-product .tebba-compatible-accessories__heading h2 {
  margin: 0 0 3px;
  color: #3f2731;
  font-size: 24px;
  line-height: 1.25;
}

.tebba-compatible-accessories__heading p {
  margin: 0;
  color: #716864;
  font-size: 13px;
}

.tebba-compatible-accessories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tebba-accessory-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2dad5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(47, 37, 32, .05);
}

.tebba-accessory-card__image {
  display: flex;
  height: 180px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
}

.tebba-accessory-card__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tebba-accessory-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 14px;
  border-top: 1px solid #eee8e4;
}

#product-product .tebba-accessory-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
}

.tebba-accessory-card h3 a {
  color: #392f2c;
}

.tebba-accessory-card h3 a:hover {
  color: #7b2944;
}

.tebba-accessory-card__price {
  margin: auto 0 12px;
  color: #7b2944;
  font-size: 16px;
  font-weight: 800;
}

.tebba-accessory-card__price del {
  margin-left: 4px;
  color: #928985;
  font-size: 12px;
  font-weight: 500;
}

.tebba-accessory-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7b2944;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .tebba-compatible-accessories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .tebba-compatible-accessories {
    margin-top: 28px;
    padding: 20px 16px;
  }

  #product-product .tebba-compatible-accessories__heading h2 {
    font-size: 20px;
  }

  .tebba-compatible-accessories__grid {
    display: flex;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tebba-compatible-accessories__grid::-webkit-scrollbar {
    display: none;
  }

  .tebba-accessory-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
}

/* =========================================================
   Potvrzení po přidání produktu do košíku
   ========================================================= */

body.tebba-cart-popup-open {
  overflow: hidden;
}

.tebba-cart-popup {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.tebba-cart-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.tebba-cart-popup__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(29, 24, 31, .70);
  cursor: default;
}

.tebba-cart-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 34px 44px 38px;
  border-radius: 24px;
  background: var(--tebba-white, #fff);
  box-shadow: 0 28px 75px rgba(24, 14, 28, .32);
  color: var(--tebba-text, #3f2a47);
  transform: translateY(16px) scale(.985);
  transition: transform .22s ease;
  scrollbar-color: var(--tebba-border, #e6d8ee) transparent;
  scrollbar-width: thin;
}

.tebba-cart-popup.is-visible .tebba-cart-popup__dialog {
  transform: translateY(0) scale(1);
}

.tebba-cart-popup__dialog::-webkit-scrollbar {
  width: 7px;
}

.tebba-cart-popup__dialog::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--tebba-border, #e6d8ee);
}

.tebba-cart-popup__close {
  position: absolute;
  top: 17px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tebba-muted, #7a6a80);
  font-size: 20px;
  line-height: 42px;
  text-align: center;
  transition: color .2s ease, background-color .2s ease;
}

.tebba-cart-popup__close:hover,
.tebba-cart-popup__close:focus {
  outline: 0;
  background: var(--tebba-bg-soft, #f7f2fa);
  color: var(--tebba-primary, #5b256e);
}

.tebba-cart-popup__success {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 13px;
  border: 2px solid #2da66c;
  border-radius: 50%;
  color: #2da66c;
  font-size: 27px;
}

.tebba-cart-popup__dialog > h2 {
  margin: 0 0 26px;
  color: var(--tebba-primary-dark, #4a1e59);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 39px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.tebba-cart-popup__product {
  display: grid;
  grid-template-columns: minmax(0, 318px) minmax(0, 1fr);
  align-items: center;
  gap: 38px;
  width: 100%;
  max-width: 740px;
  margin: 0 auto 24px;
}

.tebba-cart-popup__product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  padding: 14px;
  overflow: hidden;
  border-radius: 17px;
  background: #f8f6f7;
}

.tebba-cart-popup__product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.tebba-cart-popup__product-image--empty {
  color: var(--tebba-border, #e6d8ee);
  font-size: 66px;
}

.tebba-cart-popup__product-info {
  min-width: 0;
}

.tebba-cart-popup__product-info h3 {
  margin: 0 0 13px;
  color: var(--tebba-text, #3f2a47);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.tebba-cart-popup__options p,
.tebba-cart-popup__quantity {
  margin: 0 0 7px;
  color: var(--tebba-muted, #7a6a80);
  font-size: 15px;
  line-height: 1.45;
}

.tebba-cart-popup__options p span {
  color: var(--tebba-text, #3f2a47);
  font-weight: 600;
}

.tebba-cart-popup__price {
  display: block;
  margin-top: 13px;
  color: var(--tebba-text, #3f2a47);
  font-size: 23px;
  line-height: 1.2;
}

.tebba-cart-popup__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.tebba-cart-popup__continue,
.tebba-cart-popup__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  border-radius: 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.tebba-cart-popup__continue {
  border: 0;
  background: transparent;
  color: var(--tebba-primary, #5b256e);
}

.tebba-cart-popup__continue:hover,
.tebba-cart-popup__continue:focus {
  outline: 0;
  background: var(--tebba-bg-soft, #f7f2fa);
  color: var(--tebba-primary-dark, #4a1e59);
}

.tebba-cart-popup__cart {
  border: 0;
  background: var(--tebba-primary, #5b256e);
  box-shadow: 0 9px 22px rgba(91, 37, 110, .20);
  color: #fff;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tebba-cart-popup__cart:hover,
.tebba-cart-popup__cart:focus {
  background: var(--tebba-primary-hover, #6d3384);
  box-shadow: 0 11px 25px rgba(91, 37, 110, .27);
  color: #fff;
  outline: 0;
  transform: translateY(-1px);
}

.tebba-cart-popup__recommendations {
  margin-top: 27px;
}

.tebba-cart-popup__divider {
  position: relative;
  height: 25px;
  text-align: center;
}

.tebba-cart-popup__divider:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--tebba-border, #e6d8ee);
}

.tebba-cart-popup__divider span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 25px;
  background: #fff;
  color: var(--tebba-primary, #5b256e);
  font-size: 21px;
}

.tebba-cart-popup__recommendations > h3 {
  margin: 6px 0 17px;
  color: var(--tebba-primary, #5b256e);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.tebba-cart-popup__recommendation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tebba-cart-popup__recommendation {
  position: relative;
  min-width: 0;
  height: 162px;
  overflow: hidden;
  border-radius: 15px;
  background: #f8f6f7;
}

.tebba-cart-popup__recommendation > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 13px;
}

.tebba-cart-popup__recommendation img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
  mix-blend-mode: multiply;
}

.tebba-cart-popup__recommendation:hover img {
  transform: scale(1.035);
}

.tebba-cart-popup__favorite {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: var(--tebba-text, #3f2a47);
  font-size: 19px;
  line-height: 36px;
  text-align: center;
}

.tebba-cart-popup__favorite:hover,
.tebba-cart-popup__favorite:focus {
  outline: 0;
  color: var(--tebba-primary, #5b256e);
}

@media (max-width: 767px) {
  .tebba-cart-popup {
    align-items: center;
    padding: 10px;
  }

  .tebba-cart-popup__dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 27px 18px 25px;
    border-radius: 20px;
  }

  .tebba-cart-popup__close {
    top: 9px;
    right: 9px;
  }

  .tebba-cart-popup__success {
    width: 49px;
    height: 49px;
    margin-bottom: 10px;
    font-size: 23px;
  }

  .tebba-cart-popup__dialog > h2 {
    margin-bottom: 20px;
    padding: 0 28px;
    font-size: 30px;
  }

  .tebba-cart-popup__product {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }

  .tebba-cart-popup__product-image {
    width: min(100%, 330px);
    height: 195px;
    margin: 0 auto;
  }

  .tebba-cart-popup__product-info {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .tebba-cart-popup__product-info h3 {
    margin-bottom: 9px;
    font-size: 21px;
  }

  .tebba-cart-popup__price {
    margin-top: 10px;
    font-size: 21px;
  }

  .tebba-cart-popup__actions {
    grid-template-columns: 1fr;
    gap: 5px;
    max-width: 330px;
  }

  .tebba-cart-popup__continue,
  .tebba-cart-popup__cart {
    min-height: 50px;
    font-size: 16px;
  }

  .tebba-cart-popup__recommendations {
    margin-top: 22px;
  }

  .tebba-cart-popup__recommendations > h3 {
    margin-bottom: 13px;
  }

  .tebba-cart-popup__recommendation-list {
    display: flex;
    gap: 12px;
    margin: 0 -18px;
    padding: 0 18px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tebba-cart-popup__recommendation-list::-webkit-scrollbar {
    display: none;
  }

  .tebba-cart-popup__recommendation {
    flex: 0 0 44%;
    height: 145px;
    scroll-snap-align: start;
  }
}

@media (max-width: 420px) {
  .tebba-cart-popup__dialog {
    padding-top: 24px;
  }

  .tebba-cart-popup__dialog > h2 {
    font-size: 27px;
  }

  .tebba-cart-popup__product-image {
    height: 175px;
  }

  .tebba-cart-popup__recommendation {
    flex-basis: 48%;
    height: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tebba-cart-popup,
  .tebba-cart-popup__dialog,
  .tebba-cart-popup__recommendation img,
  .tebba-cart-popup__cart {
    transition: none;
  }
}

/* Barevné a vzorové varianty na detailu produktu */
.tebba-variants {
  margin: 0 0 22px;
  padding: 18px 0;
  border-top: 1px solid #ece7e3;
  border-bottom: 1px solid #ece7e3;
}

#product-product .tebba-variants h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.35;
  color: #302b28;
}

.tebba-variants__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.tebba-variant {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #ded8d4;
  border-radius: 8px;
  background: #fff;
  color: #3a3431;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.tebba-variant:hover,
a.tebba-variant:focus {
  border-color: #7b2944;
  box-shadow: 0 5px 14px rgba(91, 37, 110, .14);
  color: #7b2944;
  text-decoration: none;
  transform: translateY(-1px);
}

.tebba-variant--active {
  border: 2px solid #7b2944;
  padding: 6px;
  box-shadow: 0 0 0 2px rgba(123, 41, 68, .08);
}

.tebba-variant__image {
  display: flex;
  width: 100%;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
}

.tebba-variant__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tebba-variant__name {
  display: -webkit-box;
  min-height: 34px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tebba-variant__status {
  display: block;
  margin-top: auto;
  padding-top: 5px;
  color: #7b2944;
  font-size: 10px;
  font-weight: 700;
}

.tebba-variants__help {
  margin: 10px 0 0;
  color: #77706c;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 420px) {
  .tebba-variants__list {
    display: flex;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tebba-variants__list::-webkit-scrollbar {
    display: none;
  }

  .tebba-variant {
    flex: 0 0 104px;
    scroll-snap-align: start;
  }
}
