* {
    font-family: 'Arial', sans-serif;
}

.homemade-apple-regular {
  font-family: "Homemade Apple", cursive;
  font-weight: 400;
  font-style: normal;
}

.shadows-into-light-regular {
  font-family: "Shadows Into Light", cursive;
  font-weight: 400;
  font-style: normal;
}


/* Visually calm page intro used as the real H1 (not display:none). */
.page-intro {
    max-width: 720px;
    margin: 18px auto 8px;
    padding: 0 16px;
    text-align: center;
    color: var(--brown);
}
.page-intro__title {
    font-family: "Homemade Apple", cursive;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.35;
}
.page-intro__body {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--green);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 1000;
    background: var(--brown);
    color: var(--light-pink);
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}
.skip-link:focus {
    top: 12px;
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

:root {
    --pink: #F4B2AD;
    --brown: #4E2829;
    --light-pink: #F4DFDA;
    --light-green: #9AB59A;
    --green: #4B686E;
}

header {
  position: relative;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: var(--pink);
    position: relative;
    z-index: 20;
}

.nav-logo {
    width: 60px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--brown);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cart a {
    display: inline-flex;
    align-items: center;
}

.nav-cart img {
    width: 28px;
    height: 28px;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--brown);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section-divider {
    border: none;
    height: 25px;
    background: repeating-linear-gradient(
        90deg,
        var(--brown),
        var(--brown) 8px,
        var(--pink) 8px,
        var(--pink) 16px
  );
}



.hero-container {
    position: relative;
    min-height: 650px;
    /* Compressed photographic hero plane (replaces multi‑MB SVG background). */
    background:
      linear-gradient(120deg, rgba(78, 40, 41, 0.55), rgba(244, 178, 173, 0.35)),
      url("./assets/sunny-mirror.jpg") center center / cover no-repeat;
    overflow: hidden;
    padding-bottom: 40px;
}

.hero-logo {
    width: min(550px, 80vw);
    height: auto;
}

.hero-top {
    padding-top: 70px;
    padding-left: 60px;
}

.hero-strip {
    position: absolute;
    right: 80px;
    top: 70px;
    display: flex;
    flex-direction: column;
    transform: rotate(-8deg);
}

.hero-strip img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border: 12px solid var(--light-pink);
    display: block;
}

.hero-bottom {
    position: absolute;
    left: calc(60px + min(550px, 80vw) / 2);
    bottom: 40px;
    display: flex;
    gap: 20px;
    transform: translateX(-50%);
}

@media (max-width: 900px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: center;
        background-color: var(--pink);
        padding: 18px 0;
        gap: 18px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-actions {
        gap: 14px;
    }
}

@media (max-width: 950px) {
    .hero-container {
        min-height: auto;
        padding: 40px 20px 30px;
    }

    .hero-top {
        padding: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .hero-logo {
        width: min(420px, 90vw);
    }

    .hero-strip {
        position: static;
        transform: rotate(-8deg);
        margin: 0 auto 30px;
        align-items: center;
        max-width: 80vw;
    }

    .hero-strip img {
        width: min(220px, 70vw);
        height: auto;
        max-height: 210px;
        border-width: 12px;
    }

    .hero-strip img:first-child {
        border-bottom: 12px solid var(--light-pink);
    }

    .hero-bottom {
        position: static;
        justify-content: center;
        margin: 20px auto 0;
        width: fit-content;
    }
}

/* IMAGES */



/* BEST SELLERS */

.best-sellers {
    display: block;
    padding: 50px 0;
    background-color: var(--pink);
}

.best-sellers h2 {
    text-align: center;
    color: var(--brown);
    font-size: 2.5em;
    margin-bottom: 30px;
}

.best-sellers .product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.best-sellers .product-card {
    width: 200px;
    margin: 30px;
    text-align: left;
}

.best-sellers .product-card img {
    width: 233px;
    height: 292px;
    object-fit: cover;
}

.best-sellers .product-card h3 {
    color: var(--brown);
    font-weight: bold;
    margin: 3px;
}

.best-sellers .product-card p{
    color: var(--brown);
    margin: 3px;
}

a {
    text-decoration: none;
}

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

.shop-all-button {
    padding: 10px 40px;
    background-color: var(--brown);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bolder;
}

.shop-all-button a {
    color: var(--pink);
    font-size: larger;
}

.shop-all-button:hover {
    background-color: var(--light-pink);
    border: #4E2829 solid 1px;
}

.shop-all-button a:hover {
    color: var(--brown);
}

.welcome {
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
    background-color: var(--brown);
    padding: 40px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.welcome img {
    width: 350px;
    height: 438px;
    object-fit: cover;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    max-width: 550px;
}

.welcome h2 {
    color: var(--pink);
    font-size: 2.5em;
    margin: 0;
    text-align: center;
}

.welcome p {
    color: var(--light-pink);
}

.welcome-first-img img {
    margin-left: -60px;
    width: 450px;
    height: auto;
}

.welcome-second-img {
    display: flex;
    align-items: end;
    margin-bottom: -40px;
}

.welcome-second-img img {
    width: 350px;
    height: 438px;
    object-fit: cover;
}


@media (max-width: 1050px) {
    .welcome {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .welcome img {
        width: 280px;
        height: 350px;
    }

    .welcome-first-img {
        position: relative;
        margin-top: 0;
    }

    .welcome-content {
        text-align: center;
        max-width: 500px;
    }

    .welcome-second-img {
        margin-bottom: 0;
        align-items: center;
    }
}

.banner img {
    width: 100%;
    object-fit: cover;
}

.events {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    gap: 30px;
    background-color: var(--light-green);
    padding: 40px 0;
    margin-top: -10px;
    text-align: center;
    color: var(--brown);
}

.events h2 {
    text-align: center;
    color: var(--brown);
    font-size: 2.5em;
    margin-bottom: 30px;
}

.event-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.event-card {
    display: flex;
    gap: 20px;
    margin-left: 200px;
}


.banner-divider {
    background-color: var(--light-green);
}

.event-section-divider {
    margin-top: -10px;
    border: none;
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        var(--brown),
        var(--brown) 8px,
        var(--light-green) 8px,
        var(--light-green) 16px
  );
}

footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    background-color: var(--pink);
    padding: 20px 0;
    color: var(--brown);
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-links img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

/* SHOP ALL */

.shop {
    display: block;
    padding: 20px 0;
    background-color: var(--brown);
}


.shop h2 {
    text-align: center;
    color: var(--pink);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.shop .product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.shop .product-card {
    width: 200px;
    margin: 30px;
    text-align: left;
}

.shop .product-card img {
    width: 233px;
    height: 292px;
    object-fit: cover;
}

.shop .product-card h3 {
    color: var(--pink);
    font-weight: bold;
    margin: 3px;
}

.shop .product-card p{
    color: var(--light-pink);
    margin: 3px;
}

.shop-all-page {
    display: flex;
    margin: 0;
}

.side-bar {
    width: 250px;
    background-color: var(--light-green);
    padding: 20px;
}

.side-bar h2 {
    color: var(--brown);
    font-size: 1.5em;
    margin-bottom: 20px;
}

.side-bar ul {
    list-style: none;
    padding: 0;
}

.side-bar ul li {
    margin: 10px;
}

.side-bar ul li a {
    color: var(--brown);
    text-decoration: none;
    padding: 5px 20px;
    width: auto;
    display: block;
}

.side-bar ul li a:hover {
    background-color: var(--pink);
    border-radius: 5px;
    border: var(--green) solid 1px;
}

/* welcome */
@media (max-width: 768px) {
  .welcome {
    flex-direction: column;
  }
}

/* events */
@media (max-width: 768px) {
  .event-card {
    margin-left: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}

/* mobile-friendly shop layout */
@media (max-width: 768px) {
  .shop-all-page {
    flex-direction: column;
  }

  .side-bar {
    width: 100%;
    order: -1;
  }

  .shop {
    width: 100%;
  }

  .shop .product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .shop .product-card {
    flex: 0 1 calc(50% - 16px);
    width: calc(50% - 16px);
    margin: 8px 0;
    padding: 10px;
  }

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

  .best-sellers .product-grid {
    justify-content: space-between;
  }

  .best-sellers .product-card {
    flex: 0 1 calc(50% - 16px);
    width: calc(50% - 16px);
    margin: 8px 0;
    padding: 10px;
  }

  .best-sellers .product-card img {
    width: 100%;
    height: auto;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

.welcome-eyebrow {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: var(--brown);
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: 0.2s ease;
}

.btn.primary {
    background: var(--pink);
    color: var(--brown);
}

.btn.primary:hover {
    background: var(--light-pink);
}

.btn.secondary {
    background: var(--brown);
    color: var(--pink);
}

.btn.secondary:hover {
    background: var(--light-pink);
    color: var(--brown);
}

