/* ==========================================================
   GD Vehicle Stock
   ========================================================== */

:root {
    --gd-primary:      #1a56db;
    --gd-primary-dark: #1342b5;
    --gd-secondary:    #f3f4f6;
    --gd-text:         #111827;
    --gd-muted:        #6b7280;
    --gd-border:       #e5e7eb;
    --gd-white:        #ffffff;
    --gd-success:      #16a34a;
    --gd-radius:       8px;
    --gd-radius-lg:    12px;
    --gd-radius-xl:    32px;
    --gd-shadow:       0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --gd-shadow-lg:    0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --gd-trans:        .2s ease;
}

.gd-stock-page *, .gd-vehicle-detail * { box-sizing: border-box; }


/* ══════════════════════════════════════════════════════════
   ARQUIVO — Página de listagem
   ══════════════════════════════════════════════════════════ */

.gd-stock-page { padding-block: 32px; }
.gd-stock-page:before{
    content: "";
    background: linear-gradient(180deg, hsl(209.47deg 34.93% 98.01%) 0%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    height: 50dvh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.gd-stock-header {
    display: flex; align-items: baseline;
    justify-content: space-between; flex-wrap: wrap;
    gap: 8px; margin-bottom: 16px;
}
.gd-stock-header h1 { font-size: clamp(1.5625rem, 1.3482rem + 0.7143vw, 1.75rem); letter-spacing: -0.025rem; font-weight: 700; color: var(--gd-text); margin: 0; }
.gd-total-count { color: var(--gd-muted); font-size: 14px; margin: 0; }
.gd-total-count span { font-weight: 700; color: var(--gd-text); }

/* Filtros */
.gd-filters-bar {
    background: var(--gd-white);
    padding: 20px;
    margin-bottom: 28px;
    --gd-radius: 1.5rem;
    --gd-border: #F1F0F0;
    background: var(--gd-white);
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius);
    padding-inline: 32px;
    padding-block: 32px;
    box-shadow: rgba(0, 0, 0, 0.05) 0 1px 4px;
}
.gd-filters-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.gd-filters-row + .gd-filters-row {
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gd-border);
}
.gd-filters-row.gd-filters-ranges {
    gap: 2rem;
}
.gd-filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 130px; }
.gd-filter-group label {
    font-size: 11px; font-weight: 700; color: var(--gd-muted);
    text-transform: uppercase; letter-spacing: .06em;
}
.gd-filter-group select {
    height: 40px; padding: 0 32px 0 12px;
    border: 1px solid #d6d6d6; border-radius: 0;
    font-size: 14px; color: var(--gd-text);
    background: var(--gd-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none; appearance: none;
    cursor: pointer; width: 100%;
    transition: border-color var(--gd-trans), box-shadow var(--gd-trans);
    border-radius: 10px;
}
.gd-filter-group select:focus { outline: none; border-color: var(--gd-primary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }
.gd-filter-group select:disabled { background-color: #f9fafb; color: var(--gd-muted); cursor: not-allowed; }

.gd-filter-range-group { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 200px; }
.gd-filter-range-group label {
    font-size: 11px; font-weight: 700; color: var(--gd-muted);
    text-transform: uppercase; letter-spacing: .06em;
}
.gd-range-inputs { display: flex; align-items: center; gap: 8px; justify-content: space-between }
.gd-range-inputs span { color: var(--gd-muted); flex-shrink: 0; }
.gd-range-slider { margin-top: 6px; }
span.gd-range-sep { opacity: 0; }

/* noUiSlider */
.noUi-target { background: var(--gd-border); border: none; box-shadow: none; height: 4px; border-radius: 2px; }
.noUi-connect { background: var(--gd-primary); }
.noUi-handle {
    width: 18px !important; height: 18px !important;
    top: -8px !important; right: -9px !important;
    border-radius: 50%; border: 2px solid var(--gd-primary);
    background: var(--gd-white); box-shadow: var(--gd-shadow); cursor: pointer;
}
.noUi-handle::before, .noUi-handle::after { display: none; }

/* Tags activos */
.gd-filters-actions { align-items: center; min-height: 40px; }
.gd-active-filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.gd-filter-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; background: #eff6ff;
    border: 1px solid #bfdbfe; border-radius: 20px;
    font-size: 13px; color: var(--gd-primary);
}
.gd-filter-tag strong{ text-transform: capitalize}
.gd-tag-remove {
    background: none; border: none; padding: 0;
    cursor: pointer; color: var(--gd-primary);
    font-size: 11px; line-height: 1; opacity: .7;
    transition: opacity var(--gd-trans);
}
.gd-tag-remove:hover { opacity: 1; }
.gd-btn-ghost {
    background: none; border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius); padding: 8px 16px;
    font-size: 13px; color: var(--gd-muted); cursor: pointer;
    transition: all var(--gd-trans); white-space: nowrap;
}
.gd-btn-ghost:hover { border-color: #dc2626; color: #dc2626; }

/* Loading */
.gd-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; color: var(--gd-muted); }
.gd-spinner {
    width: 24px; height: 24px;
    border: 3px solid var(--gd-border); border-top-color: var(--gd-primary);
    border-radius: 50%; animation: gd-spin .7s linear infinite;
}
@keyframes gd-spin { to { transform: rotate(360deg); } }


.gd-filters-row:has(#gd-active-filters:empty) {
    display: none;
}

/* Grid de cards */
.gd-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px; transition: opacity .2s ease;
}

/* Card */
.gd-vehicle-card {
    --gd-border: var(--gd-secondary);
    --gd-radius-lg: 1.5rem;
    background: var(--gd-white); border: 3px solid var(--gd-border);
    border-radius: var(--gd-radius-lg); overflow: hidden;
    box-shadow: var(--gd-shadow);
    transition: box-shadow var(--gd-trans), transform var(--gd-trans);
}
.gd-vehicle-card:hover { box-shadow: var(--gd-shadow-lg); transform: translateY(-2px); }
.gd-card-link { text-decoration: none; color: inherit; display: block; }
.gd-card-image { position: relative; height: 200px; overflow: hidden; border-radius: 1.125rem; background: #F0F0F0; }
.gd-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gd-vehicle-card:hover .gd-card-image img { transform: scale(1.04); }
.gd-card-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 60px; color: var(--gd-border); }
.gd-card-badge {
    color: var(--gd-white);
    border-radius: 50px;
    display: flex;
    gap:6px;
    font-size: .875rem;
    font-weight: 500;
    line-height: normal;
    margin: 0 2px 2px 0;
    padding: 5px 10px;
    z-index: 5;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.gd-card-badge--reserved { background: #dc2626; }
.gd-card-badge--sold { background: #111827; }

.gd-card-badge-xs {
    font-size: 11px;
}
.gd-card-body { padding: 16px; }
.gd-card-title { font-size: clamp(1.125rem, 0.9821rem + 0.4762vw, 1.25rem); font-weight: 700; color: var(--gd-text); margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-card-version { font-size: 14px; color: var(--gd-muted); margin: 0 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gd-card-specs {
    color: var(--gd-text);
    padding-bottom: .5rem;
    display: flex;
    row-gap: .5rem;
    column-gap: .5rem;
    font-size: .75rem;
    margin-bottom: 0;
}


.gd-card-specs-icon {
    display: inline-flex;
    align-items: center;
    padding-left: 28px;
    position: relative;
}

.gd-card-specs-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background: no-repeat center/contain;
}
.gd-card-specs-icon.icon-year{
    padding: .35rem .5rem;
    border: 2px solid #78bee6;
    border-radius: 6px;
    line-height: 1;
    font-weight: 600;
    flex-shrink: 0;
}
.gd-card-specs-icon.icon-fuel{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gd-card-specs-icon.icon-mileage{
    flex-shrink: 0;
}


.gd-btn-read-more {
    --gd-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .5rem 1.8rem;
    background: #162489;
    color: var(--gd-white);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--gd-trans);
    padding-inline: 1rem;
}
.gd-btn-read-more:hover { background: var(--gd-primary); color: var(--gd-white); }

.gd-card-footer { display: flex; align-items: center; justify-content: space-between;  color: var(--gd-text); }
.gd-card-price {font-size: clamp(1.625rem, 1.3393rem + 0.9524vw, 1.875rem); font-weight: 800; }
.gd-card-negotiable { font-size: 11px; color: var(--gd-white); background: linear-gradient(135deg, #0070f3 0%, #f81ce5 100%); padding: 5px 10px; border-radius: 4px; font-weight: 600; }
.gd-card-price-label { font-size: 1rem; }

.gd-no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--gd-muted); }
.gd-no-results p { font-size: 16px; margin-bottom: 16px; }
.gd-pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 48px; flex-wrap: wrap;
}
.gd-page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 10px;
    border: 1.5px solid var(--gd-border, #ddd); border-radius: var(--gd-radius);
    background: #fff; color: var(--gd-text); font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all var(--gd-trans); line-height: 1;
}
.gd-page-btn:hover:not(:disabled):not(.gd-page-btn--active) {
    border-color: var(--gd-primary); color: var(--gd-primary);
}
.gd-page-btn--active {
    background: var(--gd-primary); border-color: var(--gd-primary);
    color: #fff; font-weight: 700; cursor: default;
}
.gd-page-btn:disabled { opacity: .35; cursor: not-allowed; }
.gd-page-prev, .gd-page-next { font-size: 16px; }
.gd-page-ellipsis {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 32px; height: 40px; color: var(--gd-muted); font-size: 14px;
    pointer-events: none; user-select: none;
}

/* Botões (arquivo) */
.gd-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 11px 22px; border-radius: var(--gd-radius);
    font-size: 14px; font-weight: 600; cursor: pointer; border: none;
    text-decoration: none; transition: all var(--gd-trans); white-space: nowrap;
}
.gd-btn:disabled { opacity: .6; cursor: not-allowed; }

.gd-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

/* Breadcrumb */
.gd-vehicle-breadcrumb a { color: var(--gd-muted); text-decoration: none; font-size: 14px; }
.gd-vehicle-breadcrumb a:hover { color: var(--gd-primary); }
.breadcrumb{
    --bs-breadcrumb-font-size: .875rem
}

/* Galeria — Swiper */
.gd-swiper-main {
    border-radius: var(--gd-radius-xl);
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 16/10;
    z-index: 0 ;
}
.gd-swiper-main .swiper-slide { height: 100%; }
.gd-swiper-main .swiper-slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gd-swiper-main .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-swiper-main .swiper-button-prev,
.gd-swiper-main .swiper-button-next {
    color: var(--gd-white); background: rgba(0,0,0,.35);
    width: 40px; height: 40px; border-radius: 50%;
    transition: background var(--gd-trans);
}
.gd-swiper-main .swiper-button-prev:hover,
.gd-swiper-main .swiper-button-next:hover { background: rgba(0,0,0,.6); }
.gd-swiper-main .swiper-button-prev::after,
.gd-swiper-main .swiper-button-next::after { font-size: 16px; font-weight: 700; }

.gd-swiper-thumbs { height: 130px; position: relative; }
.gd-thumbs-prev, .gd-thumbs-next {
    color: var(--gd-secondary) !important;
    /* background: rgba(255,255,255,.9); */
    /* width: 28px !important; */
    /* height: 28px !important; */
    border-radius: 50%;
    box-shadow: var(--gd-shadow);
    top: 50% !important;
    transition: background var(--gd-trans);
}
.gd-thumbs-prev:hover, .gd-thumbs-next:hover {  color: var(--gd-primary) !important; }
.gd-thumbs-prev::after, .gd-thumbs-next::after {font-size: 24px !important;font-weight: 700;}
.gd-thumbs-prev { left: 1rem !important; }
.gd-thumbs-next { right: 1rem !important; }

.gd-swiper-thumbs .swiper-slide {
    width: 190px !important;
    height: 130px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    opacity: .6;
    border: 2px solid transparent;
    transition: opacity var(--gd-trans), border-color var(--gd-trans);
}
.gd-swiper-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-swiper-thumbs .swiper-slide-thumb-active, .gd-swiper-thumbs .swiper-slide:hover { opacity: 1; border-color: var(--gd-secondary); }
.gd-gallery{
    position: relative;
}

.gd-gallery .gd-card-badge-container {
    position: absolute;
    z-index: 2;
    display: block;
    left: 1rem;
    top: 1rem;
}
.gd-card-badge-container{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gd-gallery-placeholder {
    aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
    font-size: 80px; background: var(--gd-secondary); border-radius: var(--gd-radius-lg);
}

/* Info sidebar */
.gd-vehicle-main-info{
    --gd-radius: 1.5rem;
    --gd-border: #F1F0F0;
    background: var(--gd-white);
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius);
    padding-inline: 20px;
    padding-block: 32px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 4px;
}
.gd-vehicle-main-info h1 { font-size: 26px; font-weight: 800; color: var(--gd-text); margin: 0 0 6px; }
.gd-vehicle-version { color: var(--gd-muted); margin: 0 0 20px; font-size: 15px; }
.gd-vehicle-price-box {--gd-secondary: #dff2ff; display: flex;align-items: center;gap: .5rem;margin-bottom: 24px;flex-wrap: wrap; border-radius: 1rem;
    padding: .5rem; background: var(--gd-secondary);}
.gd-price {font-size: clamp(1.25rem, 0.6786rem + 1.9048vw, 1.85rem);font-weight: 800;color: var(--gd-text);padding: .5rem 1.6rem;border-radius: 1rem; width: 100%; text-align: center}
.gd-badge-negotiable {
    color: #fff;
    background: linear-gradient(135deg, #0070f3 0%, #f81ce5 100%);
    border-radius: 20px;
    font-weight: 600;
}




.gd-vehicle__specs {
    color: var(--gd-text);
    padding-bottom: .5rem;
    display: flex;
    row-gap: .5rem;
    column-gap: 1rem;
    font-size: clamp(1rem, 0.8571rem + 0.4762vw, 1.125rem);
    flex-wrap: wrap;
    margin-bottom: 20px;
}


.gd-vehicle__specs-icon {
    display: inline-flex;
    align-items: center;
    padding-left: 28px;
    position: relative;
}

.gd-vehicle__specs-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background: no-repeat center/contain;
}
.gd-vehicle__specs .icon-year{
    padding: .35rem .5rem;
    border: 2px solid #78bee6;
    border-radius: .25rem;
    line-height: 1;
    font-weight: 600;
    font-size: 85%;
}


.icon-fuel::before {
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_293_183)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.16675 2.5C3.24627 2.5 2.50008 3.24619 2.50008 4.16667V15.8333C2.03985 15.8333 1.66675 16.2064 1.66675 16.6667C1.66675 17.1269 2.03985 17.5 2.50008 17.5H12.5001C12.9603 17.5 13.3334 17.1269 13.3334 16.6667C13.3334 16.2064 12.9603 15.8333 12.5001 15.8333V11.6667H13.3334V13.75C13.3334 14.9006 14.2662 15.8333 15.4167 15.8333C16.5673 15.8333 17.5001 14.9006 17.5001 13.75V8.6785C17.5001 8.23648 17.3245 7.81256 17.0119 7.5L14.756 5.24408C14.4306 4.91864 13.9029 4.91864 13.5775 5.24408C13.2521 5.56952 13.2521 6.09715 13.5775 6.42259L14.495 7.34012C14.4731 7.36966 14.4521 7.39997 14.4322 7.43102C14.2762 7.67317 14.1857 7.95162 14.1694 8.23918C14.1532 8.52675 14.2117 8.81367 14.3393 9.07183C14.4669 9.33 14.6592 9.55075 14.8976 9.7125C15.136 9.87417 15.4122 9.97142 15.6992 9.99458C15.744 9.99817 15.7887 10 15.8334 10V13.75C15.8334 13.9801 15.6468 14.1667 15.4167 14.1667C15.1867 14.1667 15.0001 13.9801 15.0001 13.75V11.6667C15.0001 10.7462 14.2539 10 13.3334 10H12.5001V4.16667C12.5001 3.24619 11.7539 2.5 10.8334 2.5H4.16675ZM10.8334 9.16667V4.16667H4.16675V9.16667H10.8334ZM4.16675 10.8333H10.8334V15.8333H4.16675V10.8333Z' fill='%2378bee6'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_293_183'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.icon-mileage::before {
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_293_175)'%3E%3Cpath d='M6.86873 2.52487C7.31523 2.63649 7.58669 3.08893 7.47507 3.53543L4.14173 16.8687C4.03012 17.3152 3.57767 17.5867 3.13118 17.4751C2.68468 17.3635 2.41321 16.9111 2.52483 16.4646L5.85817 3.13121C5.96979 2.68471 6.42223 2.41324 6.86873 2.52487ZM14.1417 3.13121L17.475 16.4646C17.5867 16.9111 17.3152 17.3635 16.8687 17.4751C16.4222 17.5867 15.9698 17.3152 15.8582 16.8687L12.5249 3.53543C12.4132 3.08893 12.6847 2.63649 13.1312 2.52487C13.5777 2.41324 14.0301 2.68471 14.1417 3.13121ZM9.99996 14.1667C10.4273 14.1667 10.7796 14.4883 10.8277 14.9028L10.8333 15V16.6667C10.8333 17.1269 10.4602 17.5 9.99996 17.5C9.57258 17.5 9.22037 17.1783 9.17223 16.7638L9.16663 16.6667V15C9.16663 14.5397 9.53971 14.1667 9.99996 14.1667ZM9.99996 8.33332C10.4602 8.33332 10.8333 8.70641 10.8333 9.16665V10.8333C10.8333 11.2936 10.4602 11.6666 9.99996 11.6666C9.53971 11.6666 9.16663 11.2936 9.16663 10.8333V9.16665C9.16663 8.70641 9.53971 8.33332 9.99996 8.33332ZM9.99996 2.49998C10.4273 2.49998 10.7796 2.82169 10.8277 3.23613L10.8333 3.33332V4.99998C10.8333 5.46022 10.4602 5.83332 9.99996 5.83332C9.57258 5.83332 9.22037 5.51162 9.17223 5.09717L9.16663 4.99998V3.33332C9.16663 2.87308 9.53971 2.49998 9.99996 2.49998Z' fill='%2378bee6'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_293_175'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.gd-specs-quick {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 12px;
}
.gd-spec-item { display: flex; flex-direction: column; gap: 2px; }
.gd-spec-icon { font-size: 16px; }
.gd-spec-label { font-size: 14px; color: var(--gd-text);  }
.gd-spec-item strong { color: var(--gd-secondary); font-weight: 600; }

/* Secções de detalhe */
.gd-detail-section {
    border: 1px solid #F1F0F0;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
    background: white;
    padding: 32px;
}

.gd-detail-section h2 {
    font-size: 20px; font-weight: 800; color: var(--gd-text);
    margin: 0 0 16px;
}
.gd-specs-grid-full {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    border: 1px solid var(--gd-border); border-radius: var(--gd-radius); overflow: hidden;
}
.gd-spec-row { display: flex; padding: 11px 16px; border-bottom: 1px solid var(--gd-border); gap: 16px; }
.gd-spec-row:last-child { border-bottom: none; }
.gd-spec-name { font-size: 13px; color: var(--gd-muted); width: 130px; flex-shrink: 0; }
.gd-spec-value { font-size: 13px; color: var(--gd-text); font-weight: 500; }

.gd-equipment-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.gd-equipment-list li { font-size: 14px; color: var(--gd-text); padding: 4px 0;  display: flex; align-items: center; gap: 8px; }
.gd-equipment-list li::before { content: '/'; font-weight: 700; flex-shrink: 0; }

.gd-video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--gd-radius-lg); }
.gd-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Reserva (shortcode) */
.gd-reservation-box { background: var(--gd-white); border: 1px solid var(--gd-border); border-radius: var(--gd-radius); padding: 20px; box-shadow: var(--gd-shadow); }
.gd-reservation-note { font-size: 12px; color: var(--gd-muted); text-align: center; margin: 10px 0 0; }
.gd-unavailable, .gd-login-required { text-align: center; }
.gd-unavailable p, .gd-login-required p { color: var(--gd-muted); margin-bottom: 12px; }

/* Simulador de financiamento */
.gd-financing {
    background: #fafeff;
    border: 3px solid #78bee6;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--gd-shadow);
}
.gd-financing__title { font-size: clamp(1.125rem, 0.9821rem + 0.4762vw, 1.25rem); font-weight: 700; color: var(--gd-text); margin: 0 0 18px; }

.gd-financing__unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 8px 0;
}
.gd-financing__unavailable-icon { font-size: 36px; line-height: 1; color: var(--gd-primary); }
.gd-financing__unavailable-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--gd-text); }
.gd-financing__unavailable-text { margin: 0; font-size: 14px; color: var(--gd-muted); line-height: 1.6; }
.gd-financing__unavailable-btn { margin-top: 4px; }
.gd-financing__field { display: flex; flex-direction: column; gap: 6px; }
.gd-financing__field label { font-size: 11px; font-weight: 700; color: var(--gd-primary); text-transform: uppercase; letter-spacing: .06em; }
.gd-financing__field select {
    height: 48px; padding: 0 32px 0 14px;
    border: 2px solid #b8d9f5; border-radius: var(--gd-radius-lg);
    font-size: 15px; font-weight: 600; color: var(--gd-text);
    background: var(--gd-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a56db' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none; appearance: none; cursor: pointer; width: 100%;
    transition: border-color var(--gd-trans);
}
.gd-financing__field select:focus { outline: none; border-color: var(--gd-primary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }
.gd-financing__summary { margin-bottom: 14px; padding: 14px 0; border-top: 1px solid var(--gd-border); border-bottom: 1px solid var(--gd-border); }
.gd-financing__summary p { margin: 4px 0; font-size: 14px; color: var(--gd-text); }
.gd-financing__summary span {  font-weight: 700;}
.gd-financing__disclaimer { font-size: 12px; color: var(--gd-muted); line-height: 1.6; margin: 0 0 20px; }
.gd-financing__actions { display: flex; flex-direction: column; gap: 10px; }
.gd-financing__btn-fin {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px; border: 2px solid var(--gd-primary); border-radius: var(--gd-radius-lg);
    font-size: 13px; font-weight: 700; color: var(--gd-primary);
    text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
    transition: all var(--gd-trans);
}
.gd-financing__btn-fin:hover { background: var(--gd-primary); color: var(--gd-white); }
.gd-financing__btn-proposal {
    display: block; width: 100%; padding: 14px 16px;
    border: none; border-radius: var(--gd-radius-lg);
    background: var(--gd-text); color: var(--gd-white);
    font-size: 16px; font-weight: 700; cursor: pointer; text-align: center;
    transition: background var(--gd-trans);
}
.gd-financing__btn-proposal:hover { background: #374151; }
.gd-financing__btn-proposal:disabled { background: #374151; pointer-events: none; opacity: .65 }




.gd-financing__back {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; padding: 0 0 16px;
    font-size: 13px; color: var(--gd-muted); cursor: pointer;
    transition: color var(--gd-trans);
}
.gd-financing__back:hover { color: var(--gd-text); }
.gd-financing__subtitle { font-size: 13px; color: var(--gd-muted); margin: -10px 0 20px; }
.gd-financing__cuota { font-size: 15px; }
.gd-financing__cuota strong {font-size: 20px;color: var(--gd-primary);display: block;padding-block: .5rem;}
.gd-financing__error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; border-radius: 6px; padding: 10px 14px; font-size: 14px; margin-bottom: 12px; }
.gd-financing__success { background: #f0fdf4; border: 1px solid #86efac; color: #15803d; border-radius: 6px; padding: 20px; font-size: 15px; text-align: center; margin-top: 12px; }
.gd-fin--blocked { position: relative; pointer-events: none; user-select: none; }
.gd-fin--blocked::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,.55); border-radius: var(--gd-radius); z-index: 10;
}
.gd-fin--blocked::before {
    content: ''; position: absolute; z-index: 11;
    top: 50%; left: 50%;
    width: 32px; height: 32px; margin: -16px 0 0 -16px;
    border: 3px solid var(--gd-border);
    border-top-color: var(--gd-primary);
    border-radius: 50%;
    animation: gd-spin .7s linear infinite;
}
@keyframes gd-spin { to { transform: rotate(360deg); } }
.gd-fin-skeleton {
    display: inline-block;
    height: .85em;
    border-radius: 4px;
    vertical-align: middle;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 300% 100%;
    animation: gd-skeleton-shimmer 1.5s infinite;
}
@keyframes gd-skeleton-shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}


.gd-financing__benefit {
    display: flex;
    width: max-content;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin: 0 2px 2px 0;
    padding: 5px 16px;
    background: #393b72;
    color: #fff;
    align-items: center;
    gap: 10px;
    background: rgb(31, 105, 255);
}



.gd-btn-reserve-link, .gd-btn-test-drive, .gd-btn-contact, .gd-btn-whatsapp-link{
    --gd-radius: 156px;
    display: block;
    width: 100%;
    padding: 11px 16px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
}

.gd-btn-reserve-link {
    background: var(--gd-white); color: var(--gd-secondary);
    border: 2px solid var(--gd-secondary);
    border-radius: var(--gd-radius);
    transition: background var(--gd-trans);
}
.gd-btn-reserve-link:hover {  background: var(--gd-secondary); color: var(--gd-white); }

.gd-btn-test-drive{
    background: var(--gd-white); color: var(--gd-secondary);
    border-radius: var(--gd-radius);
    border: 1px solid var(--gd-secondary);
    transition: background var(--gd-trans);
}
.gd-btn-test-drive:hover { background: var(--gd-secondary); color: var(--gd-white); }

.gd-btn-contact{
    background: var(--gd-text); color: var(--gd-white);
    border: 2px solid var(--gd-text);
    border-radius: var(--gd-radius);
    transition: background var(--gd-trans);
}
.gd-btn-contact_:hover { background: var(--gd-secondary); color: var(--gd-white); }

.gd-btn-whatsapp-link {
    border-radius: var(--gd-radius);
    background-color: #43cd66;
    border-color: #43cd66;
	border: 2px solid #43cd66;
    color: #103928;
    opacity: 1;
    transition: opacity ease-in-out .25s;
}
.gd-btn-whatsapp-link:hover {  opacity: .75;     color: #103928; }



/* ══════════════════════════════════════════════════════════
   PÁGINA DE RESERVA
   ══════════════════════════════════════════════════════════ */

/* Vehicle card */
.gd-reserve-vehicle-card {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--gd-white); border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius-lg); padding: 20px; overflow: hidden;
}
.gd-reserve-vehicle-img {
    width: 180px; height: 130px; object-fit: cover;
    border-radius: var(--gd-radius); flex-shrink: 0;
}
@media (max-width: 575px) {
    .gd-reserve-vehicle-card { flex-direction: column; }
    .gd-reserve-vehicle-img  { width: 100%; height: 200px; }
}
.gd-reserve-vehicle-title   { font-size: 18px; font-weight: 700; color: var(--gd-text); margin: 0 0 4px; }
.gd-reserve-vehicle-version { font-size: 13px; color: var(--gd-muted); margin: 0 0 8px; }
.gd-reserve-vehicle-meta    { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.gd-reserve-vehicle-meta span {
    font-size: 12px; color: var(--gd-muted); background: var(--gd-white); text-transform: uppercase;
    padding: 2px 8px; border-radius: 20px;
    border: 1px solid var(--gd-border);
}
.gd-reserve-vehicle-price { font-size: 22px; font-weight: 800; color: var(--gd-primary); margin: 0; }

/* Unavailable */
.gd-reserve-unavailable {
    text-align: center; padding: 32px; border: 1px dashed var(--gd-border);
    border-radius: var(--gd-radius-lg);
}
.gd-reserve-unavailable span { font-size: 32px; display: block; margin-bottom: 12px; }

/* Buttons */
.gd-reserve-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 24px; border-radius: var(--gd-radius);
    font-weight: 700; font-size: 15px; cursor: pointer;
    border: 2px solid transparent; text-decoration: none; transition: all var(--gd-trans);
}
.gd-reserve-btn--primary { background: var(--gd-text); color: var(--gd-white); border-color: var(--gd-text); }
.gd-reserve-btn--primary:hover { background: #374151; border-color: #374151; color: var(--gd-white); }
.gd-reserve-btn--outline { background: transparent; color: var(--gd-text); border-color: var(--gd-border); }
.gd-reserve-btn--outline:hover { border-color: var(--gd-text); }
.gd-reserve-btn.w-100 { width: 100%; }
.gd-reserve-btn:disabled {opacity: .5}

/* Auth box */
.gd-reserve-auth { max-width: 480px; }
.gd-reserve-auth__intro { color: var(--gd-muted); margin-bottom: 20px; }
.gd-reserve-auth__error {
    background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c;
    border-radius: var(--gd-radius); padding: 10px 14px; font-size: 14px; margin-bottom: 14px;
}
.gd-reserve-auth__form { background: var(--gd-white); border: 1px solid var(--gd-border); border-radius: var(--gd-radius-lg); padding: 28px; }
.gd-reserve-auth__title { font-size: 18px; font-weight: 700; margin: 0 0 20px; }
.gd-reserve-auth__field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.gd-reserve-auth__field label { font-size: 13px; font-weight: 600; color: var(--gd-text); }
.gd-reserve-auth__field small { font-weight: 400; color: var(--gd-muted); }
.gd-reserve-auth__field input {
    height: 46px; padding: 0 14px; border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius); font-size: 14px; width: 100%;
    transition: border-color var(--gd-trans);
}
.gd-reserve-auth__field input:focus { outline: none; border-color: var(--gd-primary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }
.gd-reserve-auth__toggle { margin-top: 14px; font-size: 13px; color: var(--gd-muted); text-align: center; }
.gd-reserve-auth__toggle a { color: var(--gd-primary); font-weight: 600; }

/* User data (pré-preenchido) */
.gd-reserve-section-title { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.gd-reserve-user-data__note { font-size: 13px; color: var(--gd-muted); }
.gd-reserve-user-data__note a { color: var(--gd-primary); text-decoration: underline; font-weight: 700 }

/* Summary sidebar */
.gd-reserve-summary {
    background: var(--gd-white); border: 2px solid #b8d9f5;
    border-radius: var(--gd-radius-lg); padding: 24px; position: sticky; top: 20px;
}
.gd-reserve-summary__title { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.gd-reserve-summary__vehicle { font-size: 14px; color: var(--gd-muted); margin-bottom: 16px; border-bottom: 1px solid var(--gd-border); padding-bottom: 16px; }
.gd-reserve-summary__price-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--gd-border);
}
.gd-reserve-summary__price-row--highlight { font-size: 16px; color: var(--gd-primary); }
.gd-reserve-summary__price-row--highlight strong { font-size: 20px; }
.gd-reserve-summary__note { font-size: 12px; color: var(--gd-muted); line-height: 1.6; margin: 14px 0; }

.gd-res-info-notice {background: #ebf5ff;border-radius: var(--gd-radius, 8px);padding: 14px 16px;margin-bottom: 14px;color: #0068d6;font-family: Verdana, sans-serif;}
.gd-res-info-notice p {font-size: 13px;color: #0068d6;line-height: 1.6;margin: 0 0 8px;}
.gd-res-info-notice p:last-child { margin-bottom: 0; }
.gd-res-info-notice a {color: #00254d;text-decoration: none;font-weight: 500;}
.gd-res-info-notice a:hover { text-decoration: underline; }

.gd-res-reserved-badge {
    display: block; background: #f0fdf4; border: 1px solid #86efac; color: #15803d;
    border-radius: var(--gd-radius); padding: 10px 14px; font-weight: 700;
    font-size: 14px; margin-bottom: 10px; text-align: center;
}

.gd-res-reserved-badge--waiting{
    background: #111827;
    color: #F0F0F0;
    border:0
}
/* Recomendados */
.gd-similar__title {
    font-size: 24px; font-weight: 800; color: var(--gd-text);
    margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════════════════════════ */

/* ── Offcanvas filtros: inline no desktop ──────────────────────────────── */
@media (min-width: 992px) {
    .gd-filters-offcanvas {
        position: static !important;
        height: auto !important;
        max-height: none !important;
        visibility: visible !important;
        transform: none !important;
        background: var(--gd-white) !important;
        border: 1px solid #F1F0F0 !important;
        border-radius: 1.5rem !important;
        box-shadow: rgba(0,0,0,0.05) 0 1px 4px !important;
        padding: 32px !important;
        margin-bottom: 28px !important;
        transition: none !important;
        z-index: 1 !important;
        width: auto !important;
    }
    .gd-filters-offcanvas .offcanvas-body {
        overflow-y: visible !important;
        padding: 0 !important;
        flex-grow: unset;
    }
}

/* ── Offcanvas filtros: bottom sheet no mobile ─────────────────────────── */
@media (max-width: 991.98px) {

    .gd-filter-group select {
    height: 46px;
    }
    .offcanvas.gd-filters-offcanvas {
        --bs-offcanvas-height: 90vh;
        max-height: 90dvh;
        border-radius: 1.5rem 1.5rem 0 0;
    }
    .gd-filters-offcanvas .offcanvas-body {
        padding: 20px 20px;
    }
    .gd-filters-selects { flex-direction: column; }
    .gd-filter-group, .gd-filter-range-group { min-width: 100%; }
}

/* ── Barra mobile ──────────────────────────────────────────────────────── */
.gd-mobile-filter-bar { align-items: stretch; }

.gd-btn-filters {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--gd-border, #e5e7eb);
    background: var(--gd-white);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    color: #111827;
}
.gd-btn-filters:hover { border-color: var(--gd-primary); }

.gd-filter-badge {
    background: var(--gd-primary, #092152);
    color: #fff;
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}

.gd-sort-mobile {
    
    height: 44px;
    padding: 0 32px 0 12px;
    border: 1px solid var(--gd-border, #e5e7eb);
    border-radius: 10px;
    background: var(--gd-white);
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ── Footer do offcanvas (mobile) ──────────────────────────────────────── */
.gd-offcanvas-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gd-border, #e5e7eb);
    gap: 10px;
}

.gd-btn-apply-filters {
    flex: 1;
    height: 48px;
    background: var(--gd-primary, #092152);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.gd-btn-apply-filters:hover { opacity: .9; }

@media (max-width: 768px) {
    .gd-vehicles-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .gd-stock-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
    .gd-swiper-main {
        --gd-radius-xl:24px;
    }
    .gd-swiper-thumbs {
        height: 75px;
    }
    .gd-swiper-thumbs .swiper-slide {
        width: 111px !important;
        height: 75px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .gd-vehicles-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .gd-specs-quick { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* ══════════════════════════════════════════════════════════
   MODAIS DE LEAD (Test-Drive / Contacto)
   ══════════════════════════════════════════════════════════ */
.gd-lead-section-label{
    color: #070707;
}
/* RGPD */
.gd-rgpd {
    --gd-text: #3D3D3D;
    padding-top: 20px;
}
.gd-rgpd__text {
    font-size: .875rem; color: #3D3D3D; margin-bottom: 10px; line-height: 1.5;
}
.gd-rgpd__marketing {
   margin-bottom: 4px;
}
.gd-rgpd__radios {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; cursor: pointer;
}
.gd-rgpd__radio {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; cursor: pointer; color: var(--gd-text);
}
.gd-rgpd__radio input[type="radio"] { accent-color: var(--gd-primary); width: 16px; height: 16px; }

.gd-rgpd__meios { margin-top: 10px; }
.gd-rgpd__meios-label { font-size: 14px; margin-bottom: .25rem; color: var(--gd-text); }
.gd-rgpd__checks {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.gd-rgpd__check {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 14px; cursor: pointer;
    padding: 6px 0;
}
.gd-rgpd__check:has(input:checked) {
    border-color: var(--gd-primary);  color: var(--gd-primary);
}
.gd-rgpd__check input[type="checkbox"] { accent-color: var(--gd-primary); width: 15px; height: 15px; }

.gd-rgpd__privacy {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    font-size: 13px; line-height: 1.5;
}
.gd-rgpd__privacy input[type="checkbox"] {
    accent-color: var(--gd-primary); width: 16px; height: 16px;
    margin-top: 2px; flex-shrink: 0;
}
.gd-rgpd__privacy a { color: var(--gd-primary); text-decoration: underline; font-weight: 500 }





/* Success state */
.gd-lead-success__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: #ecfdf5; color: #059669;
    font-size: 26px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}

/* Form error banner */
.gd-lead-form-error {
    padding: 10px 14px; background: #fef2f2; color: #dc2626;
    border: 1px solid #fecaca; border-radius: var(--gd-radius); font-size: 14px;
}

/* ══════════════════════════════════════════════════════════
   RECOMENDAÇÕES — Secção acima da grelha de stock
   ══════════════════════════════════════════════════════════ */

.gd-rec-section {
    --gd-radius-lg: 2rem;
    margin-bottom: 32px;
    padding: 16px;
    background: linear-gradient(135deg, #0c2153 30%, #A58CD2 100%);
    border-radius: var(--gd-radius-lg);
    color: #fff;
}

.gd-rec-section .gd-vehicle-card {
    --gd-border: rgb(165 140 210 / 48%);
    --gd-radius-lg: calc(24px + 4px);
}

.gd-rec-section .gd-btn-read-more {
    background: linear-gradient(160deg, #0c2153, #A58CD2);
    padding-block: 14px;
    opacity: 1;
}
.gd-rec-section .gd-btn-read-more:hover {
    opacity: .75;
    background: linear-gradient(160deg, #0c2153, #A58CD2);
}



.gd-rec-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.gd-rec-icon { font-size: 22px; line-height: 1; }

.gd-rec-title {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.gd-rec-dismiss {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    border-radius: var(--gd-radius);
    transition: background var(--gd-trans), color var(--gd-trans);
}
.gd-rec-dismiss:hover { background: #e5e7eb; color: var(--gd-text); }

.gd-rec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 900px) {
    .gd-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 600px) {
    .gd-rec-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .gd-rec-section { padding: 16px; }
    .gd-rec-title { font-size: 16px; }
}

/* ══════════════════════════════════════════════════════════
   FAVORITAS — Botão coração + dashboard
   ══════════════════════════════════════════════════════════ */

.gd-btn-favorite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 10px 16px;
    background: #f7f7f9;
    border: 0;
    border-radius: 14px;
    color: var(--gd-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--gd-trans), color var(--gd-trans), background var(--gd-trans);
}

.gd-btn-favorite svg {
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill var(--gd-trans), stroke var(--gd-trans);
}

.gd-btn-favorite:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.gd-btn-favorite.is-saved {
    border-color: #ef4444;
    color: #ef4444;
    background: #fff5f5;
}

.gd-btn-favorite.is-saved svg {
    fill: #ef4444;
    stroke: #ef4444;
}

.gd-btn-favorite:disabled {
    opacity: .6;
    cursor: wait;
}

/* Dashboard — aba Favoritas */

.gd-fav-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    margin-top: 16px;
    @media (width >= 48rem) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

.gd-fav-item {
    position: relative;
}

.gd-fav-remove-btn {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius);
    color: var(--gd-muted);
    font-size: 13px;
    cursor: pointer;
    transition: border-color var(--gd-trans), color var(--gd-trans);
}

.gd-fav-remove-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.gd-fav-empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--gd-muted);
}

.gd-fav-browse {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: var(--gd-primary);
    color: #fff;
    border-radius: var(--gd-radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--gd-trans);
}

.gd-fav-browse:hover { background: var(--gd-primary-dark); color: #fff; }

@media (max-width: 900px) {
    .gd-fav-grid { grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 600px) {
    .gd-fav-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

.whatsapp-fab {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;

    width: 56px;
    height: 56px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #25d366;
    color: #fff;

    border: none;
    cursor: pointer;

    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab svg {
    width: 32px;
    height: 32px;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background-color: #20b457;
}

.whatsapp-fab:active, .whatsapp-fab:focus  {
    transform: scale(0.95);
    outline: 2px solid #005c3a;
}

.whatsapp-fab::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.4;
    animation: wapulse 2s infinite;
}

@keyframes wapulse {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 12px;
        right: 12px;
    }
}

@keyframes shadow-pulse
{
    0% {
        box-shadow: 0 0 0 0px rgba(0, 112, 244, 0.4);
    }
    100% {
        box-shadow: 0 0 7px 25px rgba(0, 112, 244, 0);
    }
}