/* V380: exact reference Store layout; remove generic WordPress title/tagline and extra banner only on Store page. */
body.ds-store-page { margin-top:0 !important; padding-top:0 !important; }
body.ds-store-page #wpadminbar + * { margin-top:0 !important; }
body.ds-store-page .site-header,
body.ds-store-page .site-branding,
body.ds-store-page .site-description,
body.ds-store-page .page-header,
body.ds-store-page .entry-header,
body.ds-store-page .wp-block-post-title,
body.ds-store-page h1.entry-title,
body.ds-store-page .entry-title,
body.ds-store-page .page-title,
body.ds-store-page .store-page-extra-banner,
body.ds-store-page .ds-store-extra-banner { display:none !important; }
body.ds-store-page main,
body.ds-store-page #primary,
body.ds-store-page .site-main,
body.ds-store-page .content-area,
body.ds-store-page .site-content,
body.ds-store-page .entry-content { margin:0 !important; padding:0 !important; max-width:none !important; width:100% !important; }
body.ds-store-page article,
body.ds-store-page .page,
body.ds-store-page .hentry { margin:0 !important; padding:0 !important; border:0 !important; }
body.ds-store-page .ds-ec-store { max-width:1540px !important; width:100% !important; margin:0 auto !important; padding:14px !important; border-radius:0 !important; box-shadow:none !important; }
/* Keep the compact brand strip that belongs to the Store itself, not the extra banner above it. */
body.ds-store-page .ds-ec-store-brand { display:flex !important; margin:0 0 14px !important; }
body.ds-store-page .ds-ec-store:before { display:none !important; }
body.ds-store-page .ds-ec-store-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:12px !important; margin-top:12px !important; }
body.ds-store-page .ds-ec-store-card { min-width:0 !important; border-radius:12px !important; box-shadow:0 3px 12px rgba(7,27,53,.07) !important; }
body.ds-store-page .ds-ec-store-card>img,
body.ds-store-page .ds-ec-store-card .ds-ec-course-thumb img { width:100% !important; aspect-ratio:16/9 !important; height:auto !important; object-fit:cover !important; display:block !important; }
body.ds-store-page .ds-ec-store-body { padding:10px !important; gap:7px !important; }
body.ds-store-page .ds-ec-store-body h3 { font-size:16px !important; line-height:1.3 !important; margin:0 !important; }
body.ds-store-page .ds-ec-store-price { font-size:17px !important; margin:2px 0 !important; }
body.ds-store-page .ds-ec-store-buy { min-height:36px !important; padding:8px 10px !important; font-size:12px !important; border-radius:8px !important; }
@media(max-width:1050px){body.ds-store-page .ds-ec-store-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media(max-width:760px){body.ds-store-page .ds-ec-store{padding:10px !important}body.ds-store-page .ds-ec-store-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:9px !important}body.ds-store-page .ds-ec-store-brand strong{font-size:18px !important}}
@media(max-width:480px){body.ds-store-page .ds-ec-store-grid{grid-template-columns:1fr !important}body.ds-store-page .ds-ec-store-card{display:flex !important}body.ds-store-page .ds-ec-store-card>img{aspect-ratio:16/9 !important}body.ds-store-page .ds-ec-store-body h3{font-size:16px !important}}
