/* ==========================================================================
   RYBÁŘSTVÍ – PROJECT OVERRIDES
   - deep lake / reed green / sunset gold
   - Bootstrap 5 friendly
   ========================================================================== */

:root{
  --project: #0F2D3A;
  --project-1: #1E4E63;
  --project-2: #667C3E;
  --project-3: #8DAA57;
  --project-4: #F4F1EA;

  --accent: #D79B3D;
  --accent-hover: #E7B35A;

  --bg-body: #F4F1EA;
  --bg-header: #0F2D3A;
  --bg-footer: #0F2D3A;

  --text-body: #1D2328;
  --text-muted: #66706A;
  --text-header: #FFFFFF;
  --text-footer: rgba(255,255,255,.76);

  --border-base: rgba(15,45,58,.14);
  --on-project: #FFFFFF;

  --surface: rgba(255,255,255,.94);
  --surface-strong: #FFFFFF;

  --shadow: 0 14px 45px rgba(10,20,25,.10);
  --shadow-strong: 0 28px 70px rgba(10,20,25,.16);

  --fish-primary: #0F2D3A;
  --fish-primary-2: #1E4E63;
  --fish-green: #667C3E;
  --fish-green-2: #8DAA57;
  --fish-accent: #D79B3D;
  --fish-accent-2: #E7B35A;
  --fish-bg: #F4F1EA;
  --fish-text: #1D2328;
  --fish-dark: #0A1419;
  --fish-white: #FFFFFF;
}

html,
body{
  background: var(--bg-body);
  color: var(--text-body);
}

a{
  color: inherit;
}

a:hover{
  color: var(--accent);
}

.text-muted,
.text-body-secondary{
  color: var(--text-muted) !important;
}

hr,
.border-base{
  border-color: var(--border-base) !important;
}

/* ==========================================================================
   Header / navbar
   ========================================================================== */

#site-header{
  background: linear-gradient(90deg, var(--fish-dark), var(--project), var(--fish-dark));
  color: var(--fish-white);
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: relative;
  z-index: 1100;
}

#site-header .navbar{
  position: relative;
  z-index: 1100;
}

#site-header .navbar-brand{
  display: flex;
  align-items: center;
  max-width: calc(100% - 76px);
  color: var(--fish-white);
}

#site-header .site-logo{
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
}

#site-header .nav-link{
  color: var(--fish-white);
  background: transparent;
}

#site-header .nav-link:hover,
#site-header .nav-link:focus-visible,
#site-header .nav-link.active{
  color: var(--project-3);
  background: transparent;
  opacity: 1;
}

#site-header .nav-link.active{
  text-decoration: underline;
  text-underline-offset: .35em;
}

#site-header .navbar-toggler{
  color: var(--fish-white);
}

#site-header .navbar-toggler-icon{
  filter: none;
}

#site-header .nav-dd-menu{
  background: var(--project);
  border-color: var(--project-2);
}

#site-header .dropdown-item{
  color: var(--fish-white);
  white-space: normal;
}

#site-header .dropdown-item:hover,
#site-header .dropdown-item:focus-visible{
  color: var(--project-3);
  background: var(--fish-dark);
}

@media (max-width: 991.98px){
  #site-header .site-logo{ height: 44px; }
  #site-header .navbar-collapse{ flex-basis: 100%; }
  #site-header .nav-dd-menu{ position: static; min-width: 0; }
  #site-header .nav-dd:not([open]) > .nav-dd-menu{ display: none; }
}

.brand{
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--text-header);
  text-transform: uppercase;
}

.nav-link{
  text-decoration: none;
  color: var(--text-header);
  opacity: .88;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .9rem;
}

.nav-link:hover{
  opacity: 1;
  color: var(--accent-hover);
  text-decoration: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-project{
  display: inline-block;
  background: var(--accent);
  color: #1a1206 !important;
  border: 1px solid var(--accent);
  padding: .65rem 1rem;
  border-radius: .45rem;
  text-decoration: none;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.btn-fish{
  background: var(--fish-accent);
  border-color: var(--fish-accent);
  color: #1a1206 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.btn-project:hover{
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #1a1206 !important;
}

.btn-fish:hover{
  background: var(--fish-accent-2);
  border-color: var(--fish-accent-2);
  color: #1a1206 !important;
}

.btn.bg-project{
  background-color: var(--project) !important;
  color: var(--on-project) !important;
  border-color: var(--project) !important;
}

.btn.bg-project:hover{
  filter: brightness(.95);
}

.btn-outline-secondary{
  border-color: rgba(15,45,58,.22) !important;
  color: var(--project) !important;
  font-weight: 700;
}

.btn-outline-secondary:hover{
  background: var(--project);
  border-color: var(--project) !important;
  color: #fff !important;
}

.btn-fish-outline,
.btn-outline-light{
  border-color: rgba(255,255,255,.45);
  color: var(--fish-white) !important;
  font-weight: 700;
}

.btn-fish-outline:hover,
.btn-outline-light:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  color: var(--fish-white) !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3{
  letter-spacing: -.02em;
}

.fish-section-title{
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--fish-primary);
}

.fish-title-line{
  width: 120px;
  height: 1px;
  background: rgba(102,124,62,.45);
  margin: .8rem auto 0;
  position: relative;
}

.fish-title-line::after{
  content: "◆";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  color: var(--fish-green);
  background: var(--fish-bg);
  padding: 0 .5rem;
  font-size: .8rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section,
.home-section{
  position: relative;
  padding: 5rem 0;
}

.section--light,
.home-section--light{
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(141,170,87,.10), transparent 62%),
    radial-gradient(800px 360px at 85% 20%, rgba(215,155,61,.09), transparent 60%),
    transparent;
}

.section--tint,
.home-section--tint{
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(102,124,62,.14), transparent 62%),
    radial-gradient(700px 380px at 85% 15%, rgba(215,155,61,.12), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-body));
  border-top: 1px solid var(--border-base);
  border-bottom: 1px solid var(--border-base);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.fish-hero{
  min-height: 72vh;
  background:
    linear-gradient(90deg, rgba(10,20,25,.88) 0%, rgba(10,20,25,.58) 38%, rgba(10,20,25,.12) 72%),
    url("../images/hero.png") center center / cover no-repeat;
  color: var(--fish-white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.fish-hero::after{
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--fish-primary));
  pointer-events: none;
}

.fish-hero-content{
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.fish-kicker{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--fish-accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin-bottom: 1rem;
}

.fish-hero h1{
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.fish-hero h1 span{
  color: var(--fish-green-2);
  display: block;
}

.fish-hero p{
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(255,255,255,.86);
}

/* legacy hero fallback */

.hero-stage{
  position: relative;
  overflow: hidden;
  z-index: 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.hero-media{
  width: 100%;
  height: clamp(360px, 46vw, 640px);
  object-fit: cover;
  display: block;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,20,25,.78), rgba(10,20,25,.20)),
    radial-gradient(900px 520px at 20% 20%, rgba(255,255,255,.10), transparent 60%);
  pointer-events: none;
}

.hero-grad{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:48%;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 15% 15%, rgba(141,170,87,.22), transparent 62%),
    radial-gradient(820px 520px at 85% 20%, rgba(215,155,61,.18), transparent 60%),
    linear-gradient(180deg, rgba(15,45,58,.06), rgba(0,0,0,0));
}

/* ==========================================================================
   Benefits strip
   ========================================================================== */

.fish-benefits{
  background: linear-gradient(135deg, var(--fish-primary), var(--fish-dark));
  color: var(--fish-white);
}

.fish-benefit{
  padding: 2rem 1rem;
  text-align: center;
  height: 100%;
  border-right: 1px solid rgba(255,255,255,.12);
}

.fish-benefit:last-child{
  border-right: 0;
}

.fish-benefit-icon{
  color: var(--fish-green-2);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: .8rem;
}

.fish-benefit-title{
  font-weight: 800;
  text-transform: uppercase;
  font-size: .95rem;
}

.fish-benefit-text{
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  margin-top: .35rem;
}

/* ==========================================================================
   Category cards
   ========================================================================== */

.category-card{
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: .85rem;
  min-height: 260px;
  color: var(--fish-white);
  background: var(--fish-primary);
  box-shadow: 0 12px 32px rgba(10,20,25,.12);
}

.category-card img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .35s ease;
}

.category-card:hover img{
  transform: scale(1.06);
}

.category-card .category-body{
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(10,20,25,.92));
}

.category-card h3{
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0;
}

.subcategory-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

.catalogue-breadcrumbs{
  --bs-breadcrumb-divider: '›';
  font-size: .875rem;
  margin-bottom: .75rem;
}

.catalogue-breadcrumbs .breadcrumb{
  display: flex;
  flex-wrap: wrap;
  row-gap: .25rem;
  margin: 0;
}

.catalogue-breadcrumbs .breadcrumb-item{
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.catalogue-breadcrumbs a{
  color: var(--project);
  text-decoration: none;
}

.catalogue-breadcrumbs a:hover,
.catalogue-breadcrumbs a:focus-visible{
  color: var(--project-2);
  text-decoration: underline;
}

.catalogue-breadcrumbs .active{
  color: var(--text-muted);
  font-weight: 600;
}

.category-card--subcategory{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--border-base);
  border-radius: var(--radius, 12px);
  background: var(--surface);
  color: var(--text-body);
  box-shadow: none;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.category-card--subcategory img{
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: none;
}

.category-card--subcategory .subcategory-name{
  min-width: 0;
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.category-card--subcategory:hover,
.category-card--subcategory:focus-visible{
  color: var(--text-body);
  background: var(--surface-strong);
  border-color: var(--project-2);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(-2px);
}

.category-card--subcategory:focus-visible{
  outline: 2px solid var(--project-2);
  outline-offset: 3px;
}

.category-card--subcategory:hover img{
  transform: none;
}

@media (min-width: 576px){
  .subcategory-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px){
  .subcategory-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1200px){
  .subcategory-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce){
  .category-card--subcategory{
    transition: none;
  }

  .category-card--subcategory:hover,
  .category-card--subcategory:focus-visible{
    transform: none;
  }
}

/* ==========================================================================
   Products
   ========================================================================== */

.product-card{
  border: 0;
  border-radius: .85rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10,20,25,.08);
  height: 100%;
  background: #fff;
}

.product-card img{
  height: 210px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 1rem;
}

.product-price{
  color: var(--fish-primary);
  font-weight: 900;
  font-size: 1.15rem;
}

/* ==========================================================================
   About
   ========================================================================== */

.fish-about{
  background: var(--fish-primary);
  color: var(--fish-white);
  border-radius: 1rem;
  overflow: hidden;
}

.fish-about-text{
  padding: clamp(2rem, 5vw, 4rem);
}

.fish-about img{
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.fish-newsletter{
  background: linear-gradient(135deg, var(--fish-green), var(--fish-green-2));
  color: var(--fish-white);
}

.fish-newsletter input{
  border: 0;
  border-radius: .45rem;
}

/* ==========================================================================
   Cards baseline
   ========================================================================== */

.card{
  border-radius: 16px;
}

.card.shadow-sm{
  box-shadow: var(--shadow) !important;
}

.card.card-stripe{
  position: relative;
  overflow: hidden;
}

.card.card-stripe::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--project), var(--accent));
  opacity: .9;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#site-footer{
  background: var(--fish-primary);
  color: var(--text-footer);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 0 0 28px;
}

.fish-footer{
  overflow-wrap: anywhere;
  background: var(--fish-primary);
  color: var(--text-footer);
  border-top: 1px solid rgba(255,255,255,.10);
}

.fish-footer .row > div { margin-bottom: 1.5rem; }

#site-footer a,
.fish-footer a{
  color: rgba(255,255,255,.76);
  text-decoration: none;
}

#site-footer a:hover,
.fish-footer a:hover{
  color: var(--accent-hover);
}

.fish-footer h3,
.fish-footer h4{
  color: #fff;
}

/* ==========================================================================
   CMS content baseline
   ========================================================================== */

.cms-content{
  max-width: 760px;
  line-height: 1.65;
  font-size: 1rem;
}

.cms-content > * + *{
  margin-top: 1.2em;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5{
  line-height: 1.25;
  margin-top: 1.8em;
  margin-bottom: .6em;
  font-weight: 800;
}

.cms-content h1{ font-size: 2rem; }
.cms-content h2{ font-size: 1.6rem; }
.cms-content h3{ font-size: 1.3rem; }
.cms-content h4{ font-size: 1.1rem; }

.cms-content p{
  margin: 0;
}

.cms-content ul,
.cms-content ol{
  padding-left: 1.4em;
}

.cms-content li + li{
  margin-top: .4em;
}

.cms-content a{
  text-decoration: underline;
}

.cms-content img{
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(10,20,25,.12);
}

.cms-content table{
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.cms-content th,
.cms-content td{
  padding: .5em .6em;
  border-bottom: 1px solid rgba(10,20,25,.10);
  text-align: left;
}

.cms-content blockquote{
  border-left: 4px solid rgba(102,124,62,.50);
  background: rgba(102,124,62,.08);
  border-radius: 10px;
  padding: 10px 12px 10px 14px;
  margin: 0;
  color: rgba(10,20,25,.72);
  font-style: italic;
}

/* ==========================================================================
   Articles / Gallery
   ========================================================================== */

.articles-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article-card{
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.article-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.article-card h3{
  font-size: 1.1rem;
  line-height: 1.3;
  margin: .5rem 0 0;
}

.article-card .muted,
.gallery-card .muted{
  color: var(--text-muted);
  font-size: .95rem;
}

.article-card a,
.gallery-card a{
  text-decoration: none;
  color: inherit;
}

.article-card a:hover h3,
.gallery-card a:hover h3{
  text-decoration: underline;
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-card{
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.gallery-card img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-card h3{
  font-size: 1rem;
  margin: .4rem 0 0;
}

.gallery-cats{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 1rem;
}

.gallery-cats .tag{
  font-size: .85rem;
  padding: .25rem .6rem;
  border: 1px solid rgba(15,45,58,.14);
  border-radius: 999px;
  background: rgba(102,124,62,.10);
  color: var(--project);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px){
  .section,
  .home-section{
    padding: 3.2rem 0;
  }

  .fish-hero{
    min-height: 76vh;
    background-position: 62% center;
  }

  .fish-benefit{
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .hero-media{
    height: clamp(320px, 62vw, 520px);
  }
}

@media (prefers-reduced-motion: reduce){
  .category-card img{
    transition: none;
  }

  .category-card:hover img{
    transform: none;
  }
}

@media (min-width: 992px){
  .shop-account-nav .nav-dd-menu{ left: auto; right: 0; }
}

/* Product detail: Oscar forms and purchase strategy, project presentation. */
.product-purchase{
  border: 1px solid var(--border-base);
  background: var(--surface, #fff);
}
.product-detail .price_color,
.product-detail .availability.available{ color: var(--project-2); }
.product-detail .product-buy-controls{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
}
.product-buy-controls > .form-group{ flex: 0 1 110px; }
.product-buy-controls > .btn{ flex: 1 1 180px; }
.product-detail .add-to-basket > .form-group{ margin-bottom: 1rem; }
.product-detail .error-block{ display: block; color: var(--bs-danger); }
.product-image-open{
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  background: #fff;
  cursor: zoom-in;
}
.product-image-open:focus-visible{
  outline: 2px solid var(--project-2);
  outline-offset: -2px;
}
.product-gallery-main{
  display: block;
  width: 100%;
  height: clamp(280px, 45vw, 540px);
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: #fff;
}
.product-gallery-arrow{
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: #1d2328;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
  opacity: .85;
  cursor: pointer;
  transition: background .2s, opacity .2s, transform .2s, box-shadow .2s;
}
.product-gallery-arrow--prev{ left: 12px; }
.product-gallery-arrow--next{ right: 12px; }
.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible{
  background: #fff;
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.product-gallery-arrow:focus-visible{
  outline: 2px solid var(--project-2);
  outline-offset: 2px;
}
@media (hover: none), (max-width: 767.98px){
  .product-gallery-arrow{ opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .product-gallery-arrow{ transition: none; }
}
.product-gallery-empty{
  min-height: 320px;
  display: grid;
  place-items: center;
  background: var(--surface, #fff);
}
.product-thumbnails{ display: flex; flex-wrap: wrap; gap: .75rem; }
.product-thumbnail{
  padding: 3px;
  border: 1px solid var(--border-base);
  border-radius: var(--radius, 12px);
  background: var(--surface, #fff);
  overflow: hidden;
}
.product-thumbnail:hover,
.product-thumbnail:focus-visible{ outline: 2px solid var(--project-2); outline-offset: 2px; }
.product-thumbnail img{ display: block; object-fit: contain; }
.product-attributes th{ width: 35%; font-weight: 600; }
.product-attributes td{ overflow-wrap: anywhere; }
.product-attribute-image{ max-width: 180px; max-height: 160px; object-fit: contain; }
.product-description img{ max-width: 100%; height: auto; }
.product-detail .review-list > li + li{ border-top: 1px solid var(--border-base); padding-top: 1.5rem; }
.product-detail .product_pod{
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border-base);
  border-radius: var(--radius, 12px);
  background: var(--surface, #fff);
}
.product-detail .product_pod h3{ font-size: 1.15rem; }
.product-detail .btn-primary{
  --bs-btn-bg: var(--project-2);
  --bs-btn-border-color: var(--project-2);
  --bs-btn-hover-bg: var(--project);
  --bs-btn-hover-border-color: var(--project);
  --bs-btn-active-bg: var(--project);
  --bs-btn-active-border-color: var(--project);
}
.product-detail .star-rating .fa-star{ color: var(--text-muted); font-style: normal; }
.product-detail .star-rating .fa-star::before{ content: '★'; }
.product-detail .star-rating.One .fa-star:nth-child(-n+1),
.product-detail .star-rating.Two .fa-star:nth-child(-n+2),
.product-detail .star-rating.Three .fa-star:nth-child(-n+3),
.product-detail .star-rating.Four .fa-star:nth-child(-n+4),
.product-detail .star-rating.Five .fa-star:nth-child(-n+5){ color: var(--project-2); }

/* Expand only the active category branch; each nested list adds one level. */
.category-sidebar-children{
  margin: .25rem 0 .5rem 1rem;
}
.category-sidebar-link{
  display: block;
  padding: .45rem .6rem;
  margin-bottom: .2rem;
  border-left: 3px solid transparent;
  border-radius: .4rem;
  color: var(--text-body);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.category-sidebar-link:hover,
.category-sidebar-link:focus-visible{
  color: var(--project-2);
  background: var(--surface-strong);
}
.category-sidebar-link.is-ancestor{
  color: var(--project-2);
  font-weight: 600;
}
.category-sidebar-link.is-current{
  color: var(--project-2);
  background: color-mix(in srgb, var(--project-2) 12%, transparent);
  border-left-color: var(--project-2);
  font-weight: 600;
}

.catalogue-mini-basket .btn-primary{
  --bs-btn-bg: var(--project-2);
  --bs-btn-border-color: var(--project-2);
  --bs-btn-hover-bg: var(--project);
  --bs-btn-hover-border-color: var(--project);
  --bs-btn-active-bg: var(--project);
  --bs-btn-active-border-color: var(--project);
}

.basket-line-image{ height: 90px; width: 100%; object-fit: contain; }
.basket-line-placeholder{ min-height: 90px; display: grid; place-items: center; }
.basket-quantity{ max-width: 190px; }
.basket-quantity .form-control{ min-width: 3rem; text-align: center; }

.basket-line-layout{ display: grid; gap: 1rem; }
.basket-line-info{ min-width: 0; overflow-wrap: anywhere; }
.basket-line-total{ min-width: 0; max-width: 100%; overflow-x: auto; }
.basket-line-amount{ white-space: nowrap; }
.basket-line-actions{ display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.basket-line-quantity{ flex: 0 1 190px; min-width: 0; }
@media (min-width: 768px){
  .basket-line-layout{ grid-template-columns: 5rem minmax(0, 1fr) minmax(9rem, max-content); align-items: start; }
  .basket-line-total{ text-align: right; }
  .basket-line-actions{ grid-column: 2 / -1; }
}
