/* site/css/style.css - Exact 1:1 N Modern Mobilya Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #E4820E;
  --primary-hover: #c9710a;
  --dark: #111111;
  --dark-light: #222222;
  --text-muted: #666666;
  --border-color: #E5E7EB;
  --bg-light: #F9F9F9;
  --bg-gray: #F3F3F3;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 0px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--dark);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HEADER ==================== */
.top-notification-bar {
  background: #111111;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  padding: 8px 15px;
  letter-spacing: 0.5px;
}

.top-notification-bar span {
  color: var(--primary);
  font-weight: 600;
}

.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 0;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--dark);
}

.header-search {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.header-search input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  background-color: #F5F7FA;
  border: 1px solid #F5F7FA;
  border-radius: 0px;
  font-size: 13.5px;
  color: #333;
  outline: none;
  transition: all 0.2s;
}

.header-search input:focus {
  background-color: #FFFFFF;
  border-color: #DDD;
}

.header-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
}

.search-dropdown-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFF;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  margin-top: 4px;
  max-height: 420px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
}

.header-center {
  display: flex;
  justify-content: center;
}

.site-logo {
  display: block;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.header-icon-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.header-icon-link svg {
  width: 22px;
  height: 22px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 1.8;
}

.cart-toggle-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: #F9F9F9;
  border: 1px solid #EEEEEE;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-toggle-pill:hover {
  background: #F1F1F1;
}

.cart-pill-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.cart-pill-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--primary);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ==================== NAVIGATION BAR ==================== */
.nav-bar {
  background: #FFFFFF;
  border-top: 1px solid #F0F0F0;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dark);
  text-transform: capitalize;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.nav-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--primary);
}

/* Dropdown / Mega Menu */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 240px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  padding: 16px 0;
  z-index: 1020;
  display: none;
}

.nav-item:hover .mega-dropdown {
  display: block;
}

.mega-dropdown a {
  display: block;
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.mega-dropdown a:hover {
  background: #F9F9F9;
  color: var(--primary);
  padding-left: 28px;
}

/* ==================== HERO SLIDER ==================== */
.hero-slider-section {
  position: relative;
  background: #000;
  overflow: hidden;
  height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #FFF;
  max-width: 650px;
  padding: 0 40px;
}

.hero-subtitle {
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: #DDD;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background: #FFFFFF;
  color: #000000;
  padding: 15px 38px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0px;
  transition: all 0.3s;
}

.hero-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

/* ==================== SECTION STYLES ==================== */
.section-padding {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ==================== CATEGORIES GRID ==================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #EAEAEA;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  cursor: pointer;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.category-card-content {
  position: relative;
  z-index: 2;
  color: #FFF;
}

.category-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==================== PRODUCT CARDS & GRID ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  position: relative;
  background: #FFFFFF;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
  background: #F7F7F7;
}

.product-card-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image-wrap img {
  transform: scale(1.06);
}

.badge-bundle {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark);
  color: #FFF;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #FFF;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s;
}

.btn-wishlist svg {
  width: 18px;
  height: 18px;
  stroke: #222;
  fill: none;
}

.btn-wishlist.active svg {
  fill: #CF2E2E;
  stroke: #CF2E2E;
}

.product-card-body {
  padding: 16px 0 0 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category-name {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--primary);
}

.product-price-row {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.product-current-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.product-old-price {
  font-size: 14px;
  color: #AAA;
  text-decoration: line-through;
}

/* ==================== MODULAR BUNDLE CONFIGURATOR ==================== */
.bundle-builder-card {
  background: #FAFAFA;
  border: 1px solid var(--border-color);
  padding: 24px;
  margin: 30px 0;
}

.bundle-builder-header {
  border-bottom: 1px solid #EAEAEA;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.bundle-builder-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bundle-builder-header p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.bundle-module-row {
  display: grid;
  grid-template-columns: 70px 1fr 140px 130px 130px;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #EEEEEE;
}

.bundle-module-row:last-child {
  border-bottom: none;
}

.module-img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  background: #EAEAEA;
  border: 1px solid #E0E0E0;
}

.module-info h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.module-info span {
  font-size: 12px;
  color: #888;
}

.module-unit-price {
  font-size: 15px;
  font-weight: 500;
  color: #444;
}

/* Quantity Control Buttons */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #DDD;
  background: #FFF;
}

.qty-btn {
  width: 34px;
  height: 36px;
  background: #F5F5F5;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--dark);
  color: #FFF;
}

.qty-input {
  width: 44px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.module-line-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  text-align: right;
}

.bundle-calculation-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bundle-total-label {
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

.bundle-total-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.btn-black {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0px !important;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-black:hover {
  background-color: var(--primary) !important;
}

.btn-primary {
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0px !important;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #c9710a !important;
}

/* ==================== PRODUCT DETAILS PAGE ==================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.gallery-sticky {
  position: sticky;
  top: 100px;
}

.main-image-viewport {
  width: 100%;
  height: 520px;
  background: #F7F7F7;
  overflow: hidden;
  position: relative;
  cursor: crosshair;
}

.main-image-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
}

.thumbnails-strip {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumb-item {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border: 1px solid #DDD;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--primary);
  opacity: 1;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-column h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product-detail-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.features-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  background: #F9F9F9;
  border: 1px solid #EEEEEE;
  margin-bottom: 24px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
}

.feature-check-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ==================== TABS ==================== */
.product-tabs-container {
  margin-top: 70px;
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid #EEEEEE;
  gap: 30px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn.active {
  color: var(--dark);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.tab-pane {
  padding: 30px 0;
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Tables */
.spec-table, .dimension-table, .installment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.spec-table td, .dimension-table th, .dimension-table td, .installment-table th, .installment-table td {
  padding: 14px 18px;
  border: 1px solid #EAEAEA;
}

.spec-table tr:nth-child(even), .dimension-table tr:nth-child(even), .installment-table tr:nth-child(even) {
  background-color: #FAFAFA;
}

.spec-table td:first-child {
  font-weight: 600;
  width: 30%;
  color: #444;
}

.dimension-table th, .installment-table th {
  background: #111;
  color: #FFF;
  font-weight: 600;
  text-align: left;
}

/* ==================== TRUST BADGES BAR ==================== */
.trust-badges-bar {
  background: #F9F9F9;
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  padding: 40px 0;
  margin-top: 60px;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.trust-badge-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.trust-badge-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #111111;
  color: #EEEEEE;
  padding: 60px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #AAAAAA;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #222222;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* ==================== FLOATING WHATSAPP ==================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}
