/*
Theme Name: woodside
Theme URI: 
Author: thinkbox
Author URI: 
Description: Theme for Woodside Flower Patch
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wgc
Tags: 
*/


:root {
  --clr-black: #4F4C4C;
  --clr-white: #FFFFFF;



  --grid-4: 1fr 1fr 1fr 1fr;
  --grid-3: 1fr 1fr 1fr;
  --grid-2: 1fr 1fr;
  --grid-1: 1fr;

  --std-trans: all 0.2s ease-out;
  --height-trans: height 0.2s ease-out;

}

.responsive {
    display: none;
}
.nonresponsive {
    display: block;
}

/**** fixes ****/
:where(.wp-site-blocks) > *,
/* :root :where(.is-layout-flow) > *, */
:root :where(.is-layout-constrained) > * {
     margin-block-start: 0px !important;
}
p:empty {
  display: none;
}
.wp-site-blocks {
	overflow: hidden;
}


/**** layout ****/

body {
    padding-top: 86px;
}
body.home {
    padding-top: 0px;
}

/**** header ****/
header.wp-block-template-part {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0);
    z-index: 99;
}
header nav {
    margin-block-start: 25px !important;
}


header {
    position: fixed !important;
    width: 100%;
    background: var(--clr-white);
    transition: var(--std-trans);
}
header .wp-block-site-logo {
    margin-right: auto;
}


header nav {
    margin-block-start: 18px !important;
    margin-block-end: 18px !important;
}
header nav ul {
    margin-block-end: 8px !important;
}
header nav ul li {
    position:static !important;
}
header nav ul li a {
    display: inline-block;
    padding-top: 16px !important;
    transition: var(--std-trans);
    white-space: nowrap;
}



.wc-block-mini-cart__button svg,
.wc-block-mini-cart__badge {
    transition: var(--std-trans);
}



/**** footer ****/
footer > .wp-block-group {

    /* margin-block-start: 0px !important; */
/*     padding-block: 55px !important; */
}



footer .main p,
footer ul li {
    line-height: 1.5 !important;
}
footer ul {
    margin-block-end: 0 !important;
    row-gap: 5px !important;
}
footer .copyright {
    margin-block-start: 30px !important;

}

/**** text tweaks ****/



h1 {

}
h2, p, ul, ol {

}
h2.large {
    font-size: var(--wp--preset--font-size--x-large);
    line-height: 1.15;
    color: var(--wp--preset--color--custom-green);
    font-family: var(--wp--preset--font-family--lora);
    font-style: normal;
    font-weight: 400;
    text-transform: none !important;
}


h3 {

}
h4 {

}
h5 {

}
.give-space {
    margin-bottom:70px !important;
}



ul {
    padding-inline-start: 18px;
}
ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

ol li {
  margin-bottom: 10px; 
}




hr {
    margin-bottom:20px !important;
}



.wp-block-image {
    margin: 0 0 25px;
}


/**** link tweaks ****/
a,
a:visited,
a:active {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 2px;
  opacity: 1;
}
a.wp-block-button__link,
nav ul li a {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 7px;   
}
footer p a {
  text-decoration: none;
}
a:hover,
nav ul li a:hover,
nav li.current-menu-item a
 {
  text-decoration: underline;
}

p.responsive-home {
    display: none;
    margin: 0 !important;
}
.single h5 {
  padding-top: 10px;
}
.single h5 a {
  text-decoration: none;
}
.single h5 a:hover {
  text-decoration: underline;
}





.wp-block-cover .wp-block-button a {
    color: var(--clr-white) !important;
}
:root :where(.wp-element-button, .wp-block-button__link) {
    border-radius: 0 !important;
    text-transform: uppercase;
    padding-inline: 0 !important;
}




/**** general ****/


.wp-block-cover *,
.has-background * {
    color: var(--clr-white) !important;
}





.wp-block-post-content > .wp-block-group {
/*     padding-block: 65px; */
}




.wp-block-columns + .wp-block-columns {
    margin-top: 70px !important;
}


.wp-block-cover.cta-shop {
    padding: 70px 0 0 5% !important;
}



.home .wp-block-cover .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 50px;
}

.home .entry-content .wp-block-columns .wp-block-cover .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: calc(var(--wp--style--global--content-size) / 2);
    margin-left: 30px !important;
    margin-right: auto !important;

    padding-bottom: 50px;
}

.home .entry-content .wp-block-columns:first-child .wp-block-column:first-child .wp-block-cover .wp-block-cover__inner-container {
    margin-left: auto !important;
    margin-right: 30px !important;
}

.wp-block-gallery {
    padding-block: 0 65px !important;
}


.blog .wp-block-query h5 {
  margin-block-start: 20px
}
.blog .wp-block-query h3 {
  font-size: 20px !important;
  margin-block-start: 10px
}
.blog .wp-block-query h3 a {
  color: var(--wp--preset--color--custom-green) !important;
}
.blog .wp-block-query .wp-block-post-excerpt{
  margin-block-start: 10px
}
.blog .wp-block-query .wp-block-post-excerpt__more-text {

    margin-top: 40px !important;
}
.blog .wp-block-query a.wp-block-post-excerpt__more-link {
  color: var(--wp--preset--color--custom-green) !important;
}

:root :where(.is-layout-grid) {
    gap: 30px 10px;
}
.wp-block-query-pagination-numbers * {
  margin-inline: 15px !important;
  color: var(--wp--preset--color--custom-green) !important;
  font-size: 16px;
}

.single article > .wp-block-group > .wp-block-group {
  justify-content: flex-end;
  margin-block-start: -20px !important;
  position: relative;
  z-index: 20;
/*   position: absolute;
  right: 0;
  bottom: 0; */
}

.post-navigation-link-previous a,
.post-navigation-link-next a,
a.wp-block-query-pagination-next,
a.wp-block-query-pagination-previous {
  display: inline-block;
  width: 30px;
  height: 15px;
  text-indent: -9999px;
  background: url(images/arrows-prev-next.svg) no-repeat left center;
  background-size: auto 100%;
}
.post-navigation-link-next a,
a.wp-block-query-pagination-next {
  background-position: right center;
}
.wp-block-query-pagination-numbers a {
  display: inline-block;
  padding-inline: 5px;
  text-decoration: none; 
}
.wp-block-query-pagination-numbers a:hover {
  text-decoration: underline; 

}
.wp-block-query-pagination-numbers span.current {
  display: inline-block;
  padding-inline: 5px;
  line-height: 1.7;
  border-bottom: solid 1px var(--wp--preset--color--custom-green) !important;

}




.shipping-info {
    max-width: 715px;
}
.shipping-info h1 {
    font-family: var(--wp--preset--font-family--barlow-condensed-semibold) !important;
    font-size: 30px !important;
    letter-spacing: 0;
    margin-block-end: 35px !important;
}
.shipping-info h5 {
    margin-block-start: 45px !important;
}




.are-vertically-aligned-bottom p:last-child  {
    margin-bottom: 0px  !important;
}

.contact .wp-block-column .wp-block-columns {
    padding-block: 50px 100px;
}



/* 
.wp-block-social-links li {
     color: transparent !important; 
    background-color: transparent !important;
}
.wp-block-social-links li a {
  display: block;
  width: 26px;
  height: 26px;
  padding: 0 !important;
  background: transparent url(images/social-icons.svg) no-repeat left center !important;
  background-size: auto 26px !important;
  border-radius:  0;
  text-indent: -9999px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.wp-block-social-links li.wp-social-link-facebook a { background-position: right center !important; }
.wp-block-social-links li.wp-social-link-instagram a { background-position: left center !important; }
.wp-block-social-links li a svg {
    display: none;
}


 */


.gform_wrapper {
}
.gform-theme--foundation .gform_fields {
    -moz-row-gap: 5px !important;
    row-gap: 15px !important;
}
.gform_required_legend {
    display: none;
}
.gform_wrapper input,
.gform_wrapper textarea {
    background-color: var(--clr-white) !important;
    color: var(--wp--preset--color--custom-black) !important;
    border-width: 0 0 1px !important;
    border-color:var(--wp--preset--color--custom-black) !important;
    border-radius: 0 !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
  line-height: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  min-block-size: 28px !important;
}
.gform_wrapper textarea {
  border-width: 1px !important;
  height: 160px !important;
}



.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: var(--wp--preset--color--custom-black) !important;

}


.gform_wrapper button[type="submit"].gform_button {
  color: var(--wp--preset--color--custom-black) !important;
  font-family: var(--wp--preset--font-family--work-sans) !important;
  line-height: 1 !important;
  background-color: var(--clr-white) !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;

  height: 22px !important;
  min-height: 22px !important;
  min-block-size: 22px !important;

  border: none !important; 
  border-bottom: solid 1px transparent !important;
  border-radius: 0 !important;
  padding: 0 0 3px !important;
  text-transform: uppercase !important;
}



.gform_wrapper button[type="submit"]:hover {
    color: var(--wp--preset--color--custom-black) !important;
    background-color: var(--clr-white) !important;
    border-bottom: solid 1px var(--wp--preset--color--custom-black) !important;
}
.gform_wrapper legend {
    color: var(--wp--preset--color--custom-black) !important;
    font-family: var(--wp--preset--font-family--work-sans) !important;
    font-size: 13px !important;
    font-weight: 400;
}
.gform_wrapper label {
    color: var(--wp--preset--color--custom-black) !important;
    font-family: var(--wp--preset--font-family--work-sans) !important;
    font-size: 13px !important;
    font-weight: 400;
    margin-bottom: 5px !important;
}
.gform_wrapper .ginput_counter {
    color: var(--wp--preset--color--custom-black) !important;
    font-family: var(--wp--preset--font-family--work-sans) !important;
    font-size: 12px;
    font-weight: 400;
}




/*** woocomerce  ***/

.woocommerce-page header + .wp-block-group {
/*     padding-top: 65px; */
}


h3.custom-view-link {
    margin-block: 0 !important;
    line-height: 1;
}
.custom-view-link a {
    font-size: 0 !important;
    visibility: hidden;
    display: inline-block;
    width: 100px;
    height: 24px;
}

/* Force your custom fixed placeholder string to render within the exact same structural tag */
.custom-view-link a::before {
    content: "Info"; /* <-- Swap this with your target text */
    font-size: 14px; 
    visibility: visible;
    display: inline-block;
    padding-block: 4px 5px; 
    border-bottom: solid 1px var(--wp--preset--color--custom-black) !important; 
}


form.wp-block-add-to-cart-with-options {
    margin-bottom: 35px !important;
}

.wp-block-woocommerce-product-gallery-large-image ul {
    padding-inline-start: 0 !important;
}


footer p {
  line-height: 1.8;
}
.single-product h1 {
    font-size: 2.15em;
    margin-bottom: 0px !important;
}
.single-product h5 {
    margin-block-start: 0 !important;

}
.wp-block-woocommerce-product-price {
    font-family: var(--wp--preset--font-family--barlow-condensed) !important;
    font-size: 1em;
    margin-block-start: 0 !important;
    margin-bottom: 15px;
}
button[type='submit'] {

}
button.add_to_cart_button span {
    border-bottom: solid 1px var(--wp--preset--color--custom-black) !important;
}

.wc-block-mini-cart__template-part a,
.mini-cart-info p a {
  text-underline-offset: 2px; 
}
.wc-block-mini-cart__items .wc-block-mini-cart__products-table {
    margin-bottom: 0 !important;
}
.mini-cart-info {
	padding-bottom: 15px;
	border-bottom: solid 1px color-mix(in srgb, currentColor 30%, transparent);
}
.mini-cart-info h5 {
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 500;
	font-size: 0.75em;
	margin-bottom: 8px !important;
	padding-left: 20px;
	position: relative;
	padding-top: 15px;
    margin-top: 15px !important;
	border-top: solid 1px color-mix(in srgb, currentColor 30%, transparent);	
	
}
.mini-cart-info h5:before {
	content: "";
	border-top: solid 1px color-mix(in srgb, currentColor 30%, transparent);
	width: 10px;
	height: 1px;
	font-size: 1.75em;
	position: absolute;
	left: 0px;
	top: 22px;
}
.mini-cart-info p {
	font-family: var(--wp--preset--font-family--work-sans);
	font-weight: 500;
	font-size: 0.75em;
	margin-bottom: 5px !important;
	padding-left: 20px;
}



	
.wp-block-woocommerce-product-collection {

}
	
.wp-block-woocommerce-product-collection h5 {
    margin-bottom: 0 !important;
}


:where(.wc-block-product-template .wc-block-product)>:not(:last-child) {
    margin-bottom: 25px;
    margin-top: 0;
}


.wc-block-mini-cart {
    justify-content: flex-end;
    text-align: right;
    padding-top: 8px;
}
.wc-block-mini-cart__button {
    float: right;
    padding: 10px 0;
}




/**** return to top - added by js ****/

a.floattotop {
  display: none;
  overflow: hidden;
  width: 40px;
  height: 40px;
  z-index: 1038;
  position: fixed;
  bottom: 30px;
  right: 30px;
  top: auto;
  left: auto;
  padding: 0;
  border: none;
  background: #F1C4C8 url(images/icon-up.svg) no-repeat center center;
  border-radius: 99px;
  text-indent: -9999px;
  background-size: 75%;
  -webkit-transition: var(--std-trans);
  -moz-transition: var(--std-trans);
  transition: var(--std-trans);
  opacity: 1;
}
a.floattotop:hover {
  opacity: 0.5;
  background-size: 75%;
}







.gallery-page .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(10, 1fr);
  gap: 60px 60px;
  align-items: start !important;
  list-style: none;
  margin: 0;
  padding: 0 50px;
}

/* Reset WP's default figure/li wrappers */
.gallery-page .wp-block-gallery .wp-block-image,
.gallery-page .wp-block-gallery .blocks-gallery-item {
  margin: 0;
  width: 100%;
  height: 100%;
    justify-content: start !important;
}
 .gallery-page .wp-block-gallery figure {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-page .wp-block-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 

.gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+1) {
  grid-column: 3 / 6;
  margin-top: 60px;
}
.gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+2) {
  grid-column: 6 / 11;
} 
.gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+3) {
  grid-column: 1 / 11;
}
.gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+4) {
  grid-column: 1 / 6;
}
.gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+5) {
  grid-column: 8 / 11;
}
 
@media (max-width: 782px) {
  .gallery-page .wp-block-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+1),
  .gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+2),
  .gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+3),
  .gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+4),
  .gallery-page .wp-block-gallery .wp-block-image:nth-child(5n+5) {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}