
:root {
  --primary-color: #00274c;
  --secondary-color: #001a33;
  --text-color: #333333;
  --background-color: #FFFFFF;
}

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

body {
  font-family: 'NZPSans', arial, sans-serif;
   font-style:normal;
  font-weight: 300;
  color: #1c2023de;
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main{
   background-color:#f3f4f6;
   padding: 4rem 0;
   flex: 1;
}
p{
font-family: 'NZPSans', arial, sans-serif;
  font-style:normal;
  font-weight: 300;
line-height:1.2;
font-size:14px !important;
color: #1c2023de;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1, h2, h3{
font-family: 'NZPSans', arial, sans-serif;
  font-weight: bold;
}

.notification-banner {
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 0.75rem;
  font-size: 1rem;
}

.notification-banner a {
  color: white;
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 500;
}

header {
  background-color: #041e42;
  color: rgba(255,255,255,0.87);
  position: relative;
  padding: 0.65rem;
  box-shadow:0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
z-index: 1000;
}

.header-content {
 display: flex;
align-items: center;
justify-content: space-between;


}

.logo img {
  width: 40px;
  height: 40px;
 flex-grow: 1; 
}

/* Navigation styling */
nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--primary-color);
  padding: 1rem 1rem 2rem 1rem;
  position: absolute;
  top:75px;
  left: 0;
  right: 0;
  z-index: 10;
}

nav a {
  color: rgba(255,255,255,0.87) !important;
  text-decoration: none;
  font-size: 0.875rem;
  text-align: center;
  font-style:normal;
  font-weight: 300;
}

/* Mobile menu button */
.menu-button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  flex-shrink: 0;
}
@media only screen and (max-width: 1023px) {
.header-content{
   display: flex;
align-items: center;
justify-content: space-between;
  width: 100% !important; 
}
}
/* Show menu on desktop */
@media (min-width: 1024px) {
  nav {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      position: static;
      background: none;
  }

  .menu-button {
      display: none;
  }
}

/* Styling for mobile navigation menu */
nav#mobileNav {
display: none;
flex-direction: column;
gap: 1rem;
background-color: var(--primary-color);
padding: 1rem;
position: absolute;
top: 70px;
left: 0;
right: 0;
z-index: 10;
align-items: center; /* Center the items */
text-align: center; /* Center the text */
height: 280px;

}

/* Navigation links inside the mobile menu */
nav#mobileNav a {
color: white;
text-decoration: none;
font-size: 1rem;
font-weight: 500;
padding: 0.5rem 0;
width: 100%;
display: block; /* Make each link take full width */
}

/* Show the mobile navigation on smaller screens */
@media (max-width: 1023px) {
#mobileNav {
    display: flex;
}
}



/* Show menu on desktop */
@media (min-width: 1024px) {
  nav {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      position: static;
      background: none;
  }

  .menu-button {
      display: none;
  }
}
.header-actions {
  display: flex;
  align-items: center;
}

.header-actions > * {
  margin-left: 0.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-ghost {
  background-color: transparent;
  color: white;
  border: none;
}

.btn-outline {
  background-color: white;
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
}

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

.btn:hover {
  opacity: 0.9;
}

.hero {
  background-color: var(--primary-color);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero h1 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
font-family: 'NZPSans', arial, sans-serif;
  font-weight: bold;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
font-family: 'NZPSans', arial, sans-serif;
  font-weight: normal;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('https://image.online.nzpost.co.nz/lib/fe4215707564047c731673/m/1/3847e804-07e2-431a-927c-2cc3a490033f.jpg');
  background-size: cover;
  background-position: center 40%;

}

.filter-section {
  background-color: #f3f4f6;
  padding: 2rem 0;
  text-align: center;
}

.filter-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
 font-family: 'NZPSans', arial, sans-serif;
  font-weight: bold;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
 font-family: 'NZPSans', arial, sans-serif;
  font-weight: normal;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #0033a0;
  border-radius: 9999px;
  background-color: white;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
font-family: 'NZPSans', arial, sans-serif;
  font-weight: normal;
}

.filter-btn.active {
  background-color: #0033a0;
  color: white;
}

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

.gifts-grid {
  max-width: 1200px; 
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
  justify-content: center;
}

.gift-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  height: 340px; 
}

.gift-image-wrapper {
width: 150px;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: 0.5rem;
margin-bottom: 1rem;
}

.gift-image {
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}


.gift-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
  height: 55px; /* Set fixed height for titles */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'NZPSans', arial, sans-serif;
  font-weight: normal;
}

.gift-brand {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
  text-align: center;
  overflow: hidden;
}

.shop-now-btn {
  background-color: #0033a0;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  text-decoration: none;
  text-align: center;
  width: 100%;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push the button to the bottom of the card */
}
.shop-now-btn:hover {
  background-color: var(--secondary-color);
}
.features {
  background-color: #f3f4f6;
  padding: 2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

@media (max-width: 768px) {
  .features-grid {
      grid-template-columns: repeat(4, 1fr);
  }
.hero-image {
    background-position: 70% 20% !important;
  background-image: url('https://image.online.nzpost.co.nz/lib/fe4215707564047c731673/m/1/8a18eacc-985c-4d65-a039-ae433400cc91.jpg');
 opacity: 1;
}
.hero-content{
 top:0;
}
 main{
   padding: 1rem 0;
}
}



.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature span {
  font-size: 0.875rem;
}



.footer-top {
  padding: 2rem 0;
}

.footer-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
}

.app-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.gift-image {
background-color: #fff; 
width: 100%;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.5rem;
margin-bottom: 1rem;
background-size: contain; 
background-position: center; 
background-repeat: no-repeat; 
}
@media (min-width: 768px) {
  .footer-app {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
      align-items: center;
  }
}

.footer-links {
  color: white;
  padding: 3rem 0;
  background: #041e42 url("https://image.online.nzpost.co.nz/lib/fe4215707564047c731673/m/1/18aaa07a-841b-4e1d-9589-0af8fb40b2ab.svg") no-repeat;
  background-size: cover;
  background-position: center;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-links h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
font-weight: 500;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #041e42;
  color: white;
  padding: 1rem 0;
  font-size: 0.875rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
      flex-direction: row;
      justify-content: space-between;
  }
}

.footer-bottom a {
  color: white;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  height: 100%; 
}

.header-nav {
  display: none;
  height: 100%; 
}

.header-nav a {
  color: rgba(255,255,255,0.87);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  margin-left: 20px;
  
}

.header-actions {
  display: none;
}

.header-actions a, .header-actions button {
  color: rgba(255,255,255,0.87);
  text-decoration: none;
  font-size: 16px;
  font-weight:600;
  margin-left: 14px;
  background: none;
  border: none;
  cursor: pointer;
}

.header-actions .icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.header-actions .icon-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
#express-tonight{
  background-color: rgb(216,41,28,1);
  position: relative;
  left: -80px;
  top: -10px;
  border-radius: 10px;
  padding: 3px 10px;
  font-size: 12px;
  color: #fff;
 display:none;


}
@media only screen and (max-width: 768px) {
#express-tonight{
  left: -120px;
    
}
}
@media only screen and (max-width: 600px) {
#express-tonight{
  left: -90px;
    
}
}
@media (min-width: 1024px) {
  .header-nav, .header-actions {
      display: flex;
  }

  .menu-button {
      display: none;
  }
}
.modal {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.3s ease;
}

.modal-content {
background-color: white;
padding: 2rem;
border-radius: 8px;
text-align: center;
max-width: 400px;
}

.modal.show {
visibility: visible;
opacity: 1;
}

.btn {
margin: 20px 10px;
}

#over18Btn {
background: #d10005;
color: white;
}
#under18Btn{
border: 1px solid #D10005;
}


.important-notice {
display: none; /* Hidden initially - JS will show when needed */
background: #fff;
border-radius: 14px;
border-left: 8px solid #d8291c; 
padding: 24px 28px;
box-shadow: 0 1px 3px rgba(0,0,0,.08);
margin-bottom: 24px;
}

.notice-eyebrow {
display: flex;
align-items: center;
gap: 8px;
color: #d8291c;
font-size: 12px;
font-weight: 700;
letter-spacing: .06em;
text-transform: uppercase;
margin-bottom: 12px;
}

.notice-icon {
width: 18px;
height: 18px;
border-radius: 50%;
background: #d8291c;
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
line-height: 1;
}

.important-notice h2 {
margin-bottom: 12px;
}

.important-notice p {
margin: 0 0 8px 0;
color: #4b5563;
}


.store-layout{
display: none; /* Hidden initially - JS will set to grid when data is ready */
grid-template-columns: 2fr 1fr;
gap:24px;
margin-bottom:24px;
align-items:start;
}
.map-card{
background:#fff;
border-radius:12px;
padding:16px;
box-shadow:0 1px 3px rgba(0,0,0,.08);
}
.sidebar-card{
background:#fff;
border-radius:12px;
padding:20px;
box-shadow:0 1px 3px rgba(0,0,0,.08);
}
.comparison-card{
background:#fff;
border-radius:12px;
padding:20px;
box-shadow:0 1px 3px rgba(0,0,0,.08);
grid-column: 1; 
}


@media (max-width: 1023px){
.store-layout{ grid-template-columns: 1fr; }
.map-card{ grid-column:1; grid-row:1; }
.sidebar-card{ grid-column:1; grid-row:2; }
.comparison-card{ grid-column:1; grid-row:3; }
}


/* ---- Comparison (matches screenshot) ---- */
.compare-card{
display: none; /* Hidden initially - JS will show when isRemoving is true */
background:#fff;
border:1px solid #e5e7eb;
border-radius:12px;
box-shadow:0 1px 3px rgba(0,0,0,.08);
overflow:hidden;
margin-bottom:24px;
grid-column: 1;
}

#storeChangesLink{
grid-column: 1;
}

.compare-grid{
display:grid;
grid-template-columns: 160px 1fr 1fr;
}

.compare-head{
padding:18px 20px;
border-bottom:1px solid #e5e7eb;
font-weight:700;
background:#fff;
}

.compare-head .store-a{
color:#d8291c;
text-align:center;
font-size:18px;
}

.compare-head .store-b{
color:var(--primary-color);
text-align:center;
font-size:18px;
}

.compare-row{
border-bottom:1px solid #eef2f7;
}

.compare-row:last-child{
border-bottom:none;
}

.compare-cell{
padding:22px 20px;
font-size:16px;
color:#111827;
}

.compare-label{
color:#6b7280;
font-weight:500;
}

.compare-center{
text-align:center;
}

.status-closing{
color:#d8291c;
font-weight:800;
letter-spacing:.04em;
}

.status-open{
color:#16a34a;
font-weight:800;
letter-spacing:.04em;
}

.service-list{
display:flex;
flex-direction:column;
gap:10px;
align-items:center;
}

.service-pill{
width:100%;
max-width:280px;
background:#f3f4f6;
border-radius:8px;
padding:10px 12px;
text-align:center;
color:#374151;
font-weight:500;
}

/* mobile: keep same look, allow swipe instead of breaking layout */
@media (max-width: 640px){
.compare-card{ overflow-x:auto; }
.compare-grid{ min-width: 640px; } 
}

.future-panel {
background: #fff;
border-radius: 22px;
border: 1px solid #eef2f7;
border-top: 8px solid #2f2f2f;
box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
padding: 42px 44px;
}

.future-title {
font-size: 34px;
line-height: 1.15;
margin: 0 0 26px 0;
font-weight: 800;
color: #111827;
}

.future-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 56px;
align-items: start;
}

.future-h {
font-size: 22px;
line-height: 1.25;
margin: 0 0 12px 0;
font-weight: 600;
color: #111827;
}

.future-p {
margin: 0 0 26px 0;
color: #1c2023de;
line-height: 1.75;
font-size: 16px;
}

.future-card {
background: #fff;
border-radius: 12px;
border: 1px solid #e5e7eb;
padding: 22px 24px;
box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
margin-top: 18px;
}

.future-card-eyebrow {
font-size: 14px;
font-weight: 900;
letter-spacing: .08em;
text-transform: uppercase;
margin: 0 0 10px 0;
color: #111827;
}

.future-link {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 10px;
font-weight: 800;
color: #111827;
text-decoration: none;
}

.future-link:hover {
text-decoration: underline;
}

.future-divider {
border: 0;
height: 1px;
background: #e5e7eb;
margin: 34px 0 18px 0;
}

.future-quote {
margin: 0;
font-style: italic;
color: #6b7280;
line-height: 1.65;
font-size: 14px;
}

@media (max-width: 1023px) {
.future-panel { padding: 26px 22px; }
.future-title { font-size: 26px; margin-bottom: 18px; }
.future-grid { grid-template-columns: 1fr; gap: 22px; }
}  

.pac-container{
z-index: 100000 !important;
box-shadow: 0 10px 24px rgba(17,24,39,.12) !important;
border-radius: 12px !important;
border: 1px solid #e5e7eb !important;
}

/* Selectable Hub List */
.hub-item {
padding: 16px;
border: 1px solid #e5e7eb;
border-radius: 12px;
margin-bottom: 12px;
cursor: pointer;
transition: all 0.2s ease;
background: #fff;
}

.hub-item:hover {
background-color: #f9fafb;
border-color: #d1d5db;
}

.hub-item.selected {
border-color: #0033a00d;
background-color: #0033a00d;
box-shadow: 0 0 0 1px #0033a0;
}

.hub-item h4 {
margin: 0 0 4px 0;
color: #00274c;
font-size: 15px;
font-weight: 700;
}

.hub-item p {
margin: 0 0 8px 0;
font-size: 13px;
color: #6b7280;
line-height: 1.4;
}

.hub-item .hub-actions {
display: flex;
justify-content: flex-end;
}

.hub-item .hub-link {
font-size: 13px;
font-weight: 700;
color: #d8291c;
text-decoration: none;
}

.hub-item .hub-link:hover {
text-decoration: underline;
}

/* Loading Spinner Animation */
@keyframes spin {
to {
transform: rotate(360deg);
}
}
