/* Illadelph Spirits — Total Wine NJ advertising landing page v1.3.0 */
body.illadelph-total-wine-page {
    margin: 0;
    background: #f7f9fc;
}
.twlp {
    --tw-navy: #102e5e;
    --tw-deep: #081f42;
    --tw-blue: #1273ba;
    --tw-silver: #a8a9ab;
    --tw-text: #24344d;
    --tw-muted: #5c6e83;
    --tw-line: #dce6f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--tw-text);
    background: #f7f9fc;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.twlp, .twlp *, .twlp *::before, .twlp *::after { box-sizing: border-box; }
.twlp a { text-decoration: none; }
.twlp a:focus-visible { outline: 3px solid #e9ac4b; outline-offset: 4px; }
.twlp p, .twlp h1, .twlp h2, .twlp h3, .twlp h4 { margin-top: 0; }
.twlp-container { width: min(1176px, calc(100% - 44px)); margin: 0 auto; }
.twlp-hero { overflow: hidden; background: linear-gradient(120deg, #0a244b 0%, #102e5e 58%, #1b548e 100%); }
.twlp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(290px, .77fr); align-items: center; gap: 40px; padding-top: 74px; padding-bottom: 80px; min-height: 560px; }
.twlp-hero-copy { position: relative; z-index: 2; }
.twlp-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #c5d7ee; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.twlp-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #69b3ee; box-shadow: 0 0 0 5px rgba(110,190,255,.12); }
.twlp .twlp-hero h1 { max-width: 720px; margin: 21px 0 24px; font-size: clamp(37px, 4.9vw, 63px); font-weight: 820; line-height: 1.07; letter-spacing: -.045em; color: #ffffff; }
.twlp .twlp-hero h1 span { color: #8cccff; }
.twlp-hero-description { max-width: 640px; color: #d9e6f5; font-size: 17px; line-height: 1.7; margin-bottom: 26px; }
.twlp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 22px; }
.twlp .twlp-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; border-radius: 9px; padding: 13px 22px; font-size: 14px; font-weight: 800; letter-spacing: .01em; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.twlp .twlp-button:hover { transform: translateY(-2px); }
.twlp .twlp-button-primary { color: #0a2d55; background: #ffffff; box-shadow: 0 12px 25px rgba(0,0,0,.12); }
.twlp .twlp-button-primary:hover { background: #ecf5ff; color: #0a2d55; }
.twlp-hero-meta { color: #c5d7ee; font-size: 13px; font-weight: 600; }
.twlp-attributes { display: flex; flex-wrap: wrap; gap: 8px; margin: 31px 0 0; padding: 0; list-style: none; }
.twlp-attributes li { border: 1px solid rgba(202,222,242,.25); border-radius: 999px; background: rgba(255,255,255,.07); padding: 6px 11px; color: #e4effa; font-size: 11px; letter-spacing: .015em; font-weight: 700; }
.twlp-hero-visual { position: relative; justify-self: center; width: min(100%, 385px); }
.twlp-bottle-glow { position: absolute; width: 480px; height: 480px; left: 50%; top: 48%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle,rgba(90,173,242,.32) 0%,rgba(90,173,242,.11) 43%,rgba(90,173,242,0) 69%); pointer-events: none; }
.twlp-bottle-image-wrap { position: relative; width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #ffffff; box-shadow: 0 24px 65px rgba(1,12,30,.31); }
.twlp-bottle-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.twlp-hero-image-caption { position: relative; display: flex; justify-content: space-between; gap: 12px; margin: 17px 6px 0; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: #c7daf0; }
.twlp-hero-image-caption strong { color: #ffffff; }
.twlp-locations { background: linear-gradient(#f8fbff,#f4f7fb); padding: 68px 0 82px; }
.twlp-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; }
.twlp-section-eyebrow { font-size: 11px; font-weight: 900; color: var(--tw-blue); letter-spacing: .19em; }
.twlp .twlp-section-heading h2 { margin: 7px 0 9px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.035em; font-weight: 820; color: var(--tw-navy); }
.twlp-section-heading p { margin-bottom: 0; color: var(--tw-muted); font-size: 15px; }
.twlp-location-count { color: var(--tw-blue); padding: 8px 12px; border-radius: 7px; border: 1px solid #c7ddef; background: #eaf4ff; font-size: 11px; font-weight: 900; letter-spacing: .09em; }
.twlp-area-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; margin-bottom: 47px; }
.twlp-area-nav a { padding: 11px 15px; border: 1px solid #d5e0ec; border-radius: 100px; background: #ffffff; color: var(--tw-navy); font-size: 13px; font-weight: 750; transition: .15s; }
.twlp-area-nav a:hover { color: #ffffff; background: var(--tw-navy); border-color: var(--tw-navy); }
.twlp-area-nav a span { margin-left: 5px; }
.twlp-region { scroll-margin-top: 24px; margin-top: 42px; }
.twlp-region-title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 17px; margin-bottom: 20px; border-bottom: 1px solid var(--tw-line); }
.twlp .twlp-region h3 { color: var(--tw-navy); font-size: 24px; letter-spacing: -.025em; font-weight: 800; margin-bottom: 2px; }
.twlp-region-title-row p { color: var(--tw-muted); font-size: 13px; margin-bottom: 0; }
.twlp-region-total { font-weight: 800; font-size: 12px; color: #66798e; }
.twlp-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.twlp-store-card { display: flex; flex-direction: column; overflow: hidden; min-height: 392px; padding: 0; background: #ffffff; border: 1px solid #e0e9f3; box-shadow: 0 5px 19px rgba(18,46,94,.045); border-radius: 16px; }
.twlp-card-photo { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e7edf3; }
.twlp-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.twlp-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.twlp-card-head { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.twlp-store-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; background: #e8f3ff; }
.twlp-retailer-name { font-size: 11px; font-weight: 850; color: #627893; letter-spacing: .13em; }
.twlp .twlp-store-card h4 { color: var(--tw-navy); font-size: 24px; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; margin: 0 0 10px; }
.twlp-store-card address { font-style: normal; font-size: 14px; line-height: 1.5; color: #40536b; }
.twlp-phone-display { margin: 6px 0 18px; font-size: 14px; color: var(--tw-muted); }
.twlp-card-actions { display: flex; gap: 9px; margin-top: auto; }
.twlp .twlp-button-card { flex: 1 1 auto; color: #ffffff; background: var(--tw-navy); }
.twlp .twlp-button-card:hover { background: var(--tw-blue); color: #ffffff; }
.twlp .twlp-button-call { flex: 0 0 auto; border: 1px solid #d7e3ef; background: #f5f9fd; color: var(--tw-navy); }
.twlp .twlp-button-call:hover { background: #e9f3fc; color: var(--tw-navy); }
.twlp-availability-note { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; margin-top: 36px; border: 1px solid #cbdff0; border-radius: 12px; background: #e9f3fb; }
.twlp-note-icon { flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; width: 24px; height: 24px; font-size: 13px; font-weight: 900; background: var(--tw-navy); color: #ffffff; }
.twlp-availability-note p { margin: 0; font-size: 14px; color: #334f6d; }
@media(max-width: 820px) {
    .twlp-hero-grid { gap: 24px; grid-template-columns: 1fr .75fr; padding-top: 62px; padding-bottom: 62px; min-height: 500px; }
    .twlp .twlp-hero h1 { font-size: clamp(33px, 5.2vw, 45px); }
    .twlp-hero-description { font-size: 15px; }
    .twlp-bottle-glow { width: 370px; height: 370px; }
    .twlp .twlp-button { padding-left: 17px; padding-right: 17px; }
}
@media(max-width: 640px) {
    .twlp-container { width: min(100% - 30px, 540px); }
    .twlp-hero-grid { display: flex; flex-direction: column; align-items: stretch; padding-top: 44px; padding-bottom: 45px; gap: 35px; }
    .twlp .twlp-hero h1 { font-size: clamp(36px, 9vw, 48px); margin-top: 17px; margin-bottom: 19px; }
    .twlp-hero-description { font-size: 15px; }
    .twlp-hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .twlp-hero-actions .twlp-button { justify-content: space-between; }
    .twlp-hero-meta { font-size: 12px; text-align: center; }
    .twlp-attributes { margin-top: 22px; }
    .twlp-hero-visual { width: min(100%, 280px); align-self: center; }
    .twlp-bottle-image-wrap { border-radius: 16px; }
    .twlp-bottle-glow { width: 360px; height: 360px; }
    .twlp-hero-image-caption { font-size: 10px; }
    .twlp-locations { padding: 51px 0 61px; }
    .twlp-section-heading { align-items: start; }
    .twlp-section-heading h2 { margin-bottom: 11px; }
    .twlp-area-nav { margin-top: 25px; margin-bottom: 30px; gap: 7px; }
    .twlp-area-nav a { font-size: 12px; padding: 10px 12px; }
    .twlp-region { margin-top: 32px; }
    .twlp .twlp-region h3 { font-size: 21px; }
    .twlp-store-grid { grid-template-columns: 1fr; gap: 13px; }
    .twlp-store-card { padding: 0; min-height: 0; }
    .twlp-card-body { padding: 19px 20px 21px; }
    .twlp .twlp-store-card h4 { font-size: 23px; }
    .twlp .twlp-card-actions .twlp-button { font-size: 13px; }
}
@media(max-width: 360px) {
    .twlp .twlp-card-actions .twlp-button { font-size: 12px; padding: 12px; }
}
@media(prefers-reduced-motion: reduce) {
    .twlp .twlp-button, .twlp-area-nav a { transition: none; }
    .twlp .twlp-button:hover { transform: none; }
}

/* v1.1 video header — reuses Buy Online's ACF hero media */
.twlp-hero-video { position: relative; isolation: isolate; background-image: linear-gradient(115deg, rgba(5,19,42,.94), rgba(16,46,94,.65)), var(--twlp-hero-poster); background-position: center; background-size: cover; }
.twlp-hero-background-video { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.twlp-hero-video-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(6,24,51,.91) 0%, rgba(7,31,65,.82) 42%, rgba(6,25,57,.56) 100%); pointer-events: none; }
.twlp-hero-video .twlp-hero-grid { display: flex; align-items: center; min-height: 590px; padding-top: 110px; padding-bottom: 110px; }
.twlp-hero-video .twlp-hero-copy { width: min(100%, 810px); }
.twlp-hero-video .twlp-hero h1, .twlp-hero-video h1 { max-width: 850px; }
.twlp-hero-video .twlp-hero-description { max-width: 660px; }
@media(max-width:640px) {
  .twlp-hero-video .twlp-hero-grid { min-height: 510px; padding-top: 65px; padding-bottom: 65px; }
  .twlp-hero-video-overlay { background: linear-gradient(90deg, rgba(6,24,51,.87), rgba(8,30,60,.71)); }
}
@media(prefers-reduced-motion:reduce) {
  .twlp-hero-background-video { display: none; }
}

/* v1.3: Make the landing full-bleed inside Customify's default content wrappers.
   Only this template receives the illadelph-total-wine-page body class. */
body.illadelph-total-wine-page #site-content,
body.illadelph-total-wine-page #site-content > .customify-container,
body.illadelph-total-wine-page #site-content > .customify-container > .customify-grid,
body.illadelph-total-wine-page #site-content #main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.illadelph-total-wine-page #site-content > .customify-container > .customify-grid {
    display: block;
}
body.illadelph-total-wine-page #site-content #main {
    float: none !important;
    flex: 0 0 100% !important;
}
body.illadelph-total-wine-page .twlp {
    width: 100%;
    margin: 0;
}
