
/* ===== General ===== */
html, body {
  margin: 0;
  padding: 0;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f2f7 !important;
}
a{
    text-decoration: none;}
    
.container{
    max-width:1200px;
    width:90%;
    margin:0 auto;
    box-sizing:border-box;
}

/* ===== Top Header Row ===== */
.top-header {
    background: #f4f2f7 !important;
    padding: 0px 0;
    border-bottom: 1px solid #6fc703 !important;
}

/* Inner content width limited, centered - FLEX for horizontal layout */
.top-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;              /* flex container */
    align-items: center;        /* vertical center */
    gap: 20px;
    box-sizing: border-box;
}

/* Logo stays fixed left */
.header-logo {
    flex-shrink: 0;            /* prevent shrinking */
}

.header-logo img {
    max-height: 300px;
    max-width: 300px;
    margin-left: -100px;
}

/* Everything else grouped on right side */
.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;          /* pushes this whole group to right */
    flex-wrap: nowrap;          /* prevent wrapping */
    max-width: 900px;           /* limit total width to avoid overlap */
}

/* ===== Search Box ===== */
.header-search {
    display: flex;
    align-items: center;
    flex: 0 0 220px; /* keep fixed width */
}

.header-search input[type="search"] {
    width: 100%;               /* fill container */
    padding: 9px 40px 9px 14px; /* right padding for icon */
    border: 1px solid #ccc;
    border-radius: 999px;
    box-sizing: border-box;
    font-size: 14px;
}

.header-search button {
    display: none;
}

.header-search::after {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

/* ===== Header Menu ===== */
.header-menu-nav {
    flex: 0 0 auto;             /* fixed width, no grow or shrink */
    display: flex;
    justify-content: flex-start; /* align left next to search */
    min-width: 280px;           /* enough width for 4 menu items */
    overflow-x: visible;        /* show full menu */
    white-space: nowrap;        /* prevent wrapping */
}

.header-menu-nav ul {
    display: flex;
    gap: 12px;                  /* reduce gap to save space */
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-nav a {
    color: grey !important;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 8px;           /* smaller padding */
    font-size: 14px;            /* smaller font */
    white-space: nowrap;        /* prevent wrapping on links */
}

.header-menu-nav a:hover {
    color: black !important;
}

/* ===== Account and Basket ===== */
.header-account a,
.header-cart a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    padding: 0 10px;
    white-space: nowrap;
    line-height: 1;
    font-size: 14px; 
    color: grey !important;
} 

.header-account i,
.header-cart i {
    font-size: 16px;
    line-height: 1;       /* match line height */
    margin-right: 4px;    /* small spacing between icon and text */
    vertical-align: middle; /* align vertically */
}



/* ===== Footer ===== */
.footer {
    background: #1d2a33 !important;
    border-top: 3px solid #6fc703;
    border-bottom: 3px solid #6fc703;
    color: #b5b5b5;
    padding: 40px 20px;
    box-sizing: border-box;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* Footer content wrapper */
.footer-content {
    max-width: 1530px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    justify-content: flex-start;   /* LEFT align columns */
    align-items: flex-start;       /* TOP align columns */
    box-sizing: border-box;
    flex-wrap: wrap;
}

/* Footer columns */
.footer-column {
    flex: 0 0 auto;               /* Prevent uneven stretching */
    min-width: 200px;
    display: flex;
    flex-direction: column;
    text-align: left;             /* Ensure left text alignment */
}

/* Column 1 - Logo */
.footer-column.logo img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

/* Headings */
.footer-column h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 14px;
    color: #ffffff;
}

/* Lists */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* Links */
.footer-column ul li a {
    color: #b5b5b5;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #6fc703;
}
/* Optional: Add a border line above footer for separation */
.footer::before {
    content: "";
    display: block;
    height: 1px;
    background: Grey;
    margin-bottom: 20px;
    visibility: Hidden;
}
/* ===== Homepage Hero Header ===== */
/* Hero container */
.homepage-hero {
  position: relative;
  width: 100%;
  height: 80vh; /* or fixed px */
  overflow: hidden;  /* hides any overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: transparent; /* explicitly transparent */
  visibility: hidden;
}


/* Optional overlay for readability */
.homepage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.homepage-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* ===== WooCommerce Products Section ===== */
.products-section {
  max-width: fit-content !important;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
  justify-content: center; /* ✅ centers product items */
background-color:#f4f2f7 ;
    
}
.product {
  text-align: center;
}

.product img {
  width: 100%;
  height: auto;               /* ensures the image keeps aspect ratio */
  object-fit: contain;        /* keeps the whole image visible */
  display: block;
  margin: 0 auto;
  border-radius: 8px;         /* optional: softer edges */
}
/* WooCommerce single product styling */
.products-section .product {
    flex: 1 1 calc(33.333% - 20px); /* 3 products per row */
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.product img,
.product .woocommerce-LoopProduct-link img {
  max-height: none;
  overflow: visible;
}
.products-section .product img {
    max-width: 100%;
    height: auto;
    display: block;
}

.products-section .product h2.woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
    font-size: 1.1em;
  color: #232b52;
}

.products-section .product .price {
    font-weight: bold;
    color: #232b52;
    margin-bottom: 13px;
}

.products-section .product a.button {
    background: #232b52;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 10px 15px;
    margin: 0 10px 10px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-weight: bolder;
    margin-top: 10px;
}

.products-section .product a.button:hover {
    filter: brightness(0.92);
}
.woocommerce ul.products li.product .price::before {
 content: "From ";
  font-size: 1.1em;
  color: #232b52;
  font-weight: bold;
}
.products-section .woocommerce-Price-amount::before {
 content: "From ";
  font-size: 1.1em;
  color: #232b52;
  font-weight: bold;
}
/* ===== Brands Section ===== */
.brands-section {
  padding: 60px 20px;
  background-color: #1d2a33;
  border-top: 3px solid #6fc703;
}

.brands-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -60px;
}

/* Header */
.brands-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
  color: white;
}

/* Logos wrapper */
.brands-logos-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 30px;
}

.brands-logos{
  display:flex;
  flex-wrap:wrap;  /* allow logos to wrap on small screens */
  justify-content:center;
  gap:15px;
}
.brands-logos img{
  max-width:70px;
  height:auto;
}

/* Wrap each logo visually into same-size boxes */
.brands-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* Create uniform box effect */
.brands-logos img {
  width: 140px;
  height: 80px;
  object-fit: contain;
  padding: 15px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Hover polish */
.brands-logos img:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}


/* Button */
.brands-section button {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  background-color: #6fc703 !important;
  color: #fff;
  border: none;
  border-radius: 10px !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.brands-section button:hover {
  background-color: #333;
  transform: translateY(-2px);
}
.brands-section button::after {
  content: " >";
  font-weight: 600;
  margin-left: 6px;
}


/* ===== Homepage Text Area ===== */
.homepage-text {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.homepage-text h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #232b52;
}

.homepage-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}
.products-grid {
         display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 in a row */
    gap: 20px; /* space between items */
}
/* Force 4 products per row inside your custom section */
.products-section .products-grid.custom-four-grid {
    display: flex;
    flex-wrap: nowrap; /* prevents wrapping */
    justify-content: space-between;
    gap: 20px;
}

.products-section .products-grid.custom-four-grid .product {
    flex: 1 1 calc(25% - 20px); /* each takes 25% width minus gap */
    max-width: calc(25% - 20px);
    box-sizing: border-box;
}
.products-grid > * {
    flex: 0 0 calc(33.333% - 13.333px); /* 3 per row accounting for gap */
    box-sizing: border-box;
}
.homepage-hero {
    background-size: cover;
    height: 80vh;
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    color: #ffffff;
    text-align: center;
    position: relative;
    background-position: center bottom -15px;
}

.homepage-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* spacing between heading and buttons */
}

.homepage-hero h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem; /* space between buttons */
}

.btn {
    padding: 0.8rem 2rem;
    background-color: #ff6f00;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #e65c00;
}

.btn-secondary {
    background-color: #ffffff;
    color: #ff6f00;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}
/* Add spacing at the top */
.woocommerce .product {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px auto 0 auto; /* top margin */
    gap: 30px 40px; /* horizontal gap between columns */
padding-top: 30px;
}

/* Images column */
.woocommerce .product .images {
    flex: 1 1 45%;
}

.woocommerce .product .images img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 10px; /* subtle rounding */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* soft shadow */
}

.woocommerce .product .product-thumbnails {
    display: flex !important;
    margin-top: 10px !important;
    gap: 5px !important;
    overflow-x: auto !important; /* allows horizontal scroll if many thumbnails */
    padding-bottom: 5px !important;
    justify-content: flex-start !important;
}

.woocommerce .product .product-thumbnails img {
    width: 95px !important;    /* balanced thumbnail width */
    height: 95px !important;   /* keeps square shape */
    object-fit: cover !important;
    cursor: pointer !important;
    border-radius: 5px !important;
    border: 2px solid transparent !important;
    flex: 0 0 auto !important; /* prevents shrinking */
    transition: border-color 0.2s, transform 0.2s !important;
    transform-origin: center center !important; /* scale from center */
}

.woocommerce .product .product-thumbnails img:hover {
    border-color: #11aac7 !important;
    transform: scale(0.9) !important; /* smaller scale to avoid overlap */
}/* Summary column */
.woocommerce .product .summary {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Title */
.woocommerce .product .summary .product_title {
color: gray !important;    margin-bottom: 10px;
    font-size: 2em;
}

/* Price */
.woocommerce .product .summary .price {
color: gray !important;
font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Stock, SKU, categories spacing */
.woocommerce .product .summary .stock,
.woocommerce .product .summary .sku,
.woocommerce .product .summary .categories {
    margin-bottom: 10px;
}
.cart-actions {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* aligns vertically */
  gap: 10px;               /* space between buttons */
  flex-wrap: wrap;         /* stack on small screens if needed */
  margin-top: 20px;        /* spacing from elements above */

}

/* make sure WooCommerce’s form behaves like a flex item */
.cart-actions form.cart {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

/* adjust the add-to-cart button inside the form */
.cart-actions form.cart button.single_add_to_cart_button {
  margin: 0 !important;
  line-height: 1 !important;
  background-color: #FF6F00 !important;
}

/* style the view basket link */
.view-basket-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: 2px solid grey;
  border-radius: 6px;
  color: grey;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  height: 30px;
}

.view-basket-button:hover {
  background-color: #11aac7;
  color: grey !important;
}


/* Full description spacing */
.woocommerce .product .full-description {
    flex: 1 1 100%;
    display: block;
    margin: 30px auto 100px auto !important;   /* top spacing 30px, bottom 100px to prevent footer overlap */
    background-color: #fff !important;          /* white background */
    padding: 20px;                   /* inner padding */
    border-radius: 8px;              /* rounded corners */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* soft shadow on all edges */
    position: relative;              /* ensures shadow appears above background layers */
    z-index: 1;                      /* avoid being covered by footer/background */
}
.description-content{
color:grey;}

/* Add to Cart button */
.woocommerce .product .single_add_to_cart_button {
    background: #232b52 !important; 
    color: #fff !important;               
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 48px; /* fixed height to match quantity */
    line-height: 1.3;
}
/* Quantity input styling */
.woocommerce div.quantity input.qty {
    border: 2px solid grey !important;
    border-radius: 5px;
    width: 60px;
    text-align: center;
    padding: 0 10px;
    font-size: 1em;
    color: #333;
    height: 48px; /* match button height */
    box-sizing: border-box; /* ensures padding included in height */
}

/* Optional: increase spacing between quantity and button */
.woocommerce div.quantity {
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
}
/* Cart page wrapper */
.woocommerce-cart-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* Table styling */
.woocommerce-cart table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    padding: 15px;
    vertical-align: middle;
}

/* Remove default borders */
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    border: none;
}

/* Quantity input height matches button */
.woocommerce-cart input.qty {
    height: 40px;
    width: 60px;
    padding: 0 10px;
    font-size: 1em;
}

/* Update cart button */
.woocommerce-cart button[name="update_cart"] {
    background-color: #11aac7 !important;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
}

.woocommerce-cart button[name="update_cart"]:hover {
    background-color: #0e8ea0 !important;
}

/* Remove remove-product link underline */
.woocommerce-cart a.remove {
    color: #11aac7;
    text-decoration: none;
    font-size: 1.2em;
}

.woocommerce-cart a.remove:hover {
    color: #0e8ea0;
}

/* Cart totals box */
.woocommerce-cart .cart_totals {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #11aac7;
    border-radius: 10px;
    background: #f9f9f9;
}

/* Proceed to checkout button */
.woocommerce-cart .checkout-button {
    background-color: #11aac7 !important;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    padding: 10px 25px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.woocommerce-cart .checkout-button:hover {
    background-color: #0e8ea0 !important;
}
/* Ensure the product list uses a grid layout */
.shop-grid-container ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
    box-sizing: border-box;
    list-style: none;
margin-top: 40px;
}
.shop-grid-container{
padding-top:30px;}

/* Style for individual product cards */
.shop-grid-container ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.2s;
    min-height: 400px; /* Adjust as needed */
    overflow: hidden;
width:100%;
}

/* Product images */
.shop-grid-container ul.products li.product img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Product titles */
.shop-grid-container ul.products li.product .woocommerce-loop-product__title {
    margin-top: 10px;
    text-align: center;
    color: #232b52;
font-size: 1.1em;
    font-weight: bold;
  margin: 10px 0 5px;
  font-size: 1.1em;
  color: #232b52;
}
}

/* Product prices */
.shop-grid-container ul.products li.product .price {
    margin: 10px 0;
    font-weight: bold;
color: Grey;
}

/* Add to cart button */
.shop-grid-container ul.products li.product .button {
    margin-top: auto;
    background: orange;
    color: #fff;
    border-radius: 6px;
    padding: 10px 15px;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
    display: inline-block;
}

.shop-grid-container ul.products li.product .button:hover {
    background: #005f8d;
}
/* Wrap search form in a flex row */
.header-search form {
    display: flex;
    align-items: center;
    gap: 8px; /* space between input and button */
    margin-right: -100px;
}

/* Make input take available space */
.header-search input[type="search"] {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
}

/* Style button */
.header-search button,
.header-search input[type="submit"] {
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    background: #ff6f00 !important;
    color: #fff;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
}
.cart-count {
    background: #ff4136;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    margin-left: 0.3rem;
}/* Contact Page */
.contact-page {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

.contact-page h1 {
    text-align: center;
    color: #11aac7;
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: 700;
}

.contact-page p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
}

/* Wrapper for details + form */
.contact-page .contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-top: 30px;
}

/* Individual boxes */
.contact-details,
.contact-form {
    flex: 1 1 48%; /* roughly half width */
    min-width: 300px; /* stack on small screens */
    box-sizing: border-box;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Details box */
.contact-details {
    background: #f9f9f9;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-details a {
    color: #11aac7;
    text-decoration: none;
}

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

/* Form box */
.contact-form {
    background: #fff;
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #11aac7;
    font-size: 22px;
}

/* Form styles */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.contact-form input[type="submit"] {
    background: #11aac7;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    padding: 12px;
}

.contact-form input[type="submit"]:hover {
    background: #0e91ac;
}
ul.products::before,
ul.products li.product::before,
.shop-grid-container::before {
    content: none !important;
    display: none !important;
}
/* WooCommerce Pagination Improved */
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    list-style: none;
    padding-left: 0;
    gap: 12px;
padding-bottom: 10px;
    flex-wrap: wrap; /* wrap on small screens */
}

.woocommerce-pagination li {
    display: inline-block;
}

.woocommerce-pagination li a,
.woocommerce-pagination li span {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #11aac7;
    border-radius: 8px;
    color: #11aac7;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    min-width: 42px;
    text-align: center;
}

.woocommerce-pagination li a:hover {
    background: #11aac7;
    color: #fff;
    transform: scale(1.05); /* slight pop effect */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.woocommerce-pagination li span.current {
    background: #11aac7;
    color: #fff;
    border-color: #11aac7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.woocommerce-pagination li .disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.woocommerce nav.woocommerce-pagination ul{
border: 0px solid #cfc8d8;
     border-right: 0;}
.woocommerce nav.woocommerce-pagination ul li{
border-right: 0px solid #cfc8d8;}
/* My Account Page Container */
/* =========================
   My Account Page Container
========================= */
.my-account-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Page Title */
.my-account-container h2 {
    color: #11aac7;
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

/* =========================
   Navigation Tabs
========================= */
.woocommerce-MyAccount-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none !important; /* remove bullets */
    padding: 0;
    margin: 0 0 25px;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    flex: 1 1 130px;
    list-style: none !important;
}

.woocommerce-MyAccount-navigation li::before,
.woocommerce-MyAccount-navigation li a::before {
    content: none !important; /* remove pseudo bullets */
}

.woocommerce-MyAccount-navigation a {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #444;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
    background: #11aac7;
    color: #fff;
}

/* =========================
   Dashboard Description
========================= */
.woocommerce-MyAccount-content p:first-of-type {
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
}

.woocommerce-MyAccount-content p:first-of-type::before,
.woocommerce-MyAccount-content p:first-of-type::after {
    content: none !important;
}

/* =========================
   Forms & Tables
========================= */
.woocommerce-MyAccount-content {
    margin-top: 15px;
}

.woocommerce-MyAccount-content form,
.woocommerce-MyAccount-content table {
    width: 100%;
    margin-bottom: 25px;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="submit"],
.woocommerce-MyAccount-content select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
}

.woocommerce-MyAccount-content input[type="submit"] {
    background: #11aac7;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s ease;
}

.woocommerce-MyAccount-content input[type="submit"]:hover {
    background: #0e91ac;
}

/* =========================
   Table Styling
========================= */
.woocommerce-MyAccount-content table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

.woocommerce-MyAccount-content th,
.woocommerce-MyAccount-content td {
    padding: 10px 12px;
    border: 1px solid #eee;
    text-align: left;
}

.woocommerce-MyAccount-content th {
    background: #f9f9f9;
    color: #11aac7;
    font-weight: 600;
}
/* Hide hamburger menu on desktop */
.mobile-menu-toggle {
    display: none !important;
}

/* Show hamburger menu only on mobile */
@media only screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
    }
}.view-basket-button:hover {
    background:white; !important;
    color:#fff;  
}.view-basket-button{
color: ;}

/* Initial hidden state */
.hero-content h1,
.hero-buttons a {
  opacity: 0;
  transform: translateY(30px); /* start slightly below */
}

/* Animate heading */
.hero-content h1 {
  animation: slideFadeIn 0.8s ease-out 0.2s forwards; /* forwards keeps final state */
}

/* Animate buttons with staggered delay */
.hero-buttons a:nth-child(1) {
  animation: slideFadeIn 0.8s ease-out 0.5s forwards;
}
.hero-buttons a:nth-child(2) {
  animation: slideFadeIn 0.8s ease-out 0.7s forwards;
}
.hero-buttons a:nth-child(3) {
  animation: slideFadeIn 0.8s ease-out 0.9s forwards;
}

/* Keyframes */
@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: #f8f8f8;
  border-top: 1px solid #e65c00;
  border-bottom: 3px solid #222;
  text-align: center;
  padding: 1.5rem;
  gap: 0.5rem;
}

.feature-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: Grey;
  border-left: 2px solid #ddd;
  padding: 0.5rem;
}

.feature-item:first-child {
  border-left: none;
}

.features h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.topfeatures {
  background: #1d2a33;
  border-top: 3px solid #6fc703;
   border-bottom: 3px solid #6fc703;
  text-align: center;
  padding: 1.5rem;
  margin-top: -60px;
  display: flex;
  justify-content: center;   /* CENTER the group */
  align-items: center;
  gap: 2rem;
  height: 10px;
}

.topfeature-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: #fff;
  padding: 0.5rem;
  display: flex;
  align-items: center;       /* center icon + text vertically */
  gap: 0.75rem;
}
.topfeature-item h3 {
  margin: 0; /* remove default margin */
}
.topfeatures h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.subscribe {
  background: #f8f8f8;
  color: grey;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 12px;
  max-width: inherit;
  margin: 5rem auto !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.subscribe-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
  color: #232b52;
}

.subscribe-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.subscribe-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: none;
  flex: 1 1 250px;
  max-width: 400px;
  font-size: 1rem;
}

.subscribe-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  background: #232b52;
  color: White;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.subscribe-form button:hover {
filter: brightness(0.92);
color: #fff;
}
.Product-Header {
  text-align: center;      /* centers the text horizontally */
  margin: 2rem 0;          /* space above and below the header */
}
.Product-Header .header-subtext {
  color: grey;
  font-size: 1.4rem;
  margin-top: 14px;
  font-weight: 600;
}
.Product-Header h2 {
  font-size: 2rem;         /* adjust size as needed */
  font-weight: 600;        /* optional, makes it stand out */
  font-family: 'Poppins', sans-serif; /* optional, consistent font */
  margin: 0;               /* removes default h2 spacing */
}
.product-specs-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.spec-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1d2a33;
    padding: 10px 12px;
    border-radius: 10px !important;
    flex: 1 1 calc(33% - 12px); /* 3 per row on desktop */
    min-width: 140px;
}

.spec-icon {
    width: 24px;
    height: 24px;
    color: #6fc703;
    flex-shrink: 0;
}

.spec-text {
    display: flex;
    flex-direction: row; /* label + value inline */
    align-items: center;
    gap: 4px;
}

.spec-label {
    font-weight: 600;
    font-size: 0.85em;
    color: #fff !important;
}

.spec-value {
    font-size: 0.95em;
    color: #fff;
}
/* Make the product list a flex container */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: flex;           /* flex container */
    flex-wrap: wrap;         /* allow multiple rows */
    justify-content: flex-start; /* or center if you want them centered */
    gap: 20px;               /* spacing between items */
    padding: 0;
    margin: 0;
}

/* Style individual product cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    flex: 1 1 calc(25% - 20px);   /* 4 per row */
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;        /* stack content inside the card vertically */
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin: 0;                     /* spacing is handled by gap in parent */
}
/* Hover effect for lift & stronger shadow */
.related-products-section ul.products li.product:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}.related-products-section {
    margin-bottom: 100px; /* space below the last row so shadows don’t hit footer */
}
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* center items horizontally */
    gap: 20px;                /* spacing between items */
    padding: 0;
    margin: 0 0 60px 0;       /* bottom margin for spacing */
}
.woocommerce ul.products li.product .button {
background-color: #232b52;
    margin: 0 10px 10px;
    color: white;
    border-radius: 4px;}
.footer-column.logo,
.footer-column.hours,
.footer-column.links {
    position: relative; /* needed for pseudo-element */
}
.footer-column.links ul {
    list-style: none;       /* removes bullets */
    margin: 0;              /* remove default spacing */
    padding: 0;             /* remove default padding */
}

.footer-column.links ul li {
    margin-bottom: 8px;     /* spacing between links */
}

.footer-column.links ul li a {
    text-decoration: none;  /* remove underline if needed */
    color: grey;            /* link color */
    font-weight: 500;
}

.footer-column.links ul li a:hover {
    text-decoration: underline; /* optional hover effect */
    color: #FF6F00;             /* accent color on hover */
}
/* Add short vertical border */
.footer-column.logo::after,
.footer-column.hours::after,
.footer-column.links::after {
    content: '';
    position: absolute;
    top: 80px;            /* distance from top */
    bottom: 80px;         /* distance from bottom */
    right: 0;             /* on the right edge */
    width: 0px;           /* thickness of the border */
    background-color: #e65c00; /* border color */
}
.footer-column.location {
  max-width: 260px;
}

.footer-map {
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ccc;
}
    
    /* Full-width shop page */
.fullwidth #primary {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top filter bar */
.acf-product-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.acf-product-filter label {
    font-weight: bold;
    margin-right: 5px;
}

.acf-product-filter select,
.acf-product-filter button {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.acf-product-filter button {
    background-color: #11aac7;
    color: #fff;
    border: none;
    cursor: pointer;
}

.acf-product-filter button:hover {
    background-color: #0f8aa0;
}

/* Product list styling (like homepage) */
.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.products li.product {
    flex: 1 1 calc(25% - 20px); /* 4 per row */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.products li.product:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}/* Ensure all product cards are flex columns */
.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Hover effect for cards */
.products li.product:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Make all product images the same height */
.products li.product img {
    width: 100%;          /* fill card width */
    height: 300px;        /* fixed height */
    object-fit: cover;    /* crop excess but keep center */
    display: block;
}

/* Optional: spacing for product title and price */
.products li.product .woocommerce-loop-product__title,
.products li.product .price {
    margin-top: 10px;
    text-align: center;
    color: #232b52;
font-size: 1.1em;
    font-weight: bold;
  margin: 10px 0 5px;
  font-size: 1.1em;
  color: #232b52;
}

/* Ensure the buttons stay at the bottom if needed */
.products li.product .button {
    margin-top: auto;
}
/* ACF Filter Bar */
.acf-product-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers items horizontally */
  align-items: center;
  gap: 15px;                /* space between dropdowns and button */
  margin: 30px auto;        /* space above/below */
  padding: 15px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 1100px;        /* keeps it neat on large screens */
}

/* Label styling */
.acf-product-filter label {
  font-weight: 600;
  color: #333;
}

/* Dropdowns */
.acf-product-filter select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Filter Button */
.acf-product-filter button {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  background-color: #11aac7;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.acf-product-filter button:hover {
  background-color: #0f8aa0;
}
/* Ensure the main shop content has space below */
/* Ensure main area has enough height and spacing */
#main,
.site-main {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: center;       /* horizontal center */
  min-height: 400px;         /* ensures it fills space even if empty */
  padding-bottom: 100px;  
  margin-top: 20px;/* stops overlap with footer */
}

/* Style the "No products found" message */
#main p,
.site-main p {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  background: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 0 auto;
  margin-top: 1em;
}
/* Top filter button */
.acf-product-filter button {
    background-color: #FF6F00; /* orange */
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Slightly darker on hover */
.acf-product-filter button:hover {
    background-color: #e55e00;
}
.shop-description {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #333;
    line-height: 1.6;
}

.shop-description h2 {
    color: #FF6F00;
    margin-bottom: 20px;
    text-align: center;
}

.shop-description p {
    margin-bottom: 15px;
    
}
.homepage-text {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #333;
    line-height: 1.6;
}

.homepage-text h2 {
    color: #232b52;
    margin-bottom: 20px;
    text-align: center;
}

.homepage-text p {
    margin-bottom: 15px;
}
.contact-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.contact-page h1 {
    text-align: center;
    color: #FF6F00;
    margin-bottom: 20px;
}

.contact-page p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Two-column layout */
.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left Column */
.contact-left {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Right Column */
.contact-right {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact details card */
.contact-details {
    background: #f9f9f9;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-details p {
    margin: 10px 0;
}

.contact-details a {
    color: #FF6F00;
    text-decoration: none;
}

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

/* Map styling */
.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* CTA styling */
.contact-cta h3 {
    color: #FF6F00;
    margin-bottom: 10px;
}

.contact-cta p {
    margin-bottom: 0;
}

/* Contact form styling */
.contact-form {
    width: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#wpforms-submit-172 {
  background-color: #FF6F00;
}
/* Container */
.my-account-page {
    max-width: 900px;          /* narrower than before */
    margin: 60px auto 100px;   /* auto horizontal, extra bottom space */
    padding: 0 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Page title */
.my-account-page .account-title {
    text-align: center;
    font-size: 2rem;
    color: #FF6F00;
    margin-bottom: 10px;
}

/* Intro text */
.my-account-page .account-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Wrapper */
.my-account-page .account-wrapper {
    background: #f9f9f9;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 100%;
}

/* WooCommerce navigation */
.woocommerce-MyAccount-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.woocommerce-MyAccount-navigation li {
    list-style: none;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    color: #333;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background-color: #FF6F00;
    color: #fff;
    border-color: #FF6F00;
}

/* Table styling */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.woocommerce-MyAccount-content table th,
.woocommerce-MyAccount-content table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

.woocommerce-MyAccount-content table th {
    background: #f4f4f4;
    font-weight: 600;
}

.woocommerce-MyAccount-content table tr:nth-child(even) {
    background: #fff;
}

.woocommerce-MyAccount-content table tr:nth-child(odd) {
    background: #f9f9f9;
}

/* Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content a.button {
    display: inline-block;
    background-color: #FF6F00;
    color: #fff;
    border-radius: 6px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    text-align: center;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content a.button:hover {
    background-color: #e55e00;
}
/* Ensure the wrapper is applied */
/* Ensure the whole cart wrapper behaves */
.woocommerce-cart-wrapper {
    max-width: 900px;
    margin: 60px auto 100px;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden; /* contain floats */
}

/* Clear floats in WooCommerce cart layout */
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart_totals {
    clear: both;
    margin-top: 30px;
}

/* Cart totals box styling */
.woocommerce-cart .cart-collaterals .cart_totals {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Table inside totals */
.woocommerce-cart .cart-collaterals .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
/* Proceed to checkout button */
.woocommerce-cart .checkout-button {
    background-color: #FF6F00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.woocommerce-cart .checkout-button:hover {
    background-color: #e55e00 !important;
    color: #fff !important;
}

/* Update cart button */
.woocommerce-cart .actions .button[name="update_cart"] {
    background-color: #FF6F00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.woocommerce-cart .actions .button[name="update_cart"]:hover {
    background-color: #e55e00 !important;
    color: #fff !important;
}/* Checkout page two-column layout */
.woocommerce-checkout form.checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Left column: Billing + Shipping */
.woocommerce-checkout .col2-set .col-1 {
    flex: 1 1 60%;
}

/* Right column: Order review & payment */
.woocommerce-checkout .col2-set .col-2 {
    flex: 1 1 35%;
    min-width: 300px;
}

/* Input fields styling */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* Headings */
.woocommerce-checkout h3 {
    color: #FF6F00;
    margin-bottom: 15px;
}

/* Place Order button */
.woocommerce-checkout #place_order,
.woocommerce-checkout .button.checkout-button {
    background-color: #FF6F00 !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 12px 25px !important;
    font-weight: 600;
    text-transform: uppercase;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .button.checkout-button:hover {
    background-color: #e55e00 !important;
}

/* Order review box shadow */
.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout .woocommerce-checkout-payment {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Responsive: stack columns */
@media (max-width: 768px) {
    .woocommerce-checkout form.checkout {
        display: block;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        flex: 1 1 100%;
    }
}/* Make first/last name fields and other paired fields inline */
.woocommerce-checkout .woocommerce-billing-fields .form-row,
.woocommerce-checkout .woocommerce-shipping-fields .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* spacing between fields */
}

/* Make the input fields take equal width */
.woocommerce-checkout .woocommerce-billing-fields .form-row-first,
.woocommerce-checkout .woocommerce-billing-fields .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields .form-row-last {
    flex: 1 1 48%; /* two fields per row */
}

/* Other full-width fields */
.woocommerce-checkout .form-row-wide {
    flex: 1 1 100%;
}

.homepage-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden; /* hide extra slides */
}

/* Slider container */
.slider {
  display: flex;       /* horizontal row */
  width: 300%;         /* 3 slides */
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Each slide */
.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center calc(100% - 15px); /* your bottom offset */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  text-align: center;
}

/* Individual slide images */
.slide-1 { background-image: url('http://loveourphones.com/wp-content/uploads/2025/11/Copilot_20251119_000857.png'); }
.slide-2 { background-image: url('http://loveourphones.com/wp-content/uploads/2025/11/ColourCase.png'); }
.slide-3 { background-image: url('http://loveourphones.com/wp-content/uploads/2025/11/MixSet.png'); }
.slide-4 { background-image: url('http://loveourphones.com/wp-content/uploads/2025/11/Pods.png'); }

/* Hero content styling */
.hero-content { z-index: 2; }
.hero-buttons .btn { margin: 0 5px; padding: 10px 20px; text-decoration: none; border-radius: 5px; }
.btn-secondary { background: #555; color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }

/* Slider arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}
.prev { left: 20px; }
.next { right: 20px; }
.spec-tooltip {
    position: relative;
    display: inline-block;
}
/* Container for billing/shipping rows */
.woocommerce .woocommerce-billing-fields,
.woocommerce .woocommerce-shipping-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* space between fields */
}

/* Make first/last name fields side by side */
.woocommerce .form-row-first,
.woocommerce .form-row-last {
    flex: 1 1 48%; /* grow/shrink, 48% width */
    box-sizing: border-box;
}

/* Ensure other rows (like address) take full width */
.woocommerce .form-row-wide {
    flex: 1 1 100%;
}
.whats-in-the-box .wb-icon svg {
    width: 26px;
    height: 26px;
}

.whats-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.wb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

.wb-text {
    font-size: 16px;
    font-weight: 500;
}
/* Container for each spec */
.spec-box {
    position: relative; /* needed for tooltip top-right */
    display: flex;
    align-items: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* Icon wrapper */
.spec-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    margin-right: 8px;
}

/* Info icon in top-right corner */
.spec-tooltip {
    position: absolute;
    top: 4px;
    right: 4px;
    cursor: pointer;
    display: inline-block;
}

.spec-tooltip .tooltip-text {
    visibility: hidden;
    position: fixed; /* fixed to viewport */
    top: 50%; /* vertical center */
    left: 50%; /* horizontal center */
    transform: translate(-50%, -50%);
    width: 400px; /* set proper width */
    max-width: 90%;
    background-color: rgba(0,0,0,0.85); /* dark semi-transparent background */
    color: #fff;
    text-align: left;
    padding: 16px 20px; /* more padding */
    border-radius: 8px;
    z-index: 9999;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none; /* prevents blocking hover on icon */
    transition: opacity 0.2s ease;
    display: block; /* ensure it’s block, not inline */
}

.spec-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.tooltip-text ul {
    margin: 0;
    padding-left: 18px;
}

.tooltip-text li {
    margin-bottom: 8px;
}
.save-amount {
  margin-top: 6px;
  font-size: 0.9em;
  color: #666 !important;  /* bootstrap danger red, or pick your own */
  font-weight: 600;
  visibility: hidden;
}
.product-acf-field{
margin-top: 6px;
  font-size: 0.9em;
  color: #666 !important;  /* bootstrap danger red, or pick your own */
  font-weight: 600;}
  
.common-questions-section {
  padding: 60px 20px;
  background-color: #f2e9fa;
  max-width: 900px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #333;
  margin-bottom: 10px;
  Border-radius: 10px;
}
.common-questions-section .container {
  display: flex;
  flex-direction: column; /* stack vertically */
  max-width: 800px;
  margin: 0 auto;
  align-items: center; /* center accordion horizontally */
}
.common-questions-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}
.common-questions-section .sub-header {
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

/* FAQ accordion with gap between Q+A blocks, no gap between question and answer */
/* width fits content based on longest answer */
.faq-accordion {
  border-top: none; /* remove top border */
  display: flex;
  flex-direction: column;
  gap: 20px; /* gap BETWEEN each question+answer block */
  width: fit-content;   /* shrink/grow to longest content */
  min-width: 800px;     /* optional min width */
}

/* Make question and answer take full width of accordion */
.faq-question,
.faq-answer {
  width: 100%;
  box-sizing: border-box;
}

.faq-question {
  text-align: left;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid #ccc;
  border-bottom: none; /* no bottom border to connect with answer */
  border-radius: 8px 8px 0 0; /* rounded top corners */
  background: #f9f4fb;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover,
.faq-question:focus {
  background-color: #eaeaea;
}
.faq-question .arrow {
  border: solid #555;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .arrow {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 15px 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none; /* no top border to connect with question */
  border-radius: 0 0 8px 8px; /* rounded bottom corners */
  margin-top: 0; /* no gap */
  animation: fadeIn 0.3s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 1000px; }
}

/* General */
section {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9fb;
}

h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
}

/* HOW IT WORKS */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 10px;
}

.step {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* GRADING */
.grade-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.grade-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.grade-card.featured {
  transform: scale(1.05);
  border: 2px solid #8bc34a;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 15px;
}

.green { background: #8bc34a; }
.light-green { background: #a5d6a7; color:#1b5e20; }
.dark-green { background: #2e7d32; }

.highlight {
  color: #7cb342;
  font-weight: 600;
}

.grading-cards-section {
  text-align: center;
  padding: 1rem 1rem;
  background: #f9f9fb;
  color: #333;
}

.grading-cards-section h2 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.grading-cards-section .subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.grading-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.grading-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.05);
  padding: 1.5rem 1rem 2rem;
  width: 280px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grading-card.featured {
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
  border: 2px solid #a5d6a7; /* Light green */
}

.badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: white;
}

.badge-standard {
  background-color: #74a75c; /* Green */
}

.badge-good {
  background-color: #d9e4dc; /* Light green */
  color: #2e7d32;
}

.badge-refurbished {
  background-color: #365a50; /* Dark green */
}

.highlight {
  color: #a57d28; /* Gold-ish for "Lowest price" etc */
  font-weight: 600;
  margin: 0.3rem 0 0.8rem;
  font-size: 1.1rem;
}

.grading-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
}

.grading-card img {
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: #444;
}

.checklist li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 20px;
}

.checklist li::before {
  content: "✔";
  color: #4caf50;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.footer-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}
.phone-quality-section {
  text-align: center;
  padding: 40px 20px;
}
.phone-quality-section {
  text-align: center;
  padding: 40px 20px;
}

.phone-quality-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.phone-quality-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #232b52;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.phone-quality-button:hover {
  opacity: 0.85;
}
/* Hide native dropdown selects */


/* Variation row styling */
.variations tr {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

/* Label fixed width */
.variations th.label {
  flex: 0 0 140px;
  text-align: right;
  padding-right: 10px;
  white-space: nowrap;
}

/* Variation options container grows */
.variations td.value {
  flex: 1 1 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}

/* Color swatches - circles */
.custom-swatch.color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #dcdcdc;
  cursor: pointer;
  box-sizing: border-box;
}

.custom-swatch.color.active {
  border-color: #000;
}

/* Text swatches - rectangles with full text */
.custom-swatch.text {
  padding: 10px 18px;
  background: #f5f5f5;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.custom-swatch.text:hover {
  background: #eaeaea;
}

.custom-swatch.text.active {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* Swatches container flex styling */
.custom-swatches {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  align-items: center;
}

.custom-swatch {
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
}

/* Variation container stacking */
.variations {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2em;
}

/* Cart actions wrapper: quantity + add to cart + basket all in one line */
.cart-actions-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  max-width: 400px; /* adjust as needed */
  width: 100%;
  flex-wrap: nowrap;
}

/* Quantity input styling */
.cart-actions-wrapper .quantity input.qty {
  width: 80px !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  margin: 0;
}

/* Add to cart button styling */
.cart-actions-wrapper .single_add_to_cart_button {
  flex-grow: 1;
  padding: 14px !important;
  font-size: 15px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  min-width: 120px !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0;
}

.cart-actions-wrapper .single_add_to_cart_button:hover,
.cart-actions-wrapper .single_add_to_cart_button:focus {
  background-color: #222 !important;
  color: #fff !important;
  border-color: #222 !important;
}

/* Basket link next to add to cart, no wrapping */
.view-basket-button {
  font-weight: 600;
  color: #11aac7;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease;
  margin-left: auto; /* push basket to far right */
}

.view-basket-button:hover {
  color: #0d7f99;
}
table.variations td.label,
table.variations td.value {
  vertical-align: middle !important;
  padding: 8px 10px !important; /* optional: nicer padding */
}
.woocommerce div.product .summary .price { display: block !important; visibility: visible !important; }
/* Override swatch container layout */
.variable-items-wrapper,
.button-variable-items-wrapper {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: 8px !important;
  justify-content: flex-start !important;
}

/* Style swatch pills */
.variable-item,
.button-variable-item {
  cursor: pointer !important;
  padding: 8px 16px !important;
  border: 2px solid #ccc !important;
  border-radius: 30px !important;
  background-color: #f5f5f5 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: #333 !important;
  user-select: none !important;
  min-width: 80px !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.25s ease, border-color 0.25s ease !important;
}

/* Selected state */
.variable-item.selected,
.button-variable-item.selected,
.variable-item[aria-checked="true"],
.button-variable-item[aria-checked="true"] {
  background-color: #0071a1 !important;
  border-color: #004c73 !important;
  color: #fff !important;
}

/* Disabled swatches */
.variable-item.disabled,
.button-variable-item.disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Color swatches (circle) */
.color-variable-item .variable-item-span-color {
  width: 30px !important;
  height: 30px !important;
  border-radius: 10% !important;
  border: 1.5px solid #bbb !important;
  display: inline-block !important;
  transition: border-color 0.3s ease !important;
}

/* Color swatch selected border */
.color-variable-item.selected .variable-item-span-color,
.color-variable-item[aria-checked="true"] .variable-item-span-color {
  border-color: #0071a1 !important;
  box-shadow: 0 0 5px #0071a1 !important;
}
.variable-items-wrapper[data-attribute_name="attribute_pa_condition"] {
  display: flex !important;
  flex-wrap: nowrap !important; /* Prevent wrapping, force all on one line */
  gap: 10px !important;          /* Space between pills */
  justify-content: flex-start !important; /* Align left */
  overflow-x: auto;              /* Allow horizontal scroll if too wide */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.variable-items-wrapper[data-attribute_name="attribute_pa_condition"] .variable-item,
.variable-items-wrapper[data-attribute_name="attribute_pa_condition"] .button-variable-item {
  flex: 0 0 auto; /* Prevent flex grow/shrink */
}
/* Target the device colour swatch container */
.variable-items-wrapper[data-attribute_name="attribute_pa_device-colour"] {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Make each colour swatch a circle */
.variable-items-wrapper[data-attribute_name="attribute_pa_device-colour"] .color-variable-item .variable-item-span-color {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  border: 2px solid #ccc; /* Light border for visibility */
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

/* Highlight selected colour swatch */
.variable-items-wrapper[data-attribute_name="attribute_pa_device-colour"] .color-variable-item.selected .variable-item-span-color {
  border-color: #007cba !important; /* Change border color to highlight */
  box-shadow: 0 0 5px rgba(0,124,186,0.7);
}

/* Disabled colours slightly faded */
.variable-items-wrapper[data-attribute_name="attribute_pa_device-colour"] .color-variable-item.disabled .variable-item-span-color {
  opacity: 0.4;
  cursor: not-allowed;
}.variable-item-span.variable-item-span-color {
    width: 30px;           /* Set width */
    height: 30px;          /* Set height */
    border-radius: 50%;    /* Make it circular */
    display: inline-block; /* Ensure it's block-level for width/height to apply */
    border: 2px solid #ccc; /* Optional: add border for visibility */
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

/* Optional: highlight selected color swatch */
.variable-item-span.variable-item-span-color.selected,
.variable-item.selected .variable-item-span.variable-item-span-color {
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.7);
}

/* Optional: disabled state styling */
.variable-item.disabled .variable-item-span.variable-item-span-color {
    opacity: 0.4;
    cursor: not-allowed;
}
.flex-control-thumbs {
  display: flex !important;
  overflow: hidden;
  max-width: 100%;
}

.flex-control-thumbs li {
  flex: 0 0 auto;
  margin-right: 5px;
  cursor: pointer;
}
.slick-arrow {
    display: block !important;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    z-index: 10;
}

.slick-prev {
    left: -35px;
}

.slick-next {
    right: -35px;
}
.icon img {
  font-size: 40px;
  margin-bottom: 15px;
  width: 250px;
  height: auto;
}
.header-account a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.account-icon {
  width: 18px;   /* adjust to match your header size */
  height: auto;
}
.header-cart a {
  display: flex;
  align-items: center;
}

.cart-icon {
  width: 40;   /* adjust size to match header */
  height: auto;
}
.account-icon,
.cart-icon {
  width: 40px;
  height: auto;
}
.woocommerce-product-details__short-description p,
.woocommerce-Tabs-panel p {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 15px;
}
.product-condition {
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 6px;
    margin-bottom: 10px;
    color: #666 !important;
}
.woocommerce div.product .wc-tabs li {
    background-color: #232b52 !important;
    border: none !important;
    border-radius: 0px !important;
}

.woocommerce div.product .wc-tabs li a {
    color: #fff !important;
}
.woocommerce div.product .wc-tabs li,
.woocommerce div.product .wc-tabs li a {
    border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-Tabs-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
 .comment-form-rating .stars > span {
    width: 100% !important;
    color: #f5c542 !important;
    position: static !important;
}
ul.products {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Fixed width for product cards */
ul.products li.product {
  flex: 0 0 calc((100% / 4) - 15px);
  max-width: calc((100% / 4) - 15px);
  box-sizing: border-box;
}

/* Prevent cards from shrinking smaller than fixed width when fewer items */
ul.products:not(:has(li.product:nth-child(4))) li.product {
  flex: 0 0 300px; /* fixed pixel width to prevent shrinking */
  max-width: 300px;
}



/* Individual product cards */
ul.products.products-grid li.product {
  width: 100%; /* fill the grid column */
  box-sizing: border-box;
}
  
  /* remove right gap */
  margin-right: 0;
  
  /* add left gap */
  margin-left: 20px;
}

/* Remove left margin for the first item in each row */
ul.products li.product:nth-child(4n + 1) {
  margin-left: 0;
}

.woocommerce ul.products li.product > a.button {
  margin-top: 35px; /* or increase if needed */
  display: inline-block; /* ensure it's treated as a block */
  clear: both; /* prevent overlap */
}
.menu-toggle {
  display: none;
}
/* ==============================
   GLOBAL CONTAINER    MOBILE NEW EDITS
   ============================== */
.container{
    max-width:1200px;
    width:90%;
    margin:0 auto;
    box-sizing:border-box;
}

/* ==============================
   GLOBAL IMAGES
   ============================== */
img{
    max-width:100%;
    height:auto;
    display:block;
}

/* ==============================
   BRANDS SECTION
   ============================== */
.brands-section .container{
    display:flex;
    flex-direction:column;
    align-items:center;
    max-width:1200px;
    margin:0 auto;
    margin-top:-60px; /* adjust for desktop */
}

.brands-logos{
    display:flex;
    flex-wrap:wrap; /* allows logos to wrap on small screens */
    justify-content:center;
    gap:20px;
    margin:20px 0;
}

.brands-logos img{
    width:70px;
}

/* ==============================
   PRODUCTS GRID
   ============================== */
.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin:20px 0;
}

/* ==============================
   HOW IT WORKS SECTION
   ============================== */
.how-steps{
    display:flex;
    gap:30px;
    justify-content:center;
}

.how-steps .step{
    flex:1;
    text-align:center;
}

/* ==============================
   GRADING CARDS
   ============================== */
.grading-cards-wrapper{
    display:flex;
    gap:30px;
    justify-content:center;
}

.grading-card{
    flex:1;
    text-align:center;
}

/* ==============================
   COMMON QUESTIONS
   ============================== */
.common-questions-section .container{
    display:flex;
    flex-direction:column;
    align-items:center;
    max-width:800px;
    margin:0 auto;
}

/* ==============================
   SUBSCRIBE SECTION
   ============================== */
.subscribe-content{
    max-width:600px;
    margin:0 auto;
    text-align:center;
}

.subscribe-form{
    display:flex;
    gap:10px;
}

.subscribe-form input,
.subscribe-form button{
    flex:1;
    min-width:0;
}

/* ==============================
   MEDIA QUERIES
   ============================== */

/* Tablets and small laptops */
@media (max-width:1024px){
    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .brands-section .container{
        margin-top:-30px;
    }

    .how-steps{
        gap:20px;
    }

    .grading-cards-wrapper{
        flex-wrap:wrap;
    }
}

/* Mobile */
@media (max-width:768px){
    .products-grid{
        grid-template-columns:1fr;
    }

    .brands-section .container{
        margin-top:0;
        padding:0 10px;
    }

    .how-steps{
        flex-direction:column;
        gap:15px;
    }

    .grading-cards-wrapper{
        flex-direction:column;
        gap:20px;
    }

    .common-questions-section .container{
        max-width:100%;
        padding:0 10px;
    }

    .subscribe-form{
        flex-direction:column;
    }

    .subscribe-form input,
    .subscribe-form button{
        width:100%;
    }
}

/* Small mobile */
@media (max-width:480px){
    .subscribe-content h2{
        font-size:1.3rem;
    }

    .subscribe-content p{
        font-size:0.9rem;
    }

    .faq-question{
        font-size:14px;
        padding:10px;
    }

    .faq-answer p{
        font-size:13px;
        line-height:1.4;
    }

    .brands-logos img{
        width:60px;
    }
}
/* ==============================
   HEADER LOGO RESPONSIVENESS
   ============================== */
/* ==============================
   TABLET + MOBILE HEADER
   Portrait & Landscape
   Desktop untouched (>1366px)
   ============================== */

/* Ensure cart and account visible on desktop */
.header-cart,
.header-account {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ---------- Container fix for notebooks 10"-15" ---------- */
@media (max-width:1366px) {
  .container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }
}

/* ---------- Large tablets / small notebooks landscape (1025px–1366px) ---------- */
@media (min-width:1025px) and (max-width:1366px) {

  .header-container {
    display: flex;
    flex-direction: row;      
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
    padding: 0;
    flex-wrap: nowrap;
  }

  .header-logo {
    max-width: 150px;
  }

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

  /* HIDE SEARCH */
  .header-search {
    display: ;
  }

  .menu-toggle {
    display: none;
  }

  .header-menu-nav {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .header-account,
  .header-cart {
    display: flex;
    gap: 12px;
    margin: 0;
    flex-shrink: 1;
  }

  .topfeatures { display: none; }
}

/* ---------- Tablets portrait / smaller screens (≤1024px) ---------- */
@media (max-width:1024px) and (orientation: portrait) {

  /* HIDE SEARCH */
  .header-search {
    display: none;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .header-logo {
    text-align: center;
    width: 100%;
  }

  .header-logo img {
    width: auto;
    max-width: 40%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
  }

  /* ICON ROW FIX */
  .header-search-and-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    flex-wrap: nowrap;
    margin: 0 auto;
  }

  .menu-toggle,
  .header-account,
  .header-cart {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-account span { display: none; }

  .header-menu-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 5px;
  }

  .header-menu-nav.active { 
      display: none; }

  .topfeatures { display: none; }
}

/* ---------- Small Phones 361px–600px ---------- */
@media (min-width:361px) and (max-width:600px) {

  .header-search {
    display: none !important;
  }

  .header-logo img { 
    max-width: 60%;
    margin: 0 auto;
  }

  .menu-toggle { 
    font-size: 22px;
  }

  .header-search-and-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 18px;
    flex-wrap: nowrap;
    margin: 0 auto;
  }

  .header-account img,
  .header-cart img { 
    width: 32px;
  }

}

/* ---------- Extra Small Phones ≤360px ---------- */
@media (max-width:360px) {

  .header-search {
    display: none !important;
  }

  .header-logo img { 
    max-width: 55%;
    margin: 0 auto;
  }

  .menu-toggle { 
    font-size: 20px;
  }

  .header-search-and-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 16px;
    flex-wrap: nowrap;
    margin: 0 auto;
  }

  .header-account img,
  .header-cart img { 
    width: 28px;
  }
}/* Hide account + cart in header on tablets and phones */
@media (max-width:1024px) {

  .header-account,
  .header-cart {
    display: none;
  }

/* Hide mobile menu items on desktop */
@media (min-width:1025px) {

.header-menu-nav li.menu-item-account,
.header-menu-nav li.menu-item-cart {
    display: none;
}

}

/* Mobile */
@media (max-width:768px){
    .footer-content{
        flex-direction: column;
        align-items: center;
    }
    .footer-column{
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-map iframe{
        height: 150px;
    }
}
/* === Product Detail Page === */
/* === Product Detail Page === */
.woocommerce div.product {
    display: flex;
    flex-direction: column; /* stack everything vertically */
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible !important; /* prevent clipping */
}

/* === Product Gallery === */
.woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-product-gallery img {
    width: 100% !important; /* force image to fit container */
    height: auto !important;
    max-height: 600px; /* prevent huge images on mobile/tablet */
    object-fit: contain;
}

/* === Product Summary / Description / Variations === */
.summary.entry-summary {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* center horizontally */
    text-align: center !important;
    overflow: visible !important;
}

.summary.entry-summary .product_title,
.summary.entry-summary .woocommerce-Price-amount,
.summary.entry-summary .woocommerce-review-link {
    width: auto !important;
    margin: 5px 0 !important;
}

.summary.entry-summary .woocommerce-review-link {
    display: flex !important;
    justify-content: center !important;
}

.summary.entry-summary p,
.summary.entry-summary li {
    font-size: 1em;
    line-height: 1.4em;
    word-wrap: break-word;
}

/* === Variations Form === */
.variations_form {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
    padding: 0 5px; /* small padding to prevent clipping */
}

.variations label,
.variations select {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 10px;
    white-space: normal !important;
    word-break: break-word;
    -webkit-appearance: none;
    appearance: none;
}

/* Ensure dropdown options are visible */
.variations select option {
    display: block;
    white-space: normal !important;
}

/* === Product Specs Boxes === */
.product-specs-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-box {
    flex: 1 1 100%; /* full width for mobile */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: relative;
}

.spec-icon-wrapper {
    display: block;
    margin-bottom: 5px;
}

.spec-icon-wrapper svg.spec-icon {
    width: 24px;
    height: 24px;
}

.spec-text {
    display: block;
    margin-left: 0;
    margin-top: 5px;
}

.spec-label {
    font-weight: bold;
}

/* Tooltip */
.spec-tooltip .tooltip-text {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    width: 200px;
    top: 25px;
    right: 0;
    z-index: 1; /* lower than variations dropdown */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-size: 0.9em;
}

.spec-tooltip:hover .tooltip-text {
    display: block;
}

/* === Tablet (768px–1024px) === */
@media (min-width: 768px) and (max-width: 1024px) {
    .spec-box {
        flex: 1 1 calc(50% - 10px); /* 2 per row on tablets */
    }

    .summary.entry-summary p,
    .summary.entry-summary li {
        font-size: 1.1em;
    }

    .woocommerce-product-gallery img {
        max-height: 500px;
    }
}

/* === Mobile (below 768px) === */
@media (max-width: 767px) {
    .spec-box {
        flex: 1 1 100%;
    }

    .summary.entry-summary p,
    .summary.entry-summary li {
        font-size: 0.95em;
    }

    .variations label,
    .variations select {
        font-size: 0.95em;
    }

    .woocommerce-product-gallery img {
        max-height: 400px;
    }

    .variations_form {
        padding-left: 5px;
        padding-right: 5px;
    }
}
/* Override summary width on tablets and phones */
@media (max-width: 1024px) {
    .woocommerce .product .summary {
        flex: 1 1 100% !important;   /* full width */
        max-width: 100% !important;  /* full width */
        display: flex !important;    
        flex-direction: column !important; /* stack vertically */
        align-items: center !important;    /* center children horizontally */
        justify-content: flex-start !important;
        text-align: center !important;
        overflow: visible !important;      /* prevent clipping */
    }

    /* Inner elements (title, price, reviews) */
    .woocommerce .product .summary .product_title,
    .woocommerce .product .summary .woocommerce-Price-amount,
    .woocommerce .product .summary .woocommerce-review-link {
        width: auto !important;
        margin: 5px 0 !important;
    }

    /* Center review stars */
    .woocommerce .product .summary .woocommerce-review-link {
        display: flex !important;
        justify-content: center !important;
    }

    /* Variations dropdowns take full width */
    .variations_form,
    .variations label,
    .variations select {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
        box-sizing: border-box;
    }

    /* Small padding to prevent dropdown clipping */
    .variations_form {
        padding-left: 5px;
        padding-right: 5px;
    }
}
/* Optional: wrap breadcrumb links vertically on small screens */
@media (max-width: 767px) {
    .woocommerce .woocommerce-breadcrumb {
        font-size: 0.85em;
    }

    .woocommerce .woocommerce-breadcrumb a {
        display: inline-block; /* allow line breaks */
    }
}
/* Make variation buttons responsive on mobile/tablet */
@media (max-width: 1024px) {
    .variable-items-wrapper[data-attribute_name="attribute_pa_condition"] {
        flex-wrap: wrap !important;       /* allow wrapping */
        gap: 8px !important;              /* smaller gap for mobile */
        justify-content: flex-start !important;
        overflow-x: visible !important;   /* prevent clipping */
    }

    .variable-items-wrapper[data-attribute_name="attribute_pa_condition"] .variable-item {
        flex: 1 1 auto !important;        /* make each button shrink/grow as needed */
        min-width: 30% !important;       /* optional: ensures buttons not too small */
        box-sizing: border-box;
    }
}
/* Hide selected variation name on mobile/tablet */
@media (max-width: 1024px) {
    .woo-selected-variation-item-name {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Stack related products vertically on mobile */
    .custom-related-wrapper ul.products {
        display: flex !important;
        flex-direction: column !important; /* vertical stack */
        flex-wrap: nowrap !important;
    }

    .custom-related-wrapper ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        float: none !important;
        margin-bottom: 15px !important; /* spacing between products */
    }

    .custom-related-wrapper ul.products li.product img {
        width: 100% !important;
        height: auto !important;
    }
}
/* Hide mobile menu by default on desktop */
.header-menu-nav,
.menu-toggle-mobile {
    display: none;
}

