/*
Theme Name: TG Drone Parts
Theme URI: https://tgdroneparts.com
Description: Standalone B2B WooCommerce theme for TG Drone Parts.
Version: 1.0.5
Text Domain: tg-drone-parts
*/
:root{--brand-navy:#01214c;--brand-orange:#fd5607;--brand-slate:#68717e;--brand-white:#fff;--brand-bg-light:#f6f8fa;--brand-border:#dde2e7}*{box-sizing:border-box}body{margin:0;background:var(--brand-bg-light);color:#10213b;font:16px/1.6 system-ui,sans-serif}a{color:inherit;text-decoration:none}.wrap{width:min(1280px,calc(100% - 3rem));margin:auto}h1,h2,h3{color:var(--brand-navy);line-height:1.15}.eyebrow{color:var(--brand-orange);font-size:.75rem;font-weight:800;letter-spacing:.08em}
.site-header{background:#fff;border-bottom:1px solid var(--brand-border)}.nav{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:90px;gap:1rem}.brand{flex:0 0 auto;min-width:0}.brand img{display:block;width:160px;height:auto;max-width:100%;object-fit:contain}.menu{display:flex;align-items:center;gap:1rem;margin:0;padding:0;list-style:none}.site-header .menu-toggle{display:none;border:1px solid var(--brand-navy);border-radius:4px;background:var(--brand-navy);color:#fff;font:inherit;font-weight:800}.menu a{display:inline-flex;align-items:center}.menu a[href*="/request-a-quote/"]{min-height:42px;padding:.55rem .9rem;border-radius:4px;background:var(--brand-orange);color:#fff;font-weight:800}.menu a:focus-visible,.site-header .menu-toggle:focus-visible{outline:3px solid var(--brand-orange);outline-offset:3px}
.button{display:inline-flex;padding:.7rem 1rem;border:1px solid var(--brand-orange);border-radius:4px;background:var(--brand-orange);color:#fff;font-weight:800}.button.secondary{border-color:var(--brand-navy);background:#fff;color:var(--brand-navy)}.hero,.section{padding:3.5rem 0}.hero{background:linear-gradient(120deg,#f3f7fb,#fff)}.grid,.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.card{padding:1rem;overflow:hidden;border:1px solid var(--brand-border);border-radius:8px;background:#fff}.card img{width:100%;aspect-ratio:1.35;object-fit:contain}
.tgdp-home-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:center;gap:clamp(2rem,5vw,5rem)}.tgdp-home-hero__copy,.tgdp-home-hero__visual{min-width:0}.tgdp-home-hero__copy{max-width:680px}.tgdp-home-hero__visual{position:relative;display:grid;min-height:370px;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:.75rem;overflow:hidden;padding:1.25rem;border:1px solid var(--brand-border);border-radius:12px;background:linear-gradient(135deg,#fff 0%,#edf3fa 100%);box-shadow:inset 0 0 0 7px rgba(1,33,76,.035)}.tgdp-home-hero__visual:before{position:absolute;top:0;right:0;width:36%;height:7px;border-radius:0 12px 0 8px;background:var(--brand-orange);content:""}.tgdp-home-hero__product{display:grid;min-width:0;min-height:145px;place-items:center;overflow:hidden;border:1px solid #e2e9f1;border-radius:8px;background:#fff}.tgdp-home-hero__product:nth-child(3){grid-column:1/-1;min-height:120px}.tgdp-home-hero__image{display:block;width:100%;height:160px;max-width:100%;max-height:100%;padding:.75rem;object-fit:contain}
.tgdp-category-card-grid,.tgdp-category-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:1.25rem}.tgdp-category-card{display:flex;min-width:0}.tgdp-category-card__link{display:flex;width:100%;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--brand-border);border-radius:9px;background:#fff;transition:border-color .2s ease,transform .2s ease}.tgdp-category-card__link:hover{border-color:#b8c6d7;transform:translateY(-2px)}.tgdp-category-card__link:focus-visible{outline:3px solid var(--brand-orange);outline-offset:3px}.tgdp-category-card__media{display:grid;height:240px;min-width:0;flex:0 0 240px;place-items:center;overflow:hidden;padding:1rem;border-bottom:1px solid var(--brand-border);background:#f4f7fb}.tgdp-category-card__image{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.tgdp-category-card__body{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;padding:1.35rem}.tgdp-category-card__name{display:block;margin:0 0 .65rem;color:var(--brand-navy);font-size:1.12rem;font-weight:800}.tgdp-category-card__description{display:block;color:var(--brand-slate);overflow-wrap:anywhere}.tgdp-category-card__cta{display:block;margin-top:auto;padding-top:1.15rem;color:var(--brand-orange);font-weight:800}
.tgdp-product-gallery{min-width:0}.tgdp-product-gallery__main-image{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}.tgdp-product-gallery__thumbs{display:flex;max-width:100%;gap:.5rem;margin-top:.75rem;overflow-x:auto}.tgdp-product-gallery__thumb{flex:0 0 76px;padding:0;border:1px solid var(--brand-border);background:#fff;cursor:pointer}.tgdp-product-gallery__thumb.is-active,.tgdp-product-gallery__thumb:focus-visible{border-color:var(--brand-orange);outline:2px solid var(--brand-orange);outline-offset:2px}.tgdp-product-gallery__thumb-image{display:block;width:100%;height:76px;object-fit:contain}
.site-footer{padding:3rem 0;background:var(--brand-navy);color:#fff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}.mobile-actions{display:none}.back-top{position:fixed;right:28px;bottom:28px;width:48px;height:48px;border:0;border-radius:50%;background:var(--brand-navy);color:#fff}
@media(max-width:1100px){.site-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.55rem .8rem}.menu{display:none}.nav.menu-open .menu{position:absolute;top:90px;left:0;right:0;z-index:30;display:flex;flex-direction:column;align-items:stretch;padding:1rem;border-bottom:1px solid var(--brand-border);background:#fff}.nav.menu-open .menu a{display:block;padding:.65rem .8rem}.nav.menu-open .menu a[href*="/request-a-quote/"]{display:flex;justify-content:center;margin-top:.25rem}}
@media(max-width:900px){.tgdp-home-hero{grid-template-columns:minmax(0,1fr);gap:2rem}.tgdp-home-hero__copy{max-width:780px}.tgdp-category-card-grid,.tgdp-category-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.tgdp-category-card__media{height:210px;flex-basis:210px}}
@media(max-width:760px){body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.wrap{width:min(100% - 2rem,1280px)}.grid,.product-grid,.footer-grid,.tgdp-category-card-grid,.tgdp-category-navigation{grid-template-columns:minmax(0,1fr)}.home .tgdp-home-hero h1{font-size:1.75rem;line-height:1.18}.tgdp-home-hero__visual{min-height:0}.tgdp-home-hero__image{height:125px}.tgdp-category-card__media{height:190px;flex-basis:190px}.mobile-actions{position:fixed;right:0;bottom:0;left:0;z-index:20;display:flex;padding-bottom:env(safe-area-inset-bottom)}.mobile-actions a{width:50%;padding:1rem;background:var(--brand-navy);color:#fff;text-align:center}.mobile-actions--single a{width:100%}.mobile-actions a:last-child{background:var(--brand-orange)}.mobile-actions--single a:last-child{background:var(--brand-navy)}.back-top{right:16px;bottom:calc(72px + env(safe-area-inset-bottom));width:42px;height:42px}.brand img{width:120px;height:auto}}@media(max-width:390px){.tgdp-home-hero__visual{grid-template-columns:minmax(0,1fr)}.tgdp-home-hero__product:nth-child(3){grid-column:auto}}
