/* ============================================================
   FIND YOUR BUZZ — Main Stylesheet
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;700&display=swap');

/* ── CSS Variables (matched to Shopify theme) ── */
:root {
    --color-bg:              #ffffff;
    --color-text:            #291612;
    --color-heading:         #291612;
    --color-accent:          #73573b;
    --color-secondary-text:  rgba(41, 22, 18, 0.62);
    --color-btn-bg:          rgba(41, 22, 18, 0.08);
    --color-btn-hover:       rgba(41, 22, 18, 0.14);
    --color-border:          rgba(41, 22, 18, 0.15);
    --color-panel-border:    #e5e5e5;
    --color-panel-shadow:    rgba(0, 0, 0, 0.12);

    --font-family:           'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-family-heading:   'Outfit', 'Helvetica Neue', Arial, sans-serif;
    --font-weight-body:      400;
    --font-weight-bold:      500;
    --font-weight-heading:   500;

    /* Shopify scale: base-body-size=16, base-headings-size=80 */
    --font-size-body:        16px;
    --font-size-h1:          42px;  /* ~77px desktop */
    --font-size-h1-mobile:   calc(34px / 60 * 80px);  /* ~45px <1024px  */
    --font-size-h2:          calc(42px / 60 * 80px);  /* ~56px desktop  */
    --font-size-h2-mobile:   calc(28px / 60 * 80px);  /* ~37px <1024px  */
    --line-height-body:      1.4;
    --line-height-heading:   1;
    --letter-spacing-body:   0em;
    --letter-spacing-heading: -0.02em;

    --container-max-width:   1680px;
    --gutter-container:      40px;

    --header-height-desktop: 70px;
    --header-height-mobile:  52px;
    --header-vertical-space: 20px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

button {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    border: none;
    background: none;
}

strong {
    font-weight: var(--font-weight-bold);
}

p {
    margin-bottom: 1rem;
}

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

.site-header {
    position: relative;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* height: var(--header-height-desktop); */
    padding-left: 0;
    padding-right: 0;
    padding-top: var(--header-vertical-space);
    padding-bottom: var(--header-vertical-space);
    max-width: 100%;
    /* margin: 0 auto; */
    width: 100%;
}

/* Left: Account Support button */
/* .btn-account-support {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: var(--color-btn-bg);
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    white-space: nowrap;
    transition: background-color 0.15s ease;
    text-decoration: none;
} */

/* .btn-account-support:hover {
    background-color: var(--color-btn-hover);
    text-decoration: none;
} */

.btn-account-support img {
    width: 16px;
    height: 16px;
}

/* Center: Logo */
.header-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
}

/* Right: Contact wrapper — position:relative anchors the dropdown panel */
.header-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-contact-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-family: var(--font-family);
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.header-contact-trigger:hover {
    /* background-color: var(--color-btn-bg); */
}

.store-info-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.store-status {
    font-size: 12px;
    color: #291612;
    font-weight: var(--font-weight-body);
    line-height: 1.3;
}

.store-phone {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: 1.3;
}

.icon-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.icon-back-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: none;
}

.header-contact-trigger.is-active .icon-chevron {
    transform: rotate(180deg);
}

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

.contact-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    background-color: var(--color-bg);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

/* Desktop/tablet: open on hover (CSS) */
.header-right:hover .contact-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* Also open via JS click (.is-open) */
.contact-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.contact-panel-inner {
    padding: 24px;
}

.contact-group {
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-panel-border);
}

.contact-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Category heading (e.g. "Online Store Consultants") */
.contact-category {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-heading);
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: normal;
}

/* Phone number rows */
.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 10px;
    text-decoration: none;
    line-height: 1rem;
}

.contact-row:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-row img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-hours {
    font-size: 14px;
    color: #666;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* WhatsApp row */
.contact-whatsapp-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: #111;
    text-decoration: none;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

.contact-whatsapp-row strong {
    display: block;
}

.contact-whatsapp-row:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-whatsapp-row img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-phone-plain {
    font-size: 14px;
    color: #666;
    display: block;
    margin-top: 4px;
}

/* Email / Address rows */
.header-phone-number__item {
    display: flex;
    flex-direction: column;
}

.header-phone-number__text {
    margin-bottom: 15px;
}

.header-phone-number__text:last-child {
    margin-bottom: 0;
}

.header-phone-number__heading {
    font-size: 12px;
    font-weight: var(--font-weight-body);
    color: var(--color-secondary-text);
    margin-bottom: 5px;
    line-height: 1;
}

.header-phone-number__body {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 0;
}

.header-phone-number__body a {
    color: var(--color-text);
}

.header-phone-number__body a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

.page-content {
    flex: 1;
    padding: 48px 0 64px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--gutter-container);
}

/* Page title H1 */
.page-title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-heading);
    color: var(--color-heading);
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-heading);
    margin-bottom: 1rem;
}

/* Section headings H2 */
.page-content h2,
.section-heading {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-heading);
    color: var(--color-heading);
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-heading);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Paragraphs */
.page-content p {
    font-size: var(--font-size-body);
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.page-content p:last-child {
    margin-bottom: 0;
}

/* Em-dash list */
.page-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.page-content ul li {
    font-size: var(--font-size-body);
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.page-content ul li::before {
    content: '– ';
    position: absolute;
    left: 0;
}

.address-block {
    margin-top: 32px;
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--color-text);
}

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

.site-footer {
    background-color: var(--color-bg);
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-skyline {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   Custom Header Classes
   ============================================================ */

.button {
    border-width: 1px;
    color: #291612;
    text-align: center;
    border-style: solid;
    border-radius: 30px;
    transition: all .1s linear;
    letter-spacing: 0.0em;
    cursor: pointer;
    text-decoration: none !important;
}

.button--icon {
    padding-inline-start: 1.25rem;
}

.button--outline {
    background-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions>a.button {
    padding-right: 1.25rem;
}

.header-actions>.button {
    font-size: 18px;
    font-weight: 500;
    height: 3.125rem;
    line-height: 1;
}

.button--icon {
    align-items: center;
    display: inline-flex;
    position: relative;
}

.button--icon svg {
    width: 22px;
    height: 100%;
}

.button--icon:hover svg {
    fill: #fff;
}

.button:not(.button--outline-hover):hover {
    background-color: #73573b;
    border-color: #73573b;
    color: #fff;
}

.header-info-block__image {
    font-size: 0;
    text-align: end;
    margin-inline-end: .9375rem;
}

.header-info-block__image svg {
    width: 2.375rem;
    height: 2.375rem;
}

.mobile-back-arrow {
    display: none;
}

@media screen and (min-width: 1024px) {
    .header-actions:not(:empty) {
        display: grid;
        grid-template-columns: 1fr auto auto;
        justify-items: end;
    }
}

/* ============================================================
   TABLET (768px – 1023px)
   ============================================================ */

@media (max-width: 1023px) {
    :root {
        --gutter-container: 30px;
    }

    .btn-account-support {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
        padding: 20px 0;
    }

    .header-logo-link {
        order: -1;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 1rem;
    }

    .page-content h2,
    .section-heading {
        font-size: var(--font-size-h2-mobile);
        margin-top: 1.5rem;
    }

    .page-content {
        padding: 36px 0 48px;
    }

    .mobile-back-arrow {
        display: block;
    }
}

/* ============================================================
   MOBILE (< 768px)
   ============================================================ */

@media (max-width: 767px) {
    :root {
        --gutter-container: 20px;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    /* .header-inner {
        height: var(--header-height-mobile);
        padding: 0 14px;
        gap: 8px;
    } */

    /* .logo-img {
        width: 34px;
        height: 34px;
    } */

    .store-info-wrap {
        align-items: flex-start;
        flex-grow: 1;
    }

    .store-status {
        font-size: 11px;
    }

    .store-phone {
        font-size: 13px;
    }

    .icon-chevron {
        display: none;
    }

    .icon-back-arrow {
        display: inline-block;
    }

    .header-right {
        flex-grow: 1;
    }

    .header-contact-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 6px 4px;
    }

    /* Disable CSS hover on mobile */
    .header-right:hover .contact-panel {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }

    /* Mobile panel: fixed full-width below the sticky header */
    .contact-panel {
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        transform: none;
        max-height: calc(100vh - var(--header-height-mobile));
        overflow-y: auto;
    }

    .contact-panel.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .page-content {
        padding: 28px 0 40px;
    }

    .page-content p {
        margin-bottom: 0.875rem;
    }

    .page-content ul li {
        margin-bottom: 5px;
    }
}

/* ============================================================
   SMALL MOBILE (< 480px)
   ============================================================ */

@media (max-width: 479px) {
    /* .header-inner {
        padding: 0 10px;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    } */

    .store-status {
        font-size: 10.5px;
    }

    .store-phone {
        font-size: 12.5px;
    }

    .page-content {
        padding: 24px 0 32px;
    }
}

/* ============================================================
   404 PAGE
   ============================================================ */

.page-404 .container {
    text-align: center;
    padding-top: 48px;
    padding-bottom: 48px;
}

.error-code {
    font-size: 140px;
    line-height: 1;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.error-subtitle {
    font-family: var(--font-family-heading);
    font-size: 28px;
    font-weight: var(--font-weight-heading);
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 100px;
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    margin-top: 1.5rem;
    transition: background-color 0.15s ease;
}

.btn-back-home:hover {
    background-color: #5c4430;
    text-decoration: none;
}

@media (max-width: 1023px) {
    .error-code {
        font-size: 90px;
    }

    .error-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .error-code {
        font-size: 70px;
    }

    .error-subtitle {
        font-size: 18px;
    }
}

/* ============================================================
   LARGE DESKTOP (≥ 1280px)
   ============================================================ */

/* @media (min-width: 1280px) {
    .header-inner {
        padding: 0 48px;
    }
} */

