:root {
  --hy-blue: #222222;
  --hy-grey: #f1f1f1;
  --hy-red: #e03a2f;
  --hy-sand: #eee3d0;
  --hy-link: #1d2fa8;
}

body {
  font-family: "Clarity City", sans-serif;
  color: #111;
}

a {
  color: inherit;
}

/* Lucide icon base: every <svg class="i"> is inlined where it is used */
.i {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: -0.2em;
}

.i-sm {
  width: 1.3em;
  height: 1.3em;
}

.i-lg {
  width: 1.6em;
  height: 1.6em;
}

/* 1. TOP BAR */
.hy-top {
  background: var(--hy-blue);
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 500;
}

.hy-top a,
.hy-top button {
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

.hy-top .row {
  min-height: 36px;
}

.hy-top a:hover {
  opacity: 0.8;
}

/* 2. MAIN HEADER */

.hy-search {
  background: var(--hy-grey);
  border-radius: 50rem;
  height: 46px;
  width: 620px;
  max-width: 100% !important;
}

.dropdown-item {
  font-size: 14px !important;
}

.hy-search .cat {
  font-weight: 600;
  font-size: 0.75rem;
  border: 0;
  text-transform: uppercase;
  background: transparent;
  padding: 0 1rem 0 1.25rem;
  height: 100%;
  white-space: nowrap;
  align-items: center;
  gap: 0.4rem;
  border-right: 1px solid #d9d9d9;
}

.hy-search .cat::after {
  display: none;
}

.hy-search input {
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0.85rem;
  height: 100%;
}

.hy-search .go {
  border: 0;
  background: transparent;
  padding: 0 1.1rem;
  height: 100%;
}

.hy-act {
  color: #fff;
  padding-inline: 20px;
  padding-block: 12px;
  border-radius: 50px;
  text-decoration: none;
  background-color: var(--hy-blue);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hy-act-login {
  color: var(--hy-blue);
  padding-inline: 20px;
  padding-block: 11px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--hy-blue);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hy-bag {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hy-grey);
  display: grid;
  place-items: center;
  color: #111;
  text-decoration: none;
  position: relative;
}

.hy-bag .n {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #111;
  color: #fff;
  border-radius: 50rem;
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

/* 3. NAV ROW */
.hy-nav .nav-link {
  color: #111;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  padding: 0.8rem 0;
  margin-right: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hy-nav .dropdown-toggle::after {
  display: none;
}

.hy-nav .dropdown-menu {
  border-radius: 0rem;
  border-color: #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
}

.hy-sale {
  color: var(--hy-red) !important;
  position: relative;
}

.hy-sale::before,
.hy-sale::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hy-red);
  top: 0.55rem;
}

.hy-sale::before {
  left: -5px;
}

.hy-sale::after {
  right: -6px;
}

@media (min-width: 992px) {
  .hy-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .hy-nav .nav-link {
    margin-right: 0;
    padding: 0.9rem 0;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
  }

  .hy-nav .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding-left: 0.75rem;
  }

  .hy-sale::before,
  .hy-sale::after {
    display: none;
  }
}

/* 4. HERO SLIDER (real <img> tags; object-fit keeps the crop clean at every width) */
.hero-img {
  display: block;
  width: 100%;
  height: 550px;
  object-fit: cover;
  background: #ddd;
}

.carousel-control-prev,
.carousel-control-next {
  width: 56px;
}

.ctl {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
}

/* 5. HEADINGS */
.sec-title {
  font-size: clamp(1.6rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  text-decoration: none;
  color: #333;
}

.view-all .c {
  width: 32px;
  height: 32px;
  border: 1px solid #aaa;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* 6. CATEGORY TILES */
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--c, #444);
  padding: 1rem;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
}

.tile > * {
  position: relative;
  z-index: 1;
}

/* real <img> filling the tile, sits under the dark overlay and the text */
.tile > .tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tile .arrow {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
}

.tile-tall {
  min-height: 420px;
}

@media (max-width: 991.98px) {
  .tile-tall {
    min-height: 380px;
  }
  .hero-img {
    height: auto;
  }
}

/* 7. PRODUCT CARDS */
.prod {
  position: relative;
  display: block;
  padding: 0.75rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
  height: 100%;
  border-radius: 12px;
}

.prod:hover {
  border-color: #c9c9c9;
}

.prod .ph {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  background: #f8f8f8 !important;
  border-radius: 12px;
}

.prod .ph svg {
  width: 55%;
}

.prod .tools {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(0.75rem + 70%);
  display: none;
  justify-content: center;
  gap: 1rem;
  color: #555;
}

.prod:hover .tools {
  display: flex;
}

.prod .name {
  color: var(--hy-link);
  font-size: 0.85rem;
  min-height: 2.6em;
}

/* 8. NEWSLETTER CTA */
.news {
  /* background: var(--hy-sand); */
  background-image: url("../images/cta-banner.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.news h2 {
  font-weight: 600;
  /* letter-spacing: -0.04em; */
  line-height: 1.2;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 2.2rem);
}

.news form {
  max-width: 520px;
}

/* 9. INFO BAR + FOOTER */
@media (min-width: 992px) {
  .info-item + .info-item {
    border-left: 1px solid #e3e3e3;
  }
}

.footer a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer a:hover {
  color: #000;
}

.soc {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #111 !important;
}

.pay {
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  color: #444;
}

/* ============================================================
   MOTION: hover micro-interactions + scroll transitions
   (all disabled automatically for visitors who prefer reduced motion)
   ============================================================ */
:root {
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #0fb5a8;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 2000;
  pointer-events: none;
}

/* scroll reveal (classes are added by the script, so nothing is hidden if JS fails) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* top bar */
.hy-top a {
  transition:
    opacity 0.2s,
    transform 0.2s;
  display: inline-block;
}

.hy-top a:hover {
  text-decoration: underline;
}

/* search + header actions */
.hy-search {
  transition:
    background-color 0.25s,
    box-shadow 0.25s;
}

.hy-search:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px #111;
}

.hy-search .go svg {
  transition: transform 0.25s var(--ease);
}

.hy-search .go:hover svg {
  transform: scale(1.15) rotate(-8deg);
}

.hy-act-login{
  transition: background-color 0.25s var(--ease);
}

.hy-act svg,
.hy-act-login svg {
  transition: transform 0.25s var(--ease);
}

.hy-act:hover svg,
.hy-act-login:hover svg {
  transform: translateY(-2px);
}

.hy-act-login:hover{
color: #fff;
background-color: var(--hy-blue);
}

.hy-bag {
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.25s var(--ease);
}

.hy-bag:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.hy-bag .n {
  transition:
    background-color 0.25s,
    color 0.25s;
}

.hy-bag:hover .n {
  background: #ffffff;
  color: #04201e;
}

/* nav: animated underline, rotating chevron, menu fade-in */
@media (min-width: 992px) {
  .hy-nav .nav-link {
    background: linear-gradient(currentColor, currentColor) 0
      calc(100% - 0.55rem) / 0 2px no-repeat;
    transition: background-size 0.3s var(--ease);
  }

  .hy-nav .nav-link:hover,
  .hy-nav .nav-link.show,
  .hy-nav .dropdown:hover > .nav-link {
    background-size: calc(100% - 0.6rem) 2px;
  }
}

.hy-nav .nav-link svg {
  transition: transform 0.25s var(--ease);
}

.hy-nav .dropdown:hover > .nav-link svg,
.hy-nav .nav-link.show svg {
  transform: rotate(180deg);
}

.hy-nav .dropdown-menu {
  animation: menuIn 0.22s var(--ease);
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hy-nav .dropdown-item {
  transition:
    padding-left 0.2s var(--ease),
    background-color 0.2s;
}

.hy-nav .dropdown-item:hover {
  padding-left: 1.5rem;
}

.hy-sale::before,
.hy-sale::after {
  animation: twinkle 2.4s ease-in-out infinite;
}

.hy-sale::after {
  animation-delay: 1.2s;
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.8);
    opacity: 0.5;
  }
}

/* hero: slow zoom-settle on the active slide + nicer arrows */
.carousel-item {
  overflow: hidden;
}

.ctl {
  transition:
    background-color 0.25s,
    transform 0.25s var(--ease);
}

.carousel-control-prev:hover .ctl,
.carousel-control-next:hover .ctl {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.12);
}

.ctl svg {
  transition: transform 0.25s var(--ease);
}

.carousel-control-prev:hover .ctl svg {
  transform: translateX(-2px);
}

.carousel-control-next:hover .ctl svg {
  transform: translateX(2px);
}

.carousel-indicators [data-bs-target] {
  transition:
    width 0.3s var(--ease),
    opacity 0.3s;
}

/* section links */
.view-all .c {
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease);
}

.view-all .c svg {
  transition: transform 0.3s var(--ease);
}

.view-all:hover .c {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: scale(1.08);
}

.view-all:hover .c svg {
  transform: translate(2px, -2px);
}

/* category tiles: image zoom, text lift, arrow pop */
.tile {
  transition:
    box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.tile:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.tile .tile-img {
  transition: transform 0.9s var(--ease);
}

.tile:hover .tile-img {
  transform: scale(1.08);
}

.tile > div {
  transition: transform 0.4s var(--ease);
}

.tile:hover > div {
  transform: translateY(-4px);
}

.tile .arrow {
  transition:
    background-color 0.25s,
    color 0.25s,
    transform 0.35s var(--ease);
}

.tile:hover .arrow {
  background: #080808;
  color: #fdfdfd;
  transform: scale(1.12) rotate(45deg);
}

/* product cards: lift, image zoom, tools slide in */
.prod {
  transition:
    border-color 0.2s,
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.prod:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.prod .ph {
  overflow: hidden;
}

.prod .ph > * {
  transition: transform 0.6s var(--ease);
}

.prod:hover .ph > * {
  transform: scale(1.08);
}

.prod .tools {
  display: flex;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.35s var(--ease);
}

.prod:hover .tools,
.prod:focus-visible .tools {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.prod .tools svg {
  transition:
    transform 0.2s var(--ease),
    color 0.2s;
  cursor: pointer;
}

.prod .tools svg:hover {
  transform: scale(1.3);
  color: #0fb5a8;
}

.prod .name {
  background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat;
  display: inline;
  transition: background-size 0.35s var(--ease);
}

.prod:hover .name {
  background-size: 100% 1px;
}

/* buttons + forms */
.btn {
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s,
    background-color 0.2s,
    border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  /* background-color: #1d2fa8; */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.news form,
.footer form {
  transition: box-shadow 0.25s;
}

.news form:focus-within {
  box-shadow: 0 0 0 4px rgba(15, 181, 168, 0.35);
}

.footer form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

/* info bar + footer */
.info-item > svg {
  transition: transform 0.35s var(--ease);
}

.info-item:hover > svg {
  transform: scale(1.18) rotate(-6deg);
}

.footer li a {
  display: inline-block;
  transition:
    color 0.2s,
    transform 0.25s var(--ease);
}

.footer li a:hover {
  transform: translateX(4px);
}

.soc {
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease);
}

.soc:hover {
  background: #111;
  color: #fff !important;
  border-color: #111;
  transform: translateY(-4px);
}

.pay {
  transition:
    border-color 0.2s,
    color 0.2s;
}

.pay:hover {
  border-color: #111;
  color: #111;
}

/* reduced motion: show everything, drop animation */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Gallery: thumbnails are Bootstrap carousel indicators */
.breadcrumb-item{
  font-size: 14px;
}

.breadcrumb-item.active{
  color: #000 !important;
}

.gallery .carousel-control-prev-icon,
.gallery .carousel-control-next-icon {
  filter: invert(1);
}
.carousel-indicators.thumbs {
  position: static;
  margin: 0.75rem 0 0;
  justify-content: flex-start;
  gap: 0.5rem;
}
.thumbs [data-bs-target] {
  box-sizing: border-box;
  width: 120px;
  height: 120px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f8f8f8;
  text-indent: 0;
  opacity: 0.6;
}
.thumbs .active {
  opacity: 1;
  border-color: #81818186;
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-tabs {
  --bs-nav-tabs-link-active-color: #111;
  --bs-nav-link-color: #6c757d;
  --bs-nav-link-hover-color: #111;
}
.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #dee2e6;
  outline: 0;
  box-shadow: none !important;
}

/* Quantity: one bordered box, like Shopify */
.qty {
  height: 45px;
}
.qty button {
  width: 46px;
  height: 100%;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}
.qty button:hover {
  background: #f3f3f3;
}
.qty input {
  width: 52px;
  height: 100%;
  border: 0;
  text-align: center;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Reviews: CSS-only star picker + photo upload box */
.rating-input input {
  position: absolute;
  opacity: 0;
}
.rating-input label {
  font-size: 2rem;
  line-height: 1;
  color: #ced4da;
  cursor: pointer;
  padding: 0 0.1rem;
  transition: color 0.15s;
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: #f5b301;
}
.rating-input input:focus-visible + label {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.upload {
  width: 96px;
  height: 96px;
  border-style: dashed !important;
  cursor: pointer;
}
.upload:hover,
.upload:focus-within {
  border-color: #111 !important;
  color: #111 !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  background-color: #000;
  color: #fff;
}

tbody tr{
  padding-block: 120px !important;
}

#previous-arrow, #next-arrow{
  top: -130px !important;
}

.product-box{
  background-color: #f8f8f8;
  border-radius: 12px;
}
