/**
 * LFWLR Shared Wishlist Page
 * Layout and styles match My Wishlists page: page header + card + share panel + item rows.
 */

/* ---------------------------------------------------------------
 * Page wrapper
 * ------------------------------------------------------------- */

.lfwlr-shared-page-wrap {
    max-width: 960px;
    margin: 40px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.lfwlr-shared-page {
    box-sizing: border-box;
    font-family: var(--lfwlr-font-family) !important;
    font-size: var(--lfwlr-font-size) !important;
    line-height: var(--lfwlr-line-height) !important;
    color: var(--lfwlr-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lfwlr-shared-page *,
.lfwlr-shared-page *::before,
.lfwlr-shared-page *::after {
    box-sizing: border-box !important;
}

/* ---------------------------------------------------------------
 * Page Header (same as wishlist-page)
 * ------------------------------------------------------------- */

.lfwlr-shared-page .lfwlr-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.lfwlr-shared-page .lfwlr-page-header__registry-badge {
    color: var(--lfwlr-primary);
    font-weight: 500;
}

.lfwlr-shared-page .lfwlr-page-header__registry-badge--fulfilled {
    margin-left: 8px;
    font-weight: 600;
    color: var(--lfwlr-primary);
}

.lfwlr-shared-page .lfwlr-page-header__registry-progress {
    font-size: var(--lfwlr-font-size-sm);
    color: var(--lfwlr-text-muted);
    margin-top: 4px;
}

.lfwlr-shared-page .lfwlr-wishlist-card--registry-fulfilled .lfwlr-item-row__actions .lfwlr-icon-btn--cart,
.lfwlr-shared-page .lfwlr-wishlist-card--registry-fulfilled .lfwlr-item-row__actions .lfwlr-icon-btn--cart,
.lfwlr-shared-page .lfwlr-wishlist-card--registry-fulfilled .lfwlr-item-row__actions .lfwlr-icon-btn--options,
.lfwlr-shared-page .lfwlr-wishlist-card--registry-fulfilled .lfwlr-item-row__actions .lfwlr-icon-btn--options {
    pointer-events: none;
    opacity: 0.5;
}

.lfwlr-shared-page .lfwlr-registry-fulfilled-notice,
.lfwlr-shared-page .lfwlr-registry-fulfilled-notice,
.lfwlr-shared-page .lfwlr-registry-fulfilled-notice,
.lfwlr-shared-page .lfwlr-registry-fulfilled-notice {
    padding: 10px 20px;
    margin: 0 20px 12px;
    background: var(--lfwlr-bg-secondary);
    border-radius: var(--lfwlr-radius-sm);
    font-size: var(--lfwlr-font-size-sm);
    color: var(--lfwlr-text-muted);
    text-align: center;
}

.lfwlr-shared-page .lfwlr-page-header__label {
    display: block;
    font-size: var(--lfwlr-font-size-xs) !important;
    font-weight: 600 !important;
    color: var(--lfwlr-text-muted) !important;
    margin: 0 0 4px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lfwlr-shared-page .lfwlr-page-header__title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--lfwlr-text) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
}

.lfwlr-shared-page .lfwlr-page-header__meta {
    font-size: var(--lfwlr-font-size-sm) !important;
    color: var(--lfwlr-text-muted) !important;
    margin: 0 !important;
}

.lfwlr-shared-page .lfwlr-page-header__desc {
    font-size: var(--lfwlr-font-size) !important;
    color: var(--lfwlr-text-secondary) !important;
    margin: 4px 0 0 0 !important;
}

.lfwlr-shared-page .lfwlr-page-header__right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
 * Buttons (same as wishlist-page)
 * ------------------------------------------------------------- */

.lfwlr-shared-page .lfwlr-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    border: none !important;
    border-radius: var(--lfwlr-radius-sm) !important;
    font-size: var(--lfwlr-font-size) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all var(--lfwlr-transition) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
    outline: none !important;
    font-family: var(--lfwlr-font-family) !important;
}

.lfwlr-shared-page .lfwlr-btn--primary {
    background: var(--lfwlr-text) !important;
    color: var(--lfwlr-bg) !important;
}

.lfwlr-shared-page .lfwlr-btn--primary:hover:not(:disabled) {
    background: var(--lfwlr-primary-hover) !important;
    color: var(--lfwlr-bg) !important;
    transform: translateY(-1px);
    box-shadow: var(--lfwlr-shadow-sm) !important;
}

.lfwlr-shared-page .lfwlr-btn--primary:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.lfwlr-shared-page .lfwlr-btn--outline {
    background: var(--lfwlr-bg) !important;
    color: var(--lfwlr-text) !important;
    border: 1.5px solid var(--lfwlr-border) !important;
}

.lfwlr-shared-page .lfwlr-btn--outline:hover {
    border-color: var(--lfwlr-primary-hover) !important;
    color: var(--lfwlr-primary-hover) !important;
    background: var(--lfwlr-primary-light) !important;
    transform: translateY(-1px);
}

.lfwlr-shared-page .lfwlr-btn--sm {
    padding: 8px 14px !important;
    font-size: var(--lfwlr-font-size-sm) !important;
}

/* ---------------------------------------------------------------
 * Wishlist Card (same as wishlist-page card)
 * ------------------------------------------------------------- */

.lfwlr-shared-page .lfwlr-wishlist-card {
    background: var(--lfwlr-bg);
    border: 1px solid var(--lfwlr-border);
    border-radius: var(--lfwlr-radius) !important;
    overflow: hidden;
    transition: all var(--lfwlr-transition);
    box-shadow: none;
}

.lfwlr-shared-page .lfwlr-wishlist-card:hover {
    border-color: var(--lfwlr-border);
    box-shadow: var(--lfwlr-shadow-sm);
}

.lfwlr-shared-page .lfwlr-wishlist-card--expanded {
    box-shadow: var(--lfwlr-shadow-sm);
    border-color: var(--lfwlr-border);
}

.lfwlr-shared-page .lfwlr-wishlist-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    transition: background var(--lfwlr-transition);
}

.lfwlr-shared-page .lfwlr-wishlist-card__header--static {
    cursor: default;
}

.lfwlr-shared-page .lfwlr-wishlist-card__header:hover {
    background: var(--lfwlr-bg-secondary);
}

.lfwlr-shared-page .lfwlr-wishlist-card__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.lfwlr-shared-page .lfwlr-wishlist-card__icon svg {
    width: 100%;
    height: 100%;
    color: var(--lfwlr-primary);
}

.lfwlr-shared-page .lfwlr-wishlist-card__info {
    flex: 1;
    min-width: 0;
}

.lfwlr-shared-page .lfwlr-wishlist-card__title {
    display: block;
    font-weight: 600;
    color: var(--lfwlr-text);
    font-size: var(--lfwlr-font-size) !important;
}

.lfwlr-shared-page .lfwlr-wishlist-card__count {
    display: block;
    font-size: var(--lfwlr-font-size-xs) !important;
    color: var(--lfwlr-text-muted);
    margin-top: 2px;
}

.lfwlr-shared-page .lfwlr-wishlist-card__progress-bar-wrap {
    display: block;
    height: 6px;
    background: var(--lfwlr-border-light);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.lfwlr-shared-page .lfwlr-wishlist-card__progress-bar {
    display: block;
    height: 100%;
    background: var(--lfwlr-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ---------------------------------------------------------------
 * Share Panel (same as wishlist-page)
 * ------------------------------------------------------------- */

.lfwlr-shared-page .lfwlr-share-panel,
.lfwlr-shared-page .lfwlr-share-panel {
    padding: 16px 20px;
    border-top: 1px solid var(--lfwlr-border-light);
    background: var(--lfwlr-bg-secondary);
}

.lfwlr-shared-page .lfwlr-share-panel__row,
.lfwlr-shared-page .lfwlr-share-panel__row {
    margin-bottom: 12px;
}

.lfwlr-shared-page .lfwlr-share-panel__url-group,
.lfwlr-shared-page .lfwlr-share-panel__url-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lfwlr-shared-page .lfwlr-share-panel__url-input,
.lfwlr-shared-page .lfwlr-share-panel__url-input {
    flex: 1 !important;
    padding: 9px 12px !important;
    border: 1.5px solid var(--lfwlr-border) !important;
    border-radius: var(--lfwlr-radius-sm) !important;
    font-size: var(--lfwlr-font-size-sm) !important;
    color: var(--lfwlr-text-secondary) !important;
    background: var(--lfwlr-bg) !important;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    font-family: var(--lfwlr-font-family) !important;
}

.lfwlr-shared-page .lfwlr-share-panel__social,
.lfwlr-shared-page .lfwlr-share-panel__social {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}

.lfwlr-shared-page .lfwlr-social-share__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform var(--lfwlr-transition-spring), box-shadow var(--lfwlr-transition) !important;
    cursor: pointer !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    box-shadow: var(--lfwlr-shadow-sm) !important;
    background: var(--lfwlr-text-secondary) !important;
}

.lfwlr-shared-page .lfwlr-social-share__btn:hover {
    transform: scale(1.1) !important;
    box-shadow: var(--lfwlr-shadow) !important;
}

.lfwlr-shared-page .lfwlr-social-share__btn--facebook { background: #1877F2 !important; }
.lfwlr-shared-page .lfwlr-social-share__btn--twitter  { background: #1a1a2e !important; }
.lfwlr-shared-page .lfwlr-social-share__btn--whatsapp { background: #25D366 !important; }
.lfwlr-shared-page .lfwlr-social-share__btn--email    { background: var(--lfwlr-text-secondary) !important; }

/* ---------------------------------------------------------------
 * Card Items / Item Rows (same as wishlist-page)
 * ------------------------------------------------------------- */

.lfwlr-shared-page .lfwlr-wishlist-card__items {
    border-top: 1px solid var(--lfwlr-border-light);
}

.lfwlr-shared-page .lfwlr-item-row,
.lfwlr-shared-page .lfwlr-item-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 20px;
    border-bottom: 1px solid var(--lfwlr-border-light);
    transition: background var(--lfwlr-transition);
}

.lfwlr-shared-page .lfwlr-item-row:last-child,
.lfwlr-shared-page .lfwlr-item-row:last-child {
    border-bottom: none;
}

.lfwlr-shared-page .lfwlr-item-row:hover,
.lfwlr-shared-page .lfwlr-item-row:hover {
    background: var(--lfwlr-bg-secondary);
}

.lfwlr-shared-page .lfwlr-item-row__image,
.lfwlr-shared-page .lfwlr-item-row__image,
.lfwlr-shared-page .lfwlr-item-row__image {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--lfwlr-radius-sm) !important;
    overflow: hidden;
    background: var(--lfwlr-bg-secondary);
}

.lfwlr-shared-page .lfwlr-item-row__image img,
.lfwlr-shared-page .lfwlr-item-row__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.lfwlr-shared-page .lfwlr-item-row__info,
.lfwlr-shared-page .lfwlr-item-row__info {
    flex: 1;
    min-width: 0;
}

.lfwlr-shared-page .lfwlr-item-row__name,
.lfwlr-shared-page .lfwlr-item-row__name {
    display: block !important;
    font-weight: 500 !important;
    color: var(--lfwlr-text) !important;
    font-size: var(--lfwlr-font-size) !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--lfwlr-transition) !important;
}

.lfwlr-shared-page .lfwlr-item-row__name:hover,
.lfwlr-shared-page .lfwlr-item-row__name:hover {
    color: var(--lfwlr-primary) !important;
}

.lfwlr-shared-page .lfwlr-item-row__price,
.lfwlr-shared-page .lfwlr-item-row__price {
    display: block;
    font-size: var(--lfwlr-font-size-sm) !important;
    color: var(--lfwlr-text-secondary) !important;
    margin-top: 2px;
}

.lfwlr-shared-page .lfwlr-item-row__fulfilled,
.lfwlr-shared-page .lfwlr-item-row__fulfilled {
    display: inline-block;
    font-size: var(--lfwlr-font-size-xs) !important;
    color: var(--lfwlr-primary) !important;
    font-weight: 600;
    margin-top: 4px;
}

.lfwlr-shared-page .lfwlr-item-row__reserved {
    display: inline-block;
    margin: 4px 0 0 8px;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: var(--lfwlr-font-size-xs) !important;
    font-weight: 600;
    color: var(--lfwlr-text-secondary, #6b7280) !important;
    background: var(--lfwlr-bg-secondary, #f3f4f6);
}

.lfwlr-shared-page .lfwlr-item-row__purchaser,
.lfwlr-shared-page .lfwlr-item-row__purchaser {
    display: block;
    margin-top: 2px;
    font-size: var(--lfwlr-font-size-xs) !important;
    color: var(--lfwlr-text-muted);
}

.lfwlr-shared-page .lfwlr-item-row__fulfillment,
.lfwlr-shared-page .lfwlr-item-row__fulfillment {
    display: inline-block;
    font-size: var(--lfwlr-font-size-xs) !important;
    color: var(--lfwlr-text-muted);
    margin-top: 2px;
}

.lfwlr-shared-page .lfwlr-item-row__claimed-label,
.lfwlr-shared-page .lfwlr-item-row__claimed-label {
    font-size: var(--lfwlr-font-size-sm);
    color: var(--lfwlr-primary);
    font-weight: 500;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.lfwlr-shared-page .lfwlr-item-row__claim-form,
.lfwlr-shared-page .lfwlr-item-row__claim-form {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: var(--lfwlr-bg-secondary);
    border-radius: var(--lfwlr-radius-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input,
.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input {
    flex: 1;
    min-width: 120px;
    padding: 8px 12px !important;
    border: 1.5px solid var(--lfwlr-border) !important;
    border-radius: var(--lfwlr-radius-sm) !important;
    font-size: var(--lfwlr-font-size-sm) !important;
    color: var(--lfwlr-text) !important;
    background: var(--lfwlr-bg) !important;
    outline: none !important;
    transition: border-color var(--lfwlr-transition) !important;
    font-family: var(--lfwlr-font-family) !important;
    height: 34px !important;
}

.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input:focus,
.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input:focus {
    border-color: var(--lfwlr-primary) !important;
}

.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input--number,
.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input--number {
    flex: 0 0 64px;
    min-width: 64px;
    max-width: 80px;
    box-sizing: border-box !important;
    line-height: 1.25 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input--number::-webkit-outer-spin-button,
.lfwlr-shared-page .lfwlr-item-row__claim-form .lfwlr-create-form__input--number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lfwlr-shared-page .lfwlr-item-row__claim-form-actions,
.lfwlr-shared-page .lfwlr-item-row__claim-form-actions {
    display: flex;
    gap: 8px;
}

.lfwlr-shared-page .lfwlr-item-row__stock--out,
.lfwlr-shared-page .lfwlr-item-row__stock--out {
    display: inline-block;
    font-size: var(--lfwlr-font-size-xs) !important;
    color: var(--lfwlr-primary) !important;
    font-weight: 500;
    margin-top: 2px;
}

.lfwlr-shared-page .lfwlr-item-row__actions,
.lfwlr-shared-page .lfwlr-item-row__actions {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.lfwlr-shared-page .lfwlr-icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    color: var(--lfwlr-text-muted) !important;
    cursor: pointer !important;
    border-radius: var(--lfwlr-radius-xs) !important;
    transition: all var(--lfwlr-transition) !important;
    text-decoration: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
}

.lfwlr-shared-page .lfwlr-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.lfwlr-shared-page .lfwlr-icon-btn:hover {
    background: var(--lfwlr-bg-secondary) !important;
    color: var(--lfwlr-text) !important;
    transform: scale(1.06);
}

.lfwlr-shared-page .lfwlr-icon-btn--cart:hover {
    background: var(--lfwlr-success-light, #e8f5e9) !important;
    color: var(--lfwlr-success, #34c759) !important;
}

.lfwlr-shared-page .lfwlr-icon-btn--success {
    background: var(--lfwlr-success-light, #e8f5e9) !important;
    color: var(--lfwlr-success, #34c759) !important;
}

.lfwlr-shared-page .lfwlr-icon-btn--options {
    color: var(--lfwlr-text-muted) !important;
}

.lfwlr-shared-page .lfwlr-icon-btn--options:hover {
    background: var(--lfwlr-bg-secondary) !important;
    color: var(--lfwlr-text) !important;
}

.lfwlr-shared-page .lfwlr-spinner-sm {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid var(--lfwlr-border);
    border-top-color: currentColor;
    border-radius: 50% !important;
    animation: lfwlr-spin 0.6s linear infinite;
}

@keyframes lfwlr-spin {
    to { transform: rotate(360deg); }
}

.lfwlr-shared-page .lfwlr-wishlist-card__empty {
    padding: 20px 20px 20px 64px;
    color: var(--lfwlr-text-muted);
    font-size: var(--lfwlr-font-size-sm);
    font-style: italic;
}

/* ---------------------------------------------------------------
 * Toast
 * ------------------------------------------------------------- */

.lfwlr-shared-page .lfwlr-toast,
.lfwlr-shared-page .lfwlr-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 22px;
    max-width: min(36rem, calc(100vw - 2rem));
    box-sizing: border-box;
    background: var(--lfwlr-text);
    color: var(--lfwlr-bg);
    border-radius: 999px;
    box-shadow: var(--lfwlr-shadow-hover);
    font-size: var(--lfwlr-font-size) !important;
    font-weight: 500;
    white-space: normal;
    line-height: 1.35;
    pointer-events: none;
}

.lfwlr-shared-page .lfwlr-toast > span {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.lfwlr-shared-page .lfwlr-toast__icon,
.lfwlr-shared-page .lfwlr-toast__icon {
    width: 20px;
    height: 20px;
    color: var(--lfwlr-success, #34c759);
    flex-shrink: 0;
    margin-top: 0.1em;
}

.lfwlr-shared-page .lfwlr-toast-enter-active,
.lfwlr-shared-page .lfwlr-toast-enter-active {
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lfwlr-shared-page .lfwlr-toast-leave-active,
.lfwlr-shared-page .lfwlr-toast-leave-active {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lfwlr-shared-page .lfwlr-toast-enter-from,
.lfwlr-shared-page .lfwlr-toast-enter-from {
    opacity: 0;
    transform: translate(-50%, 16px) scale(0.92);
}

.lfwlr-shared-page .lfwlr-toast-leave-to,
.lfwlr-shared-page .lfwlr-toast-leave-to {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.95);
}

/* ---------------------------------------------------------------
 * Modal (same as before)
 * ------------------------------------------------------------- */

.lfwlr-shared-page .lfwlr-modal-overlay,
.lfwlr-shared-page .lfwlr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 24px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lfwlr-shared-page .lfwlr-modal,
.lfwlr-shared-page .lfwlr-modal {
    background: var(--lfwlr-bg);
    border-radius: var(--lfwlr-radius) !important;
    box-shadow: var(--lfwlr-shadow-hover);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    animation: lfwlr-modal-in 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lfwlr-modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lfwlr-shared-page .lfwlr-modal__header,
.lfwlr-shared-page .lfwlr-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--lfwlr-border-light);
}

.lfwlr-shared-page .lfwlr-modal__header h3,
.lfwlr-shared-page .lfwlr-modal__header h3 {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--lfwlr-text) !important;
}

.lfwlr-shared-page .lfwlr-modal__header .lfwlr-dropdown__close,
.lfwlr-shared-page .lfwlr-modal__header .lfwlr-dropdown__close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: var(--lfwlr-text-muted) !important;
    cursor: pointer !important;
    border-radius: var(--lfwlr-radius-xs) !important;
    transition: background var(--lfwlr-transition), color var(--lfwlr-transition) !important;
}

.lfwlr-shared-page .lfwlr-modal__header .lfwlr-dropdown__close:hover,
.lfwlr-shared-page .lfwlr-modal__header .lfwlr-dropdown__close:hover {
    background: var(--lfwlr-bg-secondary) !important;
    color: var(--lfwlr-text) !important;
}

.lfwlr-shared-page .lfwlr-modal__body,
.lfwlr-shared-page .lfwlr-modal__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lfwlr-shared-page .lfwlr-modal__body .lfwlr-create-form__input,
.lfwlr-shared-page .lfwlr-modal__body .lfwlr-create-form__input {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1.5px solid var(--lfwlr-border) !important;
    border-radius: var(--lfwlr-radius-sm) !important;
    font-size: var(--lfwlr-font-size) !important;
    color: var(--lfwlr-text) !important;
    background: var(--lfwlr-bg) !important;
    outline: none !important;
    transition: border-color var(--lfwlr-transition) !important;
    box-shadow: none !important;
    font-family: var(--lfwlr-font-family) !important;
}

.lfwlr-shared-page .lfwlr-modal__body .lfwlr-create-form__input:focus,
.lfwlr-shared-page .lfwlr-modal__body .lfwlr-create-form__input:focus {
    border-color: var(--lfwlr-primary) !important;
}

.lfwlr-shared-page .lfwlr-modal__body .lfwlr-textarea,
.lfwlr-shared-page .lfwlr-modal__body .lfwlr-textarea,
.lfwlr-shared-page .lfwlr-modal__body .lfwlr-textarea,
.lfwlr-shared-page .lfwlr-modal__body .lfwlr-textarea {
    resize: vertical;
    min-height: 72px;
}

.lfwlr-shared-page .lfwlr-modal__footer,
.lfwlr-shared-page .lfwlr-modal__footer {
    padding: 14px 20px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--lfwlr-border-light);
}

/* ---------------------------------------------------------------
 * Responsive (match wishlist-page breakpoints)
 * ------------------------------------------------------------- */

@media (max-width: 640px) {
    .lfwlr-shared-page-wrap {
        padding: 0 16px;
        margin-top: 24px;
    }

    .lfwlr-shared-page .lfwlr-page-header {
        flex-direction: column;
        gap: 12px;
    }

    .lfwlr-shared-page .lfwlr-page-header__right {
        width: 100%;
        flex-wrap: wrap;
    }

    .lfwlr-shared-page .lfwlr-item-row,
    .lfwlr-shared-page .lfwlr-item-row {
        padding-left: 20px;
    }

    .lfwlr-shared-page .lfwlr-item-row__image,
    .lfwlr-shared-page .lfwlr-item-row__image {
        width: 44px;
        height: 44px;
    }

    .lfwlr-shared-page .lfwlr-share-panel__url-group,
    .lfwlr-shared-page .lfwlr-share-panel__url-group {
        flex-direction: column;
    }

    .lfwlr-shared-page .lfwlr-wishlist-card__empty {
        padding-left: 20px;
    }
}
