/* ==========================================================================
   Twisted Sisters Cupcakes theme — site styles
   Bootstrap colors, fonts and the dark color mode come from
   css/skins/default.css, compiled from css/presets/default. This file holds
   the site's own layout and components. Restyle a build by changing the
   variables below first.
   ========================================================================== */

/* Set on the wrapper, not :root: the color mode (data-bs-theme) is on the
   wrapper, and variables resolve where they're defined. */
.theme-twistedsisters {
    --twistedsisters-header-height: 72px;
    --twistedsisters-header-bg: var(--bs-body-bg);
    --twistedsisters-header-color: var(--bs-body-color);
    --twistedsisters-header-border: var(--bs-border-color-translucent);
    /* Small text in the brand color uses the link color, which the style guide
       checks for contrast; the raw primary may be too light for text. */
    --twistedsisters-nav-active: var(--bs-link-color);
    --twistedsisters-hello-bg: var(--bs-primary);
    --twistedsisters-hello-color: #fff;
    --twistedsisters-footer-bg: var(--bs-dark-accent, #0f172a);
    --twistedsisters-footer-color: #cbd5e1;
    --twistedsisters-footer-link: #fff;
    --twistedsisters-footer-legal-bg: rgba(0, 0, 0, 0.25);
    --twistedsisters-panel-bg: var(--bs-tertiary-bg);
    --twistedsisters-radius: 0.75rem;
    --twistedsisters-section-y: 4rem;
    --twistedsisters-hero-y: 5rem;
}

/* Bootstrap applies text and background colors on <body>, which sits
   outside the wrapper. Apply them again here so the color mode takes effect. */
.theme-twistedsisters {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
}

/* Fills the area outside the wrapper (overscroll, short pages). */
body.twistedsisters-body--dark {
    background-color: #0b1120;
}

/* Links inside running text are underlined, so they don't rely on color
   alone (WCAG 1.4.1). Navigation, buttons and standalone links stay plain. */
.theme-twistedsisters :is(main, footer) :is(p, li, td, dd, blockquote, figcaption) a:not(.btn) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* ---- Editor styles (page_theme.php getThemeEditorClasses) ---- */

.twistedsisters-display {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
}

.twistedsisters-section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.twistedsisters-section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--bs-primary);
}

.text-center .twistedsisters-section-heading::after,
.twistedsisters-section-heading.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.twistedsisters-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bs-link-color);
}

/* Outline buttons: text in the link color (contrast-checked), not the raw primary. */
.theme-twistedsisters .btn-outline-primary {
    --bs-btn-color: var(--bs-link-color);
}

.twistedsisters-panel {
    background: var(--twistedsisters-panel-bg);
    border-radius: var(--twistedsisters-radius);
    box-shadow: var(--twistedsisters-panel-shadow, none);
    padding: 2rem;
}

/* Dark mode: the primary color is too dark for text on a dark page. */
.theme-twistedsisters[data-bs-theme="dark"] .twistedsisters-eyebrow,
.theme-twistedsisters[data-bs-theme="dark"] .twistedsisters-header__menu .nav-link.active {
    color: var(--bs-primary-text-emphasis);
}

.theme-twistedsisters[data-bs-theme="dark"] .btn-outline-primary {
    --bs-btn-color: var(--bs-primary-text-emphasis);
    --bs-btn-border-color: var(--bs-primary-text-emphasis);
}

/* ---- Skip link ---- */

.twistedsisters-skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1100;
    padding: 0.5rem 1rem;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

/* ---- Header ---- */

.twistedsisters-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--twistedsisters-header-height);
    background: var(--twistedsisters-header-bg);
    color: var(--twistedsisters-header-color);
    border-bottom: 1px solid var(--twistedsisters-header-border);
    padding: 0.5rem 0;
    transition: box-shadow 0.2s ease;
}

.twistedsisters-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.twistedsisters-header__brand {
    margin: 0;
    padding: 0;
}

.twistedsisters-header__brand img {
    display: block;
    max-height: 56px;
    width: auto;
}

.twistedsisters-header__logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 60vw;
}

.twistedsisters-header__site-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: inherit;
}

.twistedsisters-header__menu .nav {
    flex-wrap: wrap;
}

.twistedsisters-header__menu .nav-link {
    color: inherit;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
}

.twistedsisters-header__menu .nav-link:hover,
.twistedsisters-header__menu .nav-link:focus,
.twistedsisters-header__menu .nav-link.active,
.twistedsisters-header__menu .nav-selected > a {
    color: var(--twistedsisters-nav-active);
}

.twistedsisters-header__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: 1rem;
}

.twistedsisters-header__toggle {
    border: 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.twistedsisters-header__toggle:focus {
    box-shadow: 0 0 0 2px var(--bs-primary);
}

.twistedsisters-header__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.twistedsisters-header__toggle:not(.collapsed) .twistedsisters-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.twistedsisters-header__toggle:not(.collapsed) .twistedsisters-header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.twistedsisters-header__toggle:not(.collapsed) .twistedsisters-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .twistedsisters-header__nav-collapse {
        padding: 0.75rem 0;
    }

    .twistedsisters-header__menu .nav {
        flex-direction: column;
    }

    .twistedsisters-header__cta {
        margin: 0.75rem 0 0;
    }
}

/* ---- Hello Bar ---- */

.twistedsisters-hello-bar {
    background: var(--twistedsisters-hello-bg);
    color: var(--twistedsisters-hello-color);
    font-weight: 600;
    text-align: center;
}

.twistedsisters-hello-bar__inner {
    padding: 0.6rem 1rem;
}

.twistedsisters-hello-bar p:last-child {
    margin-bottom: 0;
}

.twistedsisters-hello-bar a {
    color: inherit;
    text-decoration: underline;
}

/* ---- Footer ---- */

.twistedsisters-footer {
    background: var(--twistedsisters-footer-bg);
    color: var(--twistedsisters-footer-color);
    padding-top: 3rem;
    margin-top: 3rem;
}

.twistedsisters-footer a {
    color: var(--twistedsisters-footer-link);
}

.twistedsisters-footer a:hover {
    text-decoration: underline;
}

.twistedsisters-footer h2,
.twistedsisters-footer h3,
.twistedsisters-footer h4 {
    color: #fff;
    font-size: 1.1rem;
}

.twistedsisters-footer__logo img {
    display: block;
    max-height: 64px;
    max-width: 220px;
    width: auto;
}

.twistedsisters-footer__site-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

/* Atomik's skin pads every footer (div.theme-atomik footer). Scoped under
   the wrapper so these win. */
.theme-twistedsisters .twistedsisters-footer {
    padding: 3rem 0 0;
}

/* Landing pages: legal line only. */
.theme-twistedsisters .twistedsisters-footer--minimal {
    padding-top: 0;
}

.twistedsisters-footer--minimal .twistedsisters-footer__legal {
    margin-top: 0;
}

.twistedsisters-footer__legal {
    background: var(--twistedsisters-footer-legal-bg);
    font-size: 0.875rem;
    padding: 1.25rem 0;
    margin-top: 2rem;
}

.twistedsisters-footer__legal p {
    margin-bottom: 0.25rem;
}

.twistedsisters-footer__login {
    margin-top: 0.25rem;
}

/* ---- Containers (elements/containers/twistedsisters_*.php) ---- */

.twistedsisters-section {
    padding: var(--twistedsisters-section-y, 4rem) 0;
}

.twistedsisters-section--light {
    background: var(--twistedsisters-panel-bg);
}

.twistedsisters-section__title,
.twistedsisters-card-grid__title {
    margin-bottom: 2rem;
}

.twistedsisters-hero {
    padding: var(--twistedsisters-hero-y, 5rem) 0;
}

.twistedsisters-hero__media img,
.twistedsisters-split__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--twistedsisters-radius);
}

/* Tall cut-outs (portrait PNGs) shouldn't stretch the hero. */
.twistedsisters-hero__media img {
    width: auto;
    max-width: 100%;
    max-height: var(--twistedsisters-hero-image-max, 560px);
    margin: 0 auto;
    object-fit: contain;
}

/* Background and text color come from Bootstrap's text-bg-primary class on the
   section, which picks black or white text for contrast with the primary. */
.twistedsisters-cta-band {
    text-align: center;
}

.twistedsisters-cta-band__inner {
    max-width: 52rem;
}

.twistedsisters-cta-band :is(h1, h2, h3, h4, p, .lead, a:not(.btn)) {
    color: inherit;
}

/* A primary button on the primary band would disappear: make it white with
   black text, which reads on any band color. */
.twistedsisters-cta-band .btn-primary {
    --bs-btn-bg: #fff;
    --bs-btn-color: #000;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-bg: #f1f1f1;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-border-color: #f1f1f1;
}

.twistedsisters-cta-band .btn-outline-primary {
    --bs-btn-color: currentColor;
    --bs-btn-border-color: currentColor;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-border-color: #fff;
}

.twistedsisters-section p:last-child {
    margin-bottom: 0;
}

/* ---- Block templates (blocks/*/templates) ---- */

/* Testimonial: quote_card */
.twistedsisters-quote-card {
    margin: 0;
}

.twistedsisters-quote-card__quote {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.twistedsisters-quote-card__quote p::before {
    content: "\201C";
}

.twistedsisters-quote-card__quote p::after {
    content: "\201D";
}

.twistedsisters-quote-card__person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.twistedsisters-quote-card__image img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.twistedsisters-quote-card__name,
.twistedsisters-quote-card__role {
    display: block;
}

/* Full body color: the 75% secondary color is too faint on tinted panels. */
.twistedsisters-quote-card__role {
    font-size: 0.9rem;
}

/* FAQ: collapsible */
.twistedsisters-faq__item {
    border-bottom: 1px solid var(--bs-border-color);
}

.twistedsisters-faq__question {
    cursor: pointer;
    font-weight: 700;
    padding: 1rem 2rem 1rem 0;
    position: relative;
    list-style: none;
}

.twistedsisters-faq__question::-webkit-details-marker {
    display: none;
}

.twistedsisters-faq__question::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--bs-primary);
}

.twistedsisters-faq__item[open] > .twistedsisters-faq__question::after {
    content: "\2212";
}

.twistedsisters-faq__question:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.twistedsisters-faq__answer {
    padding-bottom: 1rem;
}

/* ---- Edit mode ----
   Sticky positioning and shadows on the header cover Concrete's toolbar and
   area menus. Keep things static while editing. */

html.ccm-edit-mode .twistedsisters-header {
    position: static;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .twistedsisters-header,
    .twistedsisters-header__toggle-bar {
        transition: none;
    }
}

/* ---- Error pages (page_not_found.php, application/themes/core/error.php) ---- */
.twistedsisters-error-page {
    text-align: center;
}

.twistedsisters-error-page__code {
    margin: 0;
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--bs-primary);
    opacity: 0.2;
}

.twistedsisters-error-page__title {
    margin: 0.5rem 0 1rem;
}

.twistedsisters-error-page__text {
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.twistedsisters-error-page__detail {
    max-width: 36rem;
    margin: 0 auto 2rem;
    color: var(--bs-secondary-color);
}

.twistedsisters-error-page__search {
    display: flex;
    gap: 0.5rem;
    max-width: 28rem;
    margin: 0 auto 2rem;
}

.twistedsisters-error-page__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ---- Brand ----
   Written by the style-guide skill from ../style-guide.json. It's last in
   the file so its values win. Edit style-guide.json and re-run the skill
   instead of changing this block by hand. */
/* style-guide:start */
:root {
    --brand-magenta: #e2128f; /* content headings and highlights on the old site (inline color) */
    --brand-deep-magenta: #c8107f; /* magenta darkened slightly so headings and buttons pass AA on cream */
    --brand-orchid: #d17dc0; /* menu dropdowns, phone header, page H1s */
    --brand-dusty-rose: #c38999; /* the Pre-Order Now band on the home page */
    --brand-cream: #fbf9eb; /* page background */
    --brand-brown: #725d3e; /* address, telephone and card titles */
    --brand-coffee: #342c1f; /* footer */
    --brand-navy: #000080; /* links and the pre-order copy */
    --brand-highlighter: #ffff00; /* highlighted ordering notices */
    --brand-font-body: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --brand-font-headings: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --brand-font-ui: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.theme-twistedsisters {
    --twistedsisters-header-bg: #d17dc0;
    --twistedsisters-header-color: #ffffff;
    --twistedsisters-nav-active: #ffffff;
    --twistedsisters-hello-bg: #c38999;
    --twistedsisters-hello-color: #ffffff;
    --twistedsisters-footer-bg: #342c1f;
    --twistedsisters-footer-color: #ffffff;
    --twistedsisters-footer-link: #ffffff;
    --twistedsisters-radius: 0;
    --twistedsisters-panel-shadow: none;
}

.theme-twistedsisters h1, .theme-twistedsisters h2, .theme-twistedsisters h3, .theme-twistedsisters h4, .theme-twistedsisters h5, .theme-twistedsisters h6, .theme-twistedsisters .h1, .theme-twistedsisters .h2, .theme-twistedsisters .h3, .theme-twistedsisters .h4, .theme-twistedsisters .h5, .theme-twistedsisters .h6 {
    text-transform: uppercase;
}

.theme-twistedsisters .btn, .theme-twistedsisters .twistedsisters-header__menu .nav-link, .theme-twistedsisters .twistedsisters-eyebrow {
    font-family: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}
/* style-guide:end */

/* ==========================================================================
   Twisted Sisters replica (2026-11-12): the look of the concrete5 5.6 site,
   measured from twistedsisterscupcakes.com. Cream page, dark gradient strip
   behind a white menu, the round logo hanging over the photo below, Raleway
   throughout, magenta/orchid headings, coffee brown footer.
   ========================================================================== */

.theme-twistedsisters {
    --ts-cream: #fbf9eb;
    --ts-orchid: #d17dc0;
    --ts-magenta: #e2128f;
    --ts-rose: #c38999;
    --ts-brown: #725d3e;
    --ts-coffee: #342c1f;
    --ts-navy: #000080;
    --ts-header-height: 213px;
    background: var(--ts-cream);
    color: #333;
    font-family: Raleway, sans-serif;
    font-size: 14px;
    line-height: 1.42857;
}

.theme-twistedsisters .twistedsisters-main p {
    font-size: 13px;
    font-weight: 300;
    padding: 10px;
    margin: 0 0 10px;
}

.theme-twistedsisters .twistedsisters-main :is(p, li, div) strong,
.theme-twistedsisters .twistedsisters-main b {
    font-weight: 700;
}

.theme-twistedsisters .twistedsisters-main :is(h1, h2, h3, h4) {
    font-family: Raleway, sans-serif;
    line-height: 1.1;
    margin: 20px 0 10px;
}

.theme-twistedsisters .twistedsisters-main h1 {
    font-size: 54px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ts-orchid);
}

.theme-twistedsisters .twistedsisters-main h2 {
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ts-orchid);
}

.theme-twistedsisters .twistedsisters-main h3 {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ts-brown);
}

.theme-twistedsisters .twistedsisters-main h4 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.theme-twistedsisters .twistedsisters-main a:not(.btn) {
    color: #428bca;
    text-decoration: none;
}

.theme-twistedsisters .twistedsisters-main a:not(.btn):hover {
    text-decoration: underline;
}

.theme-twistedsisters .twistedsisters-main img {
    max-width: 100%;
    height: auto;
}

/* Old editor sizes kept in the copy (font-size: large etc.) */
.theme-twistedsisters .twistedsisters-main hr {
    border: 0;
    border-top: 1px solid #000;
    margin: 1em 0;
    opacity: 1;
}

/* ---- Header: logo hangs over the photo; white menu on a dark gradient ---- */

.theme-twistedsisters .twistedsisters-header {
    position: relative;
    z-index: 1000;
    min-height: 0;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent linear-gradient(rgba(0, 0, 0, 0.65) 0, rgba(0, 0, 0, 0) 90px) no-repeat;
}

.theme-twistedsisters .twistedsisters-header.is-scrolled {
    box-shadow: none;
}

.theme-twistedsisters .twistedsisters-header__logo,
.theme-twistedsisters .twistedsisters-header__brand img {
    max-height: none;
    max-width: none;
}

.theme-twistedsisters .twistedsisters-dropnav .nav-link {
    font-family: Raleway, sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    padding: 10px 12px;
}

.theme-twistedsisters .twistedsisters-dropnav .nav-link:hover,
.theme-twistedsisters .twistedsisters-dropnav .nav-link:focus,
.theme-twistedsisters .twistedsisters-dropnav .nav-link.active {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.twistedsisters-dropnav__caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.twistedsisters-dropnav__menu {
    list-style: none;
    margin: 0;
    padding: 5px 0;
    background: var(--ts-orchid);
}

.twistedsisters-dropnav__menu .nav-link {
    font-size: 14px;
    padding: 3px 20px;
}

@media (min-width: 992px) {
    .theme-twistedsisters .twistedsisters-header {
        height: var(--ts-header-height);
        align-items: flex-start;
    }

    .theme-twistedsisters .twistedsisters-header__inner {
        align-items: flex-start;
        position: relative;
    }

    .theme-twistedsisters .twistedsisters-header__brand {
        position: absolute;
        top: 15px;
        left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + 15px);
        z-index: 2;
    }

    .theme-twistedsisters .twistedsisters-header__logo {
        width: 269px !important;
        height: auto !important;
    }

    .theme-twistedsisters .twistedsisters-header__nav-collapse {
        margin-top: 25px;
    }

    .twistedsisters-dropnav__parent {
        position: relative;
    }

    .twistedsisters-dropnav__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 160px;
        margin-top: -5px;
        z-index: 1001;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    }

    .twistedsisters-dropnav__parent:hover > .twistedsisters-dropnav__menu,
    .twistedsisters-dropnav__parent:focus-within > .twistedsisters-dropnav__menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .theme-twistedsisters .twistedsisters-header {
        background: var(--ts-orchid);
        padding: 0 0 10px;
    }

    .theme-twistedsisters .twistedsisters-header__inner {
        align-items: flex-start;
    }

    .theme-twistedsisters .twistedsisters-header__logo {
        width: min(270px, 62vw) !important;
        height: auto !important;
        margin-top: 10px;
    }

    .theme-twistedsisters .twistedsisters-header__toggle {
        margin-top: 4px;
        color: #fff;
        background: #c873b7;
        border: 1px solid #fff;
        border-radius: 4px;
        padding: 9px 10px;
    }

    .twistedsisters-dropnav__menu {
        background: transparent;
        padding: 0 0 0 15px;
    }
}

/* ---- Hello Bar off, footer: coffee strip with the legal line ---- */

.theme-twistedsisters .twistedsisters-footer {
    background: var(--ts-coffee);
    color: #fff;
    margin: 0;
    padding: 0;
}

.theme-twistedsisters .twistedsisters-footer__legal {
    background: transparent;
    margin: 0;
    padding: 35px 0;
    text-align: center;
    font-size: 11px;
    font-weight: 300;
}

.theme-twistedsisters .twistedsisters-footer__legal p {
    margin: 0;
}

.theme-twistedsisters .twistedsisters-footer__legal img {
    display: inline-block;
    height: 10px;
    width: auto;
    vertical-align: baseline;
}

.theme-twistedsisters .twistedsisters-footer__login {
    font-size: 11px;
    opacity: 0.5;
}

/* ---- Page banner: the title over a photo ---- */

.twistedsisters-banner {
    position: relative;
    height: 359px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.twistedsisters-banner__photo {
    position: absolute;
    inset: 0;
}

.twistedsisters-banner__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twistedsisters-banner__title {
    position: relative;
    text-align: center;
}

.theme-twistedsisters .twistedsisters-main .twistedsisters-banner__title h1 {
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.87);
    margin: 0;
    padding: 0;
}

/* ---- Home slider with the logo and address over it ---- */

.twistedsisters-slider {
    position: relative;
    overflow: hidden;
}

.twistedsisters-slider .ccm-image-slider-container {
    margin: 0;
    padding: 0;
}

.twistedsisters-slider .ccm-image-slider-text {
    display: none;
}

.twistedsisters-slider .rslides img,
.twistedsisters-slider__slides img {
    display: block;
    width: 100%;
    height: auto;
}

.twistedsisters-slider__overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 33%;
    text-align: center;
    pointer-events: none;
    z-index: 3;
}

.twistedsisters-slider__overlay a {
    pointer-events: auto;
}

.twistedsisters-slider__overlay img {
    width: min(861px, 78%);
    height: auto;
}

.theme-twistedsisters .twistedsisters-main .twistedsisters-slider__overlay h3 {
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.87);
    margin-top: 40px;
}

.twistedsisters-slider .rslides_tabs,
.twistedsisters-slider .ccm-image-slider-dots {
    position: absolute;
    left: 0;
    top: 30px;
    z-index: 4;
}

/* ---- Notice box: copy inside a thick black border ---- */

.twistedsisters-notice {
    margin-top: 20px;
    margin-bottom: 20px;
}

.twistedsisters-notice__box {
    border: 5px solid #000;
    padding: 0;
    text-align: center;
}

.theme-twistedsisters .twistedsisters-notice__box h4 {
    font-size: 14px;
    font-weight: 400;
    margin: 10px 0;
}

/* ---- Flavor columns: every block is a bordered box ---- */

.twistedsisters-flavors {
    margin-bottom: 40px;
}

.twistedsisters-flavors__col {
    border: 1px solid #000;
}

.twistedsisters-flavor {
    border: 1px solid #000;
    min-height: 120px;
    padding: 10px 15px;
}

.theme-twistedsisters .twistedsisters-flavor p {
    padding: 5px 0;
    margin: 0 0 5px;
}

.theme-twistedsisters .twistedsisters-flavor h1 {
    font-size: 24px;
    line-height: 1.6;
    margin: 20px 0;
}

.twistedsisters-flavor--heading {
    min-height: 155px;
    padding-top: 15px;
}

/* ---- Cookie grid: photo floated left, name and text right-aligned ---- */

.twistedsisters-cookies {
    margin-bottom: 30px;
}

.twistedsisters-cookie {
    overflow: hidden;
    margin-bottom: 10px;
    text-align: right;
}

.twistedsisters-cookie img {
    float: left;
    width: 181px;
    margin-right: 10px;
}

.theme-twistedsisters .twistedsisters-cookie p {
    padding: 5px 10px;
    margin: 0;
    text-transform: uppercase;
}

.theme-twistedsisters .twistedsisters-cookie p:first-of-type {
    font-size: 14px;
}

/* ---- Three columns with a rule beside the middle one ---- */

.twistedsisters-three {
    margin: 20px auto 40px;
}

.twistedsisters-three__col--rule {
    border-left: 1px solid #3d3d3d;
    padding-left: 20px;
}

.twistedsisters-info {
    margin: 30px auto 40px;
    text-align: center;
}

/* ---- Rose band ---- */

.twistedsisters-rose {
    background: var(--ts-rose);
    padding: 60px 0 85px;
    text-align: center;
}

.theme-twistedsisters .twistedsisters-rose p {
    text-transform: uppercase;
    color: #fff;
}

.theme-twistedsisters .twistedsisters-rose h4 {
    color: #fff;
    margin: 20px 0;
}

/* ---- Three white cards over a photo ---- */

.twistedsisters-photo-cards {
    position: relative;
    padding: 20px 0 30px;
    overflow: hidden;
}

.twistedsisters-photo-cards__photo,
.twistedsisters-photo-band__photo {
    position: absolute;
    inset: 0;
}

.twistedsisters-photo-cards__photo img,
.twistedsisters-photo-band__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twistedsisters-photo-cards .container {
    position: relative;
    max-width: 1140px;
}

.twistedsisters-photo-cards .row {
    --bs-gutter-x: 80px;
}

.twistedsisters-card {
    background: #fff;
    padding: 10px;
    height: 100%;
    text-align: center;
}

.theme-twistedsisters .twistedsisters-card h4 {
    margin: 0;
    padding-top: 0;
}

.theme-twistedsisters .twistedsisters-card h1 {
    font-size: 18px;
    color: var(--ts-magenta);
    margin: 50px 0 10px;
}

.theme-twistedsisters .twistedsisters-card p {
    font-size: 11px;
}

/* ---- Photo band (a strip of photo, optional boxed text) ---- */

.twistedsisters-photo-band {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.twistedsisters-photo-band__content {
    position: relative;
    padding: 20px 0 45px;
}

.twistedsisters-photo-band__content:empty {
    display: none;
}

.twistedsisters-photo-band .twistedsisters-boxed {
    background: #fff;
    border: 5px solid #000;
    max-width: 840px;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
}

.twistedsisters-photo-band--short {
    min-height: 0;
}

/* ---- Products ---- */

.twistedsisters-products {
    margin-bottom: 40px;
}

.twistedsisters-products .row {
    border: 1px solid var(--ts-orchid);
}

.twistedsisters-products__item {
    border-left: 1px solid var(--ts-orchid);
    padding: 15px;
    text-align: center;
}

.twistedsisters-products__item:first-child {
    border-left: 0;
}

.theme-twistedsisters .twistedsisters-products__item :is(h2, h3) {
    color: var(--ts-coffee);
    text-align: left;
    font-weight: 400;
}

.theme-twistedsisters .twistedsisters-products__item h2 {
    font-size: 24px;
}

.theme-twistedsisters .twistedsisters-products__item h3 {
    font-size: 18px;
}

.twistedsisters-product {
    margin: 30px auto 40px;
}

.twistedsisters-product__photo img {
    width: 100%;
    max-width: 70px;
}

.theme-twistedsisters .twistedsisters-product :is(h2, h3) {
    color: var(--ts-coffee);
    font-weight: 400;
}

.theme-twistedsisters .twistedsisters-product h2 {
    font-size: 24px;
    margin-top: 0;
}

.theme-twistedsisters .twistedsisters-product h3 {
    font-size: 18px;
    font-weight: 700;
}

.twistedsisters-product .ccm-block-express-form {
    max-width: 520px;
    margin-top: 20px;
}

.twistedsisters-price {
    font-weight: 700;
}

/* ---- Photo galleries (gallery block, photo_grid template) ---- */

.twistedsisters-gallery-section {
    margin: 20px auto 30px;
}

.twistedsisters-photo-grid {
    display: grid;
    grid-template-columns: repeat(var(--twistedsisters-grid-cols, 6), 1fr);
    gap: 20px;
}

.twistedsisters-photo-grid__item {
    display: block;
    aspect-ratio: var(--twistedsisters-grid-ratio, 1);
    overflow: hidden;
}

.twistedsisters-photo-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}

.twistedsisters-photo-grid__item:hover img {
    opacity: 0.85;
}

@media (max-width: 767.98px) {
    .twistedsisters-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .theme-twistedsisters .twistedsisters-main h1 {
        font-size: 36px;
    }

    .twistedsisters-banner {
        height: 220px;
    }

    .twistedsisters-three__col--rule {
        border-left: 0;
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }

    .twistedsisters-products__item {
        border-left: 0;
        border-top: 1px solid var(--ts-orchid);
    }

    .twistedsisters-slider__overlay {
        top: 18%;
    }

    .theme-twistedsisters .twistedsisters-main .twistedsisters-slider__overlay h3 {
        font-size: 14px;
        margin-top: 10px;
    }
}

/* ---- Route calendar ---- */

.twistedsisters-main .ccm-block-calendar-wrapper,
.twistedsisters-main .fc {
    max-width: 1140px;
    margin: 0 auto 40px;
    font-size: 11px;
}

.twistedsisters-main .fc .fc-toolbar-title {
    font-size: 24px;
    color: var(--ts-orchid);
    text-transform: uppercase;
}

.twistedsisters-main .fc-event,
.twistedsisters-main .fc-daygrid-event {
    background: #f53bef;
    border-color: #f53bef;
    color: #fff;
}

/* Loyalty quote on the home page */
.theme-twistedsisters .twistedsisters-main blockquote {
    border-left: 5px solid #eee;
    margin: 0 0 20px;
    padding: 10px 20px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* While editing, photos behind sections are ordinary blocks at the top. */
.twistedsisters-editing .twistedsisters-banner__photo,
.twistedsisters-editing .twistedsisters-photo-cards__photo,
.twistedsisters-editing .twistedsisters-photo-band__photo {
    position: static;
}

.twistedsisters-editing.twistedsisters-banner {
    height: auto;
    display: block;
}

.twistedsisters-editing img {
    max-height: 200px;
    width: auto !important;
}

/* Testimonial in a brown frame (Book a Truck) */
.twistedsisters-quote {
    border: 3px solid var(--ts-brown);
    margin: 30px auto;
    max-width: 1100px;
    padding: 20px;
}

/* The old home page had two empty paragraphs under the slides. */
.twistedsisters-slider {
    margin-bottom: 87px;
}

.theme-twistedsisters .twistedsisters-main :is(h4, h5, h6) {
    text-transform: none;
}

/* The old Typekit kit had no Raleway 300, so "light" copy rendered at 400. */
.theme-twistedsisters .twistedsisters-main p {
    font-weight: 400;
}

/* H4s weren't in the old theme's Raleway rule: they used Bootstrap's Helvetica. */
.theme-twistedsisters .twistedsisters-main h4,
.theme-twistedsisters .twistedsisters-notice__box h4 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0;
}

.twistedsisters-banner {
    align-items: flex-start;
}

.twistedsisters-banner__title {
    padding-top: 200px;
}

.theme-twistedsisters .twistedsisters-flavor p {
    padding: 10px 0;
    margin: 0 0 10px;
}

.twistedsisters-flavor {
    min-height: 140px;
}

.twistedsisters-notice__box:has(.twistedsisters-thick) {
    border-width: 10px;
    padding: 20px;
}

.twistedsisters-products__item :is(ul, ol) {
    text-align: left;
}

.twistedsisters-photo-band:has(.twistedsisters-boxed) {
    min-height: 0;
}

.twistedsisters-badges img {
    display: inline-block;
    width: 190px;
    height: auto;
}

@media (max-width: 767.98px) {
    .twistedsisters-banner__title {
        padding-top: 90px;
    }
}

.twistedsisters-main .fc-event,
.twistedsisters-main .fc-day-grid-event {
    background: #f53bef !important;
    border-color: #f53bef !important;
    color: #fff !important;
}

/* Slider arrows: the text is for screen readers; the arrows are drawn by CSS. */
.twistedsisters-slider .rslides_nav {
    font-size: 0;
    color: transparent;
}

/* Grid rows in the page areas reach 3px past a phone screen. */
.twistedsisters-main {
    overflow-x: clip;
}

/* Links: the old Bootstrap blue, one shade darker so it reads on cream. */
.theme-twistedsisters .twistedsisters-main a:not(.btn) {
    color: #2a6496;
}

/* Branded 404 page in the site's colors. */
.theme-twistedsisters .twistedsisters-error-page__code {
    color: var(--ts-brown);
}

.theme-twistedsisters .twistedsisters-main .twistedsisters-error-page h1 {
    color: #c8107f;
}

/* Wide screens: the photos behind banners and bands stay put while the page
   scrolls, as on the old site (background-attachment: fixed). Banner photos
   fill the window's width from its top; band photos cover the window. */
@media (min-width: 992px) {
    .twistedsisters-banner:not(.twistedsisters-editing),
    .twistedsisters-photo-cards:not(.twistedsisters-editing),
    .twistedsisters-photo-band:not(.twistedsisters-editing) {
        clip-path: inset(0);
    }

    .twistedsisters-banner:not(.twistedsisters-editing) .twistedsisters-banner__photo img {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: auto;
        max-width: none;
        object-fit: fill;
    }

    .twistedsisters-photo-cards:not(.twistedsisters-editing) .twistedsisters-photo-cards__photo img,
    .twistedsisters-photo-band:not(.twistedsisters-editing) .twistedsisters-photo-band__photo img {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        max-width: none;
        object-fit: cover;
    }
}

/* The band under the cards on the old site was 163px with the boxed text in it. */
.twistedsisters-photo-band:has(.twistedsisters-boxed) .twistedsisters-photo-band__content {
    padding: 20px 0;
}

/* Empty photo bands were about 400px tall on the old site. */
.twistedsisters-photo-band {
    min-height: 400px;
}

@media (max-width: 767.98px) {
    .twistedsisters-photo-band {
        min-height: 220px;
    }
}

/* ---- Shop (Community Store): laid out like the old core_commerce product page ---- */

.twistedsisters-product {
    padding-top: 50px;
}

.theme-twistedsisters .twistedsisters-main .store-product-name {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin: 0 0 10px;
}

.store-product-block .store-product-details {
    display: flex;
    flex-direction: column;
}

/* Old order: name, description, price, options, quantity, button. */
.store-product-block .store-product-name { order: 1; }
.store-product-block .store-product-description { order: 2; }
.store-product-block .store-product-price { order: 3; }
.store-product-block .store-product-options { order: 4; }
.store-product-block .store-product-button { order: 5; }

.store-product-block .store-product-options {
    display: flex;
    flex-direction: column;
    max-width: 460px;
    font-size: 11px;
}

.store-product-block .store-product-quantity {
    order: 99;
}

@media (min-width: 768px) {
    .store-product-block .store-product-option-group,
    .store-product-block .store-product-quantity {
        display: grid;
        grid-template-columns: 175px 1fr;
        gap: 0 10px;
        align-items: start;
        margin-bottom: 6px !important;
    }

    .store-product-block .store-product-option-group .radio {
        grid-column: 2;
        display: inline-block;
    }

    .store-product-block .store-product-qty {
        width: 60px;
    }
}

.store-product-block .store-product-option-group-label {
    font-weight: 700;
    color: #333;
}

.store-product-block .store-product-option-group .radio {
    margin: 0;
}

.store-product-block .store-product-option-group .radio label {
    font-weight: 400;
}

.store-product-block textarea.store-product-option-entry {
    width: 127px;
    height: 72px;
    font-size: 12px;
}

/* Plain grey button, as on the old site */
.theme-twistedsisters .store-btn-add-to-cart,
.theme-twistedsisters .store-product-block .btn,
.theme-twistedsisters .store-product-list .btn {
    background: #fff linear-gradient(#fff 0, #e0e0e0 100%);
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    font-size: 11px;
    text-transform: none;
    padding: 5px 10px;
}

.theme-twistedsisters .store-btn-add-to-cart:hover {
    background: #e0e0e0;
    color: #333;
}

/* Pages without a photo at the top (product, cart, checkout) start below the hanging logo. */
@media (min-width: 992px) {
    .twistedsisters-main:not(:has(.twistedsisters-banner, .twistedsisters-slider)) {
        padding-top: 50px;
    }

    .twistedsisters-product {
        padding-top: 0;
    }
}

/* Product list on /order: three products a row with pink rules, as on the old site. */
.twistedsisters-main .store-product-list {
    --bs-gutter-x: 0;
    border: 1px solid var(--ts-orchid);
    margin: 0 0 30px;
}

.twistedsisters-main .store-product-list-item {
    border-left: 1px solid var(--ts-orchid);
    padding: 15px;
    margin-bottom: 0 !important;
}

.twistedsisters-main .store-product-list-item:nth-child(3n + 1) {
    border-left: 0;
}

.twistedsisters-main .store-product-list-item:nth-child(n + 4) {
    border-top: 1px solid var(--ts-orchid);
}

.twistedsisters-main .store-product-list-item form {
    display: flex;
    flex-direction: column;
}

.twistedsisters-main .store-product-list-thumbnail { order: 1; padding: 0; text-align: center; }
.twistedsisters-main .store-product-list-name { order: 2; }
.twistedsisters-main .store-product-list-description { order: 3; }
.twistedsisters-main .store-product-list-price { order: 4; }
.twistedsisters-main .store-product-list-item .store-product-options { order: 5; font-size: 11px; }
.twistedsisters-main .store-product-list-item .store-btn-add-to-cart,
.twistedsisters-main .store-product-list-item .store-product-list-add-to-cart { order: 6; align-self: flex-start; }

.twistedsisters-main .store-product-list-thumbnail img {
    width: 100%;
    max-width: 230px;
}

.theme-twistedsisters .twistedsisters-main .store-product-list-name {
    font-size: 24px;
    font-weight: 400;
    color: #342c1f;
    margin: 15px 0 10px;
}

.theme-twistedsisters .twistedsisters-main .store-product-list-name a {
    color: inherit;
}

.twistedsisters-main .store-product-list-description :is(h3) {
    font-size: 18px;
    color: #342c1f;
}

.twistedsisters-main .store-product-list-item .store-product-option-group-label {
    font-weight: 700;
    color: #333;
}

.twistedsisters-main .store-product-list-item textarea {
    height: 72px;
}

.twistedsisters-main .store-product-list-item .store-product-quantity {
    order: 99;
}

@media (max-width: 767.98px) {
    .twistedsisters-main .store-product-list-item {
        border-left: 0;
        border-top: 1px solid var(--ts-orchid);
    }
}

/* Cart and checkout pages */
.theme-twistedsisters .twistedsisters-main :is(.store-cart-page, .store-checkout-page, .store-checkout-complete-page) h1,
.theme-twistedsisters .twistedsisters-main .store-checkout-form-group h2 {
    font-size: 24px;
    font-weight: 400;
    color: #342c1f;
}

.twistedsisters-main .store-product-list-item .store-btn-add-to-cart-container {
    order: 6;
    padding: 0;
}

.twistedsisters-main .store-product-list-thumbnail img {
    width: 100% !important;
    height: auto !important;
    max-width: 230px;
}

.twistedsisters-main .store-product-list-item .store-product-options {
    display: flex;
    flex-direction: column;
}

/* "View Cart (n items)" above the products, right-aligned as on the old site */
.twistedsisters-main .store-utility-links {
    text-align: right;
    font-size: 11px;
    margin-bottom: 5px;
}
