* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'MyHelvetica';
  src: url('/fonts/Helvetica.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'MyHelvetica';
  src: url('/fonts/Helvetica.ttf') format('truetype');


  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'MyHelvetica';
     src: url('/fonts/Helvetica.ttf') format('truetype');


  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'MyHelvetica';
  src: url('/fonts/Helvetica.ttf') format('truetype');


  font-weight: 700;
  font-style: italic;
}

body {
  font-family: 'MyHelvetica', sans-serif; /* 👈 force custom Helvetica */
}

@keyframes heart {
  0% {
    transform: scale(0);
  }

  25% {
    transform: scale(0.5);
    color: red;
  }

  50% {
    transform: scale(1);
    color: red;
  }
}


a {
  color: inherit;
  text-decoration: none !important;
}
ul {
  list-style: none;
}
main {
  width: 100%;
  min-height: 100vh;
  /* margin-top: 150px; */
}
.product-name {
  cursor: pointer;
}
.product-name:hover {
  color: #097a6e;
}
/* -------------------- scroll button -------------------- */
#scrollBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  height: 50px;
  width: 50px;
  background-color: #097a6e;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  transition: all 0.4s;
}
#scrollBtn:hover {
  color: #097a6e;
  background-color: white;
  border: 2px solid #097a6e;
}
#scrollBtn #btn-up {
  padding-top: 4px;
  font-size: 20px;
}

.size-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: bottom 0.3s ease-in-out;
  z-index: 999;
  border-radius: 12px 12px 0 0;
  padding: 20px;
}

.size-popup.show {
  bottom: 0;
}

.size-popup-content {
  max-height: 60vh;
  overflow-y: auto;
}

.size-option {
  padding: 12px 10;
  border-bottom: 1px solid #eee;
}

.size-option label {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.size-option .stock {
  color: red;
  font-size: 12px;
}

/* --------------------------- header -------------------------------  */
header {
  width: 100%;
  z-index: 1000;
  /* position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 60; */
}
.header_top {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 8%;
  height: 90px;
}
.header_top ion-icon {
  font-size: 24px;
  color: rgba(0, 0, 0, 0.886);
  margin-right: 8px;
}
.header_top img {
  width: 100px;
}
nav {
  position: relative;
  background-color: #eceded;
}

.scroll-down {
  position: static;
  top: initial;
  left: initial;
}

.scroll-up {
  /* position: fixed; */
  top: 0;
  left: 0;
}
#display_login {
  display: none;
  align-items: center;
  justify-content: center;
}
.header_actions {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
#signout,
.header_actions #user_name {
  font-size: 12px;
  font-weight: 500;
  margin-right: 4px;
}
.header_actions #logout {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* .header_actions a{
    display: inline-block;
    width: 24px;
    height: 24px;
} */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
nav ul li {
  padding: 6px;
  margin: 4px;
  position: relative;
}
nav ul li a {
  font-size: 18px;
  color: #000000;
}
header nav li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #000000;
  left: calc(50% - 12px);
  bottom: -4px;
  transition: 0.4s ease-in-out;
}

header nav li:hover::after {
  width: 25px;
}
.icon-cart {
  position: relative;
}
.icon-cart #cart-counter {
  position: absolute;
  background-color: red;
  color: #fff;
  width: 17px;
  height: 17px;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 10px;
  line-height: 17px;
  box-shadow: 1px 1px 3px #0000004d;
  opacity: 1;
  transition: 0.3s ease-in-out;
  text-align: center;
  border-radius: 50%;
  top: -12px;
  right: -10px;
}
/* ------------------------ cart section ----------------- */
.cart-section {
  width: 400px;
  background-color: #fff;
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  z-index: 9999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease;
}
body.showCart .cart-section {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.cart-header h2 {
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 37px;
}
.cart_products {
  flex-grow: 1;
  overflow-x: auto;
}
.cart_products.empty {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cart_products {
  flex-grow: 1;
  overflow-x: auto;
  padding-right: 16px;
  scrollbar-color: #097a6e;
}

.cart_products::-webkit-scrollbar {
  width: 8px;
}

.cart_products::-webkit-scrollbar-track {
  background: #097a6f15;
}

.cart_products::-webkit-scrollbar-thumb {
  background-color: #097a6f93;
  border-radius: 5px;
}

.cart_products::-webkit-scrollbar-thumb:hover {
  background-color: #097a6e;
}

.cart_product {
  display: flex;
  margin-bottom: 25px;
  position: relative;
}
.cart_product::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #868686;
}
.cart_product .cart_product_img {
  width: 100px;
  margin-right: 24px;
}
.cart_product .cart_product_img img {
  width: 100%;
}
.cart_product_info {
  width: 80%;
}
.cart_product .top_card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.cart_product .top_card h4 {
  font-size: 13px;
  font-weight: 400;
}
.cart_product .top_card .product_price {
  font-size: 12px;
  color: #010101;
}
.remove_product {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(134 134 134 / 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding-left: 1px;
}
.cart_total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.cart_total h3 {
  font-size: 16px;
  font-weight: 500;
}
.cart_total #total_price {
  font-size: 16px;
  font-weight: 600;
  color: red;
}
.buttom_card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.buttom_card .counts {
  width: 100px;
  height: 30px;
  border: 2px solid rgb(134 134 134 / 50%);
  text-align: center;
  display: inline-block;
  position: relative;
  margin-right: 20px;
  touch-action: manipulation;
}
.buttom_card .counts_btns {
  position: absolute;
  display: block;
  padding: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border: 0;
  background-color: transparent;
  color: rgb(134 134 134 / 50%);
  font-size: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.buttom_card .minus {
  left: 0;
  text-align: left;
  padding-left: 15px;
}
.buttom_card .plus {
  right: 0;
  text-align: right;
  padding-right: 15px;
}
.buttom_card .product_count {
  width: 35px;
  border: 0px;
  height: 30px;
  background: 0px 0px;
  padding: 0;
  font-weight: 400;
  font-size: 14px;
  color: #000;
  text-align: center;
  margin-left: 0 !important;
}
.buttom_card .product_count:focus {
  outline: none;
}
.closeCart {
  background-color: rgb(134 134 134 / 14%);
  width: 37px;
  height: 37px;
  line-height: 37px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.closeCart ion-icon {
  font-size: 18px;
  font-weight: 400;
}
.btn_control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.btn_control .checkout,
.btn_control .viewCart {
  text-transform: uppercase;
  font-size: 12px;
  transition: 0.25s ease-in-out !important;
  font-weight: 500;
  height: 48px;
  padding: 0 25px;
  min-width: 120px;
  width: calc(50% - 5px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn_control .viewCart {
  background-color: #fff;
  border: 1px solid #000000;
}
.btn_control .checkout:hover,
.btn_control .viewCart:hover {
  background-color: #0ec1ae;
  color: #fff;
  border: 1px solid #fff;
}
.btn_control .checkout {
  background-color: #000;
  color: #fff;
  border: none;
}

/* ------------------------ footer ----------------------- */
.footer {
  background-color: #fff;
  padding: 4% 8%;
}
.black-footer {
  background-color: #000000;
  color: #fff;
}
.footer .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-top .footer-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-top .footer-logo p {
  font-size: 16px;
  color: #868686;
  margin: 12px 0;
}
.footer-top .footer-list {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}
.footer-list h4 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 8px;
}
.footer-list ul li {
  margin: 20px 0;
  color: #868686;
}
.footer-bottom {
  margin-top: 20px;
  text-align: center;
}
.footer-company-name ion-icon {
  color: red;
  transition: all 0.4s;
  animation: heart 1s infinite;
  -webkit-animation: heart 1s infinite;
}
.footer-bottom #author {
  font-size: 18px;
  color: #097a6e;
  transition: 0.4s;
}
.footer-bottom #author:hover {
  color: #696969;
}

/* Navbar list */
.nav-list {
  list-style: none;
  display: flex;
  gap: 6px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  padding: 10px;
  display: block;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  min-width: 180px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 5px;
  color: #444;
  display: block;
  font-size: 16px;
}

.dropdown-menu a:hover {
  background: #f4f4f4;
  color: #000;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Large screens */
@media (min-width: 1200px) {
  .information {
    flex-wrap: nowrap;
  }
  /* for home page section top product */
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
  /* for products page */
  .products .content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .slide .text h2 {
    font-size: 40px;
    font-weight: 400;
  }
  .information {
    flex-wrap: wrap;
  }
  .info {
    width: 50%;
    justify-content: flex-start;
  }
  /* for home page section top product */
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  /* for products page */
  .products .content {
    grid-template-columns: repeat(2, 1fr);
  }
  .productDetails .details .buttons {
    flex-wrap: wrap;
  }
  .productDetails .details #btn_add {
    width: 100%;
    margin-top: 20px;
  }

  .productDetails .details #btn_buy {
    width: 100%;
    margin-top: 20px;
  }

  .collection-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .news.hight {
    height: 300px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer .footer-top {
    flex-wrap: wrap;
  }
}

/* Small screens */
@media (max-width: 767px) {
  nav {
    position: relative;
    background-color: #e7e8e8;
  }
  main {
    padding: 4%;
  }
  .header_top ion-icon {
    font-size: 20px;
  }
  .header_top img {
    width: 80px;
  }
  .slider {
    display: none;
  }
  .hero_for_phone {
    display: block;
    width: 100%;
    height: 350px;
  }
  .hero_for_phone .hero-content {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
    position: relative;
  }
  .hero_for_phone .hero-content img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    object-fit: cover;
    object-position: center center;
  }
  .hero_for_phone .text {
    position: absolute;
    left: 20px;
    top: 100px;
  }
  .hero_for_phone .text h2 {
    font-size: 24px;
    font-weight: 400;
  }
  .hero_for_phone p {
    width: 200px;
    font-size: 10px;
    font-weight: 300;
    color: #868686;
  }
  .hero_for_phone .shop-btn {
    margin-top: 20px;
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 10px;
    width: 120px;
  }
  .information {
    flex-direction: column;
  }

  .info {
    width: 100%;
    justify-content: flex-start;
  }

  .info .info-icon img {
    width: 60px;
  }

  .info .info-text h3 {
    font-size: 12px;
  }

  .info .info-text p {
    font-size: 10px;
  }
  /* for home page section top product */
  .top_products .products {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  /* for products page */
  .products .content {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  .productDetails {
    gap: 10px;
  }
  .collection-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cart-section {
    width: 80%;
  }
  .btn_control {
    flex-direction: column;
  }
  .btn_control .viewCart {
    margin-bottom: 12px;
    color: #000;
  }
  .btn_control .checkout,
  .btn_control .viewCart {
    width: 100%;
  }
  .news.hight {
    height: 300px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .news .Subscribe-form {
    width: 100%;
    margin-bottom: 20px;
  }
  .news .Subscribe-form input {
    width: 100%;
  }
  .footer .footer-top {
    flex-wrap: wrap;
  }
  .footer .footer-top .footer-list {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer {
    padding: 20px 5%;
  }

  .footer .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer .footer-logo img {
    width: 100px;
  }

  .footer .footer-logo p {
    font-size: 12px; /* smaller text */
    color: #777;
    line-height: 1.4;
  }

  .footer .footer-top .footer-list {
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }

  .footer .footer-list h4 {
    font-size: 14px; /* small but bold */
    font-weight: 600;
    margin-bottom: 6px;
  }

  .footer .footer-list ul li {
    margin: 6px 0;
    font-size: 12px; /* 👈 smaller links */
    color: #555;
  }

  .footer .footer-bottom {
    margin-top: 15px;
    text-align: center;
  }

  .footer .footer-bottom p {
    font-size: 11px; /* 👈 very small copyright */
    color: #777;
  }
  .productDetails .details .buttons {
    flex-wrap: wrap;
  }
  .productDetails .details #btn_add {
    width: 100%;
    margin-top: 20px;
  }
  .productDetails {
    grid-template-columns: 1fr;
  }
  .toast-overlay {
    top: -1000px;
  }
  .toast-overlay.show {
    top: 300px;
  }
  .cart_page .content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .cart_products {
    padding-right: 0;
  }
  .collection-card {
    min-height: 450px;
  }

  .nav-list a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    display: block;
    font-size: 12px;
    white-space: nowrap;
  }

  .productDetails .details #btn_buy {
    width: 100%;
    margin-top: 20px;
  }
}

.top-bar {
  width: 100%;
  background: black;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.scroll-text {
  display: inline-block;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding-left: 100%;
  animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



.overlay-menu {
  margin-top: 15px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.overlay-link {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.overlay-link:hover {
  background: white;
  color: black;
}

/* to remove updown from input number */
/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Loading Skeleton Styles */
.skeleton {
  opacity: 0.7;
  animation: skeleton-loading 1.5s infinite;
}

.skeleton-img {
  background: #e0e0e0;
  height: 200px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton-line {
  background: #e0e0e0;
  height: 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-title {
  width: 80%;
  height: 16px;
}

.skeleton-desc {
  width: 100%;
  height: 14px;
}

.skeleton-price {
  width: 60%;
  height: 16px;
}

.skeleton-animation {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes skeleton-loading {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.7;
  }
}

/* Loading Indicator */
.loading-indicator {
  text-align: center;
  padding: 20px;
  display: none;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Error Message */
.error-message {
  text-align: center;
  padding: 40px;
  color: #666;
}

.retry-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.retry-btn:hover {
  background: #2980b9;
}

/* Product Count */

/* Search Box */
.search-container {
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.search-input:focus {
  outline: none;
  border-color: #3498db;
}

/* this is lazy loading in trending page  */

/* Professional Glass Morphism Pagination */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 1.5rem;
  grid-column: 1 / -1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.pagination-controls::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.03) 0%,
    rgba(168, 85, 247, 0.03) 50%,
    rgba(236, 72, 153, 0.03) 100%
  );
  border-radius: 24px;
  z-index: -1;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pagination-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.pagination-btn:hover:not(:disabled)::before {
  left: 100%;
}

.pagination-btn:active:not(:disabled) {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

.pagination-btn:disabled {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  border-color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pagination-btn ion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.pagination-btn:hover:not(:disabled) ion-icon {
  transform: scale(1.1);
}

.prev-btn:hover:not(:disabled) ion-icon {
  transform: translateX(-2px) scale(1.1);
}

.next-btn:hover:not(:disabled) ion-icon {
  transform: translateX(2px) scale(1.1);
}

.page-info {
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
  min-width: 140px;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

.page-info::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  border-radius: 2px;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: row;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    margin: 2rem 0;
    border-radius: 20px;
  }

  .pagination-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .page-info {
    width: 100%;
    max-width: 200px;
    order: 0;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .pagination-controls {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.1) 100%
    );
    border-color: rgba(255, 255, 255, 0.1);
  }

  .pagination-btn {
    color: #f3f4f6;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%
    );
  }

  .page-info {
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.05);
  }
}

/* Micro-interactions */
@keyframes gentlePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.pagination-controls {
  animation: gentlePulse 3s ease-in-out infinite;
}

/* Focus states for accessibility */
.pagination-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Loading state for pagination */
.pagination-controls.loading {
  opacity: 0.7;
  pointer-events: none;
}

.pagination-controls.loading .pagination-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}



/* Additional Details Sections */
.product-details-sections {
  margin-top: 2rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.details-section {
  border-bottom: 1px solid #ddd;
}

.details-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px;
  font-size: 14px;   /* small text */
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: color 0.3s ease;
}

.details-toggle.active {
  color: #198754;  /* greenish accent when active */
}

.details-content {
  max-height: 0;              /* start closed */
  overflow: hidden;           
  padding: 0 12px;            
  transition: max-height 0.4s ease, padding 0.3s ease; /* ✅ smooth animation */
}

.details-content.open {
  max-height: 500px;  /* enough to show content */
  padding: 10px 12px; /* padding back on open */
}

.text-sm {
  font-size: 13px;   
  line-height: 1.5;
}





.details-content.open {
  display: block;
}

.text-sm {
  font-size: 13px;   /* ✅ small text */
  line-height: 1.5;
}


.details-content li {
  padding: 0.25rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.details-content li:last-child {
  border-bottom: none;
}

/* Random Video Section */
.random-video {
  margin-top: 2rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.random-video h3 {
  margin-bottom: 1rem;
  color: #333;
}

.video-thumbnail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.video-thumbnail img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.no-thumbnail {
  width: 150px;
  height: 100px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #666;
}

.video-info h4 {
  margin: 0 0 0.5rem 0;
  color: #333;
}

.video-category {
  color: #666;
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.video-views {
  color: #888;
  font-size: 0.8rem;
  margin: 0.25rem 0;
}

.view-product-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.view-product-btn:hover {
  background: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
  .video-thumbnail {
    flex-direction: column;
  }
  
  .video-thumbnail img,
  .no-thumbnail {
    width: 100%;
    height: 150px;
  }
}


/* Simplified Checkout Styles */
.contact-methods {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  min-width: 120px;
}

.contact-option:hover {
  border-color: #007bff;
  background: #f8f9fa;
}

.contact-option input {
  margin-right: 0.5rem;
}

.order-note {
  background: #e7f3ff;
  border: 1px solid #b3d9ff;
  border-radius: 5px;
  padding: 1rem;
  margin: 1rem 0;
}

.order-note p {
  margin: 0;
  color: #0066cc;
  font-size: 0.9rem;
}

.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.success-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #28a745;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.success-content h3 {
  color: #28a745;
  margin-bottom: 1rem;
}

.success-content p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.btn-confirm {
  background: #28a745;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-confirm:hover {
  background: #218838;
}

/* Remove payment-related styles */
.card-details {
  display: none !important;
}