@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300&display=swap'); /* font-family: 'Cairo', sans-serif; */

*,*:before,*:after {
	padding: 0;
	margin: 0;

}body {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    background-color: #f0f2f5;

}a { 
	text-decoration: none;
	display:inline-block;
    color: #235a81;
    font-weight: bold;
    transition: 0.3s;

}a:hover {
    color: #272829;
    
}.active {
    background-color: #d3d3d3;

}

pre {
    float: left;
    width: 95%;
    max-width: 95%;
    max-height: 500px;
    text-align: left;
    direction: ltr;
    padding: 20px 2%;
    overflow: auto;
    background-color: #d3d3d3;
    color: #272829;
    font-size: 10pt;
    margin: 10px 0.5%;
    border-radius: 15px 0px 0px 0px;
    border: 1px #272829 solid;

}

.infosite {
    float: right;
    width: 100%;
    height: 250px;
    overflow: auto;
    margin-top: 10px;
}

#SendMsg {
    display: none;

}

.empty-box {
    float: right;
    width: 60%;
    text-align: center;
    font-size: 18pt;
    padding: 40px 20%;
    font-weight: bold;
    
}.empty-box a img {
    margin-top: 20px;
    width: 100px;
    opacity: 0.4;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.error, .right {
    margin: 5px 0px;
    float: right;
    width: 96%;
    padding:10px 2%;
    text-align: center;
    color: white;
    font-size: 10pt;
    border-radius: 5px;

}.error { 
    background-color: #c72b2b; 

}.right{
    background-color:#05630a;

}.error a, .right a {
    background-color: #d3d3d3;
    color: #272829;
    font-size: 8pt;
    border-radius: 5px;
    padding: 3px 10px;
    
}.error a:hover, .right a:hover { background-color: #61677A; }

input, select, textarea {
    border: 1px #d3d3d3 solid;
    font-family: 'Cairo', sans-serif;
    font-size: 10pt;
    color: #272829;
    background-color: white;
    font-weight: bold;
    border-radius: 5px;

}input[type="submit"]{
	cursor:pointer;
    border-radius: 5px; 
    transition: 0.3s;

}input[type="submit"]:hover{
    opacity: 0.9;

}input[type="email"], input[type="url"] {
    direction: ltr;
    text-align: left;

}


#button-show {
    float: right;
    width: 98%;
    margin: 1%;
    cursor:pointer;

}#button-show p {
    float: right;
    width: 98%;
    padding: 1%;
    text-align: center;
    background-color: #272829;
    color: white;
    font-size: 12pt;
    border-radius: 5px;

}#button-show p:hover {
    background-color: black;

}#hidden-box {
    float: right;
    width: 100%;
    display: none;
    border-radius: 5px;
    margin-top: 10px;
}


.page404 {
	float: right;
	width: 100%;
	text-align: center;

}.page404 img {
    max-height: 500px;

}.page404 p { 
    text-align: center;
    font-size: 14pt; 

}.page404  a {
    padding:5px 15px; 
    color:white; 
    background-color:#272829; 
    margin-top:20px; }

.table {    
    background-color: white;
    float: right;
    width: 100%;    
    max-width: 100%;
    padding: 2%;
    border-radius: 5px;

}.table tr th img{
    float: right;
    width: 100px;
    max-height: 200px;
    margin-bottom: 5px;
    border-radius: 3px;
    object-fit:contain;

}.table tr th span{
    float: right;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 8px;
    border-radius: 5px;

}.table tr th{
    border-bottom: 1px #61677A solid;  
    padding: 10px;
    font-size: 10pt;

}.table tr th h3, .table tr th i{
    text-align: right;
    float: right;
    width: 100%;

}.table tr th i {
    font-size: 10pt;
    color: #272829;

}.table tr th i a {
    font-size: 8pt;
    padding: 3px 10px;
    background-color: #d3d3d3;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-right: 5px;

}.table tr th i a:hover {
    background-color: #d3d3d390;

}.table tr th p {
    float: right;
    text-align: right;
    width: 90%;
    font-size: 8pt;
    padding: 0px 5%;
    color: #272829;

}


.slideshow-container {
    float: right;
    width: 100%;
    height: 450px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;

}.mySlides {    
    display: none;

}.mySlides img {
    object-fit:cover;
    text-align: center;
    max-width: 100%;
    width: 100%;
    height: 450px;

}.text {
  position: absolute;
  color: white;
  font-size: 16pt;
  bottom: 0px;
  left: 0px;
  width: 90%;
  margin: 5%;

}.text p {
    background-color: #27282999;
    padding: 40px;
    border-radius: 20px;
    font-weight: bold;

}.text p a {
    color: white;
    border-bottom: 1px #c72b2b solid;

}.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;

}
@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
@media only screen and (max-width: 300px) {
  .text {font-size: 14pt}
}

#gototop {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 10px;
  opacity: 0.8;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background:#61677A url("../img/top.png") no-repeat center;
  border: 1px #272829 solid;
  color: #272829;
  cursor: pointer;
  height: 40px;
  width: 40px;
  border-radius: 4px;
  transition: 0.3s;

}#gototop:hover {
  background-color: #61677A;

}

.box-social {
    float: right;
    width: 100%;
    margin-top: -70px;

}.box-social input, .box-social a img {
    float: right;
    text-align: center;
    border-radius: 5px;
    background-color: transparent;
    width: 36px;
    height: 36px;
    margin-right: 10px;

}.box-social a  {
    position: relative;
    

}.box-social a span {
    font-size: 6pt;
    position: absolute;
    top: -9px;
    right: 13px;
    background-color: #c72b2b;
    color: white;
    padding: 0px 5px;
    border-radius: 5px;
    

}.box-social input:hover, .box-social  a img:hover  {
    opacity: 0.9;
}

#Btn {
	float: right;
	cursor:pointer;
	width: 100%;
	padding:8px 0px;
    height: 24px;
	text-align: center;
    font-size: 10pt;
    font-weight: bold;
    background-color:#d3d3d3;
	color: #272829;
	transition: 0.3s;
    border-radius: 5px;
    border: 1px #d3d3d3 solid;

}#Btn img {
    margin-bottom: -6px;
    height: 20px;
    margin-left: 10px;

}#upfile {
	display: none;

}#Btn:hover {
	background-color: #d3d3d390;
	color:#272829;

}.showimg { 
	float: right;
	width: 98%;
    margin: 1%;
	
}.showimg img{
	float: right;
	max-width: 25%;

}

#content, .footer {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    font-size: 10pt;

}#box {
    margin: 0 auto;
    max-width: 650px;
    padding: 20px;


}#header {
    float: right;
    width: 100%;
    margin-bottom: 5px;

}.centerlogo img {
    width: 50%;
    padding: 0px 25%;

}



/* navbar */

.navbar {
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
    border-bottom: 1px #d3d3d3 solid;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    color: var(--light-color);
    font-size: 16pt;
    font-weight: bold;
    text-decoration: none;
    
}.logo img{
    padding-top: 15px;
    height: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a{
    padding: 3px 15px;
    border-left: 1px #d3d3d3 solid;
    border-right: 1px #d3d3d3 solid;
    border-radius:3px;
    margin-right: 5px;

}.nav-links li a:hover{    
    background-color: #d3d3d390;
}

.cart-icon {
    padding-top: 15px;
    color: var(--light-color);
    font-size: 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;

}.fa-shopping-cart img {
    margin-top: 5px;
    width: 25px;
}

.cart-count {
    position: absolute;
    top: 5px;
    left: -10px;
    background-color: var(--accent-color);
    color: white;
    background-color: #c72b2b;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--light-color);
    font-size: 24px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* تظهر تحت النافبار مباشرة */
        right: 0;
        background-color: white;
        z-index: 1000; /* تأكد من ظهورها فوق المحتوى */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li a{
        border: 0px;
        margin: 10px 0;
        text-align: right;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* ------ */


/* buttons */
.buttons {
    float: right;
    width: 100%;
    margin: 10px 0px;

}.buttons ul {
    list-style-type: none;

}.buttons li {
    list-style-type: none;
    float:right;
    transition: 0.3s;

}.buttons li a, .buttons input { 
    display: inline-block;
    height: 30px;
    margin-left: 5px;
    color: #272829;  
    font-weight: bold;  
    text-align: right;
    padding: 0px 12px ;
    line-height: 2;
    cursor: pointer;
    border-left: 1px #d3d3d3 solid;
    border-right: 1px #d3d3d3 solid;
    border-radius: 3px;

}.buttons li a img {
    width: 15px;
    height: 15x;
    border-radius: 2px;
    padding: 3px;
    margin-bottom: -6px;
    transition: 0.3s;    

}.buttons li a:hover{
    background-color: #d3d3d390;

}#dropButton {
    background-color: white; 
    padding: 10px;     
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;    
    position: absolute;
    z-index: 1;
    display: none;
    transition: 0.3s;
    min-width: 160px;
    border-radius: 5px;

}#dropButton a {
    color: #272829;
    padding: 5px 10px;
    border: none;
    display: block;
    transition: 0.3s;

}#dropButton a img {
    width: 15px;
    margin-left: 10px;

}#dropDown:hover #dropButton{
    display: block;

}#dropButton a:hover{
    background-color: #d3d3d390;    

}.search {
    float: right;
    width: 100%;
    text-align: right;
    direction: ltr;
    padding-bottom: 5px;    
    border-bottom: 1px #d3d3d3 solid;

}.search select, .search input[type=text] {    
    padding: 5px 5%;
    font-size: 10pt;
    direction: rtl;    
    border-radius: 5px;
    border: 1px #d3d3d3 solid;
    margin-left: 5px;

}.search select{    
    text-align: center;

}.search input[type=text] { 
    background: white url('../img/searchC.png')  no-repeat 15px;  
    transition: 0.3s;

}


/* playstore */

.playstore {
    float: right;
    width: 90%;
    padding: 15px 5%;
    color: #272829;
    text-align: center;

}.playstore p {
    background-color: #c72b2b;
    padding: 10px;
    color: white;
    font-size: 20pt;

}.playstore a img {
    border-radius: 5px;
    margin: 0px 5px;
    margin-top: 15px;
    width: 180px;

}

/* video youtube show */
.slideshow {
    float: right;
    width: 100%;
    background-color: #272829;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    
}#video {
    float: right;
    min-width: 100%;
    min-height: 100%;  

}.slideshow iframe {
    float: right;
    max-width: 100%;
    width: 1200px;
    height: 675px;

}


.home {
    float: right;
    width: 100%;
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 0 auto;

}.image {
    float: right;
    width: 100%;        
    height: 150px;
    background-color: #27282990;    
    border-radius: 5px;
    overflow: hidden;
    text-align: center;

}.image a img, .image p img {    
    transition: 0.3s;   
    height: 150px;
    border-radius: 5px;
    opacity: 0.9;    
    object-fit:cover;
    width: 600px;
    max-width: 100%;
    height: 150px; 

}.image a img:hover, .image p img:hover {
    opacity: 1;

}.info {
    float: left;    
    overflow: auto;

}.info .topic {
    font-size: 10pt;

}.post {
    float: right;
    margin-bottom: 10px;
    margin:1%;
    border-radius: 5px;
    overflow: hidden;

}.post {        
    width: 48%;

}.post .image{
    width: 40%;

}.post .image a img{
    object-fit:cover;

}.post .info{
    width: 58%;
    height: 150px; 

}.iconinfo {
    float: right;
    width: 100%;
    height: 26px;
    text-align: center;
    overflow: hidden;

}.iconinfo img {
    width: 14px;
    height: 14px;
    padding: 3px;
    border: 1px #272829 solid;
    border-radius: 5px;
    background-color: white;
    overflow: hidden;
    margin: 2px;

}

.galerry {
    float: right;
    width: 48%;
    margin: 1%;
    height: 150px;
    text-align: center;
    overflow: hidden;
    position: relative;

}.galerry .iconGlr {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: white;
    padding: 3px;
    border-radius: 100%;


}.galerry p {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 5px;
    background-color: #272829;
    color: white;
    margin-left: 15px;
    font-size: 14pt;
    transition: 0.3s; 

}.galerry p:hover {
    background-color: #272829;

}.galerry a img {
    object-fit:cover;
    width: 600px;
    max-width: 100%;
    height: 150px; 
    
}

.profile{
    float: left;
    width: 100%;
    
}.profile img{
    float: left;
    border-radius: 100%;
    width: 150px;
    height: 150px;
    overflow: hidden;
    object-fit:cover;
    margin-left: 30px;
    margin-top: -75px;
    position:relative;
    z-index: 1;
    background-color: #272829;
    border: 5px white solid;

}.bigImg {
    float: right;
    margin-top: 10px;
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;

}.bigImg img {
    object-fit:cover;
    float: right;
    width: 100%;
    height: 100%;

}.bigImg p {
    position: absolute;
    top: 20px;
    right: 2%;
    max-width: 92%;
    padding: 5px 2%;
    color: white;
    font-size: 14pt;
    background-color: #27282999;

}

.title, .titleR , .titleC, .titleL{
    float: right;
    width: 90%;
    margin:0px 5%;
    font-weight: bold;

}.title {
    font-size: 12pt;
    text-align: right;

}.titleR{
    padding: 10px 0px;
    font-size: 16pt;
    text-align: right;

}.titleC { 
    padding: 10px 0px;
    font-size: 14pt; 
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;

}.titleL{
    padding: 20px 0px;
    font-size: 16pt;
    text-align: left;

}

.bigShow {
    float: right;
    width: 100%;

}.topic, .list {
    float: right; 
    color: #272829;
    overflow: hidden;

}.topic {
    width:94%;
    margin: 10px 3%;

}.list {
    margin-bottom: 10px;
    width: 96%;
    margin: 5px 2%; 
    
}.list h3 {
    float: right;
    width: 100%;
    margin: 10px 0px;
    
}.list p, .list a, .list address {
    float: right;
    margin: 5px; 
    font-size: 8pt;
    padding: 3px 15px;
    border-radius: 50px;
    background-color: white;
    border: 1px #61677A solid;

}.list p img, .list a img, .list address img {
    float: right;
    width: 13px;
    height: 13px;
    margin-top: 0px;
    margin-left: 7px;
    border-radius: 5px;
    padding: 3px;

}

#stat {
    float: right;
    width: 100%;
    padding-bottom: 10px;
    margin-top: 10px;
    border-radius: 5px;

}.stat {
    float: right;
    width: 23%;   
    margin: 1%;
    text-align: center;

}.stat img {
    width: 60%;   
    
}.stat a , .stat p{
    width: 100%;
    font-size: 10pt;
    color: #272829;

}

.pages{
    float: right;
    width: 100%;
    margin: 10px 0px;
    text-align: center;

}.pages a{
    background-color: #395144;;
    color: white;
    width: 30%;
    margin: 5px 1%;
    padding: 1%;

}.pages a:hover{ 
    background-color: #39514499;
}


#footer {
    float: right;
    width:100%;
    margin-top: 20px;
    padding-top: 20px;
    background-color: #272829;    
    overflow: hidden;
    color: white;

}.foot {
    float: right;
    width: 21%;
    min-height: 200px;
    margin: 2%;

}.foot h3 {
    float: right;
    width: 100%;
    margin-bottom: 10px;
    color: #ffc0c7;
    padding: 5px;

}.foot img {
    width: 40%;
    opacity: 0.9;
    margin: 0px 30%;

}.foot p {
    float: right;
    text-align: justify;
    width: 96%;
    padding: 2%;


}.foot a {
    margin: 5px;
    color: white;

}.foot a:hover {
    color: #cccccc;

}.bottomfoot {
    float: right;
    width: 100%;
    margin-top: 20px;
    padding: 10px 0px;

}.bottomfoot a, .bottomfoot p {
    float: left;
    color: white;
    margin-left: 7px;

}.bottomfoot a img {
    float: left;
    width: 20px;
    padding: 2px;
    border-radius: 5px;
    height: 20px;
    background-color: white;
}

#showAvt {
    direction: ltr;
    float: right;
    width: 98%;
    max-height: 450px;
    overflow: auto;
    padding: 2%;

}.avatar {
    float: right;
    width: 16%;
    padding: 1%;
    margin: 1%;    
    background-color: white;

}.avatar img, .avatar input {
    float: right;
    width: 100%;

}.avatar input {
    margin-top: 10px;
    text-align: center;
}

.forminput {
    background-color: white;    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    float: right;
    width: 90%;    
    padding: 5%;
    border-radius: 5px;
    margin: 10px 0px;

}.inputclass {
    float: right;
    width: 48%;
    margin: 0px 1%;
    margin-bottom: 10px;
    height: 82px;

}.inputclass p, .inputclass input, .inputclass select, .areaclass p, #compForm p, .multiclass h3   {
    float: right;
    width: 92%;
    min-height: 30px;
    padding: 5px 4%;
    font-size: 10pt;
    font-weight: bold;

}.areaclass textarea {
    float: right;
    max-width: 94%;
    min-width: 94%;
    padding: 3%;
    margin-bottom: 10px;
    min-height: 200px;
    max-height: 200px;

}.inputclass select {
    width: 100%;
    height: 40px;    

}.inputUrlNm input{
    float: right;
    width: 30%;

}.inputUrlNm i{
    float: left;
    text-align: right;
    width: 58%;
    margin-top: 7px;
    font-size: 10pt;

}.areaclass {
    float: right;
    width: 98%;
    margin: 5px 1%;

}#conditions, .multiclass{
    float: right;
    margin: 1%;
    width: 98%;

}.tabcontent{
    display: none;
    
}.conditions {
    float: right;
    width: 90%;
    height: 250px;
    padding: 5%;
    color: #272829;
    overflow: auto;

}.chekclass {
    float: right;
    width: 100%;
    padding: 10px 0px;

}.chekclass p, .chekclass input {
    float: right;
    margin-left: 10px;
    font-size: 10pt;

}.chekclass input {
    margin-top: 5px;

}.multiclass span {
    float: right;
    padding: 5px 10px;
    background-color: white;
    font-size: 9pt;
    margin: 5px;
    border-radius: 5px;

}.multiclass span p, .multiclass span input {
    float: right;

}.multiclass span input[type="checkbox"] {
    margin-top: 6px;
    margin-right: 5px;

}.multiclass span input[type="number"] {
    margin-top: -1px;
    margin-right: 5px;
    padding: 2px 5px;
    width: 80px;

}.btnPst{
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    overflow: hidden;

}.submitclass { 
    float: right;
    width: 98%;
    margin: 0px 1%;

}#subUp{    
    float: left;
    width: 100%;
    margin: 10px 0px;
    font-size: 12pt;
    text-align: center;

}.submitclass input, .btnPst input {
    float: left;
    margin-right: 5px;
    padding: 10px 2%;
    background-color: #4682A9;
    color: white;
    text-align: center;
    margin-bottom: 5px;

}.submitclass a, .submitclass p {
    float: left;
    font-size: 10pt;
    border-radius: 5px;
    padding: 10px 20px;

}.submitclass input, .btnPst input, .submitclass a, .submitclass p {
    margin-right: 5px;
    margin-bottom: 5px;

}.submitclass input:hover, .btnPst input:hover, .submitclass a:hover, .submitclass p:hover {
   opacity: 0.9;
}


.social-login {
    float: right;
    width: 100%;
    margin: 10px 0px;

}.social-login a {
    float: right;
    margin: 1%;
    margin-bottom: 10px;
    padding: 10px 5%;
    text-align: center;    
    border-radius: 5px;
    color: #272829;
    background-color: #d3d3d3;    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 10pt;

}.social-login a img {
    width: 25px;
    height: 25px;
    float: left;

}.social-login .fb-login { 
    width: 38%;

}.social-login .gm-login {  
    width: 38%;

}.social-login .ml-login {
    width: 88%;

}.social-login a:hover {    
    background-color: #272829;
    color: white;
}

#store {
    float: right;
    width: 100%;

}.row-img .column-img {
    float:right;
    width: 18%;
    height: 200px;
    margin: 1%;
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
    background-color: black;

}.row-img .column-img img {
    width: 100%;
    height: 200px;
    opacity: 0.8; 
    cursor: pointer;
    object-fit:cover;
    transition: 0.3s;

}.row-img .column-img img:hover {
    opacity: 1;

}.row-img, .show-container{
    float: right;
    width: 100%;

}.row-img:after {
    content: "";
    clear: both;

}.show-container {
    position: relative;
    float: right;
    width: 98%;
    min-height: 100px;
    margin: 1%;
    display: none;
 
}.show-container img {
    width: 100%;
    border-radius: 5px;

}#imgtext {
    position: absolute;
    padding: 5px 10px;
    background-color: #272829;
    bottom: 20px;
    right: 10px;
    color: white;
    font-size: 14pt;

}.closebtn {
    position: absolute;
    top: 0px;
    right: 10px;
    color: white;
    font-size: 35px;
    cursor: pointer;

}

/*------ product */

.boxslider-display {
    float: right;
    width: 100%;
}

.large-image-box {
    position: relative;
    margin-bottom: 10px;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
}

.displayed-image {
    background-color: #272829;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.small-images-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.small-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.small-image:hover, .small-image.current {
    border-color: #4CAF50;
}

.move-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button {
    right: 15px;
}

.forward-button {
    left: 15px;
}

.enlarge-button {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.enlarged {
    transform: scale(1.5);
    cursor: zoom-out;
}

.small-images-row::-webkit-scrollbar {
    height: 5px;
}

.small-images-row::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.small-images-row::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.product-info {
    float: right;
    width: 60%;
    padding: 10px 20%;
}

.product-info h2 {
    float: right;
    width: 100%;
    margin-bottom: 15px;
    color: #272829;
    font-weight: bold;
}

.product-price {
    float: right;
    margin-top: 10px;
    padding: 3px 15px;
    font-weight: bold;
    background-color: #ffcd4e;
    color: #272829;
    font-size: 12pt;
    border-radius: 3px;

}.product-info del {
    float: right;
    font-size: 12pt;
    color: #c72b2b;
    padding-top: 13px;
    margin-right: 8px;
}
/*-------------*/

.box-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.box-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.box-image {
    height: 220px;
    overflow: hidden;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.box-card:hover .box-image img {
    transform: scale(1.05);
}

.box-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.box-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.box-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.box-price {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
}

.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.add-to-cart {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #3d8b40;
}

.box-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f44336;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .home {
        width: 90%;
        padding: 5%;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .home {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        
    }
}

  /*------*/

.goods {
    float: right;
    width: 23%;
    padding: 10px 1%;

}.goods-info {
    float: right;
    width: 100%;
    padding: 5px 0%;
    height: 55px;
    overflow: auto;

}.goods-info a{
    float: right;
    padding: 0px 5px;

}.goods-edit {
    float: right;
    width: 100%;
    height: 30px;

}.goods-edit p {
    float: right;
    padding: 5px;
    margin:0px 5px;
    background-color: white;
    color: #272829;
    font-weight: bold;
    border-radius: 5px 2px 0px 0px;

}.goods-edit a img {
    float: right;
    width: 20px;
    height: 20px;
    margin: 2px;
    opacity: 0.8;
    padding: 3px;
    border-radius: 100%;
    background-color: white;

}.goods-edit a img:hover {
    opacity: 1;

}.goods_img a{
    float: right;
    width: 100%;
    opacity: 0.9;
    position: relative;

}.goods_img a:hover{
    opacity: 1;

}.goods_img img {
    object-fit:cover;
    background-color: #272829;

}.goods_img p {
    position: absolute;
    left: 10px;
    top: 15px;
    color: white;
    padding: 1px 5px;
    background-color: #c72b2b;
    border-radius: 5px;

}.goods_img p i {
    font-size: 8pt;
    float: right;
    margin: 0px 5px;

}.goods_img .imgB img{
    float: right;
    width: 100%;
    height: 200px;
    margin: 5px 0%;

}.goods_img .imgS img {
    float: right;
    width: 24%;
    margin: 0px 0.5%;
    height: 100px;

}

#compForm { 
	float: right;
	margin: 1%;
	width: 98%;
  
}#toolBar {
	float: right;
	width: 100%;
	margin-bottom: 5px;
  
}.toolInp {
	float: right;
	width: 100px;
	height: 30px;
	background-color: white;
	margin-left: 5px;
	margin-bottom: 5px;
	border-radius: 5px;
  
}.toolInp input, #toolBar select {
	border: 0px;
	border-radius: 5px;
  
}.toolInp input {
	float: right;
	width: 60px;
	height: 20px;
	margin: 5px 0px;
  
}#toolBar select {
	float: right; 
	font-size:10pt;
	width: 65px;
	height: 30px; 
	margin-left: 5px;
	margin-bottom: 5px;
  
}.toolInp img, .intLink{
	float: right;
	background-color: white;
	width: 15px;
	height: 15px;
	padding: 7.5px;
	margin-left: 5px;
	margin-bottom: 5px;
	border-radius: 5px;
  
}.intLink {
	cursor:pointer;

}.intLink:hover {
	background-color: #61677A;

}#textBox {
	float: right;
	width: 94%;
	height: 300px;
	padding: 3%;
    background-color: white;
	margin: 0px;
	overflow: auto;
	text-align: auto;
  
}#textBox img{
	max-width: 50%;

}#editMode {
	float: right;
	padding: 5px 20px;
	background-color: white;
	color: #272829;
	border-radius: 100px;
	font-size: 10pt;
	margin: 10px 0px ;
  
}#editMode input, #editMode label{
	float: right;

}#editMode input {
	margin-left: 10px;
	margin-top: 6px;
}

@media only screen and (max-width:1200px){

    .search{
        text-align: center;

    }    
    #stat, .slideshow-container, .search, .forminput {
        border-radius: 0px;
    
    }.foot {
        width: 46%;
        min-height: auto;
        
    }

}@media only screen and (max-width:900px){
    
    .slideshow iframe {
        width: 900px;
        height: 450px;

    }.avatar {
        width: 21%;
    
    }.goods {
        width: 98%;

    }.stat {
        width: 31.33%;

    }.post {   
        width: 96%;
        margin:1%;  

    }

}@media only screen and (max-width:600px){
    
    .slideshow iframe {
        width: 600px;
        height: 300px;

    }.galerry {
        width: 98%;   

    }.avatar {
        width: 46%;
    
    }.stat {
        width: 48%;

    }.table tr th img, .post .image{
        width: 100%;
    
    }.post .info, .info{
        width: 94%;
        margin: 5px 3%;
    
    }.post .info {
        height: auto;
    
    }.search {
        width: 96%;
        padding: 2%;
    
    }.search select, .search input[type=text] {
        font-size: 8pt;
    
    }.text{
        font-size: 14pt;
    }

}@media only screen and (max-width:550px){
    
    .inputclass {
        width: 98%;    

    }.table {
        font-size: 8pt;
        
    }.foot {
        width: 90%;
        overflow: hidden;
        padding: 0px 5%;
        
    }.foot a {
        font-size: 9pt;

    }.pages a {
        float: right;
        width: 42%;
        margin: 1%;
        padding: 5px 3%;  
    
    }

}@media only screen and (max-width:480px){

    .product-info, .boxslider-display, .buttons{
        width: 94%;
        padding: 3%;   

    }.large-image-box {
        height: 350px;

    }

}@media only screen and (max-width:360px){
    
    .slideshow iframe {
        width: 360px;
        height: 250px; 

    }.goods {
        width: 98%;

    }.goods_img {
        max-height: 50px;

    }.goods_img .imgB img {
        height: 550px;
        
    }.galerry {
        width: 98%;
        font-size: 8pt;
    
    }.stat {
        width: 100%;

    }.list p, .list a, .list address {
        font-size: 8pt;
    
    }

}
