
/* GiftDala Header & Footer V4 */

.gd-v4-top,
.gd-v4-header,
.gd-v4-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.gd-v4-top *,
.gd-v4-header *,
.gd-v4-footer * {
    box-sizing: border-box;
}

.gd-v4-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Announcement Bar */

.gd-v4-top {
    display: block !important;
    background: #18181b;
    color: #d4d4d8;
    font-size: 11px;
}

.gd-v4-top-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.gd-v4-green {
    color: #34d399;
}

.gd-v4-top-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.gd-v4-top-actions a,
.gd-v4-top-actions button {
    color: #d4d4d8;
    background: transparent;
    border: 0;
    text-decoration: none;
    font-size: 11px;
}

.gd-v4-top-actions button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.gd-v4-top-actions .material-symbols-rounded {
    font-size: 15px;
}

/* Main Header */

.gd-v4-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.gd-v4-main {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 78px;
}

.gd-v4-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: #e11d48;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
}

.gd-v4-logo img {
    max-width: 175px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gd-v4-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: #e11d48;
    color: white;
    font-size: 20px;
}

.gd-v4-search-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.gd-v4-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 45px;
    padding: 4px 5px 4px 15px;
    border: 1px solid #e4e4e7;
    border-radius: 999px;
    background: #fafafa;
}

.gd-v4-search > .material-symbols-rounded {
    color: #a1a1aa;
    font-size: 20px;
}

.gd-v4-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #27272a;
    font: 12px 'Plus Jakarta Sans', sans-serif;
}

.gd-v4-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 19px;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.gd-v4-search button:hover {
    background: #be123c;
}

/* Header Actions */

.gd-v4-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gd-v4-build {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    border: 1px solid #fecdd3;
    border-radius: 999px;
    background: #fff1f2;
    color: #e11d48;
    text-decoration: none;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 800;
}

.gd-v4-build .material-symbols-rounded {
    font-size: 16px;
}

.gd-v4-icon {
    color: #52525b;
    text-decoration: none;
}

.gd-v4-icon .material-symbols-rounded {
    font-size: 24px;
}

.gd-v4-cart {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #18181b;
    color: white;
    text-decoration: none;
}

.gd-v4-cart .material-symbols-rounded {
    font-size: 20px;
}

.gd-v4-cart-count {
    font-size: 12px;
    font-weight: 800;
}

/* Navigation */

.gd-v4-nav-shell {
    border-top: 1px solid #f4f4f5;
    border-bottom: 1px solid #f4f4f5;
}

.gd-v4-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 43px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gd-v4-nav::-webkit-scrollbar {
    display: none;
}

.gd-v4-nav a {
    flex: 0 0 auto;
    color: #52525b;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
}

.gd-v4-nav a:hover,
.gd-v4-nav .gd-v4-nav-special {
    color: #e11d48;
}

/* Search Suggestions */

.gd-v4-search-results {
    position: absolute;
    z-index: 1100;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 370px;
    overflow-y: auto;
    border: 1px solid #e4e4e7;
    border-radius: 15px;
    background: white;
    box-shadow: 0 16px 35px rgba(0,0,0,.12);
}

.gd-v4-search-results[hidden] {
    display: none !important;
}

.gd-v4-search-results a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid #f4f4f5;
    color: #27272a;
    text-decoration: none;
    font-size: 12px;
}

.gd-v4-search-results a:hover {
    background: #fff1f2;
}

.gd-v4-search-results img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 7px;
}

.gd-v4-search-results .gd-v4-search-message {
    padding: 15px;
    color: #71717a;
    font-size: 12px;
}

/* Mobile Menu */

.gd-v4-mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #27272a;
    cursor: pointer;
}

.gd-v4-mobile-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 22px;
    border-top: 1px solid #e4e4e7;
    max-height: 70vh;
    overflow-y: auto;
}

.gd-v4-mobile-panel[hidden] {
    display: none !important;
}

.gd-v4-mobile-panel > a {
    padding: 11px 0;
    border-bottom: 1px solid #f4f4f5;
    color: #27272a;
    text-decoration: none;
    font-size: 13px;
}

.gd-v4-mobile-search {
    display: flex;
    margin-bottom: 12px;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    overflow: hidden;
}

.gd-v4-mobile-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 11px;
}

.gd-v4-mobile-search button {
    border: 0;
    padding: 8px 12px;
    background: #e11d48;
    color: white;
}

/* Delivery Dropdown */

.gd-v4-delivery-panel {
    position: absolute;
    top: 0;
    right: max(24px, calc((100vw - 1320px)/2));
    z-index: 1200;
    width: min(360px, calc(100vw - 30px));
    padding: 19px;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,.14);
}

.gd-v4-delivery-panel[hidden] {
    display: none !important;
}

.gd-v4-delivery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gd-v4-delivery-heading button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gd-v4-delivery-panel p {
    color: #71717a;
    font-size: 12px;
}

.gd-v4-delivery-panel input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #e4e7eb;
    border-radius: 9px;
    outline: none;
}

.gd-v4-district-list {
    max-height: 240px;
    overflow-y: auto;
    margin-top: 10px;
}

.gd-v4-district-list button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 11px 8px;
    border: 0;
    border-bottom: 1px solid #f4f4f5;
    background: white;
    color: #27272a;
    text-align: left;
    cursor: pointer;
}

.gd-v4-district-list button:hover {
    background: #fff1f2;
}

/* Footer */

.gd-v4-footer {
    padding: 52px 0 25px;
    background: #18181b;
    color: #a1a1aa;
}

.gd-v4-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333338;
}

.gd-v4-newsletter h2 {
    margin: 0 0 8px;
    color: #fff;
    font: 700 24px 'Playfair Display', Georgia, serif;
}

.gd-v4-newsletter p {
    max-width: 490px;
    margin: 0;
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.8;
}

.gd-v4-newsletter-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 23px;
    border-radius: 999px;
    background: #e11d48;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.gd-v4-newsletter-cta:hover {
    background: #be123c;
}

.gd-v4-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 45px;
    padding: 42px 0;
}

.gd-v4-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
}

.gd-v4-footer-logo img {
    max-width: 165px;
    max-height: 55px;
    object-fit: contain;
}

.gd-v4-footer-gift {
    padding: 7px;
    border-radius: 9px;
    background: #e11d48;
}

.gd-v4-footer-description {
    max-width: 340px;
    margin: 17px 0;
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.9;
}

.gd-v4-footer-contact p {
    margin: 7px 0;
    font-size: 11px;
    line-height: 1.8;
}

.gd-v4-footer-contact strong {
    color: #f4f4f5;
}

.gd-v4-footer-contact a {
    color: #d4d4d8;
    text-decoration: none;
}

.gd-v4-footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gd-v4-footer-column h3 {
    margin: 0 0 7px;
    color: white;
    font-size: 11px;
    font-weight: 800;
}

.gd-v4-footer-column a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
}

.gd-v4-footer-column a:hover,
.gd-v4-footer-contact a:hover {
    color: #fb7185;
}

.gd-v4-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid #333338;
    color: #71717a;
    font-size: 11px;
}

.gd-v4-footer-bottom p {
    margin: 0;
}

.gd-v4-payment-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.gd-v4-payment-badge {
    padding: 6px 10px;
    border: 1px solid #3f3f46;
    border-radius: 5px;
    color: #e4e4e7;
    font-weight: 700;
}

/* Floating Actions */

.gd-v4-floating-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gd-v4-floating-actions button,
.gd-v4-floating-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 43px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.gd-v4-floating-actions button {
    background: #27272a;
}

.gd-v4-whatsapp {
    background: #10b981;
}

.gd-v4-floating-actions .material-symbols-rounded {
    font-size: 19px;
}

/* Responsive */

@media (max-width: 1100px) {
    .gd-v4-main {
        gap: 14px;
    }

    .gd-v4-nav {
        justify-content: flex-start;
    }

    .gd-v4-footer-grid {
        gap: 25px;
    }
}

@media (max-width: 850px) {
    .gd-v4-mobile-toggle {
        display: inline-flex;
    }

    .gd-v4-main {
        min-height: 65px;
    }

    .gd-v4-search-wrap,
    .gd-v4-nav-shell {
        display: none;
    }

    .gd-v4-actions {
        margin-left: auto;
    }

    .gd-v4-build,
    .gd-v4-icon {
        display: none;
    }

    .gd-v4-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gd-v4-top-actions {
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .gd-v4-container {
        padding: 0 16px;
    }

    .gd-v4-top-inner {
        justify-content: center;
        flex-wrap: wrap;
        padding-top: 8px;
        padding-bottom: 8px;
        text-align: center;
    }

    .gd-v4-top-actions {
        justify-content: center;
    }

    .gd-v4-top-actions a {
        display: none;
    }

    .gd-v4-logo img {
        max-width: 135px;
        max-height: 45px;
    }

    .gd-v4-logo {
        font-size: 19px;
    }

    .gd-v4-newsletter {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .gd-v4-footer-grid {
        gap: 28px 18px;
    }

    .gd-v4-footer-about {
        grid-column: 1 / -1;
    }

    .gd-v4-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .gd-v4-floating-actions {
        right: 12px;
        bottom: 12px;
    }
}
