/* ==========================================================================
   MuzInstrumentalVen - Komponensek és Modális Elemek
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FAST 1-CLICK ORDER MODAL (Csak Név és Telefonszám)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 17, 23, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-smooth);
}
.modal-backdrop.active .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  z-index: 5;
}
.modal-close-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.modal-header {
  padding: 1.75rem 1.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
}
.modal-header p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}
.modal-body {
  padding: 1.75rem;
}

/* Modal Product Summary */
.modal-product-preview {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--color-bg-light);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}
.modal-product-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.modal-prod-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}
.modal-prod-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-sale);
  margin-top: 0.2rem;
}

/* Gyorsrendelés Űrlap */
.fast-order-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}
.input-with-icon {
  position: relative;
}
.input-with-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 1rem;
}
.form-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background: #fff;
}
.form-input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(200, 138, 53, 0.15);
}
.btn-submit-order {
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(200, 138, 53, 0.4);
  transition: var(--transition-fast);
  margin-top: 0.5rem;
}
.btn-submit-order:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}
.order-guarantee-note {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   2. SLIDE CART DRAWER
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #ffffff;
  z-index: 2600;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer-overlay.active .cart-drawer {
  right: 0;
}
.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.cart-item-img {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f8fafc;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-sale);
  margin-bottom: 0.5rem;
}
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
}
.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-primary);
}
.qty-val {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.cart-item-remove {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--color-text-light);
  font-size: 1rem;
}
.cart-item-remove:hover {
  color: var(--color-sale);
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-muted);
}
.cart-empty-state i {
  font-size: 3.5rem;
  color: var(--color-border-dark);
  margin-bottom: 1rem;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-light);
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}
.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   3. MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 2600;
  padding: 1.5rem;
  box-shadow: 5px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-overlay.active .mobile-nav-drawer {
  left: 0;
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav-list a {
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-nav-list a:hover {
  background: var(--color-bg-light);
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   4. COOKIE CONSENT BANNER (GOOGLE ADS & GDPR COMPLIANT)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  width: calc(100% - 40px);
  max-width: 720px;
  background: #11141a;
  color: #f1f5f9;
  border: 1px solid rgba(200, 138, 53, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  z-index: 3000;
  opacity: 0;
  transition: var(--transition-smooth);
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-text h4 i {
  color: var(--color-accent);
}
.cookie-text p {
  font-size: 0.825rem;
  color: #94a3b8;
  line-height: 1.5;
}
.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.btn-cookie-accept {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.btn-cookie-accept:hover {
  background: var(--color-accent-hover);
}
.btn-cookie-decline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
}
.btn-cookie-decline:hover {
  background: rgba(255,255,255,0.08);
}

/* --------------------------------------------------------------------------
   5. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 3500;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast-message {
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-left: 4px solid var(--color-accent);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.toast-message.show {
  transform: translateX(0);
}
.toast-message.success {
  border-left-color: var(--color-success);
}

/* --------------------------------------------------------------------------
   6. CATALOG PAGE FILTERS & LAYOUT
   -------------------------------------------------------------------------- */
.catalog-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 5rem;
}
.catalog-sidebar {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.filter-group {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.filter-list li {
  margin-bottom: 0.65rem;
}
.filter-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text-main);
  cursor: pointer;
}
.filter-checkbox-label input {
  margin-right: 0.5rem;
  accent-color: var(--color-accent);
}
.filter-checkbox-label .item-count {
  font-size: 0.775rem;
  color: var(--color-text-light);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.catalog-sort-select {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   7. SINGLE PRODUCT PAGE STYLES
   -------------------------------------------------------------------------- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  padding: 3rem 0;
}
.product-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.main-gallery-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #f8fafc;
  height: 480px;
}
.main-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs-row {
  display: flex;
  gap: 0.75rem;
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  background: #f8fafc;
  transition: var(--transition-fast);
}
.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--color-accent);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
}
.product-detail-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.product-detail-price-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-tag-big {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-sale);
}
.old-price-big {
  font-size: 1.25rem;
  color: var(--color-text-light);
  text-decoration: line-through;
  margin-left: 0.75rem;
}

.stock-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-success);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.stock-dot {
  width: 10px;
  height: 10px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.fast-order-card-box {
  background: #fff;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}
.fast-order-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.fast-order-card-box p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.specs-table tr {
  border-bottom: 1px solid var(--color-border);
}
.specs-table th, .specs-table td {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  text-align: left;
}
.specs-table th {
  color: var(--color-text-muted);
  font-weight: 600;
  width: 35%;
  background: var(--color-bg-light);
}
.specs-table td {
  color: var(--color-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. THANK YOU PAGE SPECIFIC
   -------------------------------------------------------------------------- */
.thank-you-card {
  max-width: 680px;
  margin: 4rem auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: #ecfdf5;
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.order-id-box {
  background: var(--color-bg-light);
  border: 1px dashed var(--color-border-dark);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 1.5rem 0;
}
.next-steps-list {
  text-align: left;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
}
.next-steps-list li:last-child {
  margin-bottom: 0;
}
.step-number {
  background: var(--color-accent);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. POLICY & STATIC PAGES (ABOUT, PRIVACY, TERMS, CONTACT)
   -------------------------------------------------------------------------- */
.policy-page-header {
  background: var(--color-primary);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.policy-page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.policy-page-header p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.policy-content-wrapper {
  max-width: 860px;
  margin: 3.5rem auto 5rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
  color: #334155;
}
.policy-content-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.policy-content-wrapper h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1.5rem 0 0.5rem;
}
.policy-content-wrapper p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.policy-content-wrapper ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.policy-content-wrapper li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.legal-box {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  padding: 3.5rem 0 5rem;
}
.contact-card-info {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}
.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-row-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
