/* =====================================================
   PRE-ORDER SALES PAGE STYLES - SIDEBAR LAYOUT
   ===================================================== */

* {
  font-family: 'Inter', sans-serif;
}

body {
  overflow-x: hidden;
  background: #f5f7fa;
}

.content_box {
  float: left;
  width: 100%;
}

/* =====================================================
   PRE-ORDER BANNER
   ===================================================== */

@keyframes swing {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(15deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(5deg);
  }

  80% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.preorder-banner {
  background: #fff8e1;
  border: 1px solid #ffe0b2;
  border-radius: 0;
  padding: 15px 25px;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #555;
  width: 100%;
  box-sizing: border-box;
}

.preorder-banner i {
  color: #c9a86c;
  font-size: 20px;
}

.preorder-banner strong {
  color: #333;
}

/* =====================================================
   MAIN CONTAINER - SIDEBAR + PRODUCTS LAYOUT
   ===================================================== */

.sales-page-container {
  display: flex;
  gap: 20px;
  padding: 0 0 30px 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* =====================================================
   LEFT SIDEBAR - FILTERS
   ===================================================== */

.filter-sidebar {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 0;
  height: fit-content;
  position: sticky;
  top: 20px;
  margin-left: 15px;
}

.sidebar-header {
  background: #007bff;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
}

.sidebar-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Filter Sections */
.filter-section {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.filter-section h5 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Custom Checkboxes */
.filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.filter-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.filter-checkbox .checkmark {
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background: #fff;
}

.filter-checkbox input:checked~.checkmark {
  background: #5a9;
  border-color: #5a9;
}

.filter-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-checkbox input:checked~.checkmark:after {
  display: block;
}

/* Custom Radio Buttons */
.filter-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.filter-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.filter-radio .radiomark {
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #fff;
}

.filter-radio input:checked~.radiomark {
  border-color: #5a9;
}

.filter-radio .radiomark:after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5a9;
}

.filter-radio input:checked~.radiomark:after {
  display: block;
}

/* MOQ Dropdown */
.moq-dropdown {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: #fff;
  cursor: pointer;
}

.moq-dropdown:focus {
  outline: none;
  border-color: #5a9;
}

/* Category List */
.category-list {
  padding: 15px 0;
  max-height: 300px;
  overflow-y: auto;
}

.category-item {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.category-item:hover {
  background: #f5f7fa;
  color: #333;
  text-decoration: none;
}

.category-item.active {
  background: #e8f4fc;
  color: #007bff;
  border-left-color: #007bff;
  font-weight: 700;
}

/* =====================================================
   MAIN PRODUCTS AREA
   ===================================================== */

.products-main {
  flex: 1;
  min-width: 0;
}

/* Top Bar */
.products-topbar {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.search-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-input-wrapper {
  display: flex;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.search-input-wrapper input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  font-size: 14px;
  outline: none;
}

.sidebar-toggle-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 15px;
  color: #555;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  height: 42px;
  min-width: 42px;
}

.sidebar-toggle-btn:hover {
  background: #f9f9f9;
  color: #333;
  border-color: #ccc;
}

.search-input-wrapper button {
  background: #fff;
  border: none;
  padding: 0 15px;
  color: #888;
  cursor: pointer;
}

.search-input-wrapper button:hover {
  color: #333;
}

.sort-area {
  flex-shrink: 0;
}

.sort-dropdown {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  min-width: 200px;
}

/* Products Title Bar */
.products-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.products-title-bar h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.view-toggle {
  display: flex;
  gap: 5px;
}

.view-toggle button {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: #fff;
  color: #888;
  cursor: pointer;
  border-radius: 4px;
}

.view-toggle button.active {
  background: #f5f5f5;
  color: #333;
}

/* Products Container */
.products-container {
  width: 100%;
}

/* =====================================================
   PRODUCT GRID - 4 COLUMNS (with sidebar)
   ===================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  /* Increased columns */
  gap: 15px;
  /* Reduced gap */
  padding-right: 0;
}

/* Sidebar Collapsed State */
.sidebar-collapsed .filter-sidebar {
  display: none !important;
}

.sidebar-collapsed .products-main {
  width: 100%;
  flex: 1;
  max-width: 100%;
}

/* =====================================================
   PRODUCT CARD - PRE-ORDER STYLE
   ===================================================== */

.product-card {
  background: #fff;
  border-radius: 20px;
  /* Increased rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 10px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* PRE-ORDER Badge */
.preorder-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.preorder-badge .badge-icon {
  margin-right: 4px;
}

/* Card Image */
.card-image {
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  /* Reduced height */
  height: 110px;
}

.card-image img {
  max-width: 100%;
  max-height: 100px;
  /* Reduced height */
  object-fit: contain;
}

/* Card Content */
.card-content {
  text-align: center;
}

.product-name {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.4;
  min-height: 36px;
}

.product-name a {
  color: #333;
  text-decoration: none;
}

.product-name a:hover {
  color: #f7931e;
}

/* Price */
.product-price {
  margin-bottom: 8px;
}

.current-price {
  font-size: 18px;
  font-weight: 700;
  color: red;
}

.original-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
}

.price-note {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* Delivery & MOQ Info */
.delivery-info,
.moq-info {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.delivery-info i {
  margin-right: 5px;
  color: #888;
}

/* Quantity Controls */
.quantity-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 12px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: #eee;
  color: #333;
}

.qty-input {
  width: 50px;
  height: 36px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.qty-input:focus {
  outline: none;
}

/* PRE-ORDER Button */
.preorder-btn {
  width: 100%;
  padding: 8px 15px;
  /* Compact padding */
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  margin-top: auto;
  /* Push to bottom */
}

.preorder-btn:hover {
  background: linear-gradient(135deg, #0069d9 0%, #004085 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
}

.preorder-btn.disabled {
  background: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Terms Link */
.terms-link {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #888;
  text-decoration: underline;
}

.terms-link:hover {
  color: #666;
}

/* =====================================================
   LOADING & END INDICATORS
   ===================================================== */

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  color: #888;
  gap: 15px;
}

.loading-indicator .spinner {
  width: 35px;
  height: 35px;
  border: 3px solid #eee;
  border-top-color: #c9a86c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.no-more-products {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  color: #888;
  gap: 8px;
  font-size: 13px;
}

.no-more-products i {
  color: #5a9;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media screen and (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-sidebar {
    width: 240px;
    min-width: 240px;
  }
}

@media screen and (max-width: 768px) {
  .sales-page-container {
    flex-direction: column;
  }

  .filter-sidebar {
    width: 100%;
    position: static;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-topbar {
    flex-direction: column;
  }

  .sort-dropdown {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   OLD STYLES (kept for backward compatibility)
   ===================================================== */

.grid {
  padding: 8px;
}

/* Modern Product Card */
.product-cell {
  font-family: 'Inter', sans-serif;
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 15px;
  margin-top: 0;
}

.product-cell:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Product Image Container */
.product-cell .product-image {
  position: relative;
  padding: 10px;
  background: #fafafa;
  border-radius: 12px;
  margin-bottom: 12px;
}

.product-cell .product-image:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.product-cell .product-image a {
  display: block;
}

.product-cell .product-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  left: 0;
  right: 0;
  top: 0;
  transition: transform 0.3s ease;
}

.product-cell:hover .product-image img {
  transform: scale(1.05);
}

.product-image .pic {
  opacity: 1;
  transition: all .5s;
}

/* Discount Badge */
.product-image .discount {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 8px;
  color: #fff;
  padding: 4px 8px;
  z-index: 2;
}

.product-cell:hover .product-image .pic {
  opacity: 0.9;
}

.product-image .pic-2 {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .5s;
}

.product-cell:hover .product-image .pic-2 {
  opacity: 1;
}

/* Social Icons - Hidden by default for cleaner look */
.product-cell .social {
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 50px;
  right: 25px;
  z-index: 1;
  display: none;
}

.product-cell .social li {
  margin: 0 0 10px;
  display: block;
  transform: translateX(100px);
  transition: all .5s;
}

.product-cell:hover .social li {
  transform: translateX(0);
}

.product-cell:hover .social li:nth-child(2) {
  transition-delay: .15s;
}

.product-cell:hover .social li:nth-child(3) {
  transition-delay: .25s;
}

.product-cell .social li a {
  color: #505050;
  background-color: #fff;
  font-size: 17px;
  line-height: 45px;
  text-align: center;
  height: 45px;
  width: 45px;
  border-radius: 50%;
  display: block;
  transition: all .3s ease 0s;
}

.product-cell .social li a:hover {
  color: #fff;
  background-color: #3498db;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.product-cell .social li a:after,
.product-cell .social li a:before {
  content: attr(data-tip);
  color: #fff;
  background-color: #000;
  font-size: 12px;
  line-height: 22px;
  border-radius: 3px;
  padding: 0 5px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%);
  position: absolute;
  left: 50%;
  top: -30px;
}

.product-cell .social li a:after {
  content: '';
  height: 15px;
  width: 15px;
  border-radius: 0;
  transform: translateX(-50%) rotate(45deg);
  top: -22px;
  z-index: -1;
}

.product-cell .social li a:hover:after,
.product-cell .social li a:hover:before {
  opacity: 1;
}

/* Hidden Add to Cart overlay */
.product-cell .add-to-cart {
  color: #fff;
  background-color: #404040;
  font-size: 15px;
  text-align: center;
  width: 100%;
  padding: 10px 0;
  display: none;
  position: absolute;
  left: 0;
  bottom: -100%;
  transition: all .3s;
}

.product-cell .add-to-cart:hover {
  background-color: #3498db;
  text-decoration: none;
}

.product-cell:hover .add-to-cart {
  bottom: 0;
}

.product-cell .product-new-label {
  background-color: #3498db;
  color: #fff;
  font-size: 17px;
  padding: 5px 10px;
  position: absolute;
  right: 0;
  top: 0;
  transition: all .3s;
}

.product-cell:hover .product-new-label {
  opacity: 0;
}

/* Product Content */
.product-cell .product-content {
  padding: 5px 5px 0;
  text-align: center;
}

/* Product Title */
.product-cell .title {
  font-size: 14px;
  margin: 0 0 6px;
  min-height: 40px;
  max-height: 40px;
  overflow: hidden;
  line-height: 1.4;
}

.product-cell .title a {
  color: #2c3e50;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-cell .title a:hover {
  color: #f7931e;
}

/* Product Code */
.product-cell .product-code {
  font-size: 11px;
  color: #95a5a6;
  margin-bottom: 6px;
  font-weight: 400;
}

/* Stock Count */
.product-cell .stock-info {
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 8px;
}

.product-cell .stock-info .stock-count {
  color: #f7931e;
  font-weight: 700;
}

/* Price Styling */
.product-cell .price {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #f7931e;
}

.product-cell .decriptions {
  height: 150px;
  overflow: hidden;
}

/* Button Styles */
.btn-success {
  background-color: #f7931e;
  border-color: #f7931e;
}

.btn-success:hover {
  background-color: #e8820f;
  border-color: #e8820f;
}

.btn-primary {
  background-color: #3498db;
}

/* Responsive Grid */
@media screen and (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 990px) {
  .product-cell {
    margin-bottom: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-content .line.dot {
  border-bottom: 1px dotted #c0c0c0;
}

.pb-2 {
  padding-bottom: 2em;
}

.pt-2 {
  padding-top: 2em;
}

.mb-2 {
  margin-bottom: 2em;
}

.mt-2 {
  margin-top: 2em;
}

.ml0 {
  margin-left: 0;
}

.mr0 {
  margin-right: 0;
}

.pl0 {
  padding-left: 0;
}

.pr0 {
  padding-right: 0;
}

.ml2 {
  margin-left: 2px;
}

.mr2 {
  margin-right: 2px;
}

.pl2 {
  padding-left: 2px;
}

.pr2 {
  padding-right: 2px;
}

.add_cart {
  font-size: 11px;
  line-height: 21px;
}

.cart {
  position: relative;
}

.cart i {
  font-size: 20px;
  color: #fff;
}

.cart span {
  font-weight: bold;
  font-family: arial;
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 3px;
  padding-right: 3px;
  background-color: red;
  border-radius: 10px;
}

.channel {
  border: 1px solid #f0f0f0;
  position: relative;
  height: 300px;
  border-radius: 3px;
}

.channel .wrap-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

.channel a span {
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(4%, 183%);
  font-size: 25px;
  color: #c0c0c0;
}

.channel .switch {
  position: absolute;
  bottom: 0px;
}

.channel.active.red {
  background-color: #fff7f8;
}

.channel.active.red a span {
  color: #e47424;
}

.channel.active.blue {
  background-color: #f7f8ff;
}

.channel.active.blue a span {
  color: #2724e4;
}

.channel.active.yellow {
  background-color: #fffff7;
}

.channel.active.yellow a span {
  color: #e4a924;
}

.channel.active.pink {
  background-color: #d47fd80f;
}

.channel.active.pink a span {
  color: #5c0a49;
}

/* Modern Category Sidebar */
.left_bar {
  padding-right: 10px;
}

.left_bar .nav-tabs--vertical {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
  overflow: hidden;
}

.left_bar .nav-tabs--vertical .head {
  background: linear-gradient(135deg, #4a6fa5 0%, #3d5a80 100%);
  padding: 16px 12px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  border-radius: 12px 12px 0 0;
  margin: -8px -8px 8px -8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.left_bar .nav-tabs--vertical .head h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.left_bar .nav-tabs--vertical .nav-item {
  margin: 2px 0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.left_bar .nav-tabs--vertical .nav-item a {
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  display: block;
  border-radius: 8px;
  transition: all 0.2s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.left_bar .nav-tabs--vertical .nav-item a:hover {
  background-color: #f0f7ff;
  color: #3498db;
  text-decoration: none;
}

.left_bar .nav-tabs--vertical .nav-item.active {
  background-color: rgba(52, 152, 219, 0.1);
  border-left: 3px solid #3498db;
}

.left_bar .nav-tabs--vertical .nav-item.active a {
  color: #3498db;
  font-weight: 600;
}

/* Modern Add to Cart Section */
.add-cart {
  text-align: center;
  width: 100%;
  padding: 10px 0 5px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-cart button,
.add-cart input[type="number"] {
  height: 36px;
  margin-top: 0;
  border-radius: 8px;
}

.add-cart input[type="number"] {
  width: 55px;
  text-align: center;
  border: 1px solid #e0e0e0;
  font-size: 13px;
}

.add-cart .btn-success {
  background: linear-gradient(135deg, #f7931e 0%, #e8820f 100%);
  border: none;
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.add-cart .btn-success:hover {
  background: linear-gradient(135deg, #e8820f 0%, #d9730a 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(247, 147, 30, 0.4);
}

.add-cart .btn-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border: none;
  font-size: 12px;
  padding: 8px 12px;
}

.add-cart .btn-default {
  background: #95a5a6;
  color: #fff;
  border: none;
  font-size: 12px;
  padding: 8px 16px;
  cursor: not-allowed;
}

.head_title {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.head_title div {
  color: #a6a6a7;
  border-bottom: 2px solid #a6a6a7;
  font-size: 17px;
}

.infor_page strong {
  line-height: 30px;
  font-size: 16px;
}

.head_content {
  text-align: center;
}

.head_content i {
  font-size: 110px;
  color: #28a500;
  ;
}

.btn_page {
  background-color: #e4a924;
  color: #fff;
  font-weight: bold;
  font-style: italic;
}

.btn_page.active {
  border: 1px solid #e4a924;
  background-color: #fff !important;
  color: #e4a924 !important;
}

.checkbox-option-client,
.checkbox-option-items {
  margin: 14px 0 0 0;
  padding: 17px 0px 0px 22px;
}

.promotions {
  color: red;
}

.price .old-price {
  color: #8a8484bf;
  text-decoration: line-through;
}

.nav-tabs--vertical .view_all {
  color: #fff;
  font-size: 10px;
  position: absolute;
  bottom: 2px;
  left: 4px;
  padding: 0px;
  padding-left: 4px;
  padding-right: 4px;
}

.channel {
  padding: 5px;
  opacity: 0.9;
  position: relative;
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Likely future */
}

.channel.pos::after {
  content: "";
  background-image: url('../images/01.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-origin: content-box, padding-box;
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.channel.portal::after {
  content: "";
  background-image: url('../images/02.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-origin: content-box, padding-box;
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.channel.woocommerce::after {
  content: "";
  background-image: url('../images/03.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-origin: content-box, padding-box;
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.channel.pre-order::after {
  content: "";
  background-image: url('../images/04.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-origin: content-box, padding-box;
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.channel.active a span {
  font-size: 27px;
  font-weight: bold;
  font-style: italic;
  background-color: #fff;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 26px;
}

.tab_cart .exit_tab {
  font-size: 10px;
  color: #c0c0c0;
}

.channel .bottoms {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  text-align: right;
  padding-bottom: 6px;
  padding-right: 5px;
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Likely future */
}

.channel .bottoms a.link {
  display: inline-block;
  font-weight: bold;
  color: #009;
  text-decoration: underline;
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Likely future */
}


.funkyradio div {
  clear: both;
  overflow: hidden;
}

.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  font-weight: normal;

}

.funkyradio input[type="checkbox"]:empty {
  display: none;
}

.funkyradio input[type="checkbox"]:empty~label {
  position: relative;
  line-height: 2.5em;
  text-indent: 3.25em;
  margin-top: 2em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.funkyradio input[type="checkbox"]:empty~label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #D1D3D4;
  border-radius: 3px 0 0 3px;
}

.funkyradio input[type="checkbox"]:hover:not(:checked)~label:before {
  content: '\2714';
  text-indent: .9em;
  color: #C2C2C2;
}

.funkyradio input[type="checkbox"]:hover:not(:checked)~label {
  color: #888;
}

.funkyradio input[type="checkbox"]:checked~label:before {
  content: '\2714';
  text-indent: .9em;
  color: #333;
  background-color: #ccc;
}

.funkyradio input[type="checkbox"]:checked~label {
  color: #777;
}

.funkyradio input[type="checkbox"]:focus~label:before {
  box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="checkbox"]:checked~label:before {
  color: #333;
  background-color: #ccc;
}

.funkyradio-primary input[type="checkbox"]:checked~label:before {
  color: #fff;
  background-color: #337ab7;
}

.funkyradio-success input[type="checkbox"]:checked~label:before {
  color: #fff;
  background-color: #5cb85c;
}

.funkyradio-danger input[type="checkbox"]:checked~label:before {
  color: #fff;
  background-color: #d9534f;
}

.funkyradio-warning input[type="checkbox"]:checked~label:before {
  color: #fff;
  background-color: #f0ad4e;
}

.funkyradio-info input[type="checkbox"]:checked~label:before {
  color: #fff;
  background-color: #5bc0de;
}

.go_to_edit_link {
  margin-top: -7px;
}

.switch {
  z-index: 999;
}

.pointer {
  cursor: pointer;
}

.fsize15 {
  font-size: 15px;
}

.not-select {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none
}

.price_w2 .old_prices {
  color: #c0c0c0;
  text-decoration: line-through;
}


.bodyfixed {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.width-100 {
  width: 100% !important;
}

.displaynone {
  display: none !important;
}

.background-green {
  background: #84c529 !important;
}

.add-cart .added {
  font-size: 10.5px;
}

.product-variation {
  border: 1px solid #dbdfe3;
  padding: .4em 1.9em 0.4em;
  position: relative;
  border-radius: unset;
  height: 30px;
  outline: none;
  margin-bottom: 3px;
}

.product-variation.selected {
  color: #ee4d2d;
  border-color: #dd3e3e;
}

.product-variation.selected:before {
  border: 6px solid transparent;
  border-bottom-color: #ee4d2d;
  content: "";
  position: absolute;
  right: -6px;
  top: -6px;
  transform: rotate(45deg);
}

#select_variation .image img {
  max-width: 100%;
}

#select_variation .prices .title {
  font-weight: bold;
  padding-bottom: 10px;
}

#select_variation .prices .price {
  color: #dc143c;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.07em;
}

#select_variation .content {
  margin-top: 20px;
}

#select_variation .title hr {
  margin-top: 15px;
}

#select_variation .right-division {
  border-left: 1px solid #f0f0f0;
}

.float-alert {
  z-index: 99999;
}


#popup_confirm .dialog-ovelay {
  position: absolute;
  top: -240px;
  left: 0;
  bottom: 0;
  z-index: 999999
}

#popup_confirm .dialog-ovelay .dialog {
  width: 350px;
  margin: 100px auto 0;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
  border-radius: 3px;
  overflow: hidden
}

#popup_confirm .dialog-ovelay .dialog header {
  padding: 10px 8px;
  background-color: #f6f7f9;
  border-bottom: 1px solid #e5e5e5
}

#popup_confirm .dialog-ovelay .dialog header h3 {
  font-size: 14px;
  margin: 0;
  color: #555;
  display: inline-block
}

#popup_confirm .dialog-ovelay .dialog header .fa-close {
  float: right;
  color: #c4c5c7;
  cursor: pointer;
  transition: all .5s ease;
  padding: 0 2px;
  border-radius: 1px
}

#popup_confirm .dialog-ovelay .dialog header .fa-close:hover {
  color: #b9b9b9
}

#popup_confirm .dialog-ovelay .dialog header .fa-close:active {
  box-shadow: 0 0 5px #673AB7;
  color: #a2a2a2
}

#popup_confirm .dialog-ovelay .dialog .dialog-msg {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e5e5
}

#popup_confirm .dialog-ovelay .dialog .dialog-msg p {
  margin: 0;
  font-size: 15px;
  color: #333
}

#popup_confirm .dialog-ovelay .dialog footer {
  padding: 8px 10px;
  float: right
}

#popup_confirm .dialog-ovelay .dialog footer .controls {
  direction: rtl
}

#popup_confirm .dialog-ovelay .dialog footer .controls .button {
  padding: 5px 15px;
  border-radius: 3px
}

#popup_confirm .button-default {
  background-color: rgb(248, 248, 248);
  border: 1px solid rgba(204, 204, 204, 0.5);
  color: #5D5D5D;
}

#popup_confirm .button-danger {
  background-color: #f44336;
  border: 1px solid #d32f2f;
  color: #f5f5f5
}

#popup_confirm .dialog-ovelay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
}

#box-loadding {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  perspective: 800px;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 888;
}

::selection {
  background-color: #2d98da;
  color: #fff;
}

.Box {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: none;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top: 5px solid #45aaf2;
  margin: 2px;
  animation: Loading 2s linear infinite;
}

.Box span {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  border: 5px solid transparent;
  border-top: 5px solid #45aaf2;
  border-radius: 50%;
  margin: 2px;
  animation: Loading 2s linear infinite;
}



@keyframes Loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.tag-item.left {
  left: 0;
  right: unset;
}

.tag-item {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.tag-item .content {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  padding: 4px 2px 3px;
  font-weight: 700;
  background-color: rgb(255 112 36 / 90%);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  font-weight: 400;
  line-height: .8125rem;
  color: #ee4d2d;
  text-transform: uppercase;
  font-size: .75rem;
  width: 36px;
}

.tag-item .content {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  padding: 4px 2px 3px;
  font-weight: 700;
  background-color: rgb(255 112 36 / 90%);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  font-weight: 400;
  line-height: .8125rem;
  color: #ee4d2d;
  text-transform: uppercase;
  font-size: .75rem;
  width: 36px;
  padding-top: 7px;
  padding-bottom: 5px;
}

.tag-item .content:after {
  content: "";
  width: 0;
  height: 0;
  left: 0;
  bottom: -4px;
  position: absolute;
  border-color: transparent rgb(255 112 36 / 90%);
  border-style: solid;
  border-width: 0 18px 4px;
}

.fs-13 {
  font-size: 13px;
}

.product-cell .price.sub {
  font-size: 13px;
  font-style: italic;
  text-decoration: line-through;
  color: #c0c0c0;
}

.price_w {
  display: grid;
  height: 40px;
}

.d-flex {
  display: flex;
}

.custom-radio label {
  display: flex;
  padding: 5px 0;
  font-size: 20px;
  cursor: pointer;
}

.custom-radio input[type="radio"] {
  opacity: 0;
}

.custom-radio .value {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 13px 5px 31px;
  font-size: 13.5px;
  border-radius: 5px;
  background: #f0f0f0;
}

.custom-radio .value:hover {
  background: #f56a6c;
}

.custom-radio .value::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dadada;
  outline: 0px solid #fff;
  transition: 0.4s;
}

.custom-radio input[type="radio"]:checked~.value {
  color: #fff;
  border-width: 5px;
  background: #f12e31;
  transition: 0.4s;
}

.custom-radio input[type="radio"]:checked~.value::before {
  outline-width: 5px;
  background: #fff;
}

.custom-checkbox input[type=checkbox] {
  display: none;
}

.custom-checkbox label {
  position: relative;
  padding-left: 20px;
  height: 19px;
  margin: 0;
}

.custom-checkbox span:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  background-color: #f0f0f0;
  box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
  border-radius: 3px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.custom-checkbox input[type=checkbox]:checked+label span:before {
  content: "\2713";
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
  font-size: 17px;
  font-weight: bold;
  color: #f12e31;
  text-align: center;
  line-height: 17px;
}

.mtop-40px {
  margin-top: 40px;
}

.pbot-4px {
  padding-bottom: 4px !important;
}

.flex2 {
  flex: 2;
}

.d-grid {
  display: grid;
}

.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
}

.refund_quantity_item {
  bottom: 0;
  width: 100px;
}

.title-wide {
  border-bottom: 2px solid #314e73;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.return-policy-fr img {
  max-width: 100%;
}

.select-placeholder:after {
  display: none !important;
}

.select-placeholder label,
.select-placeholder label small {
  --tw-blur: unset !important;
  opacity: unset !important;
}

/* Delivery Terms Page Styles */
.delivery-terms-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.terms-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid #f39c12;
}

.terms-header h1 {
  color: #2c3e50;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.terms-header i {
  color: #f39c12;
  font-size: 36px;
}

.terms-content-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 30px;
  min-height: 400px;
}

.terms-content {
  color: #34495e;
  font-size: 16px;
  line-height: 1.8;
}

.terms-content h2 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.terms-content h3 {
  color: #34495e;
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 12px;
}

.terms-content p {
  margin-bottom: 15px;
}

.terms-content ul,
.terms-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.terms-content li {
  margin-bottom: 10px;
}

.terms-content strong {
  color: #2c3e50;
  font-weight: 600;
}

.no-terms-message {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.no-terms-message i {
  font-size: 64px;
  color: #bdc3c7;
  margin-bottom: 20px;
}

.no-terms-message p {
  font-size: 18px;
  margin: 0;
}

.terms-footer {
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-back:hover {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  color: #fff;
  text-decoration: none;
}

.btn-back i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .delivery-terms-container {
    margin: 20px auto;
    padding: 0 15px;
  }

  .terms-header h1 {
    font-size: 24px;
  }

  .terms-content-wrapper {
    padding: 25px;
  }

  .terms-content {
    font-size: 15px;
  }
}
/* =====================================================
   QR CODE MODAL & FAB STYLES
   ===================================================== */
.qr-fab-btn {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: #2196F3 !important;
	color: #fff;
	border-radius: 50%;
	border: none;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	cursor: pointer;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.qr-fab-btn:hover {
	transform: scale(1.1) rotate(10deg);
	box-shadow: 0 8px 25px rgba(0,0,0,0.4);
	background: #1976D2 !important;
}
.qr-fab-btn i {
	font-size: 28px;
}
.qr-fab-tooltip {
	position: absolute;
	right: 70px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.8);
	color: white;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
.qr-fab-btn:hover .qr-fab-tooltip {
	opacity: 1;
}

#qrModal .modal-content {
	border-radius: 16px;
	border: none;
	overflow: hidden;
	box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}
#qrModal .modal-dialog {
	width: 420px;
	max-width: 95%;
	margin: 100px auto;
}
#qrModal .modal-header {
	background: #2196F3 !important;
	color: white;
	padding: 20px;
	text-align: center;
	position: relative;
    border-bottom: none;
}
#qrModal .modal-title {
	font-weight: 700;
	font-size: 20px;
	margin: 0;
	line-height: 1.4;
    color: white;
}
#qrModal .close-qr-modal {
	position: absolute;
	top: 15px;
	right: 15px;
	color: rgba(255,255,255,0.6);
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	transition: color 0.2s;
    outline: none;
}
#qrModal .close-qr-modal:hover {
	color: white;
}
#qrModal .modal-body {
	padding: 30px;
	background: #fff;
	text-align: center;
}
.qr-image-wrapper {
	width: 200px;
	height: 200px;
	margin: 0 auto 20px;
	padding: 10px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.qr-image-wrapper img {
	width: 100%;
	height: 100%;
    object-fit: contain;
}
.qr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}
.qr-action-btn {
	padding: 8px 16px;
	border-radius: 8px;
	border: none;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 6px;
    text-decoration: none !important;
    color: white !important;
}
.qr-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-whatsapp {
    background: #25D366 !important;
}
.btn-whatsapp:hover {
    background: #128C7E !important;
}
.btn-email {
    background: #607D8B !important;
}
.btn-email:hover {
    background: #455A64 !important;
}
.btn-download {
    background: #34495e !important;
}
.btn-download:hover {
    background: #2c3e50 !important;
}
.btn-copy-link {
	background: #f8f9fa !important;
	color: #333 !important;
	border: 1px solid #ddd !important;
}
.btn-copy-link:hover {
	background: #e9ecef !important;
}
.qr-help-text {
	color: #666;
	font-size: 14px;
	margin-bottom: 20px;
}

