@import url("https://fonts.googleapis.com/css2?family=Alata&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Glacial Indifference';
  src: url('/fonts/GlacialIndifference-Regular.woff') format('woff2'),
      url('/fonts/GlacialIndifference-Regular.woff2') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Glacial Indifference', sans-serif;
    background-color: #ebebeb;
    padding-top: 50px;
    padding-bottom: 100px;
  }

  .stickybar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 180px;
    background-color: #ebebeb;
    z-index: 80;
  }

  .skewbox {
    background-color: #ebebeb;
    width: 420px;
    height: 140px;
    position: fixed;
    top: 25px;
    left: 230px;
    transform: skew(-20deg);
    border-radius: 20px;
  }

.stickybar p {
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 18px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px #91918e,
                -3px -3px 5px #ffffff;    
    z-index: 100;
  }

  .stickybar a {
      text-decoration: none;
      position: fixed;
      top: 25px;
      right: 250px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      box-shadow: inset 0 0 10px 3px black;
      background-color: #af4045;
      color: #af4045;
      display: flex;
      justify-content: center;
      align-items: center; 
  }

  .stickybar i {
    text-shadow: 2px 2px 5px black;
    font-size: 118px;
  }

  .stickybar a:hover {
    top: 20px;
    right: 240px;
    width: 120px;
    height: 120px;
  }

  .stickybar i:hover {
    font-size: 138px;
  }

  .dialing {
    width: 150px;
    height: 150px;
    position: fixed;
    top: -15%;
    left: 2%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #e7e7e7;
    box-shadow: 5px 5px 5px #91918e,
              -3px -3px 2px #ffffff;
    z-index: 150;  
  }

  .dialing i {
    font-size: 40px;
    z-index: 200;
    position: fixed;
    top: 80%;
    left: 50%;
    color: #444444;
    text-shadow: 2px 2px 4px rgba(255, 255, 255);
  }

  .dial {
    width: 255px;
    height: 255px;
    position: fixed;
    top: -15%;
    left: 2%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #f5f5f0;
    box-shadow: 0 0 10px 5px #a1a1a1;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.5s ease-in-out; 
  }
  
  .page-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #e7e7e7;
    box-shadow: 5px 5px 5px #91918e,
    -3px -3px 2px #ffffff;    
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  
  .dial.active {
    transition: transform 0.5s ease;
  }
  
  .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
  .pagination-container button {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .pagination-container button:disabled {
    background-color: #ccc;
  }
  
  .page-circle.active {
    background-color: #e7e7e7;
    box-shadow: inset 3px 3px 5px #a4a4a4,
    inset -3px -3px 5px #ffffff;  
  }
  
.hamburger-menu {
  display: none;
  position: fixed;
  top: 25px;
  right: 25px;
  background-color: #e7e7e7;
  box-shadow: 5px 5px 10px #91918e,
              -5px -5px 10px #ffffff;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 100;
}

button, a, input, select {
  outline: none;
}

.hamburger-menu i {
  color: #929292;
  font-size: 24px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  padding-top: 125px;
}

.sort-container {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  z-index: 90;
  top: 90px;
  right: 30px;
}

.sort-dropdown {
    position: relative;
}

.sort-button {
    background-color: #f5f5f0;
    color: rgb(82, 82, 82);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 5px 5px 5px #91918e,
              -3px -3px 2px #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.sort-button i {
    margin-left: 10px;
}

.sort-options {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e7e7e7;
    box-shadow: 5px 5px 5px #91918e,
              -3px -3px 2px #ffffff;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    border-radius: 5px;
    display: none;
    z-index: 10;
}

.sort-options li {
    padding: 10px 20px;
    cursor: pointer;
    color: #333;
    border-radius: 5px;
}

.sort-options li:hover {
    background-color: #e7e7e7;
    box-shadow: inset 3px 3px 5px #a4a4a4,
                inset -3px -3px 5px #ffffff;
}

.search-container {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
}

.search-icon {
    display: inline;
    cursor: pointer;
    font-size: 20px;
    color: #929292;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 90;
    background-color: linear-gradient(145deg, #ddddd8, #ffffff);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 5px 5px 10px #91918e,
              -5px -5px 10px #ffffff;
  }

.search-bar {
    position: fixed;
    z-index: 90;
    right: 30px;
    top: 30px;
    width: 0;
    height: 40px;
    padding: 0 10px;
    border-radius: 30px;
    border: none;
    box-shadow: inset 3px 3px 5px #a4a4a4,
                inset -3px -3px 5px #ffffff;
    background-color: white;
    color: #333;
    font-size: 16px;
    font-style: italic;
    transition: width 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 90;
}

.search-bar.active {
    width: 200px;
    opacity: 1;
    visibility: visible;
}

  .sidebar {
    width: 20%;
    min-width: 200px;
    background-color: #e7e7e7;
    color: rgb(0, 0, 0);
    padding: 10px;
    border-radius: 8px;
  }
  
  .sidebar ul {
    list-style: none;
  }
  
  .sidebar ul li {
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    background-color: #e7e7e7;
    box-shadow: 5px 5px 5px #91918e,
              -3px -3px 2px #ffffff;
  }
  
  .sidebar ul li:hover {
    background-color: #e7e7e7;
    box-shadow: inset 3px 3px 5px #a4a4a4,
                inset -3px -3px 5px #ffffff;
    border-radius: 5px;
  }

  .sidebar ul li.active {
    background-color: #e7e7e7;
    box-shadow: inset 3px 3px 5px #a4a4a4,
    inset -3px -3px 5px #ffffff;    
    border-radius: 5px;
  }
  
  .main-content {
    width: 80%;
    padding-left: 50px;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 50px;
  }

  .product-item {
    position: relative;
    width: 200px;
    height: 400px;
    background: #f0f1f5;
    box-shadow:  6px -6px 12px #c5c6c9,
             -6px 6px 12px #ffffff;
    border-radius: 5%;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
  }
  
  .toggle-arrow {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f5f5f0;
    font-size: xx-small;
    box-shadow: 5px 5px 10px #91918e,
              -5px -5px 10px #ffffff;    
    bottom: 3%;
    right: 8%;
    display: flex;
    cursor: pointer;
    color: #858585;
    align-items: center;
    justify-content: center;
  }
  
  .product-description a {
    display: inline-block;
    background-color: #e7e7e7;
    color: #000000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 35px;
    margin-bottom: 15px;
    box-shadow: 2px 2px 5px #91918e,
              -3px -3px 5px #ffffff;
  }
  
  .product-description a:hover {
    box-shadow: inset 0 0 5px 3px rgb(0, 0, 0, 0.3);
  }
  
  .product-description p {
    font-size: 1rem;
    color: #333;
    font-style: italic;
  }
  
  .image-slider {
    position: relative;
  }

  .image-slider i {
    color: rgb(255, 255, 255);
    position: absolute;
    top: 40%;
  }

  .prev-image {
    left: 5%;
  }

  .next-image {
    right: 5%;
  }
  
  .product-image {
    width: 100%;
    border-radius: 5px;
    display: none;
    transition: opacity 0.5s ease-in-out;
  }
  
  .product-item.flipped {
    transform: rotateY(180deg);
  }
  
  .card-front,
  .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 5px;
  }
  
  .card-front {
    background: #e7e7e7;
    padding: 15px;
  }
  
  .card-back {
    transform: rotateY(180deg);
    background: #e7e7e7;
    justify-content: center;
    align-items: center;
  }
  
  .product-image.active {
    display: block;
    opacity: 1;
  }
  
  .product-description {
    margin-top: 15px;
    padding: 15px;
    text-align: center;
  }
  
  .product-content {
    padding: 15px;
  }

  .product-content h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .product-content p {
    display: inline;
    font-size: 14px;
    color: #000000;
    background-color: #e7e7e7;
    box-shadow: 2px 2px 5px #91918e,
                -3px -3px 5px #ffffff;
    border-radius: 35px;
    padding: 8px 10px;
  }
  
  .quantities {
    margin-top: 20px;
  }

  select {
    margin-top: 18px;
    display: inline;
    background-color: #e7e7e7;
    color: #000000;
    border-radius: 35px;
    padding: 8px 10px;
    border: none;
    box-shadow: inset 3px 3px 5px #a4a4a4,
                inset -3px -3px 5px #ffffff;
  }

  option {
    background-color: #ffffff;
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .pagination button {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .pagination button:disabled {
    background-color: #ccc;
  }

  .sticky {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color: #f5f5f0;
    z-index: 10;
  }

  .skewy {
    background-color: #f5f5f0;
    width: 500px;
    height: 85px;
    position: fixed;
    bottom: 5px;
    left: 20px;
    transform: skew(-15deg);
    border-radius: 20px;
  }

.sticky p {
    position: fixed;
    top:7px;
    left: 8px;
    font-size: 20px;
    padding: 8px;
    box-shadow: 2px 2px 5px #91918e,
                -3px -3px 5px #ffffff;
    border-radius: 10px;
    z-index: 100;
  }

  .sticky a {
      text-decoration: none;
      position: fixed;
      bottom: 25px;
      right: 30px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      box-shadow: inset 0 0 15px 3px black;
      background-color: #af4045;
      color: #af4045;
      display: flex;
      justify-content: center;
      align-items: center; 
  }

  .sticky i {
    text-shadow: 2px 2px 5px black;
    font-size: 118px;
  }

  @media screen and (max-width: 1289px) {
  
    .product-grid {
      gap: 30px;
    }
  }
  
  @media screen and (max-width: 1039px) {

  .sidebar {
    width: 25%;
    min-width: 200px;
  }

  .main-content {
    width: 75%;
    padding-left: 30px;
  }

  .product-grid {
    gap: 20px;
  }

  .dial {
    width: 255px;
    height: 255px;
    position: fixed;
    top: -10%;
    left: 3%;
    transform: translateX(-50%);
  }

  .dialing {
    width: 150px;
    height: 150px;
    top: -9%;
    left: 2%;  
  }

  .dialing i {
    font-size: 30px;
    z-index: 200;
    top: 85%;
    left: 55%;
  }

  .skewbox {
    width: 320px;
    height: 100px;
    top: 25px;
    left: 230px;
  }

.stickybar p {
    top: 15px;
    left: 10px;
    font-size: 14px;
    padding: 10px;
  }

  .stickybar a {
      top: 26px;
      right: 250px;
      width: 80px;
      height: 80px;
  }

  .stickybar i {
    font-size: 90px;
  }

  .search-bar.active {
    width: 150px;
  }
}

@media screen and (max-width: 1039px) {
  .skewbox {
    left: 200px;
  }

  .stickybar a {
      right: 220px;
  }
}

@media (min-width: 706px) and (max-width: 839px) {

  .sidebar {
    width: 30%;
    min-width: 200px;
  }

  .main-content {
    width: 70%;
    padding-left: 20px;
  }

  .product-grid {
    grid-template-columns: repeat(3);
    gap: 20px;
  }

  .dial {
    width: 255px;
    height: 255px;
    position: fixed;
    top: -8%;
    left: 4%;
    transform: translateX(-50%);
  }

  .dialing {
    width: 150px;
    height: 150px;
    top: -8%;
    left: 2%;  
  }

  .dialing i {
    font-size: 30px;
    z-index: 200;
    top: 85%;
    left: 55%;
  }

  .skewbox {
    width: 252px;
    height: 85px;
    top: 30px;
    left: 190px;
  }

.stickybar p {
    font-size: 10px;
  }

  .stickybar a {
      top: 35px;
      right: 190px;
      width: 63px;
      height: 63px;
  }

  .stickybar i {
    font-size: 70px;
  }
}

  @media screen and (max-width: 706px) {

    .sidebar {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 80%;
      height: 100%;
      z-index: 99;
      padding: 20px 50px;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }
    
    .sidebar.active {
      display: block;
      transform: translateX(0);
    }

    .hamburger-menu {
      display: block;
      z-index: 299;
    }
  
    .sidebar {
      width: 100%;
      margin-bottom: 20px;
      z-index: 250;
      padding-top: 70px;
    }
  
    .container {
      flex-direction: column;
    }
  
    .main-content {
      width: 100%;
      padding-left: 20px;
    }

    .search-icon {
      right: 80px;
    }

    .dial {
      width: 255px;
      height: 255px;
      position: fixed;
      top: -10%;
      left: 3%;
      transform: translateX(-50%);
    }

    .dialing {
      width: 150px;
      height: 150px;
      top: -9%;
      left: 2%;  
    }
  
    .dialing i {
      font-size: 30px;
      z-index: 200;
      top: 85%;
      left: 55%;
    }

    .skewbox {
      display: none;
    }

    .stickybar a {
      display: none;
    }

    .sticky {
      display: block;
    }
  }

@media screen and (max-width: 685px) {

  .skewy {
    width: 440px;
    height: 79px;
  }

.sticky p {
    font-size: 20px;
  }
}

@media screen and (max-width: 620px) {

.sticky {
  height: 90px;
}

.skewy {
  width: 400px;
  height: 75px;
}

.sticky p {
  top:7px;
  left: 9px;
  font-size: 18px;
}

.sticky a {
    right: 20px;
    width: 90px;
    height: 90px;
}

.sticky i {
  font-size: 108px;
}
}

@media screen and (max-width: 540px) {

  .sticky {
    height: 75px;
  }
  
  .skewy {
    width: 338px;
    height: 65px;
  }
  
  .sticky p {
    top:7px;
    left: 9px;
    font-size: 15px;
  }
  }

  @media screen and (max-width: 480px) {

    .search-bar.active {
      width: 150px;
    }

    .product-item {
      width: 165px;
      height: 280px;
    }

    .main-content {
      padding-left: 1%;
    }
  
    .product-grid {
      grid-template-columns: repeat(2, minmax(20px, 1fr));
      gap: 1rem;
    }

    .product-content h3 {
      font-size: 12px;
      margin-bottom: 5px;
    }
    
    .product-content p {
      font-size: 8px;
      padding: 4px 5px;
    }

    .quantities {
      margin-top: 8px;
    }

    .product-content {
      padding: 5px;
    }

    select {
      margin-top: 12
      px;
      padding: 3px 3px;
      font-size: 8px;
    }

    .dial {
      width: 255px;
      height: 255px;
      position: fixed;
      top: -12%;
      left: 3%;
      transform: translateX(-50%);
    }

    .dialing {
      width: 150px;
      height: 150px;
      top: -11%;
      left: 2%;  
    }
  
    .dialing i {
      font-size: 30px;
      z-index: 200;
      top: 80%;
      left: 60%;
    }

    .search-icon {
      right: 80px;
    }

    .sidebar {
      z-index: 250;
      padding-top: 70px;
    }

    .hamburger-menu {
      z-index: 299;
    }

    .sticky {
      height: 65px;
    }
    
    .skewy {
      left: 40px;
      width: 275px;
      height: 55px;
      border-radius: 8px;
    }
    
    .sticky p {
      top:5px;
      left: 8px;
      font-size: 12px;
      border-radius: 8px;
    }
    
    .sticky a {
        bottom: 15px;
        right: 40px;
        width: 70px;
        height: 70px;
    }
    
    .sticky i {
      font-size: 78px;
    }
  }

  @media screen and (max-width: 445px) {
    .skewy {
      left: 20px;
    }

    .sticky a {
      right: 20px;
    }
  }

  @media screen and (max-width: 400px) {
    .skewy {
      left: 15px;
    }

    .sticky a {
      right: 15px;
    }
  }

  @media screen and (max-width: 385px) {
    .product-item {
      width: 135px;
      height: 250px;
    }

    .sidebar {
      z-index: 250;
      padding-top: 70px;
    }

    .hamburger-menu {
      z-index: 299;
    }

    .sticky {
      height: 60px;
    }
    
    .skewy {
      left: 25px;
      width: 235px;
      height: 50px;
      border-radius: 8px;
    }
    
    .sticky p {
      top:5px;
      left: 8px;
      font-size: 10px;
      border-radius: 8px;
    }
    
    .sticky a {
        bottom: 20px;
        right: 25px;
        width: 60px;
        height: 60px;
    }
    
    .sticky i {
      font-size: 68px;
    }
  }

  @media screen and (max-width: 355px) {    
    .skewy {
      left: 15px;
      width: 235px;
      height: 50px;
      border-radius: 8px;
    }
    
    .sticky a {
        right: 15px;
    }
  }