/* ============================================
   Phoenix Electrical Wholesale
   (Trading as Phoenix Wholesale & Distribution Ltd)
   Main Stylesheet
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

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

/* --- CSS Variables --- */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #1E88E5;
  --secondary: #263238;
  --secondary-light: #37474F;
  --accent: #FF8F00;
  --accent-dark: #FF6F00;
  --green: #27ae60;
  --green-dark: #219a52;
  --blue: #2980b9;
  --dark: #1a1a1a;
  --dark-bg: #282828;
  --light-gray: #f5f5f5;
  --border-gray: #e1e1e1;
  --text-gray: #7c7c7c;
  --text-dark: #333;
  --white: #ffffff;
  --max-width: 128rem;
  --header-height: 7rem;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-light);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
}

.btn-lg {
  padding: 1.6rem 3.6rem;
  font-size: 1.6rem;
}

.btn-sm {
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
}

/* ============================================
   TOP UTILITY BAR
   ============================================ */
.top-bar {
  background: var(--secondary);
  color: var(--white);
  font-size: 1.2rem;
  padding: 0.6rem 0;
  position: relative;
  z-index: 100;
}

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

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.top-bar__left span {
  font-weight: 300;
}

.top-bar__link {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.top-bar__link:hover {
  color: var(--white);
}

.top-bar__link i {
  margin-right: 0.4rem;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.top-bar__signin {
  color: var(--white);
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0.3rem;
  transition: all 0.2s;
}

.top-bar__signin:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================
   MAIN HEADER
   ============================================ */
.header {
  background: var(--white);
  padding: 1.2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 90;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__logo-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.header__logo-name .highlight {
  color: var(--primary);
}

.header__logo-tagline {
  font-size: 1.1rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* Search Bar */
.header__search {
  flex: 1;
  max-width: 50rem;
  position: relative;
}

.header__search-input {
  width: 100%;
  padding: 1.2rem 5rem 1.2rem 1.8rem;
  border: 2px solid var(--border-gray);
  border-radius: 0.5rem;
  font-size: 1.4rem;
  transition: border-color 0.2s;
}

.header__search-input:focus {
  border-color: var(--primary);
}

.header__search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2s;
}

.header__search-btn:hover {
  background: var(--primary-dark);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.header__action {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.2s;
}

.header__action:hover {
  color: var(--primary);
}

.header__action i {
  font-size: 2rem;
  color: var(--primary);
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.main-nav {
  background: var(--primary);
  position: relative;
  z-index: 80;
}

.main-nav .container {
  display: flex;
  align-items: stretch;
}

.main-nav__list {
  display: flex;
  width: 100%;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.6rem;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.2s;
}

.main-nav__link:hover,
.main-nav__item:hover .main-nav__link {
  background: var(--primary-dark);
}

.main-nav__link i {
  margin-left: 0.5rem;
  font-size: 1rem;
}

.main-nav__more {
  background: var(--secondary);
  color: var(--white);
  padding: 1.2rem 1.8rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.2s;
}

.main-nav__more:hover {
  background: var(--secondary-light);
}

/* Dropdown */
.main-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 24rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 0 0 0.4rem 0.4rem;
  z-index: 100;
}

.main-nav__item:hover .main-nav__dropdown {
  display: block;
}

.main-nav__dropdown-link {
  display: block;
  padding: 1rem 1.8rem;
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 1px solid var(--light-gray);
  transition: all 0.2s;
}

.main-nav__dropdown-link:hover {
  background: var(--light-gray);
  color: var(--primary);
  padding-left: 2.2rem;
}

/* More dropdown */
.main-nav__more-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 26rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 0 0 0.4rem 0.4rem;
  z-index: 100;
}

.main-nav__more-wrap:hover .main-nav__more-dropdown {
  display: block;
}

.main-nav__more-wrap {
  position: relative;
  margin-left: auto;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--light-gray);
  padding: 1rem 0;
  font-size: 1.3rem;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.breadcrumb__item a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

.breadcrumb__separator {
  color: var(--text-gray);
}

.breadcrumb__item--active {
  color: var(--text-gray);
  font-weight: 600;
}

/* ============================================
   HERO / SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}

.hero-slider__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide__image {
  width: 100%;
  height: 45rem;
  object-fit: cover;
}

.hero-slide__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, transparent 70%);
  color: var(--white);
}

.hero-slide__title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-slide__subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 50rem;
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(0,0,0,0.4);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-slider__nav:hover {
  background: var(--primary);
}

.hero-slider__nav--prev { left: 2rem; }
.hero-slider__nav--next { right: 2rem; }

.hero-slider__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.hero-slider__dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-slider__dot--active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ============================================
   FEATURE STRIP (Free Delivery, Trade Credit)
   ============================================ */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.feature-card {
  background: var(--secondary);
  color: var(--white);
  padding: 2.5rem 3rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.feature-card--accent {
  background: var(--primary);
}

.feature-card__icon {
  font-size: 4rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.feature-card__content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.feature-card__content p {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.5;
}

.feature-card__list {
  margin-top: 0.8rem;
}

.feature-card__list li {
  font-size: 1.3rem;
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-card__list li i {
  color: var(--green);
  font-size: 1.2rem;
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 0.4rem;
  background: var(--primary);
  border-radius: 0.2rem;
}

.section-title--center {
  text-align: center;
}

.section-title--center::after {
  left: 50%;
  transform: translateX(-50%);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.6rem;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.category-card__image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  background: var(--light-gray);
}

.category-card__name {
  padding: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
}

.category-card:hover .category-card__name {
  color: var(--primary);
}

/* Subcategory list */
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.5rem;
}

.subcategory-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.subcategory-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.subcategory-card__icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.subcategory-card__image {
  width: 100%;
  height: 14rem;
  object-fit: contain;
  margin-bottom: 1rem;
  background: var(--light-gray);
  border-radius: 0.4rem;
}

.subcategory-card__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
}

.subcategory-card:hover .subcategory-card__name {
  color: var(--primary);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-section {
  padding: 3rem 0;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gray);
}

.products-toolbar__count {
  font-size: 1.4rem;
  color: var(--text-gray);
}

.products-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.products-toolbar__sort label {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
}

.products-toolbar__sort select {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.3rem;
  font-size: 1.3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-card__image-wrap {
  height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--light-gray);
  border-radius: 0.4rem;
  overflow: hidden;
}

.product-card__image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  min-height: 4rem;
}

.product-card:hover .product-card__name {
  color: var(--primary);
}

.product-card__code {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.product-card__brand {
  height: 3rem;
  margin-top: auto;
  display: flex;
  align-items: center;
}

.product-card__brand img {
  max-height: 3rem;
  max-width: 12rem;
  object-fit: contain;
}

.product-card__enquire {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0.4rem;
  transition: background 0.2s;
}

.product-card__enquire:hover {
  background: var(--primary-dark);
}

/* ============================================
   SIDEBAR FILTERS
   ============================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 26rem 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.sidebar {
  position: sticky;
  top: 10rem;
  align-self: start;
}

.sidebar__section {
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.sidebar__title {
  background: var(--secondary);
  color: var(--white);
  padding: 1.2rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.sidebar__title i {
  transition: transform 0.2s;
}

.sidebar__content {
  padding: 1.5rem;
  max-height: 25rem;
  overflow-y: auto;
}

.sidebar__link {
  display: block;
  padding: 0.6rem 0;
  font-size: 1.3rem;
  color: var(--text-dark);
  transition: all 0.2s;
  border-bottom: 1px solid var(--light-gray);
}

.sidebar__link:last-child {
  border-bottom: none;
}

.sidebar__link:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands-section {
  background: var(--light-gray);
  padding: 4rem 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 2rem;
}

.brand-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
  transition: all 0.3s ease;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.brand-card img {
  max-height: 6rem;
  max-width: 12rem;
  object-fit: contain;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
  padding: 5rem 0;
}

.about-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-section__text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-section__text p {
  margin-bottom: 1.5rem;
}

.about-section__text h2 {
  font-size: 2.4rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 800;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline__year {
  flex: 1;
  text-align: right;
  padding-right: 3rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}

.timeline__dot {
  width: 1.6rem;
  height: 1.6rem;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
  z-index: 1;
  flex-shrink: 0;
}

.timeline__text {
  flex: 1;
  padding-left: 3rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================
   CONTACT / BRANCHES
   ============================================ */
.branches-section {
  padding: 4rem 0;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.6rem;
  padding: 3rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.branch-card--main {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, var(--white) 0%, #fef5f4 100%);
}

.branch-card__details h3 {
  font-size: 2rem;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 800;
}

.branch-card__details p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.branch-card__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.branch-card__contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
}

.branch-card__contact-item i {
  color: var(--primary);
  font-size: 1.8rem;
  width: 2.4rem;
  text-align: center;
}

.branch-card__hours h4 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.branch-card__hours p {
  font-size: 1.3rem;
  line-height: 1.8;
}

.branch-card__image {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0.4rem;
}

.branch-card__map {
  width: 100%;
  height: 25rem;
  border: none;
  border-radius: 0.4rem;
  margin-top: 2rem;
}

/* Contact Form */
.contact-form {
  max-width: 60rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.4rem;
  font-size: 1.4rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group textarea {
  height: 15rem;
  resize: vertical;
}

/* ============================================
   TRADE ACCOUNTS
   ============================================ */
.trade-section {
  padding: 5rem 0;
}

.trade-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.trade-benefits {
  background: var(--light-gray);
  border-radius: 0.6rem;
  padding: 3rem;
}

.trade-benefits__list li {
  padding: 1rem 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid var(--border-gray);
}

.trade-benefits__list li:last-child {
  border-bottom: none;
}

.trade-benefits__list li i {
  color: var(--green);
  font-size: 1.6rem;
}

/* ============================================
   DELIVERY INFO
   ============================================ */
.delivery-section {
  padding: 4rem 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.delivery-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.6rem;
  padding: 3rem;
  text-align: center;
}

.delivery-card__icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.delivery-card__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.delivery-card__text {
  font-size: 1.4rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__col h4 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 1rem;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 0.3rem;
  background: var(--primary);
}

.footer__link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.footer__link:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer__link i {
  margin-right: 0.6rem;
  width: 1.4rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
}

.footer__contact-item i {
  color: var(--primary);
  font-size: 1.6rem;
  width: 2rem;
  text-align: center;
}

.footer__bottom {
  padding: 2rem 0;
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   PAGE HEADER / BANNER
   ============================================ */
.page-header {
  background: var(--secondary);
  padding: 3rem 0;
  color: var(--white);
}

.page-header__title {
  font-size: 3.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-header__subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ============================================
   PAGE HERO (Full-width image banner)
   ============================================ */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0;
  color: var(--white);
  min-height: 28rem;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44,62,80,0.85) 0%, rgba(192,57,43,0.65) 100%);
  z-index: 1;
}

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

.page-hero__title {
  font-size: 3.6rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 0.8rem;
}

.page-hero__title i {
  margin-right: 1rem;
  opacity: 0.9;
}

.page-hero__subtitle {
  font-size: 1.7rem;
  font-weight: 300;
  opacity: 0.95;
  max-width: 60rem;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.page-hero--compact {
  padding: 5rem 0;
  min-height: 18rem;
}

.page-hero--compact .page-hero__title {
  font-size: 2.8rem;
}

/* ============================================
   LIGHTING DIVISION
   ============================================ */
.lighting-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
  padding: 6rem 0;
  color: var(--white);
  text-align: center;
}

.lighting-hero__title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.lighting-hero__text {
  font-size: 1.6rem;
  max-width: 70rem;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.8;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-section {
  padding: 6rem 0;
  display: flex;
  justify-content: center;
}

.login-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.6rem;
  padding: 4rem;
  width: 100%;
  max-width: 45rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.login-card h2 {
  font-size: 2.4rem;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-section {
  padding: 4rem 0;
}

.policy-section h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}

.policy-section h3 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin: 2rem 0 0.8rem;
  font-weight: 700;
}

.policy-section p {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.policy-section ul {
  margin: 1rem 0 1.5rem 2rem;
  list-style: disc;
}

.policy-section ul li {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .header .container {
    flex-wrap: wrap;
  }

  .header__search {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
    margin-top: 1rem;
  }

  .main-nav__link {
    padding: 1.2rem 1.2rem;
    font-size: 1.15rem;
  }

  .shop-layout {
    grid-template-columns: 22rem 1fr;
    gap: 2rem;
  }

  .about-section__content {
    grid-template-columns: 1fr;
  }

  .branch-card {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 56.25%; }

  .top-bar__left span { display: none; }

  .header__logo-name { font-size: 1.8rem; }

  .main-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav__list {
    min-width: max-content;
  }

  .main-nav__link {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .hero-slide__image {
    height: 30rem;
  }

  .hero-slide__title {
    font-size: 2.6rem;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  }

  .branch-card {
    grid-template-columns: 1fr;
  }

  .trade-section__grid {
    grid-template-columns: 1fr;
  }

  .page-header__title {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .top-bar .container {
    justify-content: center;
  }

  .top-bar__left { display: none; }

  .header__actions {
    gap: 1rem;
  }

  .header__action span { display: none; }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}
