:root{
  --navy:#0d2f8f; --navy-d:#0a256f; --blue:#1557e6; --ink:#1a2a5c; --muted:#5b6b96;
  --line:#dfe6f3; --panel:#eef2fa; --bg:#ffffff; --card:#ffffff; --tab:#eaeff8;
  --sky1:#7fc0ea; --sky2:#3f8fd0;
  --font:"Rubik",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --navy:#8fb0ff; --navy-d:#0a256f; --blue:#3b74ee; --ink:#e6ecfb; --muted:#9db0dd;
    --line:#2a3a6b; --panel:#141d3d; --bg:#0c1330; --card:#111a38; --tab:#17224a;
  }
}
:root[data-theme="dark"]{
  --navy:#8fb0ff; --navy-d:#0a256f; --blue:#3b74ee; --ink:#e6ecfb; --muted:#9db0dd;
  --line:#2a3a6b; --panel:#141d3d; --bg:#0c1330; --card:#111a38; --tab:#17224a;
}
*,*::before,*::after{box-sizing:border-box}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;font-family:var(--font);background:var(--bg);color:var(--ink);line-height:1.5;-webkit-text-size-adjust:100%}
img,svg{max-width:100%}
.img-responsive{ display: block; max-width: 100%; height: auto; border:0; }
.center img{ margin: 0px auto;}

a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.wrapper{width:100%;max-width:1240px;margin:0 auto;padding:0 20px}

h1,h2,h3,h4{/*margin:0 0 15px 0px;color:var(--navy);line-height:1.15;font-weight:600;*/}

.btn{display:flex;align-items:center;justify-content:center;gap:10px;font:500 15px var(--font);padding:13px 22px;border-radius:4px;border:2px solid transparent;cursor:pointer;transition:background .15s,color .15s}
.btn svg{width:18px;height:18px;flex:none}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:#0f46c0}
.btn-outline{background:transparent;color:var(--blue);border-color:var(--blue)}
.btn-outline:hover{background:var(--blue);color:#fff}
.btn-light{color:#fff;border-color:#c9d6f5;background:transparent}
.btn-light:hover{background:rgba(255,255,255,.15)}
.light-blue{ color: #0C64E6; }

/* Hero */
.hero{position:relative;min-height:400px;display:flex;align-items:stretch;overflow:hidden;  background-color: #0a256f;
  background-image:url(images/product-hero.jpg); background-repeat: no-repeat; background-size: cover; background-position: 50% 50%;}
.herocaption-overlay{
position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 30%, rgba(238, 242, 250, 0) 60%) repeat;
    padding: 0px;
    margin: 0;
}

.hero-caption{position:relative;z-index:1; width:100%; min-width:51%;color:#000;/*padding:60px 25px 25px 50px*/ padding: 48px 0 48px max(24px, calc((100vw - 1240px) / 2));}
.hero-caption h1{color:#0A256F;font-size:clamp(2rem,4.5vw,3rem);font-weight:600}
.hero-caption p{margin:6px 0 22px; font-weight:400}
.hero-caption .btn{width:max-content;max-width:100%}
.hero-caption .btn+.btn{margin-top:14px}


.trust-strip {
    background: #EEF2FA;
    border-bottom: 1px solid #edf0f2
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding-block:23px}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    border-right: 1px solid #d3d9de
}

.trust-item:first-child {
    padding-left: 4px
}

.trust-item:last-child {
    border: 0
}

.trust-item>svg, .trust-item>img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    stroke-width: 1.8
}

.trust-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.35
}

.trust-item strong {
    font: 800 19px Manrope,sans-serif
}

.trust-item span {
    font-size: 90%;
    font-weight: 700
}

.trust-item small {
    font-size: 90%;
    color: var(--muted);
    margin-top: 3px
}

.disclaimers{
    display: block; padding: 15px; font-size: 90%; font-style: italic;
}
.product-box{
  position: relative;  display: block; border: 1px solid #E0E0E0; padding: 15px;
}
.wrap{clear:both;margin:0 auto;padding:0;width:80%; }
.box-15{float:left;width:15%;display:block;position: relative;}
.box-20{float:left;width:20%;display:block;position: relative;}
.box-25{float:left;width:25%;display:block;position: relative;}
.box-30{float:left;width:30%;display:block;position: relative;}
.box-33{float:left;width:33.33%;display:block;position: relative;}
.box-35{float:left;width:35%;display:block;position: relative;}
.box-40{float:left;width:40%;display:block;position: relative;}
.box-45{float:left;width:45%;display:block;position: relative;}
.box-50{float:left;width:50%;display:block;position: relative;}
.box-55{float:left;width:55%;display:block;position: relative;}
.box-60{float:left;width:60%;display:block;position: relative;}
.box-65{float:left;width:65%;display:block;position: relative;}
.box-66{float:left;width:66.6%;display:block;position: relative;}
.box-70{float:left;width:70%;display:block;position: relative;}
.box-75{float:left;width:75%;display:block;position: relative;}
.box-80{float:left;width:80%;display:block;position: relative;}
.box-100{clear:both;width:100%;display:block;position: relative;}
.box-paddingS{padding:0 15px}
.box-paddingL{padding-left:15px}
.box-paddingR{padding-right:15px}
.box-padding{padding:15px}
.box-pad-s{padding:10px}
.wrap-left{padding: 8% 8% 5% 15%;}
.wrap-right{padding: 8% 15% 5% 8%;}
.row{margin:0 -15px}
.center{ text-align:center;}
.clear{position: relative;display:block;clear:both}
.clearH{ position: relative; display:block;clear:both;height:20px}
.clearHH{position: relative;display:block;clear:both;height:50px}
.grid-column2{  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-column3{  display: grid; grid-template-columns: repeat(3, 1fr); gap:  20px; }
.grid-column4{  display: grid; grid-template-columns: repeat(4, 1fr); gap:  20px; }
.grid-column5{  display: grid; grid-template-columns: repeat(5, 1fr); gap:  20px; }
.grid-column6{  display: grid; grid-template-columns: repeat(6, 1fr); gap:  20px; }
.column-inner { display: grid; gap:  20px; }
.columnInner { display: block; padding: 10px 0px; }

.product-card{ position: relative; display:block;border-radius:4px;overflow:hidden;margin-bottom: 15px;box-shadow:0 2px 8px rgba(13,47,143,.15)}
.product-img{position:relative; display: block; }

  .pricing-wrap {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 7px;
    font-size: 14px;
    text-align: center;
  }

  th, td {
    padding: 14px 10px;
    border-right: 1px solid #dce5f0;
    border-bottom: 1px solid #dce5f0;
    white-space: nowrap;
  }

  th:last-child, td:last-child { border-right: 0; }
  tbody tr:last-child td { border-bottom: 0; }

  th {
    background: #eef3f9;
    color: #102f65;
    font-weight: 700;
  }

  td {
    background: #fff;
    color: #345b94;
    font-weight: 400;
  }

  td:first-child {
    color: #12366f;
    font-weight: 700;
  }

  .note {
    margin: 9px 2px 0;
    color: #8294ae;
    font-size: 11px;
  }

  @media (max-width: 360px) {
    th, td { padding: 11px 5px; font-size: 12px; }
  }

.footer-banner{  position: relative; background: #F2F5F9; padding: 20px 50px; text-align: center;}

/* Main layout */
.mainContent{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:26px; margin:0; padding:20px 0px;align-items:start}
.leftContent{ position: relative; padding-top: 20px;}
.rightContent{ position: relative; padding-top: 20px;}
.section-title{font-size:2rem;font-weight:600;margin-bottom:2px}
.sub{color:var(--muted);margin:0 0 18px}
.install-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.install-card{background:var(--card);border:1px solid var(--line);border-radius:4px;padding:24px 20px 26px;display:flex;flex-direction:column}
.install-card img{width:100%;height:auto;display:block;}
.cardimage{display:block;margin-bottom:26px}
.install-card h3{font-size:1.65rem;font-weight:600}
.install-card .type{font-size:1.25rem;color:var(--navy);margin:2px 0 14px}
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ticks li{position:relative;padding-left:36px;color:var(--muted);font-size:1rem}
.ticks li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;background:var(--blue);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat}

/* Order panel */
.order{background:var(--panel);border-radius:6px;padding:26px 22px 20px}
.order h2{font-size:1.5rem;font-weight:600}
.order .sub{margin-bottom:22px;font-size:.95rem}
.field{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:8px;margin-bottom:12px}
.field label{font-size:.9rem;font-weight:500;color:var(--navy)}
.field select,.field input{width:100%;font:400 .9rem var(--font);color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:4px;padding:10px 12px;min-height:40px}
.order .btn{width:100%;margin-top:14px}
.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px;text-align:center;font-weight:500;font-size:.95rem;color:var(--navy)}
.badges svg{width:48px;height:48px;display:block;margin:0 auto 6px}
.badges small{display:block;font-weight:400;color:var(--muted);font-size:.72rem}

/* Tabs */
.tabs{display:flex;background:var(--tab);margin-top:28px;border-radius:4px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a{flex:1 0 auto;text-align:center;padding:20px 26px;font-size:1rem;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap}
.tabs a[aria-current="true"]{color:var(--blue);border-color:var(--blue);font-weight:500}
.tabs a:hover{color:var(--blue)}

/* Description */
.desc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;margin-top:26px;align-items:start}
.desc h2{font-size:1.9rem;font-weight:600;margin-bottom:14px}
.desc p{color:var(--muted);margin:0 0 20px;max-width:60ch}
.checks{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.checks li{display:flex;gap:12px;align-items:center;color:var(--muted)}
.checks li::before{content:"\2713";flex:none;width:24px;height:24px;border-radius:50%;background:var(--blue);color:#fff;font-size:14px;display:grid;place-items:center}
.sheet{border:1px solid var(--line);background:#fff;color:#1a2a5c}
.sheet-h{background:var(--navy-d);color:#fff;font-weight:600;padding:8px 12px;letter-spacing:.02em}
.sheet-b{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line)}
.sheet-b>div{background:#fff;padding:12px;min-height:110px}
.sheet-b .wide{grid-column:1/-1}
.sheet i{display:block;height:6px;border-radius:3px;background:#d3dcf0;margin:8px 0}
.sheet i:nth-child(3n){width:70%}
.sheet svg{width:100%;height:auto}
.sheet-f{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;font-weight:700;font-size:1.5rem;color:var(--navy-d);border-top:1px solid var(--line);letter-spacing:.12em}
.sheet-f small{font-size:.7rem;letter-spacing:0;font-weight:400}
.datasheet{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;color:var(--blue)}
.datasheet svg{width:20px;height:20px}

/* In use */
.use{margin-top:44px}
.use h2{font-size:2rem;font-weight:600}
.use-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:6px}
.use-card{display:block;border-radius:4px;overflow:hidden;box-shadow:0 2px 8px rgba(13,47,143,.15)}
.use-img{position:relative}

.use-label{display:flex;justify-content:space-between;align-items:center;background:var(--navy);color:#fff;padding:14px 20px;font-weight:500;font-size:1.05rem}
:root:not([data-theme="light"]) .use-label{color:#fff}
.use-label{background:#0d3aa6}

/* CTA bar */
.footer-cta{margin-top:44px;background:var(--navy-d);color:#fff;padding:26px 0}
.footer-cta .wrap{display:flex;align-items:center;justify-content:center;gap:34px;flex-wrap:wrap; padding: 0px 20px;}
.cta-call{display:flex;align-items:center;gap:22px}
.cta-icon{width:76px;height:76px;border:2px solid #b9c8ee;border-radius:50%;display:grid;place-items:center;flex:none}
.cta-icon svg{width:34px;height:34px}
.cta-call p{margin:0;font-size:1.15rem}
.cta-call strong{display:block;font-size:2.2rem;font-weight:600;line-height:1.2}
.footer-cta .btn{min-width:350px;padding:20px 26px;font-size:1.1rem}
.footer-cta .divider{width:1px;align-self:stretch;background:rgba(255,255,255,.3)}

/* Responsive */
@media (max-width:1040px){
  .mainContent{grid-template-columns:1fr}
  .order{max-width:560px}
}
@media (max-width:800px){
  .hero{flex-direction:column;min-height:0}
  .hero-caption{width:100%;padding:28px 20px; background: rgba(13, 47, 143, 0.5);}
  .hero-people{position:relative;right:auto;justify-content:center;padding-top:60px}
  .install-grid,.use-grid,.desc{grid-template-columns:1fr}
  .footer-cta .divider{display:none}
  .footer-cta .btn{min-width:0;width:100%}
  .footer-cta .wrap{flex-direction:column;align-items:stretch;gap:20px}
  .section-title,.use h2{font-size:1.65rem}
}
@media (max-width:480px){
  .wrapper{padding:0 20px}
  .wrap{padding:0px}
  .field{grid-template-columns:1fr;gap:4px}
  .tabs a{padding:16px 18px}
  .cta-call strong{font-size:1.5rem}
  .cta-icon{width:60px;height:60px}
  .badges{font-size:.85rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
/* ================================================================
   TREE SEAT PRODUCT PAGE — WooCommerce gallery and order panel fixes
   Scoped to this template so the Plain Park Bench page is unaffected.
   ================================================================ */
.bab-tree-seat-template {
    --ts-gallery-gap: 16px;
    --ts-border: #dce4f0;
    --ts-panel: #eef2fa;
}

.bab-tree-seat-template .bab-tree-seat-main.wrapper {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 24px 40px;
}

.bab-tree-seat-template .mainContent.bab-tree-seat-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.95fr);
    gap: 32px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
}

.bab-tree-seat-template .bab-tree-seat-gallery,
.bab-tree-seat-template .bab-tree-seat-order {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
}

/* Main WooCommerce image */
.bab-tree-seat-template .bab-tree-seat-gallery .woocommerce-product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    opacity: 1 !important;
}

.bab-tree-seat-template .bab-tree-seat-gallery .woocommerce-product-gallery__wrapper {
    order: 1;
    width: 100%;
    margin: 0 0 var(--ts-gallery-gap) !important;
    /* Leave transform under WooCommerce FlexSlider control so thumbnails can switch the main image. */
}

.bab-tree-seat-template .bab-tree-seat-gallery .woocommerce-product-gallery__image,
.bab-tree-seat-template .bab-tree-seat-gallery .woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
    margin: 0;
}

.bab-tree-seat-template .bab-tree-seat-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: 560px;
    object-fit: contain;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ts-border);
    border-radius: 8px;
}

/* Four thumbnails in one row, below the main image */
.bab-tree-seat-template .bab-tree-seat-gallery .flex-control-nav.flex-control-thumbs {
    order: 2;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    position: static !important;
    float: none !important;
}

.bab-tree-seat-template .bab-tree-seat-gallery .flex-control-thumbs li {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bab-tree-seat-template .bab-tree-seat-gallery .flex-control-thumbs img {
    display: block;
    width: 100% !important;
    height: 118px !important;
    object-fit: contain;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--ts-border);
    border-radius: 8px;
    opacity: 1 !important;
    cursor: pointer;
}

.bab-tree-seat-template .bab-tree-seat-gallery .flex-control-thumbs img.flex-active {
    border: 2px solid var(--blue);
}

/* WooCommerce zoom icon */
.bab-tree-seat-template .bab-tree-seat-gallery .woocommerce-product-gallery__trigger {
    z-index: 5;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef2fa;
}

/* Right-hand configurator */
.bab-tree-seat-template .bab-tree-seat-order.order {
    padding: 24px 20px 20px;
    background: var(--ts-panel);
    border-radius: 8px;
    box-shadow: none;
}

.bab-tree-seat-template .bab-tree-seat-order h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.25;
}

.bab-tree-seat-template .bab-tree-seat-price {
    margin: 0 0 18px;
    color: var(--ink);
}

.bab-tree-seat-template .bab-tree-seat-price .price {
    display: block;
    margin: 0 0 8px;
    color: var(--navy);
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
}

.bab-tree-seat-template .bab-tree-seat-price small {
    display: block;
    color: var(--ink);
    font-size: 0.82rem;
}

/* WooCommerce variation table */
.bab-tree-seat-template .bab-tree-seat-order form.cart {
    display: block;
    width: 100%;
    margin: 0;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations {
    display: table !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 16px !important;
    border: 1px solid var(--ts-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 7px;
    overflow: hidden;
    table-layout: fixed;
    background: #fff;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations tbody,
.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations tr {
    display: table-row-group;
    width: 100%;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations tr {
    display: table-row;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations th.label,
.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations td.value {
    display: table-cell !important;
    padding: 11px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ts-border) !important;
    vertical-align: middle;
    text-align: left;
    background: transparent;
    white-space: normal;
    overflow-wrap: anywhere;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations tr:last-child th.label,
.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations tr:last-child td.value {
    border-bottom: 0 !important;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations th.label {
    width: 43% !important;
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 700;
    border-right: 1px solid var(--ts-border) !important;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations td.value {
    width: 57% !important;
}

.bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations td.value select {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 30px 9px 11px;
    border: 1px solid #d6deeb;
    border-radius: 5px;
    background-color: #fff;
    color: #27334e;
    font: 400 0.9rem var(--font);
    box-shadow: none;
}

.bab-tree-seat-template .bab-tree-seat-order .reset_variations {
    display: inline-block;
    margin: 6px 0 0 2px;
    font-size: 0.78rem;
    color: var(--blue);
}

.bab-tree-seat-template .bab-tree-seat-order .single_variation_wrap {
    width: 100%;
}

.bab-tree-seat-template .bab-tree-seat-order .woocommerce-variation-price {
    margin: 0 0 10px;
}

.bab-tree-seat-template .bab-tree-seat-order .woocommerce-variation-price .price {
    color: var(--navy);
    font-weight: 700;
}

.bab-tree-seat-template .bab-tree-seat-order .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.bab-tree-seat-template .bab-tree-seat-order .quantity {
    display: block;
    width: 100%;
    margin: 0 !important;
}

.bab-tree-seat-template .bab-tree-seat-order .quantity .qty {
    width: 100% !important;
    min-height: 46px;
    padding: 8px;
    border: 1px solid var(--ts-border);
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    text-align: center;
}

.bab-tree-seat-template .bab-tree-seat-order .single_add_to_cart_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0;
    min-height: 46px;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: var(--blue) !important;
    color: #fff !important;
    font: 600 1rem var(--font) !important;
    line-height: 1.3;
    white-space: normal;
}

.bab-tree-seat-template .bab-tree-seat-order .single_add_to_cart_button:hover {
    background: #0f46c0 !important;
}

.bab-tree-seat-template .bab-tree-seat-order .woocommerce-variation-availability {
    margin: 0 0 10px;
    font-size: 0.85rem;
}

.bab-tree-seat-template .bab-tree-seat-order .woocommerce-info {
    margin: 12px 0;
}

.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid var(--blue);
    border-radius: 5px;
    color: var(--blue);
    font-size: 0.88rem;
    text-align: center;
}

.bab-tree-seat-template .bab-tree-seat-order .badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #d4ddec;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.35;
}

.bab-tree-seat-template .bab-tree-seat-order .badges > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bab-tree-seat-template .bab-tree-seat-order .badges img,
.bab-tree-seat-template .bab-tree-seat-order .badges svg {
    display: block;
    width: auto;
    max-width: 48px;
    height: 42px;
    object-fit: contain;
    margin: 0 auto 8px;
}

/* Keep the lower content sections aligned to the same content width. */
.bab-tree-seat-template .choose-color,
.bab-tree-seat-template .pricing-options,
.bab-tree-seat-template .footer-banner {
    width: 100%;
}

.bab-tree-seat-template .choose-color > .wrapper,
.bab-tree-seat-template .pricing-options > .wrapper,
.bab-tree-seat-template .footer-banner > .wrap {
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.bab-tree-seat-template .pricing-options .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin: 0;
}

.bab-tree-seat-template .pricing-options .row > .box-50 {
    float: none;
    width: auto;
    min-width: 0;
}

.bab-tree-seat-template .pricing-options .box-padding {
    padding: 0;
}

.bab-tree-seat-template .pricing-options .grid-column2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bab-tree-seat-template .pricing-options .pricing-wrap {
    width: 100%;
    max-width: none;
    overflow-x: auto;
}

.bab-tree-seat-template .pricing-options table {
    width: 100%;
    min-width: 360px;
}

/* Responsive layout */
@media (max-width: 1024px) {
    .bab-tree-seat-template .mainContent.bab-tree-seat-product-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
        gap: 20px;
    }

    .bab-tree-seat-template .bab-tree-seat-order.order {
        padding: 20px 16px;
    }

    .bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations th.label {
        width: 40% !important;
    }

    .bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations td.value {
        width: 60% !important;
    }
}

@media (max-width: 800px) {
    .bab-tree-seat-template .bab-tree-seat-main.wrapper {
        padding: 20px 16px 32px;
    }

    .bab-tree-seat-template .mainContent.bab-tree-seat-product-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .bab-tree-seat-template .bab-tree-seat-order.order {
        max-width: none;
    }

    .bab-tree-seat-template .bab-tree-seat-gallery .flex-control-thumbs img {
        height: clamp(76px, 18vw, 118px) !important;
    }

    .bab-tree-seat-template .pricing-options .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .bab-tree-seat-template .choose-color > .wrapper,
    .bab-tree-seat-template .pricing-options > .wrapper,
    .bab-tree-seat-template .footer-banner > .wrap {
        padding-right: 16px;
        padding-left: 16px;
    }

    .bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations th.label,
    .bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations td.value {
        padding: 9px 7px !important;
    }

    .bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations th.label {
        font-size: 0.76rem;
    }

    .bab-tree-seat-template .bab-tree-seat-order form.variations_form table.variations td.value select {
        font-size: 0.82rem;
        padding-left: 7px;
    }

    .bab-tree-seat-template .bab-tree-seat-order .woocommerce-variation-add-to-cart {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 8px;
    }

    .bab-tree-seat-template .bab-tree-seat-order .single_add_to_cart_button {
        padding: 10px 8px !important;
        font-size: 0.9rem !important;
    }

    .bab-tree-seat-template .pricing-options .grid-column2 {
        grid-template-columns: minmax(0, 1fr);
    }
	

	
}

/* Tree Seat: keep the mockup's inline SVG icons visible and aligned. */
.bab-tree-seat-template .hero-caption .btn,
.bab-tree-seat-template .footer-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bab-tree-seat-template .hero-caption .btn .btn-icon,
.bab-tree-seat-template .footer-cta .btn .btn-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    max-width: 18px;
    flex: 0 0 18px;
    vertical-align: middle;
    overflow: visible;
}

.bab-tree-seat-template .hero-caption .btn-primary .btn-icon {
    color: #ffffff;
}

.bab-tree-seat-template .hero-caption .btn-outline .btn-icon {
    color: currentColor;
}

.bab-tree-seat-template .footer-cta .btn-light .btn-icon {
    color: currentColor;
}



/* Tree Seat: match the reference HTML hero button stack and benefit badges. */
.bab-tree-seat-template .hero-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.bab-tree-seat-template .hero-caption .btn {
    display: inline-flex;
    flex: 0 0 auto;
    width: max-content;
    max-width: 100%;
    margin: 0;
}

.bab-tree-seat-template .hero-caption .btn + .btn {
    margin-top: 0;
}

.bab-tree-seat-template .hero-caption .btn-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    max-width: none;
    margin: 0;
}

.bab-tree-seat-template .bab-tree-seat-order .bab-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 42px;
    margin: 0 auto 8px;
}

.bab-tree-seat-template .bab-tree-seat-order .bab-badge-icon svg {
    display: block;
    width: 42px;
    height: 42px;
    max-width: none;
    margin: 0;
}

@media (max-width: 800px) {
    .bab-tree-seat-template .hero-caption {
        align-items: flex-start;
    }
}


/* Tree Seat gallery: let WooCommerce/FlexSlider control slide transforms.
   Do not force transform:none on .woocommerce-product-gallery__wrapper. */
.bab-tree-seat-template .bab-tree-seat-gallery .woocommerce-product-gallery__wrapper {
    transition: none;
}

.bab-tree-seat-template .bab-tree-seat-gallery .flex-control-thumbs img {
    cursor: pointer;
}

/* Match the reference mockup's blue sunburst Free Freight icon. */
.bab-tree-seat-template .bab-tree-seat-order .bab-badge-icon svg {
    color: #1555ed;
}

/* Tree Seat footer installation banner: match the HTML mockup.
   The light-grey banner is a centered, constrained block with white space
   on both sides; the image remains at its natural responsive proportions. */
.bab-tree-seat-template .footer-banner {
    display: block;
    width: calc(100% - 48px) !important;
    max-width: 1200px !important;
    margin: 0 auto 44px !important;
    padding: 24px 0 !important;
    background: #f2f5f9 !important;
    text-align: center;
    box-sizing: border-box;
}

.bab-tree-seat-template .footer-banner > .wrap {
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box;
}

.bab-tree-seat-template .footer-banner > .wrap.center > img.img-responsive {
    display: block !important;
    width: 72% !important;
    max-width: 850px !important;
    height: auto !important;
    max-height: 150px !important;
    margin: 0 auto !important;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 600px) {
    .bab-tree-seat-template .footer-banner {
        width: calc(100% - 32px) !important;
        margin-bottom: 32px !important;
        padding: 16px 0 !important;
    }

    .bab-tree-seat-template .footer-banner > .wrap {
        padding: 0 12px !important;
    }
}

/* Tree Seat: match the HTML mockup's phone icon and hover text colour.
   Scoped to the help button only; preserves all existing layout rules. */
.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help {
    color: var(--blue) !important;
    background: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help svg,
.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help .btn-icon {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    max-width: 18px;
    margin-right: 8px;
    flex: 0 0 18px;
    color: currentColor !important;
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
}

.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help:hover,
.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help:focus-visible {
    color: #ffffff !important;
    background: var(--blue) !important;
    border-color: var(--blue) !important;
}

.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help:hover svg,
.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help:hover .btn-icon,
.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help:focus-visible svg,
.bab-tree-seat-template .bab-tree-seat-order .bab-tree-help:focus-visible .btn-icon {
    color: #ffffff !important;
    stroke: currentColor;
}

/* Tree Seat product ID 10307 only */
body.single-product.postid-10307 .delivery-info {
    display: none !important;
}

/* Mobile */
@media (max-width: 767px) {
  .bab-tree-seat-template .wrapper,
  .bab-tree-seat-template .choose-color > .wrapper,
  .bab-tree-seat-template .pricing-options {
    width: min(100% - 32px, 600px);
  }

  .bab-tree-seat-template .hero {
    min-height: 0;
    background-position: center;
  }

  .bab-tree-seat-template .herocaption-overlay {
    position: relative;
    min-height: 320px;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.96),
      rgba(255,255,255,.78)
    );
  }

  .bab-tree-seat-template .hero-caption {
    width: 100%;
    padding: 32px 20px;
  }

  .bab-tree-seat-template .hero-caption h1 {
    font-size: 32px;
  }

.trust-grid {  grid-template-columns: 1fr;}	
.trust-item:first-child { padding-left: 22px;}	

  .bab-tree-seat-template .trust-item {
    border-right: 0;
    padding: 12px 8px;
  }

  .bab-tree-seat-template .mainContent {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .bab-tree-seat-template .product-image {
    min-height: 0;
  }

  .bab-tree-seat-template .product-image img {
    max-height: 420px;
  }

  .bab-tree-seat-template .order {
    padding: 20px 16px;
  }

  .bab-tree-seat-template .choose-color .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bab-tree-seat-template .grid-column3 {
    gap: 10px;
  }

  .bab-tree-seat-template .product-box h4 {
    font-size: 14px;
  }

  .bab-tree-seat-template .product-box .product-img img {
    height: 90px;
  }

  .bab-tree-seat-template .tabs a {
    padding: 12px 14px;
  }

  .bab-tree-seat-template .grid-column2 {
    grid-template-columns: 1fr;
  }

  .bab-tree-seat-template .footer-cta .wrap {
    width: min(100% - 32px, 600px);
  }

  .bab-tree-seat-template .cta-call strong {
    font-size: 26px;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .bab-tree-seat-template .grid-column3 {
    grid-template-columns: 1fr;
  }

  .bab-tree-seat-template .product-box .product-img img {
    height: 150px;
  }

  .bab-tree-seat-template .badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 11px;
  }

  .bab-tree-seat-template .cta-call {
    gap: 12px;
  }

  .bab-tree-seat-template .cta-call strong {
    font-size: 22px;
  }
}
