/* High Quality Disposables - Shared Styles */

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Bar */
.top-bar {
  background: #1a4d2e;
  color: white;
  padding: 8px 0;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: white;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar .toll-free-top {
  font-size: 15px;
}

.top-bar .toll-free-top a {
  color: #ffd700;
  font-size: 16px;
}

/* Header */
.header {
  background: white;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  flex-shrink: 0;
}

.logo h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1a4d2e;
  line-height: 1.2;
}

.logo h1 a {
  color: inherit;
}

.logo span {
  display: block;
  font-size: 11px;
  color: #666;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-box {
  flex: 1;
  max-width: 500px;
}

.search-box form {
  display: flex;
  border: 2px solid #1a4d2e;
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-size: 14px;
  outline: none;
}

.search-box button {
  background: #1a4d2e;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.search-box button:hover {
  background: #154025;
}

.header-contact {
  display: flex;
  flex-direction: column;
  text-align: right;
  flex-shrink: 0;
}

.header-contact .phone {
  order: 1;
  font-size: 20px;
  font-weight: 700;
  color: #1a4d2e;
}

.header-contact .hours {
  order: 2;
  font-size: 12px;
  color: #666;
}

/* Navigation */
.nav {
  background: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
}

.nav li a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: all 0.2s;
}

.nav li a:hover,
.nav li a.active {
  background: #1a4d2e;
  color: white;
}

/* Hero Banner */
.hero {
  background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
  color: white;
  padding: 50px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 450px;
}

.hero-cta {
  display: inline-block;
  background: #f4a024;
  color: #333;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s;
}

.hero-cta:hover {
  background: #e5931a;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  gap: 15px;
}

.hero-img-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  flex: 1;
  transition: transform 0.3s;
}

.hero-img-card:hover {
  transform: translateY(-5px);
}

.hero-img-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.hero-img-card .label {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.section-header a {
  color: #1a4d2e;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.section-header a:hover {
  text-decoration: underline;
}

/* Categories Section */
.categories {
  padding: 50px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}

.category-card:hover {
  border-color: #1a4d2e;
  box-shadow: 0 8px 25px rgba(26, 77, 46, 0.15);
  transform: translateY(-5px);
}

.category-image-wrapper {
  position: relative;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 77, 46, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.view-category {
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border: 2px solid white;
  border-radius: 4px;
  transition: all 0.2s;
}

.category-card:hover .view-category {
  background: white;
  color: #1a4d2e;
}

.category-card .info {
  padding: 15px;
}

.category-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  transition: color 0.2s;
}

.category-card:hover h3 {
  color: #1a4d2e;
}

.category-card .count {
  font-size: 12px;
  color: #666;
}

/* Featured Products */
.featured {
  background: #f8f8f8;
  padding: 50px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #1a4d2e;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-view-btn:hover {
  background: #1a4d2e;
  color: white;
}

.product-card .info {
  padding: 15px;
}

.product-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-desc {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-card .price {
  font-size: 18px;
  font-weight: 700;
  color: #1a4d2e;
}

.product-card .unit {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

/* Quick View Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-header h3 {
  font-size: 18px;
  color: #333;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

.modal-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.modal-image img {
  width: 100%;
  border-radius: 8px;
}

.modal-details h4 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.modal-details .category-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #1a4d2e;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}

.modal-details .description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-details .price {
  font-size: 28px;
  font-weight: 700;
  color: #1a4d2e;
  margin-bottom: 20px;
}

.modal-details .price .unit {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.contact-cta {
  display: inline-block;
  background: #1a4d2e;
  color: white;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}

.contact-cta:hover {
  background: #154025;
}

/* Contact Section */
.contact-section {
  padding: 50px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.contact-card {
  text-align: center;
  padding: 30px 20px;
  background: #f8f8f8;
  border-radius: 8px;
  transition: all 0.3s;
}

.contact-card:hover {
  background: #e8f5e9;
  transform: translateY(-3px);
}

.contact-card .icon {
  width: 50px;
  height: 50px;
  background: #1a4d2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.contact-card .icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.contact-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.contact-card a {
  color: #1a4d2e;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
}

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

.footer a {
  color: #ccc;
  font-size: 14px;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  background: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 14px;
}

.breadcrumb-list a {
  color: #1a4d2e;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-list .separator {
  color: #999;
}

.breadcrumb-list .current {
  color: #666;
}

/* Category Page */
.category-header {
  padding: 40px 0;
  background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
  color: white;
}

.category-header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.category-header p {
  opacity: 0.9;
  font-size: 16px;
}

.category-products {
  padding: 40px 0;
}

.no-products {
  text-align: center;
  color: #666;
  padding: 60px 20px;
  grid-column: 1 / -1;
  font-size: 16px;
}

/* Notifications */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  z-index: 1001;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification-success {
  background: #1a4d2e;
}

.notification-error {
  background: #dc3545;
}

.notification-info {
  background: #0d6efd;
}

/* Responsive */
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .search-box {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 15px;
  }
  .header-contact {
  display: flex;
  flex-direction: column;
    margin-left: auto;
  }
  .nav ul {
    flex-wrap: wrap;
  }
  .nav li a {
    padding: 10px 12px;
    font-size: 13px;
  }
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content h2 {
    font-size: 28px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    flex-direction: column;
  }
}
