/* A single stored variation still uses Woo's real variation ID and validation.
   Its redundant attribute row is hidden; real choices stay visible. */
body.s3-studio .s3web-single-configuration table.variations{display:none}
/* Native Woo styles must not recolour a variable price differently from Lion. */
body.s3-studio #main .s3-pd-price,body.s3-studio #main .s3-pd-price .amount{color:var(--s3-ink)}
/* Bridge buttons own the visible choices after their JS has mounted. Preserve
   native selects/variation_id for Woo validation and no-JS fallback. */
body.s3-studio #main form.s3d-catalog-ready table.variations{display:none!important}
body.s3-studio #main form.s3d-catalog-ready.s3-only-fixed-attributes .s3d-variant-picker{display:none!important}
body.s3-studio #main .s3d-variant-picker fieldset{border:0;padding:0;margin:0 0 18px;min-width:0}
body.s3-studio #main .s3d-variant-picker legend{padding:0;font-size:15px;font-weight:600;margin-bottom:8px}
body.s3-studio #main .s3d-variant-picker button{max-width:100%;white-space:normal}
body.s3-studio #main .s3-variation-readiness{font-size:14px;line-height:1.5;margin:8px 0 0;color:var(--s3-muted,#655f54)}
body.s3-studio #main .s3-variation-readiness[hidden]{display:none}

/* Shared decorative vector arrows retain their actual direction. */
body.s3-studio .s3-arrow-icon{display:inline-block;flex:0 0 18px;width:18px;height:18px;overflow:visible;vertical-align:-.2em;pointer-events:none}

/* Preserve the complete detail photo, including wide legacy photographs. */
body.s3-studio.s3-product-preview #main .s3-pd-story img{object-fit:contain;background:#fffdf8}

/* Keep the complete recommendation card clickable through separate detail and cart links. */
body.s3-studio.s3-product-preview #main .s3-pd-more-grid article.s3-buy-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;padding:18px;background:#fffdf8;border:1px solid #d6cebd;border-radius:14px}
body.s3-studio.s3-product-preview #main .s3-pd-more-grid article.s3-buy-card>a.s3-recommendation-image{display:block;padding:0;margin:0;border:0;border-radius:8px;background:transparent;text-decoration:none}
body.s3-studio.s3-product-preview #main .s3-buy-card>div{min-width:0}
body.s3-studio.s3-product-preview #main .s3-buy-card h3>a{text-decoration:none}
body.s3-studio.s3-product-preview #main .s3-buy-card .s3-recommendation-action{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;margin:0;border:0;border-radius:7px;background:#d4a06c;color:#272016;font-size:14px;line-height:1.4;font-weight:600;text-decoration:none}
body.s3-studio.s3-product-preview #main .s3-buy-card .s3-recommendation-action:hover{background:#e1b387}
@media(max-width:760px){body.s3-studio.s3-product-preview #main .s3-pd-more-grid article.s3-buy-card{grid-template-columns:80px minmax(0,1fr);gap:14px;padding:14px}body.s3-studio.s3-product-preview #main .s3-buy-card .s3-recommendation-action{font-size:12px;padding:10px}}

/* Keep every admin shortcut on one row at the narrowest phone width. */
@media(max-width:359px){body.s3-studio #wpadminbar .ab-top-menu>li:not(#wp-admin-bar-wpseo-menu)>.ab-item{width:44px;min-width:44px;padding-inline:0;box-sizing:border-box}}

/* Keep section headings clear of the mobile header and WordPress toolbar. */
@media (max-width: 782px) {
  body.admin-bar.s3-shop-product-page :is(#s3-shop-description, #s3-shop-specifications, #s3-shop-care, #s3-shop-origin, #s3-shop-reviews) {
    scroll-margin-top: 41px;
  }
}


/* Keep the complete product unobscured; the existing photo caption identifies the real print. */
body.s3-product-preview .s3-pd-photo-tag{display:none}
