@import url('./custom.css');

.product-detail-page-wrapper {
    background-color: var(--clrwhite);
    position: relative;
    z-index: 0;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}
.product-detail-page-inner {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
}
.product-img-container-left {
    color: var(--brown);
    font-size: var(--font16);
    font-weight: 500;
    transition: color 0.3s ease;
    width: 393px;
    height: 440px;
    display: flex;
    border-radius: 11px;
    line-height: 24px;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
    align-items: center;
    padding: 10px;
    
}
.product-details-container-right {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.pdp-top-custom-bg {
    width: 100%;
    height: 290px;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    z-index: 1;
}
.pdp-bottom-custom-bg {
    width: 100%;
    height: 370px;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    z-index: 2;
    background: url(./../assets/images/card-bg.svg) no-repeat center center;
    display: flex;
    justify-content: center;
    background-size: cover;
}
.product-detail-heading {
    font-size: var(--font18);
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    display: block;
    font-family: var(--a2StandardSansmedium);
    color: #522827;
    background: var(--lightyellow);
    position: absolute;
    bottom: -85px;
    padding: 20px;
    text-align: left;
}
.product-category-like {
    position: absolute;
    top: 25px;
    right: 20px;
    cursor: pointer;
}
.product-category-sub-text {
    font-size: var(--font14);
    line-height: 18px;
    color: #666666;
    font-family: var(--a2standardregular);
    padding: 0 0 20px 20px;
    position: absolute;
    bottom: -105px;
    padding: 20px;
    background: var(--lightyellow);
    width: 100%;
    text-align: left;
}
.product-detail-desc {
    font-size: var(--font12);
    line-height: 20px;
    margin-bottom: 100px;
    width: 100%;
    text-align: center;
}
.shop-now-btn-wrapper {
    background-color: #F6F2E7;
    border-radius: 22px;
    width: 160px;
    margin: 0 auto;
    position: relative;
    padding: 12px 10px;
    height: 45px;
}
.shop-now-btn-wrapper .cart-icon {
    width: 36px;
    height: 36px;
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    right: 5px;
    top: 3px;
}

/** Custom Select **/
.custom-select-wrapper {
  position: relative;
  display: flex;
    flex-wrap: wrap;
    justify-content: center;
  width: 100%;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 30px;
}
  .custom-select-wrapper select {
    display: none;
  }
  .custom-select {
    position: relative;
    display: inline-block;
  }
    .custom-select-trigger {
      position: relative;
      display: block;
      width: 360px;
      padding: 0 84px 0 22px;
      font-size: 16px;
      font-weight: 300;
      color: #fff;
      line-height: 40px;
      background: #522827;
      border-radius: 16px;
      cursor: pointer;
      margin: 0 auto;
    }
      .custom-select-trigger:after {
        position: absolute;
        display: block;
        content: '';
        width: 10px; height: 10px;
        top: 50%; right: 25px;
        margin-top: -3px;
        border-bottom: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: rotate(45deg) translateY(-50%);
        transition: all .4s ease-in-out;
        transform-origin: 50% 0;
      }
      .custom-select.opened .custom-select-trigger:after {
        margin-top: 3px;
        transform: rotate(-135deg) translateY(-50%);
      }
  .custom-options {
    position: absolute;
    display: block;
    top: 70%; 
    left: 0; 
    right: 0;
    min-width: 100%;
    margin: 0;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 1px rgba(0,0,0,.07);
    background: #fff;
    transition: all .4s ease-in-out;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
  }
  .custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }
    .custom-options:before {
      position: absolute;
      display: block;
      content: '';
      bottom: 100%; right: 25px;
      width: 7px; height: 7px;
      margin-bottom: -4px;
      border-top: 1px solid #b5b5b5;
      border-left: 1px solid #b5b5b5;
      background: #fff;
      transform: rotate(45deg);
      transition: all .4s ease-in-out;
    }
    .option-hover:before {
      background: #f9f9f9;
    }
    .custom-option {
      position: relative;
      display: block;
      padding: 0 10px;
      border-bottom: 1px solid #b5b5b5;
      font-size: 16px;
      color: var(--brown);
      line-height: 32px;
      cursor: pointer;
      transition: all .4s ease-in-out;
    }
    .custom-option:first-of-type {
      border-radius: 4px 4px 0 0;
    }
    .custom-option:last-of-type {
      border-bottom: 0;
      border-radius: 0 0 4px 4px;
    }
    .custom-option:hover,
    .custom-option.selection {
      background: #f9f9f9;
    }

/*social share css*/
.products-social-share-wrapper {
    width: 100%;    
    display: flex;
    justify-content: center; 
    position: relative;
}
.products-social-share-inner {
    width: 205px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-social-share-print {
    width: 88px;
    height: 40px;
    border-radius: 16px;
    box-shadow: 0px 4px 8px 0px #00000066;
}
.product-social-share-print a, .product-social-share a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    font-size: var(--font14);
    line-height: 18px;
    color: #623C2C;

}
.product-social-share {
    width: 88px;
    height: 40px;
    border-radius: 16px;
    box-shadow: 0px 4px 8px 0px #00000066;
}

/*related-recipes-component-wrapper css starts*/
.related-recipes-component-wrapper {
    background-color: var(--lightyellow);
    position: relative;
    z-index: 0;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}
.related-recipes-component-inner {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    margin-top: 100px;
    padding-top: 70px;
    padding-bottom: 100px;
}
.related-recipes-component-heading {
    font-size: var(--font18);
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    font-family: var(--a2standardbold);
    color: #522827;
    text-transform: uppercase;
}
.related-recipes-component-desc {
    font-size: var(--font14);
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--a2standardregular);
    color: #522827;
}

.related-recipes-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.related-recipes-item {
    width: 175px;
    overflow: hidden;
    text-align: center;
}
.related-recipes-item .related-recipes-item-img {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.related-recipes-item .related-recipes-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-recipes-item .related-recipes-item-text {
    padding: 15px;
    font-size: var(--font12);
    color: var(--clrblack);
}
.button-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.recipe-list-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
.recipe-products-listing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.recipe-products-listing ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.recipe-products-listing ul li {
    margin: 20px;
}

.recipe-products-listing ul li a {
    text-decoration: none;
    color: var(--brown);
    font-size: var(--font16);
    font-weight: 500;
    transition: color 0.3s ease;
    width: 140px;
    height: 210px;
    display: flex;
    border-radius: 11px;
    line-height: 24px;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
    align-items: center;
    padding: 10px;
    margin: 0 auto;
}
.top-custom-bg {
    width: 100%;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    z-index: 1;
}
.bottom-custom-bg {
    width: 100%;
    height: 190px;
    position: absolute;
    bottom: -10px;
    left: 0;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    z-index: 2;
    background: linear-gradient(180deg, transparent 50%, #D9D9D9 50%);
    display: flex;
    justify-content: center;
}
.recipe-text {
    font-size: var(--font16);
    font-weight: 500;
    color: var(--clrwhite);
    display: block;
    padding: 10px 0;
    text-align: center;
}
/*.product-detail-page mobile css*/
@media screen and (min-width: 390px) and (max-width:768px) {
  .product-detail-page-inner {
    margin-top: 0;
    max-width: 100%;
    position: relative;
  }
  .product-img-container-left {
    width: 100%;
    position: relative;
  }
  .product-details-container-right {
    width: 100%;
    padding: 20px;
  }
  .custom-options {
    top: 110%;
  }
  .related-recipes-item {
    width: 165px;
  }
  .product-detail-desc {
    margin-top: 120px;
  }
  .related-recipes-component-wrapper {
        background: url('./../assets/images/shape-triangle-white.svg') no-repeat top center var(--lightyellow);
        margin-top: -70px;
    }
    .related-recipes-component-heading {
        margin-top: 50px;
    }

    .page-back-btn {
        position: absolute;
        left: 20px;
        top: 30px;
        z-index: 2;
    }
    .page-back-btn a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background-color: #fff;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}