/**
 * UK Peptides - Professional Research Peptide Store
 * Custom styling for a modern e-commerce experience
 */

/*=== CSS VARIABLES - Consistent Colors ===*/
:root {
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --accent-primary: #0077b6;
  --accent-secondary: #90e0ef;
  --brand-blue: #0077b6;
  --brand-blue-dark: #023e8a;
  --brand-blue-light: #0096c7;
  --brand-cyan: #90e0ef;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #0077b6;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
}

/*=== TYPOGRAPHY - Raleway Font ===*/
body {
  line-height: 1.7;
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

p, li, span, a, td, th, label {
  color: var(--text-secondary);
}

a {
  color: var(--text-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

.text-muted {
  color: var(--text-muted) !important;
}

h1, .h1 {
  font-size: 42px;
  font-weight: 800;
}

h2, .h2 {
  font-size: 32px;
  font-weight: 700;
}

h3, .h3 {
  font-size: 24px;
  line-height: 1.4;
}

h4, .h4 {
  font-size: 20px;
  line-height: 1.5;
}

h5, .h5 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

h6, .h6 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.font-primary {
  font-family: "Raleway", sans-serif;
}

.font-secondary {
  font-family: "Raleway", sans-serif;
}

/*=== LUCIDE ICONS STYLING ===*/
[data-lucide] {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: -0.125em;
}

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
.icon-2xl { width: 48px; height: 48px; }
.icon-3xl { width: 64px; height: 64px; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

.navbar-toggle .icon-bar {
  background: var(--accent-primary);
}

input[type=email], input[type=password], input[type=text], input[type=tel] {
  box-shadow: none;
  height: 50px;
  outline: none;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
}
input[type=email]:focus, input[type=password]:focus, input[type=text]:focus, input[type=tel]:focus {
  box-shadow: 0 0 0 3px rgba(245, 99, 75, 0.1);
  border: 1px solid var(--accent-primary);
}

.form-control {
  box-shadow: none;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(245, 99, 75, 0.1);
  border: 1px solid var(--accent-primary);
}

.btn {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-weight: 700;
  transition: all 0.5s ease;
  border: 1px solid transparent;
}

.btn-main, .btn-small, .btn-transparent {
  background: linear-gradient(90deg, rgb(245, 99, 75) 0%, #fe9418 100%);
  color: #fff;
}
.btn-main:hover, .btn-small:hover, .btn-transparent:hover {
  background: linear-gradient(90deg, #fe9418 0%, rgb(245, 99, 75) 100%);
  color: #fff !important;
  transform: translateY(-5px);
}

.btn-solid-border {
  border: 2px solid rgb(245, 99, 75);
  background: transparent;
  color: #fff;
}
.btn-solid-border:hover {
  border: 2px solid rgb(245, 99, 75);
  background: rgb(245, 99, 75);
}

.btn-white {
  border: 2px solid #fff;
  background: #fff;
  color: #232323;
}
.btn-white:hover {
  border: 1px solid rgb(245, 99, 75);
  background: rgb(245, 99, 75);
  color: #fff !important;
}

.btn-transparent {
  background: transparent;
  padding: 0;
  color: rgb(245, 99, 75);
}
.btn-transparent:hover {
  background: transparent;
  color: rgb(245, 99, 75);
}

.btn-large {
  padding: 20px 45px;
}
.btn-large.btn-icon i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.btn-small {
  padding: 10px 25px;
  font-size: 12px;
}

.btn-round {
  border-radius: 10px;
}

.btn-round-full {
  border-radius: 50px;
}

.btn.active:focus, .btn:active:focus, .btn:focus {
  outline: 0;
}

.bg-shadow {
  background-color: #fff;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.bg-gray {
  background: #f0f2f4;
}

.bg-primary {
  background: rgb(245, 99, 75) !important;
}

.section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 70px;
}
.section-title .title {
  font-size: 50px;
  line-height: 50px;
}
.section-title p {
  color: #666;
  font-family: "Raleway", sans-serif;
}

.page-title {
  padding: 155px 0 100px;
}

.overly, .bg-4 {
  position: relative;
}
.overly:before, .bg-4:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #232323;
  opacity: 0.8;
}

.overly-2, .textimonial, .cta, .slider, .page-title {
  position: relative;
}
.overly-2:before, .textimonial:before, .cta:before, .slider:before, .page-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
}

#success, #error {
  display: none;
}

.text-color {
  color: rgb(245, 99, 75);
}

.text-black {
  color: #232323;
}

.text-sm {
  font-size: 14px;
}

.text-md {
  font-size: 26px;
  line-height: 36px;
}

.text-lg {
  font-size: 56px;
  line-height: 66px;
}

.no-spacing {
  letter-spacing: 0px;
}

a {
  transition: all 0.35s ease;
}

a:hover, a:focus {
  color: rgb(245, 99, 75) !important;
  text-decoration: none !important;
  outline: 0;
}

.font-size-13 {
  font-size: 13px;
}

.letter-spacing {
  letter-spacing: 1px;
}

.bg-black-50 {
  background: #181a23;
}

.navbar-nav li {
  padding: 0px 10px;
}
.navbar-nav li.nav-item.active .nav-link {
  color: #3b82f6 !important;
}
.navbar-nav .nav-link {
  font-family: "Raleway", sans-serif;
  color: #1e293b !important;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  font-weight: 600;
  opacity: 1 !important;
  display: block;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: #3b82f6 !important;
  text-decoration: none;
}

.top-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}
.top-header ul li {
  padding: 0px 25px;
  border-left: 1px solid #dedede;
}

.dropdown {
  height: 100%;
}

.dropdown-menu {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 24px 0 26px;
  min-width: 280px;
  left: 0px;
  top: 100%;
  transform: translateY(10%);
  visibility: hidden;
  opacity: 0;
  z-index: 10;
  transition: all 0.3s ease 0s;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-item {
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  padding: 0.55rem 2rem;
  font-weight: 600;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  z-index: 20;
  transform: translateY(0%);
}

.dropdown-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

ul.dropdown-menu li {
  padding-left: 0px !important;
}

.fixed-nav {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-toggler {
  background-color: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 8px 12px;
  color: #1e293b;
}

.navbar-collapse.collapse.show {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider {
  background: url("../images/bg/bg-7.jpg") no-repeat 0% 30%;
  background-size: cover;
  padding: 180px 0px;
}
.slider h1 {
  font-size: 95px;
  line-height: 95px;
}
.slider span.subhead {
  color: #fff;
  letter-spacing: 5px;
  border: 2px solid #fff;
  padding: 3px 15px 5px 15px;
  opacity: 0.8;
}

.bg-2 {
  background: url("../images/bg/bg-image-2-1.jpg") no-repeat;
  background-size: cover;
}

.bg-3 {
  background: url("../images/bg/bg-cta.jpg") no-repeat;
  background-size: cover;
}

.bg-4 {
  background: url("../images/about/img-7.jpg") no-repeat;
  background-size: cover;
}

.mt-80px {
  margin-top: -80px;
}

.number {
  opacity: 0.1;
  font-size: 130px;
  display: block;
  line-height: 120px;
  position: absolute;
  top: 10px;
}

.why .card {
  transition: all 0.4s ease 0s;
}
.why .card:hover {
  background: #181a23;
}

.why .card:hover h3,
.why .card:hover p {
  color: #fff;
}

.hover-style-1 {
  position: relative;
}
.hover-style-1:before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 100%;
  height: 0px;
  transition: all 600ms ease;
  background: linear-gradient(90deg, rgb(245, 99, 75) 0%, #fe9418 100%);
  border-color: rgb(245, 99, 75);
}
.hover-style-1 h3, .hover-style-1 p, .hover-style-1 a, .hover-style-1 i, .hover-style-1 h4 {
  position: relative;
  transition: all 600ms ease;
}
.hover-style-1:hover:before {
  height: 100%;
}
.hover-style-1:hover a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.hover-style-1:hover h3,
.hover-style-1:hover h4,
.hover-style-1:hover p,
.hover-style-1:hover a {
  color: #fff;
}

.hover-style-1:hover i {
  color: rgba(255, 255, 255, 0.8) !important;
}

.mt--45 {
  margin-top: -45px;
}

.course .card-body a h4:hover {
  color: rgb(245, 99, 75);
}

.course-widget li a {
  color: #232323;
  opacity: 0.9;
}

.team-content-overlay li a {
  color: #fff;
}
.team-content-overlay li a:hover {
  background: rgb(245, 99, 75);
}

.team-item .card-body {
  margin-top: -120px;
}

.team-content-overlay {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
  width: 100%;
  background-color: rgba(41, 40, 45, 0.85);
  transition: opacity 0.3s ease-out;
}

.overlay-content {
  width: 100%;
  position: absolute;
  left: 0;
  padding: 25px;
  box-sizing: border-box;
  text-align: center;
  top: 50%;
  transform: translateY(-40%);
}

.team-item:hover .team-content-overlay {
  opacity: 1;
}

.team-item:hover .card-body {
  opacity: 0;
}

.team-wrap .card-subtitle {
  position: relative;
}
.team-wrap .card-subtitle:after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  max-width: 26px;
  border-top: 4px solid #ddd;
  margin-top: 20px;
}
.team-wrap ul li a {
  width: 40px;
  height: 40px;
  border: 1px solid #dedede;
  color: #232323;
  display: inline-block;
  text-align: center;
  padding-top: 6px;
}
.team-wrap ul li a:hover {
  background: rgb(245, 99, 75);
  border-color: rgb(245, 99, 75);
  color: #fff !important;
}

.divider {
  margin: 0 auto;
  background: rgb(245, 99, 75);
  width: 45px;
  height: 4px;
}

.cta {
  background: url("../images/bg/slide2.jpg") fixed 50% 50% no-repeat;
  background-size: cover;
}

.w-40 {
  width: 40%;
}

.testimonial-slider .slick-dots li {
  color: #fff;
}

.slick-dots li.slick-active button::before {
  color: rgb(245, 99, 75);
}

.slick-dots li button::before {
  color: #fff;
  font-size: 10px;
}

.slick-slide:focus, .slick-slide a {
  outline: none;
}

.lh-35 {
  line-height: 35px;
}

.pricing .card-body ul li {
  font-size: 15px;
}
.pricing h3 {
  padding-left: 20px;
}
.pricing h3 sup {
  top: 20px;
  left: 0px;
}
.pricing h3 sub {
  font-size: 13px;
}
.pricing .btn-solid-border:hover {
  color: #fff !important;
}

.map {
  width: 100%;
  height: 450px;
}

.mt--170 {
  margin-top: -170px;
}

.blog .card a h4 {
  font-weight: 700;
}
.blog .card a h4:hover {
  color: rgb(245, 99, 75);
}

.blog-post-meta span {
  font-size: 13px;
}

.lh-25 {
  line-height: 23px;
}

.search i {
  position: absolute;
  right: 15px;
  top: 15px;
}

.tags a {
  display: inline-block;
  color: #232323;
  border: 1px solid #dedede;
  padding: 3px 10px;
  margin-bottom: 5px;
  text-transform: capitalize;
  font-size: 14px;
}

.follow a {
  width: 35px;
  height: 35px;
  background: #fff;
  display: inline-block;
  text-align: center;
  padding-top: 5px;
}

.pagination {
  border: 0px;
}
.pagination li a {
  color: #232323;
}
.pagination .page-item.active .page-link {
  background-color: rgb(245, 99, 75);
  border-color: rgb(245, 99, 75);
  color: #fff !important;
}
.pagination .page-item:last-child .page-link {
  border-radius: 0px;
}
.pagination .page-item:first-child .page-link {
  border-radius: 0px;
}
.pagination .page-link {
  background: transparent;
  padding: 15px 20px;
}

.font-size-12 {
  font-size: 12px;
}

.post-tags a {
  display: inline-block;
  background: #fff;
  padding: 5px 10px;
}

.social-share a {
  color: #232323;
  padding: 0px 10px;
}

.reply-btn {
  font-size: 12px;
  padding: 6px 17px;
  font-weight: 400;
  border: 2px solid #eee;
}

.footer {
  padding-top: 90px;
  padding-bottom: 45px;
}
.footer p {
  color: #fff;
  opacity: 0.8;
  font-size: 14px;
}

.bg-black {
  background: #111;
}

.footer-menu li a {
  color: #fff;
  opacity: 0.8;
  font-size: 14px;
}
.footer-menu li a:hover {
  color: rgb(245, 99, 75);
  opacity: 1;
}

.lh-40 {
  line-height: 40px;
}

.footer-socials li a {
  color: #fff;
  opacity: 0.8;
}

.recent-blog a {
  line-height: 1.5;
  font-size: 14px;
}

.footer-socials li a {
  color: #595b65;
  font-size: 18px;
  padding-left: 10px;
}

/*=== MEDIA QUERY ===*/
@media (max-width: 400px) {
  .dropdown-menu {
    display: none;
    width: 100%;
    text-align: center;
  }
  .navbar-nav li {
    padding: 0px;
  }
}
@media (max-width: 480px) {
  .slider h1 {
    font-size: 40px;
    line-height: 48px;
  }
  .text-lg {
    font-size: 28px;
    line-height: 38px;
  }
  .lead {
    font-size: 1rem;
  }
  .media {
    display: block;
  }
  .media-body {
    margin-top: 20px;
  }
  .number {
    font-size: 50px;
    line-height: 65px;
  }
  .dropdown-menu {
    display: none;
    text-align: center;
  }
  .navbar-nav li {
    padding: 0px;
  }
}
@media (max-width: 768px) {
  .media {
    display: block;
  }
  .media-body {
    margin-top: 20px;
  }
  .services .media img {
    width: 100% !important;
  }
  .dropdown-menu {
    display: none;
    text-align: center;
  }
  .navbar-nav li {
    padding: 0px;
  }
}

/*=== PHOSPHOR ICONS STYLING ===*/
.ph {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.ph.text-lg {
  font-size: 2.5rem;
}

/* Icon spacing in buttons */
.btn .ph {
  vertical-align: -0.125em;
}

/* Icons in lists */
li .ph {
  width: 1.25em;
}
/*# sourceMappingURL=style.css.map */

/* =========================================
   OUT OF THIS PLANET REDESIGN - CUSTOM CSS
   ========================================= */

/* --- Animations & Effects --- */
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
0% { box-shadow: 0 0 0 0 rgba(245, 99, 75, 0.4); }
70% { box-shadow: 0 0 0 15px rgba(245, 99, 75, 0); }
100% { box-shadow: 0 0 0 0 rgba(245, 99, 75, 0); }
}

.animate-float {
animation: float 6s ease-in-out infinite;
}

.text-gradient {
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.bg-gradient-light {
background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}

.bg-gradient-dark {
background: linear-gradient(135deg, #1a1c23 0%, #111 100%);
color: #fff;
}

/* --- Hero Section --- */
.hero-modern {
position: relative;
padding: 160px 0 100px;
background: #0f172a; /* Deep space blue/black */
overflow: hidden;
}

.hero-modern::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: 
radial-gradient(circle at 20% 30%, rgba(245, 99, 75, 0.15) 0%, transparent 50%),
radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
z-index: 1;
}

.hero-content {
position: relative;
z-index: 2;
}

.hero-badge {
display: inline-flex;
align-items: center;
padding: 8px 16px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 50px;
color: #fff;
font-size: 14px;
margin-bottom: 24px;
backdrop-filter: blur(10px);
}

.hero-badge .dot {
width: 8px;
height: 8px;
background-color: var(--success);
border-radius: 50%;
margin-right: 10px;
box-shadow: 0 0 10px var(--success);
}

/* --- Feature Cards (Glassmorphism) --- */
.feature-card-modern {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 30px;
border-radius: 16px;
transition: all 0.3s ease;
height: 100%;
}

.feature-card-modern:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.08);
border-color: var(--accent-primary);
}

/* --- Product Cards Redesign --- */
.product-card-modern {
background: #fff;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
transition: all 0.3s ease;
border: 1px solid #f1f5f9;
height: 100%;
display: flex;
flex-direction: column;
}

.product-card-modern:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-image-wrapper {
position: relative;
padding-top: 100%; /* 1:1 Aspect Ratio */
overflow: hidden;
background: #f8fafc;
}

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

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

.product-badge {
position: absolute;
top: 15px;
left: 15px;
padding: 5px 12px;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
z-index: 2;
}

.badge-hot { background: var(--accent-primary); color: white; }
.badge-new { background: var(--info); color: white; }

/* --- FAQ Accordion --- */
.faq-item {
margin-bottom: 15px;
border: 1px solid var(--border-color);
border-radius: 12px;
overflow: hidden;
background: #fff;
}

.faq-header {
padding: 20px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
color: var(--text-primary);
transition: background 0.2s;
}

.faq-header:hover {
background: #f8fafc;
}

.faq-body {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: all 0.3s ease-out;
color: var(--text-secondary);
}

.faq-item.active .faq-body {
padding: 0 20px 20px;
max-height: 500px; /* Approximate max height */
}

.faq-icon {
transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
transform: rotate(180deg);
}

/* --- Process Steps --- */
.process-step {
position: relative;
padding: 30px;
text-align: center;
}

.step-number {
width: 50px;
height: 50px;
background: var(--accent-primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
font-weight: 700;
margin: 0 auto 20px;
position: relative;
z-index: 2;
}

.process-step::after {
content: '';
position: absolute;
top: 55px;
left: 50%;
width: 100%;
height: 2px;
background: #e2e8f0;
z-index: 1;
}

.process-step:last-child::after {
display: none;
}

@media (max-width: 991px) {
.process-step::after {
display: none;
}
}

/* --- Testimonial Modern --- */
.testimonial-card-modern {
background: #fff;
padding: 40px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
position: relative;
margin: 15px;
}

.quote-icon {
font-size: 40px;
color: var(--accent-primary);
opacity: 0.2;
position: absolute;
top: 30px;
left: 30px;
}


/* Product Card Styles - Ensure consistent rounded buttons */
.product-card {
  border-radius: 10px !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card .btn,
.product-card .btn-main,
.product-card .btn-sm {
  border-radius: 10px !important;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card {
  border-radius: 10px !important;
}

/* Ensure all Bootstrap cards have 10px border radius */
.card img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.badge {
  border-radius: 10px !important;
}

/* Form controls */
.form-control {
  border-radius: 10px !important;
}

/* Footer link hover effects */
.footer a:hover {
  color: #3b82f6 !important;
  transition: color 0.3s ease;
}

/* Navigation improvements */
.navigation.fixed-top {
  transition: all 0.3s ease;
}

.navigation.fixed-top.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/*=== NEW SHOPCART HEADER OVERRIDES ===*/
/* Force navigation links to be visible on desktop */
.main-nav .nav-collapse {
  display: flex !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
}

.main-nav .nav-links {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
}

.main-nav .nav-item {
  display: block !important;
  visibility: visible !important;
}

.main-nav .nav-link {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Mobile menu - hidden by default, shown on toggle */
@media (max-width: 991px) {
  .main-nav .nav-collapse {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
    z-index: 9999;
  }

  .main-nav .nav-collapse.show {
    display: flex !important;
  }

  .main-nav .nav-links {
    flex-direction: column !important;
    width: 100% !important;
  }

  .main-nav .mobile-toggle {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .main-nav .nav-collapse {
    display: flex !important;
  }

  .main-nav .mobile-toggle {
    display: none !important;
  }
}

/*=== ENTERPRISE MOBILE-FIRST DESIGN SYSTEM ===*/
/* Based on 8px grid, 48px minimum touch targets, WCAG AA compliance */

:root {
  /* Spacing scale based on 8px grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  
  /* Mobile-specific variables */
  --mobile-padding-x: 20px;
  --mobile-section-padding: 48px;
  --touch-target: 48px;
  --safe-area-bottom: env(safe-area-inset-bottom, 0);
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover effects on touch devices */
  .btn:hover,
  .card:hover {
    transform: none !important;
    box-shadow: inherit !important;
  }
  
  /* Larger touch targets - WCAG AA minimum 44px, we use 48px */
  .btn,
  button,
  a.nav-link,
  input[type="submit"],
  input[type="button"] {
    min-height: var(--touch-target);
  }
  
  /* Active states instead of hover for immediate feedback */
  .btn:active,
  button:active {
    transform: scale(0.98) !important;
    opacity: 0.9;
  }
  
  /* Remove iOS tap highlight */
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Momentum scrolling */
  .scrollable {
    -webkit-overflow-scrolling: touch;
  }
}

/* Extra Small Mobile (up to 575px) */
@media (max-width: 575px) {
  /* Typography - Optimized for mobile readability */
  body {
    font-size: 15px;
    line-height: 1.65;
  }
  
  h1, .h1 { 
    font-size: 1.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-4);
  }
  h2, .h2 { 
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: var(--space-4);
  }
  h3, .h3 { 
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: var(--space-3);
  }
  h4, .h4 { 
    font-size: 1.1rem;
    margin-bottom: var(--space-3);
  }
  
  /* Container - Professional padding */
  .container {
    padding-left: var(--mobile-padding-x);
    padding-right: var(--mobile-padding-x);
  }
  
  /* Section spacing - Generous breathing room */
  .section {
    padding: var(--mobile-section-padding) 0;
  }
  
  .page-title {
    padding: var(--space-8) 0 var(--space-7);
  }
  
  /* Cards - Proper spacing */
  .card {
    border-radius: 16px;
    padding: var(--space-5);
  }
  
  /* Row gutters - Consistent spacing */
  .row {
    margin-left: calc(-1 * var(--space-2));
    margin-right: calc(-1 * var(--space-2));
  }
  
  .row > [class*="col-"] {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
  
  /* Enhanced gutter options */
  .row.g-3 {
    --bs-gutter-x: var(--space-3);
    --bs-gutter-y: var(--space-3);
  }
  
  .row.g-4 {
    --bs-gutter-x: var(--space-5);
    --bs-gutter-y: var(--space-5);
  }
  
  /* Buttons - Touch-optimized */
  .btn {
    padding: var(--space-4) var(--space-6);
    font-size: 16px;
    border-radius: 12px;
    min-height: var(--touch-target);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
  }
  
  .btn-lg {
    padding: var(--space-5) var(--space-7);
    font-size: 17px;
    min-height: 56px;
  }
  
  .btn-sm {
    padding: var(--space-3) var(--space-5);
    font-size: 14px;
    min-height: 40px;
  }
  
  /* Form inputs - Prevent iOS zoom, proper sizing */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
    min-height: var(--touch-target);
    padding: var(--space-4);
    border-radius: 12px;
    border: 1px solid var(--border-color);
  }
  
  /* Focus states */
  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
  }
  
  /* Buttons full width helper */
  .btn-block-mobile {
    width: 100%;
    display: block;
  }
  
  /* Hide on mobile */
  .d-mobile-none {
    display: none !important;
  }
  
  /* Show only on mobile */
  .d-mobile-only {
    display: block !important;
  }
  
  /* Mobile spacing utilities */
  .mb-mobile-3 {
    margin-bottom: 16px !important;
  }
  
  .mb-mobile-4 {
    margin-bottom: 24px !important;
  }
  
  /* Table responsiveness */
  .table-responsive-mobile {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small Mobile / Large Phone (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.5rem; }
  
  .section {
    padding: 48px 0;
  }
  
  /* Show on mobile only */
  .d-mobile-only {
    display: none !important;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.75rem; }
  
  .section {
    padding: 60px 0;
  }
  
  .d-mobile-only {
    display: none !important;
  }
}

/* Desktop and up */
@media (min-width: 992px) {
  .d-mobile-none {
    display: initial !important;
  }
  
  .d-mobile-only {
    display: none !important;
  }
}

/* Smooth scrolling for hash links */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Safe area padding for notched devices */
@supports (padding-top: env(safe-area-inset-top)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

