/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: 'Poppins';
  
}

body {
  background-color: #fafafa;
}
h1, h2, h3, h4, h5, h6 {font-family:'Inter';}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */


::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
  padding: 10px;
  font-family: 'Poppins';
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.normal-font {
  font-size: 14px;
}
.notfoundcontainer {
  padding: 100px;
  background: #E9232F;
  width: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
 
  color: white;
}

.seller-signup-header {
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
}
.four04header {
  font-size: 5rem;
  margin: 0;
}
/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.components-section {
  padding: 2%;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  font-family: 'Inter';
  padding-bottom: 10px;
}

.button-container-padding {
  padding: 30px;
}
.showcase-button {
  width: 150px!important;
}
.settings-button {
  width: 170px;
  padding: 10px;
  border: none;
  background-color: #E2E535;
  color: black;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.settings-button:hover {
  background-color: #adaf2c;
}

.cart-button {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #E2E535;
  color: black;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  margin-top: 15px;
}

.cart-button:hover {
  background-color: #adaf2c;
}

/* Quantity stepper (+/-) — replaces the old hardcoded cantidad dropdown */
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4d4d4;
  border-radius: 30px;
  overflow: hidden;
  margin-top: 15px;
  height: 40px;
  background-color: #fff;
}

.quantity-stepper .qty-btn {
  width: 40px;
  height: 100%;
  border: none;
  background-color: #f7f7f7;
  color: #333;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quantity-stepper .qty-btn:hover {
  background-color: #ececec;
}

.quantity-stepper .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quantity-stepper .qty-input {
  width: 48px;
  height: 100%;
  border: none;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  text-align: center;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity-stepper .qty-input::-webkit-outer-spin-button,
.quantity-stepper .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-stepper .qty-input:focus {
  outline: none;
}


.view-button {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #fafafa;
  color: black;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  margin-top: 15px;
  border: 1px solid #c7c7c7 !important;
}

.view-button:hover {
  background-color: #c7c7c7;
}

.register-button {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #dfe246;
  color: #000000;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.register-button:hover {
  background-color: #b4d529;
}

.standard-button {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #DFE246;
  color: black;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.standard-button:hover {
  background-color: #b0b334;
}

.delete-button {
  display: block;
  padding: 10px;
  color: #d31515;
  background-color: white;
  border: 1px solid #c5c5c5;
  text-align: center;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  padding-top: 10px;
}

.delete-button:hover {
  background-color: #e24747;
  color: white;
}

.edit-button {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: white;
  color: #6A68EA;
  border: 1px solid #c7c7c7;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.edit-button:hover {
  background-color: #6A68EA;
  color: white;
}

.viewall-button {
  width: 100%;
  padding: 10px;
  background-color: white;
  color: #6A68EA;
  border: 1px solid #c5c5c5;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.viewall-button:hover {
  background-color: #6A68EA;
  color: white;
}

.strong-button {
  border: none;
  background-color: #E9232F;
  padding: 10px;
  color: white;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.strong-button:hover {
  background-color: rgb(255, 0, 0);
  color: white;
}

.addNew-button {
  background-color: #C82556;
  padding: 12px;
  color: white;
  cursor: pointer;
  border: none;
  border-radius: 1px;
  font-size: 1rem;
}

.addNew-button:hover {
  background-color: #be0d42;
}

.follow-button {
  color: white!important;
  background-color: #0095f6;
  padding: 8px;
  width: 150px;
  font-size: 13px;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  font-weight: bold;
}

.follow-button:hover {
  background-color: #0675be;
}
.message-button {
  color: black;
  font-weight: bold;
  background-color: #efefef;
  padding: 8px;
  width: 150px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid #c7c7c7!important;
  border-radius: 10px;
}
.message-button:hover {
  background-color: #c7c7c7;
}
.navbar-secondary {
  background-color: #F1F43D;
  padding: 10px 0;
}
.navbar-secondary-list {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}

.navbar-secondary-list li {
display: inline-block;
margin-right: 20px;
}

.navbar-secondary-list li a {
color: black;
text-decoration: none;
font-size: 14px;
padding: 5px 10px;
}

.navbar-secondary-list li a:hover {
background-color: #E9232F; 
color: white;

}

.nav-search-results {
 
 
  background-color: white;

  box-shadow: 0 0 10px #ddd;
}
.results-text {
  color: #c45500;
  font-weight: bold;
}

.filters select {
  padding: 2px;

}
/* Style for the navigation bar */
.navbar {
  display: flex;
  align-items: center;
  background-color: #E9232F;
  color: white;
  padding: 0 30px;
  font-size: 14px;
  
}


/* Style for the logo */
.nav-logo {
  font-size: 2rem; /* Increased font size */
  font-weight: bold;
  font-family: 'Inter';
  padding: 15px 0;
}

.nav-link {
  text-decoration: none;
  margin-left: 20px;
  color: white;
}
/* Style for the search bar */
.search-bar {
  flex: 1; /* Take remaining space */
  margin: 0 20px;
  padding: 15px 0;
  position: relative;
  
}

.search-bar input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  padding-right: 40px
}

/* Amazon-style search preview dropdown (rendered by user-common.js) */
.search-suggestions {
  position: absolute;
  top: calc(100% - 15px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  max-height: 70vh;
  overflow-y: auto;
  z-index: 1100;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #f2f2f2;
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
  background: #f5f7f5;
}

.search-suggestion-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #fafafa;
}

.search-suggestion-name {
  flex: 1;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-name strong { color: #000; }

.search-suggestion-price {
  font-size: 14px;
  font-weight: 600;
  color: #1a7f37;
  flex-shrink: 0;
}

.search-suggestion-all {
  display: block;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #E9232F;
  text-decoration: none;
  background: #fafafa;
}

.search-suggestion-all:hover { background: #f0f0f0; }

.search-suggestion-empty {
  padding: 14px 12px;
  font-size: 14px;
  color: #777;
  text-align: center;
}
.search-button {
  position: absolute;
  top: 50%;
  right: 0px; /* Adjust the position of the search button */
  transform: translateY(-50%);
  background-color: #5aff2b;
  border: none;
  color: #333;
  padding: 12px 15px;
  border-radius: 0 5px 5px 0; /* Add border radius to the right side */
  cursor: pointer;
}

.search-button:hover {
  background-color: #f3a847;
}

.search-button i {
  font-size: 16px;
}


.user-dropdown {
  position: relative;
}


.username {
  cursor: pointer;
}


.cart-and-user {
  display: flex;
  align-items: center;
}

.user-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown {
  display: flex;
  flex-direction: column;
}

.dropbtn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.dropbtn span:first-child {
  font-size: 12px;
}

.dropbtn span:last-child {
  font-size: 14px;
  font-weight: bold;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: -50px;
  background-color: #f9f9f9;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border: 1px solid grey;
  margin-top: 1px;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.user-nav-dropdown:hover .dropdown-content {
  display: block;
}




.login-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 2px;
  border-bottom: 1px solid #00000033;
  margin:auto;
  
}
.login-form {
  background-color: #fff;
  padding: 20px;
  border-radius: 2px;
  border-bottom: 1px solid #00000033;
  margin:auto;
  
}
.sf {
  font-size: 12px
}
.text-center {
  text-align: center;
}
.login-form h2 {
  margin-top: 0;
  text-align: center;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 
  }
.appcontainer  {
  width: 800px; /* Increase the width to accommodate three input fields per row */
  padding: 20px;
  background: #ffffff;
  border: 1px solid #00000038;
  border-radius: 1px;
  text-align: left;

}
.appcontainer .input-group label {
  margin-bottom: 0;
  }

.app-input-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  }

  .app-input-group {
    flex: 0 0 30%; /* Adjust the width of each input group to one-third */
    margin-right: 20px;
    }
    
    .app-input-group:last-child {
    margin-right: 0;
    }

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 15px;
  color: #000000;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  font-size: 1.1rem;
  border: 1px solid #ccc;
}

.input-group p {
  font-size: 13px;
}
.formgroupcontainer {
width: 350px;
padding: 20px;
background: #ffffff;
border: 1px solid #00000038;
border-radius: 1px;
text-align: center;
}

.seller-app-container {
  width: 400px;
padding: 20px;
background: #ffffff;
border: 1px solid #00000038;
border-radius: 1px;
font-size: 14px;
margin-bottom: 20px;
text-align: center;
}
.seller-app-container:hover {
  background-color: #f7f7f7;
}

.transparent-link {
  text-decoration: none;
  color: black;
}
.full-width {
  width: 100%!important;
}
.registerHeader {
  text-align: left;
  color: red;
  margin-top: 50px;
  margin-bottom: 10px;
}

.centerHeader {
  text-align: center;
  color: red;
  margin-top: 50px;
  margin-bottom: 20px;
}
.blue-link {
  text-decoration: none;
  color: #6A68EA;
}
.initialscreenForm {
  padding: 30px;
}

.initialscreentext {
  text-align: center;
  margin-bottom: 20px;
  }
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
    
.remember-forgot label {
    font-size: 12px;
}

.forgotpwlink {
  color: #6A68EA;
  font-size: 12px;
  padding: 10px;
  display: block;
  text-align: end;
  text-decoration: none;
}

.registernowText{
  padding: 5%;
  color: red;
}

.tag {
  padding: 5px;
  border-radius: 7px;
  font-size: 12px;
  
}

.artesnal-tag {
    background: #9DA4E8;
    
}

.topdeal-tag {
 background-color: #C3EE49;
 
}

.bestseller-tag {
  background-color: white;
  border: 1px solid #c7c7c7;
}

.discount-tag {
  background-color: #DB4444;
  color: white;
}

.sidebar {
  width: 200px;
  font-size: 18px;
  height: 100vh;
  position: fixed;
  border-right: 1px solid #e6e6e6;
  left: 0;
  overflow-y: auto;
  padding-top: 20px;
}
.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.sidebar ul li {
  padding: 10px;
  color: #fff;
}
.sidebar ul li a {
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}
.sidebar ul li a:hover {
  background-color: #E9232F;
  color: white;
  border-radius: 30px;
}
.sidebar ul li i {
  margin-right: 10px;
}
.admin-link {
  padding: 8px 0 8px 0px;
  text-decoration: none;
  font-size: 14px;
  color: #302CEB;
}
.content {
  margin-left: 250px;

}
.admin-header {
  
  padding: 20px 0px 20px 0px
  
}
.footer {
  background-color: #444;
  color: #fff;
  padding: 10px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
}
.admin-tabs {
  overflow: hidden;
  
}
.admin-tabs button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
}
.admin-tabs button:hover {
  background-color: #E9232F;
  color: white;
}
.admin-tabs button.active {
  color: red;
  border-bottom: 2px solid rgb(199, 28, 28);
}
.csstabcontent {
  display: none;
  padding: 20px;
  border-top: none;
}
.csstabcontent.active {
  display: block;
}

.csstabcontent.sidebar-tab-content {
  display: none;
  padding: 20px;
  border-top: none;
  
}

.csstabcontent.sidebar-tab-content.active {
  display: block;
}

.sidebartabcontent {
  display: none;
  padding: 20px;
  border-top: none;
}
.sidebartabcontent.active {
  display: block;
}
.input-row {
  display: flex;
  margin-bottom: 20px;
}
.input-group {
flex: 1;
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
.input-group:last-child {
  margin-right: 0;
}

.input-group input {
  width: 200px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.imgtextContainer {
  display: flex;
}
.imgtextContainer p {
  padding-left: 10px;
  font-weight: bold;
}
.information-text-container {
  padding-top: 10px;
  font-size: 14px;
}
.admin-product-text-container {
  padding-left: 10px;
}
.admin-product-text-container p {
  margin-bottom: 10px;
  font-weight: 600;;
}

.tracking-log-container {
  display: flex;
  padding-top: 10px;

}

.tracking-log-time {
  border-right: 1px solid #c7c7c7;;
  padding: 10px;
}

.tracking-log-text {
  padding-left: 10px;
}

#payment-information .admin-button-container {
  margin-top: 10px;
}

.admin-tab-header {
  padding-bottom: 20px;
}
.admin-paymentinfo-button-container {
  margin-top: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

th, td {
  
  text-align: left;
  padding: 8px;
}

th {
  background-color: #F8F8F8;
  border-right: none;
}

.shipping-address-countainer {
  width: 300px;
    padding: 20px;
    border: 1px solid black;
    border-radius: 15px;
}

.close-input-row {
  flex: 0.2!important;
  margin-right: 10px;
}

.address-name {
  font-weight: bold;
}
.address-location {
  font-weight: bold;
}
.address-country {
  font-weight: bold;
}


form.onpageSearch input[type=text] {
  padding: 10px;
  font-size: 17px;
  border: 1px solid grey;
  float: left;
  width: 80%;
  background: #f1f1f1;
}

form.onpageSearch button {
  float: left;
  width: 20%;
  padding: 10px;
  background: #2196F3;
  color: white;
  font-size: 17px;
  border: 1px solid grey;
  border-left: none;
  cursor: pointer;
}

form.onpageSearch button:hover {
  background: #0b7dda;
}

form.onpageSearch::after {
  content: "";
  clear: both;
  display: table;
}

#monthlyfilters {
  background-color: #fafafa;
  font-size: 15px;
  padding: 10px;
}

.flex-end {
  justify-content: end;
}

.active-tab {
  display: block;
}

.general-container {
  padding: 20px;
}
.active-user {
  color: #219653;
  font-weight: bold;
}
.inactive-user {
  color: #E3146B;
  font-weight: bold;
}
.pending-user {
  color: #6A68EA;
  font-weight: bold;
}

.image-row {
  display: flex;
  justify-content: left;
}

.image-item {
  margin: 0 10px;
  
}

.image-item img {
  width: 100px; /* Adjust as needed */
  height: auto;
  border: 1px solid #ddd; /* Optional */
  border-radius: 5px; /* Optional */
}

.image-caption {
  font-size: 12px;
}

.acceptance-button-container {
  margin-top: 20px;
}

.analytics-card-small {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 250px;
  border: 1px solid #c7c7c7;
    border-radius: 10px;
}

.analytics-card-medium {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 350px;
  border: 1px solid #c7c7c7;
  border-radius: 10px;
}

.analytics-card-medium:hover {
  cursor: pointer;
}

.analytics-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  cursor: pointer;
}

.analytics-card-container {
  padding: 15px;
}
.analytics-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analytics-card-title {
  margin: 0;
}
.analytics-card-content {
  padding: 5px 0px 5px 0px;
}
.analytics-card-footer {
  display: flex;
  gap: 10px;
}

.analytics-card-link {
  text-decoration: none;
  color: black;
}
.settings-row {
  max-width: 1000px;
    margin: 0 auto;
}
.settings-group {
  height: 100%;
  width: 350px;
}

.main-container {
  min-width: 998px ;
}

.settings-card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 450px;
  border: 1px solid #c7c7c7;
    border-radius: 10px;
}

.settings-card:hover {
  background: #e9e9e9;
  cursor: pointer;
}

.settings-card-container {
  padding: 15px;
}

.settings-card-content {
  padding: 20px 0px 20px 0px;
}
.settings-card-footer {
  display: flex;
  justify-content: end;
}

.card-image {
  float: left;
  padding-right: 20px;
}

.product-card {
  padding: 10px;
  transition: 0.3s;
  border-radius: 5px;
}

.product-group-minimal {
  height: auto;
}
.small-padding-left {
  padding-left: 10px;
}
.main-content-sub-header{
  font-size: 13px;
  margin-bottom: 5px;
  
}
.product-card-container {
  padding: 0px 10px 10px 10px;
  
}


.product-card-container a{
  text-decoration: none;
  color: black;
}

.product-card-container a:hover{
  text-decoration: none;
  color: red;
}

.product-card-header {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
}

.product-card-header:hover {
  cursor: default;
}

.product-card-store {
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
}

.product-card-name {
  padding: 8px 0 8px 0;
}

.product-card-image {
 width: 100%;
 height: auto;
 
}

.product-card-price {
  color: red!important;
  font-weight: bold;

}

.product-card-delivery {
  padding: 8px 0 8px 0;
  font-size: 13px;
}

.product-card-source {
  display: flex;
  font-size: 12px;
}

.product-card-source label{
  font-weight: 100;
  margin-bottom: 0;
  margin-right: 10px;
}

.product-row {
  display: flex;
}

.product-group {
  display: flex;
  flex-direction: row;
  margin-right: 20px;
  margin-bottom: 20px;
  background-color: white;
}

.tabs {
  display: flex;
  
}

.tab-button {
  background-color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
  font-size: 15px;
  font-weight: bold;
}

.tab-button.active {
  background-color: white;
  color: #e9232f;
  border-bottom: 2px solid #be0d42;
  font-size: 16px;
  font-weight: bold;
}

.tab-content {
  padding: 20px;
  border-top: none;
  border-radius: 0 0 5px 5px;

}

.tab {
  display: none;
}

.tab.active {
  display: block;
}

.about-you,
.password,
.security,
.email,
.preferences
 {
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: white;
}

.shop-all-items,
.shop-categories,
.shop-deals {
  padding: 25px;
  margin-bottom: 20px;
}
input[type="password"],
input[type="email"] {
  width: 300px;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.switch:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .switch {
  background-color: #4CAF50;
}

input:checked + .switch:before {
  transform: translateX(26px);
}

.address-list,
.payment-methods {
  margin-bottom: 20px;
}

.address,
.payment-method {
  background-color: white;
  padding: 15px;
  margin-bottom: 10px;
  margin-top: 20px;
  border-radius: 4px;
  border: 1px solid #d5d5d5;
}
.change-password {
  display: block;
  margin-top: 10px;
}

.settings-user-info {
  padding: 10px 0px 10px 0px;
}
.settings-user-info p{
  font-size: 14px;
  
}

.payment-method {
  display: flex;
  flex-wrap: wrap;
}

.payment-method-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

.payment-info {
  flex: 1;
}

.payment-info label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  display: block;
}

.payment-info p {
  margin: 4px 0;
  color: #666;
  font-size: 14px;
}

.payment-info .expiry {
  font-size: 12px;
  color: #888;
}

.payment-info .badge {
  display: inline-block;
  background-color: #00a650;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  margin-top: 8px;
}

.payment-method-row .delete-button {
  align-self: flex-start;
  padding: 8px 16px;
  font-size: 14px;
}
.settings-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.settings-container p {
  font-size: 14px;
}
.settings-tab-header {
  margin-bottom: 20px;
  flex-basis: 100%;
}

.cart-details {
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 50px;
  margin-bottom: 20px;
  width: 80%;
  background: #fdfdfd;
}

.cart-choose-payment {
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}

.cart-details-header {
  display: flex;
  justify-content: space-between;
}
.payment-details {
  width: 35%;
  height: 35%;
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
}

.payment-methods {
  margin-bottom: 10px;
}

.payment-methods label {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.order-summary {
  border-top: 1px solid #ccc;
  padding-top: 10px;
  font-size: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.total {
  font-weight: bold;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
}
.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
}

.cart-item {
  display: flex;
  margin-bottom: 20px;
  
}

.item-details-row {
  display: flex;
  margin-bottom: 20px;
}
.review-count-text {
  font-size: 12px;
  color: black;
  margin-left: 5px;
}

.item-details-group {
  display: flex;
  gap: 20px;
}

.group-end {
  margin-left: auto;
  color: red;
}
.contact-shop-cart {
  font-size: 12px!important;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.rating {
  color: #ffc107;
  margin-bottom: 5px;
  line-height: 15px;
  margin-top: 5px;
}
.quantity {
  margin-bottom: 5px;
  
}

.quantity input {
  width: 40px;
  font-size: 16px;
}
.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e0e0e0;
  color: #000;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  border: 1px dashed black;
  margin-top: 10px;
  outline: none;
  width: fit-content;
  font-size: 12px;
}

.custom-file-upload:hover {
  background-color: #d0d0d0;
}

.custom-file-upload input[type="file"] {
  display: none;
}

.custom-file-upload span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  vertical-align: middle;
}
.cart-item-actions-list a{
  font-size: 12px;
  color: rgb(182, 19, 19);
  text-decoration: none;
  
  margin-right: 2px;
  
}
.cart-item-actions-list a:hover{
  color: rgb(110, 9, 9);
}

.a-icon-text-separator, .a-text-separator {
  display: inline-block;
  margin: -2px 0.67375em 0;
  width: 1px;
  background-color: #ddd;
  line-height: 0;
  height: 14px;
  vertical-align: middle;
}

.cart-imgtextContainer {
  display: flex;
}


.cart-item-contents {
  padding-left: 10px;
}

.cart-item-contents > * {
  margin-bottom: 6px;
}

.cart-item-contents > *:last-child {
  margin-right: 0px;
}

.addpayment-link {
  padding: 8px 0 8px 0px;
  text-decoration: none;
  font-size: 13px;
  color: #302CEB;
}

.checkout-details {
  
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
}

.left-column {
  flex: 1;
  
}
.left-column,
.left-column * {
   box-sizing: content-box;
}
.right-column {
  width: 350px;
  
}

.todo-container, .left-column, .left-column * {
  box-sizing: border-box;
}

.title {
  font-size: 1.17em;
  font-weight: bold;
  margin-bottom: 20px;
}

.change-btn {
  float: right;
  background-color: transparent;
  border: none;
  color: #3b8b22;
  cursor: pointer;
}

.payment-details-container {
  padding: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 50px;
    margin-bottom: 20px;
    width: 90%;
    background: #fdfdfd;
}
.row-group {
  flex: 1;
  display: flex;
  margin-bottom: 10px;
  margin-right: 25px;
  flex-direction: column;
  font-size: 14px;
}

.row-group h4 {
  margin-bottom: 5px;
}

.checkout-product-title {
  font-size: 14px;
}

.checkout-details-group {
  display: flex;
  gap: 20px;
  width: 50%;
}
.delivery-options p {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}
.delivery-options label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.delivery-options input[type="radio"] {
  margin-right: 10px;
}

.checkout-product-title {
  font-size: 14px;
  font-weight: bold;
}

.side-menu {
  width: 300px;
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  font-size: 13px;
}

.flag {
  font-size: 2.5rem;
  cursor: pointer;
  margin-bottom: 10px;
}

.flag img {
  width: 100px;
  height: auto;
}

.section {
  margin-bottom: 20px;
}

.section h4 {
  
  margin-bottom: 10px;
}

.section label {
  display: block;
  margin-bottom: 5px;
}

.section input[type="number"] {
  width: 80px;
  padding: 5px;
  margin-right: 5px;
}

.section label {
  cursor: pointer;

}
.rating {
  display: flex;
  margin-bottom: 5px;
}

.star {
  color: #b3d72b;
  font-size: 20px;
  cursor: pointer;
}

.star.active {
  color: #ff0;
}

.go-button {
  display: block;
  width: 50%;
  padding: 10px;
  background-color: #DB4444;
  font-size: 12px;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 20px;
}

.commerce-container {
  padding-top: 10px;
  display: flex;
  background-color: white;
  max-width: 1500px;
  margin: 0 auto;
}

.main-content {
  flex: 2;
  padding-left: 20px;
}

.shop-container {
  width: 100%;
  height: 300px;
  background-color: white;
}

.container-align-middle {
  margin: 0 auto;
  max-width: 1000px;
  padding: 20px;
 

}
.shop-imgname {
  margin-bottom: 20px;
  padding-right: 20px;
}

.shop-stats {
margin-bottom: 20px;
margin-right: 20px;
display: flex;
font-size: 15px;
padding: 20px;
}

.shop-buttons {
padding-left: 10px;
}

.column {
    padding: 10px;
}

.product-page-container {
  display: flex;
  gap: 20px;
  background: white;
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.05);
}



.product-image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-images {
 display: flex;
}

.product-page-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
}

.product-page-options {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
}

.container-large-middle {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
}

.product-gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-width: 0;
  max-width: 640px;
}

.thumbnail-row {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-direction: column;
  padding: 20px;
}

.thumbnail-wrapper {
  width: 80px;
  height: 80px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #8f8f8f;
}

.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-container {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: none;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.magnifier {
  position: absolute;
  width: 200px;
  height: 200px;
  background-repeat: no-repeat;
  background-size: 800px 800px;
  border: 1px solid #ccc;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.main-image-container:hover .magnifier {
  opacity: 1;
}

.magnifier::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-image: url('https://www.svgrepo.com/show/2480/pointer.svg');
  background-size: cover;
  pointer-events: none;
}

/* Existing styles */

/* Existing styles */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  margin: 5% auto; /* Adjust the top and bottom margins */
  padding: 20px;
  width: 80%;
  max-width: 1200px;
  height: 80%; /* Set the height to a percentage of the viewport height */
  background-color: #fff;
  overflow: hidden; /* Hide any overflowing content */
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.modal-main-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%; /* Set the height to 100% of the modal content */
}

.modal-image-container {
  width: 70%;
  height: 100%; /* Set the height to 100% of the main container */
  overflow: hidden;
}

.modal-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-thumbnail-container {
  align-content: flex-start;
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.25rem;
    overflow: auto;
  
}

.modal-thumbnail-wrapper {
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  height: 5rem;
  margin-bottom: 12px;
  margin-right: 12px;
  width: 5rem;
  border: 1px solid #249f38;
}

.modal-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-description {
  font-size: 14px;
  margin-top: 10px;
}
.product-container-tags {
  margin-top: 10px;
}

.product-container-review-stock {
  margin-top: 10px;
}
.product-discount-price {
  font-size: 22px;
  font-weight: 700;
  color: #16a34a;
}
.product-stock-status {
  margin-left: 15px;
  font-size: 14px;
  color: #B65700;
}

.product-container-shop-link-container {
  font-size: 14px;
  margin-top: 10px;
}

.product-container-shop-link {
  text-decoration: none;
  color: #7B44F1;
}
.product-container-price {
  color: #DB4444;
  margin-top: 10px;
  background-color: #fafafa;
  padding: 10px;
  font-weight: bold;
  font-size: 1.875rem;
}

.product-variatons-container {
  margin-top: 10px;
  border-top: 1px solid #c7c7c7;
}
.product-page-header {
  display: flex;
  justify-content: space-between;
}
.custom-select-label {
  margin-top: 10px;
  font-size: 14px;
  display: block;
  
}
.product-page-like {
  background: white;
  border: none;
  cursor: pointer;
  font-size: 20px;
}

.product-page-like.active {
  color: red;
}

.select-wrapper {
  position: relative;
  display: inline-block;
}

.custom-select {
  appearance: none;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  width: 150px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(15,14,14,.15);
}

.custom-select:focus {
  outline: none;
  border-color: #888;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.select-wrapper::after {
  content: "\25BC";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #888;
}

.custom-select option {
  background-color: #fff;
  color: #333;
}



.variations-label {
  font-size: 14px;
}

.variation-label {
  margin-top: 20px;
  font-weight: bold;
}

.variation-container {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.variation-thumbnail {
  width: 80px;
  height: 80px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}

.variation-thumbnail.active {
  border-color: #ccc;
}

.variation-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label-error {
  background-color: red;
  color: white!important;
  padding: 10px;
}

.similar-products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-width: 100%;
  width: 100%;
}


.similar-products-header {
  margin-bottom: 10px;
  border-top: 1px solid #c7c7c7;
  padding-top: 10px;
}


.item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.item i {
  font-size: 20px;
  margin-right: 10px;
  color: #333;
}

.item p {
  margin: 0;
  font-size: 14px;
  color: #4d4d4d
}

.item p:first-child {
  font-weight: bold;
  font-family: 'Inter';

}

.quantity-selector-wrapper {
  width: 100%;
}
.select-label {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
  line-height: 35px;
}
.rush-delivery-text {
  color: #007600!important;
}
.quantity-selector {
  width: 100%;
  box-shadow: 0 2px 5px rgba(15,17,17,.15);
}
/*
.quantity-selector {
  display: flex;
  align-items: center;
  background: #fafafa;
  border: 1px solid #c7c7c7;
  border-radius: 5px;
}

.quantity-selector button {
  font-size: 18px;
  padding: 5px 10px;
  background-color: #c6e700;
  border: none;
  cursor: pointer;
}

.quantity-selector .counter {
  font-size: 16px;
  margin: 0 10px;
}

.quantity-selector-label {
  margin-right: 10px;
  line-height: 30px;
}
*/

.product-page-quantity {
  display: flex;
  padding: 20px 0 20px 0;
}
.product-page-security {
  padding: 20px;
    border: 1px solid #c7c7c7;
    border-radius: 5px;
    background-color: #fafafa;
}
.product-page-button {
  display: flex;
}

.buy-now-button {
  
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.buy-now-button {
  width: 100%;
  padding: 15px;
  border: none;
  background: #FA8900;
  border-color: #FF8F00;
  color: white;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
}

.buy-now-button:hover {
  background-color: #E67700;
}

.add-address-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.add-address-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
}
label {
  display: block;
  margin-bottom: 5px;
}
.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-row .form-group {
  flex: 1;
  margin-right: 10px;
}

.form-row .form-group:last-child {
  margin-right: 0;
}
input[type="text"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.cancel-button,
.add-card-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.button-group {
  text-align: right;
  margin-top: 20px;
}
.cancel-button {
  background-color: #ccc;
  color: black;
  margin-right: 10px;
}

.add-card-button {
  background-color: #4CAF50;
  color: white;
}
 

.edit-profile-modal,
.edit-address-modal,
.delete-address-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.button-group {
  text-align: right;
  margin-top: 20px;
}

.cancel-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cancel-button {
  background-color: #ccc;
  color: black;
  margin-right: 10px;
}

.delete-payment-method {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.delete-payment-method-modal {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.delete-payment-method-modal h3 {
  margin-top: 0;
  color: #333;
  font-size: 24px;
}

.delete-payment-method-modal p {
  margin-bottom: 20px;
  color: #666;
  font-size: 16px;
}

.delete-payment-method-modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.delete-payment-method-modal .close:hover,
.delete-payment-method-modal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.delete-payment-method-modal .button-group {
  margin-top: 20px;
}

.delete-payment-method-modal .delete-button,
.delete-payment-method-modal .cancel-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.delete-payment-method-modal .delete-button {
  background-color: #ff5252;
  color: #fff;
  margin-right: 10px;
}

.delete-payment-method-modal .cancel-button {
  background-color: #f1f1f1;
  color: #333;
}

.delete-address-modal-content {
  max-width: 400px;
  text-align: center;
}

.delete-address-modal-content h3 {
  margin-top: 0;
}

.delete-address-modal-content p {
  margin-bottom: 20px;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}


.cancel-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}


.cancel-button {
  background-color: #ccc;
  color: black;
}

.product-small-details {
  display: flex;
  font-size: 12px;
  margin-top: 10px;
}

.product-small-details:first-child {
  margin-top: 20px;
}

.small-details-name {
  padding-right: 10px;
  color: #565959;
}

.small-details-description {
  color: #007185;
}

.shop-info-container {
  box-shadow: 0 3px 5px 0 rgba(0,0,0,.05);
  border-radius: 5px;
  padding: 20px;
  background-color: white;
  max-width: 1500px;
  margin-top: 20px;
}

.shop-info-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.shop-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 15px;
}

.shop-header-details {
  flex-grow: 1;
}

.shop-name {
  margin: 0;
}

.last-active {
  margin: 5px 0 0;
  color: #777;
  font-size: 14px;
}

.shop-header-actions button {
  margin-left: 10px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  color: #000;
  cursor: pointer;
}

.chat-now-btn {
  background-color: #fafafa;
  border: 1px solid #c7c7c7!important;
  color: black;
}

.chat-now-btn:hover {
  background-color: #c7c7c7;
}
.view-shop-btn {
  background-color: #e74747; 
  color: white!important;
}

.view-shop-btn:hover {
  background-color: #c52121;
}
.shop-details {
  display: flex;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 14px;
  justify-content: space-between;
}

.detail-label {
  font-weight: bold;
}

.detail-row {
  font-size: 14px;
}

.product-information-container {
  display: flex;
  flex-direction: column;
  max-width: 1500px;
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 3px 5px 0 rgba(0,0,0,.05)
}
.product-information-container p {
  font-size: 14px;
  padding: 5px;
}

.product-information-container h3 {
  background-color: #fafafa;
  padding: 5px;
  margin-bottom: 5px;
}
.in-stock {
  font-weight: bold;
  color: #249f38;
}


.product-page-collapsible {
  border-bottom: 1px solid #ccc;
}

.product-page-collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

.product-page-collapsible-header h4 {
  margin: 0;
}

.collapsible-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.product-page-collapsible-content {
  display: none;
  padding: 10px;
  font-size: 14px;
}

.product-page-collapsible.active .collapsible-icon {
  transform: rotate(45deg);
}

.product-page-collapsible.active .product-page-collapsible-content {
  display: block;
}

.tech-specs {
  border-collapse: collapse;
  width: 100%;
}

.tech-specs td {
  border: 1px solid #ddd;
  padding: 8px;
}

.tech-specs tr:nth-child(even) {
  background-color: #f2f2f2;
}

.spec-name {
  font-weight: bold;
  width: 50%;
}

.product-info-display {
  margin-bottom: 15px;
}

.customer-reviews {
  display: flex;
  color: #0F1111;
}

.review-summary {
  flex: 1; 
  padding: 20px;
  min-width: 300px;
}

.average-rating {
  font-size: 17px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.star-breakdown {
  margin-bottom: 20px;
}

.star-breakdown > div {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  cursor: pointer;
  
}

.star-breakdown > div:hover {
  text-decoration: underline;
  color: red;
}
.bar {
  height: 15px;
  background-color: #FFA41C;
  margin-right: 10px;
}

.label {
  width: 50px;
}

.write-review {
  background-color: #fafafa;
  border: 1px solid #c7c7c7;
  color: black;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  margin: 20px 0;
  cursor: pointer;
  border-radius: 5px;
}

.review-list {
  flex: 2;
  padding: 20px;
}


.review {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-right: 10px;
}

.reviewer-name {
  font-weight: bold;
}

.review-rating {
  margin-bottom: 5px;
}

.stars {
  color: #FFA41C;
  margin-right: 5px;
}

.review-meta {
  color: #565959;
  font-size: 14px;
  margin-bottom: 10px;
}

.verified {
  color: #007185;
  margin-left: 10px;
}

.review-text {
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 14px;
}

.read-more-state {
  display: none;
}

.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: .25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: inherit;
  max-height: 999em;
  font-size: 14px;
}

.read-more-trigger {
  cursor: pointer;
  display: inline-block;
  color: #007185;
  font-size: 14px;
}

.read-more-state ~ .read-more-trigger:before {
  content: 'Read more';
}

.read-more-state:checked ~ .read-more-trigger:before {
  content: 'Read less';
}

.review-images {
  margin-top: 10px;
  cursor: pointer;
}

.review-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 5px;
  border-radius: 3px;
}

.review-actions {
  margin-top: 10px;
}

.report-link {
  color: #007185;
  text-decoration: none;
  font-size: 14px;
}

.report-link:hover {
  text-decoration: underline;
}

.review-title {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
}

.write-review:hover {
  background-color: #e7e7e7;
}

#reviewModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#reviewModal .modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  height: 600px;
  overflow: scroll;
}

#reviewModal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.star-rating {
  direction: rt2; /* Reverse direction to fill stars from right to left */
}

.star-review {
  font-size: 30px;
  cursor: pointer;
  color: #ccc; /* Gray color for unselected stars */
}

.star-review:hover,
.star-review:hover ~ .star {
  color: #f0ad4e; /* Change color on hover */
}

.star-review.active {
  color: #f0ad4e; /* Active/selected star color */
}


#reviewModal .close:hover,
#reviewModal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#reviewModal .form-group {
  margin-bottom: 15px;
}

#reviewModal label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#reviewModal .rating-stars {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
}

#reviewModal .rating-stars .star {
  display: inline-block;
  transition: color 0.2s;
}

#reviewModal .rating-stars .star.active,
#reviewModal .rating-stars .star:hover {
  color: #ffcc00;
}

#reviewModal textarea {
  width: 100%;
  height: 100px;
  resize: vertical;
  max-width: 800px;
  max-height: 800px;
}
.review-filter-buttons {
  margin-bottom: 20px;
  margin-top: 20px;
}

.filter-btn {
  padding: 8px 16px;
  margin-right: 10px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #c7c7c7;
}

.filter-btn.active {
  background-color: #ddd;
}


#reviewImageModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
#modalImage {
  width: 600px;
  height: auto;
}
#reviewImageModal .modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  max-width: 1000px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#reviewImageModal .close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#reviewImageModal .close:hover,
#reviewImageModal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#reviewImageModal .modal-body {
  display: flex;
  padding: 20px;
}

#reviewImageModal .modal-image {
  flex: 2;
  padding-right: 30px;
}

#reviewImageModal .modal-image img {
  max-width: 100%;
  height: auto;
}

#reviewImageModal .modal-review {
  flex: 1;
  color: #333;
}

#reviewImageModal .review-header {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

#reviewImageModal .reviewer-name {
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
}

#reviewImageModal .review-rating {
  color: black;
}

#reviewImageModal .verified {
  font-size: 13px;
  margin-left: 0;
}

#reviewImageModal .review-title {
  font-size: 14px;
}
#reviewImageModal .review-date {
  color: #777;
  font-size: 13px; 
  margin-bottom: 15px;
}

#reviewImageModal .review-text {
  margin-bottom: 20px;
  line-height: 1.5;
}

#reviewImageModal .review-thumbnails {
  display: flex;
  flex-wrap: wrap;
}

#reviewImageModal .thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  border: 2px solid transparent;
} 

#reviewImageModal .thumbnail.active {
  border-color: #007bff;
}

#reportModal {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
}

#reportModal .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 400px;
  height: auto;
  max-height: 85vh;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 10px;
}

#reportModal h2 {
  margin-top: 0;
}

#reportModal .form-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#reportModal .form-group input[type="checkbox"] {
  margin-right: 10px;
}

#reportModal .report-button-group {
  text-align: right;
  margin-top: 20px;
}

#reportModal .report-cancel-button,
#reportModal .report-submit-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#reportModal .report-cancel-button {
  background-color: #fafafa;
  border: 1px solid #c7c7c7;
  color: black;
  margin-right: 10px;
}
#reportModal .report-cancel-button:hover {
  background-color: #c7c7c7
}
#reportModal .report-submit-button {
  background-color: #E2E535;
  color: black;
}

#reportModal .report-submit-button:hover {
  background-color: #b5b823;
}

#reportModal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#reportModal .close:hover,
#reportModal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#reportModal p {
  font-size: 13px;
  margin-bottom: 20px;
  color: #565959!important
}

#reportModal label {
  font-size: 14px;
}
.report-text {
  line-height: 15px;
}

/* --- Report-this-product: subtle link + compact modal -------------------- */
.report-product-wrap {
  margin-top: 14px;
}
.report-product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #888;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}
.report-product-link i {
  font-size: 11px;
}
.report-product-link:hover {
  color: #d32f2f;
}
.report-product-link.is-reported {
  color: #aaa;
  cursor: default;
  pointer-events: none;
}

#reportProductModal {
  align-items: center;
  justify-content: center;
}
#reportProductModal .modal-content {
  margin: auto;
  width: 92%;
  max-width: 440px;
  height: auto;
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
#reportProductModal h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
}
#reportProductModal hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 12px 0 18px;
}
#reportProductModal .close {
  color: #b0b0b0;
  font-size: 26px;
}
#reportProductModal .close:hover {
  color: #333;
}
#reportProductModal .form-group {
  display: block;
  margin-bottom: 16px;
}
#reportProductModal label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
#reportProductModal #report-product-type,
#reportProductModal #report-product-reason {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#reportProductModal #report-product-type {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
#reportProductModal #report-product-reason {
  resize: vertical;
  min-height: 84px;
}
#reportProductModal #report-product-type:focus,
#reportProductModal #report-product-reason:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
#reportProductModal .report-message p {
  font-size: 12.5px;
  color: #777;
  margin: 0 0 18px;
  line-height: 1.5;
}
#reportProductModal .report-button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}
#reportProductModal .report-cancel-button,
#reportProductModal .report-submit-button {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
#reportProductModal .report-cancel-button {
  background: #fff;
  border: 1px solid #d4d4d4;
  color: #444;
}
#reportProductModal .report-cancel-button:hover {
  background: #f3f3f3;
}
#reportProductModal .report-submit-button {
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #fff;
}
#reportProductModal .report-submit-button:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
#reportProductModal .report-submit-button:disabled {
  background: #9bb8f0;
  border-color: #9bb8f0;
  cursor: default;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.product-more-products {
  display: flex;
    flex-direction: column;
    max-width: 1500px;
    padding: 20px;
    margin-top: 20px;
}

.slider-container {
  position: relative;
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
}

.prev-btn,
.next-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
}


.hero-banner {
  background-image: url('https://m.media-amazon.com/images/S/al-na-9d5791cf-3faf/773f3633-b25e-4657-adae-dcf165f33fc6._CR0%2C0%2C3000%2C600_SX1500_.jpg');
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  background-position: top center;
  background-size: cover;
  min-width: 320px;
  max-width: 1500px;
  height: 0;
  max-height: 300px;
  padding: 0 0 20% 0;
}

.hero-banner-cat {
  position: relative;
  width: 100%;
  margin: 0;
  min-width: 320px;
  max-width: 1500px;
  height: 300px;
  min-height: 200px;
  max-height: 300px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: top center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}
.shop-imgname {
  position: absolute;
  top: 200px;
  left: 20px;
}

.shop-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.no-pad {
  padding: 0;
}

.marg-bottom-medium {
  margin-bottom: 20px;
}

.main-shop-details {
  display: flex;
  gap: 10px 20px; 
  font-size: 14px;
}

.detail-value {
  color: red;
}

.main-shop-details .detail-label {
  font-weight: 400;
}
.main-content-sub-header-filter {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #eff0f5;
  margin-bottom: 20px;
}

.filter {
  width: 150px;
  box-shadow: none;
  margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, .85);
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5715;
    list-style: none;
    font-feature-settings: "tnum";
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.filter-selector {
  background-color: white;
}
ul.breadcrumb {
  padding: 10px 10px 10px 0;
  list-style: none;
  border-bottom: 1px solid #eff0f5;
}
ul.breadcrumb li {
  display: inline;
  font-size: 12px;
}
ul.breadcrumb li+li:before {
  padding: 4px;
  color: #0275d8;
  content: "/\00a0";
}
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}

.items-cat {
  float: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 600px;
  line-height: 40px;
  overflow: hidden;
  margin-left: 15px;
  font-size: 14px;
}

.cat-filters {
  float: right;
  margin-right: 20px;
}

.home-page-thumbnail-row {
  margin: 20px 0;
}

.thumbnail-container-home {
  display: flex;
  gap: 10px;
  padding: 20px;
  font-size: 12px;
  justify-content: center;
}

.thumbnail-container-home a{
  text-decoration: none;
  color: #e92321;
}

.thumbnail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
  max-width: 100px;
}
.home-width {
  width: 1400px;
  background: white;
  padding-top: 30px;
}
.home-page-thumbnail-image {
  text-align: center;
}
.home-page-thumbnail-image img{
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
}

.home-page-thumbnail-text {
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
  color: #333;
}

.categories-section {
  padding: 0;
}

.categories-header {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.category-item:hover {
  border-color: #999;
  background-color: #e4e4e4;
}

.category-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.category-item span {
  font-size: 14px;
  text-align: center;
}

.white-body {
  background-color: white;
}

.flash-sales-section {
  margin-top: 40px;
}

.flash-sales-header {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.flash-sales-title {
  font-size: 24px;
  font-weight: bold;
}

.flash-sales-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #cf1f1f;
}

.timer-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 5px;
}

.timer-labels span {
  font-size: 12px;
}

.timer-digits {
  display: flex;
  justify-content: center;
  align-items: center;
}

.timer-digits span {
  font-size: 36px;
  font-weight: bold;
  margin: 0 5px;
}

.flash-sales-navigation {
  display: flex;
}

.prev-arrow,
.next-arrow {
  font-size: 24px;
  cursor: pointer;
  margin-left: 10px;
}

.flash-sales-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  background-color: #fafafa;
  padding: 30px;
}

.home-page-category-display {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.category-container {
  width: 30%;
  padding: 30px;
  background: #fafafa;
}

.category-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.category-content {
  position: relative;
}

.main-image-link {
  display: block;
}

.main-image {
  width: 100%;
  height: auto;
}

.thumbnail-grid {
  bottom: 10px;
  left: 10px;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.thumbnail-link {
  margin-right: 10px;
}

.thumbnail-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid red;
}

.thumbnail-link:hover .thumbnail-image {
  /* Add any hover effects for the thumbnails */
}

.loadmore-button-container {
  text-align: center;
  margin-top: 20px;
}

.load-more-button {
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  background-color: #f14b4b;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 50%;
}

.load-more-button:hover {
  background-color: #db3434;
}

/* CSS styles for the sidebar */
.sidebar {
  width: 250px;
  background-color: #f1f1f1;
  padding: 20px;
  float: left;
  height: 100vh;
}

.main-category {
  cursor: pointer;
  padding: 10px;
  background-color: #ddd;
  margin-bottom: 5px;
}

.subcategories {
  display: block;
  padding-left: 20px;
}

.subcategories a {
  display: block;
  padding: 10px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
  border-left: 3px solid transparent;
}

.subcategories a:hover {
  background-color: #f5f5f5;
  border-left-color: #ff5757;
}

.subcategories a.active {
  background-color: #f5f5f5;
  border-left-color: #ff5757;
  font-weight: bold;
}

/* CSS styles for the content area */
.content-container {
  margin-left: 270px;
  padding: 20px;
}

.seller-content {
  display: none;
}

.content h2 {
  margin-top: 0;
}

.content label {
  display: block;
  margin-bottom: 5px;
}

.content input[type="text"],
.content input[type="date"],
.content textarea {
  width: 200px;
  padding: 5px;
  margin-bottom: 10px;
}

/* CSS styles for the To Do List container */
.todo-container {
  margin-top: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.todo-container h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

.todo-container p {
  margin-top: 0;
  margin-bottom: 20px;
  color: #888;
}

.todo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.todo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 5px;
  background-color: #f5f5f5;
}

.todo-item:hover {
  background-color: #f9f9f9;
}

.todo-item .count {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.todo-item span {
  font-size: 14px;
  color: #888;
}

/* CSS styles for the tabs */
.tab-container {
  margin-top: 20px;
}

.tab-menu {
  list-style-type: none;
  padding: 0;
  font-size: 14px;
  margin: 0;
  display: flex;
  border-bottom: 1px solid #ccc;
}

.tab-menu p {
  font-size: 14px;
}
.tab-menu li {
  padding: 10px 20px;
  cursor: pointer;
  background-color: #f1f1f1;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.tab-menu li:first-child {
  border-left: 1px solid #ccc;
}

.tab-menu li.active {
  background-color: #fff;
  border-bottom: 1px solid #fff;
}

.tab-content {
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
  background-color: white;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}


.graph-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.graph {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.graph h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

/* ... (previous styles remain the same) ... */

.home-grid {
  display: flex;
}

.left-column {
  flex: 2;
  margin-right: 20px;
}

.announcements-container {
  background-color: #fff;
  margin-top: 20px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1;
  height: auto;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.announcements-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
}

.announcement {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.announcement:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.announcement h4 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
}

.announcement p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #555;
  font-size: 14px;
}

.announcement .date {
  display: block;
  font-size: 12px;
  color: #888;
}

/* ... (previous styles remain the same) ... */

.income-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.income-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.income-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
}

.income-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.income-item .label {
  
  text-wrap: nowrap;
  font-size: 14px;
}

.income-item .value {
  color: #c91a1a;
  font-weight: bold;
  font-size: 18px;
}

.income-item.total {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.income-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.income-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}


.business-insights-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.insights-header h3 {
  margin: 0;
  font-size: 18px;
}

.more-link {
  text-decoration: none;
  color: #007bff;
  font-size: 14px;
}

.insights-content {
  display: flex;
}

.insights-graph {
  flex: 1;
  margin-right: 20px;
}

.insights-data {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.data-item {
  margin-bottom: 0;
}

.data-item h4 {
  margin: 0;
  font-size: 16px;
}

.data-item p {
  margin: 5px 0;
  font-size: 24px;
  font-weight: bold;
}

.data-item span {
  font-size: 12px;
  color: #108510;
}

.seller-content input[type="text"] {
  width: 300px;
    padding: 5px;
    
    margin-bottom: 10px;
}

.standard-modal {
  max-width: 500px;
  position: relative;
  border: 2px solid black;
  background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    
}

/* ... (previous styles remain the same) ... */

.address-delivery {
  margin-left: 20px;
  font-size: 14px;
  color: white;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
}

.address-delivery:hover {
  border: 1px solid white;
  text-decoration: underline;
  cursor: pointer;
}


.see-all-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  cursor: pointer;
}

.see-all-btn:hover {
  text-decoration: none;
}

.address-delivery i {
  margin-right: 5px;
  font-size: 18px;
}

.address-delivery div {
  display: flex;
  flex-direction: column;
}

.address-delivery span {
  margin-bottom: 2px;
  font-size: 12px;
}


.address-delivery a {
  color: white;
  text-decoration: none;
}

.address-delivery a:hover {
  text-decoration: underline;
}

.language-selector {
  position: relative;
  padding: 15px 0;
  margin-left: 20px;
  margin-right: 30px;
  z-index: 2;
}

.selected-language {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.selected-language img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.language-options {
  display: none;
  position: absolute;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  color: black;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
}

.language-selector:hover .language-options {
  display: block;
}


.language-options label {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  cursor: pointer;
}

.language-options label img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.language-options input[type="radio"] {
  margin-right: 5px;
}

.xs-margin-left {
  margin-left: 5px;
}
.become-seller {
  display: flex;
  align-items: center;
  margin-right: 20px;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.become-seller i {
  margin-right: 5px;
  font-size: 18px;
}
.cart-button-nav {
  margin-right: 20px;
  font-size: 24px;
  display: flex;
  align-items: center;
}

.cart-button-nav a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

.cart-button-nav i {
  font-size: 24px;
}

.cart-text {
  margin-left: 15px;
  font-size: 14px;
}

.cart-icon-container {
  position: relative;
  display: inline-block;
}


.cart-count {
  position: absolute;
  top: -10px;
  right: -12px;
  background-color: #5aff2b;
  color: red;
  border-radius: 50%;
  padding: 2px 4px;
  font-size: 13px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
  pointer-events: none; /* Allow clicks to pass through the overlay */
  opacity: 0; /* Initially hide the overlay */
  transition: opacity 0.3s ease; /* Add a smooth transition effect */
  z-index: 1; /* Place the overlay below the language selector */
}

.language-selector:hover ~ .overlay {
  opacity: 1; /* Show the overlay when the language options are hovered */
}


.address-delivery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  color: black;
  background-color: rgba(0, 0, 0, 0.5);
}

.address-delivery-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 400px;
  max-width: 90%;
  position: relative;
  border-radius: 4px;
}

.address-delivery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.address-delivery-modal-header h2 {
  margin: 0;
}

.close {
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.address-delivery-modal-content p {
  margin-bottom: 20px;
  font-size: 14px;
}

.address-list {
  margin-bottom: 20px;
}

.address-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
  cursor: pointer;
}

.address-item:hover {
  background-color: #f5f5f5;
}

.address-item input[type="radio"] {
  margin-right: 10px;
}

.address-item-content {
  display: flex;
  flex-direction: column;
}

.address-item-content strong {
  font-weight: bold;
}

.address-item-content span {
  font-size: 13px;
  color: black;
}

.default-address {
  color: #888!important;
  font-size: 12px;
  margin-top: 5px;
}
.address-delivery-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 12px;
}

.manage-address-link {
  color: #007bff;
  text-decoration: none;
}

.address-delivery-modal-footer {
  text-align: right;
}

.btn-apply,
.btn-done {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.btn-apply {
  background-color: #007bff;
  color: #fff;
  margin-right: 10px;
}

.btn-done {
  background-color: #ccc;
  color: #000;
}

.user-options {
  display: flex;
  align-items: center;
  margin-right: auto;
  padding: 12px;
  font-size: 12px;
}

.user-options a {
  
  color: white;
  text-decoration: none;
}

.divider {
  margin: 0 10px;
  color: white;
}

.social-media-icons {
  display: flex;
  align-items: center;
}

.social-media-icons a {
  margin-left: 10px;
  color: white;
  text-decoration: none;
}

.review-container {
  align-items: center;
  min-height: 100vh;
  text-align: center;
  min-height: 100vh;
    width: 700px;
    text-align: center;
    margin: 0 auto;
}
.bag-images {
  position: relative;
  display: inline-block;
}

.shopping-bags {
  width: 350px;
}

.small-bags {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
}

.yellow-bag, .red-bag {
  width: 80px;
}

.red-bag {
  margin-left: 20px;
}

#withdrawModal .standard-modal {
  max-width: 500px;
  position: relative;
  border: 2px solid black;
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
}

#withdrawAmount {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

#sendRequest {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: #E2E535;
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#sendRequest:hover {
  background-color: #b5b823;
}

.home-performance-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.home-performance-container table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.home-performance-container th,
.home-performance-container td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.home-performance-container th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.onepauto {
  margin: 1% auto;
}

.shop-banner {
  width: 1200px;
  height: 300px;
  object-fit: contain;
}

.edit-profile-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.edit-profile-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

.edit-profile-modal-content .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.edit-profile-modal-content .close:hover,
.edit-profile-modal-content .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.edit-profile-modal-content .form-group {
  margin-bottom: 15px;
}

.edit-profile-modal-content label {
  display: block;
  margin-bottom: 5px;
}

.edit-profile-modal-content input[type="text"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.save-publish-button {
  background-color: #4CAF50;
  color: #fff;
}
.product-form-container {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.product-form-footer {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-end;
  border: 1px solid #cccccc;
}

.product-form {
  flex: 1;
  overflow-y: auto;
}

.new-product-input-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.new-product-input-group h4 {
  width: 200px;
  margin-right: 20px;
}

.input-wrapper {
  flex: 1;
}

.radio-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.input-hint {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 12px;
}

#product-description {
  resize: horizontal;
  width: 100%;
}

.new-product-thumbnail {
  width: 300px;
  height: 300px;
  object-fit: cover;
  margin-right: 10px;
  margin-bottom: 10px;
}

#add-new-product-thumbnail-container {
  display: flex;
  flex-wrap: wrap;
}

.weight-input,
.size-input {
  display: flex;
  align-items: center;
}

.weight-input input,
.size-input input {
  width: 100px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 5px;
}

.unit {
  font-size: 14px;
  color: #888;
}

.parcel-size-inputs {
  display: flex;
  gap: 10px;
}

.carrier-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carrier-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.carrier-option input[type="radio"] {
  margin-right: 10px;
}

.carrier-details {
  display: flex;
  align-items: center;
}

.carrier-details img {
  width: 80px;
  height: auto;
  margin-right: 10px;
}

.carrier-details p {
  font-size: 14px;
  color: #555;
}

#others input[type="text"], select {
  width: 200px;
}

.sales-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.new-product-input-group {
  flex: 1;
  margin-right: 20px;
}

.new-product-input-group:last-child {
  margin-right: 0;
}

.new-product-input-group h4 {
  margin-bottom: 5px;
}

.sales-input-wrapper {
  display: flex;
  align-items: center;
}

.sales-input-wrapper input[type="text"],
.sales-input-wrapper select {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.sales-input-wrapper .unit {
  margin-left: 5px;
  color: #888;
}

.variations-container {
  margin-top: 20px;
  padding: 0 20px 20px 20px;
    background: #fafafa;
}

.variations-input-group {
  margin-bottom: 20px;
}

.variation-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.variation-input-group {
  flex: 1;
  margin-right: 10px;
}

.variation-input-group:last-child {
  margin-right: 0;
}

.variation-input-group h4 {
  margin-bottom: 5px;
}

.variation-input-wrapper {
  display: flex;
  align-items: center;
}

.variation-input-wrapper input[type="text"],
.variation-input-wrapper input[type="number"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.variations-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.variation-header {
  display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.variation-group {
  border: 1px solid #a6a6a6;
  padding: 20px;
  margin-top: 10px;
}


.image-preview-container {
  margin-top: 10px;
}

.preview-image {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
}

.rule-board-container {
  background-color: #fff;
  margin-top: 20px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex: 1;
  height: auto;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  font-size: 14px;
  color: red;
}

.rule-list {
  margin-top: 20px;
  padding-left: 20px;
}

.rule-list li {
  margin-bottom: 10px;
}

#editProductModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#editProductModal .modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
}

#editProductModal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#editProductModal .close:hover,
#editProductModal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#editProductModal .modal-footer {
  text-align: right;
  margin-top: 20px;
}

#editProductModal .save-button,
#editProductModal .delist-button,
#editProductModal .delete-button {
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  display: inline-block;
}

#editProductModal .save-button {
  background-color: #4CAF50;
  color: white;
}

#editProductModal .delist-button {
  background-color: #FFA500;
  color: white;
}

#editProductModal .delete-button {
  background-color: #FF0000;
  color: white;
}

#violationsModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#violationsModal .modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
}

#violationsModal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#violationsModal .close:hover,
#violationsModal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#violationsModal .form-group {
  margin-bottom: 20px;
}

#violationsModal label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#violationsModal input[type="text"],
#violationsModal textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#violationsModal textarea {
  resize: vertical;
  min-height: 100px;
}

#violationsModal .modal-footer {
  text-align: right;
  margin-top: 20px;
}

#violationsModal .update-button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.order-title {
  margin: 0;
}

.order-search {
  margin-left: auto;
}

.order-tabs {
  margin-bottom: 20px;
}

.order-filter {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.order-filter-label {
  margin-right: 10px;
  font-size: 14px;
}

.order-content {
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  margin-bottom: 20px;
}

.cart-details-header {
  background-color: #f0f0f0;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.order-header-label {
  font-size: 12px;
  font-weight: bold;
}

.order-header-value {
  font-size: 14px;
}

.order-item {
  margin-top: 20px;
  padding: 20px;
}

.order-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  min-width: 250px;
}

.order-actions .buy-now-button,
.viewall-button {
  padding: 5px 10px;
  font-size: 12px;
}

.mr-left {
  margin-left: 20px;
}

.myorders-group-end {
  margin-left: auto;
  color: red;
  min-width: 250px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product-item {
  display: flex;
  flex-direction: column;
  
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.product-item img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 10px;
}

.product-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.product-item p {
  font-size: 14px;
  margin-bottom: 10px;
}

.add-to-cart-btn {
  padding: 8px 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#buy-again {
      padding: 20px;
      background: white;
}

.favorite-banner,
.remove-favorite-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  z-index: 9999;
  font-size: 14px;
  padding: 20px;
}

.favorite-banner {
  background-color: #122868;
  color: white;
  
}

.remove-favorite-banner {
  background-color: #de2a1e;
  color: white;
  
}

.category-item:hover {
  background-color: #f1f1f1;
}

.selected-category {
  display: inline-block;
  background-color: #DFE246;
  color: black;
  padding: 5px 10px;
  margin-right: 5px;
  border-radius: 4px;
}

.selected-categories-label {
  font-weight: bold;
  margin-bottom: 5px;
}

.selected-categories-path {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.category-separator {
  margin: 0 5px;
}

#selectedCategories {
  margin-top: 20px;
}

.category-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}
#categoryList {
  margin-top: 30px;
}
.dropdown-button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  background-color: #f1f1f1;
  cursor: pointer;
  border: 1px solid #a09797;
}
.dropdown-button:hover {
  background-color: white;
}
#categoryModal .dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.category-dropdown:hover .dropdown-content {
  display: block;
}

#categoryModal .modal-scroll {
  max-height: 400px;
  overflow-y: auto;
}

.selected-category-button {
  background-color: #DFE246;
  color: black;
  padding: 5px 10px;
  margin-right: 5px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-size: 14px;
}

.selected-category-button:hover {
  background-color: #b0b334;
}
/* ===== Payment Method Modal ===== */
.pm-modal-content {
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.pm-modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.pm-modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}
.pm-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card preview */
.pm-card-preview {
  width: 100%;
  height: 175px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1f5e 0%, #2d3a8c 50%, #4a1f6e 100%);
  position: relative;
  padding: 20px 24px;
  box-sizing: border-box;
  box-shadow: 0 8px 32px rgba(26,31,94,0.35);
  color: #fff;
  user-select: none;
  transition: background 0.4s ease;
}
.pm-card-preview.brand-visa {
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
}
.pm-card-preview.brand-mastercard {
  background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}
.pm-card-preview.brand-amex {
  background: linear-gradient(135deg, #005c97 0%, #363795 100%);
}
.pm-card-preview.brand-discover {
  background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  color: #222;
}
.pm-card-preview.brand-discover .pm-card-label { color: rgba(0,0,0,0.55); }
.pm-card-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #d4af37 0%, #f5d47a 50%, #b8860b 100%);
  border-radius: 5px;
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 2px;
  padding: 4px;
  box-sizing: border-box;
}
.pm-card-chip::after {
  content: '';
  grid-column: 1/-1;
  grid-row: 2;
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
}
.pm-card-brand-icon {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 28px;
  opacity: 0.9;
}
.pm-card-number-display {
  position: absolute;
  bottom: 52px;
  left: 24px;
  right: 24px;
  font-size: 20px;
  letter-spacing: 3px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}
.pm-card-footer-row {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.pm-card-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 2px;
}
.pm-card-val {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Type tabs */
.pm-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.pm-type-tab {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pm-type-tab.active {
  border-color: #4f46e5;
  background: #eef2ff;
  color: #4f46e5;
}
.pm-type-tab:hover:not(.active) {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* Fields */
.pm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pm-field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pm-cvv-note {
  font-size: 11px;
  font-weight: 400;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
}
.pm-field input {
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  color: #1a202c;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.pm-field input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.pm-field-row {
  display: flex;
  gap: 12px;
}
.pm-field-row .pm-field {
  flex: 1;
}
.pm-input-icon-wrap {
  position: relative;
}
.pm-input-icon-wrap input {
  padding-right: 44px;
}
.pm-input-brand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s;
}
.pm-input-brand.visa { color: #1a2980; }
.pm-input-brand.mastercard { color: #eb3349; }
.pm-input-brand.amex { color: #005c97; }
.pm-input-brand.discover { color: #f7971e; }

/* Default row */
.pm-default-row {
  margin-top: 2px;
}
.pm-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
}
.pm-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #4f46e5;
  cursor: pointer;
}

/* Security note */
.pm-security-note {
  font-size: 12px;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pm-security-note i { color: #4f46e5; }

/* Footer */
.pm-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.pm-btn-cancel {
  padding: 10px 20px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s;
}
.pm-btn-cancel:hover { background: #f8fafc; }
.pm-btn-save {
  padding: 10px 22px;
  background: #4f46e5;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
}
.pm-btn-save:hover { background: #4338ca; }
.pm-btn-save:disabled { background: #a5b4fc; cursor: not-allowed; }

/* Saved payment method cards */
.pm-saved-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.pm-saved-card:hover { border-color: #c7d2fe; }
.pm-saved-card.is-default { border-color: #4f46e5; }
.pm-saved-card-icon {
  font-size: 26px;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.pm-saved-card-icon.visa { color: #1a2980; }
.pm-saved-card-icon.mastercard { color: #eb3349; }
.pm-saved-card-icon.amex { color: #005c97; }
.pm-saved-card-icon.discover { color: #f7971e; }
.pm-saved-card-icon.bank { color: #059669; }
.pm-saved-card-info {
  flex: 1;
  min-width: 0;
}
.pm-saved-card-number {
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
}
.pm-saved-card-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 3px;
}
.pm-saved-card-badge {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pm-saved-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  flex-shrink: 0;
}
.pm-saved-set-default {
  font-size: 12px;
  color: #4f46e5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.pm-saved-delete {
  font-size: 12px;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
