/* ==========================================================================
   pages.css  —  About · Shipping · Contact
   Builds on Bootstrap 3 (Oscar's default) + oscar-custom.css variables
   ========================================================================== */

/* --------------------------------------------------------------------------
   SHARED: PAGE HERO
   -------------------------------------------------------------------------- */
.pg-hero {
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
}
.pg-hero--purple { background: var(--purple); }
.pg-hero--blue   { background: var(--blue-dark); }
.pg-hero--dark   { background: var(--purple-dark); }

/* Subtle diagonal texture */
.pg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 25%, transparent 25%) -10px 0,
                linear-gradient(225deg, rgba(255,255,255,0.04) 25%, transparent 25%) -10px 0;
    background-size: 20px 20px;
    pointer-events: none;
}

.pg-hero__eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin: 0 0 12px;
}
.pg-hero__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 400;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.pg-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    margin: 0;
    max-width: 500px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .pg-hero            { padding: 50px 0 42px; }
    .pg-hero__title     { font-size: 32px; }
    .pg-hero__sub       { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   SHARED: BREADCRUMB
   -------------------------------------------------------------------------- */
.pg-breadcrumb {
    background: transparent;
    padding: 12px 0 0;
    margin-bottom: 0;
    font-size: 13px;
}
.pg-breadcrumb li a      { color: var(--purple-mid); }
.pg-breadcrumb li.active { color: var(--text-faint); }
.pg-breadcrumb > li + li::before { color: var(--border-strong); }

/* --------------------------------------------------------------------------
   SHARED: SECTION & TYPOGRAPHY
   -------------------------------------------------------------------------- */
.pg-section {
    padding: 64px 0;
}
.pg-section--tinted {
    background: var(--purple-tint);
    border-top: 1px solid var(--purple-light);
    border-bottom: 1px solid var(--purple-light);
}

.pg-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--purple-mid);
    margin: 0 0 12px;
}
.pg-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 400;
    color: var(--purple-dark);
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.pg-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
}
.pg-lead {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pg-section { padding: 44px 0; }
}

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

/* Story layout */
.pg-story {
    align-items: center;
}
.pg-story__img-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: var(--purple-tint);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pg-story__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Placeholder shown when no image is set */
.pg-story__img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--purple-tint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}

@media (max-width: 768px) {
    .pg-story .col-md-6 + .col-md-6 { margin-top: 28px; }
}

/* Value cards */
.pg-values {
    margin-top: 40px;
}
.pg-value-card {
    text-align: center;
    padding: 32px 22px 28px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    margin-bottom: 24px;
    transition: box-shadow 0.2s, transform 0.2s;
    height: calc(100% - 24px);
}
.pg-value-card:hover {
    box-shadow: 0 6px 28px rgba(62,3,171,0.10);
    transform: translateY(-3px);
}
.pg-value-card__icon {
    font-size: 30px;
    width: 62px;
    height: 62px;
    background: var(--purple-tint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.pg-value-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--purple-dark);
    margin: 0 0 10px;
}
.pg-value-card__body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   SHIPPING PAGE
   ========================================================================== */

/* Quick stats */
.pg-stats {
    display: flex;
    flex-wrap: wrap;
}
.pg-stat {
    text-align: center;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.pg-stat__icon  { font-size: 28px; }
.pg-stat__value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--purple-dark);
    line-height: 1;
}
.pg-stat__label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Sticky sidebar TOC */
.pg-toc {
    position: sticky;
    top: 76px;
    border-radius: 10px !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
}
.pg-toc .panel-heading {
    background: var(--purple-tint) !important;
    color: var(--purple-dark) !important;
    border-bottom: 1px solid var(--purple-light) !important;
    border-radius: 10px 10px 0 0 !important;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 16px !important;
}
.pg-toc .list-group-item {
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    font-size: 13px;
    padding: 10px 16px !important;
    background: transparent !important;
}
.pg-toc .list-group-item:last-child {
    border-bottom: none !important;
    border-radius: 0 0 10px 10px !important;
}
.pg-toc .list-group-item a {
    color: var(--text-muted);
    text-decoration: none;
}
.pg-toc .list-group-item a:hover { color: var(--purple); }

/* Policy sections */
.pg-policy-section {
    margin-bottom: 8px;
    scroll-margin-top: 84px;
}
.pg-policy-section__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--purple-dark);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.2;
}
.pg-policy-section__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.pg-policy-section__body {
    padding-left: 48px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.85;
}
.pg-policy-section__body p { margin-bottom: 14px; }

.pg-table thead th {
    background: var(--purple-tint);
    color: var(--purple-dark);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--purple-light) !important;
}
.pg-table td { font-size: 14px; color: var(--text-muted); }

.pg-alert {
    border-left: 3px solid var(--blue);
    border-radius: 0 8px 8px 0;
    background: var(--blue-tint);
    color: var(--blue-dark);
    border-top: none;
    border-right: none;
    border-bottom: none;
    font-size: 14px;
}

.pg-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 36px 0;
}
.pg-updated {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .pg-policy-section__body { padding-left: 0; }
    .pg-policy-section__heading { font-size: 22px; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.pg-contact-cards {
    margin-bottom: 48px;
}

.pg-contact-card {
    text-align: center;
    padding: 40px 24px 36px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    margin-bottom: 24px;
    transition: box-shadow 0.22s, transform 0.22s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100% - 24px);
}
.pg-contact-card:hover {
    box-shadow: 0 8px 36px rgba(62,3,171,0.11);
    transform: translateY(-4px);
}

.pg-contact-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    flex-shrink: 0;
}
.pg-contact-card__icon--email     { background: var(--purple-tint); color: var(--purple); }
.pg-contact-card__icon--facebook  { background: #e7f0fd;            color: #1877f2; }
.pg-contact-card__icon--instagram {
    background: linear-gradient(135deg, #fdf0e7 0%, #fce4f3 100%);
    color: #c13584;
}

.pg-contact-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--purple-dark);
    margin: 0 0 10px;
}
.pg-contact-card__desc {
    font-size: 14px;
    color: var(--text-faint);
    line-height: 1.65;
    margin: 0 0 24px;
    flex: 1;
}
.pg-contact-card__btn {
    display: inline-block;
    min-width: 160px;
    word-break: break-all;
    border-radius: 4px !important;
    font-weight: 500;
}

/* Social button colours */
.pg-btn--facebook {
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important;
}
.pg-btn--facebook:hover {
    background-color: #145dbf !important;
    border-color: #145dbf !important;
    color: #fff !important;
}
.pg-btn--instagram {
    background: linear-gradient(90deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important;
    border-color: transparent !important;
    color: #fff !important;
}
.pg-btn--instagram:hover { opacity: 0.88; }

/* Hours panel */
.pg-hours {
    border-radius: 10px !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
}
.pg-hours .panel-heading {
    background: var(--purple-tint) !important;
    color: var(--purple-dark) !important;
    border-bottom: 1px solid var(--purple-light) !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 12px 20px !important;
}
.pg-hours .panel-body {
    padding: 24px 28px !important;
    font-size: 14px;
    color: var(--text-muted);
}
.pg-hours__row { margin-bottom: 14px; line-height: 1.6; }
.pg-hours__row--last { margin-bottom: 16px; }
.pg-hours__note { margin: 0; }

@media (max-width: 576px) {
    .pg-contact-card        { padding: 32px 18px 28px; }
    .pg-contact-card__btn   { width: 100%; }
}