/*
Theme Name: IDv4 Official
Theme URI: https://greenclosetcreative.com/
Author: AnnMarie DeVito - Technical Lead @ Green Closet Creative
Author URI: https://greenclosetcreative.com/team/annmarie-devito/
Description: A custom curated, yet flexible, WordPress theme brought to you by Green Closet Creative.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.0
Version: 4.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idv4-official
Tags: 
*/



/* Header Styles ---------------------------------------------------------- */


/* Hover Styles ---------------------------------------------------------- */
/* .hover-grow - makes image/background scale on hover. Add class to image block */
.hover-grow {
    transition: transform 0.3s ease-in-out;
}
.hover-grow:hover {
    transform: scale(1.05);
}


/* Pattern Styles ---------------------------------------------------------- */




/* Special Styles ----------------------------------------------------------- */
@media screen and (max-width: 1199px) {
	.home .grid-4-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.home .grid-4-2 > div:nth-child(even) { border-right: none; }
}
@media screen and (max-width: 599px) {
	.home .grid-4-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); row-gap: 0; }
	.home .grid-4-2 > div { border-right: none; border-bottom: 2px solid var(--wp--preset--color--tertiary-2); padding-bottom: 32px !important; margin-bottom: 32px; }
	.home .grid-4-2 > div:last-child { border-bottom: none; }
}

@media screen and (max-width: 1099px) {
	.grid-4-2-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media screen and (max-width: 567px) {
	.grid-4-2-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	div:not(.is-style-group-tertiary-2) div.is-layout-grid .grid-4-2-1 > div { grid-column: span 1; justify-content: start; }
}



@media (max-width: 1023px) {
    .home-callout > .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .home-callout > .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        flex-grow: 0;
    }
}

.compare p img {
    vertical-align: middle;
    margin-right: 20px;
    width: 32px !important;
}
.compare .traditional p:not(:first-of-type)::before,
.compare .driflower p:not(:first-of-type)::before {
    content: "";
    display: block;
    width: 32px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.compare .traditional p:not(:first-of-type)::before {
    background-image: url(/wp-content/uploads/2026/10/gray-arrow-down-long.png);
}

.compare .driflower p:not(:first-of-type)::before {
    background-image: url(/wp-content/uploads/2026/10/purple-arrow-down-long.png);
}


.customer-stories .wp-block-media-text__content p a,
.numbered p a {
    text-decoration: none;
    text-transform: uppercase;
}
.customer-stories .wp-block-media-text__content p a:hover,
.numbered p a:hover {
    color: var(--wp--preset--color--primary-1);
}
.customer-stories .wp-block-media-text__content p a:after,
.numbered p a:after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free v7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path fill="%236f2a84" d="M598.6 342.6C611.1 330.1 611.1 309.8 598.6 297.3L470.6 169.3C458.1 156.8 437.8 156.8 425.3 169.3C412.8 181.8 412.8 202.1 425.3 214.6L498.7 288L64 288C46.3 288 32 302.3 32 320C32 337.7 46.3 352 64 352L498.7 352L425.3 425.4C412.8 437.9 412.8 458.2 425.3 470.7C437.8 483.2 458.1 483.2 470.6 470.7L598.6 342.7z"/></svg>');
    display: inline-block;
    width: 18px;
    position: relative;
    top: 3px;
    left: 8px;
    transition: all 0.3s ease-in-out;
}
.customer-stories .wp-block-media-text__content p a:hover:after,
.numbered p a:hover:after {
    left: 15px;
}

@media screen and (max-width: 781px) {
	.numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 479px) {
	.numbered { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* ==========================================
   FOOTER PLANT REVEAL
========================================== */

.footer-reveal-wrap {
    position: relative;
    display: grid;
}

.footer-plant-track,
.footer-reveal-content {
    grid-column: 1;
    grid-row: 1;
}

.footer-plant-track {
    position: relative;
    height: clamp(450px, 75vw, 1000px);
    z-index: 10;
    pointer-events: none;
}

.footer-plants {
    position: sticky;
    top: clamp(80px, 20vh, 200px);
    height: calc(100vh - clamp(80px, 20vh, 200px));
    margin: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

.footer-plants img {
    position: absolute;
    left: 50%;
    bottom: clamp(-250px, -15vw, -40px);
    width: clamp(100%, 110vw, 150%);
    max-width: none;
    height: auto;
    display: block;
    transform: translateX(-50%);
}

.footer-reveal-content {
    position: relative;
    z-index: 1;
    margin: 0 !important;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .footer-plant-track {
        height: 800px;
    }

    .footer-plants img {
        width: 115%;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {
	
	.footer-reveal-content {
		position: relative;
		z-index: 1;
		margin: 0 !important;
		padding-bottom: 0 !important;
	}

    .footer-plant-track {
        height: 600px;
    }

    .footer-plants {
        top: 100px;
        height: calc(100vh - 100px);
    }

    .footer-plants img {
        width: 135%;
        bottom: -80px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .footer-plant-track {
        height: 450px;
    }

    .footer-plants img {
        width: 150%;
        bottom: -40px;
    }

}


/* bar comparison charts */
.drying-bar-row {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 10px !important;
}

.drying-bar-row > p {
    margin: 0;
}

.drying-bar-row > p:first-child {
    text-align: right;
    font-size: 14px;
}

/* The percentage paragraph becomes the track */
.drying-bar-row > p:last-child {
    position: relative;
    height: 22px;
    background: #e1e1e5;
    overflow: hidden;

    /* Hide the percentage visually */
    font-size: 0;
}

/* Animated fill */
.drying-bar-row > p:last-child::before {
    content: "";
    display: block;
    height: 100%;
    width: var(--bar-width, 0%);
    background: #999aa3;

    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s ease-out;
}

.drying-bar-row.is-visible > p:last-child::before {
    transform: scaleX(1);
}

/* DriFlower version */
.driflower-bars .drying-bar-row > p:last-child {
    background: #eadff2;
}

.driflower-bars .drying-bar-row > p:last-child::before {
    background: #6f2a84;
}

@media (max-width: 480px) {
    .drying-bar-row {
        grid-template-columns: 90px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .drying-bar-row > p:last-child::before {
        transition: none;
    }
}


/* Pagination styles */
.wp-block-query-pagination {
  margin: var(--wp--preset--spacing--60) 0;
}
.wp-block-query-pagination-numbers .page-numbers {
	background: var(--wp--preset--color--custom-light-grey);
	font-size: var(--wp--preset--font-size--s);
	line-height: 32px;
	text-decoration: none;
	width: 32px;
	display: inline-block;
	text-align: center;
	border-radius: 4px;
	border: 2px solid var(--wp--preset--color--tertiary-2);
	margin: 0 2px;
}
.wp-block-query-pagination-numbers .page-numbers.current,
.wp-block-query-pagination-numbers .page-numbers:hover {
	background: var(--wp--preset--color--primary-1);
	border-color: var(--wp--preset--color--primary-1);
	color: #fff;
}
.wp-block-query-pagination-previous {
	font-size: 18px;
	margin-right: 5px !important;
}
.wp-block-query-pagination-next {
	font-size: 18px;
	margin-left: 5px !important;
}



.shop-categories {
	text-align: center; 
}
.shop-categories figcaption a {
	color: var(--wp--preset--color--theme-black);
	font-size: 19px;
	text-decoration: none;
}
.shop-categories figure:hover figcaption a,
.term-cannabis-harvest-racks .shop-categories figure:nth-child(1) figcaption a,
.term-cannabis-drying-racks .shop-categories figure:nth-child(2) figcaption a,
.term-cannabis-drying-hangers .shop-categories figure:nth-child(3) figcaption a,
.term-brackets .shop-categories figure:nth-child(4) figcaption a,
.term-sticks .shop-categories figure:nth-child(5) figcaption a {
	color: var(--wp--preset--color--primary-1);
}
.shop-categories figure img {
	transition: all 0.3s ease-in-out;
}
.shop-categories figure:hover img,
.term-cannabis-harvest-racks .shop-categories figure:nth-child(1) img,
.term-cannabis-drying-racks .shop-categories figure:nth-child(2) img,
.term-cannabis-drying-hangers .shop-categories figure:nth-child(3) img,
.term-brackets .shop-categories figure:nth-child(4) img,
.term-sticks .shop-categories figure:nth-child(5) img {
	border-color: var(--wp--preset--color--primary-1) !important;
}

.woocommerce-result-count { font-size: var(--wp--preset--font-size--xs) !important; }
.woocommerce-ordering {
	background-color: var(--wp--preset--color--tertiary-2);
    padding: 0 8px;
    border-radius: 6px;
}
.woocommerce-ordering .orderby {
    width: 125px;
    height: 40px;
    background: none;
    border: none;
}



/* DriFlower product specifications */

.driflower-specs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.driflower-specs__row {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #e5dce9;
    font-size: 14px;
    line-height: 1;
}

.driflower-specs > .driflower-specs__row:nth-child(4) {
    border-bottom: 0;
}

.driflower-specs__row p {
	margin: 0;
}

.driflower-specs__label {
    font-weight: 600;
}

.driflower-specs__value {
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .driflower-specs__row {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}




/* DriFlower - Works With */
.driflower-works-with__intro {
    margin: 5px 0 12px;
}

.driflower-works-with__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.driflower-works-with__list li {
    position: relative;
    padding: 7px 0 7px 18px;
}

.driflower-works-with__list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6f2a84;
    font-weight: 700;
}

.driflower-works-with__list a {
    color: #6f2a84;
    text-decoration: none;
    font-weight: 600;
}

.driflower-works-with__list a:hover,
.driflower-works-with__list a:focus-visible {
    text-decoration: underline;
}


/* Remove padding from outer WooCommerce product wrapper */
body.single-product .wp-site-blocks > .woocommerce.product {
    padding: 0 !important;
    margin-bottom: 0 !important;
}


/* ==========================================
   DRIFLOWER - WOOCOMMERCE MY ACCOUNT
   ========================================== */

/* Main WooCommerce layout */
.driflower-account .woocommerce {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation sidebar */
.driflower-account .woocommerce-MyAccount-navigation {
    grid-column: 1;
    float: none !important;
    width: 100% !important;
    max-width: none;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    background: #f7f7f7;
    border-radius: 12px;
}

/* Navigation list */
.driflower-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.driflower-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
}

/* Navigation links */
.driflower-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 13px 16px;
    border-radius: 8px;
    color: #333;
    background: transparent;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

/* Hover */
.driflower-account .woocommerce-MyAccount-navigation a:hover {
    background: #eee5f1;
    color: #6f2a84;
}

/* Active item only */
.driflower-account .woocommerce-MyAccount-navigation li.is-active > a {
    background: #6f2a84;
    color: #fff;
}

/* Main content */
.driflower-account .woocommerce-MyAccount-content {
    grid-column: 2;
    float: none !important;
    width: 100% !important;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 8px 0;
    box-sizing: border-box;
}

/* Dashboard paragraphs */
.driflower-account .woocommerce-MyAccount-content p {
    line-height: 1.7;
    margin: 0 0 20px;
}

/* Links in content */
.driflower-account .woocommerce-MyAccount-content a {
    color: #6f2a84;
}

/* Responsive */
@media (max-width: 768px) {

    .driflower-account .woocommerce {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .driflower-account .woocommerce-MyAccount-navigation,
    .driflower-account .woocommerce-MyAccount-content {
        grid-column: 1;
    }

}

/* ==========================================
   DRIFLOWER - ACCOUNT DASHBOARD
   ========================================== */

.driflower-dashboard {
    width: 100%;
}

/* Introduction */

.driflower-dashboard__intro {
    margin-bottom: 32px;
}

.driflower-dashboard__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #6f2a84;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.driflower-dashboard__heading {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
}

.driflower-account .driflower-dashboard__description {
    margin: 0;
    color: #606060;
    line-height: 1.6;
}

/* Card grid */

.driflower-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Cards */

.driflower-account .driflower-dashboard__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid #e8e2eb;
    border-radius: 12px;
    text-decoration: none;
    color: #222;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.driflower-account .driflower-dashboard__card:hover {
    border-color: #6f2a84;
    box-shadow: 0 8px 28px rgba(45, 20, 55, .08);
    transform: translateY(-3px);
}

.driflower-account .driflower-dashboard__card:focus-visible {
    outline: 3px solid #6f2a84;
    outline-offset: 3px;
}

/* Card icons */

.driflower-dashboard__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    background: #f1e9f4;
    border-radius: 10px;
    color: #6f2a84;
}

.driflower-dashboard__icon svg {
    width: 25px;
    height: 25px;
}

/* Card typography */

.driflower-dashboard__card-title {
    display: block;
    margin-bottom: 8px;
    color: #181818;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.driflower-dashboard__card-description {
    display: block;
    margin-bottom: 26px;
    color: #606060;
    font-size: 14px;
    line-height: 1.6;
}

/* Card action link */

.driflower-dashboard__card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #6f2a84;
    font-size: 14px;
    font-weight: 700;
}

.driflower-dashboard__card-link svg {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.driflower-dashboard__card:hover
.driflower-dashboard__card-link svg {
    transform: translateX(4px);
}

/* Responsive */

@media (max-width: 900px) {
    .driflower-dashboard__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .driflower-dashboard__intro {
        margin-bottom: 24px;
    }

    .driflower-account .driflower-dashboard__card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .driflower-dashboard__card,
    .driflower-dashboard__card-link svg {
        transition: none;
    }

    .driflower-account .driflower-dashboard__card:hover {
        transform: none;
    }
}


/* ==========================================
   DRIFLOWER - LOGIN & REGISTRATION
   ========================================== */

/* Give logged-out WooCommerce forms their own layout */
.driflower-account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Login / register columns */
.driflower-account #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    margin: 0;
}

/* Override WooCommerce's default column widths */
.driflower-account #customer_login > .u-column1,
.driflower-account #customer_login > .u-column2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Login / Register headings */
.driflower-account #customer_login h2 {
    margin: 0 0 24px;
    color: #6f2a84;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Form cards */
.driflower-account #customer_login form {
    margin: 0;
    padding: 36px;
    border: 1px solid #e6dfe9;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

/* Field rows */
.driflower-account #customer_login .form-row {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
}

/* Labels */
.driflower-account #customer_login label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
}

/* Inputs */
.driflower-account #customer_login input.input-text {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    box-sizing: border-box;
}

.driflower-account #customer_login input.input-text:focus {
    border-color: #6f2a84;
    outline: 2px solid #6f2a84;
    outline-offset: 1px;
}

/* Password input wrapper */
.driflower-account #customer_login .password-input {
    display: block;
    width: 100%;
}

/* Remember me */
.driflower-account #customer_login .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
}

.driflower-account #customer_login .woocommerce-form-login__rememberme input {
    margin: 0;
}

/* Buttons */
.driflower-account #customer_login button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    background: #6f2a84;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
}

.driflower-account #customer_login button.button:hover {
    background: #512065;
    color: #fff;
}

/* Registration description */
.driflower-account #customer_login .woocommerce-privacy-policy-text,
.driflower-account #customer_login form > p {
    line-height: 1.7;
}

/* Lost password link */
.driflower-account #customer_login .lost_password {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {

    .driflower-account #customer_login {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .driflower-account #customer_login form {
        padding: 24px;
    }

    .driflower-account #customer_login h2 {
        font-size: 24px;
    }
}

/* ==========================================
   DRIFLOWER - FIX LOGIN / REGISTER COLUMNS
   ========================================== */

/* Override WooCommerce's default column layout */
.driflower-account .woocommerce #customer_login {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px;
    align-items: start;
    width: 100% !important;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Force both columns into the correct grid positions */
.driflower-account .woocommerce #customer_login > .u-column1,
.driflower-account .woocommerce #customer_login > .u-column2 {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Login on the left */
.driflower-account .woocommerce #customer_login > .u-column1 {
    grid-column: 1;
    grid-row: 1;
}

/* Register on the right */
.driflower-account .woocommerce #customer_login > .u-column2 {
    grid-column: 2;
    grid-row: 1;
}

/* Keep forms within their columns */
.driflower-account .woocommerce #customer_login form {
    width: 100%;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 768px) {
    .driflower-account .woocommerce #customer_login {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 32px;
    }

    .driflower-account .woocommerce #customer_login > .u-column1 {
        grid-column: 1;
        grid-row: 1;
    }

    .driflower-account .woocommerce #customer_login > .u-column2 {
        grid-column: 1;
        grid-row: 2;
    }
}



@media screen and (max-width: 781px) {
    .shop-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 479px) {
    .shop-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}