﻿/* 
-----------------------------------------------------------------------------
Responsive Styles for PosOne Systems
Version: 3.0
Created: 2026
Modern responsive design additions
-----------------------------------------------------------------------------
*/

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: #f0922e;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  #wrapper {
    width: 100%;
    max-width: 950px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  #header {
    width: 100%;
  }

  .top-link-holder {
    width: 100%;
  }

  .mid-content-holder,
  .mid-content-holder-hom {
    width: 65%;
    padding-right: 2%;
  }

  .right-nav-pannel {
    width: 30%;
  }

  .flash-holder {
    width: 100%;
  }

  .ftrd-list-title,
  .prod-list-title {
    width: calc(100% - 10px);
  }

  .ftrd-prodlist-hom1 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  #wrapper {
    padding: 0 15px;
  }

  /* Mobile Menu */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Show product categories when menu open */
  #header.mobile-menu-open .prod-catgry-nav {
    display: block !important;
  }
  
  /* Hide services menu */
  #header.mobile-menu-open .main-nav-top {
    display: none !important;
  }

  /* Header adjustments */
  #header {
    height: auto;
    min-height: 150px;
    position: relative;
  }

  .top-link-holder {
    flex-wrap: wrap;
  }

  /* Clearfix for floated logo and banner */
  #header::after {
    content: "";
    display: table;
    clear: both;
  }

  .top-flag-holder {
    display: none;
  }

  .top-sub-links {
    width: 100%;
    text-align: center;
    height: auto;
    padding: 15px 0;
  }

  .top-sub-links li {
    display: inline-block;
    margin: 0 15px;
    padding: 5px 0;
  }

  .top-sub-links li a {
    padding: 8px 12px !important;
    display: inline-block;
  }

  /* Logo and Banner side by side on mobile */
  .top-logo-holder {
    width: 45%;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    float: left;
    padding-left: 10px;
  }

  .top-logo-holder img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
  }

  .top-banner-ad-01 {
    width: 50%;
    max-width: none;
    margin: 10px 0;
    float: right;
    text-align: right;
    padding-right: 10px;
  }

  .top-banner-ad-01 img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
  }

  /* Main Navigation - HIDDEN on mobile */
  .main-nav-top {
    display: none !important;
  }

  .main-nav-top ul {
    flex-direction: column;
    text-align: center;
  }

  .main-nav-top li {
    display: block;
    margin: 5px 0;
    height: auto;
  }

  .main-nav-top li a {
    display: block;
    padding: 10px;
    border: none !important;
  }

  /* Search */
  .search-prod-top {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    float: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .search-icon {
    margin-bottom: 5px;
  }

  .search-nav {
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 0;
  }

  .prod-search-style {
    width: 100% !important;
    max-width: 250px;
  }

  /* Content Layout */
  .mid-content-holder,
  .mid-content-holder-hom {
    width: 100%;
    padding: 0;
    float: none;
  }

  .right-nav-pannel {
    width: 100%;
    float: none;
    margin-top: 20px;
  }

  /* Flash Banner */
  .flash-holder {
    width: 100%;
    height: auto;
  }

  .flash-holder img {
    width: 100%;
    height: auto;
  }

  /* Featured Products */
  .ftrd-list-title,
  .prod-list-title,
  .prod-list-subtitle1 {
    width: calc(100% - 10px);
    font-size: 16px;
    padding-left: 8px;
  }

  .ftrd-prodlist-hom1 {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
  }

  .ftrd-prodlist-01,
  .ftrd-prodlist-02 {
    width: calc(50% - 10px);
    margin-left: 0;
    margin-bottom: 15px;
    height: auto;
    min-height: 220px;
    box-sizing: border-box;
    padding: 12px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .ftrd-prodlist-title {
    font-size: 13px;
    width: calc(100% - 14px);
    margin-bottom: 8px;
  }

  .ftrd-prodlist-img {
    width: 100%;
    height: auto;
    text-align: center;
    padding: 8px 0;
    margin-bottom: 8px;
  }

  .ftrd-prodlist-img img {
    max-width: 100%;
    height: auto;
  }

  .ftrd-prodlist-descriptn {
    width: 100%;
    height: auto;
    font-size: 11px;
    text-align: center;
  }

  .ftrd-prodlist-more {
    width: 100%;
    text-align: center;
  }

  .ftrd-prodlist-more a {
    width: auto;
    display: inline-block;
  }

  /* Bottom Products */
  .prod-btmnav-holder01,
  .prod-btmnav-holder02 {
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
    height: auto;
  }

  .prod-btmnav-title {
    width: calc(100% - 10px);
    font-size: 13px;
  }

  .prod-btmnav-img {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .prod-btmnav-img img {
    max-width: 100%;
    height: auto;
  }

  .prod-btmnav-txt {
    width: calc(100% - 20px);
    padding: 0 10px;
  }

  /* Featured Items */
  .ftrd-itm-holder01,
  .ftrd-itm-holder02 {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
    height: auto;
  }

  .ftrd-itm-holder01 img,
  .ftrd-itm-holder02 img {
    width: 100%;
    height: auto;
  }

  /* Right Panel */
  .rgt-bnrnav-wrap {
    width: 100%;
    margin-bottom: 10px;
    height: auto;
    text-align: center;
  }

  .rgt-bnrnav-wrap img {
    max-width: 100%;
    height: auto;
  }

  .prod-catgry-nav-title {
    width: calc(100% - 28px);
  }

  .prod-catgry-nav {
    width: 100%;
  }

  .prod-catgry-nav li a {
    width: calc(100% - 28px);
  }

  .right-bnnr-196 {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .right-bnnr-196 img {
    max-width: 100%;
    height: auto;
  }

  /* Footer */
  .footer1 {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .ft-link-holder {
    width: 48%;
    margin-right: 2%;
    float: left;
  }

  .ft-link-holder:nth-child(2n) {
    margin-right: 0;
  }

  .ft-link-holder h1,
  .ft-link-holder h4 {
    width: 100%;
    font-size: 12px;
  }

  .ft-link-holder li,
  .ft-link-holder a {
    width: 100%;
    font-size: 10px;
    line-height: 16px;
  }

  /* Flash Logos */
  .fl-logo {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .fl-logo img {
    max-width: 100%;
    height: auto;
  }

  /* Text Content */
  .txt-contnt {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .txt-contnt img {
    max-width: 100%;
    height: auto;
  }

  .txt-sub-contents {
    width: calc(100% - 30px);
    padding: 10px;
  }

  .txt-sub-contents h2 {
    width: 100%;
    font-size: 18px;
  }

  .txt-sub-contents img {
    width: 100%;
    max-width: 165px;
    height: auto;
    float: none;
    display: block;
    margin: 0 auto 10px;
  }

  /* Product Details */
  .prod-dtl-lft {
    width: 100%;
    float: none;
  }

  .prod-img-lft {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .prod-img-lft img {
    max-width: 100%;
    height: auto;
  }

  .prod-spf-rgt {
    width: 100%;
    padding-left: 0;
    border-left: none;
    border-top: #6d94ac solid 1px;
    padding-top: 20px;
    margin-top: 20px;
    float: none;
    min-height: auto;
  }

  .prod-spf-holder {
    width: calc(100% - 32px);
  }

  .prod-spf-holder h1 {
    width: 100%;
    font-size: 16px;
  }

  .prod-advt468,
  .prod-advt-lft {
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 20px;
  }

  .prod-advt468 img,
  .prod-advt-lft img {
    max-width: 100%;
    height: auto;
  }

  /* Contact Form */
  .ftrd-breadcrum {
    width: 100%;
  }

  .listboxstyle,
  .cntct-textarea {
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
  }

  /* Utility */
  .prod-menu-lft {
    width: 100%;
    margin-top: 20px;
  }

  .prod-menu-lft h1 {
    width: 100%;
  }

  .prod-menu-lft ul {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
    line-height: 18px;
  }

  #wrapper {
    padding: 0 10px;
  }

  /* Single column layout for products */
  .ftrd-prodlist-01,
  .ftrd-prodlist-02 {
    width: 100%;
    margin-bottom: 15px;
  }

  .ftrd-prodlist-title {
    font-size: 14px;
  }

  .ftrd-prodlist-descriptn {
    font-size: 12px;
  }

  /* Footer stacked */
  .ft-link-holder {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .top-sub-links li {
    display: block;
    margin: 5px 0;
  }

  /* Logo */
  .top-logo-holder img {
    max-width: 150px;
  }

  /* Titles */
  .ftrd-list-title,
  .prod-list-title {
    font-size: 14px;
    height: auto;
    padding: 8px;
  }
}

/* Print Styles */
@media print {

  .mobile-menu-toggle,
  .search-prod-top,
  .main-nav-top,
  .top-banner-ad-01,
  .prod-advt468,
  .prod-advt-lft,
  .right-bnnr-196 {
    display: none;
  }

  #wrapper {
    width: 100%;
  }

  .mid-content-holder,
  .mid-content-holder-hom {
    width: 100%;
  }

  .right-nav-pannel {
    display: none;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  body {
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
select:focus,
input:focus,
textarea:focus {
  outline: 2px solid #f0922e;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Flexible containers */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Grid system for modern layouts */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}