/*
Theme v2
*/

:root {
    --pink-color: #d95a9b;
    --lightpink-color: #e276ac;
    --whitepink-color: #ffffff;
    --graypink-color: #dbc3cf;
    --oldpink-color: #fbf7f5;
    --palepink-color: #f8ebf1;

    --green-color: #b6d38a;
    --lightgreen-color: #a9d9c2;

    --online-color: #94c7a4;
    --offline-color: #c7c2bc;
    --inline-color: #f0b26d;

    --radius-soft: 0.8rem;
    --radius-inner: 0.7rem;
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-soft-hover: 0 6px 14px rgba(0, 0, 0, 0.06);
    --control-height: 2.75rem;
    --control-height-sm: 2.25rem;
}

body {
    color: #2e2a27;
    background-color: #fdfcfc;
}

p {
    color: #6b6460;
}

a {
    color: var(--pink-color);
}

a:hover {
    color: var(--lightpink-color);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #3a3431;
    letter-spacing: 0.01em;
}

.bg-oldpink {
    background: linear-gradient(180deg, #fbf7f5 0%, #f6f1ef 100%);
}

@media (max-width: 767.98px) {
    /* Header nav: match the bottom tint of the header gradient to avoid a seam */
    #header-nav.bg-oldpink {
        background: #f6f1ef !important;
    }
}

.bg-whitepink {
    background-color: #ffffff;
}

.bg-palepink {
    background-color: #f8ebf1;
}

.bg-graypink {
    background-color: #dbc3cf;
}

.text-lightwhite {
    color: #e9dfd9;
}

.card,
.card-seer,
.card-seer-inline,
.card-seer-large,
.banner-warranties .banner-item {
    border-radius: var(--radius-soft) !important;
    box-shadow: var(--shadow-soft);
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.card .card-header,
.card-seer .card-header,
.card-seer-inline .card-header,
.card-seer-large .card-header {
    border-top-left-radius: var(--radius-soft) !important;
    border-top-right-radius: var(--radius-soft) !important;
}

.card .card-footer,
.card-seer .card-footer,
.card-seer-inline .card-footer,
.card-seer-large .card-footer {
    border-bottom-left-radius: var(--radius-soft) !important;
    border-bottom-right-radius: var(--radius-soft) !important;
}

.card-seer .card-footer,
.card-seer-inline .card-footer,
.card-seer-large .card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Main seer cards: keep only the shadowed separation, no top border */
.card-seer .card-footer.card-border-shadow {
    border-top: 0 !important;
}

.card .card-img-top,
.card picture:first-of-type > img,
.card > img:first-of-type,
.card picture:first-child > img,
.card > img:first-child {
    border-top-left-radius: var(--radius-soft) !important;
    border-top-right-radius: var(--radius-soft) !important;
}

.card .card-img-bottom,
.card picture:last-of-type > img,
.card > img:last-of-type,
.card picture:last-child > img,
.card > img:last-child {
    border-bottom-left-radius: var(--radius-soft) !important;
    border-bottom-right-radius: var(--radius-soft) !important;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes soft-reveal {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    #main > section:first-of-type picture,
    #main > section:first-of-type picture img,
    .toast,
    .modal-content {
        animation: soft-reveal 0.45s ease-out both;
    }
}

/* Modals: soft, clean surfaces */
.modal-content {
    border-radius: var(--radius-soft);
    border-color: rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-soft-hover);
    background-color: #ffffff;
}

.modal-header {
    border-bottom: 0;
    padding: 1rem 1.25rem;
    background: #fffcfb;
}

.modal-title {
    color: #3a3431;
    letter-spacing: 0.02em;
}

.modal-body {
    padding: 1rem 1.25rem;
    color: #5e5753;
}

.modal-footer {
    border-top: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.5rem;
}

.modal .btn-close {
    opacity: 0.6;
}

.modal .btn-close:hover {
    opacity: 0.9;
}

.modal-backdrop.show {
    background-color: #1f1a18;
    opacity: 0.35;
}

/* Seer columns: square inner cards, keep rounded corners only on the list edges */
.column-seers > .col > .card {
    border-radius: 0 !important;
}

.column-seers > .col:first-child > .card {
    border-top-left-radius: var(--radius-soft) !important;
    border-top-right-radius: var(--radius-soft) !important;
}

.column-seers > .col:last-child > .card {
    border-bottom-left-radius: var(--radius-soft) !important;
    border-bottom-right-radius: var(--radius-soft) !important;
}

.fancy-title {
    letter-spacing: 0.2em;
}

.fancy-title span::before,
.fancy-title span::after {
    height: 2px;
    border-top: 0;
    border-bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.title-upper {
    letter-spacing: 0.08em;
}

.btn,
.form-control,
.form-select {
    border-radius: var(--radius-inner) !important;
    border-color: #f1ecea;
}

.form-control,
.form-select {
    min-height: var(--control-height);
    line-height: 1.2;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.btn.avatar-xxs {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn.avatar-xxs .bi {
    line-height: 1;
}

.step-progress-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 2rem;
    height: 2rem;
    min-height: 2rem;
    line-height: 1;
}

.step-progress-btn span,
.step-progress-btn .bi {
    line-height: 1;
}

.btn.avatar-xxs:disabled,
.btn.avatar-xxs.disabled {
    opacity: 1;
    background-color: #f8f6f5;
    border-color: #e7e1de;
    color: #7c7570;
}

.btn {
    padding: 0.6rem 1.1rem;
    min-height: var(--control-height);
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    min-height: var(--control-height-sm);
    line-height: 1.1;
}

/* Free seer steps: keep the original stacked layout */
.js-step-item .btn {
    display: block;
    min-height: auto;
    line-height: 1.2;
    text-align: center;
    gap: 0;
}

/* Restore pill rounding on buttons that explicitly request it */
.btn.rounded-pill {
    border-radius: 50rem !important;
}

.btn.rounded-pill-start {
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn.rounded-pill-end {
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.btn.rounded-pill-top {
    border-top-left-radius: 50rem !important;
    border-top-right-radius: 50rem !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn.rounded-pill-bottom {
    border-bottom-left-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.btn.btn-items {
    display: block;
    width: 100%;
    min-height: auto;
    padding: 0;
    align-items: stretch;
    justify-content: unset;
}

.form-control-sm,
.form-select-sm {
    min-height: var(--control-height-sm);
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.btn-pink {
    background: linear-gradient(135deg, var(--lightpink-color) 0%, var(--pink-color) 100%);
    border-color: var(--pink-color);
    text-shadow: none;
}

.btn-pink:hover {
    background: linear-gradient(135deg, #e884b5 0%, #cc4f90 100%);
    border-color: #cc4f90;
}

.btn-green-gradient {
    background: linear-gradient(135deg, #b6d38a 0%, #a9d9c2 100%);
    border-color: #a9d9c2;
    text-shadow: none;
}

.btn-green-gradient:hover {
    opacity: 0.92;
}

.btn-green {
    background: linear-gradient(135deg, #b6d38a 0%, #a9d9c2 100%);
    border-color: #a9d9c2;
    color: #fff;
    text-shadow: none;
}

.btn-green:hover {
    color: #fff;
    opacity: 0.92;
}

.btn-shadow,
.btn-shadow:hover {
    box-shadow: none;
}

.btn-link.link-pink {
    background-color: rgba(217, 90, 155, 0.08);
    border-color: transparent;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.btn-link.link-pink:hover {
    background-color: rgba(217, 90, 155, 0.14);
    color: var(--pink-color);
}

.navbar-main .nav-link {
    color: #2e2a27;
}

.navbar-main .nav-link.active {
    color: var(--pink-color);
    text-shadow: none;
}

.navbar-main .nav-link:hover {
    color: var(--lightpink-color);
}

.input-group:not(.bubble-search):not(.bubble-lg) {
    gap: 0.35rem;
}

.input-group > :not(:first-child) {
    margin-left: 0 !important;
}

.input-group > .btn,
.input-group > .form-control,
.input-group > .form-select {
    border-radius: var(--radius-inner) !important;
}

/* Seer filter service buttons: add gap */
#seers-filter .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

#seers-filter .btn-group > .btn,
#seers-filter .btn-group > .btn-group {
    margin-left: 0 !important;
}

#seers-filter .btn-group .btn {
    border-radius: var(--radius-inner) !important;
}

/* Modernize search inputs (bubble) without HTML changes */
.bubble-search,
.bubble-lg {
    background-color: #ffffff;
    border: 1px solid #f0e9e6;
    border-radius: 999px !important;
    padding: 0.15rem;
    gap: 0;
}

.bubble-search-control {
    background-color: transparent !important;
    border-color: transparent !important;
    padding: 0.55rem 1.1rem;
    font-size: 0.95rem;
}

.bubble-lg > .bubble-search-control {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
}

.bubble-search-btn {
    background-color: transparent !important;
    border-color: transparent !important;
    padding: 0.55rem 0.95rem;
    border-radius: 999px !important;
}

.bubble-lg > .bubble-search-btn {
    padding: 0.6rem 1.2rem;
}

.bubble-search-btn:hover {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

.bubble-search .bubble-search-control:first-child,
.bubble-lg .bubble-search-control:first-child {
    border-top-left-radius: 999px !important;
    border-bottom-left-radius: 999px !important;
}

.bubble-search .bubble-search-btn,
.bubble-lg .bubble-search-btn {
    border-top-right-radius: 999px !important;
    border-bottom-right-radius: 999px !important;
}

.bubble-lg .icon-bar {
    margin: 0 0.25rem;
    border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.bubble-search-control::placeholder,
.bubble-whitepink .bubble-search-control::placeholder {
    color: #b1a7a2;
}

/* Purchase packs: ensure button fits + subtle lift */
.card-pack {
    cursor: pointer;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-pack:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft-hover);
}

.card-pack .card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem 0.85rem;
}

.card-pack .card-btn {
    min-height: var(--control-height-sm);
    padding: 0.35rem 1.1rem;
    background: linear-gradient(135deg, #f2a9c8 0%, #dd5a9c 100%);
    border-color: #dd5a9c;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(221, 90, 156, 0.25);
}

.card-pack .card-btn:hover,
.card-pack .card-btn:focus {
    background: linear-gradient(135deg, #f6b6d2 0%, #d64f94 100%);
    border-color: #d64f94;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(221, 90, 156, 0.3);
}

.banner-warranties {
    gap: 0.6rem;
}

.banner-warranties .banner-item {
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: #ffffff;
    padding: 0.85rem 0.75rem;
    border-radius: var(--radius-soft) !important;
}

.banner-warranties.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.75rem;
}

.banner-warranties .banner-item .border-end {
    border-right: 0 !important;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fffcfb;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin: 0 auto;
}

.banner-warranties img {
    border-radius: var(--radius-soft) !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 575.98px) {
    .banner-warranties .banner-item {
        border: 0 !important;
        box-shadow: none !important;
        background: transparent;
        padding: 0.6rem 0.5rem;
    }
    .banner-warranties .banner-item .border-end {
        border: 0;
        background: transparent;
    }
    .banner-warranties img {
        border: 0;
    }
}

@media (max-width: 450px) {
    .row-seers > .col:not(:last-child) {
        border-bottom: 0 !important;
    }
}

/* Suggestion card: square on left edge, rounded on right */
#suggestion.card-outside {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: var(--radius-soft) !important;
    border-bottom-right-radius: var(--radius-soft) !important;
}

#suggestion.card-outside .card-btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: var(--radius-soft) !important;
    border-bottom-right-radius: var(--radius-soft) !important;
}

.toast {
    box-shadow: none;
    overflow: hidden;
    background-clip: padding-box;
    border-radius: var(--radius-soft) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.toast-header,
.toast-body {
    background-color: transparent;
}

.navbar-main .navbar-nav.border-top,
.navbar-main .navbar-nav.border-lightgrey {
    border-top: 0 !important;
}

.text-muted,
.text-lightgray {
    color: #9a908a !important;
}

.star,
.star-info {
    color: #9a908a;
}

.star-gold,
.star-1 i:first-child,
.star-2 i:first-child,
.star-2 i:nth-child(2),
.star-3 i:first-child,
.star-3 i:nth-child(2),
.star-3 i:nth-child(3),
.star-4 i:first-child,
.star-4 i:nth-child(2),
.star-4 i:nth-child(3),
.star-4 i:nth-child(4),
.star-5 i:first-child,
.star-5 i:nth-child(2),
.star-5 i:nth-child(3),
.star-5 i:nth-child(4),
.star-5 i:last-child {
    color: #d3b17b;
}

.link-secondary {
    color: #6f655f;
}

.link-secondary:hover {
    color: var(--pink-color);
}

/* Carousel shadow breathing room */
.glide {
    overflow: visible;
}

.glide__track {
    overflow: visible;
}

.glide__slides {
    padding-bottom: 0.6rem;
}
