/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Navbar logo – smaller on small screens */
.navbar-brand-logo {
    height: 32px;
}
@media (min-width: 992px) {
    .navbar-brand-logo {
        height: 48px;
    }
}

/* Navbar right side – fixed width so nothing moves when language text rotates */
.navbar-right {
    width: 10rem;
    min-width: 10rem;
    flex-shrink: 0;
}

.navbar-lang-btn {
    min-width: 0;
}

#navbar-lang-rotating {
    display: inline-block;
    width: 4.5rem;
    min-width: 4.5rem;
    text-align: left;
    color: var(--bs-warning, #ffc700) !important;
    transition: opacity 0.3s ease;
}

/* Ubuntu font – site-wide */
body {
    font-family: "Ubuntu", sans-serif;
}

.ubuntu-light { font-family: "Ubuntu", sans-serif !important; font-weight: 300; font-style: normal; }
.ubuntu-regular { font-family: "Ubuntu", sans-serif !important; font-weight: 400; font-style: normal; }
.ubuntu-medium { font-family: "Ubuntu", sans-serif !important; font-weight: 500; font-style: normal; }
.ubuntu-bold { font-family: "Ubuntu", sans-serif !important; font-weight: 700; font-style: normal; }
.ubuntu-light-italic { font-family: "Ubuntu", sans-serif !important; font-weight: 300; font-style: italic; }
.ubuntu-regular-italic { font-family: "Ubuntu", sans-serif !important; font-weight: 400; font-style: italic; }
.ubuntu-medium-italic { font-family: "Ubuntu", sans-serif !important; font-weight: 500; font-style: italic; }
.ubuntu-bold-italic { font-family: "Ubuntu", sans-serif !important; font-weight: 700; font-style: italic; }

/* Hero section - brick background with infinite right scroll */
.hero-section {
    background-color: #ffc900;
    background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 42px 44px;
    animation: bricksMoveRight 3s linear infinite;
}

@keyframes bricksMoveRight {
    0% { background-position: 0 0; }
    100% { background-position: 42px 0; }
}

.hero-section.hero-section-custom {
    animation: none;
}

/* Homepage ticker – black row, text scrolling right (infinite) */
.ticker-row {
    user-select: none;
}

.ticker-inner {
    animation: tickerScrollRight 25s linear infinite;
}

.ticker-text {
    font-weight: 500;
    font-size: 1rem;
}

@keyframes tickerScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Hero section - circular play button overlay (retro style) */
.hero-play-btn {
    width: 5rem;
    height: 5rem;
    border: 2px solid var(--bs-black, #000) !important;
    box-shadow: 4px 4px 0 0 var(--bs-black, #000);
}

.hero-play-btn:hover {
    box-shadow: 2px 2px 0 0 var(--bs-black, #000);
    color: var(--bs-dark) !important;
}

.hero-play-btn i {
    margin-left: 0.2rem;
}

/* Hero scroll CTA – animated, tempting to click */
.hero-scroll-cta {
    transition: opacity 0.2s, transform 0.2s;
}

.hero-scroll-cta:hover {
    opacity: 0.9;
}

.hero-scroll-cta-icon {
    animation: heroScrollBounce 1.5s ease-in-out infinite;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.35rem); }
}

/* Hero section - retro style (black border + offset right shadow) */
.hero-retro-img {
    border: 2px solid var(--bs-black, #000) !important;
    box-shadow: 6px 6px 0 0 var(--bs-black, #000);
}

/* Social preview section – Instagram / Facebook / YouTube style cards */
.social-preview-section {
    background: transparent;
}

.social-preview-left {
    max-width: 640px;
    position: relative;
    overflow: visible;
    margin-top: -1.5rem;
}

.social-card {
    width: 230px;
    height: 360px;
    border-radius: 1rem;
    background-color: #000;
    background-image: url("https://picsum.photos/600/900");
    background-size: cover;
    background-position: center;
    border: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

.social-preview-left .social-card:nth-child(1) {
    z-index: 1;
    transform: translateY(-0.5rem) rotate(-5deg);
}

.social-preview-left .social-card:nth-child(2) {
    z-index: 2;
    margin-left: -12px;
    transform: translateY(0.75rem) rotate(3deg);
}

.social-preview-left .social-card:nth-child(3) {
    z-index: 3;
    margin-left: -12px;
    transform: translateY(1.5rem) rotate(-4deg);
}


.social-card-instagram {
    background-image:
        radial-gradient(circle at top left, rgba(255, 218, 123, 0.95) 0, rgba(255, 123, 165, 0.9) 35%, rgba(123, 108, 255, 0.9) 75%, rgba(27, 27, 27, 0.95) 100%),
        inherit;
}

.social-card-facebook {
    background-image:
        linear-gradient(145deg, rgba(27, 31, 59, 0.96), rgba(34, 59, 143, 0.96)),
        inherit;
}

.social-card-youtube {
    background-image:
        radial-gradient(circle at top, rgba(255, 95, 95, 0.98) 0, rgba(171, 0, 0, 0.96) 45%, rgba(27, 0, 0, 0.96) 100%),
        inherit;
}

.social-card-username {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.social-card-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.social-card-description {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 55%;
    font-size: 0.7rem;
    line-height: 1.35;
    background: linear-gradient(to top, #000 0%, #000 22%, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
    padding: 0 0.85rem 0.85rem 0.85rem;
    border-radius: 0 0 1rem 1rem;
    display: flex;
    align-items: flex-end;
}

.social-preview-copy h2 {
    color: #ffffff;
}

.social-preview-copy p {
    color: #ced4da;
}

@media (max-width: 991.98px) {
    .social-preview-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .social-preview-left {
        margin-bottom: 1.75rem;
        max-width: 100%;
    }

    .social-preview-left .social-card {
        width: 70%;
        max-width: 260px;
        height: 320px;
    }

    .social-preview-left .social-card + .social-card {
        margin-left: -8px;
    }
}

.btn-retro {
    border: 2px solid var(--bs-black, #000) !important;
    box-shadow: 4px 4px 0 0 var(--bs-black, #000);
}

.btn-retro:hover {
    box-shadow: 2px 2px 0 0 var(--bs-black, #000);
}

/* White fill + black retro border/shadow (e.g. Edit statuses on light toolbar) */
.btn-retro.btn-retro-white {
    background-color: #fff !important;
    color: var(--bs-dark, #212529) !important;
}

.btn-retro.btn-retro-white:hover,
.btn-retro.btn-retro-white:focus,
.btn-retro.btn-retro-white:active {
    background-color: #f5f5f5 !important;
    color: var(--bs-dark, #212529) !important;
}

/* Solid red + retro shadow (e.g. delete status); disabled stays red, not white/gray */
.btn-retro.btn-retro-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
    border: 2px solid #b02a37 !important;
    box-shadow: 4px 4px 0 0 #b02a37 !important;
}

.btn-retro.btn-retro-danger:hover:not(:disabled):not(.disabled),
.btn-retro.btn-retro-danger:focus-visible:not(:disabled):not(.disabled) {
    background-color: #bb2d3b !important;
    border-color: #9a2530 !important;
    box-shadow: 2px 2px 0 0 #9a2530 !important;
    color: #fff !important;
}

.btn-retro.btn-retro-danger:disabled,
.btn-retro.btn-retro-danger.disabled {
    color: rgba(255, 255, 255, 0.95) !important;
    background-color: #a8323e !important;
    border-color: #7d262f !important;
    box-shadow: 2px 2px 0 0 #6b2028 !important;
    opacity: 1 !important;
}

/* Footer newsletter – half above, half inside footer */
.footer-newsletter-wrapper {
    margin-top: -2.5rem;
}

@media (max-width: 767.98px) {
    .footer-newsletter-wrapper {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.footer-newsletter {
    background: #fff;
    border: 2px solid var(--bs-black, #000);
    box-shadow: 4px 4px 0 0 var(--bs-black, #000);
    border-radius: 0.5rem;
    padding: 1.5rem 1.5rem;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-newsletter-title {
    color: var(--bs-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-newsletter-text {
    color: var(--bs-secondary-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-newsletter-input-group .form-control {
    border: 2px solid var(--bs-black, #000);
}

.footer-newsletter-input-group .btn {
    border-left: 0;
}

/* Auth breadcrumb – yellow, same width as navbar (container-fluid px-4) */
.auth-breadcrumb {
    background-color: #ffc900;
    border: none;
}

.auth-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider-color: var(--bs-dark);
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}

.auth-breadcrumb .breadcrumb-item a {
    color: var(--bs-dark);
}

.auth-breadcrumb .breadcrumb-item.active {
    color: var(--bs-dark);
    font-weight: 500;
}

.auth-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-dark);
}

/* Auth layout – login card (same style as newsletter) */
.auth-card-inner {
    background: #fff;
    border: 2px solid var(--bs-black, #000);
    box-shadow: 4px 4px 0 0 var(--bs-black, #000);
}

.auth-card-inner .auth-input,
.auth-card-inner .form-control {
    border: 2px solid var(--bs-black, #000);
}

.username-feedback {
    min-width: 2.5rem;
    text-align: center;
}

.password-input-wrap .password-toggle-btn {
    cursor: pointer;
    z-index: 2;
}

.password-input-wrap .password-toggle-btn i {
    color: var(--bs-dark);
    font-size: 1.1rem;
}

/* Dashboard */
.dashboard-layout {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .dashboard-sidebar-col {
        position: sticky;
        top: 1rem;
    }
}

.dashboard-sidebar {
    box-shadow: 4px 4px 0 0 var(--bs-black, #000);
}

.dashboard-sidebar .nav {
    background-color: #fff;
}

.dashboard-sidebar-link {
    color: var(--bs-dark);
    font-weight: 600;
    border-radius: 0;
    border: 2px solid transparent;
    margin-bottom: 2px;
    background-color: #fff;
    box-sizing: border-box;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
}

.dashboard-sidebar-link:hover {
    background-color: rgba(255, 201, 0, 0.25);
    color: var(--bs-dark);
}

.dashboard-sidebar-link.active {
    background-color: #ffc900;
    border-color: var(--bs-black, #000);
    color: var(--bs-dark);
    transform: none;
}

/* Date range pills: keep fill white (Bootstrap outline-dark hover fills black) */
/* Keep same box-shadow on hover as default — .btn-retro:hover shrinks shadow and shifts the pill up */
.dashboard-range-pills .btn.btn-retro {
    box-shadow: 4px 4px 0 0 var(--bs-black, #000) !important;
    transform: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dashboard-range-pills .btn.btn-retro:hover,
.dashboard-range-pills .btn.btn-retro:focus,
.dashboard-range-pills .btn.btn-retro:focus-visible,
.dashboard-range-pills .btn.btn-retro:active {
    box-shadow: 4px 4px 0 0 var(--bs-black, #000) !important;
    transform: none !important;
}

.dashboard-range-pills .btn-outline-dark {
    background-color: #fff !important;
    color: var(--bs-dark) !important;
}

.dashboard-range-pills .btn-outline-dark:hover,
.dashboard-range-pills .btn-outline-dark:focus,
.dashboard-range-pills .btn-outline-dark:active {
    background-color: rgba(255, 201, 0, 0.35) !important;
    color: var(--bs-dark) !important;
    border-color: var(--bs-black, #000) !important;
}

.dashboard-range-pills .btn-warning {
    background-color: #ffc900 !important;
    color: var(--bs-dark) !important;
    border-color: var(--bs-black, #000) !important;
}

.dashboard-range-pills .btn-warning:hover,
.dashboard-range-pills .btn-warning:focus {
    background-color: #e6b500 !important;
    color: var(--bs-dark) !important;
}

/* Same vertical box for all pills so active/inactive stay aligned */
.dashboard-range-pills .btn {
    min-height: 2.375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.dashboard-sidebar-link i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.dashboard-stat-tile {
    background: #fff;
    box-shadow: 4px 4px 0 0 var(--bs-black, #000);
}

.dashboard-views-by-day-chart-wrap {
    position: relative;
    height: 280px;
    min-height: 200px;
}

.dashboard-views-by-day-chart-wrap canvas {
    display: block;
}

.dashboard-reports-chart-wrap {
    position: relative;
    height: 340px;
    min-height: 220px;
}

.dashboard-reports-chart-wrap canvas {
    display: block;
}

.dashboard-lang-progress {
    height: 0.65rem;
    border-radius: 0;
    border: 1px solid var(--bs-black, #000);
    background: #f8f9fa;
}

.dashboard-lang-progress .progress-bar {
    min-width: 0;
}

/* Footer */
.footer-link:hover {
    color: var(--bs-white) !important;
}

.footer-social-card {
    border: 2px solid var(--bs-warning, #ffc700) !important;
    background-color: rgba(255, 201, 0, 0.12);
    box-shadow: 4px 4px 0 0 var(--bs-warning, #ffc700);
}

.footer-social-card:hover {
    box-shadow: 2px 2px 0 0 var(--bs-warning, #ffc700);
    color: var(--bs-warning, #ffc700) !important;
}

.footer-lang-flag {
    display: block;
    object-fit: contain;
}

.footer .dropdown .btn-outline-warning {
    background-color: rgba(255, 201, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 201, 0, 0.7);
    color: var(--bs-white);
}

.footer .dropdown .btn-outline-warning:hover,
.footer .dropdown .btn-outline-warning:focus {
    color: var(--bs-white);
}

.footer .dropdown-menu-dark {
    background-color: rgba(255, 201, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 201, 0, 0.5);
}

.footer .dropdown-menu-dark .dropdown-item {
    color: var(--bs-white);
}

.footer .dropdown-menu-dark .dropdown-item:hover,
.footer .dropdown-menu-dark .dropdown-item:focus {
    color: var(--bs-white);
}

/* Language preference toggles (signup / dashboard settings) */
.language-toggle-grid .language-toggle-flag {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}
.language-toggle-grid .btn-check:checked + .language-toggle-label {
    background-color: var(--bs-warning);
    border-color: var(--bs-dark);
    color: var(--bs-dark);
    box-shadow: none;
}
.language-toggle-grid .btn-check:focus-visible + .language-toggle-label {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.45);
}
.dashboard-settings-panel {
    max-width: 100%;
}

/* Scrollable multi-language picker (checkbox rows + flag SVGs) */
.language-preferences-scroll {
    max-height: min(22rem, 55vh);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.language-preference-row {
    cursor: pointer;
}
/* Dashboard stats list: same layout as picker, no pointer / no strong hover */
.dashboard-views-by-lang .language-preference-row {
    cursor: default;
}
.dashboard-views-by-lang .language-preference-row:hover {
    background-color: rgba(0, 0, 0, 0.035);
}
.language-preference-row:last-child {
    border-bottom: none !important;
}
.language-preference-row:hover {
    background-color: rgba(255, 193, 7, 0.12);
}
.language-preference-row--english:not(.language-preference-row--selected) {
    background-color: rgba(25, 135, 84, 0.06);
}
.language-preference-row--english:not(.language-preference-row--selected):hover {
    background-color: rgba(25, 135, 84, 0.1);
}
.language-preference-row--selected {
    box-shadow: inset 4px 0 0 #198754;
    background-color: rgba(25, 135, 84, 0.12);
}
.language-preference-row--selected:hover {
    background-color: rgba(25, 135, 84, 0.16);
}
.language-preference-check {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0;
}
.language-flag-img {
    object-fit: cover;
    display: block;
}

/* Dashboard orders */
.dashboard-order-card .card-body {
    min-height: 8rem;
}

.dashboard-order-card-actions {
    display: flex;
    flex-flow: row nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.dashboard-order-card-actions > .btn.btn-warning {
    flex: 1 1 auto;
    min-width: 0;
}

button.dashboard-order-delete-icon {
    appearance: none;
    background: transparent;
    border: none;
    padding: 0.125rem;
    margin: 0;
    line-height: 1;
    color: #dc3545;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

button.dashboard-order-delete-icon:hover {
    color: #a71d2a;
}

button.dashboard-order-delete-icon:focus-visible {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

button.dashboard-order-delete-icon .bi {
    font-size: 1.35rem;
    line-height: 1;
}

.dashboard-order-swatch {
    width: 1.35rem;
    height: 1.35rem;
    display: inline-block;
    flex-shrink: 0;
}

.dashboard-orders-toolbar h1.h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.dashboard-order-status-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dashboard-order-status-card {
    appearance: none;
    border: 2px solid var(--order-status-color, #666);
    border-radius: 0.375rem;
    background: #fff;
    color: #111;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
    min-width: 4.5rem;
    text-align: center;
}

.dashboard-order-status-card:hover {
    box-shadow: 2px 2px 0 0 #000;
}

.dashboard-order-status-card.is-selected {
    background-color: var(--order-status-color, #666);
    color: var(--order-status-text, #fff);
    box-shadow: 3px 3px 0 0 #000;
}

.dashboard-order-status-card:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.dashboard-order-numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 16rem;
    margin-inline: auto;
}

.dashboard-order-numpad-key {
    appearance: none;
    border: 2px solid #000;
    border-radius: 0.375rem;
    background: #fff;
    color: #111;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    min-height: 2.75rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.1s ease, transform 0.08s ease;
}

.dashboard-order-numpad-key:hover {
    background: #f8f9fa;
}

.dashboard-order-numpad-key:active {
    transform: translate(1px, 1px);
}

.dashboard-order-numpad-key:focus-visible {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.dashboard-order-numpad-key--zero {
    grid-column: 2;
}

.dashboard-order-numpad-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    max-width: 16rem;
    margin-inline: auto;
}

.dashboard-order-numpad-key--wide {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.dashboard-order-numpad-key--clear {
    background: #fee2e2;
}

.dashboard-order-numpad-key--backspace {
    background: #e5e7eb;
}

.dashboard-order-code-display {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

/* File manager — Windows-like icon tiles (boxed items) */
.fm-explorer {
    --fm-tile-shadow: 3px 3px 0 0 var(--bs-black, #000);
}

.fm-explorer .fm-tile {
    box-shadow: var(--fm-tile-shadow);
    transition: box-shadow 0.12s ease, transform 0.12s ease;
}

.fm-explorer .fm-tile:hover {
    box-shadow: 4px 4px 0 0 var(--bs-black, #000);
    transform: translate(-1px, -1px);
}

.fm-explorer .fm-tile-body {
    min-height: 7.5rem;
}

.fm-explorer .fm-tile-thumb-wrap {
    width: 100%;
    max-width: 7.5rem;
    height: 5.75rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 0.25rem;
    background: #e9ecef;
    overflow: hidden;
}

.fm-explorer .fm-tile-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fm-explorer .fm-tile-thumb-wrap .fm-tile-thumb-fallback:not(.d-none) {
    font-size: 2.85rem;
    line-height: 1;
    color: #6c757d;
    filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.08));
}

.fm-explorer .fm-tile-icon-folder {
    font-size: 3.25rem;
    line-height: 1;
    color: #e8b931;
    filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.2));
}

.fm-explorer .fm-tile-icon-file {
    font-size: 2.85rem;
    line-height: 1;
    color: #6c757d;
    filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.08));
}

.fm-explorer .fm-tile-name {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.fm-explorer .fm-tile-actions {
    min-height: 2.75rem;
}

.fm-explorer a.fm-tile-body:hover .fm-tile-icon-folder {
    color: #f0c74a;
}

.fm-explorer a.fm-tile-body:focus-visible {
    outline: 2px solid var(--bs-dark);
    outline-offset: -2px;
}

/* Home: public plans — stacked on small screens, centered row on md+ */
.public-plans-preview-section .public-plans-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-inline: auto;
    padding: 0.2rem 0 0.25rem;
}

.public-plans-preview-section .public-plans-card {
    width: 100%;
    max-width: 22rem;
}

.public-plans-preview-section .public-plans-card-inner {
    border: 2px solid var(--bs-black, #000);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.12);
    padding: 1rem 1.1rem 1.15rem;
    min-height: 0;
}

.public-plans-preview-section .public-plans-card-duration {
    line-height: 1.35;
}

.public-plans-preview-section .public-plans-card-price-block {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #fffefb 0%, #fff 55%);
    padding: 0.65rem 0.85rem 0.7rem;
}

.public-plans-preview-section .public-plans-card-price-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #868e96;
    margin-bottom: 0.2rem;
}

.public-plans-preview-section .public-plans-card-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.35rem;
    line-height: 1;
}

.public-plans-preview-section .public-plans-card-price-currency {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bs-warning, #ffc107);
}

.public-plans-preview-section .public-plans-card-price-amount {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bs-black, #000);
}

.public-plans-preview-section .public-plans-card-price-note {
    margin-top: 0.45rem;
    line-height: 1.35;
}

.public-plans-preview-section .public-plans-card-features {
    margin-bottom: 0;
}

.public-plans-preview-section .public-plans-card-feature {
    padding: 0.28rem 0;
    line-height: 1.35;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.public-plans-preview-section .public-plans-card-feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.public-plans-preview-section .public-plans-card-feature .bi {
    color: var(--bs-warning, #ffc107);
    font-size: 1rem;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .public-plans-preview-section .public-plans-track {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1.15rem;
    }

    .public-plans-preview-section .public-plans-card {
        flex: 0 0 auto;
        width: min(20rem, 100%);
        max-width: 20.5rem;
    }

    .public-plans-preview-section .public-plans-card-inner {
        padding: 1.15rem 1.25rem 1.25rem;
    }

    .public-plans-preview-section .public-plans-card-price-amount {
        font-size: 2rem;
    }
}
