:root {
  --primary-blue: #2c5f7a;
  --secondary-blue: #1a4a5c;
  --accent-orange: #ff6b35;
  --light-gray: #f8f9fa;
  --dark-gray: #2c3e50;
  --white: #ffffff;
  --border-light: #e9ecef;
  --gradient: linear-gradient(135deg,
      var(--primary-blue) 0%,
      var(--secondary-blue) 100%);
  --accent-gradient: linear-gradient(135deg,
      var(--accent-orange) 0%,
      #ff8c42 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light-gray);
}

button:focus {
  box-shadow: none !important;
  outline: none !important;
}

button:active {
  border: 0;
}

.heading-font {
  font-family: "Playfair Display", serif;
}

.text-accent {
  color: var(--accent-orange);
}

.section-title--md {
  font-size: 24px;
}

.section-title--sm {
  font-size: 20px;
}

.top-header {
  background: var(--gradient);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info a {
  margin-right: 2rem;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.contact-info a:hover {
  color: var(--accent-orange);
}

.user-actions a {
  color: var(--white);
  text-decoration: none;
  font-size: 20px;
  border-right: 2px solid #fff;
  margin-right: 4px;
  padding-right: 4px;
  transition: all 0.3s ease-in-out;
}

.user-actions a:hover {
  color: var(--accent-orange);
}

.main-header {
  background: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* position: sticky;
  top: 0; */
  /* z-index: 1000; */
}

header .logo img {
  height: 50px;
}

.logo-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
}

.logo-text p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  letter-spacing: 2px;
}

.search-bar {
  flex: 1;
  max-width: 500px;
  margin: 0 2rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: 25px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(44, 95, 122, 0.1);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-orange);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover,
.search-btn:focus,
.search-btn:active {
  background: var(--accent-orange) !important;
  color: var(--white) !important;
}

.cart-section {
  display: flex;
  align-items: center;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}


.cart-icon {
  font-size: 1.5rem;
  position: relative;
}

.cart-count-item {
  position: absolute;
  top: 2px;
  right: -4px;
  font-size: 10px;
  background: var(--accent-orange);
  border-radius: 30px;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-info h6 {
  margin: 0;
  font-size: 0.9rem;
}

.cart-info p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.navigation {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 0;
}

.nav-item {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  color: var(--primary-blue);
  background: rgba(44, 95, 122, 0.1);
}

.nav-item .nav-link:focus {
  color: var(--dark-gray);
}

.offcanvas-title img {
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.sidebar-wrapper {
  width: 280px;
  flex: 0 0 280px;
  background: var(--white);
  border-radius: 15px;
  padding: 0;
  height: fit-content;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  /* position: sticky;
    top: 120px; */
  flex: 0 0 auto;
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-wrapper .sidebar-header {
  background: var(--gradient);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 15px 15px 0 0;
  text-align: center;
}

.sidebar-wrapper .sidebar-header i {
  font-size: 18px;
}

.sidebar-main-content li a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-main-content li a i {
  color: var(--dark-gray);
}

.sidebar-main-content .list-title-styled h6 {
  padding: 14px 20px;
  background: var(--gradient);
  color: var(--white);
  margin-bottom: 0;
}

.list-title-styled li a {
  padding-left: 42px;
  font-size: 14px;
  padding-block: 10px;
  transition: all .4s ease-in-out;
}

.list-title-styled li a:hover {
  background-color: rgba(44, 95, 122, 0.1);
}

.categories-list>li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  justify-content: space-between;
  transition: all .4s ease-in-out;
  cursor: pointer;
  flex-wrap: wrap;
}

.categories-list>li svg {
  width: 20px;
  height: 20px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.categories-list>li svg.expanded {
  transform: rotate(180deg);
}

.categories-list>li a {
  flex: 1;
  border: 0;
}

.categories-list>li a:hover {
  background: transparent;
  color: var(--accent-orange);
}

.categories-list .categories-inner-list {
  padding: 0 0 0 20px;
  list-style: none;
  margin-bottom: 10px;
  width: 100%;
  display: none;
}

.main-content-wrapper {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sidebar-main-container .main-content {
  display: flex;
  gap: 2rem;
  padding: 2rem 0 0;
}

.main-banner {
  max-width: 100%;
}

.main-banner .swiper-slide img {
  border-radius: 20px;
  max-height: 460px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-banner .swiper-slide {
  border-radius: 20px;
  overflow: hidden;
}

.main-banner .swiper-slide::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: #0000004a;
  position: absolute;
  inset: 0;
}

.main-banner .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: var(--white);
  width: 100%;
  padding: 30px;
}

.btn-accent {
  background: var(--accent-orange);
  color: var(--white);
  padding: .75rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-accent:hover {
  background: #d65a48;
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}

.main-banner .swiper-wrapper,
.main-banner .swiper-wrapper .swiper-slide {
  height: inherit !important;
}

.main-banner .swiper-pagination-bullet-active {
  background: #ff6b35;
}

.toys-collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  grid-auto-rows: 160px;
}

.toys-collections-grid .toys-collection-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.toys-collections-grid .toys-collection-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer .social-list i {
  font-size: 24px;
  color: var(--accent-orange);
}

.footer .social-list a {
  display: block;
}

.footer .footer-logo {
  height: 50px;
}

.footer .vision-text {
  font-size: 14px;
  line-height: 1.2;
  color: var(--dark-gray);
}

.btn-close {
  background: transparent;
  border: none;
  opacity: 1;
  width: auto;
  height: auto;
}

.product-main-wrapper .product-card {
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(30, 34, 90, 0.07);
  border: none;
}

.product-main-wrapper .product-img {
  max-width: 100%;
  object-fit: contain;
  width: 100%;
  display: block;
  border-radius: 8px;
}

.product-main-wrapper .product-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
}

.product-main-wrapper .light-txt {
  color: #666;
}

.product-main-wrapper .product-details {
  background: #f0f7ff;
  border-radius: .75rem;
  padding: 1rem;
  font-size: .97rem;
}

.product-main-wrapper .category-link {
  text-decoration: underline;
}

.product-main-wrapper .page-count-text {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.calendar-section .calendar-header h2 {
  font-weight: 700;
  color: var(--accent-orange);
}

.calendar-section .event-card {
  border-left: 5px solid var(--dark-gray);
  background: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 15px 20px rgba(171, 31, 245, 0.03);
  cursor: pointer;
  text-decoration: none;
}

.calendar-section .event-card:hover {
  box-shadow: 0 6px 40px rgba(171, 31, 245, 0.08);
  transform: translateY(-4px);
}


.calendar-section .event-img {
  max-width: 200px;
  height: auto;
  flex-shrink: 0;
}

.calendar-section .event-title {
  color: var(--accent-orange);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: .3rem;
}

.calendar-section .event-details {
  font-size: 0.96rem;
  color: #363144;
}

/* conatct page  */

.primary-btn {
  padding: 12px 20px;
  background: var(--primary-blue);
  color: var(--white);
  display: inline-block;
  line-height: 1;
  font-size: 16px;
  font-weight: 500;
  border: 0px !important;
  transition: all 0.3s ease-in-out;
}

.primary-btn:hover,
.primary-btn:focus {
  color: var(--white) !important;
  background: var(--accent-orange) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: none;
}

.required {
  color: var(--accent-orange);
}

a {
  color: var(--primary-blue);
}

.alert-wholesale {
  background: rgba(44, 95, 122, 0.1);
}

.contact-playbulk .info-item {
  text-decoration: none;
}

.contact-playbulk .info-label,
label {
  font-weight: 500;
}

.box-shadow {
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.about-playbulk img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
  border-radius: 8px;
}

.form-section {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.form-check-input:checked {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.form-check-input:focus {
  box-shadow: none;
}

.country-select {
  width: 100% !important;
}

@media screen and (max-width: 1440px) {
  .toys-collections-grid {
    grid-auto-rows: 130px;
  }

}


@media screen and (max-width: 991px) {
  .nav-link {
    width: 100%;
    border-radius: 0;
  }

  .nav-item .nav-link.active,
  .nav-item .nav-link:hover {
    width: 100%;
    background: var(--dark-gray);
    color: var(--white);
  }

  .sidebar-wrapper {
    width: auto;
    position: relative;
    top: 0;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 0px;
  }

  .sidebar-main-container .main-content {
    gap: 20px;
    flex-direction: column;
    padding: 0;
  }

  .sidebar-wrapper .sidebar-header {
    border-radius: 0;
  }

  .toys-collections-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-search-btn {
    position: initial;
    transform: initial;
    margin-inline: auto 12px;
    width: 30px;
    height: 30px;
  }

  .cart-section {
    padding: 0;
    background: transparent;
  }

  .cart-section i {
    color: var(--accent-orange) !important;
    font-size: 23px !important;
  }

  .search-bar-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
  }

  .search-bar-wrapper.is-visible {
    opacity: 1;
    pointer-events: auto;
    display: block !important;
  }

  .slide-in {
    animation: slideInFromTop 0.3s forwards;
  }

  .slide-out {
    animation: slideOutToTop 0.3s forwards;
  }

  @keyframes slideInFromTop {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes slideOutToTop {
    from {
      transform: translateY(0);
      opacity: 1;
    }

    to {
      transform: translateY(-100%);
      opacity: 0;
    }
  }

  .search-input {
    border: 1px solid var(--border-light);
    border-radius: 0;
  }
}

@media screen and (max-width:767px) {
  .toys-collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-banner .swiper-slide {
    border-radius: 12px;
  }

  .user-actions a {
    font-size: 14px;
    border-right: 0;
    margin-right: 0px;
  }

  .contact-info a {
    margin-right: 5px;
    font-size: 12px;
  }

  header .logo img {
    height: 45px;
  }

  .main-banner .slide-content {
    padding: 15px;
  }

  .main-banner .slide-content h1 {
    font-size: 22px;
  }

  .main-banner .slide-content p {
    font-size: 14px;
  }

  .btn-accent {
    padding: .5rem 1.5rem;
    font-size: 16px;
  }

  .products-inner .btn-accent {
    width: 100%;
  }

  .calendar-section .event-card {
    flex-direction: column;
    gap: 20px;
    border-width: 3px;
  }

  .box-shadow {
    padding: 24px 12px;
  }
}

@media screen and (max-width:567px) {
  .toys-collections-grid {
    grid-auto-rows: 110px;
  }

}


@media screen and (min-width:991px) {

  #offcanvasSidebar,
  #offcanvasNav {
    visibility: visible;
    position: initial;
    transform: inherit;
    border: 0;
    width: auto;
  }

}