/*
 * UTAMA SPICE editorial PDP
 * Scoped to products registered in inc/pdp-products.php.
 * Palette: Bali botanicals / celadon / terracotta / turmeric.
 */

body.us-editorial-pdp {
  --us-ink: #22302b;
  --us-forest: #1f3931;
  --us-sage: #dfe7dc;
  --us-sage-soft: var(--us-pdp-sage-soft, #f1f4ec);
  --us-ivory: #fbf8f1;
  --us-sand: #e9decc;
  --us-clay: #a65f43;
  --us-ochre: var(--us-pdp-accent, #c49a43);
  --us-line: rgba(34, 48, 43, 0.17);
  --us-muted: #65716c;
  background: var(--us-ivory);
  color: var(--us-ink);
}

body.us-editorial-pdp #main,
body.us-editorial-pdp .shop-container,
body.us-editorial-pdp .product-container {
  background: var(--us-ivory);
}

body.us-editorial-pdp .product-main {
  padding: 0;
}

body.us-editorial-pdp .product-main > .row.content-row {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(400px, 0.78fr) minmax(150px, 0.27fr);
  gap: 0;
  width: min(calc(100% - 40px), 1050px);
  max-width: 1050px;
  min-height: 610px;
  margin: 0 auto;
  border-bottom: 1px solid var(--us-line);
}

body.us-editorial-pdp .product-main > .row.content-row::after {
  display: none;
}

body.us-editorial-pdp .product-main .product-gallery,
body.us-editorial-pdp .product-main .product-info,
body.us-editorial-pdp .product-main #product-sidebar {
  width: auto;
  max-width: none;
  flex-basis: auto;
  padding: 0;
}

/* Hero product image */
body.us-editorial-pdp .product-gallery {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(219, 229, 214, 0.96) 0 25%, rgba(251, 248, 241, 0) 50%),
    var(--us-sage-soft);
}

body.us-editorial-pdp .product-gallery::before {
  display: none;
}

body.us-editorial-pdp .product-gallery::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.5;
  background-image: url("assets/pdp-concept/final/natural-mark-stamp.png");
  background-position: left clamp(24px, 3vw, 50px) bottom 48px;
  background-repeat: no-repeat;
  background-size: clamp(64px, 6.5vw, 94px) auto;
  pointer-events: none;
}

body.us-editorial-pdp .product-gallery .product-images,
body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__wrapper,
body.us-editorial-pdp .product-gallery .flickity-viewport,
body.us-editorial-pdp .product-gallery .flickity-slider {
  height: 100% !important;
  min-height: 610px;
  margin: 0;
}

body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image,
body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image a {
  display: block;
  height: 100%;
}

body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  object-position: center;
}

body.us-editorial-pdp .product-gallery .image-tools {
  left: 28px;
  right: auto;
  bottom: 26px;
}

/* Purchase panel */
body.us-editorial-pdp .product-info {
  position: relative;
  padding: clamp(38px, 4.2vw, 66px) clamp(34px, 4vw, 64px) 40px !important;
  background: rgba(251, 248, 241, 0.98);
  border-left: 1px solid var(--us-line);
}

body.us-editorial-pdp .woocommerce-breadcrumb {
  margin-bottom: 22px;
  color: var(--us-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
}

body.us-editorial-pdp .product-main .product-info .product-title {
  margin: 0 0 12px;
  color: var(--us-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

body.us-editorial-pdp .product-main .product-info .us-pdp-subtitle {
  margin: 10px 0 0;
  color: var(--us-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

body.us-editorial-pdp .product-info .is-divider {
  width: 100%;
  height: 1px;
  max-width: none;
  margin: 20px 0 24px;
  background: var(--us-line);
}

body.us-editorial-pdp .product-info .price-wrapper .price {
  color: var(--us-ink);
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: normal;
}

body.us-editorial-pdp .stock.in-stock {
  margin: 8px 0 16px;
  color: #4f7a35;
  font-size: 13px;
  font-weight: 600;
}

body.us-editorial-pdp form.cart {
  display: grid;
  grid-template-columns: 112px minmax(180px, 1fr);
  gap: 12px;
  margin: 0 0 26px;
}

body.us-editorial-pdp form.cart .quantity {
  display: grid;
  grid-template-columns: 36px 40px 36px;
  margin: 0 !important;
  border: 1px solid var(--us-line);
  background: transparent;
}

body.us-editorial-pdp form.cart .quantity input,
body.us-editorial-pdp form.cart .quantity .button {
  width: 100% !important;
  min-width: 0;
  height: 48px;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--us-ink);
}

body.us-editorial-pdp form.cart .quantity .qty {
  border-right: 1px solid var(--us-line);
  border-left: 1px solid var(--us-line);
}

body.us-editorial-pdp form.cart .single_add_to_cart_button {
  width: 100%;
  min-height: 50px;
  margin: 0;
  border: 1px solid var(--us-forest);
  border-radius: 0;
  background: var(--us-forest);
  color: #fff8e8;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

/* WooCommerce hides the quantity selector when only one item can be bought.
   Let the purchase button use the two-column form's full width in that state. */
body.us-editorial-pdp form.cart .quantity.hidden + .single_add_to_cart_button {
  grid-column: 1 / -1;
}

body.us-editorial-pdp form.cart .single_add_to_cart_button:hover {
  border-color: var(--us-clay);
  background: var(--us-clay);
}

body.us-editorial-pdp .product_meta {
  padding: 18px 0;
  border-top: 1px solid var(--us-line);
  border-bottom: 1px solid var(--us-line);
  color: var(--us-muted);
  font-size: 12px;
  line-height: 2;
}

body.us-editorial-pdp .product_meta a {
  color: var(--us-forest);
}

body.us-editorial-pdp .share-icons {
  margin-top: 17px;
}

body.us-editorial-pdp .share-icons .button {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-color: var(--us-line);
  color: var(--us-muted);
}

/* Existing recommendation sidebar becomes a quiet Bali accent panel. */
body.us-editorial-pdp #product-sidebar {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  background-color: var(--us-clay);
  background-image:
    url("assets/pdp-concept/final/bali-gate.png"),
    linear-gradient(rgba(166, 95, 67, 0.3), rgba(166, 95, 67, 0.3)),
    url("assets/pdp-concept/final/terracotta-weave.webp");
  background-position: center bottom 22px, center, center;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: 92% auto, cover, 260px 260px;
  border-left: 1px solid var(--us-line);
}

body.us-editorial-pdp #product-sidebar > * {
  display: none;
}

body.us-editorial-pdp #product-sidebar::before {
  content: "バリの自然と\Aともにある\A暮らし";
  position: absolute;
  top: 76px;
  left: 28px;
  right: 24px;
  color: #fff9ef;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.65;
  letter-spacing: 0.08em;
  white-space: pre-line;
}

body.us-editorial-pdp #product-sidebar::after {
  content: "BOTANICAL APOTHECARY";
  position: absolute;
  right: 24px;
  bottom: 34px;
  color: rgba(255, 249, 239, 0.68);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

/* Product information */
body.us-editorial-pdp .product-footer {
  padding: 16px 0 52px;
  background: var(--us-ivory);
}

body.us-editorial-pdp .product-footer > .container {
  width: 100%;
  max-width: 1080px;
  padding: 0 15px;
}

body.us-editorial-pdp .woocommerce-tabs {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.us-editorial-pdp .product-tabs {
  gap: 22px;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--us-line);
}

body.us-editorial-pdp .product-tabs > li > a {
  padding: 12px 0 14px;
  color: var(--us-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

body.us-editorial-pdp .product-tabs > li.active > a {
  color: var(--us-forest);
}

body.us-editorial-pdp .product-tabs > li.active > a::after {
  background: var(--us-ochre);
}

body.us-editorial-pdp .tab-panels {
  padding: 0;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(34px, 6vw, 90px);
  padding: 10px 0 36px;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description > h2,
body.us-editorial-pdp .woocommerce-Tabs-panel--description > h2 + p {
  grid-column: 1 / -1;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description > h2 {
  margin: 0 0 12px;
  color: var(--us-forest);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 500;
  letter-spacing: 0.03em;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description > h2 + p {
  max-width: 900px;
  margin: 0 0 30px;
  color: var(--us-muted);
  font-size: 15px;
  line-height: 2;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description h3 {
  margin: 0;
  padding: 20px 0 10px;
  border-top: 1px solid var(--us-line);
  color: var(--us-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background-color: rgba(238, 241, 230, 0.55);
  background-image: url("assets/pdp-concept/final/celadon-paper.webp");
  background-repeat: repeat;
  background-size: 260px 260px;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description h3:nth-of-type(1) {
  background-image:
    var(--us-pdp-journal),
    url("assets/pdp-concept/final/celadon-paper.webp");
  background-position: right 12px center, center;
  background-repeat: no-repeat, repeat;
  background-size: 74px auto, 260px 260px;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description h3:nth-of-type(2) {
  background-image:
    url("assets/pdp-concept/final/herb-trio.png"),
    url("assets/pdp-concept/final/celadon-paper.webp");
  background-position: right 12px center, center;
  background-repeat: no-repeat, repeat;
  background-size: 64px auto, 260px 260px;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description h3:nth-of-type(3) {
  background-image:
    url("assets/pdp-concept/final/broad-leaf.png"),
    url("assets/pdp-concept/final/celadon-paper.webp");
  background-position: right 12px center, center;
  background-repeat: no-repeat, repeat;
  background-size: 70px auto, 260px 260px;
}

body.us-editorial-pdp .woocommerce-Tabs-panel--description p,
body.us-editorial-pdp .woocommerce-Tabs-panel--description ul {
  margin-top: 0;
  color: var(--us-muted);
  font-size: 14px;
  line-height: 1.95;
}

@media (max-width: 1100px) {
  body.us-editorial-pdp .product-main > .row.content-row {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
  }

  body.us-editorial-pdp #product-sidebar {
    display: none;
  }
}

@media (max-width: 849px) {
  body.us-editorial-pdp .product-main > .row.content-row {
    display: block;
    min-height: 0;
  }

  body.us-editorial-pdp .product-gallery .product-images,
  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__wrapper,
  body.us-editorial-pdp .product-gallery .flickity-viewport,
  body.us-editorial-pdp .product-gallery .flickity-slider,
  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image img {
    min-height: 0;
  }

  body.us-editorial-pdp .product-gallery::before,
  body.us-editorial-pdp .product-gallery::after {
    display: none;
  }

  body.us-editorial-pdp .product-info {
    padding: 30px 22px 34px !important;
    border-top: 1px solid var(--us-line);
    border-left: 0;
  }

  body.us-editorial-pdp .product-main .product-info .product-title {
    font-size: 25px;
  }

  body.us-editorial-pdp .product-main .product-info .us-pdp-subtitle {
    font-size: 12px;
  }

  body.us-editorial-pdp .product-footer > .container {
    width: calc(100% - 36px);
  }

  body.us-editorial-pdp .woocommerce-Tabs-panel--description {
    display: block !important;
  }
}

@media (max-width: 480px) {
  body.us-editorial-pdp form.cart {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 8px;
  }

  body.us-editorial-pdp form.cart .quantity {
    grid-template-columns: 32px 36px 32px;
  }

  body.us-editorial-pdp form.cart .single_add_to_cart_button {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }
}

/* ========================================================================== 
   Editorial PDP — shared production integration
   ========================================================================== */

body.us-editorial-pdp .product-main > .row.content-row {
  grid-template-columns: 52% 48%;
  min-height: 503px;
}

body.us-editorial-pdp .product-main {
  padding-top: 24px;
}

body.us-editorial-pdp .product-gallery .product-images,
body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__wrapper,
body.us-editorial-pdp .product-gallery .flickity-viewport,
body.us-editorial-pdp .product-gallery .flickity-slider,
body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image img {
  min-height: 503px;
}

body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image img {
  object-position: center;
}

body.us-editorial-pdp .product-gallery::after {
  opacity: .48;
  background-position: left clamp(28px, 2.5vw, 45px) bottom 45px;
  background-size: clamp(76px, 7vw, 100px) auto;
}

body.us-editorial-pdp .product-info {
  padding: 38px clamp(30px, 3vw, 44px) 22px !important;
}

body.us-editorial-pdp .next-prev-thumbs,
body.us-editorial-pdp .product-info > .is-divider {
  display: none;
}

body.us-editorial-pdp .product-main .product-info .woocommerce-breadcrumb {
  display: block;
  margin: 0 0 18px;
  color: #78827d;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

body.us-editorial-pdp .product-main .product-info .woocommerce-breadcrumb a {
  color: #53665e;
  transition: color 160ms ease;
}

body.us-editorial-pdp .product-main .product-info .woocommerce-breadcrumb a:hover {
  color: var(--us-clay);
}

body.us-editorial-pdp .product-main .product-info .product-title {
  margin-bottom: 7px;
  font-size: clamp(23px, 1.65vw, 27px);
  white-space: normal;
}

body.us-editorial-pdp .product-main .product-info .us-pdp-subtitle {
  margin-top: 8px;
  font-size: 12px;
}

body.us-editorial-pdp .us-pdp-reviews {
  display: flex;
  align-items: center;
  margin: 9px 0 12px;
  color: var(--us-muted);
  font-size: 11px;
}

body.us-editorial-pdp .us-pdp-review-link {
  color: var(--us-muted);
  text-decoration: underline;
  text-decoration-color: rgba(101, 113, 108, .45);
  text-underline-offset: 3px;
}

body.us-editorial-pdp .us-pdp-review-link:hover {
  color: var(--us-clay);
}

body.us-editorial-pdp .product-info .price-wrapper .price {
  font-size: 24px;
}

body.us-editorial-pdp .stock.in-stock {
  margin: 5px 0 14px;
}

body.us-editorial-pdp form.cart {
  grid-template-columns: 108px minmax(170px, 1fr);
  margin-bottom: 0;
}

body.us-editorial-pdp .product-main #product-sidebar {
  display: block !important;
  grid-column: 1 / -1;
  justify-self: center;
  width: 1050px;
  max-width: 100%;
  min-height: 155px;
  border-top: 1px solid var(--us-line);
  border-left: 0;
  background-position: right 46px bottom -18px, center, center;
  background-size: 280px auto, cover, 260px 260px;
}

body.us-editorial-pdp #product-sidebar::before {
  content: "バリの自然とともにある暮らし";
  top: 45px;
  left: 48px;
  right: auto;
  width: 520px;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.5;
  white-space: normal;
}

body.us-editorial-pdp #product-sidebar::after {
  content: "BOTANICAL APOTHECARY  ·  BALI, INDONESIA";
  right: auto;
  bottom: 35px;
  left: 49px;
  font-size: 9px;
  letter-spacing: .2em;
  writing-mode: horizontal-tb;
}

body.us-editorial-pdp .us-pdp-assurances {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 22px 0 15px;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--us-line);
  list-style: none;
}

body.us-editorial-pdp .us-pdp-assurances li {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
  padding: 10px 0;
  border-top: 1px solid rgba(34, 48, 43, .12);
}

body.us-editorial-pdp .us-pdp-assurances .us-pdp-assurance-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #c9b98a;
  border-radius: 50%;
  color: var(--us-forest);
  font-size: 14px;
}

body.us-editorial-pdp .us-pdp-assurance-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.45;
}

body.us-editorial-pdp .us-pdp-assurance-copy small,
body.us-editorial-pdp .us-pdp-assurance-copy strong {
  display: block;
}

body.us-editorial-pdp .us-pdp-assurance-copy small {
  color: #5f6a65;
  font-size: 12px;
}

body.us-editorial-pdp .us-pdp-assurance-copy strong {
  color: var(--us-ink);
  font-size: 13px;
  font-weight: 600;
}

body.us-editorial-pdp .product_meta {
  padding: 0 0 12px;
  border-top: 0;
}

body.us-editorial-pdp .share-icons {
  margin-top: 9px;
}

body.us-editorial-pdp .product-footer {
  padding-top: 14px;
}

body.us-editorial-pdp .product-footer > .container {
  width: 100%;
  max-width: 1080px;
  padding-right: 15px;
  padding-left: 15px;
}

body.us-editorial-pdp .us-pdp-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 13px;
}

body.us-editorial-pdp .us-pdp-benefit {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr 112px;
  align-items: center;
  min-height: 150px;
  overflow: hidden;
  padding: 10px 8px 10px 17px;
  border: 1px solid #e2ded2;
  background: var(--us-sage-soft) url("assets/pdp-concept/final/celadon-paper.webp") repeat;
  background-size: 280px;
}

body.us-editorial-pdp .us-pdp-benefit-wide {
  grid-template-columns: 66px 1fr 118px;
}

body.us-editorial-pdp .us-pdp-number {
  align-self: start;
  margin-top: 6px;
  color: #929273;
  font: italic 22px Georgia, serif;
}

body.us-editorial-pdp .us-pdp-number::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-top: 8px;
  background: #aaa88d;
}

body.us-editorial-pdp .us-pdp-benefit h2 {
  margin: 0 0 8px;
  color: var(--us-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .05em;
}

body.us-editorial-pdp .us-pdp-benefit p,
body.us-editorial-pdp .us-pdp-benefit ul {
  margin: 0;
  padding: 0;
  color: #303a36;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 12px;
  line-height: 1.8;
}

body.us-editorial-pdp .us-pdp-benefit li + li {
  margin-top: 5px;
}

body.us-editorial-pdp .us-pdp-benefit ul {
  padding-left: 14px;
}

body.us-editorial-pdp .us-pdp-benefit img {
  width: 100%;
  max-height: 104px;
  object-fit: contain;
  opacity: .88;
}

@media (min-width: 850px) {
  body.us-editorial-pdp .us-pdp-benefit,
  body.us-editorial-pdp .us-pdp-benefit-wide {
    display: block;
    min-height: 210px;
    padding: 28px 30px 28px 84px;
  }

  body.us-editorial-pdp .us-pdp-number {
    position: absolute;
    top: 24px;
    left: 22px;
    margin: 0;
  }

  body.us-editorial-pdp .us-pdp-benefit > div {
    position: relative;
    z-index: 2;
    max-width: 225px;
  }

  body.us-editorial-pdp .us-pdp-benefit h2 {
    margin-bottom: 12px;
    font-size: 18px;
  }

  body.us-editorial-pdp .us-pdp-benefit p,
  body.us-editorial-pdp .us-pdp-benefit ul {
    font-size: 13px;
    line-height: 1.95;
  }

  body.us-editorial-pdp .us-pdp-benefit img {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 8px;
    width: 104px;
    max-height: 118px;
    opacity: .38;
  }
}

body.us-editorial-pdp .us-pdp-details {
  display: grid;
  grid-template-columns: 39% 61%;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--us-line);
}

body.us-editorial-pdp .us-pdp-story {
  padding-right: 32px;
  border-right: 1px solid var(--us-line);
}

body.us-editorial-pdp .us-pdp-specifications {
  padding-left: 27px;
}

body.us-editorial-pdp .us-pdp-details h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--us-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  font-weight: 500;
}

body.us-editorial-pdp .us-pdp-details h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--us-line);
}

body.us-editorial-pdp .us-pdp-story p {
  margin: 0;
  color: #3e4743;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  line-height: 1.9;
}

body.us-editorial-pdp .us-pdp-specifications dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

body.us-editorial-pdp .us-pdp-specifications dl div {
  display: flex;
  justify-content: space-between;
  min-height: 43px;
  padding: 12px 0;
  border-top: 1px solid var(--us-line);
}

body.us-editorial-pdp .us-pdp-specifications dl div:nth-child(odd) {
  margin-right: 26px;
}

body.us-editorial-pdp .us-pdp-specifications dt {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  font-weight: 600;
}

body.us-editorial-pdp .us-pdp-specifications dd {
  margin: 0;
  color: #4e5752;
  font-size: 12px;
}

body.us-editorial-pdp .us-pdp-specifications dd span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-left: 18px;
  border: 1px solid #d5d0c3;
  border-radius: 50%;
}

body.us-editorial-pdp .us-pdp-spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
}

body.us-editorial-pdp .us-pdp-spec-item {
  border-top: 1px solid var(--us-line);
}

body.us-editorial-pdp .us-pdp-spec-item > button {
  display: grid;
  grid-template-columns: 86px 1fr 26px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--us-ink);
  box-shadow: none;
  text-align: left;
  text-transform: none;
}

body.us-editorial-pdp .us-pdp-spec-item > button:hover,
body.us-editorial-pdp .us-pdp-spec-item > button:focus-visible {
  background: rgba(226, 229, 211, .48);
  color: var(--us-ink);
}

body.us-editorial-pdp .us-pdp-spec-label {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  font-weight: 600;
}

body.us-editorial-pdp .us-pdp-spec-value {
  color: #4e5752;
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}

body.us-editorial-pdp .us-pdp-spec-toggle {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #d5d0c3;
  border-radius: 50%;
  transition: transform 180ms ease;
}

body.us-editorial-pdp .us-pdp-spec-item > button[aria-expanded="true"] .us-pdp-spec-toggle {
  transform: rotate(180deg);
}

body.us-editorial-pdp .us-pdp-spec-panel {
  padding: 0 10px 15px 96px;
}

body.us-editorial-pdp .us-pdp-spec-panel[hidden] {
  display: none;
}

body.us-editorial-pdp .us-pdp-spec-panel p {
  margin: 0;
  color: #626c67;
  font-size: 12px;
  line-height: 1.8;
}

/* The editorial blocks replace the standard long-description tab. */
body.us-editorial-pdp .woocommerce-tabs {
  display: none;
}

body.us-editorial-pdp .us-pdp-journal {
  margin-top: 22px;
  color: var(--us-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

body.us-editorial-pdp .us-pdp-kicker {
  margin: 0 0 10px;
  color: #8b835f;
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: .22em;
}

body.us-editorial-pdp .us-pdp-journal-intro {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 42px min(39%, 570px) 38px 52px;
  border: 1px solid #ddd8ca;
  background:
    linear-gradient(90deg, rgba(244, 244, 231, .98) 0 56%, rgba(244, 244, 231, .32) 77%),
    var(--us-pdp-journal) right 8% center / 310px auto no-repeat,
    url("assets/pdp-concept/final/celadon-paper.webp") repeat;
}

body.us-editorial-pdp .us-pdp-journal-intro h2,
body.us-editorial-pdp .us-pdp-guide h2,
body.us-editorial-pdp .us-pdp-profile h2 {
  margin: 0 0 17px;
  color: #22362f;
  font-family: inherit;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

body.us-editorial-pdp .us-pdp-journal-intro > p:last-child {
  max-width: 690px;
  margin: 0;
  color: #48534e;
  font-size: 14px;
  line-height: 2.05;
}

body.us-editorial-pdp .us-pdp-moments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-right: 1px solid var(--us-line);
  border-bottom: 1px solid var(--us-line);
}

body.us-editorial-pdp .us-pdp-moments > div {
  position: relative;
  min-height: 118px;
  padding: 23px 15px 18px;
  border-left: 1px solid var(--us-line);
  background: #fffdf8;
}

body.us-editorial-pdp .us-pdp-moments span {
  display: block;
  margin-bottom: 13px;
  color: #aaa17e;
  font: italic 12px Georgia, serif;
}

body.us-editorial-pdp .us-pdp-moments strong,
body.us-editorial-pdp .us-pdp-moments small {
  display: block;
}

body.us-editorial-pdp .us-pdp-moments strong {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
}

body.us-editorial-pdp .us-pdp-moments small {
  color: #727a75;
  font-size: 11px;
  line-height: 1.6;
}

body.us-editorial-pdp .us-pdp-guide-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  margin-top: 28px;
  border: 1px solid #ddd8ca;
  background: #fffdf8;
}

body.us-editorial-pdp .us-pdp-guide,
body.us-editorial-pdp .us-pdp-profile {
  padding: 36px 42px 38px;
}

body.us-editorial-pdp .us-pdp-guide {
  border-right: 1px solid var(--us-line);
}

body.us-editorial-pdp .us-pdp-guide ol {
  margin: 0;
  list-style: none;
}

body.us-editorial-pdp .us-pdp-guide li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding: 15px 0;
  border-top: 1px solid var(--us-line);
}

body.us-editorial-pdp .us-pdp-guide li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #b9ad7c;
  border-radius: 50%;
  color: #887d52;
  font: italic 11px Georgia, serif;
}

body.us-editorial-pdp .us-pdp-guide strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}

body.us-editorial-pdp .us-pdp-guide li p,
body.us-editorial-pdp .us-pdp-profile > p:not(.us-pdp-kicker) {
  margin: 0;
  color: #59625e;
  font-size: 13px;
  line-height: 1.9;
}

body.us-editorial-pdp .us-pdp-profile {
  background:
    linear-gradient(rgba(240, 241, 226, .88), rgba(240, 241, 226, .88)),
    url("assets/pdp-concept/final/celadon-paper.webp") repeat;
}

body.us-editorial-pdp .us-pdp-profile dl {
  margin: 23px 0 0;
}

body.us-editorial-pdp .us-pdp-profile dl div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid rgba(82, 94, 84, .18);
  font-size: 12px;
  line-height: 1.65;
}

body.us-editorial-pdp .us-pdp-profile dt {
  color: #77775f;
  font-weight: 500;
}

body.us-editorial-pdp .us-pdp-profile dd {
  margin: 0;
}

body.us-editorial-pdp .us-pdp-safety {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  margin: 16px 0 10px;
  padding: 24px 30px;
  border: 1px solid #ded3bd;
  background: #fbf5e9;
}

body.us-editorial-pdp .us-pdp-safety-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #a28b5a;
  border-radius: 50%;
  color: #8e7340;
  font: italic 21px Georgia, serif;
}

body.us-editorial-pdp .us-pdp-safety h2 {
  margin: 0 0 8px;
  color: #443c2e;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

body.us-editorial-pdp .us-pdp-safety p,
body.us-editorial-pdp .us-pdp-safety small {
  display: block;
  margin: 0;
  color: #655c4d;
  font-family: sans-serif;
  font-size: 12px;
  line-height: 1.85;
}

body.us-editorial-pdp .us-pdp-safety small {
  margin-top: 7px;
  color: #817666;
  font-size: 11px;
}

@media (max-width: 1100px) {
  body.us-editorial-pdp .product-main > .row.content-row {
    grid-template-columns: 52% 48%;
    min-height: 0;
  }

  body.us-editorial-pdp .product-main .product-info .product-title {
    white-space: normal;
  }

  body.us-editorial-pdp .product-main #product-sidebar {
    display: block !important;
    width: calc(100% - 26px);
  }

  body.us-editorial-pdp .us-pdp-benefits {
    grid-template-columns: 1fr 1fr;
  }

  body.us-editorial-pdp .us-pdp-benefit-wide {
    grid-column: 1 / -1;
  }

  body.us-editorial-pdp .us-pdp-moments {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 849px) {
  body.us-editorial-pdp .product-main > .row.content-row,
  body.us-editorial-pdp .product-main > .row.content-row {
    width: 100%;
  }

  body.us-editorial-pdp .product-main {
    padding-top: 16px;
  }

  body.us-editorial-pdp .product-gallery .product-images,
  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__wrapper,
  body.us-editorial-pdp .product-gallery .flickity-viewport,
  body.us-editorial-pdp .product-gallery .flickity-slider,
  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image img {
    min-height: 0;
  }

  body.us-editorial-pdp .product-gallery .product-images {
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__wrapper,
  body.us-editorial-pdp .product-gallery .flickity-viewport,
  body.us-editorial-pdp .product-gallery .flickity-slider,
  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image,
  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image a,
  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image img {
    height: 100% !important;
  }

  body.us-editorial-pdp .product-gallery .woocommerce-product-gallery__image img {
    object-fit: cover;
  }

  body.us-editorial-pdp .product-main .product-info .product-title {
    font-size: 25px;
  }

  body.us-editorial-pdp .us-pdp-assurances {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.us-editorial-pdp .product-footer > .container {
    width: calc(100% - 36px);
    padding-right: 0;
    padding-left: 0;
  }

  body.us-editorial-pdp .us-pdp-benefits,
  body.us-editorial-pdp .us-pdp-details {
    display: block;
  }

  body.us-editorial-pdp .us-pdp-benefit {
    grid-template-columns: 52px 1fr 82px;
    min-height: 118px;
    margin-bottom: 10px;
  }

  body.us-editorial-pdp .us-pdp-story {
    padding: 14px 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--us-line);
  }

  body.us-editorial-pdp .us-pdp-specifications {
    padding: 20px 0 4px;
  }

  body.us-editorial-pdp .us-pdp-specifications dl {
    display: block;
  }

  body.us-editorial-pdp .us-pdp-specifications dl div:nth-child(odd) {
    margin-right: 0;
  }

  body.us-editorial-pdp .product-main #product-sidebar {
    width: calc(100% - 36px);
    min-height: 138px;
    background-position: right -15px bottom -7px, center, center;
    background-size: 205px auto, cover, 220px 220px;
  }

  body.us-editorial-pdp #product-sidebar::before {
    top: 31px;
    left: 22px;
    width: calc(100% - 145px);
    font-size: 19px;
  }

  body.us-editorial-pdp #product-sidebar::after {
    bottom: 24px;
    left: 22px;
    max-width: 210px;
    font-size: 7px;
  }

  body.us-editorial-pdp .us-pdp-spec-list {
    display: block;
  }

  body.us-editorial-pdp .us-pdp-spec-panel {
    padding-left: 0;
  }

  body.us-editorial-pdp .us-pdp-journal-intro {
    padding: 35px 34px 180px;
    background:
      linear-gradient(rgba(244, 244, 231, .96) 0 61%, rgba(244, 244, 231, .25) 82%),
      var(--us-pdp-journal) right 22px bottom -25px / 210px auto no-repeat,
      url("assets/pdp-concept/final/celadon-paper.webp") repeat;
  }

  body.us-editorial-pdp .us-pdp-moments {
    grid-template-columns: 1fr 1fr;
  }

  body.us-editorial-pdp .us-pdp-moments > div {
    min-height: 105px;
  }

  body.us-editorial-pdp .us-pdp-guide-grid {
    display: block;
  }

  body.us-editorial-pdp .us-pdp-guide,
  body.us-editorial-pdp .us-pdp-profile {
    padding: 30px 24px;
  }

  body.us-editorial-pdp .us-pdp-guide {
    border-right: 0;
    border-bottom: 1px solid var(--us-line);
  }

  body.us-editorial-pdp .us-pdp-safety {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  body.us-editorial-pdp .us-pdp-safety-mark {
    width: 34px;
    height: 34px;
  }
}
