@import url(https://db.onlinewebfonts.com/c/465b1cbe35b5ca0de556720c955abece?family=Abolition+W00+Regular);
@font-face {
  font-family: "Abolition";
  src: url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.eot");
  src: url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/465b1cbe35b5ca0de556720c955abece.svg#Abolition W00 Regular")
      format("svg");
}

@font-face {
  font-family: "Abolition Rough";
  src: url("/fonts/Abolition Test/AbolitionTest-Rough.otf");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background-color: #0a0b14;
  font-family: "Abolition", sans-serif;
}


#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.background-video-container {
  position: relative;
  width: 100%;
  height: 80%;
  overflow: hidden;
  z-index: 0;
}

.hero-shop p {
  margin-bottom: 0;
}

.hero-shop {
  position: absolute;
  top: 75%;
  left: 10%;
  margin-left: 5%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  text-align: left;
}

.hero-shop .custom-button-wrapper {
  margin-left: 25%;
  margin-top: 3%;
}

.hero-shop {
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
  0% {
    transform: translate(-50%, -40%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

/* About Us Section */

.who-we-are-section {
  min-height: 40%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-content: center;
}

.who-we-are-section h2 {
  font-size: 5rem;
  letter-spacing: 1px;
  color: #fff;
}

.who-we-are-section p {
  margin-top: 4%;
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.6;
  font-family: sans-serif;
}

/* Custom Button Reset + Styling */

.custom-button-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1;
  top: 20%;
  left: 21%;
  transform: translate(-50%, -50%);
}

.custom-link-wrapper {
  position: relative;
}

.custom-button {
  display: block;
  width: 250px;
  height: 50px;
  line-height: 50px;
  font-weight: bold;
  text-decoration: none;
  background-color: #b22222;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #fff;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: width 0.35s ease, background-color 0.35s ease,
    border-color 0.35s ease, color 0.35s ease;
}

.custom-icon {
  width: 50px;
  height: 50px;
  border: 3px solid transparent;
  position: absolute;
  transform: rotate(45deg);
  right: 0;
  top: 0;
  z-index: -1;
  transition: all 0.35s;
}

.custom-icon svg {
  width: 30px;
  position: absolute;
  top: calc(50% - 15px);
  left: calc(50% - 15px);
  transform: rotate(-45deg);
  fill: #b22222;
  transition: all 0.35s;
}

.custom-button:hover {
  width: 200px;
  border: 3px solid #b22222;
  background-color: transparent;
  color: #fff;
  font-family: sans-serif;
}

.custom-button:hover + .custom-icon {
  border: 3px solid #b22222;
  right: -25%;
}

.container {
  max-width: 1700px;
}

/* ==== PRODUCT CARD STYLING ==== */

.product-card-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #141525;
  gap: 20px 40px;
}

.product-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 700px;
  height: 400px;
  background: #fff;
  margin: 20px;
  border: 1px solid #fff;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.product-container {
  transition: transform 0.3s ease-in-out;
}

.product-container:hover {
  transform: scale(1.05);
}

.product-price h3 {
  transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}

.product-container:hover .product-price h3 {
  color: #b22222;
  font-weight: bold;
}

.product-img-box {
  position: relative;
  width: 45%;
  height: 100%;
  background-color: #0a0b14;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s linear;
}

.product-img-box::before {
  content: attr(data-product-name);
  position: absolute;
  top: 0;
  left: 15px;
  color: rgba(71, 72, 79, 0.5);
  opacity: 0.9;
  font-size: 4rem;
  font-weight: 800;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-img-box img {
  position: relative;
  width: 500px;
  transform: rotate(-30deg);
  left: -10px;
  transition: 0.9s linear;
}

.product-details-box {
  width: 50%;
  height: 390px;
  background-color: #fff;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 10px;
}

.product-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  margin-left: 7%;
}

.product-name {
  height: 25%;
  display: flex;
  align-items: center;
}

.product-name h2 {
  margin: 0;
  padding: 0;
  font-size: 2.4em;
  line-height: 1em;
  color: #444;
}

.product-type {
  height: 15%;
  display: flex;
  align-items: center;
}

.product-type span {
  font-size: 1rem;
  color: #999;
  text-transform: uppercase;
  margin: 0;
}

.product-price {
  height: 25%;
  display: flex;
  align-items: center;
}

.product-price h3 {
  margin: 0;
  font-size: 2.5em;
  color: #a2a2a2;
}

.product-button {
  height: 20%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.product-button button {
  background: #000;
  color: #fff;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-button button:hover {
  background-color: #b22222;
}

.no_prod p {
  color: #fff;
  font-size: 2rem;
}

/* Responsive */

@media (max-width: 1080px) {
  .product-container {
    height: auto;
  }
  .product-img-box {
    padding: 40px;
    box-sizing: border-box;
    width: 100% !important;
    height: auto;
    text-align: center;
    overflow: hidden;
  }
  .product-img-box img {
    left: initial;
    max-width: 100%;
    transform: rotate(0deg);
  }
  .product-details-box {
    width: 100% !important;
    height: auto;
    padding: 20px;
  }
}

.brands-section {
  padding: 2rem;
  background: #0a0b14;
  color: white;
  font-family: "Abolition", sans-serif;
  text-align: center;
}

.brands-section h2 {
  font-size: 5rem;
  letter-spacing: 0.2rem;
  margin-bottom: 0.5rem;
}

.brands-section p.lead {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.4rem;
  font-family: sans-serif;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0px;
  width: 100%;
  max-width: 1500px;
  margin: auto;
}

.brand-cell {
    position: relative;
    width: 300px;
    height: 300px;
    border: 1px solid #fff;
    cursor: pointer;
    overflow: hidden;
    margin: auto;
    max-height: 100%;
}

.brand-cell img {
    width: 100%;
    height: 100%;
    display: block;
    object-position: center;
    object-fit: contain; 
    opacity: 0.8; 
    transition: opacity 0.3s ease;
}

.brand-cell:hover img {
    opacity: 1; 
}

@media (max-width: 768px) {
  .hero-shop {
    left: 50% !important;
    width: 90%;
    text-align: center;
  }
  .hero-shop .custom-button-wrapper {
    margin: 1rem auto 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .search-bar-container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    padding-top: 1rem;
  }
  .search-full {
    flex-grow: 1;
    min-width: 0;
    font-size: 1.2rem;
    padding: 0.6rem;
  }
  .btn-close-search {
    flex-shrink: 0;
    font-size: 1.4rem;
    cursor: pointer;
  }
  .custom-button-wrapper {
    top: initial;
    left: initial;
    transform: none;
    margin: 0 auto;
    text-align: center;
  }
  .custom-button {
    width: 200px;
    height: 45px;
    font-size: 1rem;
    line-height: 45px;
  }
  .custom-icon {
    width: 45px;
    height: 45px;
  }
  .custom-icon svg {
    width: 25px;
    top: calc(50% - 12.5px);
    left: calc(50% - 12.5px);
  }
  .who-we-are-section h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  .who-we-are-section p {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 2rem;
  }
  .brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 400px;
  }
  .brand-cell {
    width: 200px;
    height: 200px;
  }
  .brand-text {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 425px) {
  .who-we-are-section .custom-button-wrapper {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
  .who-we-are-section .custom-button {
    width: 140px;
    height: 36px;
    font-size: 0.85rem;
    line-height: 36px;
  }
  .custom-button {
    width: 160px;
    height: 40px;
    font-size: 0.9rem;
    line-height: 40px;
  }
  .custom-icon {
    width: 40px;
    height: 40px;
  }
  .custom-icon svg {
    width: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
  }
  .hero-shop .custom-button-wrapper {
    margin-top: 1rem;
  }
  .who-we-are-section h2 {
    font-size: 2rem;
  }
  .who-we-are-section p {
    font-size: 1rem;
    margin-top: 1.5rem;
  }
  .brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-width: 300px;
  }
  .brand-cell {
    width: 150px;
    height: 150px;
  }
  .brand-text {
    font-size: 1.5rem !important;
    letter-spacing: 0.1rem !important;
  }
}

@media (max-width: 320px) {
  .who-we-are-section .custom-button-wrapper {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
  .who-we-are-section .custom-button {
    width: 140px;
    height: 36px;
    font-size: 0.85rem;
    line-height: 36px;
  }
  .custom-button {
    width: 140px;
    height: 36px;
    font-size: 0.8rem;
    line-height: 36px;
  }
  .custom-icon {
    width: 36px;
    height: 36px;
  }
  .custom-icon svg {
    width: 18px;
    top: calc(50% - 9px);
    left: calc(50% - 9px);
  }
  .who-we-are-section h2 {
    font-size: 1.5rem;
  }
  .who-we-are-section p {
    font-size: 0.9rem;
    margin-top: 1rem;
  }
  .brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    max-width: 200px;
  }
  .brand-cell {
    width: 100px;
    height: 100px;
  }
  .brands-section p.lead {
    font-size: 1rem;
  }
  .who-we-are-section p {
    font-size: 1rem;
  }
  .brand-text {
    font-size: 1rem !important;
    font-family: sans-serif !important;
    letter-spacing: 0 !important;
  }
}

/* ==== PRODUCT CARD STYLING ==== */
.best-selling p {
    font-size: 5rem;
    letter-spacing: .1rem;
}

.best-selling {
    margin-bottom: -2% ;

}


/* The sliding solid color overlay */

.color-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0b14;
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 2;
}

/* Text displayed by default */

.brand-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-family: "Abolition", sans-serif;
  font-size: 3.5rem;
  letter-spacing: 0.2rem;
  text-align: center;
  padding: 0 15px;
  z-index: 3;
  transition: opacity 0.3s ease;
}

/* Hover effects */

.brand-cell:hover .color-slide {
  transform: scaleX(0);
  transition-timing-function: ease-in-out;
}

.brand-cell:hover .brand-text {
  opacity: 0;
  transition-delay: 0.15s;
}
