/* WordPress-specific integration kept separate from the design source. */
.groundgo-wordpress-theme .brand-wrap > a,
.groundgo-wordpress-theme .brand-wrap .custom-logo-link { display: flex; align-items: center; }
.groundgo-wordpress-theme .groundgo-logo { display: block; width: 150px; height: auto; }
.groundgo-wordpress-theme .nav-links > li { margin: 0; padding: 0; }
.groundgo-wordpress-theme .header-cart { border: 0; background: transparent; color: var(--ink); }
.groundgo-wordpress-theme .featured-reviews iframe,
.groundgo-wordpress-theme .video-review-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.groundgo-wordpress-theme.single-product .featured-reviews,
.groundgo-wordpress-theme.single-product .product-video-reviews {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
}
.groundgo-wordpress-theme .woocommerce div.product .featured-reviews,
.groundgo-wordpress-theme .woocommerce div.product .product-video-reviews { clear: both; }
.groundgo-wordpress-theme .woocommerce div.product .featured-reviews .shell,
.groundgo-wordpress-theme .woocommerce div.product .product-video-reviews .shell { width: min(1180px, calc(100% - 40px)); }
.groundgo-wordpress-theme .quote-panel .service-select button .colour-icon { pointer-events: none; }
.groundgo-wordpress-theme .quote-panel .service-select button span { pointer-events: none; }
.groundgo-wordpress-theme .review-library-poster iframe { width: 100%; height: 100%; border: 0; }
.groundgo-wordpress-theme .archive-review-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.groundgo-wordpress-theme.cart-drawer-open { overflow: hidden; }
.groundgo-wordpress-theme .groundgo-cart-drawer[hidden] { display: none; }
.groundgo-wordpress-theme .groundgo-cart-drawer { position: fixed; inset: 0; z-index: 1000; }
.groundgo-wordpress-theme .groundgo-cart-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3, 15, 10, .6); }
.groundgo-wordpress-theme .groundgo-cart-panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(470px, 94vw); height: 100%; overflow-y: auto; padding: 28px; background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.groundgo-wordpress-theme .groundgo-cart-title { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.groundgo-wordpress-theme .groundgo-cart-title small { color: var(--green-2); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.groundgo-wordpress-theme .groundgo-cart-title h2 { margin: 5px 0 0; font-size: 30px; letter-spacing: -.045em; }
.groundgo-wordpress-theme .groundgo-cart-title > button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 25px; }
.groundgo-wordpress-theme .groundgo-cart-panel .widget_shopping_cart_content { flex: 1; }
.groundgo-wordpress-theme .groundgo-cart-panel .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.groundgo-wordpress-theme .groundgo-cart-panel .woocommerce-mini-cart-item { position: relative; min-height: 105px; padding: 22px 0 22px 100px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.groundgo-wordpress-theme .groundgo-cart-panel .woocommerce-mini-cart-item img { position: absolute; top: 18px; left: 0; width: 82px; height: 82px; border-radius: 10px; object-fit: contain; background: #f1f5f1; }
.groundgo-wordpress-theme .groundgo-cart-panel .remove_from_cart_button { position: absolute; top: 18px; right: 0; color: #9a3830; font-size: 18px; }
.groundgo-wordpress-theme .groundgo-cart-panel .quantity { display: block; margin-top: 7px; color: var(--muted); }
.groundgo-wordpress-theme .groundgo-cart-panel .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.groundgo-wordpress-theme .groundgo-cart-panel .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.groundgo-wordpress-theme .groundgo-cart-panel .woocommerce-mini-cart__buttons a { display: grid; place-items: center; min-height: 48px; border-radius: 8px; background: var(--green); color: #fff; font-size: 10px; font-weight: 900; text-align: center; }
.groundgo-wordpress-theme .groundgo-cart-panel .woocommerce-mini-cart__buttons a:first-child { border: 1px solid var(--green); background: #fff; color: var(--green); }
.groundgo-wordpress-theme .commerce-assurance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 20px 0; }
.groundgo-wordpress-theme .commerce-assurance > div { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 10px; min-height: 78px; padding: 12px; border: 1px solid #dce5de; border-radius: 12px; background: #f7faf7; }
.groundgo-wordpress-theme .commerce-assurance img,
.groundgo-wordpress-theme .commerce-assurance .colour-icon { width: 46px; max-height: 40px; object-fit: contain; }
.groundgo-wordpress-theme .commerce-assurance b,
.groundgo-wordpress-theme .commerce-assurance small { display: block; }
.groundgo-wordpress-theme .commerce-assurance b { font-size: 10px; line-height: 1.3; }
.groundgo-wordpress-theme .commerce-assurance small { margin-top: 4px; color: var(--muted); font-size: 7.5px; line-height: 1.35; }
.groundgo-wordpress-theme .commerce-assurance.compact { grid-template-columns: 1fr 1fr; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.groundgo-wordpress-theme .commerce-assurance.compact > div { grid-template-columns: 36px 1fr; min-height: 66px; padding: 9px; }
.groundgo-wordpress-theme .commerce-assurance.compact img,
.groundgo-wordpress-theme .commerce-assurance.compact .colour-icon { width: 36px; max-height: 32px; }
@media (max-width: 760px) {
  .groundgo-wordpress-theme .groundgo-logo { width: 122px; }
  .groundgo-wordpress-theme .quote-panel .service-select { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .groundgo-wordpress-theme .mobile-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .groundgo-wordpress-theme.groundgo-woocommerce-ready .mobile-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .groundgo-wordpress-theme .groundgo-cart-panel { padding: 20px 16px; }
  .groundgo-wordpress-theme .commerce-assurance { grid-template-columns: 1fr; }
  .groundgo-wordpress-theme .commerce-assurance.compact { grid-template-columns: 1fr 1fr; }
}
