/* Shared page openings and mobile readability; native commerce controls remain intact. */
.gh-store .gh-brand-logo{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent}
.gh-store .gh-landing-lead,.gh-store .gh-product-intro{font:400 18px/1.5 var(--gh-font-body);color:var(--gh-ink);max-width:62ch;margin:12px 0 20px}
.gh-store .gh-product-intro{font-size:17px;max-width:48ch;margin:10px 0 14px}
.gh-store .gh-shop-intro{padding-top:28px;padding-bottom:16px}
.gh-store .gh-shop-intro h1,.gh-store .gh-information>.page-heading{margin-bottom:12px;overflow-wrap:anywhere}
.gh-store .gh-information{max-width:1000px;margin-inline:auto}
.gh-store .gh-information>.gh-landing-lead{margin-inline:auto;text-align:center}
.gh-store .gh-info-copy{font:400 18px/1.65 var(--gh-font-body);max-width:72ch;margin-inline:auto;overflow-wrap:anywhere}
.gh-store .gh-info-copy img,.gh-store .gh-info-copy iframe{max-width:100%;height:auto}
.gh-store .gh-info-copy table{display:block;max-width:100%;overflow-x:auto}
.gh-store .gh-info-copy h2,.gh-store .gh-info-copy h3{line-height:1.25;margin-top:28px;margin-bottom:14px}
.gh-store .gh-info-copy a,.gh-store .gh-landing-lead a{text-decoration:underline;text-underline-offset:3px}
.gh-store .gh-contact-intro{max-width:62ch;margin:0 auto 24px;text-align:center}
.gh-store .gh-gift-card-copy .gh-gift-price{font-size:22px;font-weight:600;margin:12px 0 4px;color:var(--gh-forest)}
.gh-store .productView-info{margin-top:24px}
.gh-store .gh-category-links a,.gh-store .gh-choose-link{display:inline-flex;align-items:center;min-height:44px}
.gh-store .gh-header-search{position:static;margin:0}
.gh-store .gh-header-search>summary{display:inline-flex;align-items:center;list-style:none;cursor:pointer;min-height:48px;padding:10px 8px;font-size:16px;line-height:1.4}
.gh-store .gh-header-search>summary::-webkit-details-marker{display:none}
.gh-store .gh-header-search>summary:focus-visible{outline:3px solid var(--gh-forest);outline-offset:3px}
.gh-store .gh-header-search[open]>summary{text-decoration:underline;text-underline-offset:5px}
.gh-store .gh-header-search .gh-search{position:absolute;top:100%;left:0;right:0;z-index:35;padding:16px 24px;background:var(--gh-ivory);border-bottom:1px solid var(--gh-stone);box-shadow:0 12px 24px #20342922}
.gh-store .gh-header-search .gh-search form{max-width:620px}
.gh-store .gh-search-close{display:block;min-height:44px;margin:6px auto 0;padding:8px 12px;border:0;background:transparent;font-size:16px;text-decoration:underline;text-underline-offset:3px}
.gh-store .gh-search-close[hidden]{display:none!important}
/* Cart confirmation needs compact headings, not the product-page hero scale. */
.gh-store .gh-cart-confirmation-header .modal-header-title{font-size:28px;line-height:1.2;letter-spacing:normal;margin:0}
.gh-store .gh-cart-confirmation-body .previewCart .productView{display:block;margin:0;padding:0;min-width:0}
.gh-store .gh-cart-confirmation-body .previewCart .productView-title{font-size:22px;line-height:1.25;margin:0 0 10px}
.gh-store .gh-cart-confirmation-body .previewCart .productView-img-container{height:180px;min-height:0;max-width:100%}
.gh-store .gh-cart-confirmation-body .previewCart .productView-image{width:100%;margin:0 0 12px;min-height:0}
.gh-store .gh-cart-confirmation-body .previewCart .productView-image img{max-height:180px;max-width:100%;width:auto;height:auto;object-fit:contain}
.gh-store .gh-cart-confirmation-body .previewCart .productView-details{width:100%;margin:0;padding:0}
.gh-store .gh-cart-confirmation-body .previewCart .productView-info{margin:8px 0}
.gh-store .gh-cart-confirmation-body .previewCart .productView-price{font-size:18px;margin:8px 0}
.gh-store .gh-cart-confirmation-body .previewCartCheckout .button{min-height:48px;font-size:16px;margin-bottom:10px}
@media(max-width:700px){
 .gh-store .gh-cart-confirmation-header{padding:16px 44px 16px 16px}
 .gh-store .gh-cart-confirmation-header .modal-header-title{font-size:24px}
 .gh-store .gh-cart-confirmation-body{padding:16px}
 .gh-store .gh-cart-confirmation-body .previewCart{display:flex;flex-direction:column;gap:20px}
 .gh-store .gh-cart-confirmation-body .previewCartCheckout{order:0;width:100%;padding:0}
 .gh-store .gh-cart-confirmation-body .previewCart .productView{order:1;width:100%}
 .gh-store .gh-cart-confirmation-body .previewCart .productView-title{font-size:20px}
 .gh-store .gh-cart-confirmation-body .previewCart .productView-img-container{height:140px}
 .gh-store .gh-cart-confirmation-body .previewCart .productView-image img{max-height:140px}
}
@media(max-width:760px){
 .gh-store .gh-header-inner{min-height:72px}
 .gh-store .gh-search{padding-top:6px;padding-bottom:6px}
 .gh-store .gh-search input,.gh-store .gh-search button{min-height:44px}
 .gh-store .breadcrumbs{margin-top:12px;margin-bottom:12px;line-height:1.4;overflow-wrap:anywhere}
 .gh-store .gh-shop-intro{padding-top:20px;padding-bottom:10px}
 .gh-store .gh-shop-intro .eyebrow{margin-bottom:8px}
 .gh-store .gh-shop-intro h1,.gh-store .gh-information>.page-heading{font-size:32px;line-height:1.15}
 .gh-store .gh-landing-lead,.gh-store .gh-product-intro{font-size:16px;line-height:1.5;margin:10px 0 16px}
 .gh-store .productView-title{font-size:28px;line-height:1.2;overflow-wrap:anywhere}
 .gh-store .productView-img-container{height:clamp(220px,65vw,300px);min-height:0}
 .gh-store .productView-info{margin-top:20px}
 .gh-store .gh-info-copy{font-size:17px;line-height:1.6}
 .gh-store .gh-information .page-content{padding-inline:0;min-width:0}
 .gh-store .gh-info-copy [style*="min-width"]{min-width:min(100%,240px)!important}
 .gh-store .gh-shop-tools{align-items:end;flex-wrap:wrap}
 .gh-store .gh-shop-tools input,.gh-store .gh-shop-tools select{font-size:16px;min-height:48px}
 .gh-store .gh-gift-intro{padding:24px 0}
 .gh-store .gh-gift-intro h1{font-size:34px;line-height:1.15}
 .gh-store .gh-gift-intro>p:not(.gh-gift-kicker){font-size:17px;line-height:1.5;margin-bottom:20px}
 .gh-store .gh-gift-kicker{margin-bottom:10px!important}
 .gh-store .gh-gc-intro{padding-top:20px;padding-bottom:20px}
}

/* Native mobile finding: the custom header is in normal flow, so the old fixed-header offset is obsolete. */
@media(max-width:700px){
 body.gh-store{padding-top:0}
 .gh-store .gh-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;min-height:0;padding:4px 16px}
 .gh-store .gh-menu-open{justify-self:start;min-height:44px;padding:8px 4px}
 .gh-store .gh-logo{justify-self:end;width:150px;max-width:100%;padding:0}
 .gh-store .gh-header-actions{grid-column:1/-1;width:100%;margin:0;justify-content:flex-end;gap:12px}
 .gh-store .gh-header-actions>a,.gh-store .gh-header-search>summary{min-height:44px;padding:8px}
 .gh-store .gh-header-actions .cart-quantity{min-width:22px}
 .gh-store.gh-page-product .body>.container{padding-top:10px}
 .gh-store.gh-page-product .breadcrumbs{margin:0 0 8px;line-height:1.35}
 .gh-store.gh-page-product .body .productView{padding-top:4px;gap:12px}
 .gh-store.gh-page-product .body .productView-title{margin:0 0 8px}
 .gh-store.gh-page-product .body .gh-product-intro{margin:0 0 8px;line-height:1.4}
 .gh-store.gh-page-product .body .productView-price{margin:8px 0 0}
 .gh-store.gh-page-product .body .productView-rating{margin:16px 0 8px}
 /* Keep the real option controls and Add to Cart together; do not offer a premature duplicate action. */
 .gh-store.gh-page-product .gh-sticky-buy{display:none!important}
 body.gh-store.gh-page-product.gh-has-sticky{padding-bottom:0}
}

/* Native product layout is grid/flex. Float clearfix boxes must not occupy
   its free options row. Exclude unrelated cart confirmation containers. */
.gh-store .productView[data-gh-asset-root]::before,.gh-store .productView[data-gh-asset-root]::after{content:none;display:none}

/* Native mobile Cart Change: keep title/Close in view and scroll options once.
   Other modal types, desktop dialogs and optimized checkout are unchanged. */
@media(max-width:760px){
 .gh-store #modal.modal:has(#CartEditProductFieldsForm){position:fixed;top:max(12px,env(safe-area-inset-top))!important;right:12px;bottom:max(12px,env(safe-area-inset-bottom));left:12px;transform:none;width:auto;max-width:none;min-height:0;height:auto;max-height:none;overflow:clip}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm)>.modal-content{height:100%;min-height:0;display:flex;flex-direction:column;overflow:clip}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm)>.modal-content>.modal-header{flex:0 0 auto;padding:12px 56px 12px 16px}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm) .modal-header-title{font-size:22px;line-height:1.25;letter-spacing:normal;text-align:left;margin:0;overflow-wrap:anywhere}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm)>.modal-close{top:4px;right:4px;width:44px;height:44px;min-width:44px;min-height:44px;line-height:44px;transform:none}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm)>.modal-content>.modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:16px}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm) #CartEditProductFieldsForm{margin-bottom:0}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm) #CartEditProductFieldsForm .form-actions{margin-bottom:0}
 .gh-store #modal.modal:has(#CartEditProductFieldsForm) #CartEditProductFieldsForm [type=submit]{min-height:48px}
}
