/* Responsive styles */

@media screen and (min-width: 1024px) {
  .mob {
    display: none !important;
  }

  .product_main > .product_left {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;
  }
  .product_left > .product_right {
    display: flex;
    width: calc(100% - 620px);
  }
  .product_text {
    width: 100%;
    margin-top: 15px;
  }
  div.carousel {
    margin-top: 0;
  }
} /* /min-width:1024px ------------------------------------------------------------------------------------------ */

@media screen and (max-width: 1023px) {
  * {
    box-sizing: border-box;
    max-width: 100%;
  }
  table {
    table-layout: fixed;
    width: 100%;
  }
  img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
  }
  body {
    margin: 0px;
    padding: 0px;
  }
  iframe {
    max-width: 100% !important;
  }
  object {
    max-width: 100% !important;
  }
  .pc {
    display: none !important;
  }

  div.headeruser {
    display: none;
  }
  div.headercheckout {
    display: none;
  }
  div.header {
    display: flex;
    height: auto;
    align-items: center;
    padding: 5px 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
  }
  a.mob_button {
    color: #fff !important;
  }
  .content > .side {
    display: block;
    width: 350px;
    margin: auto;
    position: fixed;
    left: auto;
    right: -400px;
    top: 0;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
    transition-duration: 0.3s;
  }
  .content > .side.open {
    right: 0px;
  }
  div#closenav {
    display: flex;
    justify-content: right;
    margin-bottom: 30px;
  }
  .content > .side h1 {
    font-size: 1.6rem;
  }
  div.content {
    height: auto;
    line-height: 1.5;
  }
  .content > .side ul#products {
    padding: 0;
    display: block;
    list-style-type: none;
  }
  .content > .side ul#products > li {
    display: block;
    border-bottom: solid 1px rgba(0, 128, 0, 0.2);
    position: relative;
  }
  .content > .side ul#products a {
    display: block;
    padding: 7px 0;
    text-decoration: none;
  }
  a.sub {
    position: absolute;
    display: inline-flex;
    top: 0;
    left: auto;
    right: 0;
    width: 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 999;
  }
  .content > .side ul#products > li > div {
    background-color: rgba(0, 128, 0, 0.1);
  }
  .content > .side ul#products ul > li > div {
    margin-left: -15px;
    margin-right: -15px;
    max-width: calc(100% + 15px);
  }
  .content > .side ul#products > li ul > li {
    padding-left: 15px;
    border-bottom: solid 1px rgba(0, 128, 0, 0.05);
  }
  .content > .side ul#products > li ul ul > li > a:not(.sub) {
    padding-left: 10px;
  }
  .content > .side .product-search-sidebar {
    display: none;
  }
  .content > .main .product-search-main {
    display: block;
    margin-bottom: 25px;
  }
  .content > .main .product-search-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }
  .content > .main .product-search-row input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
  }
  .product-search-row input[type="text"],
  .product-search-row input[type="submit"],
  .product-search-row button[type="submit"] {
    height: 44px;
  }
  .content > .side > a {
    display: block;
    padding: 7px 5px;
  }
  .content > .side > a + br {
    display: none;
  }
  .content > .side > a > br {
    display: none;
  }
  div.footer {
    height: auto;
    padding: 5px 15px;
    width: 100%;
    line-height: 1.5;
  }
  div#mob_footer {
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
  }
  div#mob_footer > a {
    display: flex;
    flex-direction: column;
    color: #111;
    gap: 3px;
    text-decoration: none;
  }
  #mob_footer > a > svg {
    height: 30px;
    width: auto;
  }
  #mob_footer > a span {
    font-size: 0.8rem;
    text-transform: uppercase;
  }
  #mob_footer {
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: #fff;
  }
  .sidepad > a {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  form[action="contact.php"] {
    display: block;
  }
  .register_page .wrapper {
    padding: 5px 15px;
    margin-bottom: 15px;
  }
  .register_page .wrapper .flex-container {
    flex-direction: column;
  }
  .register_page .wrapper .flex-container input {
    height: 44px;
  }
  .register_page .wrapper .flex-container .grid-item {
    display: block;
    width: 100%;
  }
  .register_page .wrapper .flex-container input[type="submit"] {
    width: 100%;
    margin-top: 15px;
  }
  a.home_back {
    display: flex;
    gap: 15px;
  }
  .side form[action="index.php"] {
    display: block;
    margin: 30px auto;
  }
  .side .trustpilot-widget {
    margin: 30px auto 15px auto;
  }
  div.flex-container {
    flex-wrap: wrap;
  }
  .content_wrapper {
    padding: 15px 15px;
  }
} /* /max-width:1023px ------------------------------------------------------------------------------------------ */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .login_page .centercol {
    width: 400px;
    margin: 0 auto;
  }
  div.carousel {
    width: 400px;
  }
  .product_left > .product_right {
    display: none !important;
  }
} /* /min-width: 768px) and (max-width: 1023px) ----------------------------------------------------------------- */

@media screen and (max-width: 767px) {
  div.footer {
    font-size: 0.8rem;
  }
  .headerlogo img {
    max-width: 200px;
  }
  body div.content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .content > .main {
    flex: 100%;
    margin: auto;
    padding: 0;
    width: 100%;
  }
  div#mob_footer > a > svg {
    height: 25px;
  }
  #mob_footer > a span {
    font-size: 0.6rem;
    text-transform: uppercase;
  }
  form[action="contact.php"] > p {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }
  form[action="contact.php"]
    > p
    input:not([type="submit"]):not([type="radio"]):not([type="button"]):not(
      [type="checkbox"]
    ) {
    display: block;
    width: 100%;
    margin: auto;
    height: 44px;
  }
  form[action="contact.php"] input[type="submit"] {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: 44px;
  }
  .login_page .centercol {
	margin: 0 auto;
	padding: 22px 18px;
	border: 1px solid #d4d8de;
  }
  form[action="login.php"] {
    display: block;
  }
  form[action="login.php"] > .t_row {
    display: flex;
    flex-direction: column;
  }
  form[action="login.php"] > .t_row > div {
    display: block;
    width: 100%;
  }
  form[action="login.php"]
    input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):not(
      [type="button"]
    ) {
	width: 100%;
	display: block;
	margin: 0;
	height: 44px;
  }
  form[action="login.php"] input[type="submit"] {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	height: 44px;
  }
  div.centercol {
    margin-left: auto;
    margin-right: auto;
  }
  div#register_customer_form {
    flex-direction: column;
    gap: 30px;
  }
  div.productlisting {
    display: flex;
    flex-direction: column;
    border: solid 1px #eee;
    padding: 15px;
    border-radius: 5px;
  }
  div.productlisting > div {
    padding: 10px 0;
  }
  .plimage img {
    display: block;
    margin: auto;
  }
  div.product_main {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
  }
  div.product_right {
    padding: 5px 0;
  }
  div.product_script {
    padding: 0px;
  }
  div.product_form {
    width: 100%;
  }
  .product_form form {
    display: block;
    width: 100%;
  }
  .product_form form select {
    width: 100%;
    height: 35px;
  }
  .product_form form input:not([type="radio"]) {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 35px;
  }
  .productlisting .plbuysub {
    width: 100%;
  }
  .productlisting .plbuysub input {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 35px;
  }
  .centercol form[action="checkout.php"] {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
  }
  .centercol form[action="checkout.php"] > .cart_table {
    min-width: 650px;
  }
  .centercol form[action="checkout.php"] .cart_btn input[type="submit"] {
    height: 44px;
    margin-top: 10px;
  }
  div#register_customer_form input:not([type="radio"]):not([type="checkbox"]) {
    height: 44px;
  }
  div#register_customer_form .grid-item {
    display: block;
    width: 100%;
  }
  .centercol form[action="checkout.php"] select {
    height: 44px;
    padding: 0 5px;
  }
  .shipping-method-list {
    max-width: none;
  }
  .shipping-method-choice {
    grid-template-columns: 24px 92px minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
  }
  .shipping-carrier-logo,
  .shipping-carrier-badge {
    width: 88px;
  }
  .shipping-method-price {
    grid-column: 3;
    text-align: left;
  }
  .customer_page input:not([type="radio"]) {
    height: 44px;
  }
  .customer_page .flex-container .grid-item {
    display: block;
  }
  .checkout_payment_page .centercol {
    padding-left: 15px;
    padding-right: 15px;
  }
  .checkout_payment_page .payment_container {
    padding: 0;
  }
  .checkout_payment_page .payment_container .payment_method {
    margin-left: auto;
    margin-right: auto;
    padding: 20px 15px;
  }
  .checkout_payment_page .payment_container .payment_method input[type="text"] {
    height: 35px;
  }
  div.card_logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
  .paypal-button.paypal-button-size-large .zoid-outlet {
    width: 100%;
    max-width: 100% !important;
  }
  .list_orders_table {
    display: block;
    overflow-y: auto;
    width: 100%;
  }
  .list_orders_table > table {
    min-width: 500px;
  }
  .product_main > .product_right {
    display: none !important;
  }
  .product_left > .carousel {
    order: 1;
  }
  .product_left > .product_right {
    order: 2;
  }
  .product_left > .product_text {
    order: 3;
  }
} /* /max-width:767px ------------------------------------------------------------------------------------------- */
