/* ================================
   Perth Pebbles — main theme styles
   ================================ */

:root {
    --green-900: #0f3a2e;
    --green-800: #14523f;
    --green-700: #1a6a52;
    --green-600: #1f8160;
    --green-500: #2aa07a;
    --green-50:  #eaf6f0;

    --sand-50:  #faf7f2;
    --sand-100: #f3eee5;
    --sand-200: #e8e0d2;
    --sand-300: #d6cbb6;

    --ink-900: #0f1410;
    --ink-700: #2a3530;
    --ink-500: #5b6661;
    --ink-300: #94a09a;

    --accent: #e8b75c;

    --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --container: 1280px;
}

* { box-sizing: border-box; }

html, body {
    font-family: var(--sans);
    color: var(--ink-900);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

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

/* ===== Topbar ===== */
.topbar {
    background: var(--green-900);
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
}
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-item {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.85);
    transition: color .2s ease;
}
.topbar-item:hover { color: #fff; }
.topbar-item i { color: var(--green-500); font-size: 12px; }
.topbar-right { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }
.socials { display: flex; gap: 12px; }
.socials a {
    color: rgba(255,255,255,0.7);
    transition: color .2s ease;
    font-size: 13px;
}
.socials a:hover { color: var(--accent); }

/* ===== Header ===== */
.header {
    background: #fff;
    border-bottom: 1px solid var(--sand-200);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 14px rgba(31,129,96,0.25);
}
.brand-mark--logo { background: transparent; box-shadow: none; padding: 0; }
.brand-mark--logo img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { line-height: 1.1; }
.brand-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--ink-900);
}
.brand-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-500);
    font-weight: 500;
    margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-700);
    border-radius: var(--radius-sm);
    transition: all .2s ease;
    position: relative;
}
.nav a:hover { color: var(--green-700); background: var(--sand-100); }
.nav a.active,
.nav .current-menu-item > a {
    color: var(--green-700);
}
.nav a.active::after,
.nav .current-menu-item > a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--green-600);
    border-radius: 2px;
}

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

/* ===== Hamburger toggle + mobile drawer ===== */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 6px;
}
.nav-toggle:hover { background: var(--sand-100); }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform .3s ease, opacity .25s ease;
    transform-origin: center;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 49;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    visibility: hidden;
    overflow-y: auto;
    padding-top: 88px;
}
.nav-mobile.is-open {
    transform: translateX(0);
    visibility: visible;
}
.nav-mobile-inner {
    padding: 24px 24px 40px;
    max-width: 480px;
    margin: 0 auto;
}
.nav-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.nav-mobile-menu li {
    border-bottom: 1px solid var(--sand-200);
}
.nav-mobile-menu li:last-child { border-bottom: 0; }
.nav-mobile-menu a {
    display: block;
    padding: 18px 4px;
    color: var(--ink-900);
    font-size: 18px;
    font-weight: 600;
    font-family: var(--serif);
    letter-spacing: -0.01em;
    transition: color .2s ease, padding .2s ease;
}
.nav-mobile-menu a:hover { color: var(--green-700); padding-left: 12px; }
.nav-mobile-menu .current-menu-item > a {
    color: var(--green-700);
}
.nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--sand-200);
}
.nav-mobile-cta .btn {
    width: 100%;
    justify-content: center;
}

/* prevent body scroll when drawer open */
body.has-mobile-nav-open { overflow: hidden; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: all .25s ease;
    cursor: pointer;
    border: none;
    font-family: var(--sans);
    text-decoration: none;
    line-height: 1.2;
}
.btn-primary {
    background: var(--green-600);
    color: #fff;
    box-shadow: 0 4px 14px rgba(31,129,96,0.28);
}
.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(31,129,96,0.35);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: var(--ink-900);
    border: 1.5px solid var(--sand-300);
}
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-light {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); color:#fff; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--green-900);
    color: #fff;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(110deg, rgba(15,58,46,0.92) 0%, rgba(15,58,46,0.78) 38%, rgba(15,58,46,0.35) 70%, rgba(15,58,46,0.15) 100%),
      linear-gradient(180deg, rgba(15,58,46,0.25) 0%, rgba(15,58,46,0.55) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 96px 0 120px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    margin-bottom: 28px;
    max-width: 100%;
    line-height: 1.35;
}
.hero-eyebrow .dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--green-900);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px;
}
.hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(44px, 5.6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
    color: #fff;
}
.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    position: relative;
    white-space: nowrap;
}
.hero h1 em::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 6px;
    height: 8px;
    background: rgba(232,183,92,0.18);
    z-index: -1;
    border-radius: 4px;
}
.hero-lede {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin: 0 0 38px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-actions .btn-primary {
    background: var(--accent);
    color: var(--green-900);
    box-shadow: 0 6px 22px rgba(232,183,92,0.3);
    padding: 14px 26px;
}
.hero-actions .btn-primary:hover {
    background: #f0c573;
    box-shadow: 0 8px 28px rgba(232,183,92,0.45);
    color: var(--green-900);
}
.hero-actions .btn-light { padding: 14px 26px; }

.trust-row {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
}
.trust-stat { display: flex; flex-direction: column; gap: 2px; }
.trust-stat .num {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.trust-stat .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

.hero-card {
    position: relative;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-card-img {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--sand-200);
    margin-bottom: 18px;
    position: relative;
}
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255,255,255,0.95);
    color: var(--green-800);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 999px;
}
.hero-card h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.hero-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 16px;
    line-height: 1.55;
}
.hero-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-card-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.size-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
}
.hero-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}
.hero-card-link:hover { color: #f0c573; }

.floating-tag {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--green-600);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(31,129,96,0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.floating-tag i { font-size: 10px; }

/* ===== Feature strip ===== */
.feature-strip {
    background: #fff;
    border-bottom: 1px solid var(--sand-200);
}
.feature-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.feature {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-right: 1px solid var(--sand-200);
}
.feature:last-child { border-right: none; }
.feature-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.feature-text { line-height: 1.3; }
.feature-title {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink-900);
    margin-bottom: 2px;
}
.feature-sub { font-size: 13px; color: var(--ink-500); }

/* ===== Section primitives ===== */
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--green-700);
    margin-bottom: 18px;
}
.section-eyebrow .line { width: 28px; height: 1.5px; background: var(--green-600); }
.section-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--ink-900);
    margin: 0 0 20px;
}
.section-title em { font-style: italic; color: var(--green-700); font-weight: 400; }
.section-lede {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-500);
    max-width: 620px;
    margin: 0;
}
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head.center .section-eyebrow,
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.section-head.center .section-lede { display: block; }

/* ===== Values ===== */
.values { background: #fff; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.value-card:hover {
    background: #fff;
    border-color: var(--green-600);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15,58,46,0.08);
}
.value-num {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 56px;
    line-height: 1;
    color: var(--green-600);
    opacity: 0.25;
    margin-bottom: 18px;
}
.value-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--green-50);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
}
.value-card h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--ink-900);
    margin: 0 0 12px;
}
.value-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-500);
    margin: 0;
}

/* ===== Quote band ===== */
.quote-band {
    background: var(--green-900);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.quote-band::before {
    content: "\201C";
    position: absolute;
    top: -60px;
    left: 40px;
    font-family: var(--serif);
    font-size: 360px;
    line-height: 1;
    color: rgba(232,183,92,0.08);
    pointer-events: none;
}
.quote-content {
    position: relative;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}
.quote-text {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: #fff;
    margin: 0 0 28px;
}
.quote-text em { color: var(--accent); font-style: italic; }
.quote-attr {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.quote-attr .line { width: 32px; height: 1px; background: rgba(255,255,255,0.4); }

/* ===== Collection ===== */
.collection { background: var(--sand-50); }
.collection-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.collection-head .head-left { max-width: 620px; }
.collection-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-pill {
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sand-200);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-700);
    cursor: pointer;
    transition: all .2s ease;
    font-family: var(--sans);
}
.filter-pill:hover { border-color: var(--green-600); color: var(--green-700); }
.filter-pill.active {
    background: var(--green-900);
    color: #fff;
    border-color: var(--green-900);
}

.products {
    display: grid;
    grid-template-columns: repeat(var(--ppe-cols, 3), 1fr);
    gap: 28px;
}
.product {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--sand-200);
    transition: all .35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15,58,46,0.12);
    border-color: transparent;
}
.product-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: var(--sand-200);
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.product:hover .product-img img { transform: scale(1.06); }
.product-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255,255,255,0.96);
    color: var(--ink-900);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 12px;
    border-radius: 999px;
}
.product-tag.dark { background: var(--green-900); color: #fff; }
.product-tag.gold { background: var(--accent); color: var(--green-900); }
.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-cat {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-300);
    font-weight: 600;
    margin-bottom: 8px;
}
.product h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--ink-900);
    margin: 0 0 14px;
    line-height: 1.2;
}
.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.product-size {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--sand-100);
    color: var(--ink-700);
}
.product-foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--sand-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-500);
    font-weight: 500;
}
.product-stock .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 3px rgba(42,160,122,0.18);
}
.product-stock.out .pulse {
    background: #b94e3a;
    box-shadow: 0 0 0 3px rgba(185,78,58,0.18);
}
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid transparent;
    font-family: var(--sans);
    line-height: 1;
    transition: all .25s ease;
    white-space: nowrap;
    pointer-events: none; /* clicks pass through to the parent .product */
}
.product:hover .product-link,
.product:focus-visible .product-link {
    background: var(--green-600);
    color: #fff;
    box-shadow: 0 4px 12px rgba(31,129,96,0.25);
}
.product-link i,
.product-link svg { transition: transform .25s ease; }
.product:hover .product-link i,
.product:hover .product-link svg { transform: translateX(3px); }

/* Card is fully clickable — keyboard focus state */
.product:focus { outline: none; }
.product:focus-visible {
    outline: 3px solid var(--green-500);
    outline-offset: 3px;
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15,58,46,0.12);
}

.collection-cta { text-align: center; margin-top: 56px; }

/* ===== Contact ===== */
.contact {
    background: #fff;
    position: relative;
    overflow: hidden;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; }
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 36px 0 28px;
}
.info-card {
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-md);
    padding: 22px;
}
.info-card .info-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--green-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    margin-bottom: 14px;
}
.info-card .info-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-500);
    font-weight: 600;
    margin-bottom: 6px;
}
.info-card .info-value {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1.45;
}
.info-card a.info-value:hover { color: var(--green-700); }

/* Multi-line value (e.g. weekly hours) — slightly smaller + tighter */
.info-card .info-value--list {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--ink-700);
}
.info-card--hours { grid-column: 1 / -1; } /* hours spans full row so 7+ days don't stretch its neighbour */
.footer-hours { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.7; }

.contact-notice {
    background: linear-gradient(135deg, var(--sand-100), var(--sand-50));
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-notice i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-notice .notice-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink-900);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contact-notice p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.55;
    margin: 0;
}

.contact-address {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-500);
    margin-bottom: 28px;
}
.contact-address strong { color: var(--ink-900); font-weight: 600; }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--sand-200);
    background: var(--sand-100);
    min-height: 520px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.map-img {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1400&q=80') center/cover;
    position: relative;
    min-height: 320px;
}
.map-pin {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    background: var(--green-900);
    color: #fff;
    padding: 10px 14px 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    white-space: nowrap;
}
.map-pin::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: var(--green-900);
}
.map-pin i { color: var(--accent); }
.map-foot {
    background: #fff;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--sand-200);
}
.map-foot .foot-text { font-size: 13.5px; color: var(--ink-500); line-height: 1.5; }
.map-foot .foot-text strong { color: var(--ink-900); display: block; margin-bottom: 2px; }

/* ===== Footer ===== */
.footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.5); }
.footer-about {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin: 0 0 20px;
    max-width: 380px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: all .2s ease;
    font-size: 14px;
}
.footer-socials a:hover {
    background: var(--accent);
    color: var(--green-900);
    border-color: var(--accent);
}
.footer-col h4 {
    color: #fff;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-address { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; }
.footer-hours   { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== Single pebble + Pebble archive ===== */
.pp-single { padding: 56px 0 80px; }
.pp-single__crumbs {
    font-size: 13px;
    color: var(--ink-500);
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.pp-single__crumbs a { color: var(--ink-500); transition: color .2s ease; }
.pp-single__crumbs a:hover { color: var(--green-700); }
.pp-single__crumbs .sep { color: var(--ink-300); }
.pp-single__crumbs .current { color: var(--ink-900); font-weight: 600; }

.pp-single-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: start;
}

.pp-single__media { position: relative; }
.pp-single__main {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    padding: 0;
    margin: 0;
    background: var(--sand-200);
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    display: block;
    font: inherit;
}
.pp-single__main img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.pp-single__main:hover img { transform: scale(1.03); }
.pp-single__main .product-tag { z-index: 2; }
.pp-single__zoom {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}
.pp-single__main:hover .pp-single__zoom { background: rgba(0,0,0,0.85); }

.pp-single__thumbs {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.pp-single__thumb {
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: var(--sand-100);
    padding: 0;
    cursor: pointer;
    transition: all .2s ease;
}
.pp-single__thumb:hover { border-color: var(--green-500); }
.pp-single__thumb.is-active { border-color: var(--green-600); box-shadow: 0 4px 12px rgba(31,129,96,0.25); }
.pp-single__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pp-single__cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.pp-single__cats a {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--green-700);
    background: var(--green-50);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    transition: all .2s ease;
}
.pp-single__cats a:hover {
    background: var(--green-600);
    color: #fff;
}

.pp-single__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--ink-900);
    margin: 8px 0 18px;
}

.pp-single__stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-700);
    background: var(--green-50);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.pp-single__stock.out { background: #fdecec; color: #b94e3a; }
.pp-single__stock .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 3px rgba(42,160,122,0.18);
}
.pp-single__stock.out .pulse { background: #b94e3a; box-shadow: 0 0 0 3px rgba(185,78,58,0.18); }

.pp-single__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-500);
    margin-bottom: 28px;
}
.pp-single__desc p { margin: 0 0 14px; }
.pp-single__desc p:last-child { margin: 0; }

.pp-single__sizes-block {
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 28px;
}
.pp-single__sizes-block h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 17px;
    margin: 0 0 14px;
    color: var(--ink-900);
}

.pp-single__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .pp-single-grid { grid-template-columns: 1fr; gap: 32px; }
    .pp-single { padding: 40px 0 64px; }
}
@media (max-width: 640px) {
    .pp-single__thumbs { grid-template-columns: repeat(4, 1fr); }
    .pp-single__cta .btn { width: 100%; justify-content: center; }
}

/* ===== Responsive ===== */
html, body { overflow-x: hidden; max-width: 100%; }

/* Hard cap any major section so nothing escapes the viewport.
   Combined with min-width: 0 on grid/flex children below, this fixes
   the "hero / map / grid overflow on mobile" class of bugs. */
.hero, .feature-strip, .section, .quote-band, .footer, .collection,
.values, .contact, .ppe-cgallery-section { max-width: 100%; }

.hero-inner, .hero-card, .hero-card-img, .hero-card-img img,
.contact-grid, .contact-info, .contact-form-col, .contact-map,
.contact-map-wide { max-width: 100%; }

/* Force iframes to fill — Google Maps embed has no inherent width */
.contact-map iframe,
.contact-map-wide iframe,
.contact-map-wide .map-img {
    width: 100% !important;
    max-width: 100% !important;
}

/* Let grid/flex children shrink below their intrinsic content width
   (default min-width: auto otherwise pushes the parent wider) */
.hero-inner > *, .values-grid > *, .products > *, .contact-grid > *,
.feature-strip .container > *, .footer-grid > *, .ppe-cgrid > * {
    min-width: 0;
}

@media (max-width: 1024px) {
    .hero { min-height: 0; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 80px; }
    .nav, .topbar-right .socials, .topbar-right .topbar-divider { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-cta .btn-ghost { display: none; } /* desktop "Get a quote" hides; mobile drawer has its own */
    .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(2) { border-right: none; }
    .feature:nth-child(1), .feature:nth-child(2) { border-bottom: 1px solid var(--sand-200); }
    .section { padding: 80px 0; }
    .values-grid { grid-template-columns: 1fr; }
    .products { grid-template-columns: repeat(min(var(--ppe-cols, 3), 2), 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .collection-head { flex-direction: column; align-items: flex-start; }
    .pp-single-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .header .container { height: 72px; }
    .brand-mark { width: 40px; height: 40px; font-size: 18px; }
    .brand-name { font-size: 18px; }
    .brand-tag { font-size: 10px; }
    .header-cta .btn-ghost { display: none; }
    .topbar-left .topbar-item:nth-child(2) { display: none; }
    .hero { min-height: 0; }
    .hero-inner { padding: 48px 0 64px; gap: 36px; }
    .hero h1 { font-size: clamp(32px, 9vw, 46px); }
    .hero h1 em { white-space: normal; } /* allow italic phrase to wrap */
    .hero-eyebrow {
        display: flex;
        flex-wrap: nowrap;
        font-size: 11.5px;
        padding: 6px 12px 6px 6px;
    }
    .hero-eyebrow > span:not(.dot) { white-space: normal; }
    .hero-card { padding: 18px; max-width: 100%; }
    .hero-card-img { height: 220px; max-width: 100%; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 100%; }
    .hero-actions .btn { width: 100%; max-width: 100%; justify-content: center; box-sizing: border-box; }
    .feature-strip .container { grid-template-columns: 1fr; }
    .feature { border-right: none; border-bottom: 1px solid var(--sand-200); }
    .feature:last-child { border-bottom: none; }
    .trust-row { gap: 16px; }
    .trust-divider { display: none; }
    .trust-stat .num { font-size: 24px; }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 32px; }
    .products { grid-template-columns: 1fr; }
    .product { max-width: 100%; }
    .info-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
    .map-foot { flex-direction: column; align-items: flex-start; }
    .quote-band::before { font-size: 220px; top: -30px; }
    .collection-filters { gap: 6px; }
    .filter-pill { padding: 8px 14px; font-size: 12.5px; }
}
