.ih-store .site-wrapper>.ih9-mast {position:static;z-index:auto}
.ih-store .site-wrapper>.ih6-head:has(details[open]) {z-index:150}
.ih-store .ih10-card-image {position:relative;display:block;width:100%;background:#f4f2eb}
.ih-store .ih10-card-image>div {position:relative;width:100%;aspect-ratio:3/4;overflow:hidden}
.ih-store .ih10-card-image img {display:block;width:100%;height:100%;object-fit:contain}
.ih-store .ih10-card-image .img-second {position:absolute;inset:0}
.ih-store .ih10-card-image:not(.has-second-image) .img-first {visibility:visible!important;opacity:1!important;transform:none!important}
.ih10-missing {display:grid;place-items:center;min-height:100%;color:#475849;font:14px/1.4 system-ui}
.ih-store .ih10-guide {display:inline-block;margin-top:12px;color:#27463e;text-decoration:underline;text-underline-offset:3px}
.ih10-specs {margin:18px 0;padding:18px clamp(14px,2vw,28px);background:#f3f3eb;color:#223f37;border-radius:6px}
.ih10-specs h2 {font:400 25px/1.2 Georgia,serif;margin:0 0 14px}
.ih10-specs dl {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);margin:0}
.ih10-specs dt,.ih10-specs dd {padding:8px 0;border-top:1px solid #d6dacc;margin:0;font:400 15px/1.45 system-ui;overflow-wrap:anywhere}
.ih10-specs dt {font-weight:600;padding-right:10px}
.ih-store #product-product .product-price-group {padding-block:12px;border-block:1px solid #d7dbd1}
.ih-store #product-product .product-info .sgm-shop {margin-block:16px;padding:clamp(14px,2vw,24px);background:#f5f5ef;border:1px solid #d1d8cb;border-radius:6px}
.ih-store #product-product .sgm-summary {font-variant-numeric:tabular-nums}
@media (hover:none),(max-width:760px){
 .ih-store .ih10-card-image .img-second {display:none!important}
 .ih-store .ih10-card-image .img-first {visibility:visible!important;opacity:1!important;transform:none!important}
}
@media(max-width:900px){
 .ih-store .site-wrapper .main-products.product-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;margin:0}
 .ih-store .main-products.product-grid:before,.ih-store .main-products.product-grid:after {display:none}
 .ih-store .main-products.product-grid>.product-layout {width:auto!important;min-width:0;margin:0!important;padding:0!important}
 .ih-store .main-products.product-grid .product-thumb {display:flex;flex-direction:column;height:100%;box-sizing:border-box}
 .ih-store .main-products.product-grid .product-thumb .image,.ih-store .main-products.product-grid .product-thumb .caption {position:relative;float:none;width:100%;box-sizing:border-box;min-width:0}
 .ih-store .main-products.product-grid .product-thumb .caption {flex:1;padding:9px}
 .ih-store .main-products .product-thumb .name a {height:auto;max-height:none;white-space:normal;text-align:start;line-height:1.38;overflow-wrap:anywhere}
 .ih-store .main-products.product-list .product-thumb {display:grid;grid-template-columns:minmax(82px,29%) minmax(0,1fr);align-items:start}
 .ih-store .main-products.product-list .product-thumb>.image,.ih-store .main-products.product-list .product-thumb>.caption {width:auto!important;min-width:0;margin:0}
 .ih-store .main-products .product-thumb .price {white-space:normal;overflow-wrap:anywhere}
 .ih-store .products-filter .select-group {display:flex;flex-wrap:wrap;gap:6px;min-width:0;max-width:100%}
 .ih-store .products-filter .select-group .input-group {flex:1 1 130px;max-width:100%}
 .ih-store #product-product .product-info {display:flex;flex-direction:column;align-items:stretch;gap:16px}
 .ih-store #product-product .product-info>.product-left,.ih-store #product-product .product-info>.product-right {width:100%!important;min-width:0;max-width:100%;box-sizing:border-box}
 .ih-store #product-product .product-details .page-title {font:400 clamp(23px,6vw,33px)/1.17 Georgia,serif;overflow-wrap:anywhere}
 .ih-store #product-product .sgm-shop select {width:100%;height:auto;min-height:44px;font-size:16px}
 .ih-store #product-product .cart-group {flex-wrap:wrap;gap:8px}
 .ih-store #product-product .product-blocks {max-width:100%;overflow-wrap:anywhere}
}

@media (max-width:900px), (pointer:coarse) {
 .ih-store #product-product label.sgm-confirm {display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 2px;box-sizing:border-box;cursor:pointer;font-size:15px;line-height:1.4}
 .ih-store #product-product .sgm-confirm input[type=checkbox] {position:static;flex:0 0 22px;width:22px;height:22px;margin:0;accent-color:#254a42}
 .ih-store .products-filter .grid-list .view-btn,.ih-store #checkout-cart .btn-update,.ih-store #checkout-cart .btn-remove {min-width:44px;min-height:44px;box-sizing:border-box}
 .ih-store #product-product #button-cart,.ih-store #product-product .cart-group .btn,.ih-store #product-product .ih10-guide {min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
}

/* Keep the Journal purchase controls and their existing event handlers. */
.ih-store #product-product .product-details .button-group-page {
 container-type:inline-size; width:100%; min-width:0; box-sizing:border-box;
 padding:16px 0 0; margin:12px 0 0; border-top:1px solid #d5dcd3;
}
.ih-store #product-product .button-group-page .buttons-wrapper {
 display:flex; flex-direction:column; align-items:stretch; gap:10px; padding:0;
}
.ih-store #product-product .buttons-wrapper .cart-group {
 display:flex; flex-flow:row wrap; align-items:stretch; gap:8px; width:100%; margin:0; padding:0;
}
.ih-store #product-product .cart-group .stepper {
 flex:0 0 64px; width:64px; height:50px; margin:0; border-radius:10px!important; overflow:hidden; box-sizing:border-box;
}
.ih-store #product-product .cart-group .stepper #product-quantity {height:100%; max-height:none; font-variant-numeric:tabular-nums}
.ih-store #product-product .cart-group #button-cart,
.ih-store #product-product .cart-group .extra-group .btn[data-quick-buy] {
 box-sizing:border-box; align-items:center; justify-content:center; gap:6px; min-width:0;
 min-height:50px; height:auto; margin:0!important; padding:9px 12px!important;
 border:1px solid #294b40!important; border-radius:10px!important; box-shadow:none!important;
 font:600 15px/1.25 system-ui,sans-serif!important; letter-spacing:0; text-align:center; white-space:normal;
}
.ih-store #product-product .cart-group #button-cart {flex:1 1 135px; background:#294b40!important; color:#fff!important}
.ih-store #product-product .cart-group .extra-group {
 flex:1 1 135px; min-width:0; width:auto; margin:0; display:flex; flex-direction:column; gap:6px;
}
.ih-store #product-product .cart-group .extra-group:empty {display:none}
.ih-store #product-product .cart-group .extra-group .btn[data-quick-buy] {width:100%;flex:1; background:#fafbf6!important;color:#244538!important}
.ih-store #product-product .cart-group .btn .btn-text {text-transform:none!important;letter-spacing:0;line-height:1.25}
.ih-store #product-product .cart-group .btn[data-quick-buy] .btn-text {color:inherit!important}
.ih-store #product-product .cart-group .btn[aria-disabled=true] {opacity:.58!important}
.ih-store #product-product .buttons-wrapper .wishlist-compare {
 display:flex; align-items:center; justify-content:flex-start; gap:4px 16px; flex-wrap:wrap; width:100%; margin:0;
}
.ih-store #product-product .wishlist-compare .btn {
 flex:0 0 auto; max-width:100%; min-height:44px; margin:0; padding:6px 2px!important; background:transparent!important;
 color:#355145!important; box-shadow:none!important; border:0!important; border-radius:6px!important;
}
.ih-store #product-product .wishlist-compare .btn .btn-text {font:500 14px/1.3 system-ui,sans-serif;text-transform:none}
.ih-store #product-product .button-group-page .btn:focus-visible {outline:3px solid #789958;outline-offset:2px}
@container (max-width:430px) {
 .ih-store #product-product .buttons-wrapper .cart-group .extra-group {flex-basis:100%}
}
@media(max-width:520px) {
 .ih-store #product-product .buttons-wrapper .cart-group .extra-group {flex-basis:100%}
}

@media(max-width:767px){
 .ih-store #product-product .product-details .button-group-page:has(#button-cart) {
   margin:0; padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px)); box-sizing:border-box;
 }
 .ih-store #product-product .button-group-page:has(#button-cart) .buttons-wrapper {gap:0;margin:0}
 .ih-store #product-product .button-group-page:has(#button-cart) .cart-group {flex-wrap:nowrap;gap:8px}
 .ih-store #product-product .button-group-page:has(#button-cart) .extra-group,
 .ih-store #product-product .button-group-page:has(#button-cart) .wishlist-compare {display:none!important}
 .ih-store #product-product .cart-group #button-cart {flex:1 1 0;min-height:46px;height:46px;white-space:nowrap}
 .ih-store #product-product .cart-group:has(#button-cart) .stepper {height:46px}
}

@media (max-width: 767px) {
  body.ih-store:has(#product-product) .breadcrumb li:last-child {display:none}
  .ih-store .products-filter {display:flex!important;align-items:center;gap:10px;padding:8px!important}
  .ih-store .products-filter .grid-list {flex:0 0 auto;margin:0!important}
  .ih-store .products-filter .select-group {display:grid!important;grid-template-columns:minmax(0,1fr) 56px;align-items:center;flex:1;gap:6px}
  .ih-store .products-filter .select-group .input-group {display:block;width:100%;margin:0!important}
  .ih-store .products-filter .select-group select {display:block;width:100%!important;height:44px!important;margin:0;border:1px solid #d9d5c8;border-radius:6px;background-color:#fffdf8;color:#203c42;font:inherit}
  .ih-store .products-filter .select-group label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .ih-store .main-products .product-thumb .caption .stats .stat-1 {background:transparent;padding:0;max-width:100%}
  .ih-store .main-products .product-thumb .caption .stats .stat-1 a {display:block;font-size:12px;line-height:1.4;text-decoration:none;overflow-wrap:normal}
}

.ih-store .product-info .review-links a {color:#385845;text-decoration:underline;text-underline-offset:3px}
.ih-store .product-info .review-links a:focus-visible,.ih-store .ih9-actions button:focus-visible {outline:2px solid #244638;outline-offset:3px}
.ih-store .product-info .main-image .swiper-buttons > div {min-width:44px;min-height:44px}
@media(max-width:767px) {
  .ih-store #product-product .sgm-shop {scroll-margin-block:76px 88px}
  .ih-store #product-product .review-links a {display:inline-flex;align-items:center;min-height:44px}
}
