/* ------------------------start slider ------------------------
   Full-bleed hero with overlayed text for strong first impression. */
.slider{
    width: 100%;
    height: calc(100vh - 150px);
    position: relative;
    overflow: hidden;
}
.slider .slide-content{
    width: 100%;
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px;
    position: relative;
    display: none;
}
.slider .slide-content img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    object-fit: cover;
}
.slider .slide-content::after{
    /* Dark gradient overlay to improve text readability on hero images. */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.1));
}
.slider .slide-content.active{
    display: flex;
}
.prev:hover, .next:hover{
    background-color: var(--color-primary);
    border: 2px solid #fff;
    color: #fff;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 45px;
    height: 45px;
    padding-top: 4px;
    margin-right: 30px;
    margin-left: 30px;
    color: #111827;
    font-size: 16px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    transition: all .3s;
}
.next {
    right: 0;
}
.prev {
    left: 0;
}
.slide .text{
    width: 500px;
    position: absolute;
    z-index: 1;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.slide .text h2{
    font-size: 58px;
    font-weight: 500;
    font-family: "Josefin Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.04em;
}
.shop-btn{
    background-color: #ffffff;
    color: #111827;
    display: inline-block;
    min-width: 150px;
    text-align: center;
    padding: 12px 24px;
    border-radius: 999px;
    margin-top: 24px;
    border: none;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
    transition: .3s ease-out;
}
.shop-btn:hover{
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}
/* ------------------------phone slider ------------------------ */
.hero_for_phone{
    display: none;
}
/* ------------------------- info section ---------------------
   Card-like service strip with more breathing room. */
.information{
    width: 100%;
    display: flex;
    padding: 32px;
    background-color: var(--color-surface);
    border-bottom: 1px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    max-width: var(--container-width);
    margin: 3rem auto;
}
.info{
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
}
.info .info-icon img{
    width: 80px;
    margin-right: 20px;
}
.info .info-text h3{
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin-bottom: 4px;
}
.info .info-text p{
   color: var(--color-muted);
   font-size: 14px;
}
/* --------------------- trending ---------------------
   Spacious product grid with centered, elegant section header. */
.top_products{
    width: 100%;
    min-height: 100vh;
}
.top_products .container{
    padding: 4% 0.75rem;
    max-width: 100%;
    margin: 0 auto 4rem;
}
.top_products .header{
    text-align: center;
    margin-bottom: 36px;
}
.top_products .header h3{
    font-size: 34px;
    font-weight: 500;
    font-family: "Josefin Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 6px;
}
.top_products .header p{
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
}
.products{
    display: grid;
    gap: 26px;
    padding: 16px 0.75rem;
}

.product-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: var(--color-surface);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-img{
    position: relative;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: all 1s linear;
}
.card-img:hover img {
    transform: scale(1.1);
}
.card-img .addToCart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: all .4s;
}
.card-img .addToCart:hover{
    background-color: #000000dc;
    color: #fff;
}
.card-info {
    padding: 16px 18px 18px;
}

.product-name {
    font-size: 14px;
    font-weight: 400;
    color: #222;
    margin: 0 0 8px;
}

/* Product card pricing: matches product details page structure. */
.price_wrapper{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.product-price {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
}
.original-price{
    font-size: 13px;
    font-weight: 400;
    color: #868686;
    text-decoration: line-through;
    display: none;
}
.discount-chip{
    background-color: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: none;
}
/* ------------------------ collection ---------------------
   Promotional banners with subtle shine effect. */
.collection { 
    padding: 60px 0;
}

.collection .container {
    width: 100%;
    padding-inline: 30px;
    margin-bottom: 30px;
}

.collection-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.collection-card {
  background-color: #111827;
  min-height: 400px;
  padding: 40px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.collection-card .card-title {
     margin-bottom: 12px;
}

.collection-card .card-text {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  margin-block-end: auto;
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}
.hover\:shine { 
    overflow: hidden; 
}

.hover\:shine .has-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: 0.5s ease;
}
.hover\:shine:is(:hover, :focus) .has-bg-image { 
    transform: scale(1.15); 
}

.hover\:shine::before {
  top: 0;
  left: -140%;
  bottom: 0;
  width: 100%;
  background-image: linear-gradient(to right, transparent 50%, hsl(0, 0%, 100%, 0.3) 100%);
  transform: skewX(-25deg);
  transition: 0.5s ease;
  z-index: 1;
}

.hover\:shine:is(:hover, :focus-within)::before { 
    animation: shine 1s ease forwards; 
}
.btn-link {
    color:#ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: 0.25s ease;
}

@keyframes shine {
  0% { transform: skewX(-25deg) translateX(0); }
  100% { transform: skewX(-25deg) translateX(250%); }
}

.has-bg-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


/* ------------------------ news ----------------------- */
.news{
    width: 100%;
    background-color: #dbd9d9bb;
    height: 200px;
    padding: 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news .news-text h4{
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
}
.news .news-text p{
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
}
.news .Subscribe-form{
    display: flex;
}
.news .Subscribe-form input{
     width: 300px;
     padding: 10px 20px;
     border: none;
     background-color: #f1f1f1;
     color: #868686;
}
.news .Subscribe-form button{
    background-color: #000;
    color: #fff;
    padding: 6px 20px;
    border: none;
    text-transform: capitalize;
    cursor: pointer;
}

