html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 20px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover, a:focus {
  color: inherit !important;
  text-decoration: underline; /* or none, as you prefer */
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.sub-header {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  text-align: center;
  color: #555;
}

.products-list {
  width: 95%;
  height: -moz-fit-content;
  height: fit-content;
  gap: 3%;
  margin: 0 auto;
}

.row.products-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5%;
  justify-content: flex-start;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .sub-header {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .products-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}
@font-face {
  font-family: "caveat";
  src: url("../assets/Fonts/Caveat/Caveat-VariableFont_wght.ttf") format("truetype");
}
@font-face {
  font-family: "Cairo_play";
  src: url("../assets/Fonts/Cairo_Play/CairoPlay-VariableFont_slnt,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}
h1, h2, h3, h4, h5, h6, p, a, li, span, div, button, label {
  font-family: "Cairo_play", cursive;
}

header {
  background-color: #737371;
  padding: 20px;
  text-align: center;
}
header img {
  width: 210px;
  height: 80px;
}
header nav {
  margin-top: 10px;
}
header nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  position: relative;
  transition: color 0.3s ease;
}
header nav a:hover {
  text-decoration: none;
  color: #bbb;
}
header nav a:hover::before {
  background: #bbb; /* Change this color as you like */
}
header nav a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border-radius: 50%;
  background: #ccc; /* Change this color as you like */
  vertical-align: end;
}

#theme-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
#theme-toggle:focus {
  outline: none;
}

@media (max-width: 767px) {
  header img {
    width: 5rem;
    height: -moz-fit-content;
    height: fit-content;
  }
}
.custom-footer {
  background: #d7d7d7;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 1px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-left: 32px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.footer-contact-item:hover {
  filter: none;
  transform: scale(1.1);
  transition: all 0.3s ease;
  color: #737371;
}
.footer-contact-item i {
  font-size: 2rem;
  color: #fff;
  margin-right: 18px;
}

.footer-icon {
  width: 48px;
  height: 96px;
  margin-right: 18px;
  filter: grayscale(1) brightness(1.2);
}

.footer-contact-label {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 300;
  letter-spacing: 2px;
}

.footer-divider {
  width: 3px;
  height: 220px;
  background: #fff;
  border-radius: 2px;
  margin: 0 auto;
}

.footer-logo {
  max-width: 160px;
  display: block;
  margin: 0 auto 18px auto;
}

.footer-company-name {
  font-size: 2.5rem;
  color: #888;
  font-weight: 600;
  letter-spacing: 3px;
}

.footer-slogan {
  font-size: 1.3rem;
  color: #888;
  margin-top: 12px;
  letter-spacing: 2px;
}

.footer-bottom {
  color: #888;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .footer-icon {
    width: 50px !important;
    height: -moz-fit-content;
    height: fit-content;
  }
  .footer-contact-label {
    font-size: 1.5rem;
  }
}
.btn, button {
  font-size: 1.3rem;
  padding: 12px 32px;
}

.btn-cat {
  text-decoration: none;
  font-size: 15px;
  color: #fff;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  transition: 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .btn, button {
    font-size: 1rem;
    padding: 8px 24px;
  }
}
input, textarea, select {
  font-size: 1.2rem;
  padding: 10px;
}

.product-card {
  width: 30%;
  min-width: 320px;
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px 18px 18px 18px;
  text-align: left;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.product-card:hover {
  box-shadow: 0 9px 15px rgba(0, 0, 0, 0.1);
}
.product-card a {
  text-decoration: none;
  color: #fff;
  background-color: #737371;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  border-color: #737371;
  border-style: solid;
  border-width: 1px;
  display: block;
  margin: 0 auto;
  width: 80px;
  text-align: center;
}
.product-card a:hover {
  background-color: #555;
  color: #fff;
  text-decoration: none;
}

.product-img {
  width: 100%;
  max-width: 220px;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
}

.product-desc {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

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

.sale-price {
  color: #e41e31;
  font-weight: bold;
}

@media (max-width: 767px) {
  .product-card {
    width: 47% !important;
    min-width: 47% !important;
    max-width: 47% !important;
    margin-bottom: 16px;
  }
  .product-img {
    width: 100%;
    max-width: 140px;
    height: 100px;
  }
  .product-title {
    font-size: 0.9rem;
  }
  .product-desc {
    font-size: 0.7rem;
  }
  .product-price {
    font-size: 1.1rem;
  }
}
.product-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.product-main-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  padding: 18px;
}

.product-main-img {
  width: 350px;
  height: 350px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 10px;
  transition: box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  background: #fff;
}

.product-thumbs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}

.product-thumb-img {
  width: 70px;
  height: 70px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  border: 2px solid #737371;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  background: #fff;
}

.product-thumb-img:hover {
  border-color: #444;
  transform: scale(1.08);
}

#focusModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .product-gallery {
    gap: 12px;
  }
  .product-main-img-wrap {
    padding: 12px;
  }
  .product-main-img {
    width: 250px;
    height: 250px;
  }
  .product-thumbs {
    gap: 10px;
  }
  .product-thumb-img {
    width: 50px;
    height: 50px;
  }
  .product-detail-page form {
    width: 90% !important;
  }
  .product-detail-page form input {
    width: 65% !important;
  }
  .product-detail-page form button {
    width: 30% !important;
    font-size: 0.75rem !important;
  }
}
.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.cart-table th, .cart-table td {
  padding: 22px 18px;
  background: #f7f7f7;
  border: none;
  font-size: 1.2rem;
  vertical-align: middle;
  text-align: center;
}

.cart-table th {
  background: #737371;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.cart-table tr {
  transition: box-shadow 0.2s, background 0.2s;
}

.cart-table tbody tr {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  background: #fff;
  border-radius: 12px;
}

.cart-table tbody tr:hover {
  background: #ececec;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-table td:last-child {
  text-align: center;
}

.cart-table .cart-product-info {
  gap: 24px;
}

.cart-table .cart-thumb-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: 2px solid #737371;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.cart-table .cart-product-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #444;
}

@media (max-width: 767px) {
  .cart-table-wrapper {
    display: none;
  }
  .cart-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto 24px auto;
    padding: 0 0.5rem;
  }
  .cart-mobile-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 16px 12px;
    align-items: center;
  }
  .cart-mobile-img-wrap {
    flex-shrink: 0;
  }
  .cart-mobile-thumb {
    width: 70px;
    height: 70px;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 8px;
    border: 2px solid #737371;
    background: #fff;
  }
  .cart-mobile-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
  }
  .cart-mobile-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 2px;
  }
  .cart-mobile-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #555;
  }
  .cart-mobile-remove {
    margin-top: 8px;
    width: 100%;
    font-size: 1rem;
    padding: 8px 0;
  }
  .cart-mobile-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 12px 0 0 0;
    text-align: right;
  }
  .cart-mobile-checkout {
    margin: 12px 0 0 0;
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 0;
  }
}
@media (min-width: 768px) {
  .cart-mobile-list {
    display: none;
  }
}
.cart-main-container a {
  text-decoration: none;
  color: #fff;
  background-color: #737371;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  border-color: #737371;
  border-style: solid;
  border-width: 1px;
}

.cart-main-container a:hover {
  background-color: #555;
  color: #fff;
  text-decoration: none;
}

/* Modern Product Gallery Styles (admin/product edit, etc) */
@media (max-width: 767px) {
  /* Add your custom mobile product gallery styles here */
}
/* Responsive adjustments for admin/footer */
@media (max-width: 767px) {
  th {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
body.dark-mode {
  background: #181818 !important;
  color: #f1f1f1 !important;
}
body.dark-mode header, body.dark-mode footer, body.dark-mode .custom-footer {
  background: #232323 !important;
  color: #fff !important;
}
body.dark-mode .btn, body.dark-mode button, body.dark-mode .btn-primary, body.dark-mode .btn-secondary {
  background: #444 !important;
  color: #fff !important;
  border-color: #444 !important;
}
body.dark-mode input, body.dark-mode textarea, body.dark-mode select {
  background: #222 !important;
  color: #fff !important;
  border-color: #444 !important;
}
body.dark-mode .product-card, body.dark-mode .product-detail-page, body.dark-mode .cart-table, body.dark-mode .order-success, body.dark-mode .order-details-container {
  background: #232323 !important;
  color: #fff !important;
  border-color: #444 !important;
}
body.dark-mode .product-thumb-img, body.dark-mode .product-main-img {
  background: #181818 !important;
}
body.dark-mode .table, body.dark-mode table, body.dark-mode th, body.dark-mode td {
  background: #232323 !important;
  color: #fff !important;
  border-color: #444 !important;
}
body.dark-mode a, body.dark-mode a:visited {
  color: #888 !important;
}
body.dark-mode a:hover, body.dark-mode a:focus {
  color: #fff !important;
}/*# sourceMappingURL=style.css.map */