body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
}
/*
header {
    /*background-color: #ff4747;
    color: white;
    padding: 5px;
    display: flex;
    align-items: center;
    flex-direction:row;
}
*/
header {
  display:flex;
  flex-direction:column;
}

/* Light grey bottom border with subtle animation */
.header-one::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;  /* very light grey */
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Slight grow effect on hover */
.header-one:hover::after {
    transform: scaleX(1.05);
}

.logo img{
width:100%;
}
.logo {
	width: 200px;
    font-size: 22px;
    font-weight: bold;
   
}


.search-form {
    width: 40%;
    display: flex;
    justify-content: center;
}

.search-form input[type="text"] {
    padding: 8px;
    width: 60%;
    max-width: 400px;
 
	  border: 2px solid #007BFF; /* Blue border */
    border-radius: 5px 0 0 5px;
	  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-form button {
    padding: 6px 10px;
  margin-left: 5px;
  border: none;
  background: white;
  color: #ff4747;
  border-radius: 4px;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}
header nav {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 4px;
    background-color: #ff4747;
}

header nav a:hover {
    background-color: rgba(255,255,255,0.2);
    color: red;
}

.container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    gap: 20px;
}
.sub-container{
   display: flex;
    flex-direction: row;
    max-width: 1200px;	
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.main {
    flex: 1;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.product-card img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.product-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
}
.gallery{
	width: 50%;
}
.gallery img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    object-fit: contain;
    display: inline-block;
}
.title-box{
	width: 100%;
}
.variants{
	width:100%;
}
.price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    background-color: #fceaea;
    padding: 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 20px;
}
.description {
	width:100%;
    margin-top: 30px;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    line-height: 1.6;
}
.product-details{
	width:100%;
	display:flex;
	flex-direction: row;
	justify-content: space-between;
}
.right-gallery{
	width: 44%;
	border: 1px solid #ccc;
    border-radius: 5px;
	
}
.right-gallery h2{
padding-left:10px;
background-color:#f73905;
margin: 0px;
color: white;
text-decoration:underline;
padding: 10px;
}
.gallery-display{
	width:100%;
	display:flex;
	flex-direction:row;
	justify-content: space-between;
	
}
.gallery-display-image{
	width:40%;
	border: 1px solid #ccc;
    border-radius: 5px;
	margin-top: 30px;
	margin-left: 10px;
}
.gallery-display-shipping{
 width: 40%;
 padding: 10px;

}
.gallery-display-image img{
width: 100%;
}
.gallery-display-shipping h3{
	padding: 5px;
	background-color:black;
	color: white;
}
/* Beautify dropdowns and number inputs */
input[type="number"],
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 160px;
    margin-right: 15px;
    margin-bottom: 10px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="number"]:focus,
select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Confirm button style */
#confirmBtn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

#confirmBtn:hover {
    background-color: #0056b3;
}
.responsive-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.responsive-table th,
.responsive-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
    white-space: nowrap;
    background-color: #fff;
}

.responsive-table th {
    background-color: #f7f7f7;
    font-weight: bold;
}
.capacitor-selector {
    display: flex;
    flex-direction: column; /* column layout */
    gap: 15px; /* spacing between items */
    max-width: 300px;
}

.capacitor-selector label {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.capacitor-selector select,
.capacitor-selector input[type="number"] {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}
.login-container {
        max-width: 400px;
        margin: 50px auto;
        padding: 25px;
        background: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

    .login-container label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: #444;
    }

    .login-container input[type="email"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border-radius: 5px;
        border: 1px solid #ccc;
        font-size: 16px;
    }

    .login-container button {
        width: 100%;
        background-color: #28a745;
        color: white;
        padding: 10px;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
    }

    .login-container button:hover {
        background-color: #218838;
    }

    .login-container .extra-links {
        margin-top: 15px;
        text-align: center;
    }

    .login-container .extra-links a {
        color: #007bff;
        text-decoration: none;
    }

    .login-container .extra-links a:hover {
        text-decoration: underline;
    }

    .login-container .error {
        color: red;
        margin-bottom: 15px;
        text-align: center;
    }
.nav li a i.fa-shopping-basket {
    font-size: 18px;
    color: #fff;
}

.nav li a span {
    font-weight: bold;
    color: #ffc107;
}

/* Header and burger button */
.header-mobile {
  background-color: #003366;
  color: white;
  padding: 10px 15px;
  display:none;
  justify-content: space-between;
  align-items: center;
  
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 30px;
}

.hamburger span {
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Dropdown menu */
.menu {
  display: none;
  flex-direction: column;
  background-color: #f9f9f9;
  position: absolute;
  top: 60px;
  right: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  min-width: 150px;
  z-index: 999;
}

.menu a {
  padding: 10px;
  text-decoration: none;
  color: #003366;
  border-bottom: 1px solid #eee;
}

.menu a:hover {
  background-color: #e6e6e6;
}

.menu.show {
  display: flex;
}
.header-one{
  color: white;
    padding: 5px;
    display: flex;
    align-items: center;
    flex-direction: row;
    position: relative;
}
.recent-products,
.also-products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:20px;
  margin:40px 0;
}

.product-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  text-align:center;
  padding:15px;
  transition:transform .15s,box-shadow .15s;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 6px 14px rgba(0,0,0,.08);
}
.product-card img{
  max-width:100%;
  height:auto;
  margin-bottom:10px;
}
.product-card p{
  font-weight:600;
  color:#003366;
  margin:0;
}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form {
        margin-top: 10px;
        order: 3;
    }
	 .search-form input[type="text"] {
    width: 80%;
  }

  header nav {
    justify-content: center;
    margin-top: 10px;
}

    .container {
        flex-direction: column;
        padding: 10px;
    }

    .sidebar {
        width: 100%;
    }

    .products {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
	.sub-container{
		width: 100%;
		 flex-direction: column;
	}
	.main{
		width: 100%;
	}
	.gallery{
		width:100%;
	}
	.gallery img{
		width: 100%;
	}
	 .header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background-color: #e03e3e;
    padding: 10px;
    border-radius: 5px;
  }
  
  .header nav a {
    padding: 8px 0;
    border-bottom: 1px solid #ffcccc;
  }
   .header nav.active {
    display: flex;
  }
	.right-gallery{
	width: 100%;
	}
	.product-details{
		flex-direction:column;
	}
	.header-mobile{
	display:flex;
	}
	.header-one{
	display:none;
	}
}

/* =========================================
   EXOTELECTRONICS HOMEPAGE REDESIGN
========================================= */

.home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px;
    color: #172b45;
}

.home-page * {
    box-sizing: border-box;
}

/* HERO */

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 55px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 16px;
    background: linear-gradient(120deg, #071d3b, #064d83 65%, #0879a9);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.hero-eyebrow {
    display: inline-block;
    color: #ffcf45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 53px);
    line-height: 1.12;
    margin: 0 0 18px;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #ffcf45;
}

.hero-content p {
    color: #e3edf7;
    font-size: 16px;
    line-height: 1.7;
    max-width: 470px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 25px;
    background: #ed3737;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 7px;
    transition: .2s;
}

.hero-button:hover {
    background: #c82020;
    color: white;
    transform: translateY(-2px);
}

.hero-products {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 430px;
}

.hero-products img {
    width: 31%;
    height: 175px;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.hero-circuit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
}

.circuit-one {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -180px;
}

.circuit-two {
    width: 300px;
    height: 300px;
    right: 80px;
    bottom: -230px;
}

/* SECTION HEADINGS */

.home-category-section,
.home-products-section {
    margin-top: 45px;
}

.section-heading h2,
.home-section-title h2 {
    margin: 0;
    color: #12365c;
    font-size: 25px;
    font-weight: 800;
}

.section-heading {
    margin-bottom: 20px;
}

/* CATEGORY GRID */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    min-width: 0;
    padding: 17px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: center;
    text-decoration: none;
    color: #183b60;
    background: white;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    transition: .2s;
}

.home-category-card:hover {
    border-color: #1674b8;
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(20,60,100,.10);
    color: #ed3737;
}

.category-image {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
}

.home-category-card > span {
    font-size: 13px;
    font-weight: 700;
}

/* BENEFITS */

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 35px;
    padding: 24px;
    background: #f0f6fc;
    border: 1px solid #e1ebf5;
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.benefit-item > i {
    color: #0876b9;
    font-size: 27px;
    width: 35px;
    text-align: center;
}

.benefit-item div,
.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-item strong,
.trust-item strong {
    font-size: 14px;
    color: #173b60;
}

.benefit-item span,
.trust-item span {
    color: #687b8e;
    font-size: 12px;
}

/* PRODUCT SECTION */

.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.home-section-title p {
    margin: 7px 0 0;
    color: #718096;
    font-size: 14px;
}

.view-all-link {
    color: #0876b9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #ed3737;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    transition: .2s;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(20,50,80,.10);
}

.home-product-image {
    height: 190px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-label {
    color: #0876b9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-product-info h3 {
    margin: 9px 0;
    min-height: 43px;
    font-size: 14px;
    line-height: 1.5;
}

.home-product-info h3 a {
    color: #243d59;
    text-decoration: none;
}

.home-product-info h3 a:hover {
    color: #ed3737;
}

.home-product-price {
    margin: 5px 0 10px;
    color: #e33333;
    font-size: 21px;
    font-weight: 800;
}

.stock-available,
.stock-unavailable {
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 600;
}

.stock-available {
    color: #198754;
}

.stock-unavailable {
    color: #d52d2d;
}

.product-details-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px;
    background: #0b4778;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.product-details-button:hover {
    background: #ed3737;
    color: white;
}

.no-products-message {
    grid-column: 1 / -1;
    padding: 55px 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5eaf0;
}

.no-products-message > i {
    color: #9aabba;
    font-size: 40px;
}

.no-products-message a {
    display: inline-block;
    margin-top: 12px;
    color: #0876b9;
}

/* TRUST SECTION */

.home-trust-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin: 45px 0 20px;
    padding: 28px;
    background: #092e52;
    border-radius: 12px;
    color: white;
}

.trust-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-heading > i {
    color: #ffcf45;
    font-size: 28px;
}

.trust-heading h2 {
    margin: 0;
    font-size: 19px;
    color: white;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item > i {
    color: #ffcf45;
    font-size: 23px;
}

.trust-item strong {
    color: white;
}

.trust-item span {
    color: #d0deec;
}

/* TABLET */

@media (max-width: 1000px) {
    .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-products {
        max-width: 340px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .home-page {
        padding: 12px;
    }

    .home-hero {
        min-height: auto;
        padding: 35px 23px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-products {
        width: 100%;
        max-width: 100%;
    }

    .hero-products img {
        height: 115px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-benefits {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-product-image {
        height: 145px;
    }

    .home-product-info {
        padding: 11px;
    }

    .home-product-info h3 {
        font-size: 13px;
    }

    .home-product-price {
        font-size: 18px;
    }

    .home-section-title {
        align-items: flex-start;
    }

    .home-section-title h2 {
        font-size: 21px;
    }

    .home-trust-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-heading h2 {
        font-size: 17px;
    }
}

@media (max-width: 380px) {
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-image {
        height: 190px;
    }
}


/* =========================================
   EXOTELECTRONICS HOMEPAGE REDESIGN
========================================= */

.home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px;
    color: #172b45;
}

.home-page * {
    box-sizing: border-box;
}

/* HERO */

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 55px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 16px;
    background: linear-gradient(120deg, #071d3b, #064d83 65%, #0879a9);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.hero-eyebrow {
    display: inline-block;
    color: #ffcf45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 53px);
    line-height: 1.12;
    margin: 0 0 18px;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #ffcf45;
}

.hero-content p {
    color: #e3edf7;
    font-size: 16px;
    line-height: 1.7;
    max-width: 470px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 25px;
    background: #ed3737;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 7px;
    transition: .2s;
}

.hero-button:hover {
    background: #c82020;
    color: white;
    transform: translateY(-2px);
}

.hero-products {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 430px;
}

.hero-products img {
    width: 31%;
    height: 175px;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.hero-circuit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
}

.circuit-one {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -180px;
}

.circuit-two {
    width: 300px;
    height: 300px;
    right: 80px;
    bottom: -230px;
}

/* SECTION HEADINGS */

.home-category-section,
.home-products-section {
    margin-top: 45px;
}

.section-heading h2,
.home-section-title h2 {
    margin: 0;
    color: #12365c;
    font-size: 25px;
    font-weight: 800;
}

.section-heading {
    margin-bottom: 20px;
}

/* CATEGORY GRID */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    min-width: 0;
    padding: 17px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: center;
    text-decoration: none;
    color: #183b60;
    background: white;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    transition: .2s;
}

.home-category-card:hover {
    border-color: #1674b8;
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(20,60,100,.10);
    color: #ed3737;
}

.category-image {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
}

.home-category-card > span {
    font-size: 13px;
    font-weight: 700;
}

/* BENEFITS */

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 35px;
    padding: 24px;
    background: #f0f6fc;
    border: 1px solid #e1ebf5;
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.benefit-item > i {
    color: #0876b9;
    font-size: 27px;
    width: 35px;
    text-align: center;
}

.benefit-item div,
.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-item strong,
.trust-item strong {
    font-size: 14px;
    color: #173b60;
}

.benefit-item span,
.trust-item span {
    color: #687b8e;
    font-size: 12px;
}

/* PRODUCT SECTION */

.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.home-section-title p {
    margin: 7px 0 0;
    color: #718096;
    font-size: 14px;
}

.view-all-link {
    color: #0876b9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #ed3737;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    transition: .2s;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(20,50,80,.10);
}

.home-product-image {
    height: 190px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-label {
    color: #0876b9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-product-info h3 {
    margin: 9px 0;
    min-height: 43px;
    font-size: 14px;
    line-height: 1.5;
}

.home-product-info h3 a {
    color: #243d59;
    text-decoration: none;
}

.home-product-info h3 a:hover {
    color: #ed3737;
}

.home-product-price {
    margin: 5px 0 10px;
    color: #e33333;
    font-size: 21px;
    font-weight: 800;
}

.stock-available,
.stock-unavailable {
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 600;
}

.stock-available {
    color: #198754;
}

.stock-unavailable {
    color: #d52d2d;
}

.product-details-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px;
    background: #0b4778;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.product-details-button:hover {
    background: #ed3737;
    color: white;
}

.no-products-message {
    grid-column: 1 / -1;
    padding: 55px 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5eaf0;
}

.no-products-message > i {
    color: #9aabba;
    font-size: 40px;
}

.no-products-message a {
    display: inline-block;
    margin-top: 12px;
    color: #0876b9;
}

/* TRUST SECTION */

.home-trust-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin: 45px 0 20px;
    padding: 28px;
    background: #092e52;
    border-radius: 12px;
    color: white;
}

.trust-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-heading > i {
    color: #ffcf45;
    font-size: 28px;
}

.trust-heading h2 {
    margin: 0;
    font-size: 19px;
    color: white;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item > i {
    color: #ffcf45;
    font-size: 23px;
}

.trust-item strong {
    color: white;
}

.trust-item span {
    color: #d0deec;
}

/* TABLET */

@media (max-width: 1000px) {
    .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-products {
        max-width: 340px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .home-page {
        padding: 12px;
    }

    .home-hero {
        min-height: auto;
        padding: 35px 23px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-products {
        width: 100%;
        max-width: 100%;
    }

    .hero-products img {
        height: 115px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-benefits {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-product-image {
        height: 145px;
    }

    .home-product-info {
        padding: 11px;
    }

    .home-product-info h3 {
        font-size: 13px;
    }

    .home-product-price {
        font-size: 18px;
    }

    .home-section-title {
        align-items: flex-start;
    }

    .home-section-title h2 {
        font-size: 21px;
    }

    .home-trust-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-heading h2 {
        font-size: 17px;
    }
}

@media (max-width: 380px) {
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-image {
        height: 190px;
    }
}


/* =========================================
   EXOTELECTRONICS HOMEPAGE REDESIGN
========================================= */

.home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px;
    color: #172b45;
}

.home-page * {
    box-sizing: border-box;
}

/* HERO */

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 55px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 16px;
    background: linear-gradient(120deg, #071d3b, #064d83 65%, #0879a9);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.hero-eyebrow {
    display: inline-block;
    color: #ffcf45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 53px);
    line-height: 1.12;
    margin: 0 0 18px;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #ffcf45;
}

.hero-content p {
    color: #e3edf7;
    font-size: 16px;
    line-height: 1.7;
    max-width: 470px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 25px;
    background: #ed3737;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 7px;
    transition: .2s;
}

.hero-button:hover {
    background: #c82020;
    color: white;
    transform: translateY(-2px);
}

.hero-products {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 430px;
}

.hero-products img {
    width: 31%;
    height: 175px;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.hero-circuit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
}

.circuit-one {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -180px;
}

.circuit-two {
    width: 300px;
    height: 300px;
    right: 80px;
    bottom: -230px;
}

/* SECTION HEADINGS */

.home-category-section,
.home-products-section {
    margin-top: 45px;
}

.section-heading h2,
.home-section-title h2 {
    margin: 0;
    color: #12365c;
    font-size: 25px;
    font-weight: 800;
}

.section-heading {
    margin-bottom: 20px;
}

/* CATEGORY GRID */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    min-width: 0;
    padding: 17px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: center;
    text-decoration: none;
    color: #183b60;
    background: white;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    transition: .2s;
}

.home-category-card:hover {
    border-color: #1674b8;
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(20,60,100,.10);
    color: #ed3737;
}

.category-image {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
}

.home-category-card > span {
    font-size: 13px;
    font-weight: 700;
}

/* BENEFITS */

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 35px;
    padding: 24px;
    background: #f0f6fc;
    border: 1px solid #e1ebf5;
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.benefit-item > i {
    color: #0876b9;
    font-size: 27px;
    width: 35px;
    text-align: center;
}

.benefit-item div,
.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-item strong,
.trust-item strong {
    font-size: 14px;
    color: #173b60;
}

.benefit-item span,
.trust-item span {
    color: #687b8e;
    font-size: 12px;
}

/* PRODUCT SECTION */

.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.home-section-title p {
    margin: 7px 0 0;
    color: #718096;
    font-size: 14px;
}

.view-all-link {
    color: #0876b9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #ed3737;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    transition: .2s;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(20,50,80,.10);
}

.home-product-image {
    height: 190px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-label {
    color: #0876b9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-product-info h3 {
    margin: 9px 0;
    min-height: 43px;
    font-size: 14px;
    line-height: 1.5;
}

.home-product-info h3 a {
    color: #243d59;
    text-decoration: none;
}

.home-product-info h3 a:hover {
    color: #ed3737;
}

.home-product-price {
    margin: 5px 0 10px;
    color: #e33333;
    font-size: 21px;
    font-weight: 800;
}

.stock-available,
.stock-unavailable {
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 600;
}

.stock-available {
    color: #198754;
}

.stock-unavailable {
    color: #d52d2d;
}

.product-details-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px;
    background: #0b4778;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.product-details-button:hover {
    background: #ed3737;
    color: white;
}

.no-products-message {
    grid-column: 1 / -1;
    padding: 55px 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5eaf0;
}

.no-products-message > i {
    color: #9aabba;
    font-size: 40px;
}

.no-products-message a {
    display: inline-block;
    margin-top: 12px;
    color: #0876b9;
}

/* TRUST SECTION */

.home-trust-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin: 45px 0 20px;
    padding: 28px;
    background: #092e52;
    border-radius: 12px;
    color: white;
}

.trust-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-heading > i {
    color: #ffcf45;
    font-size: 28px;
}

.trust-heading h2 {
    margin: 0;
    font-size: 19px;
    color: white;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item > i {
    color: #ffcf45;
    font-size: 23px;
}

.trust-item strong {
    color: white;
}

.trust-item span {
    color: #d0deec;
}

/* TABLET */

@media (max-width: 1000px) {
    .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-products {
        max-width: 340px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .home-page {
        padding: 12px;
    }

    .home-hero {
        min-height: auto;
        padding: 35px 23px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-products {
        width: 100%;
        max-width: 100%;
    }

    .hero-products img {
        height: 115px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-benefits {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-product-image {
        height: 145px;
    }

    .home-product-info {
        padding: 11px;
    }

    .home-product-info h3 {
        font-size: 13px;
    }

    .home-product-price {
        font-size: 18px;
    }

    .home-section-title {
        align-items: flex-start;
    }

    .home-section-title h2 {
        font-size: 21px;
    }

    .home-trust-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-heading h2 {
        font-size: 17px;
    }
}

@media (max-width: 380px) {
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-image {
        height: 190px;
    }
}


/* =========================================
   EXOTELECTRONICS HOMEPAGE REDESIGN
========================================= */

.home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px;
    color: #172b45;
}

.home-page * {
    box-sizing: border-box;
}

/* HERO */

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 55px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 16px;
    background: linear-gradient(120deg, #071d3b, #064d83 65%, #0879a9);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.hero-eyebrow {
    display: inline-block;
    color: #ffcf45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 53px);
    line-height: 1.12;
    margin: 0 0 18px;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #ffcf45;
}

.hero-content p {
    color: #e3edf7;
    font-size: 16px;
    line-height: 1.7;
    max-width: 470px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 25px;
    background: #ed3737;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 7px;
    transition: .2s;
}

.hero-button:hover {
    background: #c82020;
    color: white;
    transform: translateY(-2px);
}

.hero-products {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 430px;
}

.hero-products img {
    width: 31%;
    height: 175px;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.hero-circuit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
}

.circuit-one {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -180px;
}

.circuit-two {
    width: 300px;
    height: 300px;
    right: 80px;
    bottom: -230px;
}

/* SECTION HEADINGS */

.home-category-section,
.home-products-section {
    margin-top: 45px;
}

.section-heading h2,
.home-section-title h2 {
    margin: 0;
    color: #12365c;
    font-size: 25px;
    font-weight: 800;
}

.section-heading {
    margin-bottom: 20px;
}

/* CATEGORY GRID */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    min-width: 0;
    padding: 17px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: center;
    text-decoration: none;
    color: #183b60;
    background: white;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    transition: .2s;
}

.home-category-card:hover {
    border-color: #1674b8;
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(20,60,100,.10);
    color: #ed3737;
}

.category-image {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
}

.home-category-card > span {
    font-size: 13px;
    font-weight: 700;
}

/* BENEFITS */

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 35px;
    padding: 24px;
    background: #f0f6fc;
    border: 1px solid #e1ebf5;
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.benefit-item > i {
    color: #0876b9;
    font-size: 27px;
    width: 35px;
    text-align: center;
}

.benefit-item div,
.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-item strong,
.trust-item strong {
    font-size: 14px;
    color: #173b60;
}

.benefit-item span,
.trust-item span {
    color: #687b8e;
    font-size: 12px;
}

/* PRODUCT SECTION */

.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.home-section-title p {
    margin: 7px 0 0;
    color: #718096;
    font-size: 14px;
}

.view-all-link {
    color: #0876b9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #ed3737;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    transition: .2s;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(20,50,80,.10);
}

.home-product-image {
    height: 190px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-label {
    color: #0876b9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-product-info h3 {
    margin: 9px 0;
    min-height: 43px;
    font-size: 14px;
    line-height: 1.5;
}

.home-product-info h3 a {
    color: #243d59;
    text-decoration: none;
}

.home-product-info h3 a:hover {
    color: #ed3737;
}

.home-product-price {
    margin: 5px 0 10px;
    color: #e33333;
    font-size: 21px;
    font-weight: 800;
}

.stock-available,
.stock-unavailable {
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 600;
}

.stock-available {
    color: #198754;
}

.stock-unavailable {
    color: #d52d2d;
}

.product-details-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px;
    background: #0b4778;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.product-details-button:hover {
    background: #ed3737;
    color: white;
}

.no-products-message {
    grid-column: 1 / -1;
    padding: 55px 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5eaf0;
}

.no-products-message > i {
    color: #9aabba;
    font-size: 40px;
}

.no-products-message a {
    display: inline-block;
    margin-top: 12px;
    color: #0876b9;
}

/* TRUST SECTION */

.home-trust-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin: 45px 0 20px;
    padding: 28px;
    background: #092e52;
    border-radius: 12px;
    color: white;
}

.trust-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-heading > i {
    color: #ffcf45;
    font-size: 28px;
}

.trust-heading h2 {
    margin: 0;
    font-size: 19px;
    color: white;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item > i {
    color: #ffcf45;
    font-size: 23px;
}

.trust-item strong {
    color: white;
}

.trust-item span {
    color: #d0deec;
}

/* TABLET */

@media (max-width: 1000px) {
    .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-products {
        max-width: 340px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .home-page {
        padding: 12px;
    }

    .home-hero {
        min-height: auto;
        padding: 35px 23px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-products {
        width: 100%;
        max-width: 100%;
    }

    .hero-products img {
        height: 115px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-benefits {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-product-image {
        height: 145px;
    }

    .home-product-info {
        padding: 11px;
    }

    .home-product-info h3 {
        font-size: 13px;
    }

    .home-product-price {
        font-size: 18px;
    }

    .home-section-title {
        align-items: flex-start;
    }

    .home-section-title h2 {
        font-size: 21px;
    }

    .home-trust-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-heading h2 {
        font-size: 17px;
    }
}

@media (max-width: 380px) {
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-image {
        height: 190px;
    }
}


/* =========================================
   EXOTELECTRONICS HOMEPAGE REDESIGN
========================================= */

.home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px;
    color: #172b45;
}

.home-page * {
    box-sizing: border-box;
}

/* HERO */

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 55px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 16px;
    background: linear-gradient(120deg, #071d3b, #064d83 65%, #0879a9);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.hero-eyebrow {
    display: inline-block;
    color: #ffcf45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 53px);
    line-height: 1.12;
    margin: 0 0 18px;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #ffcf45;
}

.hero-content p {
    color: #e3edf7;
    font-size: 16px;
    line-height: 1.7;
    max-width: 470px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 25px;
    background: #ed3737;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 7px;
    transition: .2s;
}

.hero-button:hover {
    background: #c82020;
    color: white;
    transform: translateY(-2px);
}

.hero-products {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 430px;
}

.hero-products img {
    width: 31%;
    height: 175px;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.hero-circuit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
}

.circuit-one {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -180px;
}

.circuit-two {
    width: 300px;
    height: 300px;
    right: 80px;
    bottom: -230px;
}

/* SECTION HEADINGS */

.home-category-section,
.home-products-section {
    margin-top: 45px;
}

.section-heading h2,
.home-section-title h2 {
    margin: 0;
    color: #12365c;
    font-size: 25px;
    font-weight: 800;
}

.section-heading {
    margin-bottom: 20px;
}

/* CATEGORY GRID */

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    min-width: 0;
    padding: 17px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: center;
    text-decoration: none;
    color: #183b60;
    background: white;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    transition: .2s;
}

.home-category-card:hover {
    border-color: #1674b8;
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(20,60,100,.10);
    color: #ed3737;
}

.category-image {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
}

.home-category-card > span {
    font-size: 13px;
    font-weight: 700;
}

/* BENEFITS */

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 35px;
    padding: 24px;
    background: #f0f6fc;
    border: 1px solid #e1ebf5;
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.benefit-item > i {
    color: #0876b9;
    font-size: 27px;
    width: 35px;
    text-align: center;
}

.benefit-item div,
.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-item strong,
.trust-item strong {
    font-size: 14px;
    color: #173b60;
}

.benefit-item span,
.trust-item span {
    color: #687b8e;
    font-size: 12px;
}

/* PRODUCT SECTION */

.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.home-section-title p {
    margin: 7px 0 0;
    color: #718096;
    font-size: 14px;
}

.view-all-link {
    color: #0876b9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #ed3737;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    transition: .2s;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(20,50,80,.10);
}

.home-product-image {
    height: 190px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-label {
    color: #0876b9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.home-product-info h3 {
    margin: 9px 0;
    min-height: 43px;
    font-size: 14px;
    line-height: 1.5;
}

.home-product-info h3 a {
    color: #243d59;
    text-decoration: none;
}

.home-product-info h3 a:hover {
    color: #ed3737;
}

.home-product-price {
    margin: 5px 0 10px;
    color: #e33333;
    font-size: 21px;
    font-weight: 800;
}

.stock-available,
.stock-unavailable {
    margin-bottom: 13px;
    font-size: 12px;
    font-weight: 600;
}

.stock-available {
    color: #198754;
}

.stock-unavailable {
    color: #d52d2d;
}

.product-details-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px;
    background: #0b4778;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.product-details-button:hover {
    background: #ed3737;
    color: white;
}

.no-products-message {
    grid-column: 1 / -1;
    padding: 55px 20px;
    text-align: center;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5eaf0;
}

.no-products-message > i {
    color: #9aabba;
    font-size: 40px;
}

.no-products-message a {
    display: inline-block;
    margin-top: 12px;
    color: #0876b9;
}

/* TRUST SECTION */

.home-trust-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin: 45px 0 20px;
    padding: 28px;
    background: #092e52;
    border-radius: 12px;
    color: white;
}

.trust-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-heading > i {
    color: #ffcf45;
    font-size: 28px;
}

.trust-heading h2 {
    margin: 0;
    font-size: 19px;
    color: white;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item > i {
    color: #ffcf45;
    font-size: 23px;
}

.trust-item strong {
    color: white;
}

.trust-item span {
    color: #d0deec;
}

/* TABLET */

@media (max-width: 1000px) {
    .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-products {
        max-width: 340px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .home-page {
        padding: 12px;
    }

    .home-hero {
        min-height: auto;
        padding: 35px 23px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-products {
        width: 100%;
        max-width: 100%;
    }

    .hero-products img {
        height: 115px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-benefits {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-product-image {
        height: 145px;
    }

    .home-product-info {
        padding: 11px;
    }

    .home-product-info h3 {
        font-size: 13px;
    }

    .home-product-price {
        font-size: 18px;
    }

    .home-section-title {
        align-items: flex-start;
    }

    .home-section-title h2 {
        font-size: 21px;
    }

    .home-trust-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-heading h2 {
        font-size: 17px;
    }
}

@media (max-width: 380px) {
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-image {
        height: 190px;
    }
}

