body.cn-shop-design {
  --red: #dc0824;
  --red-hover: #bc071e;
  --ink: #111315;
  --dark: #171c20;
  --muted: #555f67;
  --line: #e6e8eb;
  margin: 0;
  background: #f4f5f6;
  color: var(--ink);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

.cn-shop-design .cn-shop-chrome { font: 16px/1.5 Arial, Helvetica, sans-serif; }
.cn-shop-design a, .cn-shop-design button, .cn-shop-design input, .cn-shop-design select { outline-offset: 3px; }
.cn-shop-design :focus-visible { outline: 2px solid var(--red); }
.cn-shop-design.dialog-open { overflow: hidden; }
.cn-shop-design > .cs-infos { display: none !important; }
/* Keep the account menu on the admin bar when plugin shortcuts fill its left side. */
.cn-shop-design #wp-toolbar > .ab-top-secondary { position: absolute; inset-block-start: 0; inset-inline-end: 0; background: #1d2327; }
@media (max-width: 600px) {
  .cn-shop-design #wpadminbar { position: fixed; inset-block-start: 0; }
}
.cn-shop-chrome ~ #page #masthead, .cn-shop-chrome ~ #page #scroll-up { display: none; }
.cn-shop-design #page { margin: 0; width: 100%; max-width: none; background: transparent; }

.cn-shop-design #main { margin: 0; padding: 32px 0 60px; }
.cn-shop-design #main .tg-container, .cn-shop-design #colophon .tg-container {
  width: min(94%, 1450px);
  max-width: none;
  margin-inline: auto;
}
.cn-shop-design #main .tg-inner-wrap { margin: 0; padding: 0; }
.cn-shop-design #main [id="main-content-section clearfix"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}
.cn-shop-design #main [id="main-content-section clearfix"]:has(> #secondary) {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 265px);
  align-items: start;
}
.cn-shop-design #primary, .cn-shop-design #secondary { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
.cn-shop-design #main h1, .cn-shop-design #main h2, .cn-shop-design #main h3 {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-weight: 800;
}
.cn-shop-design #main .woocommerce-products-header { margin: 0 0 26px; padding: 18px 0 20px; border-bottom: 1px solid #dfe3e6; }
.cn-shop-design #main .woocommerce-products-header h1, .cn-shop-design #main .page-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.cn-shop-design .woocommerce-products-header::before {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-bottom: 16px;
  background: var(--red);
}
.cn-shop-design .woocommerce-products-header .term-description p { margin: 0; color: var(--muted); }
.cn-shop-design .woocommerce-result-count { color: var(--muted); }
.cn-shop-design .woocommerce-ordering select, .cn-shop-design .woocommerce-product-search input[type="search"],
.cn-shop-design form.cart .qty, .cn-shop-design .woocommerce div.product form.cart select {
  min-height: 42px;
  max-width: 100%;
  padding: 6px 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #c8cdd2;
  border-radius: 4px;
  font-size: 15px;
}

.cn-shop-design ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  clear: both;
}
.cn-shop-design ul.products::before, .cn-shop-design ul.products::after { display: none; }
.cn-shop-design #primary ul.products li.product {
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #e0e4e7;
  border-radius: 8px;
  overflow-wrap: anywhere;
  transition: border-color .2s, box-shadow .2s;
}
.cn-shop-design ul.products li.product:hover { border-color: #b6bdc2; box-shadow: 0 7px 22px #11131512; }
.cn-shop-design ul.products li.product > a:first-of-type { display: block; color: var(--ink); text-decoration: none; }
.cn-shop-design ul.products li.product > a img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 232px;
  padding: clamp(5px, 1vw, 11px);
  object-fit: contain;
  object-position: center;
  margin: 0 0 13px;
  background: #f7f8f9;
  border-radius: 4px;
}
.cn-shop-design #main ul.products li.product :is(.woocommerce-loop-product__title, .woocommerce-loop-category__title) {
  margin: 0;
  padding: 0 0 7px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.25;
}
.cn-shop-design ul.products li.product .count { color: var(--muted); background: transparent; font-size: .78em; }
.cn-shop-design ul.products li.product .price, .cn-shop-design .summary .price { color: var(--ink); font-weight: 700; }
.cn-shop-design ul.products li.product .price { font-size: 16px; }
.cn-shop-design .summary .price { font-size: 24px; }
.cn-shop-design ul.products li.product .onsale, .cn-shop-design span.onsale { background: var(--red-hover); color: #fff; }
.cn-shop-design #main li.product .button, .cn-shop-design #main .single_add_to_cart_button,
.cn-shop-design #main .woocommerce-product-search button {
  min-height: 42px;
  align-self: flex-start;
  padding: 11px 15px;
  background: var(--red-hover);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font: 700 15px/1.35 Arial, Helvetica, sans-serif;
  text-align: center;
  white-space: normal;
}
.cn-shop-design #main li.product .button:hover, .cn-shop-design #main .single_add_to_cart_button:hover,
.cn-shop-design #main .woocommerce-product-search button:hover { background: #9e0619; color: #fff; }

.cn-shop-design.single-product #primary > .product {
  padding: clamp(15px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cn-shop-design.single-product #main .product_title { margin: 0 0 14px; font-size: clamp(25px, 3vw, 39px); line-height: 1.12; }
.cn-shop-design .woocommerce-product-gallery__wrapper { margin: 0; }
.cn-shop-design .woocommerce-tabs { margin-top: 24px; }
.cn-shop-design .woocommerce-product-details__short-description { font-size: 16px; }

.cn-shop-design #secondary .widget {
  margin: 0 0 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.cn-shop-design #secondary .widget-title { margin: 0 0 11px; font: 800 17px/1.2 Arial, Helvetica, sans-serif; }
.cn-shop-design #secondary .widget-title span { padding: 0; background: none; color: var(--ink); }
.cn-shop-design #secondary #text-5 { display: none; }
.cn-shop-design #secondary .woocommerce-product-search { display: grid; gap: 8px; }
.cn-shop-design #colophon, .cn-shop-design #colophon .top-footer, .cn-shop-design #bottom-footer { background: #171c20; color: #e3e7ea; }
.cn-shop-design #colophon a { color: #fff; }
.cn-shop-design #colophon .widget-title span { background: transparent; color: #fff; }
@media (max-width: 900px) {
  .cn-shop-design #main [id="main-content-section clearfix"]:has(> #secondary) { grid-template-columns: minmax(0, 1fr); }
  .cn-shop-design #secondary { margin-top: 10px; }
}
@media (max-width: 640px) {
  .cn-shop-design #main { padding: 14px 0 32px; }
  .cn-shop-design ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn-shop-design #primary ul.products li.product { padding: 9px; }
  .cn-shop-design ul.products li.product > a img { aspect-ratio: 5 / 4; max-height: 140px; margin-bottom: 9px; }
  .cn-shop-design .woocommerce-ordering { float: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cn-shop-design ul.products li.product { transition: none; }
}
