/* Scoped final presentation layer. */
body #masthead::before{content:"A little humour. A lot of understanding. · Sensory-friendly clothing."!important}
html[lang^="cy"] body #masthead::before{content:"Pinsied o hiwmor. Llawer o ddealltwriaeth. · Dillad synhwyraidd-gyfeillgar."!important}
#fg-modern-home{--fg-hero-gap:40px}
#fg-modern-home .g-hero{margin-top:var(--fg-hero-gap)!important;margin-bottom:0!important}
#fg-modern-home .g-benefits,#fg-modern-home .g-hero-copy>.g-kicker{display:none!important}
#fg-modern-home .g-paths{margin-top:var(--fg-hero-gap)!important;border-top:1px solid #d7d1c4!important;padding-top:38px!important}
.fg-shop-intro>p,.fg-comfort-eyebrow,.fg-comfort-order-heading{display:none!important}
.woocommerce ul.products li.product .cfvsw-swatches-container{display:none!important}
body.woocommerce div.product form.cart table.variations{width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0 14px!important;margin:0 0 12px!important}
body.woocommerce div.product form.cart table.variations th.label,.fgw-gift-shop div.product form.cart table.variations th.label{width:82px!important;vertical-align:middle!important;padding:0 16px 0 0!important;text-align:left!important;line-height:1.4!important}
body.woocommerce div.product form.cart table.variations td.value,.fgw-gift-shop div.product form.cart table.variations td.value{vertical-align:middle!important;padding:0!important;min-width:0!important}
body.woocommerce div.product form.cart table.variations label,.fgw-gift-shop table.variations label{margin:0!important;display:block!important}
body.woocommerce div.product form.cart table.variations select,.fgw-gift-shop div.product form.cart table.variations select{margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important;height:46px!important;box-sizing:border-box!important}
.woocommerce table.shop_attributes{table-layout:fixed;width:100%!important}
.woocommerce table.shop_attributes th{width:150px!important;padding:14px!important;vertical-align:top}
.woocommerce table.shop_attributes td{padding:14px 18px!important;overflow-wrap:anywhere;vertical-align:top}
.woocommerce table.shop_attributes td p{margin:0!important;padding:0!important}
.fg-editorial-contact .fgc-small-quote{margin-top:28px!important;padding-top:24px!important}
.fgw-gift-shop{max-width:1200px!important;padding:42px 24px!important;margin:auto!important;box-sizing:border-box}
.fgw-gift-shop .fgw-account-heading{margin-bottom:32px!important}
.fgw-gift-shop .woocommerce div.product{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px!important;padding:32px!important;background:#fffdf6!important;border:1px solid #ded8cb!important;border-radius:18px!important;box-sizing:border-box!important}
.fgw-gift-shop .woocommerce div.product::before,.fgw-gift-shop .woocommerce div.product::after{display:none!important}
.fgw-gift-shop .woocommerce div.product .woocommerce-product-gallery,.fgw-gift-shop .woocommerce div.product .summary{float:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;max-width:none!important}
.fgw-gift-shop .woocommerce div.product .woocommerce-product-gallery{align-self:start;background:transparent!important}
.fgw-gift-shop .woocommerce div.product .woocommerce-product-gallery img{width:100%!important;height:auto!important;object-fit:contain!important;background:transparent!important;box-shadow:none!important;filter:none!important}
.fgw-gift-shop .woocommerce-product-gallery__trigger{display:none!important}
.fgw-gift-shop .woocommerce div.product .woocommerce-tabs,.fgw-gift-shop .related.products{grid-column:1/-1!important;width:100%!important;clear:both}
.fgw-gift-shop div.product .product_title{font:600 clamp(25px,3vw,34px)/1.2 Arial,sans-serif!important;overflow-wrap:normal!important;word-break:normal!important;margin:0 0 18px!important}
.fgw-gift-shop div.product p.price{font-size:18px!important;line-height:1.6!important}
.fgw-gift-shop div.product form.cart{margin:24px 0 0!important;width:100%!important}
.fgw-gift-shop table.variations{table-layout:fixed;width:100%!important;border-spacing:0 14px!important}
.fgw-gift-shop table.variations th.label{width:100px!important}
.fgw-custom-gift{margin:0 0 18px;font:14px/1.6 Arial,sans-serif;color:#24231f}
.fgw-custom-toggle{display:flex!important;align-items:center;gap:9px;cursor:pointer;font-weight:600}
.fgw-custom-toggle input{width:18px;height:18px;accent-color:#ad492b}
.fgw-custom-entry{margin:16px 0 0!important}
.fgw-custom-entry label{display:block;font-weight:600;margin-bottom:7px}
.fgw-custom-entry input{width:100%!important;max-width:100%;height:46px;background:#fffdf7;border:1px solid #d6cfc0;border-radius:4px;padding:10px 14px!important;box-sizing:border-box}
.fgw-custom-entry small{display:block;margin-top:7px;color:#625e54;line-height:1.5}
.fgw-custom-entry[hidden],.fgw-gift-shop tr[hidden]{display:none!important}
.fgw-gift-shop .pwgc-field-container{max-width:100%!important;width:100%!important;box-sizing:border-box}
.fgw-gift-shop .pwgc-field-container input,.fgw-gift-shop .pwgc-field-container textarea{width:100%!important;max-width:100%!important;box-sizing:border-box}
.fgw-gift-shop .woocommerce-tabs{margin-top:0!important;padding-top:16px!important}
/* Never stretch a small source image beyond its real detail. */
body.postid-10163 .woocommerce-product-gallery__image img:not(.zoomImg){max-width:333px!important;width:100%!important;margin:auto!important}
body.postid-10163 .woocommerce-product-gallery__image>a{display:flex;align-items:center;justify-content:center;min-height:420px}
@media(max-width:767px){#fg-modern-home{--fg-hero-gap:24px}#fg-modern-home .g-paths{padding-top:26px!important}.fgw-gift-shop{padding:28px 18px!important}.fgw-gift-shop .woocommerce div.product{grid-template-columns:minmax(0,1fr);padding:20px!important;gap:26px!important}.fgw-gift-shop .woocommerce div.product .woocommerce-product-gallery{max-width:520px!important;margin:auto!important}.woocommerce table.shop_attributes th{width:84px!important;padding:12px!important}.woocommerce table.shop_attributes td{padding:12px 14px!important}.fg-editorial-contact .fgc-small-quote{display:block!important;margin-top:24px!important;padding-top:20px!important}body.postid-10163 .woocommerce-product-gallery__image>a{min-height:280px}}

#fg-modern-home #modern-home-content{padding-top:var(--fg-hero-gap)!important}
#fg-modern-home .g-hero{margin-top:0!important}
body.woocommerce div.product form.cart table.variations td.value,.fgw-gift-shop div.product form.cart table.variations td.value{display:table-cell!important}
.fgw-gift-shop .woocommerce div.product form.cart .variations tbody tr{display:table-row!important}

body.woocommerce div.product form.cart table.variations th.label,.fgw-gift-shop div.product form.cart table.variations th.label{vertical-align:top!important}
body.woocommerce div.product form.cart table.variations th.label>label,.fgw-gift-shop div.product form.cart table.variations th.label>label{display:flex!important;align-items:center!important;min-height:46px!important}

/* Christmas launch photo and bilingual order confirmation. */
body.home #fg-modern-home .g-store .g-hero .g-hero-picture,
body.home #fg-modern-home .g-store .g-hero-picture.g-hero-picture {
  background-image: url("https://flamingwenci.com/wp-content/uploads/2026/11/fg-christmas-four-festive-corners.webp") !important;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.fg-order-receipt-note { display: none; }
body.woocommerce-order-received:has(.woocommerce-thankyou-order-received) .fg-order-receipt-note[lang="en-GB"] { display: block; }
html[lang^="cy"] body.woocommerce-order-received:has(.woocommerce-thankyou-order-received) .fg-order-receipt-note[lang="en-GB"] { display: none; }
html[lang^="cy"] body.woocommerce-order-received:has(.woocommerce-thankyou-order-received) .fg-order-receipt-note[lang="cy"] { display: block; }

/* Keep the confirmation with the native order number on classic WooCommerce receipts. */
body.woocommerce-order-received:has(.woocommerce-order-overview__order):not(:has(.fg-order-receipt-note)) .woocommerce-thankyou-order-received::after {
  content: "Your order number is your confirmation code. We’ll email your order details to the address you used at checkout.";
  display: block;
  margin-top: .45em;
  font-weight: normal;
}
html[lang^="cy"] body.woocommerce-order-received:has(.woocommerce-order-overview__order):not(:has(.fg-order-receipt-note)) .woocommerce-thankyou-order-received::after {
  content: "Rhif eich archeb yw eich cod cadarnhau. Byddwn yn anfon manylion eich archeb i’r cyfeiriad e-bost a ddefnyddiwyd wrth dalu.";
}
