/*
    Theme Name: OC Raw Custom Theme
    Theme URI: https://stebbinsmedia.com
    Version: 1.0
    Description: Custom Theme for OC Raw
    Author: Stebbins Media
    Author URI: https://stebbinsmedia.com
    template: bb-theme
*/

/* ==== Animation ================================================== */

@keyframes intro-slide-zoom {
  from {scale: 100%;}
  to {scale: 110%;}
}

/* ==== General ==================================================== */

.post-password-form {
    max-width: 600px;
    margin: 64px auto;
}

.fl-page a {
    transition: color 300ms ease-in-out;
}

.fl-page a:hover {
    text-decoration: none;
}

.fl-button {
    transition: background-color 300ms ease-in-out !important;
}

.fl-button-text {
    transition: color 300ms ease-in-out !important;
}

.oc-screen-h .fl-row-content-wrap {
    min-height: calc(100vh - 105px);
}

.oc-button-reverse a.fl-button:hover {
    background-color: #ffffff !important;
}

.oc-button-reverse a.fl-button:hover .fl-button-text {
    color: #000000;
}

ul.oc-breadcrumb {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.oc-breadcrumb > li:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
}

/* ==== Header ===================================================== */

@media (min-width: 1270px) {
    .oc-header-navigation .menu > li > a,
    .oc-header-navigation .menu > li > div > a {
        padding: 10px 20px !important;
    }
}

@media (max-width: 991px) {
    .pp-menu-off-canvas .menu > li > div > a,
    .pp-menu-off-canvas .menu > li > a {
        padding-right: 48px !important;
    }
}

/* ==== Footer ===================================================== */

.owl-item  .pp-arrow-left {
    display: none;
}

.owl-item .pp-testimonial {
    display: flex;
    align-items: center;
}

.owl-item .pp-testimonials-image {
    margin: 0 -4px 0 0 !important;
}

.owl-item .pp-testimonial-img {
    object-fit: cover;
}

.owl-item .pp-testimonials-name::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #2b5e48;
    margin-right: 20px;
    display: inline-block;
    transform: rotateX(180deg);
}

@media (max-width: 768px) {
    .owl-item .pp-content-wrapper {
        height: auto !important;
    }
    
    .owl-item .pp-testimonial {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

/* ==== Social Icons =============================================== */

.oc-social-icons .fl-icon i {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oc-social-icons .fl-icon a {
    transition: opacity 300ms ease-in-out;
}

.oc-social-icons .fl-icon a:hover {
    opacity: 0.9;
}

.oc-social-icons .fl-icon a i::before {
    color: #ffffff;
}

/* ==== Menu ======================================================= */

.sub-menu a {
    transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
}

@media (min-width: 992px) {
    .oc-mobile-menu-top {
        display: none;
    }
}

@media (max-width: 991px) {
    .pp-menu-off-canvas .pp-advanced-menu .pp-menu-nav {
        padding-top: 19px;
    }
    
    .oc-mobile-menu-top {
        background-color: #54595f;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 24px 20px;
        width: 100%;
    }

    .oc-mobile-menu-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 16px;
        height: 14px;
    }

    .oc-mobile-menu-hamburger > span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 4px;
    }

    .oc-mobile-menu-title {
        font-size: 20px;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu .pp-off-canvas-menu {
        max-width: 500px;
        width: 100vw;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu .menu {
        margin-top: 8px;
    }
    
    .pp-menu-off-canvas .menu {
        padding: 0 !important;
    }

    .pp-advanced-menu.off-canvas .pp-off-canvas-menu .pp-menu-close-btn {
        color: #B40046;
        background-color: #B40046;
        padding: 1px;
        border-radius: 4px;
        width: 34px;
        aspect-ratio: 1;
        line-height: 0.3;
        font-size: 24px;
        font-weight: 900;
        top: 52px;
    }
    
    .pp-advanced-menu.off-canvas .pp-off-canvas-menu .pp-menu-close-btn::before {
        content: "\00D7";
        position: absolute;
        width: 17px;
        aspect-ratio: 1;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        background-color: #ffffff;
        border-radius: 2px;
        padding: 1px 1.5px;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu li:not(:last-child) {
        border-bottom: 1px solid #E2E2E2;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu li > a,
    .pp-menu-off-canvas .pp-advanced-menu li > div > a {
        font-weight: 500 !important;
        font-size: 16px !important;
        transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu li > a:hover,
    .pp-menu-off-canvas .pp-advanced-menu li > div > a:hover,
    .pp-menu-off-canvas .pp-advanced-menu li.current-menu-item > a,
    .pp-menu-off-canvas .pp-advanced-menu li.current-menu-item > div > a {
        background-color: #54595f !important;
        color: #ffffff !important;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu li > a .pp-menu-toggle::before,
    .pp-menu-off-canvas .pp-advanced-menu li > div > a .pp-menu-toggle::before {
        border-color: #000000 !important;
        transition: border-color 300ms ease-in-out;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu li > div > a:hover .pp-menu-toggle::before,
    .pp-menu-off-canvas .pp-advanced-menu li.current-menu-item > div > a .pp-menu-toggle::before {
        border-color: #ffffff !important;
    }
    
    .pp-menu-off-canvas .pp-menu-search-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    
    .pp-menu-off-canvas .pp-menu-search-item > a {
        display: none;
    }
    
    .pp-menu-off-canvas .pp-advanced-menu li .pp-search-form-wrap {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .pp-menu-off-canvas .pp-search-form {
        width: 100%;
        display: block !important;
    }
    
    .pp-menu-off-canvas .pp-search-form__container {
        display: flex;
        align-items: center;
    }
    
    .pp-menu-off-canvas .pp-search-form__container::before {
        content: "\f002";
        font-weight: 900;
        font-family: "Font Awesome 5 Free";
        width: 17px;
        height: 17px;
        color: #515962;
        margin: 0 4px 0 16px;
    }
    
    .pp-menu-off-canvas .pp-search-form label {
        display: none;
    }
    
    .pp-menu-off-canvas .pp-search-form input {
        border-radius: 0;
        min-height: 53px !important;
        border: 0;
    }
}

/* ==== Home ======================================================= */

.bringing-nature-back-subtitle {
    order: 1;
    position: relative;
    z-index: 10;
}

.bringing-nature-back-slider {
    order: 2;
}

@media (min-width: 1520px) {
    .bringing-nature-back-slider {
        position: relative;
        top: -50px;
    }
}

/* ==== Gravity Forms ============================================== */

.gform_wrapper div.gform_fields .gfield input {
    padding: 12px 18px;
}

.gform_wrapper .gform-footer input {
    padding: 14px 32px;
}

.gform_footer input {
    transition: background-color 300ms ease-in-out;
}

.gform_footer {
    justify-content: flex-end;
}

.oc-signup-form .gform_wrapper form {
    display: flex;
    align-items: center;
    gap: 22px;
}

.oc-signup-form .gform_wrapper .gform-body {
    width: calc(100% - 160px);
}

.oc-signup-form .gform_wrapper .gform-body input {
    border-radius: 32px;
    height: 64px;
    font-size: 20px;
}

.oc-signup-form .gform_wrapper .gform-footer {
    width: 160px;
}

.oc-signup-form .gform_wrapper .gform_button, .oc-signup-form .gform_wrapper .gform_button:hover {
    background-color: #ddaf3a;
    border-radius: 32px;
    width: 100%;
    font-size: 33px;
    font-weight: bold;
    height: 64px;
    line-height: 1 !important;
}

.oc-signup-form .gform_wrapper .gform_button:hover {
    background-color: #000000;
}

@media (max-width: 480px) {
    .oc-signup-form .gform_wrapper form {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 24px;
    }
    
    .oc-signup-form .gform_wrapper form > div {
        width: 100% !important;
    }
}

/* ==== Products =================================================== */

.oc-product-list-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.oc-product-list-buttons a.fl-button {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #D1D1D1 !important;
    border-radius: 8px !important;
    padding: 20px 30px;
}

.oc-product-list-buttons a.fl-button:hover,
.oc-product-list-buttons a.fl-button.active {
    background-color: #737246;
}

.oc-product-list-buttons a.fl-button:hover .fl-button-text,
.oc-product-list-buttons a.fl-button.active .fl-button-text {
    color: #ffffff;
}

.oc-product-list-buttons a.fl-button .fl-button-text {
    color: #000000;
}

.woocommerce ul.products, .oc-product-list ul.products {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
}

.oc-product-list ul.products > li.product {
    width: calc(33.33% - 10px);
    font-weight: bold;
}

.oc-product-list img {
    margin-bottom: 16px;
}

.oc-product-list .oc-product-image {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oc-product-list .oc-product-title {
    margin-top: auto;
}

.oc-product-list .oc-product-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #000000;
    height: 100%;
}

.oc-product-list .oc-product-button {
    display: inline-block;
    background-color: #737246;
    color: #ffffff;
    border-radius: 4px;
    padding: 4px 16px;
    margin-top: 16px;
}

ul.products li.product {
    align-items: stretch;
}

ul.products li.product,
div.fl-post-grid-post.type-product {
    text-align: center;
    padding: 10px !important;
    display: flex;
    flex-direction: column;
}

ul.products li.product img,
div.fl-post-grid-post.type-product img {
    border: 0 !important;
}

div.fl-post-grid-post.type-product .fl-post-grid-image {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==== Product Category Page ============================= */

.oc-category-subcategories:not(:has(li.product-category)) {
    display: none;
}

.oc-category-subcategories .woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 60px;
}

.oc-category-subcategories .woocommerce ul.products li.product-category {
    margin: 0;
}

.oc-category-subcategories .woocommerce ul.products li.product-category a {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oc-category-subcategories .woocommerce ul.products li.product-category img {
    max-height: 300px;
    width: auto;
    margin: auto 0;
    object-fit: contain;
}

.oc-category-subcategories .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    padding-top: 20px;
}

.oc-category-products:has(.fl-post-grid-empty) {
    display: none;
}

.oc-category-products .fl-post-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.oc-category-products .fl-post-grid::before, .oc-category-products .fl-post-grid::after {
    display: none;
}

.oc-category-products .fl-post-column {
    /*width: calc(100% / var(--oc-column-count, 3));*/
    width: 33%;
}

.oc-category-products .fl-post-grid-image img {
    max-height: 300px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .oc-category-subcategories .woocommerce ul.products li.product-category {
        width: 50%;
    }

    .oc-category-products .fl-post-column {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .oc-category-subcategories .woocommerce ul.products li.product-category {
        width: 100%;
    }

    .oc-category-products .fl-post-column {
        width: 100%;
    }
}

/* ==== Product Page ====================================== */

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce div.product div.images img, .woocommerce-page div.product div.images img {
    border: 0;
    max-height: 500px;
    width: auto;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 80px;
}

.woocommerce div.product div.images .flex-control-thumbs > li {
    width: auto;
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    transition: opacity 500ms ease-in-out;
}

.woocommerce-product-gallery:not(:hover) .woocommerce-product-gallery__trigger {
    opacity: 0;
}

.woocommerce-product-details__short-description {
    margin-top: 80px;
}

.product_meta > span {
    display: flex;
}

.product_meta_label {
    flex-basis: 110px;
}

.woocommerce div.product .woocommerce-tabs .panel, .woocommerce-page div.product .woocommerce-tabs .panel {
    border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 2px 20px;
    background-color: #e9e6ed;
    border: 1px solid #cfc8d8;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #515151;
}

@media (max-width: 768px) {
    .oc-product-tabs-row {
        padding-top: 120px;
    }
}

.oc-product-tabs-top {
    position: absolute;
    bottom: 100%;
    padding: 0;
    margin: 0;
    transform: translateY(var(--oc-product-tabs-top-offset, 24%));
}

.woocommerce-page ul.products li.product a.button {
    display: none;
}

.wc-tabs-wrapper .wc-tabs {
    max-width: 1200px;
    justify-content: center;
    margin: 0 auto 90px auto !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.woocommerce div.product div.images img, .woocommerce-page div.product div.images img {
    border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    background: none !important;
    border: 0;
    padding: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    background-color: #c4c4c4;
    border-radius: 27px;
    padding: 10px 20px;
    color: #494d4d;
    font-size: 20px;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    text-transform: uppercase;
    outline: 0 !important;
    transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
    background: var(--oc-accent-color);
    color: #ffffff;
}

ul.wc-tabs li:first-child:last-child {
    display: none;
}

.woocommerce-page div.product .woocommerce-tabs .panel {
    background-color: rgba(207, 215, 215, 0.87);
    color: #000000;
    border-radius: 50px;
    border: 0;
    padding: 60px;
    position: relative;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 25px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 25px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.woocommerce div.product .woocommerce-tabs .panel h2::after {
    content: "";
    display: block;
    border-bottom: 5px solid black;
    max-width: 326px;
    margin: 15px auto;
}

.oc-ingredients-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.oc-ingredients-names a {
    color: #000000;
}

.oc-ingredients-names a:hover, .oc-ingredients-names a.active {
    color: var(--oc-accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.oc-analysis-list {
    max-width: 350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 50px;
    gap: 20px 0;
}

.oc-analysis-after {
    text-align: center;
    margin-top: 40px;
}

.oc-transition-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.oc-transition-photo {
    width: 60%;
}

.oc-transition-text {
    width: 40%;
}

.oc-ingredient-title {
    font-family: 'Roboto Slab', serif;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--oc_nutrition_information{
    max-width: 500px !important;
}

@media (min-width: 992px) {
    .oc-nutrition-groups {
        position: absolute;
        right: 100%;
        top: 50px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #tab-oc_nutrition_information {
        min-height: 450px;
    }

    .oc-nutrition-groups a {
        background-color: rgba(207, 215, 215, 0.87);
        border-radius: 20px 0 0 20px;
        height: 70px;
        width: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        text-transform: uppercase;
        color: #494d4d;
        font-weight: 400;
        font-family: "Roboto Slab";
        gap: 24px;
        text-decoration: none !important;
        transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
    }

    .oc-nutrition-groups a:hover, .oc-nutrition-groups a.active {
        background-color: var(--oc-accent-color);
        color: #ffffff;
    }
}

.oc-nutrition-group-list {
    display: grid;
    grid-template-columns: auto 120px;
    gap: 20px;
}

.oc-nutrition-group:not(.active) {
    display: none;
}

body.single-product .related.products > h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 50px;
    border-bottom: 5px solid #000000;
    width: 610px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .woocommerce-page div.product .woocommerce-tabs .panel {
        padding: 16px;
        border-radius: 8px;
    }

    .wc-tabs-wrapper .wc-tabs {
        gap: 8px !important;
        margin-bottom: 0 !important;
    }
    
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        width: 100%;
        text-align: center;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        font-size: 18px !important;
        padding: 4px !important;
        border-radius: 8px;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel h2 {
        font-size: 20px !important;
    }

    .oc-transition-content {
        flex-direction: column;
    }

    .oc-transition-photo, .oc-transition-text {
        width: 100%;
    }
}

/* ==== Member Box ================================================= */

.oc-member-box {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    color: #2B2B2B;
    text-align: center;
    padding: 40px;
    cursor: pointer;
}

.oc-member-box-photo img {
    min-height: 100%;
    object-fit: cover;
    border-radius: 100%;
    width: 180px;
    aspect-ratio: 1;
}

.oc-member-box-name {
    color: #00BCD4;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    font-family: 'Roboto', san-serif;
    margin-top: 20px;
}

.oc-member-box-title {
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    margin-top: -10px;
    color: #888888;
    letter-spacing: 1px;
}

.oc-member-box-description {
    font-size: 15px;
    font-style: italic;
}

.oc-member-box .pp-modal-button {
    display: none;
}

/* ==== Vertical Image Slider ============================= */

.oc-vis {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    aspect-ratio: 1.0;
}

.oc-vis-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.oc-vis-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.oc-vis-top img {
    clip-path: inset(0 0 50% 0);
}

.oc-vis-handle {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 0;
    z-index: 3;
    cursor: row-resize;
}

.oc-vis-handle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 2px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
}

.oc-vis-knob {
    position: absolute;
    left: 50%;
    top: -18px;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.oc-vis-knob::before,
.oc-vis-knob::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 10px;
    height: 2px;
    background: #333;
    transform: translateX(-50%);
}

.oc-vis-knob::before {top: 13px;}
.oc-vis-knob::after {top: 20px;}