@charset "utf-8";
* {margin: 0;padding: 0;list-style: none;}
.orgcolor{color:#023f98;}
.p-name{
	margin-bottom:1em;
	text-indent: 2em;
	padding-left: 6px;
   padding-right: 6px;
}
h1{font-size:16px;}
.stock-info[data-per-ctn]::after {
  content: attr(data-per-ctn);
  display: block;     
  font-size: 0.8em;  
  line-height: 1.25;
}
.close-btn.top-right {
	position: absolute;
	right: 12px;
	top: 0;
	background: none;
	border: none;
	color: red;
	cursor: pointer;
	font-weight: bold;
	font-size: 2.2em;
}

.registration-form a {
	color: #0073aa;
	text-decoration: underline;
}

.login-form {
	background: white;
	padding: 20px;
	max-width: 400px;
	margin:0 auto;
	width: 90%;
	border-radius: 8px;
	position: relative;
}
.login-form div{
	margin-bottom:1em;
}
#selected-user-info{
	font-size:12px;
}
.na{
	margin-top:1em;
}
.login-form p{
	margin-top:1em;
}
main{min-height:76vh;}

#what-but {
	background-color: #25d466;
	border: none;
	border-radius: 100px;
	padding: 10px 24px;
	cursor: pointer;
	position: fixed;
	bottom: 7.2%;right:15px;
	z-index: 99;
}
.whatapp {
	display: flex;
	justify-content: center;
	align-items: center;
}
.whatapp span {
	display: block;
	color: white;
	font-size: 17px;
	font-weight: 600;
	margin-left: 0.5em;
}
#what-but:hover {
	opacity: 0.8;
	transition: 0.3s;
}
.mobile-whatsapp {
	display: none;
}
 @media screen and (max-width:768px) {
p {font-size: 14px;}
.pc-whatsapp {display: none;}
.mobile-whatsapp {display: block;}
#what-but {
	padding: 20px;
	right:1%;
	bottom:11%;
}
}
.org-yh{
position: fixed;
bottom: 1%;
right:1%;	
text-align: center;
z-index: 1;
}
div.hy{
	background: #2d2727b3;
	padding: 0.5em;
	border-radius: 0.5em;
}
@media (max-width: 768px) {
	.org-yh {width:100%;}
   div.hy {padding: 0.3em;}
}
.org-yh a{
	text-decoration:none;
	color:#fff;
}	
#products-php-output {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
	display: none;
}
header {
	background-color: #ffffff;
	position: sticky;
   top: 0;z-index:999;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.header-container {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
}
.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1160px;
   margin: 0 auto;
}
.logo{display: flex;margin-left:5px;}
.logo img{max-height: 80px;display:block;}

.nav {position: relative;}
.nav a{color:#000;}
  .desktop-nav {
    display: flex;
    list-style: none;
    align-items: center;
    height: 80px;
    position: relative;
    max-width: 100%;
  }
  .nav-link {
    text-decoration: none;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;text-align:center;
    transition: background-color 0.3s;
    position: relative; 
  }
  .dropdown-content {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%; 
    background-color: #043567ed;
    padding: 30px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 90;
    transform: translateY(-15%);
    opacity: 0;
    pointer-events: none; 
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
.products-dropdown>a{
	text-decoration:none;display: flex;
    height: 100%;
    text-align: center;
    align-items: center;}
  .products-dropdown:hover .dropdown-content {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .products-dropdown::before {
    content: "";
    position: absolute;
    bottom: 2px; 
    left: 50%;
    transform: translateX(-50%);
    opacity: 0; 
    transition: opacity 0.3s ease;
    width: 0;height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #154272; 
  }

  .products-dropdown:hover::before {opacity: 1;}

  .dropdown-grid {
    display: grid;padding:0 2%;
    grid-template-columns: repeat(5, 1fr);
    gap: 2%;
  }

  .dropdown-column h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fde04e;
  }

  .dropdown-column a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 8px 0;
    font-size: 14px;
    transition: color 0.2s;
  }
  .dropdown-column a:hover {text-decoration:underline;color: #0fa6ff;}
  .nav-link:hover,.nav-link>a:hover {color:#042f5b;}
.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color:#042f5bed;
	transition: width 0.3s ease;
}
.nav-link:hover::after {
	width: 100%;
}

.content-area {
	height: 24rem;
	background-color: #f3f4f6;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.content-area p {
	color: #6b7280;
}
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.modal-content {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	max-width: 90%;
	max-height: 80%;
	overflow-y: auto;
	box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.modal-content h3 {
	margin-top: 0;
}
.modal-content button {
	margin-top: 15px;
}
.registration-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
}
.registration-overlay.hidden {
	display: none;
}
.registration-form {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	width: 320px;
	position: relative;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.registration-form h2 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 16px;
}
.registration-form label {
	display: block;
	margin-top: 10px;
	font-weight: bold;
	font-size: 14px;
}
.registration-form input[type="text"], .registration-form input[type="email"], .registration-form input[type="password"] {
	width: 100%;
	padding: 8px;
	margin-top: 4px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.registration-form button[type="submit"] {
	margin-top: 15px;
	width: 100%;
	padding: 10px;
	background: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
.registration-form .close-btn {
	position: absolute;
    top: 0;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 2.2em;
    cursor: pointer;
    color: red;
}
body {
	font-family: Arial, sans-serif;
	background: #f5f5f5;
}
h2 {
	margin-bottom: 20px;
	font-size:14px;
}
@media (max-width: 768px) {
    #lock-log-modal h2 {
        font-size:14px;
    }
}
.tab-container {
	margin-bottom: 10px;
}
.tab-button {
	padding: 6px 12px;
	border: none;
	background: #ddd;
	cursor: pointer;
	border-radius: 4px;
}
.tab-button.active {
	background: #007bff;
	color: white;
}
table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
th, td {
	border: 1px solid #ddd;
	padding: 10px 6px;
	text-align: center;
}
th {
	background: #0975e9;
	color: white;
}
.quantity-wrapper {
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
}
input.order-input {
	width: 50px;
	text-align: center;
	padding: 4px;
	font-size: 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	-moz-appearance: textfield;
}
@media (max-width: 768px) {
    input.order-input{
        font-size: 13px;
		width:25%;
    }
}
 input.order-input::-webkit-outer-spin-button, input.order-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.inline-total {
	font-size: 0.9em;
	color: #666;
	margin-top: 5px;
}
button {
	background: #28a745;
	color: white;
	border: none;
	padding: 6px 12px;
	cursor: pointer;
	border-radius: 4px;
	transition: opacity 0.2s;
}

@media (max-width: 768px) {
.quantity-wrapper button{
   padding: 4px 6px;
}
}
button:disabled {
	background: #cccccc;
	cursor: not-allowed;
}
.btn-add {
	padding: 8px 16px;
}
.cart-icon {
	position: fixed;
	font-size: 19px;
	top: 100px;
	right: 15%;
	background: #a3baff;
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	z-index: 1000;
}
@media (max-width: 768px) {
    .cart-icon {
      top:116px;
		right:6%;
    z-index: 0;
		width:12%;
		height:6.5%;
    }
}
.count {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff4444;
	color: white;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8em;
}
@media (max-width: 768px) {
    .count{
       font-size: 0.6em;
    }
}
.cart-modal {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.6);
}
.cart-modal-box {
	width: 50%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 2% auto 0;
    overflow-y: auto;
    z-index: 999;
    max-height: 88%;
}
#cart-items{
	max-height: 56%;
    overflow: auto;
}
.cart-modal.show {
	display: block;
}
.cart-header {
	display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid beige;
	 font-size: 14px;
}
.close-btn {
	background: #ff4444;
}
.cart-item {
	padding: 11px;
	border-bottom: 1px solid #e5e5e5;
	position: relative;
}
.remove-btn {
	position: absolute;
	right: 5px;
	top: 5px;
	border: none;
	background: transparent;
	font-size: 24px;
	color: #999;
	cursor: pointer;
}
.total {
	font-weight: bold;
	text-align: right;
	margin-top: 16px;
}
.empty-cart {
	color: #999;
	text-align: center;
	padding: 20px;
}
.cart-footer {
	text-align: right;
	margin-top: 0;
	padding-top:5px;
}
.cart-footer button {
	font-size: 14px;
}
.clear-cart {
	background: #ffc107;
	color: black;
}
.hidden {display: none;}
.contact-info span{margin-right:4px;}

.dashboard {
	max-width: 800px;
	margin: 10px auto;
	padding: 15px;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.dashboard .list-input {
	padding: 2px;
	font-size: 15px;
}
.dashboard h2 span {
	margin: 0 12px;
}
.dashboard h3 {
	margin: 8px 0;
}
.dashboard li {margin: 4px 0;}
.packing-system th {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
	background-color: transparent;
	color: black;
}
.packing-system .hy-cg {
	padding: 5px 16px;
}
#admin-prices-table input {
	max-width: 120px;
	padding: 4px;
	font-size: 17px;
}
#save-table {
	float: right;
	padding: 9px 18px;
	margin: 8px 10px;
}
.choose-user {
	margin: 10px auto;
}
.lock-prices-page {
	padding: 15px;
}
.lock-prices-page p {
	margin: 10px 0;
}
.lock-prices-page li {
	margin: 3px 0;
}
#select-user {
	font-size: 15px;
	padding: 3px;
}
#save-prices-btn {
	float: right;
}
.user-info-block {
	margin: 20px 0;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
}
#cart-items .quantity-wrapper {
	margin: 8px 0 4px;
}
.user-info-block p {
	display: flex;
	margin: 5px 0;
}
.user-info-block strong {
	width: 80px;
	display: inline-block;
}
.filter-controls {
	display: flex;
}
.filter-controls select {
	font-size: 15px;
	margin-right: 10px;
	padding: 2px;
}
#order-filter {
	min-width: 217px;
}
#order-list>div {
	border: 1px solid #ccc;
	padding: 15px;
	margin-bottom: 12px;
	border-radius: 6px;
	background: #f9f9f9;
	line-height: 1.6;
}
#order-list>div strong {
	min-width: 80px;
	display: inline-block;
}
#order-list>div li {
	line-height: 1.5;
	padding: 6px 0 10px;
	border-bottom: 1px solid #dfdede;
}
#selected-user-info li {
	list-style: none;
}
#lock-log-content {
	white-space: pre-wrap;
	padding-left: 10px;
}
#lock-log-content li {
	list-style-type: disc !important;
	font-size: 15px;
	margin: 8px 0;
}
#lock-controls {
	justify-content: center;
}
#lock-controls button {
	margin: 5px 10px;
	padding: 5px 10px;
}

@media (max-width: 768px) {
	#lock-log-content li{font-size:12px;}
  #lock-controls button{
   margin: 5px 10px;
	padding: 5px 10px;
    }
}

#lock-expire-timer{
	 color: red;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.total-prices {
	margin: 11px 0;
	font-weight: bold;
	font-size: 18px;
}
.order-btbox button {
	margin-right: 20px;
	padding: 9px 18px;
}
.profile-form {
	background-color: white;
	padding: 2rem 2rem 1rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-form h2 {
	margin: 0 0 30px;
}
.profile-form .form-row {
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.profile-form label {
	display: inline-block;
	flex: 0 0 120px;
	;
	color: #333;
	font-weight: 500;
	vertical-align: middle;
}
.profile-form label span {
	font-size: 14px;
	display: inline-block;
}
.profile-form input {
	flex: 0.5;
	padding: 0.7rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
}
.profile-form .savebt {
	padding: 10px 22px;
}
.order-review {
	margin:8px auto 0;
	max-width: 1000px;
	min-height: 72vh;
}
.wrap {
	max-width: 1000px;
	margin:8px auto 0;
	background-color: white;
	padding: 20px 15px;
	min-height: 72vh;
	border-radius: 8px;
}
.wrap>p {
	margin: 10px 0;
}
.table-content table th {
	font-size: 12px;
}
.table-content table td {
	font-size: 10px;
}
.table-content th, td {
	padding: 6px 4px;
}
.table-content .btn-add {
	padding: 10px 5px;
	font-size:12px;
}
.total {
	margin: 11px 0 6px;
	font-size:14px;
}
.cart-footer button {
	margin: 5px 0;
}
.cart-modal-box {
	margin: 10px auto 0;
	width: 88%;
}
.cart-item {
	padding: 10px;
}
.cart-item strong{
	font-size:12px;
}
.cart-item small{
	font-size:12px;
}
.status-label{
	font-size:12px;
}
	.qty-display{
		font-size:12px;
	}
.header-container {
	padding: 0 10px
}
.lock-prices-page {
	padding: 15px 10px;
}
#cart-items .quantity-wrapper {
	margin: 3px 0;
}
#cart-items button {
	padding: 4px 6px;
}
#cancel-lock-btn {
	font-size: 12px;
}
#admin-prices-table th {
	padding: 10px 6px;
	font-size: 12px;
}
#admin-prices-table td {
	padding: 8px 3px;
	font-size: 14px;
}
#admin-prices-table input {
	max-width: 70px;
	padding: 2px 0;
	font-size: 14px;
}
#admin-prices-table .price, #admin-prices-table .subtotal {
	min-width: 80px;
}
#select-user {
	font-size: 14px;
	padding: 2px;
}
#productList .quantity-wrapper button {
	padding: 4px 6px;
}
#productList input.order-input {
	width: 30px;
	font-size: 13px;
}
#order-list>div {
	font-size: 15px;
	padding: 15px 10px;
}
.total-prices {
	font-size: 15px;
}
.order-btbox button {
	margin-right: 3%;
	padding: 7px 10px;
}
.order-btbox button:nth-child(4) {
	margin-right: 0;
}
.company-info{text-indent:2em;}
footer{
  background-color: #042f5b;
background:url(https://orgautoparts.com/wp-content/uploads/home/foot-back.webp) no-repeat;
	background-size:cover;
	background-position:center;
	color: #fff;
  padding: 30px 15px 15px;
  font-size: 15px;margin-top: 50px;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
	font-size:16px;
}
.footer-container p{line-height:1.6;font-size:16px;}
.footer-col svg{margin-right:5px;transform: translateY(5px);}
.footer-title {
  font-size: 20px;
   color: #fde04e;
   margin-bottom: 12px;
   padding-bottom: 10px;
   font-weight: 600;
}
.footer-title::after {
  content: "";
  display: block;
  width: 65px; 
  height: 2px; 
  background-color:#fde04e; 
  margin: 10px 0 0 0;
}
.foot-pro{display: grid;grid-template-columns: repeat(2, 1fr);gap:0 20px; }
.footer-col ul li {margin-bottom: 10px;}
.footer-col a {
  color:#fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {color: #0fa6ff; text-decoration: underline;}
.footer-bottom {
  border-top: 1px solid #3a5061;
  margin-top: 20px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 768px) {
	footer{padding:15px;}
	.footer-col{width:100%;}
	.footer-title{font-size:18px;}
#lock-expire-timer{
	color: red;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
}
	.footer-container {
    flex-direction: column;
    gap: 12px;
  }
	.dropdown-grid{grid-template-columns: repeat(2, 1fr);gap: 10px 15px;}
	.nav-link{padding:0 5px;}
	.dropdown-content{padding:10px 0 15px;}
	.logo img{max-height:68px;}
}