:root {
    --color-lightest: #f4eeff;
    --color-light: #c4bbf0;
    --color-main: #927fbf;
    --color-dark: #4f3b78;
    --color-darkest: #2f1b41;
    --highlight-color: #0097B2;
    --highlight-color-dark: #00778b;
    --light-font: #2f1b4191;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: var(--color-darkest);
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
}



.bg-body-branding {
    background-color: var(--color-dark);
}

.navbar-toggler {
    background-color: white;
}

.btn-outline-branding {
    background-color: var(--color-lightest);
    color: var(--color-darkest);
    font-weight: 500;
}

h1 {
    font-family: "Bree Serif", serif;
    font-size: 40px;
    margin: 0;
}

h2 {
    font-size: 30px;
    font-weight: 400;
    margin: 10px 0;
}

h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

a {
    text-decoration: none;
}

.header-container h3 {
    max-width: 400px;
}

.header-container {
    width: 100vw;
    padding: 40px 20px;
    box-sizing: border-box;
    background-image: url(images/header-bright.png);
    background-size: cover;
    background-position: center;
    color: var(--color-darkest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-branding {
    background-color: var(--color-dark);
    color: white;
    font-weight: 600;
    border: none;
    padding: 16px 32px;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-branding:hover {
    background-color: var(--highlight-color);
    color: white;
    transform: translateY(-2px);
}

.header-btn {
    margin-top: 30px;
}

.home-about-container {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.home-about-container>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
    gap: 60px;
    width: 80%;
    max-width: 1000px;
}

.home-about-container h1 {
    font-family: "Caveat Brush", cursive;
    font-size: 40px;
}

.willow-circle {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.home-about-texts-container {
    max-width: 400px;
    text-align: left;
}

.about-heading {
    font-family: "Bree Serif", serif;
    font-size: 40px;
    margin: 0;
    line-height: 1;
}

.about-sub-heading {
    margin-bottom: 0px;
}

.home-about-text {
    margin-top: 40px;
    margin-bottom: 40px;
}

.learn-more-btn {
    background-color: var(--color-dark);
    color: white;
}

.categories-container {
    background-color: var(--color-lightest);
}

.carousel-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 80%;
    gap: 15px;
}

.categories-heading {
    font-weight: 400;
    padding: 40px;
    font-size: 33px;
    text-align: center;
}

.category-name {
    color: var(--color-darkest);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.chevron {
    font-size: 30px;
    color: var(--color-dark);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.carousel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    justify-items: center;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 10px;
}

.product-card {
    background-color: white;
    text-align: center;
    border-radius: 20px;
    padding-bottom: 10px;
    max-width: 250px;
    box-sizing: border-box;
}

.product-image {
    max-width: 90%;
    border-radius: 20px;
    padding: 10px;
    height: auto;
}

.chevron-controls {
    display: none;
}

.all-products-button-container {
    display: flex;
    justify-content: center;
}

.all-products-btn {
    margin: 30px;
}

.art-classes-container {
    width: 100vw;
    padding: 40px 20px;
    box-sizing: border-box;
    color: var(--color-darkest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.art-classes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    border: 2px solid #3BC5D7;
    border-radius: 20px;
    max-width: 1000px;
    padding: 20px;
}

.classes-grid-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.art-classes-heading {
    font-family: "Bree Serif", serif;
    font-size: 50px;
    margin: 0;
    line-height: 1;
}

.art-classes-short-description {
    max-width: 500px;
    padding: 20px;
}

.classes-image,
.map-embed {
    max-width: 500px;
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
}

.art-classes-details {
    padding: 20px;
    text-align: left;
    max-width: 90%;
}

.character-image {
    position: absolute;
    max-width: 320px;
    width: 100%;
    height: auto;
    bottom: -59px;
    right: -130px;
    transform: scaleX(-1);
}

.classes-map-and-button-small {
    display: none;
}

.where-and-when-heading {
    font-weight: 500;
    align-self: flex-start;
    margin-bottom: 30px;

}

.book-now-btn {
    margin-top: 10px;
    align-self: flex-start;
}

.join-the-community-container {
    background-color: var(--color-lightest);
    color: white;
    width: 100%;
    padding: 20px 0;
}

.join-us-content-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.join-us-grid {
    display: flex;
    width: 100%;
    max-width: 1000px;
    gap: 20px;
    flex-wrap: wrap;
}

.join-us-left,
.join-us-right {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.join-us-left {
    background-color: transparent;
    position: relative;
}

.character-on-map {
    position: absolute;
    max-width: 320px;
    width: 100%;
    height: auto;
    bottom: -40px;
    left: -60px;
    z-index: 10;
}

.join-us-right {
    background-color: var(--color-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 4px;
}

.get-in-touch-btn {
    margin-top: 30px;
}

.get-in-touch-btn:hover {
    background-color: var(--color-darkest);
    margin-top: 30px;
}

.sa-map-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
}

.mail-link {
    color: white;
}

.thank-you-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.thank-you-container {
    background-color: white;
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-container img {
    max-width: 150px;
    margin-bottom: 1.5rem;
}

.thank-you-container h1 {
    font-family: 'Bree Serif', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-darkest);
}

.thank-you-container p {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.btn-continue {
    display: inline-block;
    background-color: var(--highlight-color);
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}
        
.btn-continue:hover {
    background-color: var(--highlight-color-dark);
}

.form-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.google-form {
    width: 100%;
    min-height: 100vh;
    border: none;
    display: block;
}

footer {
    background-color: var(--color-main);
    color: var(--color-lightest);
    padding: 40px 20px 20px;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    margin: 0 0 10px;
    color: white;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: var(--color-lightest);
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 24px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--color-darkest);
    transform: scale(1.1);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 15px;
    color: white;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--color-lightest);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-darkest);
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 12px;
    color: var(--color-lightest);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .social-links a {
        color: white;
        font-size: 24px;
        transition: color 0.3s;
    }
}

.products-page-body {
    background: linear-gradient(to top, #dad4ec 0%, #dad4ec 1%, #f3e7e9 100%);
    background-attachment: fixed;
    background-size: cover;
}

.products-heading {
    font-family: 'Bree Serif', serif;
    font-weight: 500;
    padding-top: 40px;
    font-size: 40px;
    text-align: center;
}

.products-sub-heading {
    margin-bottom: 50px;
    font-weight: 300;
    font-size: 18px;
    text-align: center;
}

.all-products-container {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    border-radius: 8px;
    box-sizing: border-box;
}

.products-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.products-wrapper::-webkit-scrollbar {
    display: none;
}

.chevron {
    font-size: 30px;
    color: var(--color-dark);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
    width: 100%;
    max-width: 1400px;
    padding-bottom: 30px;
}

.product-card-products-page {
    background-color: white;
    border-radius: 8px;
    padding: 10px 10px 0 10px;
    max-width: 300px;
    box-sizing: border-box;
    text-align: start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card-products-page:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image-products-page {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 2px;
    display: block;
    margin: 0 auto;
}

.item-name {
    padding: 5px 5px 0px 5px;
    margin-bottom: 1px;
    color: var(--color-darkest);
}

small {
    padding: 0px 5px 5px 5px;
    color: var(--light-font);
}

.item-price {
    text-align: end;
    color: var(--color-darkest);
}

.chevron-controls-products-page {
    display: none;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.pagination-btn {
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}

.pagination-btn:hover {
    background-color: var(--color-main);
    color: white;
}

.filter-sort-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: var(--color-darkest);
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-group select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--color-light);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-color: white;
    color: var(--color-darkest);
}

.product-details body {
    background-color: var(--color-lightest);
}

.product-details main {
    flex-direction: column;
    justify-content: center;
}

.product-details-background {
    background-color: var(--color-lightest);
    margin: 50px 0px;
    display: flex;
    justify-content: center;
}

.product-details-container {
    border-radius: 20px;
    padding: 40px;
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.product-images-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 700px;
    margin: auto;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-product-image {
    width: 100%;
    max-width: 700px;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: opacity 0.3s ease;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    justify-content: start;
    flex-wrap: wrap;
}

.thumbnail {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, border 0.2s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: var(--color-main);
}

.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.product-texts {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-details-heading {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-darkest);
    margin: 0;
}

.product-wishlist-icon {
    font-size: 24px;
    color: var(--color-light);
    cursor: pointer;
    transition: color 0.2s ease;
}

.product-wishlist-icon:hover {
    color: var(--color-main);
}

.made-by-text {
    margin-bottom: 20px;
    color: var(--color-darkest);
    font-size: 16px;
}

.product-details-artist-name {
    color: var(--color-main);
    font-weight: 500;
    font-size: 16px;
}

.details-heading {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-darkest);
}

.product-details-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--color-darkest);
}

.product-details-list li {
    margin-bottom: 5px;
    font-size: 15px;
}

.price-stock-info {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-darkest);
    font-size: 17px;
}

.shipping-info {
    font-size: 14px;
    color: var(--light-font);
    margin-bottom: 30px;
}

.add-to-cart-btn {
    padding: 12px 25px;
    font-size: 16px;
    align-self: flex-start;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link i {
    margin-right: 5px;
}

.d-flex .nav-link {
    color: white !important;
}

.d-flex .nav-link:hover {
    color: var(--color-lightest) !important;
}

/* Artist Details Page Specific Styles */
body.artist-details main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.artist-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 30px;
}

.artist-header h2 {
    color: var(--color-dark);
    font-size: 30px;
    font-weight: 400;
    margin: 0;
}

.artist-header h1 {
    color: var(--color-darkest);
    font-family: "Bree Serif", serif;
    font-size: 55px;
    margin: 0;
    letter-spacing: 2px;
}

.artist-details-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.artist-image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--highlight-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
    background-color: white;
}

.artist-details-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.artist-description-box {
    background-color: var(--color-lightest);
    padding: 30px 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.artist-bio {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-darkest);
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-top: auto;
}

.social-icon {
    font-size: 30px;
    color: var(--color-main);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--color-dark);
    transform: translateY(-3px);
}

.hidden {
    display: none;
}

.cart-title, .checkout-title {
    color: var(--color-darkest);
    font-size: 40px;
    font-weight: 00;
    margin: 0;
    margin-bottom: 30px;
}
.cart-container {
    background: #f6edff;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.cart-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cart-column {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.cart-left {
    flex: 1;
}

.cart-right {
    flex: 1;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}

.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-title {
    font-weight: 600;
    margin: 0;
}

.item-sub {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0 0;
}

.qty-input {
    width: 50px;
    margin: 0 15px;
    padding: 5px;
}

.item-price {
    font-weight: 500;
    margin: 0 15px;
}

.remove-item {
    display: flex;
    align-items: center;
    height: 100%;
    cursor: pointer;
    margin-left: auto;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.remove-item:hover {
    color: #dc3545;
    transform: translateY(-3px);
}

.cart-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.subtotal {
    font-weight: 400;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-summary label {
    display: block;
    margin: 10px 0 5px;
}

.checkout-summary select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
}

.shipping-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 5px;
}

.shipping {
    flex: 1;
    padding: 5px;
}

.shipping-price {
    white-space: nowrap;
}

.total-row {
    text-align: right;
    border-top: 1px solid #ccc;
    padding: 22px;
    border-bottom: 1px solid #ccc;
}

.total {
    font-weight: 700;
    margin-top: 10px;
}

.info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.checkout-form .form-group {
    margin-bottom: 15px;
}

.checkout-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.update-cart-btn, .proceed-btn {
    background: var(--highlight-color);
    width: 100%;
    margin: 30px auto;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--highlight-color-dark);
    color: white;
}

.proceed-btn-container {
    text-align: center;
    display: flex;
}

.proceed-btn {
    width: 100%;
    margin: 10px;
}

.login-page-body {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
    margin: 0;
}

.half-page-bg {
    flex: 1;
    background-image: url('images/login-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.half-page-color {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem; 
}

.tab {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    height: 50px;
    margin-bottom: 2rem;
    border-radius: 20px;
    background-color: var(--color-lightest);
    overflow: hidden;
}

.tablinks {
    flex: 1;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--color-darkest);
    border-radius: 20px;
    padding: 5px 20px;
    transition: font-size 0.1s;
}

.tablinks:hover {
    font-size: 1.1rem;
}

.tablinks.active {
    background-color: var(--color-dark);
    color: white;
}

.tabcontent {
    width: 100%;
    max-width: 400px;
}

.tabcontent form {
    display: flex;
    flex-direction: column;
}

.tabcontent label {
    font-family: 'Poppins', sans-serif;
    color: var(--color-darkest);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.tabcontent input[type="text"],
.tabcontent input[type="email"],
.tabcontent input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-light);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.wrap {
    text-align: center;
    margin-top: 1rem;
}

.wrap button {
    width: 100%;
    padding: 12px;
    background-color: var(--highlight-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.wrap button:hover {
    background-color: var(--highlight-color-dark);
}

.logo-image {
    max-width: 300px;
    padding-bottom: 30px;
}

/* --- Contact Page Styling --- */
.contact-page {
    padding: 2rem 1rem;
}

.contact-us-image {
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: "Bree Serif", serif;
}

.contact-header p {
    color: var(--color-darkest);
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-form label {
    text-align: left;
    font-weight: 500;
    color: var(--color-darkest);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-main);
}

.btn-custom {
    background-color: var(--color-main);
    color: #fff;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-custom:hover {
    background-color: var(--color-dark);
}

.contact-info {
    text-align: left;
    margin-top: 2rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: var(--highlight-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.btn-whatsapp {
    display: inline-block;
    margin-top: 1rem;
    background-color: #25d366;
    color: #fff !important;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

/* --- Thank You Message Styling --- */
#thanks {
    display: none;
    /* hidden by default */
    text-align: center;
    padding: 2rem 1rem;
    /* more breathing room */
    margin-top: 2rem;
    background-color: var(--color-lightest);
    /* subtle light background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* soft shadow */
}

#thanks img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

#thanks p {
    font-size: 1.5rem;
    /* larger text for visibility */
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 0;
}

/* --- Contact Page Responsiveness --- */

/* Tablet adjustments */
@media (max-width: 768px) {
    .contact-container {
        padding: 1.5rem;
    }

    .contact-header h1 {
        font-size: 1.75rem;
    }

    .btn-custom,
    .btn-whatsapp {
        width: 100%;
        /* Full width buttons */
        text-align: center;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .contact-container {
        padding: 1rem;
    }

    .contact-header h1 {
        font-size: 1.5rem;
    }

    .contact-header p {
        font-size: 0.95rem;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .contact-header h1 {
        font-size: 1.25rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .btn-custom,
    .btn-whatsapp {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
}

/* ----------------------------
    ≤ 480px (Mobile - Smallest)
----------------------------- */
@media (max-width: 480px) {
    .artist-header h1 {
        font-size: 38px;
        /* Adjust for smaller screens */

    }
}

@media (max-width: 960px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 16px;
    }

    .home-about-container {
        padding: 20px 10px;
        max-width: 600px;
        margin-bottom: 20px;
    }

    .home-about-container>div {
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .home-about-container>div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-about-texts-container {
        max-width: 100%;
        text-align: center;
    }

    .willow-circle {
        max-width: 250px;
    }

    .carousel-wrapper .chevron {
        display: none;
    }

    .chevron-controls {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
    }

    .product-details-container {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        padding: 30px;
    }

    .product-images-grid,
    .product-texts {
        width: 100%;
        max-width: 400px;
    }

    .main-product-image {
        max-width: 100%;
    }

    .add-to-cart-btn {
        align-self: center;
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    .carousel-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 15px;
    }

    .willow-circle {
        max-width: 180px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .header-container {
        padding: 40px 10px;
    }

    .footer-container {
        padding: 30px 10px;
    }

    .product-details-container {
        padding: 20px;
    }

    .product-details-heading {
        font-size: 22px;
    }

    .product-wishlist-icon {
        font-size: 20px;
    }

    .made-by-text,
    .details-heading,
    .product-details-list li,
    .price-stock-info,
    .shipping-info {
        font-size: 14px;
    }

    .add-to-cart-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .thumbnail-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .art-classes-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .classes-grid-section {
        text-align: center;
        padding: 10px 0;
    }

    .classes-image,
    .map-embed {
        max-width: 100%;
        height: auto;
    }

    .art-classes-heading {
        font-size: 36px;
    }

    .art-classes-short-description {
        padding: 10px;
    }

    .book-now-btn,
    .classes-grid-section iframe.map-embed:not(.classes-map-and-button-small iframe) {
        display: none;
    }

    .classes-map-and-button-small {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
    }

    .classes-map-and-button-small iframe {
        width: 100%;
        max-width: 500px;
        height: 300px;
        border-radius: 20px;
    }

    .book-now-btn-small {
        margin-top: 10px;
        font-weight: 600;
        border: none;
        padding: 16px 32px;
        border-radius: 15px;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .where-and-when-heading {
        align-self: center;
    }

    .character-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .join-us-grid {
        flex-direction: column;
    }

    .join-us-left .join-us-right {
        width: 100%;
        text-align: center;
    }

    .sa-map-img {
        max-width: 90%;
        padding: 0 20px;
    }
}

@media (min-width: 800px) {

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .product-details-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 40px;
    }

    .product-images-grid {
        max-width: 100%;
        padding: 20px;
        gap: 10px;
    }

    .main-product-image {
        max-width: 100%;
        border-radius: 15px;
    }

    .smaller-image {
        width: 80px;
        height: 80px;
    }

    .product-texts {
        width: 100%;
        padding: 20px;
    }
}


@media (max-width: 576px) {
    .product-details-heading {
        font-size: 22px;
    }

    .product-wishlist-icon {
        font-size: 20px;
    }

    .made-by-text,
    .product-details-artist-name,
    .details-heading,
    .product-details-list li,
    .price-stock-info,
    .shipping-info {
        font-size: 14px;
    }

    .product-details-list {
        padding-left: 15px;
    }

    .smaller-image {
        width: 70px;
        height: 70px;
    }

    .add-to-cart-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* --- Products Page Specific Responsiveness --- */

/* Adjustments for smaller screens on the filter/sort bar */
@media (max-width: 768px) {
    .filter-sort-bar {
        flex-direction: column;
        /* Stack filters vertically on smaller screens */
        align-items: center;
        /* Center them when stacked */
        gap: 15px;
        /* Reduce gap when stacked */
        padding: 15px;
    }

    .filter-group {
        width: 100%;
        /* Make filter groups take full width */
        justify-content: center;
        /* Center content within filter group */
    }

    .filter-group select {
        width: auto;
        /* Allow select to shrink naturally */
        min-width: 150px;
        /* Ensure select boxes are still readable */
    }
}

/* Adjustments for even smaller screens on the products grid */
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        /* Allow slightly larger min-width for better display on very small screens */
        padding: 0 10px;
        /* Add some horizontal padding to the grid */
    }

    .all-products-container {
        padding: 20px 10px;
        /* Reduce container padding on small screens */
        margin: 0 10px 20px 10px;
        /* Adjust margins */
    }

    .product-card-products-page {
        padding: 8px 8px 0 8px;
        /* Slightly reduce card padding */
    }

    .item-name {
        font-size: 15px;
        /* Adjust font size for product name */
    }

    small {
        font-size: 12px;
        /* Adjust font size for artist name */
    }

    .item-price {
        font-size: 16px;
        /* Adjust font size for price */
    }
}

/* Ensure pagination buttons wrap nicely */
@media (max-width: 480px) {
    .pagination-controls {
        flex-direction: column;
        /* Stack pagination buttons vertically */
        align-items: center;
        gap: 8px;
        /* Smaller gap when stacked */
    }
}

/* --- Login Page Specific Responsiveness --- */
@media (max-width: 768px) {
    .login-page-body {
        display: block;
        height: auto;
        min-height: 100vh;
    }

    .half-page-bg {
        display: none;
    }

    .logo-image {
        max-width: 200px;
        padding-bottom: 0;
    }

    .half-page-color {
        flex: 1;
        width: 100%;
        padding: 1rem;
    }
}