@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&display=swap');


:root {

    /* font families: */
    --font-instrument-sans: 'Instrument Sans', 'Arial', sans-serif;
    --font-instrument-serif: 'Instrument Serif', 'Times New Roman', serif;

    /* colors: */
    --bg-color: #F5F0EA;
    --txt-color: #3C3C3C;
    --txt-alt-color: #F5F0EA;
    --hover-color: #885437;
    --white: #fdfdfd;
    --bg-overlay: #4b433ee6;
    --alt-hover-color: #c99872;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--txt-color);
    font-family: var(--font-instrument-sans);
    line-height: 1.6;
}

main {
    max-width: 95rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* typography */
h1 {font-family: var(--font-instrument-sans); text-align: center;}
h2, h3, h4 {font-family: var(--font-instrument-serif);}

nav ul li a {font-family: var(--font-instrument-serif);
             color: var(--txt-color);
             }

/* MOBILE */
body { font-size: 1rem; }
small { font-size: 0.875rem; }

h6 { font-size: 1.125rem; }
h5 { font-size: 1.25rem; }
h4 { font-size: 1.5rem; }
h3 { font-size: 1.75rem; }
h2 { font-size: 1.8rem; }
h1 { font-size: 2.5rem; }            

a {
    text-decoration: none;
    color: var(--txt-color);
}

p.tagline {
    font-family: var(--font-instrument-serif);
    font-size: 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero-section h1 {
    font-size: 3rem;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header {
    position: relative;
    max-width: 95rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;    
    padding: 1rem 2rem;
    z-index: 999;
}

div.header-icons {
    position: relative;
    display: flex;
    justify-self: end;
    gap: 0.8rem;
}

nav ul {
    display: none;
    list-style: none;
    gap: 1.3rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--body-txt-color);
    font-size: 1.5rem;
    position: relative; 
}

nav ul li a::after, div.header-icons::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5px;
    width: 0;
    height: 1px;
    background-color: var(--hover-color);
    transition: width 0.4s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

a:hover {
    color: var(--hover-color);
}



div.headerIcons:hover::after {
    width: 100%;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

div#mobilenav {
    display: none;
    position: fixed;
    flex-direction: column;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F5F0EA;
    z-index: 3;
    overflow-y: auto;
    }

div#top-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

div#mobilenav ul {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

div#mobilenav ul li {
    cursor: pointer;
}

nav#mobile-nav-links ul li a {
    font-size: 1.8rem;
    color: var(--txt-color);
}

nav#mobile-nav-links ul li a:hover {
    color: var(--hover-color);
}
/* christmas cd */

#countdown-timer {
    position: relative;
    max-width: 95rem;
    
}
#bookmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #8e0000;
    position: absolute;
    padding: 1rem;
    margin-left: 1rem;
    width: 80px;
    height: clamp(140px, 20vw, 200px);
    transition: height 0.3s ease-in-out, background 0.3s;
    box-shadow: 2px 2px 10px #3b17174d;
}

#bookmark img {
   display: none;
}

#bookmark:hover {
    height: 250px;
    box-shadow: 5px 5px 15px #3b17174d;
    
}

#bookmark:hover img {
    opacity: 1;
    display: block;

}

.bookmark-text{
    margin-top: 0.5rem;
    font-family: var(--font-instrument-serif);
    line-height: 1;
    text-align: center;
    color: var(--txt-alt-color);
}

.bookmark-text .days {
    font-size: clamp(2.5rem, 4vw, 3rem);
}

.bookmark-text .cd-txt {
    font-size: clamp(1rem, 2vw, 1.2rem);
    
}


.bookmark-text p:last-of-type {
    margin-top: 0.5rem;
    font-family: var(--font-instrument-sans);
    font-size: clamp(0.625rem, 0.7vw, 0.875rem);
}
/* cd banner */
#cd-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8e0000;
    padding: 0.5rem 0;
    gap: 0.5rem;
}

#cd-banner .days, #cd-banner .cd-txt {
    font-size: clamp(00.825rem, 1.5vw, 1.25rem);
    color: var(--txt-alt-color);
    line-height: 1;
}   


/* about us page */

section {
    height: 70vh;
    display: flex;
    flex-direction: column;
}

section p {
    max-width: 70ch;
    font-size: 1rem;
}

section#about-us, section#tag-section, section#our-roots, section#our-vision {
    justify-content: center;
    align-items: center;
    text-align: center;
} 


section#tag-section, section#our-vision {
    border-top: var(--hover-color) 0.5px solid;
    height: 75vh;
}

section#tag-section h2 {
    font-size: clamp(3rem, 6vw, 5rem);
}

.serif {
    font-family: var(--font-instrument-serif);
    font-size: 1.5rem;
}

section#cool-scroll {
    background-image: url(../images/wildrose/interior1.webp);
    background-color: var(--bg-overlay);
    background-blend-mode: overlay;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 70vh;
    width: 100%;
    margin-bottom: 2rem;
}


.flex-container {
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;    
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-items: center;
    align-items: center;
    gap: 1rem;
}

section#categories div.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

section#categories figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

section#categories figure img{
    width: 100%;
}

#hero-section {
    background-image: url(../images/wildrose/interior1.avif);
    background-color: var(--bg-overlay);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    height: 80vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--txt-alt-color);
}
button.a-button, a.a-button, span.a-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.825rem;
    border: 1px solid var(--txt-color);
    background-color: var(--txt-color);
    color: var(--txt-alt-color);
    text-align: center;
    transition: background-color 0.3s ease;
}
button.a-button:hover, a.a-button:hover, span.a-button:hover {
    background-color: var(--hover-color);
}

.flex-headings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 1rem;
    gap: 1rem;
}

.fig-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
}

.fig-cat img{
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.fig-cat figcaption {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--font-instrument-serif);
    text-align: center;
}

.hp-h2 {
    line-height: 1;
}

section#featured{
    max-height: fit-content;
    padding-top: 1rem;
    margin-bottom: 3rem;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: fit-content;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 0;
}


.carousel-item {
    flex: 0     0 auto;
    scroll-snap-align: center;
    width: 100%;
    max-width: 400px;
}


.carousel-item img {
    width: 100%;
    height: auto;
}

#confirmation-details
{
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    padding: 1rem;
    max-width: 600px;
    text-align: center;
    border: 0.5px solid var(--txt-color);
    background-color: var(--white);
    box-shadow: 2px 2px 10px #3b17174d;
}




.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: var(--txt-color);
    color: var(--txt-alt-color);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.left-button {
    left: 0.5rem;
}

.right-button {
    right: 0.5rem;
}





section#categories {
    height: fit-content;
    padding-bottom: 1rem;

}
section#about {
    border-top: 0.5px solid var(--txt-color);
    border-bottom: 0.5px solid var(--txt-color);
    display: flex;
    height: 70vh;
    min-height: fit-content;
    justify-content: center;
    align-items: center;    
    padding: 4rem 0;
    margin: 0 auto;
    gap: 1rem;
}

section#about figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

section#about figure h2{
    line-height: 1;
    text-align: center;
}

section#about p {
    max-width: 60ch;
    font-size: 0.825rem;
}

section#vendors-hp {
    height: fit-content;
    padding: 0 0 3rem 0; 
}

section#vendors-hp .grid-container {
    grid-template-columns: 1fr 1fr;
}

section#vendors-hp h2 {
    line-height: 1;
}

.flex-headings {
    padding-top: 1rem;
}
section#vendors-hp h3 {
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1;
    font-size: 1.25rem;

}

section#vendors-hp figure {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    align-items: center;
    justify-content: center;
}

.fig-cat:hover, section#vendors-hp figure:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

figure.cat-shop {
    text-align: center;
}
figure.cat-shop  img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.cat-shop p {
    font-size: 0.825rem;
    font-family: var(--font-instrument-serif);
}

.h2-form {
    font-family: var(--font-instrument-sans);
    font-size: 1.8rem;
}

#shop-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#shop-main h1 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

#shop-main #shop-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}


#shop-main form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    background-color: var(--txt-color);
    width: 100%;
    padding: 1rem;
    flex-wrap: wrap;
}

#shop-main form label {
    font-size: 1rem;
    color: var(--txt-alt-color);
}
#shop-main form select, #shop-main form input[type="text"] {
    font-size: 0.825rem;
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 0;
    background-color: var(--white);
}

#shop-main form select {
    max-height: max-content;
}


#shop-main form input[type="text"] {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0.75rem;
}

#shop-main button[type="submit"] {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border: none;
    background-color: var(--bg-color);
    color: var(--bg-overlay);
    cursor: pointer;
    
}

#shop-main label {
    display: none;
}

#shop-main button[type="submit"]:hover {
    background-color: var(--hover-color);
    color: var(--txt-alt-color);
    transition: background-color 0.3s ease;

}
.group2 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.nowrap {
    flex-wrap: nowrap;
}

.group {
    text-align: center;
}
.group .a-button {
    margin-top: 1rem;
    display: inline-block;
}
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
}

.no-results h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    margin-bottom: 1.5rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
}
/* product items */

figure.product-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.product-box:hover {
    transform: scale(1.01);
    transition: transform 0.3s ease;
}


figure.product-box img {
    width: 100%;
    height: auto;
}

figure.product-box h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    line-height: 1;
}
figure.product-box p {
    font-size: 1rem;
    line-height: 1;
}



/* product profile page */
.product-profile, .vendor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 1rem;
}
.product-profile img {
    width: 100%;
    height: auto;
}
.vendor-line a {
    display: flex;
    align-items: center;
}
.vendor-line a img {
    max-width: 70px;
    border-radius: 50%;
    border: 1px solid #5a5a5a4f;
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.139);
    background-color: var(--bg-color);
    vertical-align: middle; 
    margin-right: 10px;
}

.vendor-line a h2 {
    font-size: 1.8rem;
    line-height: 1;
}

.var-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;

}
.product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}
.var-container figcaption {
    font-size: 0.9rem;
    flex-wrap: wrap;

}
.variant-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    cursor: pointer;
    gap: 0.5rem;
}

.variant-item.active img {
    outline: 5px solid var(--hover-color);
    outline-offset: 0.5px;
}

.variant-item {
    width: 90px;          
    min-width: 90px;      
    text-align: center;
}

.variant-item p {
    min-height: 32px;     
    display: flex;
    align-items: center;  
    justify-content: center;
    padding: 0 4px;
    font-size: 0.9rem;
    line-height: 1.2;
}

.quantity-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

figure.variant-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}
.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.qty-controls input[type="number"] {
    width: 60px;
    height: 37px;
    text-align: center;
    font-size: 0.825rem;
    padding: 0.5rem 1rem;
    border: none;
    border: 0.5px solid var(--hover-color);
}

.qty-controls label {
    display: none;
}

.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--txt-color);
    background-color: var(--txt-color);
    color: var(--txt-alt-color);
    cursor: pointer;
    
}




.bag-btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--txt-color);
    background-color: var(--txt-color);
    color: var(--txt-alt-color);
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.bag-btn:hover {
    background-color: var(--hover-color);
}


/* product page - similar products section */
.similar-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  overflow-x: scroll;
  scroll-snap-type: x proximity;
  padding-bottom: 1rem;
}

a.similar-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.similar-slide {
  display: flex;
}

.similar-card {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.similar-card img {
  width: 100%;
  min-width: 250px;
  height: auto;
  aspect-ratio: 3 / 3;
  object-fit: cover;
  display: block;
}

.similar-caption {
  display: block;
}

.similar-caption h3,
.similar-caption p {
  font-family: var(--font-instrument-sans);
  font-size: 1.25rem;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 0;
}

.similar-caption h3 {
  font-weight: bold;
}

.similar-caption p {
  font-weight: normal;
  margin-top: 0.25rem;
}



div#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}
div#pagination a {
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-color);
    color: var(--txt-color);
    text-align: center;
    transition: background-color 0.3s ease;
}
div#pagination a:hover {
    border: none;
    background-color: var(--hover-color);
    color: var(--txt-alt-color);
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
}

div#pagination a.active {
    background-color: var(--txt-color);
    color: var(--txt-alt-color);
    pointer-events: none;
}

#vend-h1 {
    margin-top: 0.5rem;
}
#vendor-list {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.vendor-link figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.vendor-link img {
    height: 100%;
    width: auto;
    max-width: 100px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid #5a5a5a4f;
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.139);
}

.vendor-link figcaption {
    line-height: 1.1;
    text-align: center;
}

.vendor-link figcaption h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.vendor-link figcaption p {
    margin-bottom: 1rem;
}

.vendor-link:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.vendor-grid {
    align-items: center;
    justify-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 0.5px solid var(--txt-color);
}

.vendor-grid img {
    width: 100%;
    height: auto;
    max-width: 300px;
    background-color: var(--white);
    border-radius: 50%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding-bottom: 1rem;
}

.product-grid img {
    width: 100%;
    height: auto;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 2rem;
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    background-color: var(--white);
    padding: 1.5rem;
     border-top: 5px dashed var(--bg-color);
    border-bottom: 5px dashed var(--bg-color);
}

.cart-item .group2 {
    justify-content: center;
    max-width: fit-content;
    margin-left: auto;
}

#update-cart {
    margin: 0 auto;
    display: block;
    margin-top: 1rem;
}
div.qty {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: fit-content;
}

div.qty label {
    display: none;
}

div.qty input[type="number"] {
    text-align: center;
    width: 100%;
    font-size: 0.825rem;
    padding: 0.65rem 1rem;
    border: 0.5px solid var(--txt-color);
}



form.checkout {
    border-top: 5px dashed var(--bg-color);
    border-bottom: 5px dashed var(--bg-color);
    background-color: var(--white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

form.checkout div {
    display: flex;
    flex-direction: column;
}


form.checkout input {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--txt-color)
}

form.checkout h2, form.checkout p {
    line-height: 1;
}

form.checkout p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-instrument-serif);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    border-bottom: 0.5px solid var(--txt-color);
    padding-bottom: 0.5rem;
}

p#grand-total {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    text-align: center;
}

.cartpageBtn {
    background-color: var(--txt-color);
    padding: 0.75rem 1rem;
    color: var(--txt-alt-color);
    transition: background-color 0.3s ease;
    border: 0.5px solid var(--txt-color)
}

.cartpageBtn:hover {
    background-color: #885437;
}

#back2shop {
    margin-bottom: 1rem;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--txt-color);
    border-top: var(--bg-color) dashed 5px;
    padding: 1rem 0rem;
    margin: 0 auto;
    max-width: 95rem;
    align-items: center;
}

footer small {
    color: var(--txt-alt-color);
    text-align: center;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
}

footer small a {
    color: var(--txt-alt-color);
    text-decoration: underline;
}

footer small a:hover {
    color: var(--alt-hover-color);
}


footer img:hover, footer iframe:hover {
    transform: scale(1.01);
    transition: transform 0.3s ease;
}


