:root {
  --shop-ink: #131921;
  --shop-ink-2: #232f3e;
  --shop-orange: #ff9900;
  --shop-orange-dark: #e68a00;
  --shop-link: #007185;
  --shop-bg: #eaeded;
  --shop-border: #d5d9d9;
  --shop-danger: #b12704;
  --shop-success: #067d62;
}

body {
  background: var(--shop-bg);
  color: #111;
}

a {
  color: var(--shop-link);
}

.shop-header {
  background: var(--shop-ink);
  color: #fff;
}

.shop-header .navbar-brand,
.shop-header .nav-link,
.shop-header a {
  color: #fff;
}

.shop-header .navbar-brand {
  font-size: 1.45rem;
  letter-spacing: 0;
}

.shop-search {
  flex: 1 1 auto;
  max-width: 760px;
}

.shop-search .form-control {
  border: 0;
  border-radius: 4px 0 0 4px;
  min-height: 42px;
}

.shop-search .btn {
  background: var(--shop-orange);
  border-color: var(--shop-orange);
  color: #111;
  border-radius: 0 4px 4px 0;
  min-width: 86px;
}

.shop-search .btn:hover,
.btn-shop-primary:hover {
  background: var(--shop-orange-dark);
  border-color: var(--shop-orange-dark);
  color: #111;
}

.shop-subnav {
  background: var(--shop-ink-2);
  color: #fff;
  font-size: .92rem;
}

.shop-subnav a {
  color: #fff;
  text-decoration: none;
}

.shop-cart-link {
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 4px;
  color: #fff;
  padding: .45rem .75rem;
  text-decoration: none;
  white-space: nowrap;
}

.shop-cart-link:hover {
  border-color: #fff;
  color: #fff;
}

.language-selector .dropdown-menu {
  min-width: 10rem;
}

.language-selector .dropdown-item {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.product-card-image-link {
  display: block;
  text-decoration: none;
}

.product-card-image-link:focus {
  outline: 2px solid var(--shop-orange);
  outline-offset: 2px;
}

.shop-shell {
  max-width: 1480px;
}

.shop-panel {
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
}

.shop-hero {
  background: linear-gradient(180deg, #37475a 0%, #eaeded 100%);
  color: #fff;
  min-height: 220px;
  display: flex;
  align-items: flex-start;
}

.shop-hero-inner {
  padding: 2rem 1.25rem 5rem;
}

.shop-hero h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0;
}

.shop-home-grid {
  margin-top: -72px;
  position: relative;
  z-index: 2;
}

.shop-card {
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.shop-card:hover {
  box-shadow: 0 2px 10px rgba(15, 17, 17, .14);
  transform: translateY(-1px);
}

.shop-card .card-img-top {
  background: #f7fafa;
}

.shop-price {
  color: var(--shop-danger);
  font-size: 1.05rem;
}

.shop-muted {
  color: #565959;
}

.shop-stock {
  color: var(--shop-success);
}

.btn-shop-primary {
  background: var(--shop-orange);
  border-color: var(--shop-orange);
  color: #111;
  border-radius: 999px;
}

.btn-shop-secondary {
  background: #ffd814;
  border-color: #fcd200;
  color: #111;
  border-radius: 999px;
}

.btn-shop-secondary:hover {
  background: #f7ca00;
  border-color: #f2c200;
  color: #111;
}

.btn-shop-outline {
  border-color: var(--shop-border);
  color: #111;
  background: #fff;
}

.btn-shop-outline:hover {
  border-color: #888c8c;
  background: #f7fafa;
}

.shop-table th {
  background: #f7fafa;
  color: #565959;
  font-weight: 600;
}

.shop-section-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-gallery {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1rem;
}

.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-height: 560px;
  overflow-y: auto;
}

.product-thumb {
  width: 68px;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  padding: 3px;
  cursor: pointer;
}

.product-thumb.is-active,
.product-thumb:hover {
  border-color: var(--shop-orange);
  box-shadow: 0 0 0 2px rgba(255, 153, 0, .28);
}

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

.product-main-frame {
  position: relative;
  min-height: 430px;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-main-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 54px;
  border: 1px solid var(--shop-border);
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-size: 2rem;
  line-height: 1;
}

.product-gallery-prev {
  left: .5rem;
}

.product-gallery-next {
  right: .5rem;
}

.product-gallery-nav:hover {
  border-color: #888c8c;
  background: #fff;
}

@media (max-width: 991.98px) {
  .shop-search {
    max-width: none;
    width: 100%;
  }

  .shop-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .shop-home-grid {
    margin-top: -48px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
  }

  .product-main-frame {
    min-height: 320px;
  }
}
