/* =========================================================
   Decoration Wedding Registry — Stylesheet
   Brand: Avenir LT Pro / Almarai | Teal #adc3c7 | Dark #222722
   ========================================================= */

/* ---------- Base ---------- */
.dwr-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #adc3c7;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.dwr-btn--dark {
    background: #adc3c7;
    color: #fff;
}
.dwr-btn--dark:hover {
    background: #8da8ac;
    border-color: #8da8ac;
    color: #fff;
    text-decoration: none;
}
.dwr-btn--outline {
    background: transparent;
    color: #222722;
}
.dwr-btn--outline:hover {
    background: #222722;
    border-color: #222722;
    color: #fff;
    text-decoration: none;
}
.dwr-btn--sm {
    padding: 7px 16px;
    font-size: 11px;
}
.dwr-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dwr-error {
    color: #bb251a;
    font-size: 13px;
    margin-top: 8px;
    padding: 10px;
    background: #fff5f5;
    border-left: 3px solid #bb251a;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* ---------- Custom Datepicker ---------- */
.dwr-datepicker {
    /* no position:relative — calendar is inline flow, not absolute */
}
.dwr-datepicker__field {
    position: relative;  /* icon anchors to input field only */
}
.dwr-datepicker__input {
    width: 100%;
    padding: 11px 40px 11px 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #222722;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: border-color 0.15s;
    outline: none;
}
.dwr-datepicker__input:focus,
.dwr-datepicker__input.dwr-dp-open {
    border-color: #adc3c7;
    box-shadow: 0 0 0 2px rgba(173,195,199,0.18);
}
.dwr-datepicker__input.dwr-invalid {
    border-color: #bb251a;
}
.dwr-datepicker__icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #adc3c7;
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Calendar widget — inline block, not floating */
.dwr-cal {
    display: none;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    margin-top: 4px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    overflow: hidden;
}
.dwr-cal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #000;
}
.dwr-cal__nav {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    padding: 0 6px;
    line-height: 1;
    transition: color 0.15s;
    font-family: sans-serif;
}
.dwr-cal__nav:hover {
    color: #adc3c7;
}
.dwr-cal__month-year {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    flex: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dwr-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0 0 8px;
    gap: 0;
}
.dwr-cal__dow {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #888;
    padding: 8px 0;
    letter-spacing: 0.06em;
}
.dwr-cal__dow--weekend {
    background: #f5f9fa;
}
.dwr-cal__day {
    text-align: center;
    font-size: 13px;
    padding: 10px 2px;
    cursor: pointer;
    border: none;
    background: none;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: background 0.12s, color 0.12s;
    line-height: 1;
    width: 100%;
}
.dwr-cal__day--weekend {
    background: #f5f9fa;
}
.dwr-cal__day:not(.dwr-cal__day--past):not(.dwr-cal__day--empty):hover {
    background: #e8f0f1;
    color: #adc3c7;
}
.dwr-cal__day--today {
    font-weight: 700;
    color: #adc3c7;
}
.dwr-cal__day--selected {
    background: #000 !important;
    color: #fff !important;
    font-weight: 700;
}
.dwr-cal__day--past {
    color: #ccc;
    cursor: not-allowed;
}
.dwr-cal__day--empty {
    cursor: default;
    pointer-events: none;
}

/* ---------- Hero Section ---------- */
.dwr-hero {
    position: relative;
    min-height: 520px;
    background-image: linear-gradient(rgba(34,39,34,.55), rgba(34,39,34,.55));
    background-color: #222722;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}
.dwr-hero__content {
    max-width: 700px;
    width: 100%;
}
.dwr-hero__icon {
    color: #adc3c7;
    margin-bottom: 18px;
    opacity: 0.9;
}
.dwr-hero__title {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #fff;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    margin: 0 0 36px;
    line-height: 1.05;
}
.dwr-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ---------- Reasons ---------- */
.dwr-reasons {
    padding: 60px 24px;
    background: #f5f9fa;
    text-align: center;
    border-top: 3px solid #adc3c7;
}
.dwr-reasons__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #adc3c7;
    margin-bottom: 40px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-reasons__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.dwr-reason h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-reason p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* ---------- Overlay ---------- */
.dwr-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,13,19,0.5);
    z-index: 9998;
}
.dwr-overlay--visible {
    display: block;
}

/* ---------- Drawer ---------- */
.dwr-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 1rem;
    overflow-y: auto;
    transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
    padding: 0;
    box-shadow: -4px 0 24px rgba(10,13,19,0.14);
}
.dwr-drawer--open {
    right: 0;
}
.dwr-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 16px;
    border-bottom: 2px solid #adc3c7;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}
.dwr-drawer__header h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    text-transform: uppercase;
}
.dwr-drawer__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #222722;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
}
.dwr-drawer__close:hover {
    color: #adc3c7;
}
.dwr-drawer__body {
    padding: 28px;
}

/* ---------- Progress Bar ---------- */
.dwr-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px 20px;
    gap: 0;
    background: #fff;
}
.dwr-progress__step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ccc;
    background: #fff;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.dwr-progress__step--active,
.dwr-progress__step--done {
    border-color: #adc3c7;
    background: #adc3c7;
    color: #fff;
}
.dwr-progress__line {
    flex: 1;
    height: 2px;
    background: #ccc;
    max-width: 60px;
    transition: background 0.2s;
}
.dwr-progress__line--done {
    background: #adc3c7;
}

/* ---------- Create Form ---------- */
#dwr-create-form {
    padding: 20px 28px 32px;
    background: #f5f9fa;
    border-top: 1px solid rgba(173,195,199,0.3);
    flex: 1;
}
#dwr-create-form h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    text-transform: uppercase;
}

/* ---------- Custom Select ---------- */
.dwr-csel {
    position: relative;
}
.dwr-csel__trigger {
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    background: #fff;
    color: #999;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: border-color 0.15s;
    box-sizing: border-box;
    outline: none;
    position: relative;
    display: block;
}
.dwr-csel__trigger::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #adc3c7;
    border-bottom: 2px solid #adc3c7;
    transform: rotate(45deg);
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -6px;
    pointer-events: none;
    transition: transform 0.15s, margin-top 0.15s;
}
.dwr-csel--open .dwr-csel__trigger::after {
    transform: rotate(-135deg);
    margin-top: -2px;
}
.dwr-csel__trigger--has-value {
    color: #222722;
}
.dwr-csel__trigger.dwr-invalid {
    border-color: #bb251a;
}
.dwr-csel--open .dwr-csel__trigger,
.dwr-csel__trigger:focus {
    border-color: #adc3c7;
    box-shadow: 0 0 0 2px rgba(173,195,199,0.18);
    outline: none;
}
.dwr-csel__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5000;
    background: #fff;
    border: 1px solid #adc3c7;
    border-top: none;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(10,13,19,0.12);
}
.dwr-csel--open .dwr-csel__list {
    display: block;
}
.dwr-csel__option {
    display: block;
    width: 100%;
    padding: 11px 14px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    font-size: 14px;
    color: #222722;
    cursor: pointer;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: background 0.1s, color 0.1s;
}
.dwr-csel__option:last-child { border-bottom: none; }
.dwr-csel__option:hover {
    background: #f5f9fa;
    color: #adc3c7;
}
.dwr-csel__option--ph { color: #999; }
.dwr-csel__option--selected {
    background: #f5f9fa;
    color: #222722;
    font-weight: 600;
}

/* ---------- Steps ---------- */
.dwr-step--hidden {
    display: none;
}

/* ---------- Autofill override (browser injects blue bg — hide it with inset shadow) ---------- */
.dwr-field input:-webkit-autofill,
.dwr-field input:-webkit-autofill:hover,
.dwr-field input:-webkit-autofill:focus,
.dwr-field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 60px #fff inset !important;
    -webkit-text-fill-color: #222722 !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* ---------- Fields ---------- */
.dwr-field {
    margin-bottom: 16px;
}
.dwr-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-field input,
.dwr-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #222722;
    background: #fff;
    outline: none;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.dwr-field input:focus,
.dwr-field select:focus {
    border-color: #adc3c7;
    box-shadow: 0 0 0 2px rgba(173,195,199,0.18);
}
.dwr-field input.dwr-invalid {
    border-color: #bb251a;
}
.dwr-field__hint {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    display: block;
    line-height: 1.4;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-field--hidden {
    display: none;
}
.dwr-field--checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    font-weight: 400;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.dwr-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .dwr-field-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- Gift Card Checkbox ---------- */
.dwr-gift-card-check {
    margin: 16px 0;
}
.dwr-gift-card-check__label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    font-size: 14px;
    color: #222722;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.dwr-gift-card-check__label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #222722;
    flex-shrink: 0;
    cursor: pointer;
}

/* ---------- Optional Questions Box ---------- */
.dwr-opt-box {
    border: 1px solid #d5dfe0;
    margin: 20px 0 4px;
}
.dwr-opt-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    background: #fff;
}
.dwr-opt-box__title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    margin-bottom: 3px;
}
.dwr-opt-box__subtitle {
    font-size: 12px;
    color: #666;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.dwr-opt-box__toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dwr-opt-box__icon {
    font-size: 20px;
    font-weight: 300;
    color: #222722;
    line-height: 1;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: transform 0.2s ease;
    display: block;
}
.dwr-opt-box__body {
    border-top: 1px solid #d5dfe0;
    background: #fff;
}
.dwr-opt-section {
    padding: 16px 16px 0;
}
.dwr-opt-section:last-child {
    padding-bottom: 16px;
}
.dwr-opt-section + .dwr-opt-section {
    border-top: 1px solid #f0f0f0;
    margin-top: 16px;
}
.dwr-opt-section__title {
    font-size: 13px;
    font-weight: 600;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    margin-bottom: 10px;
    letter-spacing: 0;
    text-transform: none;
}
.dwr-co-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    font-size: 13px;
    color: #bb251a;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.dwr-co-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #222722;
    flex-shrink: 0;
    cursor: pointer;
}
.dwr-co-check span {
    color: #bb251a;
}
.dwr-co-fields {
    margin-top: 12px;
}
.dwr-field--textarea textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px 12px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    font-size: 13px;
    color: #222722;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    box-sizing: border-box;
}
.dwr-field--textarea textarea:focus {
    border-color: #adc3c7;
}
.dwr-char-counter {
    text-align: right;
    font-size: 11px;
    color: #999;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    margin-top: 4px;
}

/* ---------- Post-Event Address ---------- */
.dwr-ship2-toggle {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.dwr-ship2-toggle label {
    font-size: 13px !important;
    color: #222722 !important;
    font-weight: 500 !important;
    text-transform: none !important;
    cursor: pointer;
    gap: 10px !important;
}
.dwr-ship2-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #adc3c7;
    flex-shrink: 0;
    cursor: pointer;
}
.dwr-ship2-fields {
    margin-top: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #adc3c7;
    border-radius: 2px;
}
.dwr-ship2-fields__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #adc3c7;
    margin-bottom: 14px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* ---------- Step Actions ---------- */
.dwr-step__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}
.dwr-step__subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-terms {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-terms a {
    color: #adc3c7;
    text-decoration: underline;
}

/* ---------- Success ---------- */
.dwr-success {
    text-align: center;
    padding: 40px 20px;
}
.dwr-success svg {
    margin-bottom: 20px;
    color: #adc3c7;
}
.dwr-success h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-success p {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-success .dwr-btn {
    display: block;
    margin: 10px 0;
}

/* ---------- Find Registry Drawer ---------- */
.dwr-search-result {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #adc3c7;
    background: #f5f9fa;
    border-radius: 2px;
}
.dwr-search-result h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-search-result p {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* ==========================================================
   My Account — Registry Tab
   ========================================================== */
.dwr-account {
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* Empty state */
.dwr-account__empty {
    text-align: center;
    padding: 60px 20px;
}
.dwr-account__empty svg {
    margin-bottom: 20px;
    color: #adc3c7;
}
.dwr-account__empty h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-account__empty p {
    color: #666;
    margin-bottom: 24px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* Header */
.dwr-account__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #adc3c7;
}
.dwr-account__info h2 {
    font-size: 26px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    font-weight: 400;
    margin: 0 0 6px;
    color: #222722;
    letter-spacing: 0.04em;
}
.dwr-account__meta {
    font-size: 13px;
    color: #666;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-account__stats {
    display: flex;
    gap: 32px;
    border: 1px solid #adc3c7;
    padding: 16px 24px;
    min-width: 200px;
    background: #f5f9fa;
}
.dwr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.dwr-stat__num {
    font-size: 24px;
    font-weight: 700;
    color: #adc3c7;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-stat__label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-stat__link {
    font-size: 12px;
    color: #adc3c7;
    text-decoration: underline;
    cursor: pointer;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* Code Section */
.dwr-code-section {
    background: #f5f9fa;
    border: 1px solid #adc3c7;
    border-radius: 4px;
    padding: 14px 20px;
    margin-bottom: 24px;
}
.dwr-code-section__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.dwr-code-section__label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-code-section__code {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #222722;
    font-family: monospace;
    background: #fff;
    border: 1px solid #adc3c7;
    padding: 4px 12px;
    border-radius: 2px;
    min-width: 80px;
    display: inline-block;
    text-align: center;
}

/* ---------- Tabs Nav ---------- */
.dwr-tabs__nav {
    display: flex;
    border-bottom: 2px solid #adc3c7;
    margin-bottom: 28px;
    gap: 0;
    overflow-x: auto;
}
.dwr-tab-btn {
    background: none;
    border: none;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: color 0.15s, border-color 0.15s;
}
.dwr-tab-btn--active {
    color: #222722;
    border-bottom-color: #adc3c7;
}
.dwr-tab-btn:hover {
    color: #222722;
}

/* ---------- Registry Controls ---------- */
.dwr-registry-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.dwr-select-wrap label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 4px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-select-wrap select {
    padding: 8px 28px 8px 10px;
    border: 1px solid #adc3c7;
    font-size: 13px;
    color: #222722;
    appearance: auto;
    background: #fff;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* ---------- Items Grid ---------- */
.dwr-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.dwr-item-card {
    position: relative;
    border: 1px solid #eee;
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.dwr-item-card:hover {
    box-shadow: 0 4px 12px rgba(173,195,199,0.25);
    border-color: #adc3c7;
}
.dwr-item-card__image {
    display: block;
    overflow: hidden;
    background: #fafafa;
}
.dwr-item-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}
.dwr-item-card:hover .dwr-item-card__image img {
    transform: scale(1.03);
}
.dwr-item-card__body {
    padding: 12px;
}
.dwr-item-card__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #222722;
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.3;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-item-card__name:hover {
    color: #adc3c7;
    text-decoration: none;
}
.dwr-item-card__price {
    font-size: 14px;
    color: #222722;
    margin-bottom: 6px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-item-card__qty {
    font-size: 12px;
    color: #888;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-item-card__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #adc3c7;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.dwr-item-card__remove:hover {
    background: #bb251a;
    border-color: #bb251a;
    color: #fff;
}
.dwr-items-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-items-empty p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* ---------- Checklist ---------- */
.dwr-checklist__title {
    font-size: 22px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    font-weight: 400;
    text-align: center;
    margin-bottom: 24px;
    color: #222722;
    letter-spacing: 0.04em;
}
.dwr-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dwr-checklist__item {
    border-bottom: 1px solid #eee;
}
.dwr-checklist__row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    gap: 14px;
}
.dwr-checklist__thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
}
.dwr-checklist__info {
    flex: 1;
}
.dwr-checklist__cat-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-checklist__progress {
    display: block;
    font-size: 12px;
    color: #adc3c7;
    margin-top: 2px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    font-weight: 600;
}
.dwr-checklist__toggle {
    background: none;
    border: 1px solid #adc3c7;
    width: 28px;
    height: 28px;
    font-size: 18px;
    cursor: pointer;
    color: #adc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.dwr-checklist__toggle:hover {
    background: #adc3c7;
    color: #fff;
    border-color: #adc3c7;
}
.dwr-checklist__products {
    padding: 0 0 16px 62px;
}
.dwr-checklist__product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-top: 1px solid #f5f5f5;
    font-size: 13px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-checklist__product a {
    color: #222722;
    flex: 1;
    text-decoration: none;
    transition: color 0.15s;
}
.dwr-checklist__product a:hover {
    color: #adc3c7;
}
.dwr-checklist__no-items {
    font-size: 13px;
    color: #888;
    padding: 10px 0;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* ---------- Badges ---------- */
.dwr-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border: 1px solid #ddd;
    color: #888;
    white-space: nowrap;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-badge--purchased {
    border-color: #adc3c7;
    color: #adc3c7;
    background: #f5f9fa;
}

/* ---------- Gift Tracker ---------- */
.dwr-gift-tracker__desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 600px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-gift-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-gift-table th {
    text-align: left;
    padding: 10px 12px;
    background: #f5f9fa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #adc3c7;
    border-bottom: 2px solid #adc3c7;
}
.dwr-gift-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #333;
}
.dwr-gift-tracker__empty {
    text-align: center;
    padding: 40px;
    color: #666;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-gift-tracker__code {
    margin-top: 16px;
    font-size: 18px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-gift-tracker__code code {
    background: #f5f9fa;
    border: 1px solid #adc3c7;
    padding: 4px 12px;
    letter-spacing: 0.2em;
    font-size: 22px;
    margin-left: 8px;
    color: #222722;
}

/* ---------- Ideas & Inspiration ---------- */
.dwr-inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.dwr-inspiration-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s;
}
.dwr-inspiration-card:hover {
    box-shadow: 0 4px 16px rgba(173,195,199,0.3);
}
.dwr-inspiration-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}
.dwr-inspiration-card:hover img {
    transform: scale(1.04);
}
.dwr-inspiration-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #222722;
    padding: 8px 0 4px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: color 0.15s;
}
.dwr-inspiration-card:hover .dwr-inspiration-card__label {
    color: #adc3c7;
}
.dwr-quick-start {
    text-align: center;
    padding: 40px 20px;
    background: #f5f9fa;
    border-top: 2px solid #adc3c7;
}
.dwr-quick-start h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #222722;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}
.dwr-quick-start p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
}

/* ---------- Add to Registry Button (single product) ---------- */
.dwr-add-to-registry {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: #fff;
    color: #222722;
    border: 2px solid #adc3c7;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    transition: background 0.2s, color 0.2s;
}
.dwr-add-to-registry:hover:not(:disabled) {
    background: #adc3c7;
    color: #fff;
}
.dwr-add-to-registry.dwr-in-registry {
    background: #f5f9fa;
    border-color: #adc3c7;
    color: #adc3c7;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .dwr-account__header {
        flex-direction: column;
    }
    .dwr-tabs__nav {
        gap: 0;
    }
    .dwr-tab-btn {
        padding: 12px 14px;
        font-size: 11px;
    }
    .dwr-items-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dwr-code-section__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .dwr-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
@media (max-width: 400px) {
    .dwr-items-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Toast Notification ---------- */
.dwr-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #222722;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Avenir LT Pro", "Almarai", sans-serif;
    letter-spacing: 0.04em;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    white-space: nowrap;
    border-left: 3px solid #adc3c7;
}
.dwr-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
