/*
 Theme Name: Custom Box Wire
 Author: Developer Awais
 Description: A custom WordPress theme for box wire.
 Version: 1.0
*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/font-awesome.min.css');
:root {
  --family: "Roboto", sans-serif;
  --family-s: "Roboto", sans-serif;
  --family-m: "Roboto", sans-serif;
  --family-c: "Roboto", sans-serif;
  --family-i: "Roboto", sans-serif;
  --text: #494949;
  --text-a: #6e6e6e;
  --title: #333333;
  --primary: #d05110;
  --secondary: #f99637;
  --accent: #f77e0b;
	--radius:5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background: #f5f5f5;
  overflow-x: hidden;
}

body {
  font-family: var(--family);
  font-size: 16px;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
  background-color: #ffffff;
  line-height: 1.6;
  color: var(--text);
}

h1,
h2,.section-heading-h2,
h3,
h4,
h5,
h6 {
  font-family: var(--family-s);
  color: var(--title);
  font-weight: 600;
  line-height: 1.2;
  margin-block-end: 1rem;
  margin-block-start: .5rem;
}

h1 {
  font-size: 42px;
}

h2,.section-heading-h2 {
  font-size: 32px;
}

h3 {
  font-size: 25px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  color: var(--text);
}
strong {
    color: #3a3a3a;
}
ol,
ul {
  margin: 0;
  padding: 0 0 0 30px;
  color: var(--text);
}
ol, ul, p {
    margin-block-start: 0;
    margin-block-end: 0.9rem;
}
.btn {
  display: block;
  background: var(--primary);
  color: #fff;
  padding: 8px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  font-size: 16px;
  width: fit-content;
}

.btn:hover {
  background: var(--secondary);
  color: #fff;
}

.btn-stroke {
  display: block;
  background: transparent;
  color: white;
  padding: 10px 30px;
  border: 1px solid white;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.btn-stroke:hover {
  background: var(--primary);
  color: #fff;
  border-color:white;
}

.btn-stroke-black {
  display: block;
  background: transparent;
  color: var(--title);
  padding: 10px 30px;
  border: 1px solid var(--title);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.btn-stroke-black:hover {
  background: var(--primary);
  color: white;
  border-color:var(--title);
}
.btn-center {
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

table {
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.9em;
	margin-block-end: 15px;
	width: 100%;
}

table td,
table th {
	border: 1px solid hsla(0, 0%, 50%, 0.502);
	line-height: 1.5;
	padding: 15px;
	vertical-align: top;
}

table th {
	font-weight: 700;
}

table tfoot th,
table thead th {
	font-size: 1em;
}

table caption + thead tr:first-child td,
table caption + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table thead:first-child tr:first-child td,
table thead:first-child tr:first-child th {
	border-block-start: 1px solid hsla(0, 0%, 50%, 0.502);
}

table tbody + tbody {
	border-block-start: 2px solid hsla(0, 0%, 50%, 0.502);
}


table tr,
table td,
table th {
	background: #0000;
	color: var(--e-global-color-primary);
	text-align: left;
	color: #000;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
}
table td {
	color: var(--text);
}
.txt-center {
  text-align: center;
}

.col {
  box-sizing: border-box;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.col.align-center {justify-content: center}
.col.no-gap{gap:0}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.space-70 {
  margin-top: 70px;
  margin-bottom: 70px;
}

.space-50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

.space-30 {
  margin-top: 30px;
  margin-bottom: 30px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-50 {
  margin-bottom: 50px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 15px));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, calc(33.333% - 20px));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, calc(25% - 22.5px));
  gap: 30px;
}
.relative{position:relative}
.show-mobile {
  display: none;
}

@media screen and (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, calc(33.33% - 13.33px));
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, calc(50% - 10px));
    gap: 20px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, calc(50% - 10px));
    gap: 20px;
  }
  .m-col-reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block;
  }
}
@media screen and (max-width: 450px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
header {
  position: relative;
	border-bottom:1px solid #ddd;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 20px 0;
}

.header-logo img {
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.header-search {
  display: flex;
  align-items: center;
  position: relative;
  width: 400px;
}

.header-search input {
  width: 100%;
  font-family: var(--family-s);
  padding: 8px 40px 8px 16px;
  font-size: 15px;
  border-style: none;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.09);
  outline: none !important;
	height:40px;
}

.header-search i {
  position: absolute;
  right: 10px;
  color: #6e6e6e;
  font-size: 16px;
}

.search-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #ddd; z-index: 999; display: none; max-height: 250px; overflow-y: auto; }
.search-results .search-item { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; text-align: left;padding: 10px;color: var(--title);display: flex;align-items: center;gap: 15px;text-decoration: none;font-weight: 600;}
.search-results .search-item:hover { background: #f5f5f5; }
.search-results .search-item img.search-thumb {width: 60px;height: 60px;border-radius: var(--radius);}
.header-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6e6e6e;
  text-decoration: none;
  font-size: 18px;
}

.header-contact img {
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.header-quote-btn {
  background-color: #d05110;
  color: #ffffff !important;
  font-family:var(--family-m);
  font-weight: 500;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1;
}

.header-quote-btn:hover,
.header-quote-btn:focus {
  background-color: #f99637;
}

.header-nav {
  padding: 10px;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-item {
  position: relative;
  margin: 0 10px;
}

.menu-item > a {
  text-decoration: none;
  color: #6e6e6e;
  padding: 5px 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item a .fas.fa-chevron-down {
  font-size: 0.8em;
  color: #6e6e6e;
  transition: transform 0.3s ease;
}

.menu-item:hover a .fas.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 10px 0;
  z-index: 10;
  border-radius: var(--radius);
}
.custom-boxes-dropdown .dropdown,
.box-styles-dropdown .dropdown,
.accessories-dropdown .dropdown,
.product-boxes-dropdown .dropdown {
  left: 50%;
  translate: -30% 0;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  width: 650px;
  gap: 30px;
  row-gap: 40px;
  padding: 25px;
}
.custom-boxes-dropdown:hover .dropdown,
.box-styles-dropdown:hover .dropdown,
.accessories-dropdown:hover .dropdown,
.product-boxes-dropdown:hover .dropdown {
  display: grid;
}
.menu-dropdown-product {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-dropdown-product img {
  width: 70px;
  height: auto;
  max-width: none;
  object-fit: contain;
  border-radius: var(--radius);
}
.menu-dropdown-product-info {
  display: flex;
  flex-direction: column;
}
.menu-dropdown-product-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 3px;
}
.menu-dropdown-product-description {
  font-size: 14px;
  color: #6e6e6e;
  margin: 0;
}

.dropdown li {
  border-bottom: 1px solid #eaeaea;
}

.dropdown li:last-child {
  border-bottom: none;
}

.products-dropdown .dropdown li {
  border-bottom: none;
}

.products-dropdown .dropdown li:nth-child(odd) {
  border-right: 1px solid #eaeaea;
}

.dropdown li a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #6e6e6e;
  font-size: 16px;
}

.dropdown li a:hover {
  background-color: #f9f9f9;
}

.services-dropdown .dropdown,
.help-dropdown .dropdown {
  width: 270px;
}

.services-dropdown:hover .dropdown,
.help-dropdown:hover .dropdown {
  display: block;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: #6e6e6e;
  margin: 5px 0;
  width: 25px;
  transition: all 0.3s ease;
}
.cross {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid red;
  border-radius: var(--radius);
}
.cross span {
  display: block;
  position: absolute;
  height: 4px;
  background-color: red;
  margin: 5px 0;
  width: 20px;
  transition: all 0.3s ease;
}

.cross span:nth-child(1) {
  transform: rotate(45deg);
}

.cross span:nth-child(2) {
  transform: rotate(-45deg);
}
header .account a{
	color:var(--title);
}
header .cart i{font-size:22px;color:var(--text)}
header .account #user-icon{
    font-size: 24px;
	display:none;
}
.logged-in header .account .login{display:none}
.logged-in header .account #user-icon{display:inline-flex}
.user-account{
    position: relative;
    display: flex;
    gap: 30px;
    align-items:center ;
}
.account{
    position: relative;
    cursor: pointer;
}
.logged-in .account:after{
    content: "";
    width: 6px ;
    height: 6px;
    rotate: 45deg;
    border-bottom: 2px solid #000;
    position: absolute;
    border-right: 2px solid #000;
    top: 50%;
    translate: 0 calc(-50% - 3px);
    transition: .3s ease;    
	left: calc(100% + 5px);
}
.account:hover:after{
    rotate: 225deg;
}
.user-options{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 100%;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width:150px;
    translate: -50%;
    z-index: 10;
    border-radius: var(--radius);
}
.logged-in .account:hover .user-options,
.user-options.active{
    display: flex;
}
.user-options a{
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #6e6e6e;
    font-size: 16px;
}
.user-options a:hover{
    background-color: #f9f9f9;
}
@media (max-width:1024px){
  .header-contact {
    display: none;
  }
  .menu-item > a{
    padding: 5px 10px;
    font-size: 14px;
  }
  .menu-item{
    margin: 0;
  }
}
@media (max-width: 768px) {
  .header-top {
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
  }

  .header-logo {
    width: 50%;
    text-align: left;
  }
  .header-search {
    width: 100%;
    order: 2;
  }
  .header-nav {
    position: fixed;
    left: -200%;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    z-index: 1000;
    box-sizing: border-box;
    padding: 0;
    transition: 0.2s ease;
    overflow-y: auto;
  }
  .header-nav.active {
    left: 0;
  }
  
  .menu-item > a{
    padding: 5px 10px;
    font-size: 17px;
  }
  .header-quote-btn {
    display: none;
  }
  .menu {
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
  }
  .menu.li {
    width: 100%;
  }
  .menu * {
    user-select: none;
  }
  ul.menu > li {
    width: 100%;
  }
  .custom-boxes-dropdown .dropdown,
  .box-styles-dropdown .dropdown,
  .accessories-dropdown .dropdown,
  .product-boxes-dropdown .dropdown {
    grid-template-columns: 1fr;
    width: 320px;
    left: 0;
    translate: 0 0;
  }
  .hamburger {
    display: block;
  }
  .logo-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px 30px 10px;
  }
  .dropdown {
    position: relative;
  }
  header .menu .menu-item .dropdown {
    display: none;
  }

  header .menu .menu-item a i.fas.fa-chevron-down {
    transform: rotate(0);
  }
  header .menu .menu-item a i.fas.fa-chevron-down.active {
    transform: rotate(180deg);
  }
  header .menu .menu-item .dropdown.active {
    display: grid;
  }
  header .contact-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px;
  }
  header .mobile-buttons {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-buttons .button-one,
  .mobile-buttons .button-two {
    width: calc(50% - 10px);
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 15px;
    text-align: center;
    border: none;
    cursor: pointer;
  }
  .mobile-buttons .button-one {
    background-color: #d05110;
    color: white;
    white-space: nowrap !important;
  }
  .mobile-buttons .button-two {
    background-color: #333333;
    color: white;
  }
  header .contact-info {
    color: #494949e0;
    text-align: center;
    line-height: 17px;
    font-weight: 400;
    font-size: 14px;
  }
  header .contact-info .number {
    color: #f77e0b;
    font-weight: 600;
    font-size: 26px;
    display: block;
    margin: 15px 0 -6px 0;
  }
}

.footer {
  background-color: #282c33;
  padding: 0 0 10px;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin: 0 auto;
  padding: 30px 20px;
  max-width: 1410px;
  box-sizing: border-box;
}

.footer-heading {
  font-weight: 600;
  color: #f8720f;
  font-size: 18px;
  text-align: left;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-menu-item {
  font-weight: 400;
  font-size: 16px;
}

.footer-menu-item a {
  color: #f1eee4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu-item a:hover {
  color: #f77e0b;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact-item {
  font-weight: 400;
  font-size: 16px;
  color: #f1eee4;
}

.footer-contact-item a {
  color: #f1eee4;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icon i {
  font-size: 20px;
  color: #fff;
}

.footer-description,
.footer-payment-description {
  color: #f1eee4;
  font-size: 16px;
  margin-top: 15px;
}

.footer-brand {
  display: grid;
  align-items: flex-start;
}

.footer-brand img,
.payment-icons img {
  width: auto;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.payment-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.payment-icons img {
  width: 50px;
}

.footer-contact i {
  color: #f1eee4;
  margin-right: 4px;
}

.footer-divider {
  width: 100%;
  height: 2px;
  background-color: #727479;
  margin: 0;
  border: none;
}

.footer-copyright {
  text-align: center;
  color: #f1eee4;
  font-size: 15px;
  padding-top: 10px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .payment-icons img {
    width: 15%;
  }

  .footer-description {
    margin-top: 5px;
  }
}

section.request-sample {
  background: #fff4ef;
}
section.ready-to-order,
section.request-quote {
  background-image: url(https://www.customboxwire.com/wp-content/uploads/2025/11/request-quote.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 70px 0;
}
.artwork-guidelines h2 {
  font-size: 25px;
}

@media (min-width: 1024px) {
  .artwork-guidelines .col:first-child {
    padding-right: 40px;
  }
  .artwork-guidelines .col:last-child {
    padding-left: 40px;
  }
}