@charset "UTF-8";
/* =========================
   CustomPrintablesUSA - cleaned drop-in CSS
   ========================= */

/* ---- Base / reset-ish ---- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

/* Useful default */
img { max-width: 100%; height: auto; }
/* ===== Limit main product image height ===== */
img.wp-post-image { max-height: 350px; }

@media (max-width: 1024px){
  img.wp-post-image { max-height: 460px; }
}

@media (max-width: 600px){
  img.wp-post-image { max-height: 360px; }
}

/* ---- Layout helpers ---- */
.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

/* NOTE: you used .nav on UL containers; keep it light */
.nav {
  list-style-type: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Promo / emphasis text */
p.large {
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  font-weight: bold;
  color: #000;
  margin: 0;
  padding: 0;

  /* Modern responsive sizing */
  font-size: clamp(12px, 1.6vw, 20px);
  line-height: clamp(18px, 4vw, 48px);
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 620px;     /* ↓ reduced from 520px */
  
}

/* Tablets */
@media (max-width: 1024px) {
  .hero-image {
    max-height: 380px;
  }
}

/* Phones (leave as-is, since you like it) */
@media (max-width: 600px) {
  .hero-image {
    max-height: 360px;
  }
}


/* =========================
   Horizontal scroller cards
   ========================= */
.three_article_section_grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.three_article_section_grid a:link,
.three_article_section_grid a:visited,
.three_article_section_grid a:active {
  color: #000;
  text-align: left;
  text-decoration: none;
  padding-left: 5px;
}

.three_article_section_grid a:hover {
  text-align: left;
  text-decoration: none;
  padding-left: 5px;
  color: #CA2308;
}

.three_article_section-post-left {
  background-color: #EBE7E7;
  position: relative;
  width: 440px;
  margin-left: 20px;
  padding: 15px 0;
  overflow: hidden;
  min-width: 240px;
}




/* =========================
   CTA button + product desc
   ========================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #911;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid #111;
  transition: all 0.2s ease;
  line-height: 1;
}

.cta-btn:hover { animation: pulse 0.3s ease-in-out; }

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.pd-desc p { margin: 0 0 12px; line-height: 1.55; }
.pd-desc ul, .pd-desc ol { margin: 0 0 12px 18px; }

/* =========================
   Gallery / thumbs
   ========================= */
.gallery {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: Arial, sans-serif;
}

.main-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  background: #f2f2f2;
}

.main-image {
  width: 100%;
  height: 520px;
  object-fit: contain;
  display: block;
  background: #fff;
}

.thumbs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.thumbs button {
  width: 24%;
  flex: 0 0 24%;              /* ✅ fixed (was invalid) */
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  transition: transform .08s ease, border-color .12s ease;
}

.thumbs button:hover { transform: translateY(-2px); }
.thumbs button:focus { outline: none; border-color: #666; }
.thumbs button.active { border-color: #111; }

.thumbs img {
  width: 100%;
  height: auto;
  min-height: 100px;
  max-height: 130px;
  object-fit: contain;
  display: block;
}

/* =========================
   Header / nav (desktop/tablet)
   ========================= */
#header { width: 100%; }

#top_menu {
  width: 100%;
  margin-top: 10px;
  height: 48px;
  position: relative;
  border-top: 0px solid #414040;
  text-align: center;
}

#menu {
  position: relative;
  margin: 0 auto;
  display: inline-block;
}

.nav ul {
  position: relative;
  width: 100%;
  display: table;
  table-layout: fixed;
}

.menu-item {
  display: table-cell;
  width: auto;
  text-align: center;
  padding: 0 8px;
  font-size: 1vw;
}

.menu-item a:link { font-size: 1.2vw; font-weight: bold; }

.nav a:link,
.nav a:visited {
  font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans",Verdana,sans-serif;
  color: #000;
  text-align: left;
  text-decoration: none;
  padding-left: 5px;
}

.nav a:hover,
.nav a:active { color: #CA2308; }

.nav .selected a { color: #CA2308; }

/* Fix invalid value */
.item-title {
  font-size: 16px;            /* ✅ fixed (was "16 px") */
  font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans",Verdana,sans-serif;
  line-height: 40px;
  padding: 0;
  margin: 0;
  text-decoration: none;
  text-transform: uppercase;
}

/* =========================
   Scroll arrows (if you use them)
   ========================= */
.scroll_arrow_wrapper { position: relative; width: 100%; }

.scroll_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.scroll_arrow_left { left: 10px; }
.scroll_arrow_right { right: 10px; }

/* =========================
   Footer
   ========================= */
#footer {
  background-color: #eee;
  width: 100%;
  min-height: 200px;
  margin-top: 40px;
}

#legal {
  color: #a2a2a2;
  margin: 0 auto;
  width: 85%;
  line-height: 24px;
}

#copyright {
  color: #a2a2a2;
  margin: 0 auto;
}

#footer a:link,
#footer a:visited {
  font-family:"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans",Verdana,sans-serif;
  color: #a2a2a2;
  margin-right: 30px;
  text-align: left;
  text-decoration: none;
  padding-left: 5px;
}

#footer a:hover { color: #CA2308; }

/* =========================
   Mobile hamburger menu
   ========================= */
#mobile_nav { display: none; }

#hamburger {
  width: 92%;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid #111;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.hamburger-bars {
  width: 22px;
  height: 2px;
  background: #111;
  position: relative;
  display: inline-block;
}

.hamburger-bars::before,
.hamburger-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
}

.hamburger-bars::before { top: -7px; }
.hamburger-bars::after  { top:  7px; }

#mobile_menu {
  width: 92%;
  margin: 10px auto 0;
  border: 2px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

#mobile_menu.collapsed { display: none; }

#mobile_menu .mobile-link {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #000;
  border-top: 1px solid #eee;
  font-family:"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans",Verdana,sans-serif;
}

#mobile_menu .mobile-link:first-child { border-top: none; }
#mobile_menu .mobile-link:hover { color: #CA2308; }
#mobile_menu .mobile-link.selected { color: #CA2308; font-weight: 700; }

/* =========================
   Header top row sizing + contact alignment
   IMPORTANT: This is the fix for your phone/email overlap & icon alignment.
   Works with your current header.php markup (img,p,img,p) — no wrappers needed.
   ========================= */
#infoDiv {
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

#contact.header-contact {
  /* icon-left / text-right for 2 rows */
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
  row-gap: 10px;
  align-items: center;
}

/* Kill legacy float/padding that was pushing icons down */
#contact.header-contact #phoneImage,
#contact.header-contact #mailImage {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
}

#contact.header-contact p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2;
}

#contact.header-contact #email a {
  word-break: break-word;
}

/* =========================
   Breakpoints
   ========================= */

/* Phones */
@media (max-width: 600px) {

  /* Hamburger on, top menu off */
  #top_menu { display: none !important; }
  #mobile_nav { display: block; }

  /* Logo center on top */
  #logo { width: 100% !important; text-align: center; margin: 0 auto; }
  #logoImg { display: block; width: 80%; max-width: 320px; margin: 0 auto; }

  /* Contact + social sit on one row */
  #contact { width: 65% !important; margin: 0 auto; }
  #social { width: 30% !important; margin: 0 auto; text-align: center; }
  #social img { width: 34px; height: auto; }

  /* thumbs: fixed square buttons */
  .thumbs button { width: 72px; height: 72px; flex: 0 0 72px; }
  .thumbs img { max-height: 110px; min-height: 72px; }

  /* scroller cards narrower */
  .three_article_section-post-left { width: 340px; min-width: 240px; }
}

/* Tablets+ / Desktop */
@media (min-width: 601px) {
  #mobile_nav { display: none; }
  #top_menu { display: block; }
}

/* Medium+ layout widths you had */
@media (min-width: 461px) {
  #logoImg { width: 100%; max-width: 240px; }
  #logo { width: 19%; }
  #social { width: 16%; height: 50px; margin-top: 40px; }
  #contact { width: 37%; margin: auto; }
}

@media (min-width: 1024px) {
  #social { width: 10%; height: 50px; margin-top: 40px; }
  #contact { width: 30%; margin: auto; }
}
/* =========================
   FINAL header contact alignment fix
   ========================= */

/* Contact block stacks rows cleanly */
#contact.header-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

/* Each row: icon left, text right */
#contact.header-contact .contact-row {
  display: flex;
  align-items: center;     /* vertical alignment FIX */
  gap: 10px;               /* horizontal spacing FIX */
}

/* Text cleanup */
#contact.header-contact .contact-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2;
}

/* KILL all legacy float/padding rules */
#contact.header-contact #phoneImage,
#contact.header-contact #mailImage {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
}

/* =========================================================
   DROP-IN PATCH: Desktop header centering fix
   Paste at VERY BOTTOM of your CSS file
   ========================================================= */
/* =========================================================
   DROP-IN PATCH v2: TRUE centered contact on desktop/tablet
   Paste at VERY BOTTOM of your CSS file
   ========================================================= */

@media (min-width: 601px){

  /* True centered middle lane */
  #infoDiv.flex.header-top{
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;  /* equal left/right lanes */
    align-items: center;
    column-gap: 18px;

    /* neutralize .flex defaults */
    justify-content: normal !important;
    flex-wrap: nowrap !important;
  }

  /* Put each section into its lane */
  #infoDiv #logo{
    grid-column: 1;
    justify-self: start;
    width: auto !important;
    margin: 0 !important;
  }

  #infoDiv #contact{
    grid-column: 2;
    justify-self: center;   /* center of the whole header */
    width: auto !important;
    margin: 0 !important;
  }

  #infoDiv #social{
    grid-column: 3;
    justify-self: end;
    width: auto !important;
    margin: 0 !important;
    margin-top: 0 !important; /* kill the 40px nudge */
    height: auto !important;
  }

  /* Keep your social icons tight/right */
  #infoDiv #social .flex{
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
  }
}

/* =========================================================
   HAMBURGER: move into top header row (mobile only)
   ========================================================= */

.header-hamburger { display: none; }

@media (max-width: 600px){

  /* Put hamburger in the top row, right side */
  .header-hamburger{
    display: block;
    width: auto !important;
  }

  /* Make the right lane hold social + hamburger nicely */
  #social{
    width: auto !important;
    margin: 0 !important;
  }

  /* You currently have #social wrapping a .flex justify-content:flex-end */
  #social > .flex{
    justify-content: flex-end !important;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap !important;
  }

  /* Hamburger button: compact “icon button” style */
  #hamburger{
    width: auto;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
  }

  /* Optional: hide the word "Menu" to keep it clean */
  .hamburger-label{ display: none; }

  /* Mobile menu dropdown still full width under header */
  #mobile_menu{
    width: 92%;
    margin: 10px auto 0;
  }
}

/* =========================================================
   HAMBURGER CLEANUP: remove box + prevent wrapping
   ========================================================= */

@media (max-width: 600px){

  /* Strip the button down to an icon-only control */
  #hamburger{
    width: auto !important;
    margin: 0 !important;
    padding: 6px !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Ensure bars stay crisp */
  .hamburger-bars,
  .hamburger-bars::before,
  .hamburger-bars::after{
    background: #111;
  }

  /* Hide any leftover label text just in case */
  .hamburger-label{
    display: none !important;
  }

  /* Make sure right-side items never wrap */
  #social > .flex{
    flex-wrap: nowrap !important;
  }
}

@media (min-width: 601px){
  #mobile_menu{ display: none !important; }
}
/* =========================
   Quantity stepper (browser-normal sized)
   ========================= */

.quantity-field label{
  display:block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 14px;
}

.quantity-field .req{ color:#b00020; }

.quantity-field .qty-control{
  display:inline-flex;
  align-items: stretch;
  border: 1px solid #bbb;
  border-radius: 6px;
  overflow: hidden;
  background:#fff;
}

/* Buttons */
.quantity-field .qty-control button.qty-btn{
  appearance:none;
  -webkit-appearance:none;

  width: 24px;
  height: 28px;
  min-width: 24px;

  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;

  font-size: 16px;
  font-weight: 700;

  border: 0;
  background: #f3f3f3;
  cursor:pointer;
  user-select:none;
}

/* Input */
.quantity-field .qty-control input.qty-input{
  appearance:none;
  -webkit-appearance:none;

  width: 30px;
  height: 28px;

  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;

  border: 0;
  border-left: 1px solid #bbb;
  border-right: 1px solid #bbb;

  text-align:center;
  font-size: 14px;
  font-weight: 700;
  outline:none;
}

/* Remove spinners */
.quantity-field .qty-input::-webkit-inner-spin-button,
.quantity-field .qty-input::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.quantity-field .qty-input{ -moz-appearance:textfield; }

.quantity-field .qty-control:focus-within{
  border-color:#777;
}

/* Mobile: slightly larger touch target, still not huge */
@media (max-width:600px){
  .quantity-field .qty-control button.qty-btn{
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 18px;
  }
  .quantity-field .qty-control input.qty-input{
    width: 70px;
    height: 34px;
    font-size: 15px;
  }
}

/* ===== Site container normalization ===== */
:root{
  --site-max: 1180px;      /* match your customorder max feel */
  --site-pad: 16px;
}

/* Constrain the main page body across legacy pages */
#MainBody{
  max-width: var(--site-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
  box-sizing: border-box;
}

/* If any of your grids are 100% width, let them fill the container cleanly */
#MainBody .three_article_section_grid,
#MainBody .four_article_section_grid,
#MainBody .two_article_section_grid{
  width: 100%;
  box-sizing: border-box;
}
body{
  background: #f6f6f6;
}

#MainBody{
  background: #fff;
}
/* Quantity stepper: keep border sized to contents (no stretching) */
.co-form .quantity-field .qty-control{
  display: inline-flex;
  width: fit-content;          /* key: prevents full-column stretching */
  border: 1px solid rgba(0,0,0,.35);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.co-form .quantity-field .qty-btn{
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.co-form .quantity-field .qty-btn + .qty-input{
  border-left: 1px solid rgba(0,0,0,.20);
}

.co-form .quantity-field .qty-input{
  width: 64px;
  height: 44px;
  border: 0;
  border-left: 1px solid rgba(0,0,0,.20);
  border-right: 1px solid rgba(0,0,0,.20);
  text-align: center;
  font-size: 16px;
  outline: none;
  -moz-appearance: textfield; /* Firefox */
}

/* Remove number spinners (Chrome/Safari/Edge) */
.co-form .quantity-field .qty-input::-webkit-outer-spin-button,
.co-form .quantity-field .qty-input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

