/*
Theme Name:   Glimr Child
Theme URI:    https://glimr.co.uk/
Description:  Child theme of Twenty Twenty-Five for Glimr. Add custom CSS, templates and functions here without losing changes when the parent theme updates.
Author:       Glimr
Template:     twentytwentyfive
Version: 1.0.97322
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  glimr-child
*/

/* ------------------------------------------------------------------ */
/*  Your custom CSS goes below this line.                              */
/*  Twenty Twenty-Five is a block theme, so this file loads on the     */
/*  front end automatically and overrides the parent styles.           */
/* ------------------------------------------------------------------ */

/* Example: let a full-width page sit edge-to-edge.
.is-root-container > .wp-block-html { margin: 0; }
*/


/* ===== Glimr homepage layout (persisted) ===== */
.home .wp-site-blocks main,
.home main > .wp-block-group,
.home .entry-content { max-width:none!important; padding-left:0!important; padding-right:0!important; margin-left:0!important; margin-right:0!important; }
.home .entry-content > * { max-width:none!important; margin-left:0!important; margin-right:0!important; margin-top:0!important; }
.home .wp-block-post-title { display:none!important; }
.home .wp-site-blocks main { padding-top:0!important; margin-top:0!important; }
.home .entry-content { padding-top:0!important; }
.home .entry-content > meta, .home .entry-content > title, .home .entry-content > link { display:none!important; }

/* ===== Glimr product page (WooCommerce single product) ===== */
body.single-product { background:#fff7f0; font-family:'Nunito',sans-serif; }
.single-product .product_title, .single-product .wp-block-woocommerce-product-title, .single-product h1.entry-title { font-family:'Fredoka',sans-serif; font-weight:700; color:#3a2336; }
.single-product .price, .single-product .woocommerce-Price-amount { color:#ff5e9c !important; font-family:'Fredoka',sans-serif; font-weight:700; }
.single-product .single_add_to_cart_button, .single-product button.single_add_to_cart_button { background:linear-gradient(110deg,#ff5e9c,#ff8a3d) !important; color:#fff !important; border:none !important; border-radius:999px !important; font-family:'Fredoka',sans-serif; font-weight:600 !important; padding:14px 30px !important; box-shadow:0 14px 30px -10px rgba(255,94,156,.6); transition:transform .18s ease; }
.single-product .single_add_to_cart_button:hover { transform:translateY(-2px); }
.single-product form.variations_form select { border:1.5px solid #ffd5e6; border-radius:12px; padding:10px 14px; font-family:'Nunito',sans-serif; font-weight:700; color:#3a2336; background:#fff; }
.single-product table.variations th.label label { font-family:'Fredoka',sans-serif; color:#3a2336; }

/* product rich description */
.gpd { max-width:1000px; margin:30px auto 0; }
.gpd .gpd-h { font-family:'Fredoka',sans-serif; font-weight:600; color:#3a2336; font-size:1.7rem; margin:34px 0 14px; }
.gpd p { color:#5c4a57; font-weight:600; }
.gpd-steps { background:#fff; border-radius:20px; padding:8px 28px 24px; box-shadow:0 14px 34px -20px rgba(58,35,54,.3); margin:18px 0; }
.gpd-step { display:flex; gap:16px; align-items:flex-start; padding:14px 0; border-top:1px dashed rgba(58,35,54,.1); }
.gpd-step:first-of-type { border-top:none; }
.gpd-step .gpd-n { flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:linear-gradient(110deg,#ff5e9c,#ff8a3d); color:#fff; font-family:'Fredoka',sans-serif; font-weight:700; display:grid; place-items:center; }
.gpd-step strong { font-family:'Fredoka',sans-serif; color:#3a2336; }
.gpd-step p { margin:4px 0 0; }
.gpd-prices { list-style:none; margin:14px 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; }
.gpd-prices li { display:flex; justify-content:space-between; align-items:center; background:#fff; border-radius:14px; padding:14px 18px; box-shadow:0 14px 34px -22px rgba(58,35,54,.3); font-weight:700; color:#3a2336; }
.gpd-prices li b { color:#ff5e9c; font-family:'Fredoka',sans-serif; }
.gpd-faq p { background:#fff; border-radius:12px; padding:14px 18px; margin:10px 0; box-shadow:0 14px 34px -24px rgba(58,35,54,.3); }
.gpd-faq strong { color:#3a2336; }
.gpd-disc { font-size:.82rem; color:#8a7282; margin-top:20px; }


/* ===== Glimr custom product pages (full-bleed, no theme title) ===== */
body.page-id-47 .wp-block-post-title, body.page-id-46 .wp-block-post-title { display:none !important; }
body.page-id-47 .wp-site-blocks main, body.page-id-46 .wp-site-blocks main { padding-top:0 !important; margin-top:0 !important; }
body.page-id-47 .entry-content, body.page-id-46 .entry-content { margin-top:0 !important; padding-top:0 !important; max-width:none !important; }
body.page-id-47 .entry-content > * { max-width:none !important; margin-left:0 !important; margin-right:0 !important; }
