/* HitPro Gift Cards Styles */

.hp-giftcards-section { padding: 40px 0; }

/* Filters */
.hp-gc-filters { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; align-items: center; }
.hp-gc-search { flex: 1; min-width: 250px; position: relative; }
.hp-gc-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--hp-gray-400); }
.hp-gc-search .hp-input { padding-left: 40px; }
.hp-gc-filter-group { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-gc-filter-group .hp-select { min-width: 160px; }

/* Cards Grid */
.hp-gc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.hp-gc-card { background: #fff; border: 1px solid var(--hp-gray-200); border-radius: var(--hp-radius-lg); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.hp-gc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }

.hp-gc-card-image { height: 140px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hp-gc-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hp-gc-card-image i { font-size: 2.5rem; color: rgba(255,255,255,0.9); }

.hp-gc-card-body { padding: 16px; }
.hp-gc-card-name { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.hp-gc-card-brand { font-size: 0.8rem; color: var(--hp-gray-500); display: block; margin-bottom: 10px; }
.hp-gc-card-price { font-size: 0.85rem; color: var(--hp-gray-600); margin-bottom: 12px; }
.hp-gc-card-price strong { color: var(--hp-emerald); font-weight: 700; }

/* Modal */
.hp-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.hp-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.hp-modal-content { position: relative; background: #fff; border-radius: var(--hp-radius-xl); max-width: 700px; width: 90%; max-height: 90vh; overflow-y: auto; z-index: 1; }
.hp-modal-close { position: absolute; top: 16px; right: 16px; background: var(--hp-gray-100); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.15s; }
.hp-modal-close:hover { background: var(--hp-gray-200); }

.hp-gc-modal-body { padding: 32px; }
.hp-gc-modal-body h2 { margin: 0 0 8px; font-size: 1.4rem; font-weight: 700; }
.hp-gc-modal-image { margin-bottom: 20px; }

.hp-gc-modal-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-gc-amount-btn { padding: 10px 20px; border: 2px solid var(--hp-gray-200); border-radius: var(--hp-radius-md); background: #fff; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; font-size: 0.9rem; }
.hp-gc-amount-btn:hover { border-color: var(--hp-emerald); }
.hp-gc-amount-btn.active { background: var(--hp-emerald); color: #fff; border-color: var(--hp-emerald); }

.hp-gc-modal-price { background: var(--hp-gray-50); padding: 16px; border-radius: var(--hp-radius-md); margin: 16px 0; }

/* Loading */
.hp-gc-loading { text-align: center; padding: 40px 0; }

/* Toast notification */
.hp-toast { position: fixed; top: 20px; right: 20px; padding: 16px 24px; border-radius: var(--hp-radius-md); color: #fff; font-weight: 600; z-index: 100000; animation: hp-slideIn 0.3s ease; }
.hp-toast-success { background: #10B981; }
@keyframes hp-slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Responsive */
@media (max-width: 768px) {
    .hp-gc-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .hp-gc-card-image { height: 100px; }
    .hp-gc-card-image i { font-size: 1.8rem; }
    .hp-gc-card-body { padding: 12px; }
    .hp-gc-card-name { font-size: 0.9rem; }
    .hp-gc-filters { flex-direction: column; }
    .hp-gc-search { min-width: 100%; }
    .hp-gc-filter-group { width: 100%; }
    .hp-gc-filter-group .hp-select { flex: 1; min-width: 0; }
    .hp-modal-content { width: 95%; }
    .hp-gc-modal-body { padding: 20px; }
}
