/* ==========================================
   wikopn Components CSS (Buttons, Cards, Forms, Modals)
   Universal E-Commerce Palette
   ========================================== */

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 0.48rem 1.25rem;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(240, 33, 33, 0.2);
    transition: all var(--transition-bounce);
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 18px rgba(240, 33, 33, 0.28);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(240, 33, 33, 0.22);
}

.btn-sm {
    padding: 0.32rem 0.85rem;
    font-size: 0.78rem;
}

.btn-danger {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.25);
}

.btn-danger:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ===== FORM CONTROLS ===== */
.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.78rem 1.3rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

textarea.form-control {
    border-radius: var(--radius-md);
    min-height: 120px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(240, 33, 33, 0.12);
    background: #ffffff;
}

/* ===== FILTER BAR & PILLS ===== */
/* ===== PROFESSIONAL E-COMMERCE FILTER SYSTEM ===== */
.pro-filter-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

/* Category Strip */
.pro-filter-categories {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 33, 33, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

.pro-filter-categories::-webkit-scrollbar {
    height: 4px;
}

.pro-filter-categories::-webkit-scrollbar-thumb {
    background: rgba(240, 33, 33, 0.3);
    border-radius: 4px;
}

.cat-pill {
    background: #f8f9fa;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.15rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    color: #111111;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    user-select: none;
}

.cat-pill i {
    font-size: 0.95rem;
    color: #6b7280;
    transition: color 0.2s;
}

.cat-pill img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.cat-pill:hover {
    background: #fff1f1;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cat-pill:hover i {
    color: var(--primary-color);
}

.cat-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(240, 33, 33, 0.3);
}

.cat-pill.active i {
    color: #ffffff;
}

/* Toolbar (Search + Dropdowns) */
.pro-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-top: 0;
    border-top: none;
}

.filter-search-box {
    position: relative;
    flex: 1 1 auto;
    max-width: 380px;
    width: 100%;
    display: flex;
    align-items: center;
}

.filter-search-box i.fa-search {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

.filter-search-box input {
    width: 100%;
    padding: 0.65rem 2.2rem 0.65rem 2.4rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-color);
    background: #f8f9fa;
    font-family: inherit;
    font-size: 0.88rem;
    color: #111111;
    outline: none;
    transition: all 0.2s;
}

.filter-search-box input:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(240, 33, 33, 0.12);
}

.clear-search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search-btn:hover {
    color: #111111;
}

.filter-controls-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* Dropdown Buttons */
.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.15rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    color: #111111;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    user-select: none;
    box-shadow: var(--shadow-xs);
}

.filter-dropdown-btn i {
    font-size: 0.85rem;
    color: #6b7280;
}

.filter-dropdown-btn .arrow-icon {
    font-size: 0.72rem;
    transition: transform 0.2s;
}

.filter-dropdown.open .filter-dropdown-btn .arrow-icon {
    transform: rotate(180deg);
}

.filter-dropdown-btn:hover,
.filter-dropdown.open .filter-dropdown-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff1f1;
}

.filter-dropdown-btn:hover i,
.filter-dropdown.open .filter-dropdown-btn i {
    color: var(--primary-color);
}

.filter-dropdown-btn.has-value {
    background: #fff1f1;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.filter-dropdown-btn.has-value i {
    color: var(--primary-color);
}

/* Dropdown Panels */
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
    min-width: 220px;
    z-index: 100;
    display: none;
    animation: fadeInDown 0.2s ease;
}

.filter-dropdown.open .filter-dropdown-menu {
    display: block;
}

@keyframes fadeInDown {
    from { opacity: 0; }
    to { opacity: 1; }
}

.filter-dropdown-menu.category-menu {
    min-width: 250px;
}

.filter-dropdown-menu.price-menu {
    min-width: 270px;
}

.filter-options-scroll {
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 33, 33, 0.3) transparent;
}

.filter-options-scroll::-webkit-scrollbar {
    width: 4px;
}

.filter-options-scroll::-webkit-scrollbar-thumb {
    background: rgba(240, 33, 33, 0.3);
    border-radius: 4px;
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
}

.filter-item-icon-wrap {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.filter-item-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.mobile-sheet-header {
    display: none;
    padding: 0.75rem 1rem 0.6rem;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-sheet-header:active {
    cursor: grabbing;
}

.mobile-sheet-handle {
    width: 44px;
    height: 5px;
    background: #d1d5db;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    cursor: grab;
    transition: background-color 0.2s, transform 0.2s;
    position: relative;
}

.mobile-sheet-handle::before {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -20px;
    right: -20px;
}

.mobile-sheet-header:hover .mobile-sheet-handle,
.mobile-sheet-header:active .mobile-sheet-handle {
    background: #9ca3af;
    transform: scaleX(1.08);
}

.mobile-sheet-title-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-sheet-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-sheet-title i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.mobile-sheet-close {
    background: #f3f4f6;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    color: #4b5563;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.mobile-sheet-close:hover {
    background: #fee2e2;
    color: var(--primary-color);
}

.mobile-sheet-footer {
    display: none;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.btn-sheet-apply {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(240, 33, 33, 0.3);
    transition: background 0.2s;
}

.btn-sheet-apply:hover {
    background: var(--primary-dark);
}

/* Backdrop */
.filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.price-presets,
.type-options,
.sort-options {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.filter-radio-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: #111111;
    transition: background 0.15s;
    user-select: none;
}

.filter-radio-label:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.filter-radio-label:has(input[type="radio"]:checked) {
    color: var(--primary-color);
    font-weight: 600;
}

.filter-radio-label input[type="radio"] {
    accent-color: var(--primary-color);
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.custom-price-box {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--border-color);
}

.custom-price-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

.custom-price-inputs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.price-field {
    position: relative;
    flex: 1;
}

.price-field span {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
}

.price-field input {
    width: 100%;
    padding: 0.45rem 0.5rem 0.45rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

.price-field input:focus {
    border-color: var(--primary-color);
}

.btn-apply-price {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-apply-price:hover {
    background: var(--primary-dark);
}

/* Status Bar & Active Chips */
.pro-filter-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #4b5563;
}

.results-count strong {
    color: #111111;
    font-weight: 800;
}

.active-chips-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff1f1;
    border: 1px solid #ffd0d0;
    color: var(--primary-color);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.filter-chip button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.8;
}

.filter-chip button:hover {
    opacity: 1;
    transform: scale(1.15);
}

.btn-clear-filters {
    background: none;
    border: none;
    color: #dc2626;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.btn-clear-filters:hover {
    background: #fee2e2;
}

/* Smooth Product Grid Transition */
#productGrid.is-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.2s ease;
    filter: grayscale(20%);
}

/* Legacy Filter Bar compatibility */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 0.8rem;
    margin-bottom: 2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-btn {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.4rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    color: #111111;
    cursor: pointer;
    transition: all var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: var(--shadow-xs);
}

.filter-btn i {
    font-size: 1.05rem;
    color: #111111;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.filter-btn img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid #111111;
}

.filter-btn:hover {
    background: var(--primary-tint);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover i {
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(240, 33, 33, 0.28);
}

.filter-btn.active i {
    color: #ffffff;
}

.filter-btn.active img {
    border-color: #ffffff;
}

.filter-btn.active:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 22px rgba(240, 33, 33, 0.35);
}

/* ===== PRODUCT GRID & CARDS ===== */
.products-section {
    padding: 1.5rem 0 2.5rem;
}

.products-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.products-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.products-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(240, 33, 33, 0.22);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.products-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.products-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 250px);
    gap: 1.6rem;
    width: 100%;
    justify-content: center;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, 250px);
        gap: 1.2rem;
        justify-content: center;
    }
}

.product-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #edf1f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 250px;
    max-width: 250px;
    min-width: 250px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.product-card-badge-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    pointer-events: none;
}

.product-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
}

.product-img-box {
    position: relative;
    width: 100%;
    height: 312px;
    aspect-ratio: 4 / 5;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f4f9;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.product-emoji-placeholder {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

/* Rating Pill Badge (bottom-left of image - Reference Style) */
.product-rating-pill {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0;
    padding: 2px 7px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    z-index: 4;
    pointer-events: none;
    line-height: 1;
}

.product-rating-pill .rating-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.product-rating-pill .rating-star {
    font-size: 0.65rem;
    color: #16a34a;
    line-height: 1;
}

/* Wishlist Heart Button (top-right of image) */
.product-quick-wish {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    z-index: 5;
}

.product-quick-wish:hover {
    background: #fff1f2;
    color: #ef4444;
    border-color: #fecdd3;
    transform: scale(1.1);
}

.product-quick-wish.active,
.product-quick-wish.in-wishlist,
.product-quick-wish i.fas {
    color: #ef4444 !important;
}

.product-quick-wish.active,
.product-quick-wish.in-wishlist {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
}

.product-card-content {
    padding: 0.75rem 0.8rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    justify-content: flex-start;
}

.product-card-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.product-card:hover .product-card-name a {
    color: var(--primary-color, #e53935);
}

/* Price Row */
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.product-mrp {
    font-size: 0.76rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.product-selling-price {
    font-size: 0.98rem;
    color: #111827;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.product-discount-pill {
    font-size: 0.72rem;
    font-weight: 700;
    color: #16a34a;
}

.load-more-wrap {
    width: 100%;
    clear: both;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.35rem;
    background: #ffffff;
    color: #111111;
    border: 1.5px solid var(--primary-color);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(240, 33, 33, 0.08);
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(240, 33, 33, 0.25);
}

/* ===== BADGES (Admin / Status) ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background: #e8f5e9;
    color: var(--success-color);
}

.badge-warning {
    background: #fff3e0;
    color: var(--warning-color);
}

.badge-info {
    background: #e1f5fe;
    color: var(--info-color);
}

.badge-danger {
    background: #ffebee;
    color: var(--accent-color);
}

/* ===== PRODUCT BADGE GROUP (Card Overlays) ===== */
.product-badge-group {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-badge i {
    font-size: 0.6rem;
    opacity: 0.9;
}

/* Badge Color Variants — Universal */
.product-badge--new {
    background: rgba(0, 184, 217, 0.15);
    color: #006b82;
    border: 1px solid rgba(0, 184, 217, 0.30);
}

.product-badge--sale {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.product-badge--bestseller {
    background: rgba(255, 209, 102, 0.20);
    color: #7a5800;
    border: 1px solid rgba(255, 209, 102, 0.38);
}

.product-badge--organic {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.product-badge--limited {
    background: rgba(240, 33, 33, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(240, 33, 33, 0.28);
}

.product-badge--featured {
    background: rgba(255, 107, 53, 0.15);
    color: #9a3412;
    border: 1px solid rgba(255, 107, 53, 0.28);
    position: relative;
    overflow: hidden;
}

/* Shimmer animation for featured badge */
.product-badge--featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: badge-shimmer 2.5s ease-in-out infinite;
}

@keyframes badge-shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 120%;
    }
}

/* Default/generic fallback */
.product-badge--default {
    background: linear-gradient(135deg, rgba(55, 71, 79, 0.92), rgba(69, 90, 100, 0.85));
    color: #ffffff;
}

/* ===== ALERTS & TOASTS ===== */
.alert {
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-info {
    background: #e1f5fe;
    color: #0277bd;
    border: 1px solid #b3e5fc;
}

/* ===== CART SIDEBAR OVERLAY ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 23, 23, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: flex-end;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    display: flex;
}

.cart-panel {
    background: #ffffff;
    width: 420px;
    max-width: 92vw;
    height: 100%;
    padding: 2rem 1.6rem;
    overflow-y: auto;
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: cartSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartSlideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-deep);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-subtle);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cart-close:hover {
    color: #ffffff;
    background: var(--accent-color);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    list-style: none;
    margin-bottom: 1.2rem;
    padding: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    gap: 0.8rem;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.92rem;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff0f0;
    color: var(--accent-color);
    cursor: pointer;
    border: 1px solid #ffd8d8;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: scale(1.1);
}

.cart-total {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-deep);
    border-top: 2px solid var(--primary-tint);
    padding-top: 1.2rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.cart-actions .btn {
    flex: 1;
    text-align: center;
}

/* ===== GLOBAL PAGINATION COMPONENT ===== */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-muted, #666);
    font-weight: 500;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border-radius: var(--radius-md, 8px);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary, #2d3748);
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #e8f5e9;
    border-color: var(--primary-color, #2e7d32);
    color: var(--primary-color, #2e7d32);
}

.pagination .active span,
.pagination span.active {
    background: var(--primary-color, #2e7d32);
    color: #ffffff;
    border-color: var(--primary-color, #2e7d32);
    box-shadow: 0 3px 8px rgba(46, 125, 50, 0.25);
}

.pagination .disabled span {
    color: #a0aec0;
    background: #f7fafc;
    border-color: #edf2f7;
    cursor: not-allowed;
}

/* ===== DATE FILTER BAR ===== */
.date-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.date-filter-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.date-preset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill, 50px);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary, #2d3748);
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.date-preset-btn i {
    font-size: 0.85rem;
    color: var(--text-muted, #a0aec0);
    transition: color 0.2s;
}

.date-preset-btn:hover {
    background: #e8f5e9;
    border-color: var(--primary-color, #2e7d32);
    color: var(--primary-deep, #1b5e20);
}

.date-preset-btn:hover i {
    color: var(--primary-color, #2e7d32);
}

.date-preset-btn.active {
    background: var(--primary-color, #2e7d32);
    border-color: var(--primary-color, #2e7d32);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.25);
}

.date-preset-btn.active i {
    color: #ffffff;
}

.date-filter-custom {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.date-filter-fields {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.date-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.date-field label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted, #718096);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-field input[type="date"] {
    padding: 0.4rem 0.6rem;
    font-size: 0.82rem;
    min-width: 140px;
    border-radius: var(--radius-md, 8px);
    border: 1px solid #e2e8f0;
}

.date-filter-custom .btn {
    align-self: flex-end;
}

@media (max-width: 768px) {
    .date-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .date-filter-custom {
        margin-left: 0;
    }

    .date-filter-presets {
        justify-content: flex-start;
    }
}

/* ===== PRODUCT EDIT/ADD FULL PAGE RESPONSIVENESS ===== */
.product-edit-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 1.5rem;
    align-items: start;
}

.form-row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-row .form-group {
    flex: 1;
}

.form-row .form-group.flex-2 {
    flex: 2;
}

@media (max-width: 992px) {
    .product-edit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .form-row .form-group,
    .form-row .form-group.flex-2 {
        flex: none;
        width: 100%;
    }
}

/* ===== WISHLIST CARD ACTIONS ===== */
.wishlist-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-move-cart {
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(240, 33, 33, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-move-cart:hover {
    box-shadow: 0 4px 12px rgba(240, 33, 33, 0.28);
}

.btn-remove-wishlist {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff0f0;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-remove-wishlist:hover {
    background: #d32f2f;
    color: #ffffff;
    border-color: #d32f2f;
    transform: scale(1.08);
}

.out-of-stock-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #c62828;
    background: #ffebee;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #ffcdd2;
}

/* ==========================================================================
   WIKOPN OFFLINE / NO-INTERNET SYSTEM (HEADER & FOOTER REMAIN VISIBLE)
   ========================================================================== */

/* When offline, hide the main page sections between header and footer */
body.is-offline > :not(.navbar):not(#wikopnOfflineScreen):not(#wikopnOfflineToast):not(#wikopnOnlineToast):not(.footer):not(#mobileBottomBar):not(#cartOverlay):not(script):not(style) {
    display: none !important;
}

body.is-offline {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.is-offline .footer {
    margin-top: auto;
}

body.is-offline #wikopnOfflineScreen {
    display: flex !important;
}

.wikopn-offline-screen {
    display: none;
    flex: 1 0 auto;
    width: 100%;
    min-height: calc(100vh - 220px);
    padding: 3.5rem 1.25rem 5rem 1.25rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    animation: offlineFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes offlineFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offline-screen-container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.offline-card {
    background: #ffffff;
    border: 1.5px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: 3rem 2.25rem;
    text-align: center;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.offline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f02121, #f59e0b, #f02121);
    background-size: 200% 100%;
    animation: offlineAccentShift 3s ease infinite;
}

@keyframes offlineAccentShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.offline-illustration {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.65rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offline-pulse-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(240, 33, 33, 0.08);
    animation: offlinePulseRing 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.offline-pulse-circle.outer {
    inset: -12px;
    background: rgba(240, 33, 33, 0.04);
    animation: offlinePulseRing 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite 0.6s;
}

@keyframes offlinePulseRing {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.85);
        opacity: 0.8;
    }
}

.offline-icon-box {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
    border: 2px solid rgba(240, 33, 33, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e11d48;
    box-shadow: 0 8px 20px -4px rgba(225, 29, 72, 0.22);
}

.offline-svg-icon {
    width: 38px;
    height: 38px;
    stroke: #e11d48;
    display: block;
}

.offline-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #b91c1c;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.offline-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    animation: offlineDotBlink 1.5s ease-in-out infinite;
}

@keyframes offlineDotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.75); }
}

.offline-heading {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.offline-subtext {
    font-size: 0.94rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 auto 1.65rem auto;
    max-width: 440px;
}

.offline-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.85rem;
}

.btn-offline-retry {
    background: var(--primary-color, #f02121);
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.65rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(240, 33, 33, 0.35);
    transition: all 0.22s ease;
}

.btn-offline-retry:hover {
    background: #d81818;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 33, 33, 0.42);
}

.btn-offline-retry:active {
    transform: translateY(0);
}

.btn-offline-retry.is-checking {
    pointer-events: none;
    opacity: 0.85;
}

.btn-offline-retry.is-checking .btn-retry-icon {
    animation: offlineSpin 0.8s linear infinite;
}

.btn-offline-retry.is-shaking {
    animation: offlineShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes offlineSpin {
    100% { transform: rotate(360deg); }
}

@keyframes offlineShake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.btn-offline-home {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-offline-home:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

.offline-quick-tips {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    border: 1px dashed #cbd5e1;
    text-align: left;
}

.offline-tip-item {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
}

.offline-tip-item:last-child {
    margin-bottom: 0;
}

.offline-tip-item svg {
    stroke: #10b981;
    flex-shrink: 0;
}

/* Floating Online Restored Toast */
.wikopn-online-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1.45rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wikopn-online-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.wikopn-online-toast svg {
    stroke: #22c55e;
}

/* Floating Offline Warning Toast (when user clicks links while offline) */
.wikopn-offline-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90vw;
}

.wikopn-offline-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.wikopn-offline-toast svg {
    stroke: #f87171;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .wikopn-offline-screen {
        padding: 2.5rem 1rem 4.5rem 1rem;
        min-height: calc(100vh - 180px);
    }
    .offline-card {
        padding: 2.25rem 1.25rem;
        border-radius: 20px;
    }
    .offline-heading {
        font-size: 1.4rem;
    }
    .offline-subtext {
        font-size: 0.88rem;
    }
    .offline-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-offline-retry, .btn-offline-home {
        width: 100%;
        justify-content: center;
    }
}