/*
 * Your global styles here
 */
html,
body {
    height: 100%;
}

html {
    background: white;
}

body {
    margin: 0;
}

.slds-text-link {
    text-decoration: none;
    -webkit-transition: color 0.1s linear;
    transition: color 0.1s linear;
    color: var(--dxp-s-link-text-color);
}

.slds-text-link:hover {
    text-decoration: underline;
    color: var(--dxp-s-link-text-color-hover);
}

.dxp-text-heading-small,
.dxp-text-heading-xsmall,
.dxp-text-heading-xxsmall,
.dxp-text-body,
.dxp-text-body-small {
    line-height: 28px;
}

@media (max-width: 480px) {

    /* Heading 1 */
    .dxp-text-heading-xlarge {
        font-size: 1.8rem;
    }

    /* Heading 2 */
    .dxp-text-heading-large {
        font-size: 1.7rem;
    }

    /* Heading 3 */
    .dxp-text-heading-medium {
        font-size: 1.475rem;
    }

    /* Heading 4 */
    .dxp-text-heading-small {
        font-size: 1.375rem;
    }

    /* Heading 5 */
    .dxp-text-heading-xsmall {
        font-size: 1.275rem;
    }

    /* Heading 6 */
    .dxp-text-heading-xxsmall {
        font-size: 1rem;
    }

    /* Paragraph 1 */
    .dxp-text-body {
        font-size: 1rem;
    }

    /* Paragraph 2 */
    .dxp-text-body-small {
        font-size: 0.875rem;
    }

    .dxp-text-heading-xlarge,
    .dxp-text-heading-large {
        line-height: 40px;
    }

    .dxp-text-heading-medium {
        line-height: 30px;
    }

    .dxp-text-heading-small,
    .dxp-text-heading-xsmall,
    .dxp-text-heading-xxsmall,
    .dxp-text-body,
    .dxp-text-body-small {
        line-height: 20px;
    }

    /* Button Small */
    .dxp-button-small {
        height: 2rem;
    }
}

/* HEADMARKUP STYLES */

/* Letter Spacing */
/*  Heading 1 = dxp-text-heading-xlarge,
    	Heading 2 = dxp-text-heading-large
    	Heading 3 = dxp-text-heading-medium
    	Heading 4 = dxp-text-heading-small
    	Heading 5 = dxp-text-heading-xsmall
    	Heading 6 = dxp-text-heading-xxsmall
		Paragraph 1 = dxp-text-body
    	Paragraph 2 = dxp-text-body-small
    */
.dxp-text-heading-xlarge,
.dxp-text-heading-large {
    letter-spacing: -0.04rem;
}

.dxp-text-heading-medium,
.dxp-text-heading-small,
.dxp-text-heading-xsmall,
.dxp-text-heading-xxsmall,
.dxp-text-body,
.dxp-text-body-small {
    letter-spacing: -0.02rem;
}

.ns-banner-card-section .main-content-container {
    padding: 1.5rem !important;
}

/* Using > so the padding is applied only one level avoiding padding on nested flex-grids */
.ns-flex-grid-region-space-gutter>.region+.region {
    padding-left: var(--dxp-s-column-spacer-size);
}

.ns-flex-grid-border-radius .interactions-region,
.ns-flex-grid-border-radius dxp_layout-columns {
    border-radius: var(--dxp-s-form-element-radius-border);
    overflow: hidden;
}

.ns-custom-overlap-review [data-fqn="dxp_base/button"] {
    display: none !important;
}

.dxp-button-large {
    padding-top: var(--dxp-s-button-large-padding);
}

.ns-header-logo {
    width: 36%;
}

.ns-multi-level-navigation-menu-margin {
    margin-top: 1.8rem !important;
}

.ns-home-hero-banner-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.ns-home-hero-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.ns-site-search-bar input::placeholder {
    font-family: var(--dxp-s-level-font-family);
    font-style: var(--dxp-s-level-font-style);
    font-weight: var(--dxp-s-level-font-weight);
    color: var(--dxp-s-body-text-color) !important;
}

.ns-site-search-bar .input-container {
    height: 2.7rem !important;
}

.ns-site-search-bar svg {
    fill: var(--dxp-s-body-text-color) !important;
}

.ns-header-flexi-grid {
    background: var(--dxp-g-root);
}

.ns-header-literata {
    font-family: "Literata", serif;
}

.ns-header-rethink-sans {
    font-family: "Rethink Sans", sans-serif;
}

.ns-footer {
    padding: 3rem 2rem 3rem 2rem;
}

.ns-footer-links-container {
    display: block;
    padding-top: 1.8rem;
    padding-right: 0.75rem;
}

.ns-menu-header .ccnavmenu-hamburger-button,
.ns-menu-header .slds-tree_container-vertical,
.ns-menu-header [class^="vertical-groupDiv-"] {
    background-color: var(--ccnavmenus-navContainer-background-color, transparent) !important;
}

/*Card Seashell Styling*/
.ns-card-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/*Benefits Table*/
.ns-benefits-table {
    width: 100%;
    table-layout: fixed;
    /* required for truncation + fixed columns */
    border-collapse: collapse;
    /* single, crisp borders */
}

.ns-benefits-table td {
    padding: 20px;
    vertical-align: top;
}

/* Horizontal separators: only BETWEEN rows (avoid double top line) */
.ns-benefits-table td {
    border-top: 1px solid #1a4a33;
}

/* Middle vertical line between the two columns */
.ns-benefits-table td+td {
    border-left: 1px solid #1a4a33;
}

/* COLUMN SIZING */
.ns-benefit-title {
    display: flex;
    align-items: center;
}

.ns-benefit-title span {
    margin-left: 10px;
}

.ns-benefit-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.ns-benefit-text {
    width: 70%;
}

/* BULLETS (kept tight so borders align visually) */
.ns-bullet-list {
    margin: 0;
    padding-left: 1.25em;
    list-style-image: url("/naturalscriptsite/sfsites/c/cms/delivery/media/MCOGNJGPLZRNGDFH7GMSEX6HCRII")
}

/* Start Liquid Herb Brands Desktop */
    html {
        scroll-behavior: smooth;
    }
    
    .site-logo img {
        max-height: fit-content !important;
    }

    /*
    	Rich Text fields coming from Salesforce SObjectFields have their own Style we should override
    */
    /* Start Rich Text SObjectFields style override */
    .override-internal-rich-text-field-style * {
        font-family: var(--dxp-s-body-font-family) !important;
        font-size: var(--dxp-s-body-font-size) !important;
    }
    
    .override-internal-rich-text-field-style strong { 
    	font-weight: 500 !important;
    }
    /* End Rich Text SObjectFields style override */
    
    .liquid-herb-brands-details-body .region-SaaSy {
        position: sticky !important;
        top: 0 !important;
        height: fit-content !important;
        overflow-y: auto !important;
    }
    
    /* html editor component is adding scrollbar to the content */
    .liquid-herb-brands-details-body .cb-outputRichText-container {
        height: fit-content;
        min-height: 0 !important;
        overflow: visible !important;
		padding-bottom: 0.25rem;
    }
/* End Liquid Herb Brands Desktop */


@media (max-width: 1024px) {
    .ns-header-logo {
        width: 70%;
    }

    .ns-body-section {
        padding: 1rem 3rem;
    }

    .ns-body-section dxp_layout-column-spacer {
        padding: var(--dxp-s-column-spacer-size) !important;
    }

    .ns-footer {
        padding: 1rem;
    }

    .ns-footer-links-table-second-row {
        display: block;
        padding-top: 2.5rem;
        padding-right: 0.75rem;
    }

    /* Start Liquid Herb Brands Mobile */
    .liquid-herb-brands-details-body .component-wrapper-spacer,
    .liquid-herb-brands-details-body community_builder-rich-text-editor {
        margin: 0 !important;
    }

    .liquid-herb-brands-details-body .cb-outputRichText-container {
        padding: 0 !important;
    }
    
    /*
        Rich Text fields coming from Salesforce SObjectFields have their own Style we should override
    */	
    /* Start Rich Text SObjectFields style override */
    .override-internal-rich-text-field-style * {
        line-height: 1.25rem !important;
        font-size: 1rem !important;
    }
    /* End Rich Text SObjectFields style override */
    
    .liquid-herb-brands-details-body dxp_base-horizontal-line { 
        margin: 1rem 0 0.5rem 0 !important;
    }
    /* End Liquid Herb Brands Mobile */

    /* Heading 1 */
    .dxp-text-heading-xlarge {
        font-size: 2rem;
    }

    /* Heading 2 */
    .dxp-text-heading-large {
        font-size: 1.6rem;
    }

    /* Heading 3 */
    .dxp-text-heading-medium {
        font-size: 1.3rem;
    }

    /* Heading 4 */
    .dxp-text-heading-small {
        font-size: 1.375rem;
    }

    /* Heading 5 */
    .dxp-text-heading-xsmall {
        font-size: 1.275rem;
    }

    /* Heading 6 */
    .dxp-text-heading-xxsmall {
        font-size: 1rem;
    }

    /* Paragraph 1 */
    .dxp-text-body {
        font-size: 1rem;
    }

    /* Paragraph 2 */
    .dxp-text-body-small {
        font-size: 0.875rem;
    }

    .dxp-text-heading-xlarge,
    .dxp-text-heading-large {
        line-height: 40px;
    }

    .dxp-text-heading-medium {
        line-height: 30px;
    }

    .dxp-text-heading-small,
    .dxp-text-heading-xsmall,
    .dxp-text-heading-xxsmall,
    .dxp-text-body,
    .dxp-text-body-small {
        line-height: 20px;
    }

    /* Button Small */
    .dxp-button-small {
        height: 2rem;
    }
}

@media (max-width: 480px) {

    /* Using > so the padding is applied only one level avoiding padding on nested flex-grids */
    .ns-flex-grid-region-space-gutter-top>.region+.region {
        padding-top: var(--dxp-s-component-wrapper-spacer-size-mobile);
    }

    /* Using > so the padding is applied only one level avoiding padding on nested flex-grids */
    .ns-flex-grid-region-space-gutter-no-left>.region+.region {
        padding-left: 0px;
    }

    .ns-flex-grid-region-space-gutter .flexi-grid-custom-bottle-options-region-Codey .region-Codey {
        padding-left: 0px;
    }

    .ns-site-search-bar {
        background: transparent !important;
    }

    .ns-header-logo {
        width: 26%;
    }

    .ns-body-section {
        padding: 0 0.5rem;
    }

    .ns-body-section dxp_layout-column-spacer {
        padding: var(--dxp-s-column-spacer-size) !important;
    }

    .ns-footer {
        padding: 0.5rem;
    }

    .ns-footer-links-mobile-second-row {
        display: block;
        padding-top: 2.5rem;
        padding-right: 0.75rem;
    }

    .ns-site-search-bar .input-container {
        padding: 0 0.75rem;
    }

    .ns-menu-header .ccnavmenu-hamburger-button,
    .ns-menu-header .slds-tree_container-vertical,
    .ns-menu-header [class^="vertical-groupDiv-"] {
        background-color: #FFFFFF !important;
    }

    .ns-menu-header .slds-tree_container {
        padding: 0px;
    }

    .ns-flexi-grid-2-columns-mobile-section .region-SaaSy {
        padding-bottom: var(--dxp-s-section-content-spacing-block-end);
    }

    /* Table */
    .ns-benefits-table,
    .ns-benefits-table tr,
    .ns-benefits-table td {
        display: block;
        width: 100%;
    }

    .ns-benefits-table {
        border: none;
        /* remove outer table borders on mobile */
    }

    .ns-benefits-table tr {
        margin-bottom: 20px;
        border: 1px solid #1a4a33;
        border-radius: 12px;
        padding: 16px;
    }

    .ns-benefits-table td {
        border: none;
        /* remove inner cell borders */
        padding: 10px 0;
    }

    .ns-benefit-title {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .ns-benefit-text li {
        white-space: normal;
        /* allow wrapping on mobile */
    }

    .ns-site-logo img {
        max-height: none !important;
    }

    .ns-site-search-bar input::placeholder {
        font-size: 0.975rem;
    }

    .ns-site-search-bar .input-container {
        height: 2.5rem !important;
    }

    /* Start Liquid Herb Brands Mobile */
    .liquid-herb-brands-details-body .component-wrapper-spacer,
    .liquid-herb-brands-details-body community_builder-rich-text-editor {
        margin: 0 !important;
    }

    .liquid-herb-brands-details-body .cb-outputRichText-container {
        padding: 0 !important;
    }
    
    /*
        Rich Text fields coming from Salesforce SObjectFields have their own Style we should override
    */	
    /* Start Rich Text SObjectFields style override */
    .override-internal-rich-text-field-style * {
        line-height: 1.25rem !important;
        font-size: 1rem !important;
    }
    /* End Rich Text SObjectFields style override */
    
    .liquid-herb-brands-details-body dxp_base-horizontal-line { 
        margin: 1rem 0 0.5rem 0 !important;
    }
    /* End Liquid Herb Brands Mobile */
}