:root {
  --somdot-text: #222;
  --somdot-muted: #626875;
  --somdot-line: #e7e9ee;
  --somdot-soft: #f7f8fa;
}

body {
  margin: 0;
  font-family: Urbanist, Arial, sans-serif;
  color: var(--somdot-text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.department-nav summary::-webkit-details-marker {
  display: none;
}

.department-nav summary {
  list-style: none;
  cursor: pointer;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
}

.product-card {
  list-style: none;
  background: #fff;
  border: 1px solid var(--somdot-line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover,
.product-card:focus-within,
.blog-card:hover,
.blog-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 27, 38, .1);
}

.product-card__link,
.product-card {
  color: inherit;
  text-decoration: none;
}

.product-card__media {
  background: #fff;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 18px;
}

.product-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card__content {
  padding: 14px 16px 18px;
}

.product-card__title {
  min-height: 42px;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.product-card__rating {
  color: #f4a000;
  font-size: 13px;
}

.product-card__price {
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
}

.product-card__shipping {
  color: #2c8a2c;
}

.collection-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
}

.collection-sidebar,
.collection-toolbar {
  border: 1px solid var(--somdot-line);
  border-radius: 8px;
  background: #fff;
}

.collection-sidebar {
  padding: 18px;
  height: max-content;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.hero__main,
.shop-by-room {
  display: grid;
  grid-template-columns: 36% 64%;
  align-items: center;
  border-top: 1px solid var(--somdot-line);
  border-bottom: 1px solid var(--somdot-line);
}

.hero__media,
.shop-by-room__media {
  background: #fff;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.shop-by-room__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-by-room__tabs a {
  border-radius: 999px;
  background: #eceff3;
  color: #111;
  padding: 10px 24px;
  text-decoration: none;
}

.shop-by-room__tabs a:hover,
.shop-by-room__tabs a:focus {
  background: #111;
  color: #fff;
}

.shop-by-room__image {
  display: none;
}

.shop-by-room__image.is-active {
  display: block;
}

.blog-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  display: block;
  border: 1px solid var(--somdot-line);
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card h3 {
  font-size: 16px;
  margin: 14px;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(360px, 1fr);
  gap: 36px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
  display: block !important;
  border: 1px solid var(--somdot-line);
  border-radius: 8px;
  padding: 22px;
}

@media (max-width: 900px) {
  .woocommerce ul.products,
  .blog-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-layout,
  .hero__main,
  .shop-by-room,
  .single-product div.product {
    grid-template-columns: 1fr;
  }
}

