/*
Theme Name: Enoradiy
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --ink: #404040;
  --muted: #a8a8a8;
  --line: #ececec;
  --bg: #fff;
  --accent: #3d5c54;
  --link: #296eb8;
}

body.enoradiy-theme {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.foot__copy img {
  height: 22px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

.enoradiy-woo {
  padding: 28px 0 48px;
}

.enoradiy-woo .wrap {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.enoradiy-woo h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
}

.enoradiy-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) {
  .enoradiy-product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.enoradiy-product__gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  background: #f4f6fa;
}

.enoradiy-product__price {
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0 20px;
}

.enoradiy-product .cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
}

.enoradiy-product .single_add_to_cart_button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
}

.enoradiy-product__diy {
  display: inline-block;
  margin-top: 8px;
  color: var(--link);
  font-size: 13px;
}

.woocommerce-cart .enoradiy-woo table.shop_table,
.woocommerce-checkout .enoradiy-woo .woocommerce {
  width: 100%;
}
