@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
  color: #333;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: AbhayaLibre;
  src: url(abhayalibre-medium.ttf);
}

.product-section {
  /* text-align: center; */
  padding: 30px 0px 30px;
}

.section-title {
  font-size: 1.5rem;
  letter-spacing: 2px;
  border-bottom: 2px solid #222;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* ✅ FIXED FLEX LAYOUT (Horizontal alignment) */
.product-container {
  display: flex;           
  justify-content: center; 
  align-items: flex-start; 
  flex-wrap: wrap;         
  gap: 30px;               
  max-width: 1400px;       
  margin: 0 auto;          
  padding: 20px;           
  box-sizing: border-box;
}

/* === Card Flip Animation === */
.product-card {
  flex: 0 0 280px;             /* ✅ fixed card width in flex layout */
  height: 320px;
  perspective: 1200px;
  /* border: 2px solid #000000; */
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 90%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
  background: #f2f2f2;  
}

.product-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  /* border-radius: 8px; */
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-front img {
  width: 100%;
  /* max-width: 270px; */
  height: 100%;
  object-fit: contain;
  /* background: #fff; */
}

.flip-back {
  transform: rotateY(180deg);
  /* background: #f2f2f2; */
  color: #222;
  font-size: 16px;  
  padding: 20px 20px;
  box-sizing: border-box;
  text-align: center; 
  align-items: flex-start;
  line-height: 1.4;
}

.flip-back p {
  text-align: left;
}
 
/* Title always below */
.product-info {
  margin-top: 10px;
  text-align: right;
}

.product-info h3 {
  font-size: .9rem;
  color: #111;
  font-weight: 500;
  margin: 0;
  margin-left: 5px;
  text-align: left;
  font-family: Montserrat;
}

.btn-container {
  /* margin-top: 40px; */
  display: flex;
  justify-content: end;
  /* padding-right: 7%; */
}

.see-more-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 7px 10px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: Montserrat;
}

.see-more-btn:hover {
  background-color: #555;
}

.product-card:hover .product-info h3 {
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}

.SkinProductsHead{
    width: fit-content;
}

.SkinProductsHead img{
    height: 50px;
}

.SkinProductsText p{
    font-size: 20px;
    letter-spacing: .5px;
}
.SkinProductsText{
    margin-top: 1%;
    width: fit-content;
}
.SkinHeroContainer{
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    align-items: left;
    padding: 1% 5%;
    /* border: 2px solid #000; */
    width: 100%;
    max-width: 1370px;    
}

.see-more-btn a{
  text-decoration: none;
  color: #fff;
}