
/* =====================================================
   MIORA CROCHET & CRAFT
   CROCHET SHOP WEBSITE
===================================================== */


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fffaf6;
    color: #493939;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {
    width: 100%;
    min-height: 42px;
    padding: 8px 4%;
    background: #f2e4dc;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    font-size: 13px;
    color: #5d4b4b;
}

.top-location {
    white-space: nowrap;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
}

.top-right a {
    text-decoration: none;
}

.top-right a:hover {
    color: #a95770;
}


/* =====================================================
   HEADER
===================================================== */

.main-header {
    width: 100%;
    min-height: 92px;

    padding: 12px 4%;

    background: #ffffff;
    border-bottom: 1px solid #eadfd9;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;

    flex-shrink: 0;
}

.brand-icon {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #f6e2dc;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
}

.brand-text h2 {
    font-family: Georgia, serif;

    font-size: 21px;

    color: #583e43;

    letter-spacing: 1px;
}

.brand-text p {
    font-size: 11px;

    color: #a95770;

    letter-spacing: 1px;
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 17px;
}

.main-nav a {
    text-decoration: none;

    color: #493838;

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;
}

.main-nav a:hover {
    color: #a95770;
}


/* =====================================================
   BOOK NOW BUTTON
===================================================== */

.book-now-button {
    border: none;

    background: #a95770;

    color: #ffffff;

    padding: 10px 18px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
}

.book-now-button:hover {
    background: #8f465e;
}


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

.menu-button {
    display: none;

    border: none;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

    color: #583e43;
}

.mobile-nav {
    display: none;

    background: #ffffff;

    border-bottom: 1px solid #eadfd9;

    padding: 10px 4%;
}

.mobile-nav.show {
    display: flex;

    flex-direction: column;
}

.mobile-nav a {
    padding: 11px 0;

    text-decoration: none;

    color: #493838;

    border-bottom: 1px solid #f0e6e1;

    font-size: 14px;
}

.mobile-book-button {
    margin-top: 10px;

    padding: 11px 16px;

    border: none;

    border-radius: 5px;

    background: #a95770;

    color: #ffffff;

    font-weight: bold;

    cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    min-height: 620px;

    overflow: hidden;

    display: flex;

    align-items: center;

    isolation: isolate;
}


/* =====================================================
   MAIN REAL CROCHET IMAGE SLIDER
===================================================== */

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =====================================================
   HERO OVERLAY
===================================================== */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(255, 250, 246, 0.96) 0%,
            rgba(255, 250, 246, 0.82) 34%,
            rgba(255, 250, 246, 0.28) 65%,
            rgba(255, 250, 246, 0.10) 100%
        );
}


/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
    position: relative;

    z-index: 5;

    max-width: 620px;

    padding: 70px 8%;
}

.eyebrow {
    color: #a95770;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.hero h1 {
    font-family: Georgia, serif;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.05;

    color: #583e43;

    margin-bottom: 22px;
}

.hero-description {
    max-width: 560px;

    color: #6d5b5b;

    font-size: 18px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =====================================================
   HERO DOTS
===================================================== */

.hero-slider-dots {
    position: absolute;

    bottom: 28px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 10;

    display: flex;

    gap: 9px;

    align-items: center;

    justify-content: center;
}

.hero-dot {
    width: 10px;

    height: 10px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(73, 57, 57, 0.35);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.hero-dot.active {
    width: 28px;

    border-radius: 20px;

    background: #493939;

    transform: scale(1.05);
}


/* =====================================================
   BUTTONS
===================================================== */

.primary-button {
    display: inline-block;

    padding: 13px 25px;

    background: #a95770;

    color: #ffffff;

    text-decoration: none;

    border-radius: 5px;

    font-size: 14px;

    font-weight: bold;

    border: none;

    cursor: pointer;

    transition: 0.2s ease;
}

.primary-button:hover {
    background: #8f465e;

    transform: translateY(-1px);
}

.secondary-button {
    display: inline-block;

    padding: 12px 24px;

    background: transparent;

    color: #8f4d63;

    border: 1px solid #b8798b;

    text-decoration: none;

    border-radius: 5px;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s ease;
}

.secondary-button:hover {
    background: #f4e1e4;
}


/* =====================================================
   HERO ART
===================================================== */

.hero-art {
    width: 360px;

    height: 360px;

    position: relative;

    flex-shrink: 0;
}

.yarn-circle {
    position: absolute;

    width: 280px;

    height: 280px;

    top: 35px;

    left: 35px;

    border-radius: 50%;

    background: #efd2cb;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 120px;

    box-shadow:
        0 20px 50px rgba(110, 70, 70, 0.12);
}

.flower-art {
    position: absolute;

    right: 0;

    top: 0;

    width: 100px;

    height: 100px;

    border-radius: 50%;

    background: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 50px;

    box-shadow:
        0 10px 30px rgba(110, 70, 70, 0.12);
}

.heart-art {
    position: absolute;

    left: 0;

    bottom: 20px;

    width: 90px;

    height: 90px;

    border-radius: 50%;

    background: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 42px;

    box-shadow:
        0 10px 30px rgba(110, 70, 70, 0.12);
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    max-width: 700px;

    margin: 0 auto 40px;

    text-align: center;
}

.section-heading h2 {
    font-family: Georgia, serif;

    color: #583e43;

    font-size: 38px;

    margin-bottom: 10px;
}

.section-heading p:last-child {
    color: #6d5b5b;
}


/* =====================================================
   CATEGORIES
===================================================== */

.categories-section {
    padding: 75px 5%;

    background: #fffaf6;
}

.category-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}

.category-card {
    border: 1px solid #eadbd3;

    background: white;

    border-radius: 10px;

    padding: 22px 10px;

    cursor: pointer;

    text-align: center;

    color: #583e43;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(80, 50, 50, 0.08);
}

.category-image {
    display: block;

    font-size: 38px;

    margin-bottom: 8px;
}

.category-card strong {
    display: block;

    font-size: 15px;
}

.category-card small {
    display: block;

    color: #8b7777;

    font-size: 11px;

    margin-top: 3px;
}


/* =====================================================
   SHOP
===================================================== */

.shop-section {
    padding: 80px 5%;

    background: #fdf3ed;
}

.shop-controls {
    max-width: 1100px;

    margin: 0 auto 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.search-box {
    flex: 1;

    max-width: 600px;

    height: 46px;

    background: white;

    border: 1px solid #dfcdc4;

    border-radius: 6px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 14px;
}

.search-box span {
    font-size: 18px;
}

.search-box input {
    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    font-size: 14px;
}

#category-filter {
    height: 46px;

    padding: 0 35px 0 13px;

    background: white;

    border: 1px solid #dfcdc4;

    border-radius: 6px;

    color: #493939;

    font-size: 14px;

    outline: none;
}


/* =====================================================
   PRODUCTS
===================================================== */

.product-grid {
    max-width: 1100px;

    margin: auto;

    display: flex !important;

    flex-wrap: nowrap !important;

    overflow-x: auto;

    overflow-y: hidden;

    scroll-behavior: smooth;

    gap: 24px;

    padding: 10px 5px 25px;

    scrollbar-width: none;

    scroll-snap-type: x mandatory;
}

.product-grid::-webkit-scrollbar {
    display: none;
}

.product-grid .product-card {
    flex: 0 0 300px;

    min-width: 300px;

    scroll-snap-align: center;
}

.product-card {
    background: white;

    border: 1px solid #eadbd3;

    border-radius: 10px;

    overflow: hidden;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(80, 50, 50, 0.10);
}

.product-image {
    height: 230px;

    background: #f4e2da;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 75px;
}

.product-info {
    padding: 18px;
}

.product-category {
    font-size: 10px;

    color: #a95770;

    font-weight: bold;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 5px;
}

.product-name {
    font-family: Georgia, serif;

    font-size: 20px;

    color: #583e43;

    margin-bottom: 8px;
}

.product-description {
    font-size: 13px;

    color: #766565;

    min-height: 42px;

    margin-bottom: 10px;
}

.product-price {
    font-size: 21px;

    font-weight: bold;

    color: #a95770;

    margin-bottom: 14px;
}

.product-actions {
    display: flex;

    gap: 8px;
}

.product-actions button {
    flex: 1;

    min-height: 40px;

    border-radius: 5px;

    cursor: pointer;

    font-size: 12px;

    font-weight: bold;
}

.view-button {
    border: 1px solid #c99baa;

    background: white;

    color: #8f4d63;
}

.order-button {
    border: none;

    background: #a95770;

    color: white;
}

.view-button:hover {
    background: #f8e9e7;
}

.order-button:hover {
    background: #8f465e;
}

.no-products {
    display: none;

    text-align: center;

    color: #806f6f;

    padding: 30px;
}


/* =====================================================
   NEW ARRIVALS
===================================================== */

.new-arrivals-section {
    padding: 75px 7%;

    background: white;
}

.new-arrival-content {
    max-width: 950px;

    margin: auto;

    padding: 35px;

    border-radius: 12px;

    background: #f8e9e4;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 35px;
}

.new-arrival-art {
    min-height: 220px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 90px;
}

.new-arrival-content h3 {
    font-family: Georgia, serif;

    color: #583e43;

    font-size: 28px;

    margin-bottom: 12px;
}

.new-arrival-content p {
    color: #6d5b5b;

    margin-bottom: 22px;
}


/* =====================================================
   ABOUT
===================================================== */

.about-section {
    padding: 90px 8%;

    background: #fffaf6;

    text-align: center;
}

.about-content {
    max-width: 760px;

    margin: auto;
}

.about-content h2 {
    font-family: Georgia, serif;

    font-size: 44px;

    line-height: 1.15;

    color: #583e43;

    margin-bottom: 22px;
}

.about-content p {
    color: #6d5b5b;

    margin-bottom: 14px;
}

.about-content .primary-button {
    margin-top: 15px;
}


/* =====================================================
   REVIEWS
===================================================== */

.reviews-section {
    padding: 75px 5%;

    background: #fdf3ed;
}

.reviews-grid {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.review-card {
    background: white;

    padding: 28px;

    border: 1px solid #eadbd3;

    border-radius: 10px;

    text-align: center;
}

.stars {
    color: #b06b35;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.review-card p {
    color: #6d5b5b;

    margin-bottom: 15px;

    font-size: 14px;
}

.review-card strong {
    color: #583e43;

    font-size: 13px;
}


/* =====================================================
   FAQ
===================================================== */

.faq-section {
    padding: 75px 7%;

    background: white;
}

.faq-container {
    max-width: 850px;

    margin: auto;
}

.faq-container details {
    border-bottom: 1px solid #eadbd3;

    padding: 18px 0;
}

.faq-container summary {
    cursor: pointer;

    font-weight: bold;

    color: #583e43;
}

.faq-container details p {
    color: #6d5b5b;

    padding-top: 10px;

    font-size: 14px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    padding: 80px 5%;

    background: #f4e5de;

    text-align: center;
}

.contact-section h2 {
    font-family: Georgia, serif;

    font-size: 38px;

    color: #583e43;

    margin-bottom: 10px;
}

.contact-section p {
    color: #6d5b5b;
}

.contact-buttons {
    margin-top: 25px;

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =====================================================
   PRODUCT MODAL
===================================================== */

.product-modal,
.booking-modal {
    position: fixed;

    inset: 0;

    width: 100%;

    height: 100%;

    background: rgba(35, 25, 25, 0.65);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    z-index: 100000;
}

.product-modal.show,
.booking-modal.show {
    display: flex;
}

.product-modal-box,
.booking-box {
    position: relative;

    width: 100%;

    max-width: 500px;

    max-height: 90vh;

    overflow-y: auto;

    background: #fffaf6;

    border-radius: 12px;

    padding: 32px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-close,
.close-booking {
    position: absolute;

    top: 10px;

    right: 14px;

    width: 38px;

    height: 38px;

    border: none;

    background: transparent;

    color: #583e43;

    font-size: 32px;

    cursor: pointer;
}

.modal-product-image {
    height: 220px;

    background: #f4e2da;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 90px;

    margin-bottom: 20px;
}

.modal-product-category {
    font-size: 11px;

    color: #a95770;

    font-weight: bold;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.modal-product-title {
    font-family: Georgia, serif;

    font-size: 30px;

    color: #583e43;

    margin: 6px 0;
}

.modal-product-price {
    font-size: 24px;

    color: #a95770;

    font-weight: bold;

    margin-bottom: 15px;
}

.modal-product-description {
    color: #6d5b5b;

    margin-bottom: 22px;
}


/* =====================================================
   BOOKING FORM
===================================================== */

.booking-box h2 {
    font-family: Georgia, serif;

    color: #583e43;

    font-size: 30px;

    margin-bottom: 6px;
}

.booking-intro {
    color: #6d5b5b;

    font-size: 14px;

    margin-bottom: 22px;
}

#booking-form {
    display: flex;

    flex-direction: column;
}

#booking-form label {
    margin-top: 13px;

    margin-bottom: 5px;

    color: #583e43;

    font-size: 14px;

    font-weight: bold;
}

#booking-form input,
#booking-form select,
#booking-form textarea {
    width: 100%;

    padding: 12px;

    border: 1px solid #d9c7bf;

    border-radius: 6px;

    background: white;

    color: #493939;

    font-size: 14px;

    outline: none;
}

#booking-form input:focus,
#booking-form select:focus,
#booking-form textarea:focus {
    border-color: #a95770;

    box-shadow:
        0 0 0 2px rgba(169, 87, 112, 0.12);
}

#booking-form textarea {
    resize: vertical;
}

.form-error {
    min-height: 18px;

    color: #c0392b;

    font-size: 12px;

    margin-top: 3px;
}

.quote-button {
    width: 100%;

    margin-top: 23px;

    padding: 13px;

    border: none;

    border-radius: 6px;

    background: #a95770;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}

.quote-button:hover {
    background: #8f465e;
}


/* =====================================================
   FLOATING WHATSAPP
===================================================== */

.whatsapp-button {
    position: fixed !important;

    right: 20px !important;

    bottom: 20px !important;

    width: 60px !important;

    height: 60px !important;

    padding: 0 !important;

    margin: 0 !important;

    border-radius: 50% !important;

    background: #25D366 !important;

    color: white !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    text-decoration: none !important;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.25);

    z-index: 2147483647 !important;

    transition: transform 0.2s ease;
}

.whatsapp-button:hover {
    transform: scale(1.08);
}

.whatsapp-button svg {
    width: 34px;

    height: 34px;

    fill: white;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 45px 5%;

    background: #4b363b;

    color: white;

    text-align: center;
}

.footer-brand h3 {
    font-family: Georgia, serif;

    font-size: 21px;
}

.footer-brand p {
    color: #e6cfd0;

    font-size: 12px;

    margin-top: 3px;
}

.footer-links {
    margin: 22px 0;

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;

    color: #f5e6e2;

    font-size: 13px;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    color: #d8c1c1;

    font-size: 11px;
}


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

@media (max-width: 1150px) {

    .main-nav {
        gap: 10px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


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

@media (max-width: 850px) {

    .top-bar {
        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

        padding: 8px 4%;

        font-size: 11px;
    }

    .top-location {
        white-space: normal;
    }

    .top-right {
        width: 100%;

        flex-wrap: wrap;

        gap: 5px 14px;

        white-space: normal;
    }

    .main-header {
        min-height: 76px;

        padding: 10px 4%;
    }

    .brand-icon {
        width: 48px;

        height: 48px;

        font-size: 25px;
    }

    .brand-text h2 {
        font-size: 17px;
    }

    .brand-text p {
        font-size: 9px;

        letter-spacing: 0.5px;
    }

    .main-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        min-height: 600px;

        display: flex;

        align-items: flex-end;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255, 250, 246, 0.25) 0%,
                rgba(255, 250, 246, 0.60) 42%,
                rgba(255, 250, 246, 0.94) 78%,
                rgba(255, 250, 246, 1) 100%
            );
    }

    .hero-content {
        width: 100%;

        max-width: 100%;

        padding: 100px 7% 80px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-art {
        width: 260px;

        height: 260px;

        margin: 45px auto 0;
    }

    .yarn-circle {
        width: 205px;

        height: 205px;

        top: 27px;

        left: 27px;

        font-size: 85px;
    }

    .flower-art {
        width: 72px;

        height: 72px;

        font-size: 35px;
    }

    .heart-art {
        width: 65px;

        height: 65px;

        font-size: 30px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-controls {
        flex-direction: column;

        align-items: stretch;
    }

    .search-box {
        max-width: none;
    }

    #category-filter {
        width: 100%;
    }

    .product-grid {
        gap: 16px;
    }

    .product-grid .product-card {
        flex: 0 0 82vw;

        min-width: 82vw;
    }

    .product-image {
        height: 175px;

        font-size: 58px;
    }

    .product-info {
        padding: 13px;
    }

    .product-name {
        font-size: 17px;
    }

    .product-description {
        font-size: 12px;
    }

    .product-actions {
        flex-direction: column;
    }

    .new-arrival-content {
        grid-template-columns: 1fr;

        padding: 25px;
    }

    .new-arrival-art {
        min-height: 130px;

        font-size: 65px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 34px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .contact-section h2 {
        font-size: 30px;
    }

    .product-modal-box,
    .booking-box {
        padding: 28px 20px;
    }

    .whatsapp-button {
        right: 15px !important;

        bottom: 15px !important;

        width: 55px !important;

        height: 55px !important;
    }

    .whatsapp-button svg {
        width: 31px;

        height: 31px;
    }

}


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

@media (max-width: 450px) {

    .brand-text h2 {
        font-size: 15px;
    }

    .brand-text p {
        font-size: 8px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid .product-card {
        flex: 0 0 88vw;

        min-width: 88vw;
    }

    .product-image {
        height: 210px;
    }

    .product-actions {
        flex-direction: row;
    }

    .new-arrival-content h3 {
        font-size: 24px;
    }

    .product-modal-box,
    .booking-box {
        padding: 25px 18px;
    }

}


/* =====================================================
   COURSES BUTTON
===================================================== */

.courses-button {
    background: none;

    border: none;

    font: inherit;

    color: inherit;

    cursor: pointer;

    padding: 0;
}


/* =====================================================
   COURSES MENU
===================================================== */

.courses-menu {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: 0.25s ease;

    z-index: 9999;
}

.courses-menu.active {
    opacity: 1;

    visibility: visible;
}

.courses-menu-box {
    position: relative;

    width: min(90%, 500px);

    padding: 35px;

    background: #fffaf6;

    border-radius: 18px;

    text-align: center;
}

.courses-menu-box h2 {
    margin-bottom: 8px;
}

.courses-menu-box p {
    margin-bottom: 25px;
}

.courses-close {
    position: absolute;

    top: 12px;

    right: 16px;

    border: none;

    background: none;

    font-size: 28px;

    cursor: pointer;
}

.course-options {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.course-option {
    padding: 25px 15px;

    border: 1px solid #eadbd3;

    border-radius: 14px;

    background: white;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;
}

.course-option span {
    font-size: 32px;
}

.course-option strong {
    font-size: 16px;
}

.course-option small {
    color: #777;
}

@media (max-width: 600px) {

    .course-options {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   OFFLINE CLASS POPUP
===================================================== */

#offline-class {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    padding: 30px;

    background: rgba(45, 30, 30, 0.75);

    backdrop-filter: blur(8px);

    overflow-y: auto;
}

#offline-class.active {
    display: block;
}

body.offline-open {
    overflow: hidden;
}

#offline-class::before {
    content: "×";

    position: fixed;

    top: 20px;

    right: 25px;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #493939;

    color: white;

    border-radius: 50%;

    font-size: 30px;

    cursor: pointer;

    z-index: 10000;
}

#offline-class .offline-class-container {
    max-width: 1000px;

    margin: 30px auto 0;

    background: #fffaf6;

    padding: 35px;

    border-radius: 24px 24px 0 0;
}

#offline-class .offline-topics,
#offline-class .offline-note,
#offline-class .offline-enroll {
    max-width: 1000px;

    margin-left: auto;

    margin-right: auto;

    background: #fffaf6;

    padding: 25px 35px;
}

#offline-class .offline-enroll {
    border-radius: 0 0 24px 24px;
}


/* =====================================================
   OFFLINE CLASS DETAILS MODAL
===================================================== */

.offline-class-modal {
    position: fixed;

    inset: 0;

    background: rgba(45, 30, 30, 0.72);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 25px;

    z-index: 9999;

    overflow-y: auto;
}

.offline-class-modal.active {
    display: flex;
}

.offline-class-modal-box {
    position: relative;

    width: min(950px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    background: #fffaf6;

    border-radius: 24px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.3);

    animation: offlineClassOpen 0.3s ease;
}

@keyframes offlineClassOpen {

    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


/* =====================================================
   OFFLINE CLASS CLOSE BUTTON
===================================================== */

.offline-class-close {
    position: absolute;

    top: 18px;

    right: 18px;

    width: 42px;

    height: 42px;

    border: none;

    border-radius: 50%;

    background: white;

    color: #493939;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    z-index: 5;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15);
}

.offline-class-close:hover {
    transform: scale(1.05);
}


/* =====================================================
   OFFLINE CLASS IMAGE
===================================================== */

.offline-class-image {
    width: 100%;

    height: 330px;

    overflow: hidden;
}

.offline-class-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* =====================================================
   OFFLINE CLASS CONTENT
===================================================== */

.offline-class-content {
    padding: 45px;
}

.offline-class-content h2 {
    font-size: clamp(32px, 5vw, 48px);

    margin-bottom: 15px;

    color: #493939;
}

.offline-class-intro {
    max-width: 750px;

    font-size: 17px;

    line-height: 1.8;

    color: #6c5959;

    margin-bottom: 35px;
}


/* =====================================================
   CLASS INFORMATION
===================================================== */

.offline-class-info {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-bottom: 45px;
}

.offline-class-info > div {
    background: #ffffff;

    border-radius: 16px;

    padding: 20px 15px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(80, 50, 50, 0.08);
}

.offline-class-info span {
    display: block;

    font-size: 28px;

    margin-bottom: 8px;
}

.offline-class-info strong {
    display: block;

    color: #493939;

    margin-bottom: 5px;
}

.offline-class-info p {
    margin: 0;

    color: #806c6c;

    font-size: 14px;
}


/* =====================================================
   WHAT WE TEACH
===================================================== */

.offline-class-teaching {
    margin-bottom: 40px;
}

.offline-class-teaching h3 {
    font-size: 28px;

    color: #493939;

    margin-bottom: 25px;
}

.teaching-item {
    display: flex;

    gap: 18px;

    padding: 22px 0;

    border-bottom: 1px solid #eaded8;
}

.teaching-item > span {
    flex-shrink: 0;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f8e8df;

    border-radius: 14px;

    font-size: 25px;
}

.teaching-item h4 {
    margin: 0 0 7px;

    font-size: 19px;

    color: #493939;
}

.teaching-item p {
    margin: 0;

    color: #806c6c;

    line-height: 1.7;
}


/* =====================================================
   SKILLS
===================================================== */

.offline-class-skills {
    background: #f8eee9;

    border-radius: 20px;

    padding: 28px;

    margin-bottom: 30px;
}

.offline-class-skills h3 {
    margin: 0 0 18px;

    color: #493939;
}

.skill-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.skill-list span {
    background: white;

    padding: 9px 15px;

    border-radius: 30px;

    color: #604d4d;

    font-size: 14px;
}


/* =====================================================
   NOTE
===================================================== */

.offline-class-note {
    background: #fff;

    border-left: 4px solid #b98b7b;

    border-radius: 14px;

    padding: 25px;

    margin-bottom: 30px;
}

.offline-class-note h3 {
    margin-bottom: 15px;

    color: #493939;
}

.offline-class-note ul {
    margin: 0;

    padding-left: 20px;
}

.offline-class-note li {
    margin-bottom: 9px;

    color: #806c6c;

    line-height: 1.6;
}


/* =====================================================
   FEE
===================================================== */

.offline-class-fee {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: #493939;

    color: white;

    border-radius: 20px;

    padding: 25px 30px;
}

.offline-class-fee div {
    display: flex;

    flex-direction: column;
}

.offline-class-fee small {
    font-size: 11px;

    letter-spacing: 2px;

    opacity: 0.7;
}

.offline-class-fee strong {
    font-size: 32px;

    margin: 4px 0;
}

.offline-class-fee span {
    font-size: 14px;

    opacity: 0.8;
}

.offline-class-book-button {
    border: none;

    background: #fffaf6;

    color: #493939;

    padding: 14px 22px;

    border-radius: 10px;

    font-weight: 600;

    cursor: pointer;

    font-size: 15px;
}

.offline-class-book-button:hover {
    transform: translateY(-2px);
}


/* =====================================================
   OFFLINE CLASS MOBILE
===================================================== */

@media (max-width: 700px) {

    .offline-class-modal {
        padding: 10px;

        align-items: flex-start;
    }

    .offline-class-modal-box {
        max-height: 95vh;

        border-radius: 18px;
    }

    .offline-class-image {
        height: 220px;
    }

    .offline-class-content {
        padding: 30px 22px;
    }

    .offline-class-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .offline-class-fee {
        flex-direction: column;

        align-items: stretch;

        text-align: center;
    }

    .offline-class-book-button {
        width: 100%;
    }

}


/* =====================================================
   BEAUTIFUL CROCHET CLASS IMAGE
===================================================== */

.crochet-class-visual {
    position: relative;

    height: 330px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 30%,
            #fff 0,
            #fff 8%,
            transparent 9%
        ),
        linear-gradient(
            135deg,
            #f8e4dc,
            #fff8f3 45%,
            #efd4d0
        );

    display: flex;

    align-items: center;

    justify-content: center;
}

.crochet-class-visual::before {
    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    background: rgba(255,255,255,0.38);

    top: -130px;

    left: -80px;
}

.crochet-class-visual::after {
    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    background: rgba(255,255,255,0.30);

    right: -80px;

    bottom: -130px;
}

.crochet-art {
    position: absolute;

    inset: 0;
}

.yarn-ball {
    position: absolute;

    left: 13%;

    bottom: 55px;

    width: 125px;

    height: 125px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border-radius: 50%;

    font-size: 75px;

    box-shadow:
        0 18px 35px rgba(80, 50, 50, 0.15);

    transform: rotate(-8deg);

    z-index: 2;
}

.crochet-flower {
    position: absolute;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 90px;

    height: 90px;

    background: rgba(255,255,255,0.85);

    border-radius: 50%;

    font-size: 55px;

    box-shadow:
        0 12px 30px rgba(80, 50, 50, 0.12);
}

.flower-one {
    top: 45px;

    left: 32%;

    transform: rotate(-10deg);
}

.flower-two {
    right: 27%;

    top: 35px;

    transform: rotate(12deg);
}

.flower-three {
    right: 12%;

    bottom: 50px;

    transform: rotate(-8deg);
}

.crochet-heart {
    position: absolute;

    right: 38%;

    bottom: 45px;

    font-size: 90px;

    color: #c98282;

    text-shadow:
        0 10px 20px rgba(80, 50, 50, 0.15);

    transform: rotate(-8deg);
}

.crochet-hook {
    position: absolute;

    left: 30%;

    bottom: 28px;

    font-size: 65px;

    transform: rotate(-35deg);

    filter:
        drop-shadow(
            0 8px 8px rgba(80, 50, 50, 0.18)
        );

    z-index: 3;
}

.crochet-art-text {
    position: absolute;

    bottom: 24px;

    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    z-index: 5;

    background: rgba(255,255,255,0.82);

    backdrop-filter: blur(8px);

    padding: 12px 25px;

    border-radius: 50px;

    box-shadow:
        0 8px 25px rgba(80, 50, 50, 0.10);

    white-space: nowrap;
}

.crochet-art-text span {
    display: block;

    font-size: 10px;

    letter-spacing: 3px;

    color: #98706b;

    margin-bottom: 3px;
}

.crochet-art-text strong {
    display: block;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    color: #493939;
}

.crochet-art-text small {
    display: block;

    font-size: 11px;

    color: #806c6c;

    margin-top: 3px;
}

@media (max-width: 700px) {

    .crochet-class-visual {
        height: 230px;
    }

    .yarn-ball {
        width: 85px;

        height: 85px;

        font-size: 52px;

        left: 7%;

        bottom: 55px;
    }

    .crochet-flower {
        width: 62px;

        height: 62px;

        font-size: 38px;
    }

    .flower-one {
        left: 28%;

        top: 25px;
    }

    .flower-two {
        right: 24%;

        top: 22px;
    }

    .flower-three {
        right: 6%;

        bottom: 55px;
    }

    .crochet-heart {
        right: 37%;

        bottom: 38px;

        font-size: 65px;
    }

    .crochet-hook {
        left: 25%;

        bottom: 25px;

        font-size: 45px;
    }

    .crochet-art-text {
        bottom: 10px;

        padding: 8px 18px;
    }

    .crochet-art-text strong {
        font-size: 16px;
    }

}


/* =====================================================
   PRODUCT MODAL - NEW IMAGE GALLERY
===================================================== */

.new-product-gallery {
    width: 100%;
    margin-bottom: 20px;
}


/* MAIN IMAGE */

.new-main-image-box {
    width: 100%;
    height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 15px;

    overflow: hidden;

    margin-bottom: 15px;
}


.new-main-product-image {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    cursor: zoom-in;

    transition: transform 0.3s ease;
}


/* ZOOM */

.new-main-product-image.zoomed {
    transform: scale(2);

    cursor: zoom-out;
}


/* THUMBNAILS */

.new-product-thumbnails {

    width: 100%;

    display: flex;

    flex-direction: row;

    flex-wrap: nowrap;

    justify-content: center;

    align-items: center;

    gap: 10px;

    overflow-x: auto;

    overflow-y: hidden;

    padding: 5px 5px 12px;

    scrollbar-width: thin;
}


/* THUMBNAIL BUTTON */

.product-thumb-button {

    flex: 0 0 auto;

    width: 75px;
    height: 75px;

    padding: 0;

    border: 2px solid #ddd;

    border-radius: 10px;

    background: white;

    overflow: hidden;

    cursor: pointer;
}


/* THUMBNAIL IMAGE */

.product-thumb-image {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* HOVER */

.product-thumb-button:hover {

    border-color: #c58b8b;

    transform: translateY(-2px);
}


/* MOBILE */

@media (max-width: 600px) {

    .new-main-image-box {

        height: 320px;

    }

    .product-thumb-button {

        width: 65px;

        height: 65px;

    }

}

/* =====================================================
   PRODUCT MODAL - JAVASCRIPT GALLERY
===================================================== */

.product-gallery-new {
    width: 100%;
    margin-bottom: 20px;
}


/* MAIN PRODUCT IMAGE */

.product-main-image-new {
    width: 100%;
    height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 15px;

    margin-bottom: 15px;

    overflow: hidden;
}

.product-main-image-new img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    cursor: zoom-in;

    transition: transform 0.3s ease;
}

/* THUMBNAILS - HORIZONTAL RIGHT SCROLL */

.product-thumbnails-new {
    width: 100%;

    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    justify-content: flex-start;

    align-items: center;

    gap: 12px;

    overflow-x: auto !important;

    overflow-y: hidden !important;

    padding: 5px 5px 14px;

    scroll-behavior: smooth;

    scrollbar-width: auto;

    -webkit-overflow-scrolling: touch;
}


/* EACH THUMBNAIL */

.gallery-thumbnail {
    flex: 0 0 75px !important;

    width: 75px !important;

    min-width: 75px !important;

    height: 75px !important;

    padding: 0;

    margin: 0;

    border: 2px solid #e5d5cf;

    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

    overflow: hidden;
}


/* THUMBNAIL IMAGE */

.gallery-thumbnail img {
    width: 100% !important;

    height: 100% !important;

    object-fit: cover;

    display: block;
}


/* HOVER */

.gallery-thumbnail:hover {
    border-color: #b76e79;

    transform: translateY(-2px);
}


/* MOBILE */

@media (max-width: 600px) {

    .product-main-image-new {
        height: 320px;
    }

    .product-thumbnails-new {
        justify-content: flex-start;
    }

    .gallery-thumbnail {
        flex: 0 0 65px !important;

        width: 65px !important;

        min-width: 65px !important;

        height: 65px !important;
    }

}