/* Bucket — share-link list builder. Visitor-facing CSS. */

.gulf-bucket-add {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1f4f6d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s, background 0.15s, color 0.15s;
    z-index: 5;
}
.gulf-bucket-add:hover {
    transform: scale(1.08);
    background: #6dccd1;
    color: #fff;
}
.gulf-bucket-add.is-saved {
    background: #f5be41;
    color: #fff;
}

.highlight-card,
.Featured-Restaurant {
    position: relative;
}

/* Floating bucket toggle (bottom-right of the viewport) */
.gulf-bucket-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: #1f4f6d;
    color: #fff;
    border: 0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}
.gulf-bucket-fab:hover { transform: scale(1.05); background: #6dccd1; }
.gulf-bucket-fab svg { width: 28px; height: 28px; }
.gulf-bucket-fab .gulf-bucket-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    padding: 0 6px;
    background: #f5be41;
    color: #1f4f6d;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Modal */
.gulf-bucket-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(31, 79, 109, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.gulf-bucket-modal[hidden] { display: none; }
.gulf-bucket-modal__panel {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow: auto;
    padding: 24px;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.3);
    font-family: 'Quicksand', 'Inter', sans-serif;
}
.gulf-bucket-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}
.gulf-bucket-modal h2 {
    font-family: 'GreatSejagad-Regular', serif;
    color: #1f4f6d;
    font-size: 2.5rem;
    margin: 0 0 12px;
    text-align: center;
}
.gulf-bucket-modal .gulf-bucket-empty {
    color: #6b7280;
    text-align: center;
    padding: 1.5rem 0;
    line-height: 1.5;
}
.gulf-bucket-list { list-style: none; margin: 0; padding: 0; }
.gulf-bucket-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}
.gulf-bucket-list li img {
    width: 56px; height: 56px; object-fit: cover; border-radius: 8px;
}
.gulf-bucket-list li .gulf-bucket-list__title {
    flex: 1;
    color: #1f4f6d;
    font-weight: 500;
}
.gulf-bucket-list li .gulf-bucket-remove {
    background: transparent; border: 0; color: #b32d2e; cursor: pointer; font-size: 14px;
}

.gulf-bucket-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}
.gulf-bucket-actions button,
.gulf-bucket-actions a {
    padding: 10px 20px;
    border-radius: 9999px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 14px;
}
.gulf-bucket-actions .btn-primary { background: #6dccd1; color: #fff; }
.gulf-bucket-actions .btn-primary:hover { background: #1f4f6d; }
.gulf-bucket-actions .btn-secondary { background: #f5be41; color: #1f4f6d; }
.gulf-bucket-actions .btn-text { background: transparent; color: #6b7280; padding-left: 8px; padding-right: 8px; }

.gulf-bucket-share-url {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    font-family: monospace;
    font-size: 12px;
    background: #f6f7f7;
    color: #50575e;
}

/* Bucket page renderer (server-side) */
.gulf-bucket-page {
    padding: 4rem 0;
}
.gulf-bucket-page__title {
    font-family: 'GreatSejagad-Regular', serif;
    color: #1f4f6d;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}
.gulf-bucket-page__intro {
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}
.gulf-bucket-page__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.gulf-bucket-page__item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.gulf-bucket-page__item img {
    width: 100%; height: 180px; object-fit: cover;
}
.gulf-bucket-page__item__body { padding: 16px 20px 20px; }
.gulf-bucket-page__item h3 {
    font-family: Roboto, sans-serif;
    color: #1f4f6d;
    margin: 0 0 8px;
    font-size: 1.2rem;
}
.gulf-bucket-page__item p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 700px) {
    .gulf-bucket-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .gulf-bucket-fab svg { width: 24px; height: 24px; }
}
