.page-banner{
    background: url('../img/store/hats.jpg') center/cover no-repeat;
    width: 100%;
    height: 40vh;
    display: flex;
    align-items: center;
}

:root {
    --primary-color: #D83344;
    --text-color: #333333;
    --background-color: #f5f5f7;
    --card-background: #ffffff;
}

#mobile_bg{
  display: none;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.cont {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 24px 90px;
  gap: 24px;
  justify-content: space-around;  
}

.product-card {
    background-color: var(--card-background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 calc(25% - 24px);
    max-width: calc(25% - 24px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card__image {
    height: auto;
    width: 300px;
    overflow: hidden;
}

.product-card__image img {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__description i {
  color: #D83344; 
  margin-right: 8px;
  margin-top: 24px;
}

.product-card__info {
    padding: 20px;
}

.product-card__title h3 {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-card__description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.product-card__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card__price {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
}

.product-card__btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 36px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card__btn:hover {
    background-color: #C71729;
}

.product-section-header {
  position: relative;
}

.container-filtering-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding:24px;
}

.back-btn {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center; /* vertically center icon and text */
  gap: 8px; /* space between icon and text */
  left: 90px;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}


.back-btn:hover{
    border: 0.5px solid #333;
}

.container-filtering {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}


.form-control{
    display: flex;
    justify-content: center;
    height: 45px;
    width: 300px;
    padding-left: 12px;
    padding-right: 24px;
}

.horizontal-line{
    background-color: #C71729;
    height: 1px;
    width: 100%
}

.product-section-list{
    margin-top: 48px;
}

/* Beautify the form-control dropdown inside .container-filtering only */
.container-filtering .form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 14 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23333' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* On hover/focus */
.container-filtering .form-control:hover,
.container-filtering .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(216, 51, 68, 0.2);
  outline: none;
}


.class-row{
  display: flex;
  justify-content: center;   /* Center horizontally */
  align-items: center;       /* Center vertically */
  gap: 16px;
  height: 100px; /* or any height you want for vertical centering to work */
}

.class-row .number{
  background-color: #B31430; /* red */
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: default;
}

.number {
    /*box-shadow: 0 8px 8px 0 rgba(74, 74, 74, 0.25);;*/
}

.number:hover{
    scale: 1.2;
    box-shadow: 0 8px 8px 0 rgba(74, 74, 74, 0.25);;
}

.hat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 120px;
  max-width: 1920px;
  width: 100%;
  height: auto;
  background-color: #fff;
  gap: 40px;
  flex-wrap: wrap;
}

.hat-banner__text {
  flex: 1;
  min-width: 280px;
  margin-left: 90px;
  text-align: left;
}

.hat-banner__subtitle {
  display: none;
  color: #B31430;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 8px;
}

.hat-banner__title {
  font-size: 120px;
  font-weight: 900;
  color: #B31430;
  margin: 0;
  line-height: 0.8;
}

.acc-banner__title {
  font-size: 120px;
  font-weight: 900;
  color: #B31430;
  margin: 0;
  line-height: 0.8;
}

.hat-banner__description {
  color: #B31430;
  font-size: 18px;
  font-weight: 400;
  margin-top: 12px;
}

.hat-banner__image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.hat-banner__image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Flooting button CSS */

.floating-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
}

.floating-button input[type="checkbox"] {
  height: 0;
  width: 0;
  visibility: hidden;
}

.floating-button label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.floating-button > label div {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50rem;
  cursor: pointer;
}

.floating-button .button {
  height: 60px;
  width: 60px;
  background-color: #B31430;
  color: #fff;
  font-size: 1.5rem;
  transition: 0.3s;
  box-shadow: 0 1px 3px 3px rgb(80, 80, 80, 0.2);
  pointer-events: all;
}

.floating-button .button:hover {
  background-color: #8c071f;
}

.floating-button .hide-button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  transform: translateY(20px);
  transition: 0.3s;
  opacity: 0;
}

.floating-button .hide-button > div {
  height: 50px;
  width: 50px;
  background-color: #ffffff;
  color: #061329;
  font-size: 1.3rem;
  transition: 0.3s;
  box-shadow: 0 1px 2px 2px rgba(255, 255, 255, 0.1);
}
.floating-button .hide-button > div:hover {
  background-color: rgb(200, 200, 200);
}

.floating-button input:checked + label {
  pointer-events: all;
}
.floating-button input:checked + label .button {
  transform: scale(0.95) rotate(-135deg);
}
.floating-button input:checked + label .hide-button {
  opacity: 1;
  transform: translateY(0);
}

.icon-store-links{
    width: 30px; 
    height: auto;
}

/*End Floting button*/

@media screen and (max-width: 768px) {
    
   .hat-banner{
       padding-top: 80px;
   }    
    
  .hat-banner__title {
    font-size: 64px;
  }

  .acc-banner__title{
    font-size: 48px;
  }

  .hat-banner__description {
    font-size: 18px;
    padding:12px;
  }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media (max-width: 480px) {
  .hat-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 0px;
    text-align: center;
    justify-content: center;
    gap: 16px !important;
  }

  .hat-banner__text {
    text-align: center;
    margin-left: 0 !important;
  }

  .product-section-list .cont {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 12px;
  }

  .product-card {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    margin-bottom:16px;
  }

  .product-card__image {
    height: 130px;
    width: 100%;
  }

  .product-card__image img{
    text-align: center;
    width: 175px;
    height: auto;
  }

  .product-card__title{
    font-size: 16px !important;
    line-height: 20px !important;
  }

  .product-card__info{
    padding: 12px !important;
  }

  .product-card__description {
    font-size: 9px;
  }

  .product-card__price {
    font-size: 1rem;
  }

  .product-card__btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    width: 150px;
    height: 45px;
    text-align: center;
  }

  .form-control{
    width: 250px !important;
  }

  .back-btn{
    left: 0px !important;
  }

  .container-filtering-wrapper {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .product-card__price-row{
    display: flex;
    align-items: center !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

}
