@import url('base.css');

.offcanvas-top {
    height: 35vh !important;
}

.offcanvas-header h5 {
    font-family: var(--font-primary);
    letter-spacing: 0;
    font-size: 15px;
    line-height: 1.3;
    padding: 0;
    position: relative;
    text-transform: none;
    cursor: pointer;
    color: #221f20;
}

.offcanvas-header .right-most {
    margin: calc(-.2* var(--bs-offcanvas-padding-y)) calc(-68* var(--bs-offcanvas-padding-x)) calc(-.5* var(--bs-offcanvas-padding-y)) auto;
}

.offcanvas-header .right-most::after {
    content: '|';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
}

.form-check {
    font-family: var(--font-primary);
    letter-spacing: 0;
    font-size: 15px;
    line-height: 1.3;
    padding: 10px 0 10px 25px;
    border: 0;
    height: auto;
    margin-bottom: 0;
    color: #6f6d6e;
}

.four-column-format a {
    font-family: var(--font-primary);
    color: var(--text-medium);
    text-transform: none;
    border: none;
    width: auto;
    background-color: transparent;
    text-decoration: none;
}

.product-header .rating {
    padding: 0;
    display: table;
    margin: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

.product-header a:first-child {
    color: rgba(34, 31, 32, .65);
}

.product-header a:first-child::after {
    content: '|';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
}

.product-header .rating .item {
    display: table-cell;
    padding: 0;
    border: 0;
    margin: 0;
    font: inherit;
}

.product-header .rating .item .rating-stars {
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
    position: relative;
}

.product-header .rating .item .rating-stars .star-filled {
    display: block;
    margin-bottom: 3px;
    background-image: url('../images/icons/rating-100.webp');
    background-position: center;
    background-size: cover;
    height: 15px;
    width: 15px;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 2px;
    padding: 3px;
}

.product-header .rating .item .rating-stars .star-50-filled {
    display: block;
    margin-bottom: 3px;
    background-image: url('../images/icons/rating-50.webp');
    background-position: center;
    background-size: cover;
    height: 15px;
    width: 15px;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 2px;
    padding: 3px;
}

.product-header .rating .item .rating-decimal {
    font-family: var(--font-primary);
    letter-spacing: 0;
    font-size: 15px;
    line-height: 1.3;
    display: inline-block;
    padding: 0 4px !important;
    font-size: 15px !important;
    color: #221f20;
    border: none;
    height: auto;
    text-align: center;
}

.product-brief img {
    margin: 0 auto;
    /* height: 300px; */
    width: auto;
    object-fit: fill;
}

.product-brief h3 {
    font-weight: 500;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);

    font-size: 18px;
    line-height: 1.3;
    color: var(--accent-brown);
    text-align: left;
    margin-bottom: 4px;
    text-transform: none;
}

.product-brief h4 {
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: 0;
    font-size: 15px;
    line-height: 19px;
    color: rgba(34, 31, 32, .65);
    text-align: left;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-brief span {
    font-size: 14px;
    line-height: 1.3;
    color: var(--text-dark);
    text-align: left;
    margin-bottom: 20px;
}

.product-brief span:first-child {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-brown);
    margin-right: 5px;
}

.product-ingredients {
    font-size: 16px;
    color: #555;
    margin-top: 6px;
}

.product-ingredients strong {
    color: #333;
}

.product-ingredients .ingredient-name {
    color: #f28b82;
    /* soft peach accent to match skincare theme */
    font-weight: 500;
}

.flap-able-info {
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

.flapped {
    /* position: absolute; */
    width: 100%;
    /* bottom:0px; */
    opacity: 1;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

.sticky-nav {
    position: fixed;
    width: 100%;
    z-index: 1001;
    background-color: var(--default);
    top: 0;
    left: 0;
}

.product-story img {
    /* height: 464px; */
    width: auto;
    object-fit: fill;
}

@media (max-width: 768px) {
    .product-story img {
        object-fit: contain !important;
    }
}

.product-offer {
    background-color: #f1f1f1;
    padding: 10px;
    font-family: var(--font-primary);
    letter-spacing: 0;
    font-size: 15px;
    line-height: 1.3;
    color: #221f20;
    clear: both;
}

.product-offer-text {
    font-family: var(--font-primary);
    letter-spacing: 0;
    font-size: 12px;
    line-height: 1.3;
    color: #221f20;
    padding: 10px;
}

.product-offer-text p {
    font-family: var(--font-primary);
    letter-spacing: 0;
    font-size: 18px;
    line-height: 1.3;
    color: #221f20;
    padding-bottom: 0px;
}

.product-specification span {
    font-family: var(--font-primary);
    letter-spacing: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: bold;
    color: var(--accent-brown);
}

.product-specification ul {
    list-style: none;
    padding: 12px 16px;
    display: grid;
    grid-gap: 12px;
}

.product-specification ul li {
    padding-bottom: 12px;
    color: var(--text-white);
}

.product-specification p {
    padding: 12px 16px;
}