/* ============================================================
   Sunbelt Shutters — Responsive Stylesheet (TEST)
   Self-contained. Does NOT touch your existing styles.css.
   Only the pages that link THIS file get the new layout.

   Brand palette (kept from your site):
     Charcoal  #33323A   (header/footer bg)
     Gold      #C9A227   (accent; refined from #D9AF00)
     Ink       #2B2B2B   (body text)
     Cream     #FBF8F0   (page panels)
     Line      #E4DCC4   (hairlines)
   ============================================================ */

:root{
  --charcoal:#33323A;
  --charcoal-2:#414048;
  --gold:#C9A227;
  --gold-dk:#A6851C;
  --ink:#2B2B2B;
  --slate:#5A5A5A;
  --cream:#FBF8F0;
  --line:#E4DCC4;
  --white:#ffffff;
  --maxw:1120px;
  --radius:10px;
  --shadow:0 2px 10px rgba(0,0,0,.06);
}

*{box-sizing:border-box;}

html{-webkit-text-size-adjust:100%;}

/* guard against any single wide child forcing horizontal page scroll on mobile */
html,body{overflow-x:hidden;max-width:100%;}

body{
  margin:0;
  padding:0;
  background:var(--white);
  color:var(--ink);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,
       "Helvetica Neue",Arial,sans-serif;
}

img{max-width:100%;height:auto;}

a{color:var(--gold-dk);}
a:hover{color:var(--ink);}

/* ---------- shared width wrapper ---------- */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px;}

/* ============================================================
   HEADER  (wraps your inc/header.asp)
   ============================================================ */
.site-header{
  background:var(--charcoal);
  border-bottom:3px solid var(--gold);
}
.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding-top:12px;padding-bottom:12px;
}
/* logo comes from header.asp as #logo > a > img */
.site-header #logo{padding:0;width:auto;float:none;}
.site-header #logo img{width:260px;max-width:60vw;height:auto;display:block;}
/* the help-box image map (cart/contact/faq) from header.asp */
.site-header #topmenu{padding:0;text-align:right;}

/* TEXT HELP BOX (replaces help-box.gif on the responsive template) */
.site-header #topmenu{display:none!important;}   /* hide old image + its map wrapper */
.help-box{text-align:right;color:#fff;line-height:1.35;}
.help-box p{margin:0;}
.help-links a{color:#fff;text-decoration:none;font-size:14px;font-weight:600;}
.help-links a:hover{color:var(--gold);}
.help-call{font-size:12px;color:#d8d8d8;margin-top:4px;}
.help-phone a{
  color:var(--gold);text-decoration:none;
  font:700 20px/1.2 "Trebuchet MS",Arial,sans-serif;
  letter-spacing:.5px;
}
.help-phone a:hover{color:#fff;}

/* ============================================================
   PRIMARY NAV  (wraps your inc/topnav.asp #menu)
   ============================================================ */
.nav-bar{background:var(--charcoal-2);position:relative;}
.nav-toggle{
  display:none;
  width:100%;
  background:var(--charcoal-2);
  color:var(--white);
  border:0;
  font:600 16px/1 inherit;
  padding:15px 20px;
  text-align:left;
  cursor:pointer;
}
.nav-toggle::after{content:"\2630";float:right;color:var(--gold);font-size:18px;}
.nav-toggle[aria-expanded="true"]::after{content:"\2715";}

/* topnav.asp outputs <div id="menu"> with pipe-separated links */
#menu{
  background:transparent;border:0;width:auto;height:auto;
  padding:0;margin:0;
  display:flex;flex-wrap:nowrap;              /* keep on ONE line */
  justify-content:space-between;              /* spread evenly across the bar */
  font-weight:600;
}
#menu a{
  color:var(--white)!important;text-decoration:none;
  padding:14px 14px;display:inline-block;
  font-size:14px;line-height:1;white-space:nowrap;
  border-bottom:3px solid transparent;
  text-align:center;
}
#menu a:hover{color:var(--gold)!important;border-bottom-color:var(--gold);}
/* hide the literal " | " text separators that come from the include */
#menu{font-size:0;}          /* collapse whitespace/pipes */
#menu a{font-size:14px;}     /* restore link text size */

/* ============================================================
   PAGE TITLE BAND  (replaces #mainpic banner)
   ============================================================ */
.pagehead{
  background:var(--charcoal);
  color:var(--white);
}
.pagehead .wrap{padding:26px 20px;}
#banner,.pagehead h1{
  color:var(--white);margin:0;padding:0;
  text-transform:none;
  font:700 30px/1.2 "Trebuchet MS",Arial,Helvetica,sans-serif;
}
.breadcrumb{
  color:var(--white);opacity:.85;font-size:13px;
  padding:10px 0 0;
}
.breadcrumb a{color:var(--white);}
.breadcrumb .style1{color:var(--gold);font-weight:600;}

/* ============================================================
   MAIN LAYOUT  — sidebar + content, collapses to 1 col
   ============================================================ */
.layout{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:32px;
  padding:32px 0 40px;
}
/* left product menu (inc/leftnav.asp) lives in #body2 */
#body2{
  width:auto;padding:0;float:none;
  font-size:14px;line-height:1.5;
}
#body2 strong{color:var(--ink);}
#body2 a{display:block;color:var(--slate);text-decoration:none;padding:2px 0;}
#body2 a:hover{color:var(--gold-dk);}
#body2 p{
  padding:14px;background:var(--cream);
  border:1px solid var(--line);border-radius:var(--radius);
  margin:0 0 14px;
}

/* content column — neutralize the old fixed-width float */
#body1b{width:auto;padding:0;float:none;}

/* ============================================================
   PRODUCT / ORDER AREA
   ============================================================ */
.product-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;margin:0 0 28px;
}
.product-hero .photo img{
  width:100%;border-radius:8px;display:block;box-shadow:var(--shadow);
}

/* Wood & composite order pages use real photographs (~736px wide portraits).
   At width:100% they stretch to the full column (~520x690) and swamp the page,
   so cap the height on the SAME 460/340/300 ladder the vinyl pages use and
   centre the photo column. The vinyl block further down keeps its own look
   (no shadow, square corners) through the identical #productImage selector. */
.product-hero .photo{display:flex;flex-direction:column;align-items:center;}
.product-hero .photo img#productImage{
  width:auto;max-width:100%;max-height:460px;margin:0 auto;
}
/* keep the thumb strip full-width inside the now-centred photo column so a
   6-thumb strip wraps instead of forcing the column wider (composite page) */
.product-hero .photo .thumbs{width:100%;}
@media (max-width:720px){
  .product-hero .photo img#productImage{max-height:340px;}
}
@media (max-width:430px){
  .product-hero .photo img#productImage{max-height:300px;}
}

/* thumbnail strip under the configurator photo */
.thumb-label{
  margin:12px 0 6px;font-size:13px;color:var(--slate);font-style:italic;
}
.thumbs{display:flex;gap:8px;}
.thumb{
  flex:1;padding:0;border:1px solid var(--line);border-radius:6px;
  background:var(--white);cursor:pointer;overflow:hidden;line-height:0;
}
.thumb img{
  width:100%;height:70px;object-fit:cover;border-radius:0;
  box-shadow:none;display:block;
  transition:transform .15s ease;
}
.thumb:hover img,.thumb:focus-visible img{transform:scale(1.06);}
.thumb:hover,.thumb:focus-visible{border-color:var(--gold);}

/* lightbox overlay */
.lightbox{
  position:fixed;inset:0;z-index:1000;
  background:rgba(0,0,0,.85);
  display:flex;align-items:center;justify-content:center;
  padding:24px;
}
.lightbox[hidden]{display:none;}
.lightbox img{
  max-width:92vw;max-height:88vh;width:auto;height:auto;
  border-radius:8px;box-shadow:0 6px 30px rgba(0,0,0,.5);
}
.lightbox-close{
  position:absolute;top:16px;right:20px;
  width:44px;height:44px;border:0;border-radius:50%;
  background:rgba(255,255,255,.15);color:#fff;
  font-size:28px;line-height:1;cursor:pointer;
}
.lightbox-close:hover{background:rgba(255,255,255,.3);}

/* compact popup variant (vinyl page): small centered card, not full-screen */
.lightbox--compact{background:rgba(20,18,16,.55);}
.lightbox--compact .lightbox-card{
  position:relative;background:#fff;border-radius:12px;padding:14px;
  box-shadow:0 20px 60px rgba(0,0,0,.4);
  max-width:min(46vw,440px);max-height:80vh;
  display:flex;align-items:center;justify-content:center;
}
.lightbox--compact .lightbox-card img{
  max-width:100%;max-height:calc(80vh - 28px);width:auto;height:auto;
  border-radius:6px;box-shadow:none;display:block;
}
.lightbox--compact .lightbox-close{
  position:absolute;top:-14px;right:-14px;
  width:34px;height:34px;border-radius:50%;
  background:var(--charcoal,#33323A);color:#fff;border:2px solid #fff;
  font-size:22px;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.35);
  display:flex;align-items:center;justify-content:center;
}
.lightbox--compact .lightbox-close:hover{background:#000;}
@media (max-width:720px){
  .lightbox--compact .lightbox-card{max-width:82vw;}
}
h2.style3{
  margin:0 0 14px;color:var(--ink);
  font:700 20px/1.2 "Trebuchet MS",Arial,sans-serif;
}

/* order form — make controls tap-friendly */
.order-form label,.order-form strong{font-weight:600;}
.order-form select,
.order-form input[type=text],
.order-form textarea{
  font-size:16px;                 /* 16px stops iOS zoom-on-focus */
  padding:8px 9px;
  border:1px solid #c9c2ad;
  border-radius:6px;
  background:var(--white);
  max-width:100%;
}
.order-form textarea{width:100%;}
/* the form's inner layout table -> full width, natural column sizing
   (table-layout:auto lets the Style/Wood/Finish selects and the price
   values take the room they need instead of being forced equal-width) */
.order-form > form > table{width:100%;max-width:100%;border-collapse:collapse;}
.order-form table{border-collapse:collapse;}
.order-form td{padding:5px 4px;vertical-align:middle;}
/* label column stays tight so the control column gets the width */
.order-form > form > table > tbody > tr > td:first-child{white-space:nowrap;width:1%;}
/* selects fill the available control-column width */
.order-form select{width:100%;max-width:100%;}
/* the small dimension/quantity number inputs stay compact */
.order-form input[type=text]{width:3.2em;}
.order-form input[name="sunbeltcart_1_Quantity_Add"]{width:4em;}
/* width/length fraction dropdowns are short (0, 1/4, 1/2, 3/4) — keep them
   narrow and inline beside the whole-inch input instead of full-width */
.order-form select[name="sunbeltcart_1_sbsWidthFraction_Add"],
.order-form select[name="sunbeltcart_1_sbsLengthFraction_Add"]{
  width:auto;max-width:7em;display:inline-block;vertical-align:middle;
}
.order-form input[name="sunbeltcart_1_sbsWidth_Add"],
.order-form input[name="sunbeltcart_1_sbsLength_Add"]{
  display:inline-block;vertical-align:middle;
}
/* price-summary values must not wrap or get clipped */
#sugg_Retail,#your_Savings,#total_Price{white-space:nowrap;}
/* safeguard: on narrow phones, the price-summary row uses inline font-size
   overrides in the HTML; shrink them a step so even a 6-figure value like
   $100,000.75 stays on one line and never clips. Uses !important to beat
   the inline styles on those cells. */
@media (max-width:430px){
  #total_Price,#sugg_Retail,#your_Savings,
  .order-form table table td{
    font-size:110%!important;      /* was 150%/120% inline; still prominent */
  }
}
@media (max-width:360px){
  #total_Price,#sugg_Retail,#your_Savings,
  .order-form table table td{
    font-size:100%!important;
  }
}

/* price block */
#total_Price{border:2px solid var(--gold)!important;padding:4px 10px!important;}

/* Add-to-cart button image */
/* Add-to-cart button — sized large, colored to match the logo gold (#FFCC00).
   --atc-* vars are local to the button so the site brand gold is untouched. */
.add-to-cart{
  --atc-gold:#FFCC00;        /* exact Sunbelt logo gold */
  --atc-gold-lt:#FFDA47;     /* lighter top of gradient */
  --atc-gold-dk:#D9A400;     /* darker bottom + border */
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  width:100%;max-width:420px;
  margin:10px auto 0;
  padding:20px 34px;
  font:700 22px/1 "Trebuchet MS",Arial,Helvetica,sans-serif;
  letter-spacing:.4px;
  color:var(--charcoal);
  background:linear-gradient(180deg,var(--atc-gold-lt) 0%,var(--atc-gold) 55%,var(--atc-gold-dk) 100%);
  border:1px solid var(--atc-gold-dk);
  border-radius:10px;
  box-shadow:0 3px 8px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.5);
  cursor:pointer;
  text-shadow:0 1px 0 rgba(255,255,255,.4);
  transition:filter .12s ease, transform .05s ease, box-shadow .12s ease;
}
.add-to-cart .atc-icon{font-size:22px;line-height:1;}
.add-to-cart:hover{filter:brightness(1.05);box-shadow:0 5px 14px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.55);}
.add-to-cart:active{transform:translateY(1px);box-shadow:0 1px 3px rgba(0,0,0,.3);}
.add-to-cart:focus-visible{outline:3px solid var(--charcoal);outline-offset:2px;}
/* a touch larger still on wider screens */
@media (min-width:700px){
  .add-to-cart{max-width:460px;padding:22px 40px;font-size:24px;}
  .add-to-cart .atc-icon{font-size:24px;}
}

/* ============================================================
   CONTENT SECTIONS (features, description, FAQ)
   ============================================================ */
.section{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 24px;margin:0 0 22px;
}
.section h2,.S2A_Footer{
  margin:0 0 12px;color:var(--ink);
  font:700 22px/1.25 "Trebuchet MS",Arial,sans-serif;
  border-bottom:2px solid var(--gold);padding-bottom:8px;
}
.section h3{
  margin:18px 0 6px;color:var(--ink);
  font:700 16px/1.3 "Trebuchet MS",Arial,sans-serif;
  text-transform:none;font-style:normal;
}
.section ul{margin:0;padding-left:20px;}
.section li{margin:0 0 6px;}
.section p{margin:0 0 12px;}

/* spec table styling */
.spec-table{width:100%;border-collapse:collapse;margin:6px 0 4px;font-size:14px;}
.spec-table th{
  background:var(--charcoal);color:var(--white);
  text-align:left;padding:8px 10px;font-weight:600;
}
.spec-table td{padding:7px 10px;border-bottom:1px solid var(--line);}
.spec-table tr:nth-child(even) td{background:var(--cream);}

/* ============================================================
   SHOPPING CART (cart.asp) — restyle WA eCart table + buttons
   ============================================================ */
.cart-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 18px;}
.cart-table{
  width:100%;border-collapse:collapse;background:var(--white);
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
}
.cart-table .S4B_CartTitle{
  background:var(--charcoal)!important;color:var(--white)!important;
  font:700 18px/1.3 "Trebuchet MS",Arial,sans-serif!important;
  padding:14px 16px!important;text-align:left!important;
}
.cart-table .S4B_ColumnHeaderRow,.cart-table .S4B_ColumnHeader{
  background:var(--cream)!important;color:var(--ink)!important;
  font-weight:700!important;border-bottom:2px solid var(--gold)!important;
  padding:10px 8px!important;
}
.cart-table td{padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top;}
.cart-table .S4B_RowOdd td{background:var(--white);}
.cart-table .S4B_RowEven td{background:var(--cream);}
.cart-table .S4B_Name{font-weight:600;}
.cart-table .S4B_Desc{font-size:13px;color:var(--slate);line-height:1.5;}
.cart-table input[type=text]{
  font-size:16px;padding:7px 8px;width:3.5em;
  border:1px solid #c9c2ad;border-radius:6px;text-align:center;
}
.cart-table .S4B_OrderTitle,.cart-table .S4B_OrderHeader{
  background:var(--cream)!important;font-weight:700!important;
  padding:10px 8px!important;border-top:1px solid var(--line)!important;
}
.cart-table .S4B_Subtotal,.cart-table .S4B_SubtotalPrice,
.cart-table .S4B_OrderLineItem{padding:8px!important;}
.cart-table .S4B_OrderTotalRow td,.cart-table .S4B_OrderTotal{
  background:var(--charcoal)!important;color:var(--white)!important;
  font:700 17px/1.3 "Trebuchet MS",Arial,sans-serif!important;
  padding:12px 8px!important;
}

/* cart action buttons row */
.cart-actions{
  display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;
  align-items:center;margin:4px 0 8px;
}
.cart-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 22px;border-radius:8px;cursor:pointer;
  font:700 16px/1 "Trebuchet MS",Arial,Helvetica,sans-serif;
  letter-spacing:.3px;text-decoration:none;transition:filter .12s,transform .05s,box-shadow .12s;
}
.cart-btn:active{transform:translateY(1px);}
.cart-btn:focus-visible{outline:3px solid var(--charcoal);outline-offset:2px;}
/* secondary: charcoal outline */
.cart-btn-secondary{
  color:var(--charcoal);background:var(--white);
  border:1.5px solid var(--charcoal);
}
.cart-btn-secondary:hover{background:var(--charcoal);color:var(--white);}
/* primary checkout: logo gold */
.cart-btn-primary{
  color:var(--charcoal);
  background:linear-gradient(180deg,#FFDA47 0%,#FFCC00 55%,#D9A400 100%);
  border:1px solid #D9A400;
  box-shadow:0 3px 8px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.5);
  text-shadow:0 1px 0 rgba(255,255,255,.4);
  padding:14px 30px;font-size:18px;
}
.cart-btn-primary:hover{filter:brightness(1.05);box-shadow:0 5px 14px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.55);}
.cart-btn-primary .atc-icon{font-size:18px;}

/* empty-cart state */
.cart-empty{text-align:center;padding:40px 20px;}
.cart-empty-msg{
  font:600 18px/1.4 "Trebuchet MS",Arial,sans-serif;color:var(--ink);
  margin:0 0 20px;
}

/* mobile: stack the cart rows into cards using data-label */
@media (max-width:640px){
  .cart-actions{justify-content:stretch;}
  .cart-actions .cart-btn{flex:1 1 100%;}
  .cart-table,.cart-table tbody,.cart-table tr,.cart-table td{display:block;width:100%;}
  .cart-table .S4B_LeftMargin,.cart-table .S4B_RightMargin,
  .cart-table .S4B_BLCorner,.cart-table .S4B_BRCorner{display:none;}
  .cart-table .S4B_ColumnHeaderRow{display:none;}       /* hide header row on mobile */
  .cart-table tr{border-bottom:2px solid var(--line);padding:6px 0;}
  /* item cells show their label */
  .cart-table td[data-label]{
    display:flex;justify-content:space-between;gap:12px;
    text-align:right!important;border:0;padding:6px 12px;
  }
  .cart-table td[data-label]::before{
    content:attr(data-label);font-weight:700;color:var(--slate);
    text-align:left;flex:0 0 auto;
  }
  .cart-table td.S4B_Desc{font-size:12px;}
}
.accred{padding:24px 0;text-align:center;border-top:1px solid var(--line);}
.accred table{width:auto!important;margin:0 auto;}

.site-footer{
  background:var(--charcoal);
  color:var(--white);
  border-top:3px solid var(--gold);
  padding:22px 0;
  text-align:center;
}
.site-footer a{color:var(--white);text-decoration:none;margin:0 2px;}
.site-footer a:hover{color:var(--gold);}
.site-footer p{margin:0;font-size:14px;line-height:1.9;}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width:970px){
  .layout{grid-template-columns:minmax(0,1fr);gap:24px;}
  .product-hero{grid-template-columns:minmax(0,1fr);}
  /* sidebar drops below the content on tablet/phone */
  #body2{order:2;}
}

/* nav collapses to a toggle only once the short-label row can't fit one line */
@media (max-width:720px){
  .nav-toggle{display:block;}
  #menu{
    display:none;flex-direction:column;flex-wrap:wrap;
    justify-content:flex-start;gap:0;
    background:var(--charcoal-2);
  }
  #menu.open{display:flex;}
  #menu a{
    width:100%;padding:13px 20px;text-align:left;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  #menu a:hover{border-bottom-color:rgba(255,255,255,.08);background:rgba(0,0,0,.15);}
}

@media (max-width:680px){
  .site-header .wrap{flex-direction:column;align-items:flex-start;gap:10px;}
  .help-box{text-align:left;width:100%;}

  #banner,.pagehead h1{font-size:23px;}
  .section{padding:18px 16px;}
  .product-hero{padding:16px;}

  /* make wide spec tables scroll instead of breaking layout */
  .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
}

/* accessibility niceties */
a:focus-visible,button:focus-visible,
select:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:3px solid var(--gold);outline-offset:2px;
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto;}}

@media print{
  .site-header,.nav-bar,.site-footer,.accred,#body2{display:none;}
  body{background:#fff;}
}

/* ============================================================
   STANDARD VINYL LOUVERED PAGE — size form, color swatches
   ============================================================ */
/* Vinyl shutter cutouts are tall & narrow (transparent PNGs), so cap the
   height and center them instead of stretching to the column width. */
.product-hero--vinyl .photo{
  display:flex;flex-direction:column;align-items:center;
}
.product-hero--vinyl .photo img#productImage{
  width:auto;max-width:100%;max-height:460px;
  box-shadow:none;border-radius:0;margin:0 auto;
}
.product-hero--vinyl .thumb img{height:64px;object-fit:contain;background:var(--cream);}
.product-hero--vinyl .thumbs{width:100%;}
/* mounting hardware reference image below the thumbnails */
.hardware-info{width:100%;margin:14px 0 0;}
.hardware-img{
  display:block;width:100%;padding:0;border:1px solid var(--line);
  border-radius:8px;background:var(--white);cursor:pointer;overflow:hidden;line-height:0;
  transition:border-color .12s,box-shadow .12s;
}
.hardware-img img{width:100%;height:auto;display:block;}
.hardware-img:hover,.hardware-img:focus-visible{border-color:var(--gold);box-shadow:0 3px 10px rgba(0,0,0,.12);}
.hardware-img:focus-visible{outline:3px solid var(--charcoal);outline-offset:2px;}
@media (max-width:720px){
  .product-hero--vinyl .photo img#productImage{max-height:340px;}
}
@media (max-width:430px){
  .product-hero--vinyl .photo img#productImage{max-height:300px;}
}

.vinyl-form{width:100%;border-collapse:collapse;table-layout:auto}
.vinyl-form td{padding:9px 6px;vertical-align:middle}
.vinyl-form td.lbl{white-space:nowrap;width:1%;padding-right:14px}
.vinyl-form select{width:100%;max-width:240px;font-size:16px;padding:9px 10px;border:1px solid #c9c2ad;border-radius:6px;background:#fff}
.vinyl-form input[type=text]{font-size:16px;padding:8px 9px;border:1px solid #c9c2ad;border-radius:6px;width:4em;text-align:center}
.form-error{background:#fff4f4;border:1px solid #e6b3b3;color:#a12;padding:10px 12px;border-radius:8px;margin:0 0 6px;font-size:14px}

/* color swatches */
.swatches{display:flex;flex-wrap:wrap;gap:8px;max-width:340px;margin:2px 0 8px}
.swatch{width:32px;height:32px;border-radius:7px;border:1px solid rgba(0,0,0,.18);cursor:pointer;padding:0;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.25);transition:transform .07s,box-shadow .12s;position:relative}
.swatch:hover{transform:translateY(-1px);box-shadow:0 3px 8px rgba(0,0,0,.25)}
.swatch:focus-visible{outline:3px solid var(--charcoal);outline-offset:2px}
.swatch.on{box-shadow:0 0 0 3px var(--gold),0 3px 8px rgba(0,0,0,.3)}
.swatch.on::after{content:"\2713";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:900;font-size:15px;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.color-chosen{font-size:13.5px;color:var(--slate,#6a6754)}
.color-chosen strong{color:var(--charcoal,#33323A)}

/* included-hardware note + optional mounting-clips checkbox */
.hw-included{font-size:13px;color:var(--slate,#6a6754);margin:2px 0 10px;line-height:1.45}
.hw-included strong{color:var(--charcoal,#33323A)}
.hw-option{display:flex;align-items:flex-start;gap:9px;cursor:pointer;font-size:14px;
  color:var(--charcoal,#33323A);line-height:1.4;padding:9px 11px;border:1px solid var(--line,#e4ddca);
  border-radius:8px;background:#fff;transition:border-color .12s,background .12s}
.hw-option:hover{border-color:var(--gold,#FFCC00);background:#fffdf5}
.hw-option input[type=checkbox]{width:18px;height:18px;margin:1px 0 0;flex:0 0 auto;accent-color:var(--gold-dk,#D9A400);cursor:pointer}
.hw-option strong{white-space:nowrap}
/* ----- panel style image tiles (raised panel order page) ----- */
.style-tiles{display:flex;gap:10px;flex-wrap:wrap;margin:2px 0 6px}
.style-tile{display:flex;flex-direction:column;align-items:center;gap:1px;
  padding:5px 5px 7px;border:2px solid var(--line,#d8d2bf);border-radius:8px;
  background:#fff;cursor:pointer;transition:border-color .12s ease,box-shadow .12s ease;font:inherit;text-align:center}
.style-tile img{height:250px;width:auto;display:block;border-radius:4px;margin-bottom:3px}
.style-tile-name{font-weight:700;font-size:12px;color:var(--charcoal,#33323A);line-height:1.1;text-align:center}
.style-tile-sub{font-size:10px;color:var(--slate,#6a6754);line-height:1.1;text-align:center}
.style-tile:hover{border-color:var(--gold,#FFCC00)}
.style-tile.on{border-color:var(--gold-dk,#D9A400);box-shadow:0 0 0 2px rgba(217,164,0,.28)}
.style-note{font-size:12.5px;color:var(--slate,#6a6754);margin:2px 0 0;line-height:1.4}
.style-note.note-active{color:var(--gold-dk,#D9A400);font-weight:600}
.width-reset-note{font-size:12.5px;color:var(--gold-dk,#D9A400);font-weight:600;margin:5px 0 0;line-height:1.4}
.color-chart-link{margin:8px 0 0;font-size:13px}
.color-chart-link a{color:var(--gold-dk,#D9A400);font-weight:600;text-decoration:none}
.color-chart-link a:hover{text-decoration:underline}
/* ---- Live color hover/selected readout ---- */
.color-chosen{display:flex;align-items:center;gap:8px;min-height:24px;flex-wrap:wrap}
.color-chip{display:inline-block;width:18px;height:18px;border-radius:4px;border:1px solid rgba(0,0,0,.25);flex:0 0 auto}
#colorReadoutPrefix{color:#6a6754}
.color-name--prompt{font-weight:400;color:#6a6754;font-style:italic}
/* ---- Color-chart modal (iframe overlay so the order page stays put) ---- */
.chart-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;
  background:rgba(24,22,20,.66);padding:22px}
.chart-modal[hidden]{display:none}
.chart-modal-card{background:#f7f5ef;border-radius:12px;box-shadow:0 18px 60px rgba(0,0,0,.45);
  width:min(1080px,100%);height:min(88vh,900px);display:flex;flex-direction:column;overflow:hidden}
.chart-modal-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;border-bottom:3px solid var(--gold,#FFCC00);background:#fff}
.chart-modal-title{font-weight:800;font-size:17px;color:#33323A}
.chart-modal-close{border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;
  color:#6a6754;padding:0 6px;border-radius:8px}
.chart-modal-close:hover{color:#33323A}
.chart-modal-frame{flex:1 1 auto;width:100%;border:0;display:block;background:#f7f5ef}
@media (max-width:520px){.chart-modal{padding:0}.chart-modal-card{width:100%;height:100%;border-radius:0}}

/* price block */
.price-block{margin:8px 0 4px}
.price-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;
  border:1px solid var(--line,#e4ddca);border-radius:10px;padding:12px 14px;background:#fff}
.price-row>span:first-child{font-weight:700;color:var(--charcoal,#33323A);font-size:15px}
#total_Price{font:800 22px/1 "Trebuchet MS",Arial,sans-serif;color:var(--charcoal,#33323A);white-space:nowrap}
#total_Price .per{font-size:13px;font-weight:600;color:var(--slate,#6a6754)}
#total_Price .pickmsg,.price-row .pickmsg{font-size:14px;font-weight:600;color:var(--slate,#6a6754)}
.add-to-cart[disabled]{filter:grayscale(.55);opacity:.6;cursor:not-allowed}
.ship-note{text-align:center;font-size:12.5px;color:var(--slate,#6a6754);margin:8px 0 0}
/* live savings note under the price */
.save-note{margin:8px 0 0;font-size:13px;font-weight:700;color:var(--gold-dk,#D9A400);
  background:#fffaf0;border:1px solid #f0e2b8;border-radius:8px;padding:8px 11px;text-align:center}

/* quantity discount table below the product order area */
.qty-discount{background:var(--cream,#F7F4EC);border:1px solid var(--line,#e4ddca);
  border-radius:var(--radius,12px);padding:22px 24px;margin:0 0 28px}
.qd-title{font-family:Georgia,"Times New Roman",serif;font-size:24px;color:var(--charcoal,#33323A);margin:0 0 4px}
.qd-sub{font-size:14px;color:var(--slate,#6a6754);margin:0 0 16px}
.qd-table{width:100%;max-width:460px;border-collapse:collapse;background:#fff;
  border:1px solid var(--line,#e4ddca);border-radius:10px;overflow:hidden}
.qd-table th,.qd-table td{padding:11px 16px;text-align:left;font-size:15px;border-bottom:1px solid var(--line,#e4ddca)}
.qd-table thead th{background:var(--charcoal,#33323A);color:#fff;font-size:13px;letter-spacing:.03em;text-transform:uppercase}
.qd-table tbody tr:last-child td{border-bottom:0}
.qd-table tbody tr:nth-child(even){background:#faf8f1}
.qd-table td strong{color:var(--gold-dk,#D9A400);font-size:16px}
.qd-note{font-size:12.5px;color:var(--slate,#6a6754);margin:12px 0 0;font-style:italic}

@media (max-width:430px){
  #total_Price{font-size:20px}
  .swatch{width:30px;height:30px}
}

/* ============================================================
   VINYL SHUTTERS LANDING / CATEGORY PAGE
   ============================================================ */
/* intro split: copy + shutter trio */
.vinyl-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:30px;align-items:center;
  background:var(--cream,#F7F4EC);border:1px solid var(--line,#e4ddca);border-radius:var(--radius,12px);
  padding:26px 28px;margin:0 0 28px}
.vi-eyebrow{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--gold-dk,#D9A400);margin:0 0 8px}
.vi-head{font-family:Georgia,"Times New Roman",serif;font-size:27px;line-height:1.15;
  color:var(--charcoal,#33323A);margin:0 0 12px}
.vinyl-intro p{font-size:15.5px;color:#4b4a44;margin:0 0 14px;line-height:1.6}
.vi-cta-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0 0}
.vi-btn{display:inline-block;background:linear-gradient(180deg,#FFDA47,var(--gold,#FFCC00) 55%,var(--gold-dk,#D9A400));
  color:var(--charcoal,#33323A);font-weight:800;font-size:15.5px;padding:13px 22px;border-radius:9px;
  border:1px solid var(--gold-dk,#D9A400);text-decoration:none;box-shadow:0 6px 16px rgba(217,164,0,.3)}
.vi-btn:hover{filter:brightness(1.05)}
.vi-from{font-size:14px;color:var(--slate,#6a6754)}
.vi-from strong{color:var(--charcoal,#33323A);font-size:17px}
.vi-art{display:flex;justify-content:center;gap:8px}
.vi-art img{height:150px;width:auto;filter:drop-shadow(0 8px 16px rgba(0,0,0,.16))}

/* product cards */
.vinyl-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.vcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line,#e4ddca);
  border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;
  transition:transform .15s,box-shadow .15s}
a.vcard:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(30,28,24,.13)}
.vcard-img{background:var(--cream,#F7F4EC);display:flex;align-items:center;justify-content:center;
  padding:18px;min-height:180px}
.vcard-img img{height:150px;width:auto;filter:drop-shadow(0 6px 12px rgba(0,0,0,.15))}
.vcard-img--soon{position:relative}
.soon-badge{background:var(--charcoal,#33323A);color:#fff;font-weight:700;font-size:13px;
  letter-spacing:.05em;text-transform:uppercase;padding:8px 16px;border-radius:999px}
.vcard-body{padding:16px 18px 18px}
.vcard-body h3{font-family:Georgia,"Times New Roman",serif;font-size:20px;color:var(--charcoal,#33323A);margin:0 0 6px}
.vcard-body p{font-size:14px;color:var(--slate,#6a6754);margin:0 0 10px;line-height:1.5}
.vcard-price{font-size:15px !important;color:var(--charcoal,#33323A) !important}
.vcard-price strong{color:var(--gold-dk,#D9A400);font-size:18px}
.vcard-go{display:inline-block;font-weight:800;font-size:14px;color:var(--charcoal,#33323A);
  border-top:1px solid var(--line,#e4ddca);padding-top:11px;margin-top:2px}
.vcard--soon{opacity:.85}
.vcard-go--muted{color:var(--slate,#6a6754);font-weight:700}

/* benefits list */
.vinyl-benefits{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 22px}
.vinyl-benefits li{position:relative;padding-left:26px;font-size:15px;color:#4b4a44;line-height:1.5}
.vinyl-benefits li::before{content:"\2713";position:absolute;left:0;top:0;color:var(--gold-dk,#D9A400);font-weight:900}
.vinyl-benefits li strong{color:var(--charcoal,#33323A)}

@media (max-width:720px){
  .vinyl-intro{grid-template-columns:1fr;gap:20px}
  .vi-art{order:-1}
  .vi-art img{height:130px}
  .vinyl-cards{grid-template-columns:1fr}
  .vinyl-benefits{grid-template-columns:1fr}
}

/* composite page: 6-thumbnail strip — wrap to two rows on narrow screens
   so thumbs stay legible instead of shrinking to 6-across */
.thumbs--six{flex-wrap:wrap;}
.thumbs--six .thumb{flex:1 1 15%;min-width:64px;}
@media (max-width:520px){
  .thumbs--six .thumb{flex:1 1 28%;}   /* ~3 per row on phones */
}

/* smaller thumbnails to match the composite look — 3-thumb strips on the
   wood order pages: reduce thumb height + cap the row width so they read as
   neat small previews rather than large banners */
.thumbs--compact{max-width:340px;gap:8px;}
.thumbs--compact .thumb img{height:56px;}
@media (max-width:430px){
  .thumbs--compact .thumb img{height:64px;}
}

/* vinyl order pages: 6-thumb strip (3 colors + 3 hardware photos) — wrap 3-up
   so the hardware shots stay readable and the row never overflows.
   NOTE: these rules are ALSO inlined in each vinyl order page's <style> block
   so the strip lays out correctly even if this stylesheet is cached. */
.thumbs--hw{flex-wrap:wrap;}
.thumbs--hw .thumb{flex:1 1 30%;min-width:64px;}
@media (max-width:430px){
  .thumbs--hw .thumb{flex:1 1 28%;}
}

/* ===== hardware collection landing page (shutter-hardware.asp) ===== */
.collection-intro{
  font-size:17px;line-height:1.6;color:#333;max-width:70ch;margin:4px 0 26px;
}
.collection-grid{display:flex;flex-direction:column;gap:26px;}
.collection-card{
  display:grid;grid-template-columns:300px minmax(0,1fr);gap:26px;align-items:start;
  border:1px solid var(--line);border-radius:12px;background:var(--white);
  padding:22px;box-shadow:0 1px 3px rgba(0,0,0,.05);
}
.collection-media{
  display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden;
  background:var(--cream);line-height:0;
}
.collection-media img{
  display:block;width:100%;height:220px;object-fit:cover;
  transition:transform .2s ease;
}
.collection-media:hover img{transform:scale(1.04);}
.collection-info h2{
  margin:0 0 10px;font:700 24px/1.2 "Trebuchet MS",Arial,sans-serif;color:var(--charcoal);
}
.collection-info p{margin:0 0 16px;line-height:1.6;color:#333;}
.btn-collection{
  --atc-gold:#FFCC00;--atc-gold-lt:#FFDA47;--atc-gold-dk:#D9A400;
  display:inline-block;padding:12px 26px;
  font:700 16px/1 "Trebuchet MS",Arial,Helvetica,sans-serif;letter-spacing:.3px;
  color:var(--charcoal)!important;text-decoration:none;
  background:linear-gradient(180deg,var(--atc-gold-lt) 0%,var(--atc-gold) 55%,var(--atc-gold-dk) 100%);
  border:1px solid var(--atc-gold-dk);border-radius:9px;
  box-shadow:0 3px 8px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-collection:hover{filter:brightness(1.05);box-shadow:0 5px 14px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.55);}
.collection-help{
  margin:28px 0 6px;padding:16px 18px;background:var(--cream);border-radius:8px;
  font-size:16px;line-height:1.6;text-align:center;
}
@media (max-width:640px){
  .collection-card{grid-template-columns:1fr;gap:14px;padding:16px;}
  .collection-media img{height:200px;}
  .btn-collection{display:block;text-align:center;}
}
