.product-page-main {
  background: #fff;
}

.product-page .breadcrumbs {
  align-items: center;
  color: #817a73;
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(10px, .8vw, 13px);
  gap: 7px;
}

.product-page .breadcrumbs a { text-decoration: none; }
.product-page .breadcrumbs a:hover,
.product-page .breadcrumbs [aria-current="page"] { color: var(--color-accent); }
.product-breadcrumbs {
  padding: clamp(20px, 2.4vw, 38px) 0 8px;
}

.product-breadcrumbs .breadcrumbs {
  margin: 0;
}

.product-overview {
  padding: clamp(10px, 1.2vw, 18px) 0 clamp(30px, 3vw, 46px);
}

.product-overview__grid {
  align-items: start;
  display: grid;
  gap: clamp(22px, 3vw, 42px);
  grid-template-columns: minmax(0, 58%) minmax(300px, 1fr);
}

.product-gallery {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: clamp(14px, 1.8vw, 26px);
}

.product-gallery__stage {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: clamp(320px, 35vw, 500px);
  position: relative;
}

.product-gallery__main {
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
  transition: object-position 180ms ease;
  width: min(78%, 680px);
}


.product-gallery__zoom {
  align-items: center;
  background: #fff;
  border: 1px solid #ded8d1;
  bottom: 12px;
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: 12px;
  width: 42px;
}

.product-gallery__zoom:hover,
.product-gallery__zoom:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.product-gallery__image-trigger { background: transparent; border: 0; color: inherit; cursor: zoom-in; display: block; padding: 0; text-decoration: none; width: 100%; }
.product-gallery__image-trigger:hover,
.product-gallery__image-trigger:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.product-gallery__image-trigger .product-gallery__main { display: block; width: 100%; }
.product-summary {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 34px);
}

.product-summary h1 {
  font-size: clamp(30px, 3.1vw, 44px);
  margin-bottom: 7px;
}

.product-summary__type {
  color: #655f59;
  font-size: clamp(13px, 1vw, 17px);
  margin-bottom: clamp(20px, 2vw, 28px);
}

.product-price del {
  color: #8a847e;
  display: block;
  font-size: clamp(13px, 1vw, 17px);
  margin-bottom: 7px;
}

.product-price > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-price strong {
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
}

.product-price > div > span {
  background: #fff0e8;
  color: var(--color-accent);
  font-size: clamp(10px, .8vw, 13px);
  padding: 5px 9px;
}

.product-price small {
  color: #554f49;
  display: block;
  font-size: clamp(10px, .8vw, 13px);
  margin-top: 7px;
}

.product-stock {
  align-items: center;
  border-bottom: 1px solid #ece7e1;
  display: flex;
  font-size: clamp(12px, .9vw, 15px);
  justify-content: space-between;
  margin-top: clamp(22px, 2.2vw, 32px);
  padding-bottom: 18px;
}

.product-stock span:first-child {
  color: #2fae42;
}

.product-stock--unavailable span:first-child {
  color: #8b5c24;
}

.product-stock i {
  font-size: 7px;
  margin-right: 5px;
}

.product-shipping {
  align-items: center;
  display: flex;
  font-size: clamp(12px, .9vw, 15px);
  font-weight: 600;
  gap: 10px;
  margin: 18px 0 20px;
}

.product-add-to-cart,
.product-cart .single_add_to_cart_button {
  align-items: center;
  background: var(--color-accent) !important;
  border: 0;
  color: #fff !important;
  cursor: pointer;
  display: flex;
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 600;
  gap: 11px;
  height: clamp(50px, 5vw, 68px);
  justify-content: center;
  width: 100%;
}

.product-add-to-cart:hover,
.product-cart .single_add_to_cart_button:hover {
  background: var(--color-accent-strong);
}

.product-actions {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 52px;
  margin-top: 14px;
}

.product-inquiry,
.product-wishlist {
  align-items: center;
  background: #fff;
  border: 1px solid #ded8d1;
  color: #181512;
  display: flex;
  height: 48px;
  justify-content: center;
  text-decoration: none;
}

.product-inquiry {
  font-size: clamp(12px, .9vw, 15px);
  gap: 9px;
}

.product-wishlist {
  cursor: pointer;
  font-size: 18px;
}

.product-wishlist[aria-pressed="true"] {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.product-assurances {
  padding: 0 0 clamp(24px, 3vw, 42px);
}

.product-assurances__grid {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  padding: clamp(16px, 1.8vw, 24px) 0;
}

.product-assurances article {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  min-width: 0;
}

.product-assurances article + article {
  border-left: 1px solid #ece7e1;
}

.product-assurances article > i {
  color: var(--color-accent);
  flex: 0 0 auto;
  font-size: clamp(25px, 2.2vw, 35px);
}

.product-assurances h2 {
  font-family: var(--font-sans);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 600;
  margin: 0 0 2px;
}

.product-assurances p {
  color: #665f59;
  font-size: clamp(10px, .8vw, 13px);
  margin: 0;
}

.product-details {
  padding: 0 0 clamp(46px, 5vw, 80px);
}

.product-details > .layout-container {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 34px);
}

.product-tabs {
  border-bottom: 1px solid #ded8d1;
  display: flex;
  gap: clamp(24px, 4vw, 68px);
  margin-bottom: clamp(24px, 2.6vw, 38px);
  overflow-x: auto;
}

.product-tabs button {
  background: transparent;
  border: 0;
  color: #39342f;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: clamp(12px, .95vw, 16px);
  padding: 0 0 16px;
  position: relative;
}

.product-tabs button::after {
  background: var(--color-accent);
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0);
}

.product-tabs button.is-active {
  color: var(--color-accent);
}

.product-tabs button.is-active::after {
  transform: scaleX(1);
}

.product-tab-panel > h2,
.product-origin h2 {
  font-size: clamp(30px, 3vw, 48px);
  margin-bottom: 16px;
}

.product-tab-panel > p,
.product-origin p {
  color: #544e48;
  font-size: clamp(13px, 1vw, 17px);
  line-height: 1.68;
  max-width: 920px;
}

.product-origin {
  align-items: start;
  display: grid;
  gap: clamp(34px, 4vw, 66px);
  grid-template-columns: minmax(0, 52%) minmax(0, 1fr);
}

.product-origin .eyebrow {
  margin-bottom: 5px;
}

.product-origin__images {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.product-origin__images img {
  aspect-ratio: .8;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-category-banner {
  padding-bottom: clamp(42px, 5vw, 78px);
}

.product-category-banner__panel {
  align-items: center;
  aspect-ratio: auto;
  background: linear-gradient(90deg, #f8f5f0 0%, #f8f5f0 34%, rgb(248 245 240 / 86%) 48%, rgb(248 245 240 / 0%) 66%), var(--akorug-product-banner, url("../images/home/hero.jpg")) center / cover;
  border-radius: 8px;
  display: flex;
  min-height: 190px;
  overflow: hidden;
  padding: clamp(26px, 3vw, 50px);
}

.product-category-banner__panel > div {
  max-width: 44%;
}

.product-category-banner h2 {
  font-size: clamp(28px, 2.8vw, 45px);
  margin-bottom: 8px;
}

.product-category-banner p {
  color: #544e48;
  font-size: clamp(12px, .9vw, 15px);
  line-height: 1.55;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .product-overview__grid {
    gap: 34px;
    grid-template-columns: minmax(0, 56%) minmax(290px, 1fr);
  }

  .product-summary {
    padding-left: 28px;
  }
}

@media (max-width: 820px) {
  .product-overview__grid,
  .product-origin {
    grid-template-columns: 1fr;
  }

  .product-summary {
    padding: 26px;
  }

  .product-gallery__stage {
    min-height: 430px;
  }

  .product-assurances__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-assurances article {
    justify-content: flex-start;
    padding: 18px;
  }

  .product-assurances article:nth-child(3) {
    border-left: 0;
  }

  .product-assurances article:nth-child(n + 3) {
    border-top: 1px solid #ece7e1;
  }

  .product-category-banner__panel > div {
    max-width: 66%;
  }
}

@media (max-width: 540px) {
  .product-gallery__stage {
    min-height: 330px;
  }

  .product-gallery__main {
    width: 82%;
  }



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

  .product-assurances article + article {
    border-left: 0;
    border-top: 1px solid #ece7e1;
  }

  .product-tabs {
    gap: 24px;
  }

  .product-origin__images {
    gap: 10px;
  }

  .product-category-banner__panel {
    aspect-ratio: auto;
    background: linear-gradient(90deg, #f8f5f0 0%, rgb(248 245 240 / 95%) 70%, rgb(248 245 240 / 50%) 100%), var(--akorug-product-banner, url("../images/home/hero.jpg")) center / cover;
    min-height: 310px;
  }

  .product-category-banner__panel > div {
    max-width: 100%;
  }
}
/* WooCommerce API output inside the approved product composition. */
.product-page .woocommerce-notices-wrapper {
  margin-inline: auto;
  max-width: calc(var(--layout-width) + (2 * var(--gutter)));
  padding-inline: var(--gutter);
}

.product-page .woocommerce-message,
.product-page .woocommerce-error,
.product-page .woocommerce-info {
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  list-style: none;
  margin: 1rem 0 0;
  padding: 1rem 1.2rem;
}

.product-page .woocommerce-message a,
.product-page .woocommerce-error a,
.product-page .woocommerce-info a {
  color: var(--color-accent);
  font-weight: 600;
}

.product-price .woocommerce-Price-amount,
.product-price .woocommerce-Price-currencySymbol {
  color: inherit;
}

.product-price strong .woocommerce-Price-amount,
.product-price strong .woocommerce-Price-currencySymbol {
  background: transparent;
  font-size: inherit;
  padding: 0;
}

.product-cart form.cart,
.product-cart .woocommerce-variation-add-to-cart {
  margin: 0;
}

.product-cart .single_add_to_cart_button {
  box-shadow: none;
  margin: 0;
  padding: 0 1.5rem;
}

.product-cart .single_add_to_cart_button i {
  font-size: 1rem;
}

.product-cart .quantity {
  margin-bottom: 0.75rem;
}

.product-cart .quantity input {
  border: 1px solid var(--color-line);
  min-height: 46px;
  padding: 0.5rem;
  width: 88px;
}

.product-cart table.variations {
  border-collapse: collapse;
  margin-bottom: 1rem;
  width: 100%;
}

.product-cart table.variations th,
.product-cart table.variations td {
  padding: 0.45rem 0;
  text-align: left;
}

.product-cart table.variations select {
  background: #fff;
  border: 1px solid var(--color-line);
  min-height: 44px;
  padding: 0.5rem;
  width: 100%;
}

.product-cart .reset_variations {
  color: var(--color-accent);
  font-size: 0.75rem;
}

.product-cart .woocommerce-variation-price {
  margin-bottom: 0.8rem;
}

.product-cart .stock.out-of-stock {
  color: #a32121;
  font-weight: 600;
}


.product-specifications {
  border: 1px solid var(--color-line);
  margin-top: 28px;
  max-width: 720px;
}

.product-specifications table {
  border-collapse: collapse;
  width: 100%;
}

.product-specifications th,
.product-specifications td {
  border-bottom: 1px solid var(--color-line);
  font-size: clamp(12px, .9vw, 15px);
  padding: 11px 16px;
  text-align: left;
  vertical-align: top;
}

.product-specifications tr:last-child th,
.product-specifications tr:last-child td {
  border-bottom: 0;
}

.product-specifications th {
  background: var(--color-soft);
  font-weight: 600;
  width: 28%;
}
.product-tab-panel[hidden] {
  display: none;
}

.product-tab-panel > div:not(.product-origin) {
  color: #544e48;
  font-size: clamp(13px, 1vw, 17px);
  line-height: 1.68;
  max-width: 920px;
}

.product-tab-panel > div:not(.product-origin) > :last-child,
.product-tab-panel > :last-child {
  margin-bottom: 0;
}

@media (max-width: 540px) {
  .product-cart .single_add_to_cart_button {
    width: 100%;
  }
}
