/* 1.2.0 — Mobile, tablet and typography corrections. Loaded AFTER the design styles.
   Deliberately scoped to .gr-site so WooCommerce/plugin JS remains unchanged. */
body.gr-site { min-width: 0; overflow-wrap: break-word; }
body.gr-site :is(main, .gr-wrap, .gr-catalog-products, .gr-pdp-details, .gr-editorial-content, .gr-page-content) { min-width: 0; }
body.gr-site :is(.gr-page-content, .gr-prose, .gr-editorial-content) :is(iframe, video, embed) { max-width: 100%; }
body.gr-site :is(.gr-page-content, .gr-prose, .gr-editorial-content) pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
body.gr-site :is(.gr-page-content, .gr-prose, .gr-editorial-content) :is(h1,h2,h3,h4,p,li) { overflow-wrap: anywhere; }
body.gr-site :is(.gr-page-content, .gr-prose, .gr-editorial-content) .wp-block-image img { height: auto; }
body.gr-site .gr-footer-columns > *, body.gr-site .gr-header-row > * { min-width: 0; }
body.gr-site .gr-site-note { max-width: 100%; }
body.gr-site :is(.gr-check, .gr-filter-group label, .gr-story-copy > p:not(.gr-eyebrow), .gr-standard p) { font-size: max(12px, 0.8rem); }
body.gr-site .gr-record-meta { flex-wrap: wrap; }
body.gr-site .gr-hero-actions > * { max-width: 100%; white-space: normal; }
body.gr-site .gr-nav .sub-menu { max-width: min(90vw,320px); }

@media (max-width: 1200px) {
    body.gr-site .gr-header-row { gap: 13px; }
    body.gr-site .gr-header-contacts .gr-phone { font-size: 13px; }
    body.gr-site .gr-footer-columns { gap: 16px; }
    body.gr-site .gr-hero-copy { padding-inline: clamp(18px,3vw,38px); }
}
@media (max-width: 1050px) {
    body.gr-site .gr-editorial .gr-about .priv-grid,
    body.gr-site .gr-editorial .gr-delivery :is(.geo-grid-4, .pay-grid-4, .pack-grid-4) { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.gr-site .gr-editorial .gr-grading .grade-row-card { grid-template-columns: minmax(115px,0.7fr) minmax(0,2fr); gap: 16px; }
    body.gr-site .gr-editorial .gr-grading .grade-row-card .grade-seo-link { grid-column: 2; text-align: left; }
}
@media (max-width: 900px) {
    body.gr-site .gr-header-row { flex-wrap: wrap; }
    body.gr-site .gr-search { order: 4; flex-basis: 100%; max-width: 100%; }
    body.gr-site .gr-catalog ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.gr-site .gr-story-featured { grid-column: span 2; }
    body.gr-site .gr-editorial .gr-about .founder-section { grid-template-columns: minmax(220px,0.85fr) minmax(0,1fr); gap: 22px; }
    body.gr-site .gr-editorial .gr-delivery .geo-grid-4 { gap: 12px; }
}
@media (max-width: 760px) {
    /* The last PDP rule in layout.css had greater specificity than the older mobile override. */
    body.gr-site .gr-pdp-grid, body.gr-site.woocommerce .gr-pdp-grid,
    body.gr-site .gr-catalog-layout { grid-template-columns: minmax(0,1fr) !important; }
    body.gr-site .gr-pdp-grid .gr-pdp-media { width: 100%; max-width: min(100%,540px); }
    body.gr-site .gr-header-contacts { margin-left: auto; }
    body.gr-site .gr-topbar-inner { gap: 8px; min-height: 32px; font-size: 11px; }
    body.gr-site .gr-nav-row { gap: 8px; }
    body.gr-site #gr-menu-panel { max-width: 100%; }
    body.gr-site #gr-menu-panel .gr-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
    body.gr-site #gr-menu-panel .gr-menu > li > a { display: block; padding: 11px 5px; font-size: 12px; }
    body.gr-site #gr-menu-panel .sub-menu { display: block; position: static; max-width: none; box-shadow: none; margin: 0 0 8px 10px; padding: 0 0 0 10px; border: 0; border-left: 1px solid #b8965580; background: transparent; }
    body.gr-site #gr-menu-panel .sub-menu a { padding: 9px 5px; }
    body.gr-site .gr-hero-copy { padding: 24px clamp(16px,5vw,32px) 32px; }
    body.gr-site .gr-hero .gr-hero-copy h1 { font-size: clamp(35px,7.8vw,54px); line-height: 1.04; }
    body.gr-site .gr-hero-tagline { font-size: clamp(23px,5vw,31px); line-height: 1.15; }
    body.gr-site .gr-standard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.gr-site .gr-editorial :is(.gr-about .founder-section,.gr-about .manifesto-grid,.gr-about .standards-3col,.gr-about .service-2col,.gr-about .club-tg-grid,.gr-contacts .contacts-top-grid,.gr-contacts .contacts-bottom-grid,.gr-delivery .delivery-hero,.gr-delivery .ship-grid,.gr-delivery .delivery-grid,.gr-grading .grading-hero,.gr-grading .grade-row-card,.gr-grading .lab-grid),
    body.gr-site .gr-article-row:has(.gr-article-product) { grid-template-columns: minmax(0,1fr); }
    body.gr-site .gr-article-product { position: static; }
    body.gr-site .gr-editorial .gr-grading .grade-row-card .grade-seo-link { grid-column: 1; }
    body.gr-site .gr-editorial :is(.gr-about .about-hero,.gr-grading .grading-hero,.gr-delivery .delivery-hero) { padding: clamp(18px,5vw,30px); }
    body.gr-site .gr-editorial .gr-grading .grade-type-tabs { flex-wrap: wrap; }
    body.gr-site .gr-editorial .gr-grading .g-tab { padding: 10px 14px; font-size: 17px; flex: 1 1 auto; }
    body.gr-site .gr-editorial .gr-contacts .map-frame-box { min-height: 285px; }
    body.gr-site .gr-editorial .gr-contacts .map-frame-box iframe { min-height: 285px; }
    body.gr-site .gr-editorial :is(.gr-delivery .geo-grid-4,.gr-delivery .pay-grid-4,.gr-about .priv-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.gr-site .woocommerce form.checkout { grid-template-columns: minmax(0,1fr); }
    body.gr-site .woocommerce form.checkout :is(#customer_details,#order_review_heading,#order_review) { grid-column:1;grid-row:auto; }
    body.gr-site .gr-mobile-filter > summary { display: list-item; font-size: 14px; }
    body.gr-site .gr-filter-panel form { padding: 14px; }
}
@media (max-width: 580px) {
    body.gr-site { font-size: 14px; }
    body.gr-site h1 { font-size: clamp(29px,8.2vw,39px); }
    body.gr-site h2 { font-size: clamp(25px,7vw,34px); }
    body.gr-site h3 { font-size: clamp(21px,5.5vw,28px); }
    body.gr-site .gr-wrap { padding-inline: 14px; }
    body.gr-site .gr-header-row { gap: 8px 12px; }
    body.gr-site .gr-logo img { max-width: 170px; }
    body.gr-site .gr-logo strong { font-size: clamp(17px,5vw,22px); letter-spacing: .05em; }
    body.gr-site .gr-logo small { font-size: 9px; letter-spacing: .05em; }
    body.gr-site .gr-header-actions { gap: 9px; }
    body.gr-site .gr-header-actions a > span:first-child { font-size: 20px; }
    body.gr-site .gr-header-contacts { width: 100%; order: 5; margin: 0; text-align:left; }
    body.gr-site .gr-header .gr-social { justify-content: flex-start; }
    body.gr-site .gr-search { flex-basis: 100%; }
    body.gr-site .gr-nav-row .gr-nav-sale { font-size: 10px; max-width: 118px; line-height: 1.25; }
    body.gr-site .gr-menu-toggle { min-height: 40px; font-size: 12px; }
    body.gr-site .gr-hero .gr-hero-copy h1 { font-size: clamp(32px,8.5vw,45px); }
    body.gr-site .gr-hero-copy { padding: 23px 16px 28px; }
    body.gr-site .gr-hero-actions { display: grid; grid-template-columns: 1fr; }
    body.gr-site .gr-hero-actions .gr-button { width: 100%; min-height: 44px; }
    body.gr-site .gr-section-title { display: block; }
    body.gr-site .gr-section-title .gr-text-link { display: inline-block; margin-top: 9px; }
    body.gr-site .gr-standard-grid, body.gr-site .gr-editorial .gr-about .priv-grid { grid-template-columns: minmax(0,1fr); }
    body.gr-site .gr-scenarios, body.gr-site .gr-editorial .gr-delivery :is(.geo-grid-4,.pay-grid-4,.pack-grid-4) { grid-template-columns: minmax(0,1fr); }
    body.gr-site .gr-stories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    body.gr-site .gr-story-featured { grid-column: span 2; grid-template-columns: minmax(0,1fr); }
    body.gr-site .gr-story-copy { padding: 12px; }
    body.gr-site .gr-story-copy h3 { font-size: 21px; }
    body.gr-site .gr-story-copy > p:not(.gr-eyebrow) { font-size: 12px; }
    body.gr-site .gr-eyebrow { font-size: 11px; }
    body.gr-site .gr-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
    body.gr-site .gr-footer-brand { grid-column: 1/-1; }
    body.gr-site .gr-footer h2 { font-size: 12px; }
    body.gr-site .gr-footer { font-size: 13px; }
    body.gr-site .gr-catalog ul.products, body.gr-site ul.products[class*="columns-"] { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    body.gr-site .gr-catalog-heading h1 { font-size: clamp(29px,7.5vw,37px); }
    body.gr-site ul.products li.gr-lp-card .woocommerce-loop-product__title { font-size: clamp(17px,4.9vw,20px); margin: 7px 0 10px; }
    body.gr-site ul.products li.gr-lp-card { padding: 8px; }
    body.gr-site ul.products .gr-lp-copy { padding: 8px 0 4px; }
    body.gr-site .gr-record-meta { font-size: 11px; gap: 3px; }
    body.gr-site .gr-lp-artist { font-size: 11px; }
    body.gr-site ul.products li.gr-lp-card .gr-card-footer { align-items: flex-start; }
    body.gr-site ul.products li.gr-lp-card .gr-card-footer .price { font-size: 16px; }
    body.gr-site ul.products .gr-card-footer :is(button,.button) { font-size: 11px; padding: 8px 10px; }
    body.gr-site .gr-purchase-actions { flex-wrap: wrap; }
    body.gr-site .gr-purchase-actions .single_add_to_cart_button { flex: 1 1 175px; }
    body.gr-site .gr-purchase-panel { padding: 16px; }
    body.gr-site form.checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
    body.gr-site .woocommerce form.checkout #customer_details { padding: 15px; }
    body.gr-site .gr-editorial .gr-about .about-hero h1,
    body.gr-site .gr-editorial .gr-grading .grading-hero h1,
    body.gr-site .gr-editorial .gr-contacts .salon-info-card h1 { font-size: clamp(29px,8vw,38px); line-height:1.13; }
    body.gr-site .gr-editorial :is(.gr-about .manifesto-main,.gr-about .credo-card,.gr-about .srv-card-light,.gr-about .srv-card-dark,.gr-about .club-box,.gr-about .tg-box,.gr-about .treasury-box,.gr-delivery .geo-box,.gr-contacts .salon-info-card,.gr-contacts .requisites-card,.gr-contacts .contact-form-card,.gr-contacts .map-badge,.gr-grading .grade-row-card,.gr-grading .lab-card) { padding: 18px; }
    body.gr-site .gr-editorial .gr-contacts .req-table { display: block; overflow-x: auto; max-width: 100%; }
    body.gr-site .gr-editorial .gr-contacts .req-table td:first-child { width: 116px; }
    body.gr-site .gr-editorial .gr-contacts .form-row-2 { grid-template-columns: 1fr; }
    body.gr-site .gr-editorial .gr-about .founder-portrait-frame { max-width: 450px; }
    body.gr-site .gr-editorial .gr-about .founder-text-box h2 { font-size: 34px; }
    body.gr-site .gr-editorial .gr-grading .grade-row-card { gap: 12px; }
    body.gr-site .gr-editorial .gr-grading .grades-stack h2 { font-size: 28px; }
    body.gr-site .gr-editorial .gr-grading .grade-type-tabs { gap: 7px; }
    body.gr-site .gr-editorial .gr-grading .g-tab { font-size: 15px; }
    body.gr-site .gr-article-row:has(.gr-article-product) { display:block; }
    body.gr-site .gr-article-product { margin-top:22px; }
}
@media (max-width: 380px) {
    body.gr-site .gr-logo img { max-width: 140px; }
    body.gr-site .gr-nav a.gr-nav-catalog { padding-inline: 7px; font-size: 11px; }
    body.gr-site .gr-nav .gr-menu-toggle { padding-inline: 8px; }
    body.gr-site .gr-header-actions { gap: 5px; }
    body.gr-site .gr-stories { grid-template-columns: minmax(0,1fr); }
    body.gr-site .gr-story-featured { grid-column: 1; }
    body.gr-site .gr-footer-columns { grid-template-columns: minmax(0,1fr); }
    body.gr-site .gr-footer-brand { grid-column: 1; }
    body.gr-site .gr-vip, body.gr-site .gr-reviews { display:block; }
    body.gr-site .gr-vip .gr-button, body.gr-site .gr-reviews .gr-text-link { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    body.gr-site .gr-vinyl { animation: none !important; }
    body.gr-site .gr-lp-card img, body.gr-site .gr-story img { transition-duration: .01ms !important; }
}

/* Golden Records 1.2.1 — consistent interactive elements and Gutenberg editorial layout. */
body.gr-site .gr-story-copy h3,
body.gr-site .gr-story-copy h3 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: 2.36em;
    line-height: 1.18;
    overflow-wrap: anywhere;
}
body.gr-site .gr-story-copy h3 { min-height: 2.36em; margin: 3px 0 10px; }
body.gr-site .gr-story-copy h3 a { text-decoration: none; }
body.gr-site .gr-ui-icon { display:inline-block; width:21px; height:21px; flex:none; vertical-align:middle; }
body.gr-site .gr-header-actions { flex-wrap:nowrap; }
body.gr-site .gr-header-actions a { min-height:38px; display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
body.gr-site .gr-header-actions .gr-action-label { white-space:nowrap; }
body.gr-site .gr-search button { display:grid;place-items:center;cursor:pointer; }
body.gr-site :where(button, .button, a.gr-button, a.gr-text-link) { -webkit-tap-highlight-color:transparent; }
body.gr-site :is(.gr-purchase-actions,.gr-purchase-panel form.cart) :is(button,.button) { box-sizing:border-box;min-height:44px;white-space:normal;overflow-wrap:normal;line-height:1.25;text-align:center; }
body.gr-site .gr-purchase-actions {display:flex;align-items:center;gap:9px;flex-wrap:nowrap;max-width:100%;}
body.gr-site .gr-purchase-actions > :is(button,.button) {flex:1 1 0;min-width:0;}
body.gr-site .gr-purchase-actions > .gr-favorite {flex:0 0 42px;width:42px;height:42px;}
body.gr-site .gr-purchase-notes {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 14px;}
body.gr-site .gr-purchase-notes span {font-size:clamp(12px,1.2vw,14px);line-height:1.45;overflow-wrap:anywhere;}
body.gr-site .gr-wishlist { width:100%; }
body.gr-site .gr-wishlist .gr-page-heading h1 { font-size:clamp(32px,5vw,52px); }
body.gr-site .gr-wishlist .gr-page-heading p { margin:6px 0 0;color:var(--muted);font-size:14px; }
body.gr-site .gr-wishlist-empty { margin:28px auto 50px;max-width:630px;padding:clamp(28px,6vw,65px) clamp(18px,4vw,48px);text-align:center;background:#fffdf7;border:1px solid var(--border); }
body.gr-site .gr-wishlist-empty h2 {font-size:clamp(26px,4vw,35px);margin:10px 0;}
body.gr-site .gr-wishlist-empty p {font-size:15px;max-width:45ch;margin:0 auto 23px;color:var(--muted);}
body.gr-site .gr-wishlist-empty .gr-empty-heart {font-size:56px;line-height:1;color:#b89655;}
body.gr-site .gr-wishlist-empty .gr-button {display:inline-flex;align-items:center;justify-content:center;min-height:46px;}
body.gr-site .gr-wishlist :is(.wishlist-title, .wishlist-title-container, .wishlist-page-title) {display:none!important;}
body.gr-site .gr-wishlist .wishlist_table, body.gr-site .gr-wishlist .wishlist-items-wrapper {width:100%;max-width:100%;}
body.gr-site .gr-wishlist :is(.wishlist_table,.wishlist_table td) {overflow-wrap:anywhere;}
body.gr-site .gr-wishlist .product-thumbnail img {width:auto;max-width:130px;max-height:130px;object-fit:contain;}
body.gr-site .gr-editorial-content > .gr-contacts {width:100%;max-width:none;}
body.gr-site .gr-editorial .gr-contacts {min-width:0;}
body.gr-site .gr-editorial .gr-contacts :is(.contacts-top-grid,.contacts-bottom-grid) { width:100%;min-width:0;align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); }
body.gr-site .gr-editorial .gr-contacts :is(.contacts-top-grid,.contacts-bottom-grid) > * {min-width:0;width:100%;max-width:none;}
body.gr-site .gr-editorial .gr-contacts .salon-info-card {display:flex;flex-direction:column;gap:14px;padding:clamp(20px,3.1vw,38px);}
body.gr-site .gr-editorial .gr-contacts .salon-info-card .gr-contact-details {margin-top:12px;}
body.gr-site .gr-contact-details {display:grid;gap:15px;}
body.gr-site .gr-contact-detail {display:grid;gap:3px;}
body.gr-site .gr-contact-label {display:block;color:var(--gold-bright);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;}
body.gr-site .gr-contact-value {font-size:clamp(13px,1.2vw,16px);font-weight:500;color:#fff;line-height:1.5;overflow-wrap:anywhere;}
body.gr-site .gr-contact-detail a:hover {color:var(--gold-bright);}
body.gr-site .gr-contact-social {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;}
body.gr-site .gr-contact-social a {display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border:1px solid #b8965580;color:var(--gold-bright);text-decoration:none;font-size:12px;}
body.gr-site .gr-contact-social a:hover {background:var(--gold);color:var(--green);}
body.gr-site .gr-editorial .gr-contacts .gr-contact-map {min-height:100%;height:100%;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 40%,#244b34,#0c2015 80%);padding:clamp(22px,4vw,40px);}
body.gr-site .gr-editorial .gr-contacts .gr-contact-map > div {max-width:40ch;}
body.gr-site .gr-editorial .gr-contacts .gr-contact-map p:not(.gr-eyebrow) {color:#fff8ea;font-size:clamp(14px,1.5vw,17px);line-height:1.6;}
body.gr-site .gr-editorial .gr-contacts .req-table {width:100%;}
body.gr-site .gr-editorial .gr-contacts .req-table table {table-layout:auto;width:100%;}
body.gr-site .gr-editorial .gr-contacts .req-table td {overflow-wrap:anywhere;}
body.gr-site .gr-editorial .gr-contacts .contact-form-card :is(input,textarea) {max-width:100%;}
@media(max-width:1100px) {
    body.gr-site .gr-header-row {flex-wrap:wrap;gap:10px 16px;}
    body.gr-site .gr-logo {flex:0 1 auto;}
    body.gr-site .gr-search {flex:1 1 260px;}
    body.gr-site .gr-header-contacts {order:3;}
    body.gr-site .gr-header-actions {margin-left:auto;order:4;}
}
@media(max-width:760px) {
    body.gr-site .gr-editorial .gr-contacts :is(.contacts-top-grid,.contacts-bottom-grid) {grid-template-columns:minmax(0,1fr)!important;gap:16px;margin-bottom:16px;}
    body.gr-site .gr-editorial .gr-contacts .gr-contact-map {min-height:280px;}
    body.gr-site .gr-wishlist .wishlist_table {display:block;overflow-x:auto;}
}
@media(max-width:580px) {
    body.gr-site .gr-header-actions {max-width:100%;flex-wrap:wrap;}
    body.gr-site .gr-header-actions .gr-action-label {display:none;}
    body.gr-site .gr-header-actions a {justify-content:center;min-width:40px;min-height:42px;}
    body.gr-site .gr-header-actions a svg {width:23px;height:23px;}
    body.gr-site .gr-purchase-actions {flex-wrap:wrap;}
    body.gr-site .gr-purchase-actions > .gr-favorite {flex-basis:40px;}
    body.gr-site .gr-purchase-actions > :is(button,.button) {flex:1 1 120px;}
    body.gr-site .gr-purchase-notes {flex-direction:column;align-items:flex-start;}
    body.gr-site .gr-editorial .gr-contacts .contact-form-card .form-row-2 {grid-template-columns:minmax(0,1fr);}
    body.gr-site .gr-editorial .gr-contacts .req-table td:first-child {width:100px;}
}
body.gr-site .gr-editorial .gr-contacts .gr-contact-embed {position:relative;min-height:350px;overflow:hidden;border:1px solid var(--gold);background:#eae5d9;}
body.gr-site .gr-editorial .gr-contacts .gr-contact-embed iframe {display:block;width:100%;height:100%;min-height:350px;border:0;}
body.gr-site .gr-contact-embed-label {position:absolute;bottom:14px;left:14px;right:14px;padding:12px 16px;background:var(--green);color:#fff;font-size:12px;line-height:1.5;}
body.gr-site .gr-contact-embed-label a {display:inline-block;color:var(--gold-bright);margin-left:12px;}
@media(max-width:760px){body.gr-site .gr-editorial .gr-contacts .gr-contact-embed,body.gr-site .gr-editorial .gr-contacts .gr-contact-embed iframe{min-height:290px;}}
