/* ==========================================================================
   LANDING PAGE — viktohsstore.com sample styling
   Loaded ONLY on the home route (see frontend/layout/app.blade.php).
   Poppins + header/footer live in chrome.css (linked before this file).

   Radii taken from the sample's Tailwind build:
     --radius: .75rem  -> .rounded-lg = 12px, .rounded-md = 10px
     .rounded-xl = 12px, .rounded-2xl = 16px, .rounded-full = 9999px

   01 · Tokens
   02 · Page shell / containers
   03 · app.css conflict guards
   04 · Hero
   05 · Hero content (badge / title / lead / actions / stats)
   06 · Feature cards
   07 · Search pill
   08 · LOGS (title / category card / rows / load more)
   09 · Responsive
   10 · Reduced motion
   ========================================================================== */


/* Brand mark — a logo image (1280x640, 2:1) is uploaded, so the wordmark is
   rendered as an image. Fall back to an extra-heavy text version when no image
   is set, and size both generously inside the glass nav. */
.header .logo-text {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    -webkit-text-stroke: 1px currentColor;
}

.header .logo {
    height: 44px;
    max-width: 46vw;
    object-fit: contain;
}

@media (min-width: 768px) {
    .header .logo {
        height: 52px;
        max-width: 220px;
    }
}

/* Footer brand — keep it as big and bold as the header. */
.footer .logo {
    height: 44px;
    max-width: 46vw;
    object-fit: contain;
}

.footer .logo-text {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    -webkit-text-stroke: 1px currentColor;
}

@media (min-width: 768px) {
    .footer .logo {
        height: 52px;
        max-width: 220px;
    }
}


/* ==========================================================================
   01 · TOKENS
   ========================================================================== */

:root {
    /* Every accent below derives from --primary-color so the landing page
       follows the admin brand color (website_color) chosen in settings. */
    --lp-purple: var(--primary-color);
    --lp-purple-7: color-mix(in srgb, var(--primary-color) 78%, #111827);
    --lp-purple-8: color-mix(in srgb, var(--primary-color) 64%, #111827);
    --lp-fuchsia: color-mix(in srgb, var(--primary-color) 70%, #f43f5e);
    --lp-purple-950: color-mix(in srgb, var(--primary-color) 52%, #000);

    --lp-bg: #f9fafb;
    --lp-surface: #ffffff;
    --lp-border: #e5e7eb;
    --lp-border-soft: #f3f4f6;

    --lp-text: #111827;
    --lp-text-2: #4b5563;
    --lp-text-3: #6b7280;
    --lp-muted: #9ca3af;

    --lp-chip-bg: color-mix(in srgb, var(--primary-color) 10%, #ffffff);
    --lp-chip-border: color-mix(in srgb, var(--primary-color) 34%, #ffffff);
    --lp-chip-text: color-mix(in srgb, var(--primary-color) 74%, #111827);
    --lp-chip-alt: color-mix(in srgb, var(--primary-color) 16%, #ffffff);
}


/* ==========================================================================
   02 · PAGE SHELL / CONTAINERS
   ========================================================================== */

.landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--lp-bg);
    color: var(--lp-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing-page main {
    flex: 1 0 auto;
}

.lp-container {
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
}


/* ==========================================================================
   03 · app.css CONFLICT GUARDS
   ========================================================================== */

/* app.css hides every non-.hero section until its observer adds .animate */
.landing-page section {
    opacity: 1;
    transform: none;
    transition: none;
}

/* the shared theme toggle drives the whole page — dark mode surface palette.
   The hero stays intentionally dark-art in BOTH modes (it is a photo-led
   statement block), everything else flips day/night. */
html[data-theme="dark"] {
    --lp-bg: #0e0f13;
    --lp-surface: #17181d;
    --lp-border: #26282f;
    --lp-border-soft: #1f2127;
    --lp-text: #f3f4f6;
    --lp-text-2: #c2c6cd;
    --lp-text-3: #9aa1ac;
    --lp-muted: #6b7280;
    --lp-chip-bg: color-mix(in srgb, var(--primary-color) 18%, #181a20);
    --lp-chip-border: color-mix(in srgb, var(--primary-color) 45%, #181a20);
    --lp-chip-text: color-mix(in srgb, var(--primary-color) 78%, #ffffff);
    --lp-chip-alt: color-mix(in srgb, var(--primary-color) 26%, #181a20);
}

html[data-theme="dark"] .lp-row:hover {
    background: #1b1d24;
}

html[data-theme="dark"] .lp-row {
    border-color: var(--lp-border-soft);
}

html[data-theme="dark"] .lp-row-media {
    border-color: var(--lp-border-soft);
}

html[data-theme="dark"] .lp-chip.is-out {
    background: rgb(127 29 29 / 0.35);
    border-color: rgb(153 27 27 / 0.5);
    color: #fca5a5;
}

html[data-theme="dark"] .lp-btn-ghost {
    background: #f3f4f6;
}


/* ==========================================================================
   04 · HERO
   ========================================================================== */

.lp-hero {
    position: relative;
    isolation: isolate;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 112px 16px 64px;
    overflow: hidden;
    background: var(--lp-purple-950);
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--lp-purple-950);
}

.lp-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/landing/hero-pink3.jpg') center / cover no-repeat;
    opacity: 0.7;
    transform: scale(1.05);
    animation: lp-hero-pulse 10s ease-in-out infinite;
}

.lp-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--lp-purple-950) 92%, transparent) 0%,
        color-mix(in srgb, var(--lp-purple-950) 58%, transparent) 50%,
        color-mix(in srgb, var(--lp-text) 95%, transparent) 100%
    );
}

.lp-hero-radial {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        color-mix(in srgb, var(--lp-purple-950) 50%, transparent) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    mix-blend-mode: multiply;
}

@keyframes lp-hero-pulse {
    0%, 100% { transform: scale(1.05); }
    50%      { transform: scale(1.12); }
}

.lp-orb {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    mix-blend-mode: screen;
    animation: lp-orb-pulse 6s ease-in-out infinite;
}

.lp-orb-1 {
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    transform: translate(33%, -50%);
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.4), rgba(79, 70, 229, 0.3));
}

.lp-orb-2 {
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    transform: translate(-30%, 33%);
    background: linear-gradient(to top right, rgba(126, 34, 206, 0.4), rgba(217, 70, 239, 0.3));
    animation-delay: 2s;
}

@keyframes lp-orb-pulse {
    0%, 100% { opacity: 0.85; }
    50%      { opacity: 1; }
}

.lp-hero .lp-container {
    position: relative;
    z-index: 3;
}

.lp-hero-inner {
    width: 100%;
    max-width: 896px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    animation: lp-rise 1s ease-out both;
}

@keyframes lp-rise {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   05 · HERO CONTENT
   ========================================================================== */

/* --- badge --- */
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.lp-badge-label {
    flex-shrink: 0;
    padding-left: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--lp-purple) 55%, #ffffff);
    white-space: nowrap;
}

.lp-badge-divider {
    flex-shrink: 0;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
}

.lp-marquee {
    position: relative;
    width: 192px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

@media (min-width: 640px) {
    .lp-marquee {
        width: 288px;
    }
}

.lp-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: lp-marquee 20s linear infinite;
}

.lp-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
    opacity: 0.9;
}

.lp-marquee-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.lp-marquee-item span {
    font-size: 12px;
    font-weight: 600;
    color: #e5e7eb;
    white-space: nowrap;
}

@keyframes lp-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- heading --- */
.lp-title {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
}

@media (min-width: 640px) {
    .lp-title { font-size: 48px; }
}

@media (min-width: 1024px) {
    .lp-title { font-size: 72px; }
}

.lp-typed {
    background: linear-gradient(90deg, var(--lp-purple), #f43f5e, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: lp-typed-glow 4s ease-in-out infinite;
}

@keyframes lp-typed-glow {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.25); }
}

/* --- lead --- */
.lp-lead {
    margin: 0;
    max-width: 56rem;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.625;
    color: #d1d5db;
}

@media (min-width: 640px) {
    .lp-lead { font-size: 20px; }
}

@media (min-width: 1024px) {
    .lp-lead { font-size: 24px; }
}

.lp-lead strong {
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}

/* --- actions --- */
.lp-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

@media (min-width: 640px) {
    .lp-actions {
        flex-direction: row;
        align-items: center;
    }
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 32px;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.lp-btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--lp-purple), var(--lp-fuchsia));
    color: #ffffff;
    box-shadow:
        0 20px 25px -5px color-mix(in srgb, var(--lp-purple) 25%, transparent),
        0 8px 10px -6px color-mix(in srgb, var(--lp-purple) 25%, transparent);
}

.lp-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.lp-btn-primary:hover::after {
    transform: translateY(0);
}

.lp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 25px 30px -5px color-mix(in srgb, var(--lp-purple) 40%, transparent),
        0 10px 12px -6px color-mix(in srgb, var(--lp-purple) 40%, transparent);
}

.lp-btn-primary > * {
    position: relative;
    z-index: 1;
}

.lp-btn-primary i {
    animation: lp-bounce 2s ease-in-out infinite;
}

@keyframes lp-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

.lp-btn-ghost {
    background: #ffffff;
    color: var(--lp-text);
    font-weight: 600;
    border: 2px solid transparent;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.lp-btn-ghost:hover {
    border-color: color-mix(in srgb, var(--lp-purple) 55%, #ffffff);
    background: #ffffff;
    transform: translateY(-1px);
}

/* --- stats --- */
.lp-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
    .lp-stats { gap: 48px; }
}

.lp-stat {
    text-align: center;
    cursor: default;
    transition: transform 0.3s ease;
}

.lp-stat:hover {
    transform: translateY(-4px);
}

.lp-stat-value {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0.4);
}

@media (min-width: 768px) {
    .lp-stat-value { font-size: 36px; }
}

.lp-stat-label {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e5e7eb;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.4);
}

@media (min-width: 768px) {
    .lp-stat-label { font-size: 14px; }
}

.lp-stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
}


/* ==========================================================================
   06 · FEATURE CARDS
   ========================================================================== */

.lp-features {
    position: relative;
    padding: 48px 0;
    background: var(--lp-bg);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

@media (min-width: 768px) {
    .lp-features { padding: 64px 0; }
}

.lp-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .lp-features-grid { grid-template-columns: repeat(3, 1fr); }
}

.lp-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding: 16px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .lp-card { padding: 20px; }
}

.lp-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 15px -3px rgb(0 0 0 / 0.08),
        0 4px 6px -4px rgb(0 0 0 / 0.08);
}

.lp-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--lp-chip-bg);
    color: var(--lp-purple);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.lp-card:hover .lp-card-icon {
    transform: scale(1.1);
}

.lp-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--lp-text);
}

@media (min-width: 768px) {
    .lp-card-title { font-size: 16px; }
}

.lp-card-text {
    margin: 0;
    font-size: 11px;
    line-height: 1.625;
    color: var(--lp-text-2);
}

@media (min-width: 768px) {
    .lp-card-text { font-size: 12px; }
}

.lp-card-foot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--lp-border-soft);
}

.lp-card-foot a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 500;
    color: var(--lp-purple);
    text-decoration: none;
    transition: color 0.25s ease, padding 0.25s ease;
}

@media (min-width: 768px) {
    .lp-card-foot a { font-size: 12px; }
}

.lp-card-foot a:hover {
    color: var(--lp-purple-7);
    padding-right: 4px;
}

.lp-card-foot i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.lp-card-foot a:hover i {
    transform: translateX(4px);
}


/* ==========================================================================
   07 · SEARCH PILL
   ========================================================================== */

.lp-search {
    padding: 24px 0 0;
    background: var(--lp-bg);
}

.lp-search-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 576px;
    height: 44px;
    margin-inline: auto;
    padding: 0 24px;
    border: 1px solid var(--lp-border);
    border-radius: 9999px;
    background: var(--lp-surface);
    color: var(--lp-text-3);
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lp-search-pill:hover {
    border-color: var(--lp-chip-border);
    box-shadow: 0 4px 10px -4px rgb(0 0 0 / 0.12);
}

.lp-search-pill i {
    font-size: 18px;
    color: var(--lp-muted);
}


/* ==========================================================================
   08 · LOGS / MARKETPLACE
   ========================================================================== */

.lp-logs {
    position: relative;
    padding: 24px 0 48px;
    background: var(--lp-bg);
}

@media (min-width: 768px) {
    .lp-logs { padding: 32px 0 80px; }
}

.lp-logs-container {
    width: 100%;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .lp-logs-container {
        max-width: 1280px;
        padding: 0 32px;
    }
}

.lp-logs-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--lp-purple);
}

@media (min-width: 768px) {
    .lp-logs-title {
        margin-bottom: 12px;
        font-size: 30px;
    }
}

/* --- category card --- */
.lp-cat {
    margin-bottom: 48px;
    overflow: hidden;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-soft);
    border-radius: 0;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (min-width: 768px) {
    .lp-cat {
        margin-bottom: 64px;
        border-radius: 16px;
    }
}

.lp-cat:last-child {
    margin-bottom: 0;
}

.lp-cat-head {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 8px;
    background: var(--lp-purple);
}

@media (min-width: 768px) {
    .lp-cat-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 8px 24px;
    }
}

.lp-cat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding-bottom: 8px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .lp-cat-title { gap: 12px; padding-right: 8px; }
}

.lp-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 4px;
    border-radius: 4px;
    background: rgb(255 255 255 / 0.2);
    color: #ffffff;
    font-size: 20px;
}

@media (min-width: 768px) {
    .lp-cat-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

.lp-cat-title h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .lp-cat-title h3 { font-size: 20px; }
}

/* column labels — must mirror .lp-row-chips widths exactly */
.lp-cat-cols {
    display: flex;
    align-self: flex-end;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    padding: 6px 0;
    border-radius: 12px 12px 0 0;
    background: rgb(0 0 0 / 0.2);
}

@media (min-width: 768px) {
    .lp-cat-cols {
        gap: 12px;
        width: auto;
        padding: 6px 0;
        margin-left: 12px;
    }
}

.lp-col {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.95);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .lp-col { font-size: 12px; }
}

.lp-col--stock  { width: 64px; }
.lp-col--price  { width: 80px; }
.lp-col--action { width: 64px; }

@media (min-width: 768px) {
    .lp-col--stock  { width: 96px; }
    .lp-col--price  { width: 112px; }
    .lp-col--action { width: 88px; }
}

/* --- rows --- */
.lp-rows {
    display: flex;
    flex-direction: column;
}

.lp-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
        "media info"
        "chips chips";
    align-items: center;
    gap: 8px 12px;
    padding: 12px;
    background: var(--lp-surface);
    border-bottom: 1px solid var(--lp-border);
    transition: background 0.2s ease;
}

.lp-row:last-child {
    border-bottom: none;
}

.lp-row:hover {
    background: var(--lp-bg);
}

.lp-row-media {
    grid-area: media;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    background: var(--lp-bg);
    border: 1px solid var(--lp-border-soft);
    border-radius: 4px;
    color: var(--lp-purple);
    font-size: 24px;
}

.lp-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
}

.lp-row-info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.lp-row-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-row-desc {
    font-size: 10px;
    line-height: 1.4;
    color: var(--lp-text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-row-chips {
    grid-area: chips;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-left: 60px;
}

@media (min-width: 768px) {
    .lp-row {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        grid-template-areas: "media info chips";
        column-gap: 12px;
        row-gap: 0;
        padding: 12px 24px;
        min-height: 64px;
    }

    .lp-row-media {
        width: 64px;
        height: 64px;
    }

    .lp-row-chips {
        padding-left: 0;
        gap: 12px;
    }
}

.lp-row-stock,
.lp-row-price,
.lp-row-action {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-row-stock { min-width: 56px; }
.lp-row-price { min-width: 64px; }
.lp-row-action { width: 64px; }

@media (min-width: 768px) {
    .lp-row-stock  { width: 96px; }
    .lp-row-price  { width: 112px; }
    .lp-row-action { width: 88px; }
}

.lp-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border: 1px solid var(--lp-chip-border);
    border-radius: 10px;
    background: var(--lp-chip-bg);
    color: var(--lp-chip-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.lp-chip.is-out {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.lp-chip--price {
    font-size: 14px;
    font-weight: 900;
}

@media (min-width: 768px) {
    .lp-chip { font-size: 12px; }
    .lp-chip--price { font-size: 20px; }
}

/* buy split-button */
.lp-buy {
    display: inline-flex;
    align-items: stretch;
    height: 36px;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
}

.lp-buy-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: var(--lp-purple);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.lp-buy-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    font-size: 18px;
    background: var(--lp-chip-alt);
    color: var(--lp-purple-7);
    transition: background 0.2s ease;
}

.lp-buy:hover .lp-buy-label {
    background: var(--lp-purple-7);
}

.lp-buy:hover .lp-buy-arrow {
    background: var(--lp-chip-border);
}

/* load more */
.lp-load-wrap {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    padding-bottom: 4px;
}

.lp-load {
    padding: 6px 16px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    background: var(--lp-purple);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lp-load:hover {
    background: var(--lp-purple-7);
}

/* hide rows past the initial page until "Load More product" is pressed */
.lp-rows .lp-row:nth-child(n + 6) {
    display: none;
}

.lp-rows.is-open .lp-row:nth-child(n + 6) {
    display: grid;
}


/* ==========================================================================
   09 · RESPONSIVE ODDS AND ENDS
   ========================================================================== */

@media (max-width: 767px) {
    /* the third stat is a desktop extra in the sample */
    .lp-stat-divider--sm,
    .lp-stat--sm {
        display: none;
    }
}

@media (min-width: 768px) {
    .lp-stat-divider--sm,
    .lp-stat--sm {
        display: block;
    }
}

@media (max-width: 639px) {
    .lp-hero {
        min-height: auto;
        padding: 104px 16px 48px;
    }

    .lp-hero-inner {
        gap: 24px;
    }

    .lp-btn {
        width: 100%;
        font-size: 16px;
        padding: 0 24px;
    }
}


/* ==========================================================================
   10 · REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .landing-page,
    .landing-page * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
