/* ═══════════════════════════════════════════
   אבזרים נלווים (Accessories) — page-specific
   Uses shared blue design system variables.
   ═══════════════════════════════════════════ */

/* ─── Section base padding (matches tourist-complexes rhythm) ─── */
.accessories .acc-grid-section {
    padding: 100px 0;
    position: relative;
}

.accessories h2,
.accessories h3,
.accessories h4 {
    color: var(--ink-900);
}

/* ═══════════════════════════════════════════
   Grid
   ═══════════════════════════════════════════ */
.acc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ═══════════════════════════════════════════
   Card
   ═══════════════════════════════════════════ */
.acc-card {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.acc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-200);
}

.acc-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-100);
}

.acc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.acc-card:hover .acc-card-media img {
    transform: scale(1.04);
}

.acc-card-body {
    background: var(--blue-50);
    padding: 18px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.4;
    margin: 0;
}

/* ═══════════════════════════════════════════
   "Price on request" strip
   Sits at the bottom-right of the media area (RTL leading edge),
   with a notched left tail that points toward the body.
   Uses the shared blue brand gradient.
   ═══════════════════════════════════════════ */
.acc-price-strip {
    position: absolute;
    top: 14px;
    right: 0;
    background: var(--grad);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 11px 22px 11px 28px;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-blue);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .acc-grid {
        gap: 22px;
    }
    .acc-price-strip {
        font-size: 13px;
        padding: 10px 18px 10px 24px;
    }
}

@media (max-width: 900px) {
    .accessories .acc-grid-section {
        padding: 72px 0;
    }
    .acc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .accessories .acc-grid-section {
        padding: 56px 0;
    }
    .acc-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .acc-card-title {
        font-size: 15px;
    }
    .acc-price-strip {
        font-size: 12.5px;
        padding: 9px 16px 9px 22px;
        top: 10px;
    }
}
