/* General page settings */
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");

body {
  text-align: center;
  font-family: Arial, sans-serif;
  margin: 0px auto;
}

a {
  text-decoration: none;
}

a img {
  border: none;
}

.clear {
  clear: both;
}

/* Header Section */
#header-container {
  display: block !important;
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin: 0px auto;
  background: #ffffff;
  position: relative;
}

#header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  margin: 0px auto;
  padding: 10px 0;
}

#logo-container {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 600px;
  height: auto;
}

#logo-container a {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

#logo-container a img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* Mega Menu Navigation Section */
.navbar {
  overflow: hidden;
  background-color: #15245b;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
}

.navbar a,
.dropdown {
  float: none;
  display: inline-block;
}

.navbar a {
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font: inherit;
  margin: 0;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #334a7b;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #334a7b;
  width: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 10px;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.column {
  float: left;
  width: 200px;
  padding: 10px;
  background-color: #334a7b;
  height: auto;
}

.column a {
  float: none;
  color: white;
  padding: 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.column a:hover {
  background-color: #ddd;
  color: black;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.accessories-column {
  float: none;
  width: 200px;
  padding: 10px;
  background-color: #334a7b;
  height: auto;
}

.accessories-column a {
  color: white;
  padding: 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.accessories-column a:hover {
  background-color: #ddd;
  color: black;
}

.accessories-row:after {
  content: "";
  display: table;
  clear: both;
}

/* Product Information Section */
.product-info {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: block;
}

.product-title-container {
  width: 100%;
  display: block;
  margin: 0 auto 10px auto;
  padding: 0;
  background: #fff;
}

.product-title {
  margin: 0 auto 10px auto;
  padding: 0;
  font-weight: 500;
  font-size: 24px;
  font-family: "Roboto", serif;
  color: #15245b;
  line-height: 30px;
  text-align: left;
}

.product-sku {
  display: block;
  margin: 0 auto 20px auto !important;
  padding: 0 !important;
  font-weight: 400 !important;
  font-size: 18px;
  color: #333;
  font-family: "Roboto", sans-serif !important;
  line-height: 30px;
  text-align: left;
}

.brand-img {
  width: 100%;
  display: block;
  margin: 0 0 10px 0;
}

.product-price {
  display: block;
  margin: 0 auto 0px auto !important;
  padding: 0 !important;
  font-weight: 400 !important;
  font-size: 22px;
  color: #e60000;
  font-family: "Roboto", sans-serif !important;
  line-height: 40px;
  text-align: left;
}

.product-price strong {
  font-weight: 600 !important;
}

/* Product Images Section */
.product-images {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#main-image .gallery {
  width: 98%;
  position: relative;
  padding-top: 400px;
  margin: 0 auto;
}

#main-image .gallery > img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 100%;
  margin: 0 auto;
  bottom: 0;
  right: 0;
  max-height: 400px;
  padding: 10px 0;
}

#main-image .gallery input[name="slide_switch"] {
  display: none;
}

#main-image .gallery label {
  margin: 3% 1% 0 1%;
  transition: all 0.5s;
  opacity: 0.6;
  width: 22%;
  height: 115px;
  position: relative;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#main-image .gallery label img {
  display: block;
  width: auto;
  max-width: 100%;
  overflow: hidden;
  position: absolute;
  cursor: pointer;
  margin: auto;
  padding: 0;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  max-height: 100%;
}

#main-image .gallery input[name="slide_switch"]:checked + label {
  opacity: 1;
}

#main-image .gallery input[name="slide_switch"] ~ img {
  opacity: 0;
  transform: scale(1);
}

#main-image .gallery input[name="slide_switch"]:checked + label + img {
  opacity: 1;
  transform: scale(1);
}

/* Tabs Section */
#tabs-container {
  width: 100%;
  max-width: 100%;
  margin: 10px auto 160px auto;
  background-color: #15245b;
  padding: 30px;
  border-radius: 8px;
  height: auto;
  clear: both;
  display: flex;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.tab {
  width: 30%;
  background-color: #15245b;
  border-right: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  display: flex;
  flex-direction: column;
}

.tab input[type="radio"] {
  display: none;
}

.tab label {
  display: block;
  background-color: inherit;
  color: white;
  padding: 30px 16px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 25px;
  font-family: "Roboto", sans-serif;
  height: 50px;
  line-height: 20px;
}

.tab label:hover {
  background-color: #334a7b;
}

.tab input:checked + label {
  background-color: #213375;
  color: white;
}

/* Content Container */
.tabcontent {
  width: 80%;
  padding: 20px;
  border: 1px solid #ccc;
  border-left: none;
  height: auto;
  display: none;
  background-color: #f8f8f8;
  border-radius: 0 8px 8px 0;
  box-sizing: border-box;
  position: absolute;
  left: 20%;
  top: 0;
  bottom: 0;
  min-height: 500px;
  overflow: auto;
}

/* Show content for the active tab */
.tab input#tab1:checked ~ #Description,
.tab input#tab2:checked ~ #Compatibility,
.tab input#tab3:checked ~ #Specifications,
.tab input#tab4:checked ~ #Delivery,
.tab input#tab5:checked ~ #Payment,
.tab input#tab6:checked ~ #Returns {
  display: block;
}

.tabcontent h3 {
  font-size: 24px;
  color: #15245b;
  font-family: "Roboto", sans-serif;
}

.tabcontent p,
.tabcontent ul {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  font-family: "Roboto", sans-serif;
}

#footer {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 10px auto;
  padding: 20px; /* Added padding */
  background-color: #15245b; /* Ensure the background color is set */
  color: white; /* Ensure text color is set to white */
  border-top: none;
  box-sizing: border-box; /* Added to include padding in the element's total width and height */
}

.footer-box {
  width: 100%;
  max-width: 30%;
  margin: 1% 0;
  text-align: left;
  display: inline-block;
  color: #fff !important;
  line-height: 22px;
  font-size: 13px !important;
  text-align: left;
  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
  padding: 10px; /* Added padding */
  box-sizing: border-box; /* Added to include padding in the element's total width and height */
}

.footer-box h1 {
  padding: 0 0 10px 0;
  color: #fff !important;
  line-height: 26px;
  font-size: 14px !important;
  text-align: left;
  font-family: "Roboto", sans-serif !important;
  font-weight: 600 !important;
}

.footer-box a {
  padding: 0 10px 0 0;
  color: #fff !important;
  line-height: 22px;
  font-size: 13px !important;
  text-align: left;
  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
  display: table;
}

.footer-box a:hover {
  text-decoration: underline;
}

