/* ================================================
   EVDEKO THEME - Sandbox Aqua Override
   Ev / Dekorasyon e-ticaret temasi
   ================================================ */

/* --- Font Path Override (Sandbox fonts) --- */
@font-face { font-family:'Urbanist'; src: url('../sandbox/fonts/urbanist/Urbanist-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; }
@font-face { font-family:'Urbanist'; src: url('../sandbox/fonts/urbanist/Urbanist-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; }
@font-face { font-family:'Urbanist'; src: url('../sandbox/fonts/urbanist/Urbanist-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; }
@font-face { font-family:'Urbanist'; src: url('../sandbox/fonts/urbanist/Urbanist-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; }

/* --- Extended Navbar (2-row) --- */
.evdeko-topbar { background: #2d3748; color: #a0aec0; font-size: 0.8rem; padding: 0.4rem 0; }
.evdeko-topbar a { color: #cbd5e0; text-decoration: none; }
.evdeko-topbar a:hover { color: #fff; }
.evdeko-topbar .social a { margin-left: 0.75rem; font-size: 0.9rem; }

.navbar .navbar-brand img { max-height: 44px; }
.navbar .nav-link { font-weight: 500; letter-spacing: 0.02em; }
.badge-cart { font-size: 0.6rem; padding: 0.2em 0.45em; position: absolute; top: 0; right: -6px; }

/* --- Warm Color Overrides --- */
.bg-warm { background-color: #faf8f5 !important; }
.text-warm { color: #5d4e37; }

/* --- Product Card - Lifestyle Style --- */
.shop .project figure { overflow: hidden; position: relative; border-radius: 0.5rem; }
.shop .project figure img { transition: transform 0.5s ease, filter 0.3s ease; }
.shop .project figure:hover img { transform: scale(1.08); filter: brightness(0.95); }

.shop .project .item-cart { font-size: 0.85rem; padding: 0.5rem 1.2rem; }
.shop .project .item-like,
.shop .project .item-view { transition: all 0.3s ease; }

.shop .project .post-header { padding-top: 0.75rem; }
.shop .project .post-title { font-size: 1.05rem; }
.shop .project .post-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Price Styling --- */
.price del { color: #aab0bc; font-size: 0.9em; }
.price ins { text-decoration: none; font-weight: 700; color: #343f52; }
.price .amount { font-weight: 600; }

/* --- Flash Messages --- */
.flash-container { z-index: 1050; }
.flash-container .alert { border-radius: 0.4rem; border: none; box-shadow: 0 0.25rem 0.75rem rgba(30,34,40,.06); }

/* --- Sidebar Filters --- */
.sidebar .widget { margin-bottom: 1.5rem; }
.sidebar .widget-title { font-size: 1rem; font-weight: 700; color: #343f52; }
.sidebar .btn-toggle-nav a { display: block; padding: 0.25rem 0; color: #60697b; text-decoration: none; font-size: 0.9rem; }
.sidebar .btn-toggle-nav a:hover { color: var(--bs-primary); }

/* --- Account Sidebar --- */
.account-sidebar { background: #fff; border-radius: 0.4rem; box-shadow: 0 0.25rem 1.75rem rgba(30,34,40,.07); padding: 1.5rem; }
.account-sidebar .nav-link { padding: 0.6rem 1rem; border-radius: 0.3rem; color: #60697b; font-weight: 500; transition: all 0.2s; }
.account-sidebar .nav-link:hover,
.account-sidebar .nav-link.active { background: rgba(69,196,160,0.08); color: var(--bs-primary); }
.account-sidebar .nav-link i { width: 20px; text-align: center; margin-right: 0.5rem; }
.account-sidebar .user-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.account-sidebar .user-initials { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; color: #fff; background: var(--bs-primary); }

/* --- Cart Page --- */
.cart-item { display: flex; align-items: center; padding: 1rem 0; border-bottom: 1px solid #e9ecef; gap: 1rem; }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 0.5rem; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info a { color: #343f52; font-weight: 600; text-decoration: none; }
.cart-item-info a:hover { color: var(--bs-primary); }

.qty-ctrl { display: flex; align-items: center; border: 1px solid #e0e3e6; border-radius: 0.3rem; overflow: hidden; }
.qty-ctrl .qty-btn { width: 32px; height: 32px; border: none; background: #f6f7f9; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.qty-ctrl .qty-btn:hover { background: #e9ecef; }
.qty-ctrl .qty-input { width: 40px; height: 32px; text-align: center; border: none; border-left: 1px solid #e0e3e6; border-right: 1px solid #e0e3e6; font-size: 0.85rem; -moz-appearance: textfield; }
.qty-ctrl .qty-input::-webkit-outer-spin-button,
.qty-ctrl .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Checkout --- */
.checkout-timer { background: var(--bs-primary); color: #fff; padding: 0.75rem 1rem; border-radius: 0.4rem; margin-bottom: 1.5rem; }
.checkout-timer .progress { height: 4px; background: rgba(255,255,255,0.2); }
.checkout-timer .progress-bar { background: #fff; }
.checkout-summary .summary-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; }
.checkout-summary .summary-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 0.3rem; }

/* --- Status Badges --- */
.badge-pending { background: #fab758; color: #fff; }
.badge-paid { background: #45c4a0; color: #fff; }
.badge-failed { background: #e2626b; color: #fff; }
.badge-refunded { background: #747ed1; color: #fff; }
.badge-processing { background: #54a8c7; color: #fff; }
.badge-shipped { background: #3f78e0; color: #fff; }
.badge-delivered { background: #45c4a0; color: #fff; }
.badge-cancelled { background: #e2626b; color: #fff; }

/* --- Product Detail Gallery --- */
.product-gallery-main { border-radius: 0.5rem; overflow: hidden; }
.product-gallery-main img { width: 100%; height: auto; }
.product-gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.product-gallery-thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: 0.4rem; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active { border-color: var(--bs-primary); }

/* --- Favorites --- */
.btn-favori { border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; }

/* --- Newsletter Section (Enhanced) --- */
.evdeko-newsletter { background: linear-gradient(135deg, #e8f5f0 0%, #f0f9f6 100%); border-radius: 0.5rem; padding: 2rem; text-align: center; }
.evdeko-newsletter h4 { color: #343f52; margin-bottom: 0.5rem; }
.evdeko-newsletter p { color: #60697b; font-size: 0.9rem; margin-bottom: 1rem; }
.evdeko-newsletter .input-group { max-width: 400px; margin: 0 auto; }

/* --- Home Hero Carousel --- */
.evdeko-hero .swiper-slide { position: relative; min-height: 400px; display: flex; align-items: center; }
.evdeko-hero .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); border-radius: 0.5rem; }
.evdeko-hero .hero-content { position: relative; z-index: 2; color: #fff; }

/* --- Category Cards --- */
.evdeko-cat-card { text-align: center; padding: 1.5rem; border-radius: 0.5rem; background: #fff; box-shadow: 0 0.25rem 1rem rgba(30,34,40,.04); transition: all 0.3s; }
.evdeko-cat-card:hover { box-shadow: 0 0.5rem 2rem rgba(30,34,40,.08); transform: translateY(-2px); }
.evdeko-cat-card i { font-size: 2.5rem; color: var(--bs-primary); margin-bottom: 0.75rem; display: block; }
.evdeko-cat-card h6 { margin: 0; color: #343f52; }

/* --- Empty State --- */
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state i { font-size: 3rem; color: #aab0bc; display: block; margin-bottom: 1rem; }

/* --- Responsive --- */
@media (max-width: 767.98px) {
  .evdeko-topbar { display: none; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-img { width: 60px; height: 60px; }
  .sidebar { margin-bottom: 1.5rem; }
  .account-sidebar { margin-bottom: 1.5rem; }
  .evdeko-hero .swiper-slide { min-height: 250px; }
}

@media (max-width: 991.98px) {
  .sidebar { order: -1; }
}
