
:root {
  --primary-blue: #0d3b82;
  --accent-blue: #0052cc;
  --dark-blue: #071642;
  --light-bg: #f8f9fa;
  --text-gray: #6c757d;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* --- Navigation Bar --- */
.nav-link { color: #333; font-weight: 500; font-size: 14px; margin: 0 5px; cursor: pointer; }
.nav-link.active, .nav-link:hover { color: var(--accent-blue); }
.btn-quote { background-color: var(--primary-blue); color: #fff; border-radius: 20px; padding: 8px 22px; font-weight: 600; font-size: 13px; text-decoration: none; }
.btn-quote:hover { background-color: var(--dark-blue); color: #fff; }
/* Tabs Section */
.nav-tabs .nav-link {
  color: #666;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  background: none;
}

/* --- Feature 1: Functional Expandable Search Bar --- */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 20px;
  outline: none;
  font-size: 13px;
  transition: all 0.4s ease;
  opacity: 0;
  background: #f8f9fa;
}
.search-box.open .search-input {
  width: 170px;
  padding: 6px 15px;
  padding-right: 35px;
  border-color: var(--accent-blue);
  opacity: 1;
}
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-box.open .search-btn {
  position: absolute;
  right: 5px;
  color: var(--accent-blue);
}
.cart-badge {
  position: absolute; top: -5px; right: -8px; background: red; color: white;
  border-radius: 50%; padding: 2px 6px; font-size: 10px; font-weight: bold;
}

/* --- Feature 2: Hero Slider Styles --- */
.hero-section {
  background: radial-gradient(circle at 70% 50%, #1a52c8, #071642);
  color: #fff;
  padding: 60px 0;
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; }
.hero-feature-icon {
  width: 45px; height: 45px; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; font-size: 1.1rem;
}
.btn-explore { background: #fff; color: var(--dark-blue); font-weight:bold; border-radius: 5px; padding: 10px 25px; text-decoration: none; }

/* Hero Carousel Nav Controls */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
  color: white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: background 0.3s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Custom Dots */
.slider-dots {
  position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; background: rgba(255,255,255,0.4);
  border-radius: 50%; cursor: pointer; transition: all 0.3s;
}
.slider-dot.active { background: #fff; width: 12px; height: 12px; }

/* --- Sections & Cards --- */
.section-title { color: var(--primary-blue); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.section-subtitle { color: var(--text-gray); font-size: 14px; margin-bottom: 30px; }

.product-card {
  border: 1px solid #eee; border-radius: 8px; padding: 20px; transition: all 0.3s; background: #fff;
}
.product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.08); transform: translateY(-3px); }
.product-card img { max-height: 120px; object-fit: contain; }
.product-title { font-size: 15px; font-weight: 600; margin-top: 10px; }
.product-price { color: var(--accent-blue); font-weight: bold; font-size: 14px; }
.btn-view-details { border: 1px solid var(--accent-blue); color: var(--accent-blue); border-radius: 4px; font-size: 12px; font-weight: 600; padding: 5px 15px; text-decoration: none; display: inline-block; }

.why-icon-box {
  width: 50px; height: 50px; background: #eef4ff; color: var(--accent-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 15px; font-size: 1.2rem;
}

/* --- Feature 3: Testimonials Section & Carousel --- */
.testimonials-section { background-color: var(--dark-blue); color: white; padding: 60px 0; position: relative; }
.testimonial-card { background: white; color: #333; border-radius: 8px; padding: 25px; height: 100%; }
.quote-icon { color: var(--accent-blue); font-size: 1.8rem; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* Breadcrumb */
.breadcrumb-item a { color: #666; text-decoration: none; font-size: 13px; }
.breadcrumb-item.active { color: #333; font-size: 13px; font-weight: 600; }

/* --- Image Gallery & Zoom Effect --- */
.main-image-container {
  width: 100%;
  height: 380px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  background-color: #fff;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
}

/* Thumbnails List */
.thumbnail-list {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.thumb-item {
  width: 75px;
  height: 75px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
  background: #fff;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 0 5px rgba(0, 56, 168, 0.3);
}

/* --- Product Details Right Column --- */
.product-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.rating-stars {
  color: #ffb400;
  font-size: 14px;
}

.reviews-count {
  color: #777;
  font-size: 13px;
  margin-left: 5px;
}

.product-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 15px 0;
}

.product-description-short {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.spec-list {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #444;
  margin-top: 15px;
}

.spec-list li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 15px;
}

.spec-list li::before {
  content: "•";
  color: var(--primary-blue);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Quantity Box & Action Buttons */
.quantity-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: fit-content;
}

.qty-btn {
  background: none;
  border: none;
  padding: 6px 14px;
  font-size: 16px;
  cursor: pointer;
  color: #555;
}

.qty-input {
  width: 40px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  outline: none;
}

.btn-add-cart {
  background-color: var(--primary-blue);
  color: white;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  transition: background 0.2s;
}

.btn-add-cart:hover {
  background-color: #002673;
}

.btn-buy-now {
  background-color: transparent;
  color: var(--primary-blue);
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 24px;
  border: 1px solid var(--primary-blue);
}

.btn-buy-now:hover {
  background-color: #f0f4ff;
}

/* Feature Highlights Strip */
.feature-strip {
  background: #f8fafe;
  border: 1px solid #e5edff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.feature-item i {
  font-size: 18px;
  color: var(--primary-blue);
}

/* --- Cart Table Styling --- */
.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
}

.cart-table th {
  color: #555;
  font-weight: 600;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.cart-table td {
  padding: 15px 0;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

.product-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #eee;
  padding: 5px;
  background: #fff;
}

.product-name {
  font-weight: 600;
  font-size: 15px;
  color: #111;
  margin-bottom: 2px;
}

.product-spec {
  font-size: 13px;
  color: #777;
}

.price-text {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

/* Quantity Box */
.quantity-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  padding: 6px 14px;
  font-size: 16px;
  cursor: pointer;
  color: #555;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #f0f0f0;
}

.qty-input {
  width: 45px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  outline: none;
}

.btn-remove {
  color: #777;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 5px;
}

.btn-remove:hover {
  color: #e60000;
}

.btn-continue {
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-continue:hover {
  background: #f0f4ff;
  color: var(--primary-blue);
}

/* --- Cart Summary Box --- */
.cart-summary-card {
  border: 1px solid #e5e9f2;
  border-radius: 12px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.summary-title {
  font-weight: 700;
  font-size: 18px;
  color: #111;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
}

.summary-row.total-row {
  margin-top: 20px;
  padding-top: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.total-amount {
  color: var(--primary-blue);
  font-size: 20px;
}

.btn-checkout {
  width: 100%;
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  transition: background 0.2s;
}

.btn-checkout:hover {
  background-color: #002673;
}


/* --- Form & Layout Styling --- */
.checkout-title {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 25px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

/* Custom Input Fields */
.form-control, .form-select {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #444;
  background-color: var(--input-bg);
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 56, 168, 0.1);
}

.form-control::placeholder {
  color: #a0aec0;
  font-size: 13px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 6px;
}

/* --- Order Summary Card --- */
.order-summary-card {
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: #4a5568;
}

.order-header {
  font-weight: 600;
  color: #718096;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.order-row.bold-row {
  font-weight: 600;
  color: #2d3748;
}

.order-row.total-row {
  border-top: 1px solid #edf2f7;
  margin-top: 10px;
  padding-top: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #1a202c;
}

.total-price {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 20px;
}

/* --- Payment Methods --- */
.payment-methods {
  margin-top: 25px;
  border-top: 1px solid #edf2f7;
  padding-top: 20px;
}

.form-check {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.form-check-label {
  font-size: 14px;
  color: #2d3748;
  font-weight: 500;
  cursor: pointer;
}

/* Button */
.btn-place-order {
  width: 100%;
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 20px;
  transition: background-color 0.2s ease;
}

.btn-place-order:hover {
  background-color: #002673;
}

.privacy-text {
  font-size: 11px;
  color: #a0aec0;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 0;
}





/* Form & Footer */
.form-control { padding: 10px 15px; font-size: 14px; border-radius: 5px; }
footer { background-color: #111; color: #aaa; font-size: 13px; }
footer h6 { color: white; margin-bottom: 15px; font-weight: 600; }
footer a { color: #aaa; text-decoration: none; }
footer a:hover { color: white; }
.social-icon { width: 30px; height: 30px; border-radius: 50%; background: #222; display: inline-flex; align-items: center; justify-content: center; color: white; margin-right: 5px; text-decoration: none; }