@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Beau+Rivage&display=swap');

:root {
  --color-yellow: #FFC20E;
  --color-gold: #FBBF24;
  --color-gold-dark: #E5A714;
  --color-gold-bright: #FDB915;
  --color-teal: #6FCDCC;
  --color-purple: #8B3FBF;
  --color-blue: #0055BF;
  --color-white: #FFFFFF;
  --color-light-gray: #F8F9FA;
  --color-gray: #D9D9D9;
  --color-dark: #333333;
  --color-dark-gray: #1A1A1A;
  --color-black: #000000;
  
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Beau Rivage', cursive;
}

body {
 margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--color-light-gray);
}



.play-zone-btn {
    background: white;
    color: #D32F2F;
    border: 3px solid #D32F2F;
    border-radius: 8px;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-zone-btn:hover {
    background: #D32F2F;
    color: white;
}

.join-insiders {
    color: #8B3FBF;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: color 0.3s ease;
}


.join-insiders:hover {
    color: #6A1B9A;
    text-decoration: underline;
}


.nav-brick {
    background: #FDB915;
    position: relative;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}


.brick-studs-nav {
    display: flex;
    justify-content: space-around;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    padding: 0 40px;
    z-index: 1;
}

.nav-stud {
    width: 60px;
    height: 20px;
    background: #FDB915;
    border-left: 2px solid #E5A714;
    border-right: 2px solid #E5A714;
}


.nav-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 40px;
    position: relative;
    z-index: 2;
}


.logo {
    flex-shrink: 0;
}

.logo img {
    height: 80px;
    width: auto;
}

/* Search Bar */
.search-bar {
    flex: 0 0 300px;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #E5A714;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #2B2B2B;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: right;
}

.nav-links a {
    color: #2B2B2B;
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.user-icons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.icon-link {
    color: #2B2B2B;
    transition: color 0.3s ease;
}

.icon-link:hover {
    color: white;
}

.icon-link svg {
    display: block;
    width: 40px;
    height: 40px;
}

.header-top {
    padding: 20px 40px 30px 40px; 
}

.nav-brick {
    padding: 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px 40px 40px;
    background: #f5f5f5;
    flex-direction: row-reverse;
}

#header {
    width: 100%;
    background: #f5f5f5;
    position: relative;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}


#header.scroll-down {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-100%); /* Slide up and hide */
}


#header.scroll-up {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(0); /* Slide down and show */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12rem;
  text-align: center;
  padding: 4rem;
  padding-bottom: 8rem;
}

.hero-area h2 {
  padding-bottom: 4rem;
}

.hero-background {
  width: 1000px;
  height: 1000px;;

  position: absolute;
  margin-top: -120px;
  margin-left: 90px;
  z-index: -1;
}





h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  text-align: center;
  margin-top: -6rem;
  margin-bottom: 4rem;
}


.holiday-decorations {
  position: absolute
}

.lego-candycane-one {
  width: 150px;
  position: absolute;
  top: -190px;
  left: 20px;
}

.lego-candycane-two {
  position: absolute;
  top: 180px;
  left: 1500px;
  rotate: 45deg;
}


.lego-candycane-three {
  position: absolute;
  width: 150px;
  top: 1180px;
  left: 300px;
  rotate: -45deg;
}

.lego-candycane-four {
  position: absolute;
  width: 150px;
  top: 900px;
  left: 1600px;
  rotate: -85deg;
}

.lego-candycane-five {
  position: absolute;
  top: 800px;
  left: 100px;
  rotate: -5deg;
}


.holiday-decorations-two {
  position: absolute;
}

.lego-christmas-present-one {
  width: 150px;
  position: absolute;
  top: 400px;
  left: -50px;
}

.lego-christmas-present-two {
  width: 100px;
  position: absolute;
  top: 1100px;
  left: 1550px;
  rotate: -90deg;
}

.lego-christmas-present-three {
  width: 150px;
  position: absolute;
  top: 50px;
  left: 1400px;
  rotate: 40deg;
}

.lego-christmas-present-four {
  width: 150px;
  position: absolute;
  top: 1050px;
  left: 100px;
  rotate: -40deg;
}

.lego-christmas-present-five {
  width: 100px;
  position: absolute;
  top: 150px;
  left: 250px;
  rotate: -80deg;
}

#holiday h2 {
  font-size: 5rem;
  padding-bottom: 2rem;
}

#holiday-header{
  text-align: center;
  padding: 2rem;
  margin-top: 0; 
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 20px;
  margin: 0 auto;
  max-width: 1400px;
  align-items: start; 
}

.card {
  width: 288px;
  height: 300px; 
  cursor: pointer;
  position: relative;
  border-radius: 10px;
  border: 4px solid var(--color-white);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: all 0.90s cubic-bezier(0.4, 0, 0.2, 1);
}

#botanicals .card  {
border: 4px solid #22C55E;
}


#botanicals .card:hover  {
border: none;
box-shadow: 0 0 40px #22C55E;
}


.card .product-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card .new-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-gold-bright);
  color: var(--color-dark);
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card h3:not(.new-label h3) {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.25rem 0; /* Reduced bottom margin */
}

.card h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0.25rem 0; /* Reduced margin around price */
  padding: 0;
}

.add-to-bag {
  background-color: var(--color-gold-bright);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  width: fit-content;
  margin: 0.5rem auto 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0; /* Hidden by default */
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
}

.card:hover .add-to-bag {
  opacity: 1;
  transform: translateY(0);
  background-color: var(--color-gold-bright);
  filter: drop-shadow(0 0 5px var(--color-gold-bright));
}

.card:hover .add-to-bag {
  opacity: 1;
  transform: translateY(0);
}

.card .product-specs,
.card h3:not(.new-label h3),
.card h5,
.card h4 {
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-specs {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 1rem;
}

.product-specs p {
  font-size: 0.9rem;
  color: var(--color-dark);
  margin: 0;
  padding: 4px 8px;
  font-weight: 600;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-specs p:nth-child(1)::before {
  content: "👤";
  font-size: 0.85rem;
}

.product-specs p:nth-child(2)::before {
  content: "🧱";
  font-size: 0.85rem;
}

.product-specs p:nth-child(3)::before {
  content: "⭐";
  font-size: 0.85rem;
}

.card:hover .product-specs {
  opacity: 1;
  transform: translateY(0);
}

.card h5 {
  padding-bottom: 3px;
  font-size: 1em;
  margin-bottom: none;
}

.card:hover {
  height: 400px;
  transform: translateY(-15px);
  background: var(--color-white);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.card:hover .product-image {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  height: 200px;
  padding-top: 2rem;
}

.card:hover .new-label {
  opacity: 1;
  transform: translateY(0);
}

.card:hover .product-specs,
.card:hover h3:not(.new-label h3),
.card:hover h5,
.card:hover h4 {
  opacity: 1;
  transform: translateY(0);
  width: fit-content;
}

.card:hover h4 {
  background: var(--color-gold-dark);
  width: fit-content;
}

.card .gift-wrap {
  position: absolute;
  top: -170px;
  left: 140px;
  transform: translateX(-50%);
  width: 300%;
  height: 300%;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card .horizontal-ribbon {
  position: absolute;
  top: 150px;
  left: -20px;
  width: 328px;
  height: 30px;
  background-color: #E3000B;
  z-index: 1;
}
.card .vertical-ribbon {
  position: absolute;
  top: -20px;
  left: 124px;
  width: 30px;
  height: 442px;
  background-color: #E3000B;
  z-index: 1;
}

.card h3,
.card p,
.card .product-specs,
.card .new-badge,
.card button,
.card-content,
.card img {
  position: relative;
  z-index: 10; 
}

.card:hover .gift-wrap {
  opacity: 1;
}

table {
  border-collapse: collapse;
  width: 100%;
}

caption {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-light-gray);
}

tbody tr:nth-child(even) {
  background-color: #89E5E7;
}

thead th {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 500;
  font-size: 1.5rem;
  background-color: #89E5E7;
  color: #457C7C;
  font-weight: bold;
}

td {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #457C7C;
}

th,
td {
  border-radius: 10px;
  border: 5px solid var(--color-white);
  padding: 12px;
  text-align: center;
}





nav ul  {
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  jusify-conetnt: left;
  padding: 10px 15px;
}

nav a {
  color: var(--color-black);
  text-decoration: none;
  padding: 0.5em 1em;
}

#holiday-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center; /* Centers items along the main axis (horizontally by default) */
  align-items: center; 
  gap: 3rem;
}

.holiday-button {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--color-light-gray);
  border-radius: 20px;
  border: 3px solid var(--color-light-gray);
  padding: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
  margin-bottom: 4rem;
  background-color: transparent;
}

.holiday-button:hover {
  background-color: #89E5E7;
  cursor: pointer;
}

#popular-background {
  background-color: var(--color-purple);
  padding: 3rem;
}



.section-dividers{
 width: 100%;
 height: 50%;
 display: block;
 position: absolute
 background-color: none;
 margin-bottom: -10px;
 margin-top: -90px;
}

.trending-products-divider {
  position: absolute;
  display: block;
  margin-top: 0%;
  margin-bottom: -10px;
  background-color: none;
}

#trending-products .section-dividers {
 margin-top: -200px;
}

#holiday h2 {
  color: var(--color-light-gray);
  margin-top: 0;
  padding-bottom: 0%;
}


#holiday {
  margin-bottom: 4rem;
}

#holiday-background {
background: var(--color-teal);
padding-bottom: 250px;
}


#new-products {
  background-color: var(--color-light-gray);
}

table {
  border-collapse: collapse;
  width: 65%;
  margin: 0 auto;
  padding: 2rem;
  margin-top: 48px;
}

.product-image {
  width: 100%;
  height: auto;
  max-height: 180px; /* Adjust to your preference */
  object-fit: contain; /* Keeps entire image visible */
  display: block;
}

.card h4 {
  background-color: var(--color-gold);
  border-radius: 10px;
  padding: 0.75rem 2rem;
  width: fit-content; 
  margin:  auto 0; 
  cursor: pointer;
}

.new-label {
  background-color: var(--color-gold);
  color: var(--color-light-gray);
  border-radius: 7px;
  padding-left: 1rem;
  padding-right: 1rem;
  width: fit-content; 
  margin:  auto 0; 
  cursor: pointer;
}

.gift-wrap {
  position: absolute;
  top: -78px;  
  left: 78px; 
  display: block;
  z-index: 10;
}

.lego-insiders-image{
  display: block;
  width: 400px;
  height: 500px;
  margin: 20px;
  border-radius: 10px;
}

.lego-insiders-second-image {
   grid-column: 2;
  grid-row: 1 / 3; 
  display: block;
  width: 400px;
  height: 500px;
  border-radius: 10px;
  margin-top: 150px;
  margin-left: -50px;
}

#lego-insiders {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#popular-section-divider{
  margin-bottom: 10px;
}

.lego-insiders-card { 
  grid-column: 3/4;
  grid-row: 1 / 3; 
  align-self: start;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  margin: auto;
  margin-left: -10%;
  border: 4px solid #009BD7;
  border-radius: 12px;
  background-color: var(--color-white);
}
.lego-insiders-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers all children horizontally */
    justify-content: flex-start;
    text-align: center;
    padding: 40px 20px;
}


.lego-insiders-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    width: 100%; 
}

.lego-insiders-logo img {
    max-width: 400px;
    height: auto;
    display: block;
}


.insiders-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}



.btn-create {
   display: flex;
    background-color: #009BD7;
    color: #FFFFFF;
    padding: 12px 30px;
    border: 3px solid #009BD7;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
}

.btn-create:hover {
  filter: drop-shadow(0 0 2px #009BD7);
  cursor: pointer;
}


.btn-learn {
  background-color: var(--color-white);
  color: #009BD7;
  border: 2px solid #009BD7;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
}

.btn-learn:hover {
  background-color : #009BD7;
  color: var(--color-light-gray);
  cursor: pointer;
}


.insiders-login {
    background-color: transparent;
    font-family: var(--font-body);
    text-align: center;
    margin-top: 20px;
    border: none;
}

.insiders-login:hover {
    text-decoration: underline;
    cursor: pointer;
}


#trending-products {
  padding-bottom: 7rem;
}

#trending-products h2 {
  font-size: 3rem;;
  grid-column: 1 / 3;
  grid-row: 1/3;
}

#trending-products .section-dividers{
  margin-top: -12%;
  background-color: none;
}



.image-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 250px);
  gap: 20px;
  margin: 0 auto;
  padding: 60px 40px;
}

.grid-item-wrapper {
     position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    border: 4px solid transparent; 
    transition: border 0.3s ease;
}

.grid-item-wrapper:hover {
    border: 4px solid #22C55E; 
}

/* Images */
.grid-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.grid-item-wrapper:hover .grid-item {
    transform: scale(1.05);
}

/* Product Label - NEW */
.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #22C55E;
    color: var(--color-light-gray);
    padding: 15px 25px;
    font-size: 18px;
    font-weight: 400;
    font-family: var(--font-heading);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 10;
}

.grid-item:hov .grid-item {
    border: 4px solid var(--color-gold);
}

.grid-item-wrapper:hover .product-label {
    opacity: 1;
    transform: translateY(0);
}


.grid-item:nth-child(1) {
  grid-column: 1/3;
  grid-row: 1/2;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-dark);
}

/* Button */
.grid-item:nth-child(2) {
  grid-column: 1/3;
  grid-row: 1/1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: #22C55E;
  border-radius: 20px;
  border: 3px solid #22C55E;
  padding: .5rem;
  cursor: pointer;
  background-color: transparent;
}

.grid-item:nth-child(2):hover {
  background-color: #22C55E;
  color: var(--color-dark-gray);
}

/* Image Wrappers Positioning */
.grid-item-wrapper:nth-child(3) {
  grid-column: 1/3;
  grid-row: 2/4;
}

.grid-item-wrapper:nth-child(4) {
  grid-column: 1 / 4;
  grid-row: 4;
}

.grid-item-wrapper:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 1/4;
}

.grid-item-wrapper:nth-child(6) {
  grid-column: 4/ 6;
  grid-row: 3/5;
}

.grid-item-wrapper:nth-child(7) {
  grid-column: 4 / 6;
  grid-row: 1/3;
}
#botanicals h2 {
  color: var(--color-light-gray)
}

#botanicals h2 {
  font-size: 4rem;
  margin-bottom: 120px;
  text-align: left;
  margin-left: 140px;
}

/* #botanicals h2:hover {
  cursor: pointer;
  filter: brightness(1.2) drop-shadow(0 0 20px #22C55E);
} */

.botanicals-info {
 text-align: center;
  align-items: center;
  color: var(--color-light-gray);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  width: 50%;
  margin: 0 auto;
  margin-top: 5rem;
}




.botanicals-view-all {
  display: block;
  margin: 0 auto;
  margin-top: 4rem;
  background-color: var(--color-green);
  color: var(--color-light-gray);
  border: 4px solid var(--color-light-gray);
  padding: 24px 100px 24px 100px;
  border-radius: 15px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}
#botanicals button:hover {
  box-shadow: 0 0 10px #22C55E;
}


.botanicals-background {
  background-color: var(--color-dark-gray);
  padding-bottom: 15rem;
}


#video-header {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-light-gray);
  margin-top: 4rem;
}

#popular h2 {
  font-size: 5rem;
  color: var(--color-light-gray);
  margin-top: 0;
  padding-top: 4rem;
  text-align: left;
  margin-left: 8%;
}

iframe {
  display: block;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 2rem;
}




#botanicals {
  position: relative; 
  min-height: 600px;
  overflow: visible;
}

.botanicals-background {
  position: relative;
}

.mini-orchid-image {
  position: absolute;
  bottom: 5%;
  left: -130px;
  width: 680px;
  height: 800px;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  z-index: 7; /* Behind content */
  animation: magicGlow 30s ease-in-out infinite;
  transform: rotate(45deg) scale(1.2);
}


@keyframes magicGlow {
  0%, 100% {
    transform: rotate(35deg) scale(1.2); 
    filter: brightness(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
    opacity: 0.6;
  }
  50% {
    transform: rotate(50deg) scale(1.2); 
    filter: brightness(1.2) drop-shadow(0 0 20px #22C55E);
    opacity: 1;
  }
}

.pink-roses-image {
  position: absolute; 
  bottom: -70px;
  Left: 65%;
  width: 700px;
  height: 700px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 7; 
 
}

.pink-roses-image:hover {
  filter: brightness(1.2) drop-shadow(0 0 20px #22C55E);
}

.petite-sunny-bouquet-image {
  position: absolute; 
  bottom: 5%;
  left: 80%;
  width: 500px;
  height: 700px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 7; 
  animation: gentleFloat 18s ease-in-out infinite;
  transform: rotate(-70deg) scale(1.2);
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-70deg) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-50px) rotate(-80deg) scale(1.2);
    filter: brightness(1.2) drop-shadow(0 0 20px #22C55E);
    opacity: 1;
  }
}

.tiny-plants-image {
  position: absolute; 
  bottom: 10%;
  left: 5;
  width: 400px;
  height: 700px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 7; 
}

.wildflower-image {
  position: absolute; 
  bottom: 60%;
  left: 70%;
  width: 700px;
  height: 700px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 7;
  transform: rotate(-70deg);
}

.different-font {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 8rem;
  color: #22C55E;
}
.different-font:hover {
  cursor: pointer;
  filter: brightness(1.2) drop-shadow(0 0 20px #22C55E);
}


body {
  overflow-x: hidden; /* Prevents horizontal scrollbar */
}

/* Insiders Section */
#insiders-two {
  position: relative;

  overflow: visible;
}

/* Section Divider */
#insiders-two .section-dividers {
  position: relative;
  width: 100%;
  z-index: 10;
  margin-top: -12%;
  overflow: visible !important;
}


#insiders-two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  overflow: visible !important;
}


.lego-insider-promotion {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto;
}


#lego-insider-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  background-size: 500px; 
  background-position: center;
  background-repeat: no-repeat;
  z-index: 12;
  padding: 40px;
  background-color:#8B3FBF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


#lego-insider-form h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  padding: 20px;
  background-color: #8B3FBF;
  border-radius: 8px;
  color: var(--color-light-gray);
  line-height: 1.3;
  width: 12em;
  margin-left: 8%;
}


label {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 600;
  color: var(--color-light-gray);
}


input[type="text"],
input[type="email"],
input[type="date"],
input[type="birthday"],
select,
textarea {
  width: 97%;
  padding: 0.75rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="birthday"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}


button[type="submit"] {
  background-color: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  max-width: 250px;
  margin: 2rem auto 0;
  margin-left: 100px;
  display: block;
}

button[type="submit"]:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* LEGO Brick Flat */
.lego-brick-flat {
  display: inline-block;
  position: relative;
}


#learn-more {
    padding: 80px 40px;
    text-align: center;
    position: relative;
}

#learn-more h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 60px;
    font-family: var(--font-heading);
}


.learn-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    gap: 40px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}


.learn-card {
    border: 4px solid #2B2B2B;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.learn-card h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2B2B2B;
    margin: 0 0 20px 0;
    transition: color 0.4s ease;
}


.learn-card p {
  font-family: var(--font-body);
    font-size: 18px;
    color: #2B2B2B;
    line-height: 1.6;
    margin-bottom: 30px;
    transition: color 0.4s ease;
}

.learn-card img {
    width: 400px;
    max-width: 800px;
    height: auto;
    margin-top: auto;
    transition: transform 0.4s ease;
    margin-bottom: -20%;
}




.learn-card:nth-child(1):hover {
    background: #6FCDCC;
    border-color: #6FCDCC;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.learn-card:nth-child(1):hover h2,
.learn-card:nth-child(1):hover p {
    color: white;
}

.learn-card:nth-child(1):hover img {
    transform: scale(1.05);
}


.learn-card:nth-child(2):hover {
    background: #6FCDCC;
    border-color: #6FCDCC;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.learn-card:nth-child(2):hover h2,
.learn-card:nth-child(2):hover p {
    color: white;
}

.learn-card:nth-child(2):hover img {
    transform: scale(1.05);
}


.learn-card:nth-child(3):hover {
    background: #6FCDCC;
    border-color: #6FCDCC;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.learn-card:nth-child(3):hover h2,
.learn-card:nth-child(3):hover p {
    color: white;
}

.learn-card:nth-child(3):hover img {
    transform: scale(1.05);
}



footer {
  background-color: var(--color-gold-bright);
  color: var(--color-light-gray);
  text-align: center;
  padding: 2rem;
  font-family: var(--font-body);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    margin: 8rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lego-logo {
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.country-selector {
    background: #2B2B2B;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: "Fredoka", sans-serif;
    font-size: 16px;
}

.gift-card-promo {
    background: white;
    padding: 80px 250px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



#Themes .section-dividers {
 margin-top: -120px;
}

#Themes h2 {
    text-align: center;
    color: var(--color-dark-gray)
    font-size: 48px;
    margin-bottom: 30px;
}

/* Brick sections grid */
.footer-bricks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-template-rows: 1fr 1fr;
    gap: 60px;
    margin-bottom: 48em;
    margin: 8rem;
}


.footer-brick {
    position: relative;
    background: white;
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 120px;
    min-width: 200px;
}


/* Red brick variant */
.footer-brick.red {
    background: #D32F2F;
}

.footer-brick.red h4 {
    color: white;
}

.brick-studs {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-evenly;
}

.brick-stud {
    width: 70px;
    height: 30px;
    background: inherit;
}

.footer-brick.red .brick-stud {
    background: #D32F2F;
}


.brick-stud {
    background: white;
}

.footer-brick h4 {
    font-size: 2em;
    color: #FDB915;
    font-weight: 700;
}

.footer-brick:hover {
    transform: translateY(-5px);
}

.gift-card-promo h3 {
    color: #FDB915;
    font-size:5rem;
    margin-bottom: 10px;
}

.gift-card-btn {
    background: white;
    color: #D32F2F;
    border: 3px solid #D32F2F;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 2em;
    cursor: pointer;
    font-family: "Fredoka", sans-serif;
    transition: all 0.3s ease;
}

.gift-card-icon {
    width: 200px;
    height: auto;
    margin-top: 20px;
}

/* Theme Shopping */
#Themes {
    position: relative;
}

#Themes h2 {
    text-align: center;
    color: var(--color-gold-bright);
    font-size: 8em;
    margin-bottom: 30px;
}

.theme-button {
    background-color: #DC2626;
    border: none;
    border-radius: 12px;
    color: var(--color-light-gray);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2rem;
    padding: 12px 30px;
    cursor: pointer;
}

.theme-button:hover {
    background-color: #B91C1C;
}

.button-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

/* Brick sections grid */
.theme-bricks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    padding: 80px;
    margin-top: 60px;
}

/* WRAPPER - Allows studs to overflow */
.theme-brick-wrapper {
    position: relative;
    overflow: visible; /* Critical! Allows studs to show */
    margin-top: 30px; /* Space for studs */
}

/* STUDS - Positioned above brick */
.brick-studs-icons,
.brick-studs-ideas,
.brick-studs-star-wars,
.brick-studs-harry-potter,
.brick-studs-technic,
.brick-studs-disney,
.brick-studs-gaming,
.brick-studs-city,
.brick-studs-ninjago,
.brick-studs-super-hero,
.brick-studs-friends,
.brick-studs-duplo {
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    z-index: 2;
}

.brick-stud-themes {
    width: 90px;
    height: 25px;
    border-left: 2px solid rgba(0, 0, 0, 0.15);
    border-right: 2px solid rgba(0, 0, 0, 0.15);
}

/* Individual stud colors */
.brick-studs-icons .brick-stud-themes {
    background: #1F2937;
}

.brick-studs-ideas .brick-stud-themes {
    background: #8B3FBF;
}

.brick-studs-star-wars .brick-stud-themes {
    background: #1E3A8A;
}

.brick-studs-harry-potter .brick-stud-themes {
    background: #991B1B;
}

.brick-studs-technic .brick-stud-themes {
    background: #FF6700;
}

.brick-studs-disney .brick-stud-themes {
    background: #3B82F6;
}

.brick-studs-gaming .brick-stud-themes {
    background: #10B981;
}

.brick-studs-city .brick-stud-themes {
    background: #FBBF24;
}

.brick-studs-ninjago .brick-stud-themes {
    background: #DC2626;
}

.brick-studs-super-hero .brick-stud-themes {
    background: #2563EB;
}

.brick-studs-friends .brick-stud-themes {
    background: #EC4899;
}

.brick-studs-duplo .brick-stud-themes {
    background: #22C55E;
}

/* BRICK CONTAINERS - Clip images with overflow hidden */
.theme-brick-icons,
.theme-brick-ideas,
.theme-brick-star-wars,
.theme-brick-harry-potter,
.theme-brick-technic,
.theme-brick-disney,
.theme-brick-gaming,
.theme-brick-city,
.theme-brick-ninjago,
.theme-brick-super-hero,
.theme-brick-friends,
.theme-brick-duplo {
    position: relative;
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 210px;
    max-height: 210px;
    min-width: 200px;
    overflow: hidden; /* Critical! Clips absolutely positioned images */
}

.theme-brick-wrapper:hover .theme-brick-icons,
.theme-brick-wrapper:hover .theme-brick-ideas,
.theme-brick-wrapper:hover .theme-brick-star-wars,
.theme-brick-wrapper:hover .theme-brick-harry-potter,
.theme-brick-wrapper:hover .theme-brick-technic,
.theme-brick-wrapper:hover .theme-brick-disney,
.theme-brick-wrapper:hover .theme-brick-gaming,
.theme-brick-wrapper:hover .theme-brick-city,
.theme-brick-wrapper:hover .theme-brick-ninjago,
.theme-brick-wrapper:hover .theme-brick-super-hero,
.theme-brick-wrapper:hover .theme-brick-friends,
.theme-brick-wrapper:hover .theme-brick-duplo {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Brick background colors */
.theme-brick-icons {
    background: #1F2937;
}

.theme-brick-ideas {
    background: #8B3FBF;
}

.theme-brick-star-wars {
    background: #1E3A8A;
}

.theme-brick-harry-potter {
    background: #991B1B;
}

.theme-brick-technic {
    background: #FF6700;
}

.theme-brick-disney {
    background: #3B82F6;
}

.theme-brick-gaming {
    background: #10B981;
}

.theme-brick-city {
    background: #FBBF24;
}

.theme-brick-ninjago {
    background: #DC2626;
}

.theme-brick-super-hero {
    background: #2563EB;
}

.theme-brick-friends {
    background: #EC4899;
}

.theme-brick-duplo {
    background: #22C55E;
}

/* Headings */
.theme-brick-icons h4,
.theme-brick-ideas h4,
.theme-brick-star-wars h4,
.theme-brick-harry-potter h4,
.theme-brick-technic h4,
.theme-brick-disney h4,
.theme-brick-gaming h4,
.theme-brick-city h4,
.theme-brick-ninjago h4,
.theme-brick-super-hero h4,
.theme-brick-friends h4,
.theme-brick-duplo h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 70px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}




.icons-theme-turdor-corner,
.icons-theme-krusty-burger,
.icons-theme-fish-tank {
    width: 150px;
    height: auto;
    position: absolute;
}

.icons-theme-turdor-corner {
    left: -80px;
    width: 350px;
    top: -10px;
}

.icons-theme-krusty-burger {
    left: 180px;
    width: 350px;
    top: 0px;
}

.icons-theme-fish-tank {
    left: 480px;
    width: 350px;
    top: 60px;
}

/* Ideas brick images */
.ideas-theme-starry-night-painting,
.ideas-theme-luxo-disney,
.ideas-theme-vendy-machine {
    width: 150px;
    height: auto;
    position: absolute;
}

.ideas-theme-starry-night-painting {
    left: -40px;
    width: 350px;
    top: 20px;
}

.ideas-theme-luxo-disney {
    left: 380px;
    width: 250px;
    top: 0px;
}

.ideas-theme-vendy-machine {
    left: 480px;
    width: 280px;
    top: 10px;
}

/* Star Wars brick images */
.star-wars-sign,
.star-wars-death-star,
.star-wars-ewok {
    width: 150px;
    height: auto;
    position: absolute;
}

.star-wars-sign {
    left: -20px;
    width: 350px;
    top: 80px;
}

.star-wars-death-star {
    left: 340px;
    width: 380px;
    top: 50px;
}

.star-wars-ewok {
    left: 480px;
    width: 280px;
    top: 40px;
}

/* Harry Potter brick images */
.harry-potter-theme-book-nook,
.harry-potter-theme-hogwarts-castle,
.harry-potter-theme-the-burrow {
    width: 150px;
    height: auto;
    position: absolute;
}

.harry-potter-theme-book-nook {
    left: -70px;
    width: 350px;
    top: 100px;
}

.harry-potter-theme-hogwarts-castle {
    left: 220px;
    width: 380px;
    top: 10px;
}

.harry-potter-theme-the-burrow {
    left: 480px;
    width: 280px;
    top: -10px;
}

/* Technic brick images */
.technic-theme-2-fast-2-furious-nissan-skyline-gt-r-car,
.technic-theme-bush-plane,
.technic-theme-ford-bronco-suv {
    width: 150px;
    height: auto;
    position: absolute;
}

.technic-theme-2-fast-2-furious-nissan-skyline-gt-r-car {
    left: -80px;
    width: 350px;
    top: 80px;
}

.technic-theme-bush-plane {
    left: 140px;
    width: 380px;
    top: 50px;
}

.technic-theme-ford-bronco-suv {
    left: 480px;
    width: 380px;
    top: 40px;
}

/* Disney brick images */
.disney-theme-beauty-and-the-beast-castle,
.disney-theme-wall-e-and-eve,
.disney-theme-young-simba-the-lion-king {
    width: 150px;
    height: auto;
    position: absolute;
}

.disney-theme-beauty-and-the-beast-castle {
    left: -20px;
    width: 250px;
    top: -30px;
}

.disney-theme-wall-e-and-eve {
    left: 170px;
    width: 380px;
    top: 50px;
}

.disney-theme-young-simba-the-lion-king {
    left: 480px;
    width: 280px;
    top: 20px;
}

/* Gaming brick images */
.gaming-theme-game-boy,
.gaming-theme-mario-kart-mario-and-standard-kart,
.gaming-theme-battle-bus {
    width: 150px;
    height: auto;
    position: absolute;
}

.gaming-theme-game-boy {
    left: -70px;
    width: 350px;
    top: 30px;
}

.gaming-theme-mario-kart-mario-and-standard-kart {
    left: 200px;
    width: 380px;
    top: 50px;
}

.gaming-theme-battle-bus {
    left: 480px;
    width: 280px;
    top: -40px;
}

/* City brick images */
.city-theme-donut-truck,
.city-theme-holiday-advanture-camper-van,
.city-theme-police-boat-chase {
    width: 150px;
    height: auto;
    position: absolute;
}

.city-theme-donut-truck {
    left: -120px;
    width: 350px;
    top: 40px;
}

.city-theme-holiday-advanture-camper-van {
    left: 440px;
    width: 380px;
    top: 50px;
}

.city-theme-police-boat-chase {
    left: 180px;
    width: 280px;
    top: 120px;
}

/* Ninjago brick images */
.ninjago-theme-city-workshops,
.ninjago-theme-thunderfang-dragon-of-chaos,
.ninjago-theme-the-guardian-dragon {
    width: 150px;
    height: auto;
    position: absolute;
}

.ninjago-theme-city-workshops {
    left: -20px;
    width: 280px;
    top: 40px;
}

.ninjago-theme-thunderfang-dragon-of-chaos {
    left: 140px;
    width: 380px;
    top: 10px;
}

.ninjago-theme-the-guardian-dragon {
    left: 480px;
    width: 280px;
    top: 40px;
}

/* Super Hero brick images */
.super-hero-theme-advengers-tower,
.super-hero-theme-arkham-asylum,
.super-hero-theme-spider-man-vs-doc-ock-subway-train-scene {
    width: 150px;
    height: auto;
    position: absolute;
}

.super-hero-theme-advengers-tower {
    left: -40px;
    width: 250px;
    top: -20px;
}

.super-hero-theme-arkham-asylum {
    left: 170px;
    width: 380px;
    top: 30px;
}

.super-hero-theme-spider-man-vs-doc-ock-subway-train-scene {
    left: 500px;
    width: 250px;
    top: 120px;
}

/* Friends brick images */
.friends-theme-friendship-tree-house-hangout,
.friends-theme-pet-accessories-shop,
.friends-theme-friendship-camper-van-adventure {
    width: 150px;
    height: auto;
    position: absolute;
}

.friends-theme-friendship-tree-house-hangout {
    left: -90px;
    width: 350px;
    top: 40px;
}

.friends-theme-pet-accessories-shop {
    left: 140px;
    width: 380px;
    top: 50px;
}

.friends-theme-friendship-camper-van-adventure {
    left: 480px;
    width: 380px;
    top: 70px;
}

/* Duplo brick images */
.duplo-theme-ice-cream-trip-with-bluey,
.duplo-theme-number-train--learn-to-count,
.duplo-theme-mcqueen-s-visit-to-doc-s-garage {
    width: 150px;
    height: auto;
    position: absolute;
}

.duplo-theme-ice-cream-trip-with-bluey {
    left: -40px;
    width: 350px;
    top: 40px;
}

.duplo-theme-number-train--learn-to-count {
    left: 300px;
    width: 380px;
    top: 80px;
}

.duplo-theme-mcqueen-s-visit-to-doc-s-garage {
    left: 480px;
    width: 280px;
    top: 40px;
}

[class^="theme-brick-"] img {
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Smooth fade */
}


/* Studs move with brick on hover */
.theme-brick-wrapper:hover .brick-studs-icons,
.theme-brick-wrapper:hover .brick-studs-ideas,
.theme-brick-wrapper:hover .brick-studs-star-wars,
.theme-brick-wrapper:hover .brick-studs-harry-potter,
.theme-brick-wrapper:hover .brick-studs-technic,
.theme-brick-wrapper:hover .brick-studs-disney,
.theme-brick-wrapper:hover .brick-studs-gaming,
.theme-brick-wrapper:hover .brick-studs-city,
.theme-brick-wrapper:hover .brick-studs-ninjago,
.theme-brick-wrapper:hover .brick-studs-super-hero,
.theme-brick-wrapper:hover .brick-studs-friends,
.theme-brick-wrapper:hover .brick-studs-duplo {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.theme-brick-icons:hover img,
.theme-brick-ideas:hover img,
.theme-brick-star-wars:hover img,
.theme-brick-harry-potter:hover img,
.theme-brick-technic:hover img,
.theme-brick-disney:hover img,
.theme-brick-gaming:hover img,
.theme-brick-city:hover img,
.theme-brick-ninjago:hover img,
.theme-brick-super-hero:hover img,
.theme-brick-friends:hover img,
.theme-brick-duplo:hover img {
    opacity: 1; /* Visible on hover */
}


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

/* Large Desktops (1400px+) - Already handled by default styles */

/* Medium Desktops & Laptops (1025px - 1399px) */
@media (max-width: 1399px) {
  h1 {
    font-size: 10rem;
  }
  
  .hero-background {
    width: 800px;
    height: 800px;
    margin-top: -100px;
    margin-left: 50px;
  }
  
  .card-grid {
    max-width: 1200px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 20px;
  }
  
  .theme-bricks {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    padding: 60px;
  }
  
  .learn-more-grid {
    grid-template-columns: repeat(3, 350px);
    gap: 30px;
  }
}

/* Tablets & Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
  /* Typography */
  h1 {
    font-size: 8rem;
    padding: 2rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  #holiday h2,
  #popular h2 {
    font-size: 4rem;
  }
  
  #botanicals h2 {
    font-size: 3rem;
    margin-left: 60px;
  }
  
  /* Navigation */
  .nav-content {
    gap: 15px;
    padding: 15px 20px;
  }
  
  .logo img {
    height: 60px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .nav-links a {
    font-size: 24px;
  }
  
  .search-bar {
    flex: 0 0 200px;
  }
  
  /* Hero Section */
  .hero-background {
    width: 600px;
    height: 600px;
    margin-top: -80px;
    margin-left: 20px;
  }
  
  /* Card Grids */
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 100%;
    padding: 0 20px;
  }
  
  .card {
    width: 100%;
    max-width: 288px;
    margin: 0 auto;
  }
  
  /* LEGO Insiders */
  #lego-insiders {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
  
  .lego-insiders-image,
  .lego-insiders-second-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 20px auto;
  }
  
  .lego-insiders-card {
    margin: 20px auto;
  }
  
  /* Image Grid */
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 200px);
    gap: 15px;
    padding: 30px 20px;
  }
  
  /* Tables */
  table {
    width: 90%;
    font-size: 0.9rem;
  }
  
  caption {
    font-size: 2rem;
  }
  
  thead th {
    font-size: 1.2rem;
  }
  
  /* Botanicals Decorative Images */
  .mini-orchid-image,
  .pink-roses-image,
  .petite-sunny-bouquet-image,
  .wildflower-image {
    width: 400px;
    height: 500px;
  }
  
  .botanicals-info {
    width: 70%;
    font-size: 1.5rem;
  }
  
  /* Theme Bricks */
  .theme-bricks {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 40px;
  }
  
  [class^="theme-brick-"] h4 {
    font-size: 50px;
  }
  
  /* Insiders Two Form */
  #insiders-two-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
  
  /* Learn More */
  .learn-more-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .learn-card {
    min-height: 400px;
  }
  
  .learn-card:nth-child(3) {
    grid-column: 1/3;
  }
  
  /* Footer */
  .footer-bricks {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .gift-card-promo {
    padding: 40px 80px;
  }
  
  .gift-card-promo h3 {
    font-size: 3rem;
  }
}

/* Mobile Landscape & Portrait Tablets (481px - 768px) */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 5rem;
    padding: 1rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-top: -3rem;
  }
  
  #holiday h2,
  #popular h2 {
    font-size: 3rem;
  }
  
  #botanicals h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-left: 0;
  }
  
  #Themes h2 {
    font-size: 3rem;
  }
  
  /* Navigation - Mobile Optimized */
  .header-top {
    flex-direction: column;
    padding: 15px 20px 20px;
    gap: 10px;
  }
  
  .nav-brick {
    padding-top: 0;
  }
  
  .brick-studs-nav {
    display: none;
  }
  
  .nav-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 20px 15px;
  }
  
  .logo {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .logo img {
    height: 50px;
  }
  
  .search-bar {
    width: 100%;
    order: 2;
  }
  
  .search-input {
    width: 100%;
  }
  
  .nav-links {
    width: 100%;
    justify-content: space-around;
    flex-wrap: nowrap;
    order: 3;
    padding: 0;
    gap: 10px;
  }
  
  .nav-links a {
    font-size: 18px;
  }
  
  .user-icons {
    order: 1;
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  /* Hero */
  .hero-background {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    position: relative;
  }
  
  /* Buttons */
  #holiday-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .holiday-button {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }
  
  .button-group {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  /* MOBILE CARDS - Always show all info, no hover needed */
  .card {
    width: 100%;
    max-width: 350px;
    height: 450px !important;
    background: var(--color-white);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }
  
  .card .product-image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 200px !important;
    padding-top: 2rem !important;
  }
  
  .card .new-label,
  .card .product-specs,
  .card h3:not(.new-label h3),
  .card h5,
  .add-to-bag {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* Hide gift wrap and ribbons on mobile */
  .card .gift-wrap,
  .card .horizontal-ribbon,
  .card .vertical-ribbon {
    display: none !important;
  }
  
  /* Card Grid */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }
  
  /* Hide ALL holiday decorations on mobile */
  .holiday-decorations,
  .holiday-decorations-two,
  .lego-candycane-one,
  .lego-candycane-two,
  .lego-candycane-three,
  .lego-candycane-four,
  .lego-candycane-five,
  .lego-christmas-present-one,
  .lego-christmas-present-two,
  .lego-christmas-present-three,
  .lego-christmas-present-four,
  .lego-christmas-present-five {
    display: none !important;
  }
  
  /* LEGO Insiders */
  #lego-insiders {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  
  .lego-insiders-image,
  .lego-insiders-second-image {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
  }
  
  .lego-insiders-card {
    grid-column: auto;
    grid-row: auto;
    margin: 20px auto;
  }
  
  /* Image Grid */
  .image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }
  
  .grid-item:nth-child(1) {
    grid-column: 1;
    grid-row: auto;
    font-size: 2rem;
  }
  
  .grid-item:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
  }
  
  .grid-item-wrapper:nth-child(3),
  .grid-item-wrapper:nth-child(4),
  .grid-item-wrapper:nth-child(5),
  .grid-item-wrapper:nth-child(6),
  .grid-item-wrapper:nth-child(7) {
    grid-column: 1;
    grid-row: auto;
  }
  
  /* Tables */
  table {
    width: 100%;
    font-size: 0.75rem;
    display: block;
    overflow-x: auto;
  }
  
  thead th {
    font-size: 0.9rem;
    padding: 8px;
  }
  
  td {
    padding: 8px;
  }
  
  caption {
    font-size: 1.5rem;
  }
  
  /* Video */
  iframe {
    width: 100%;
    height: 300px;
  }
  
  #video-header h3 {
    font-size: 1.5rem;
  }
  
  /* Botanicals */
  .botanicals-info {
    width: 90%;
    font-size: 1.2rem;
  }
  
  .mini-orchid-image,
  .pink-roses-image,
  .petite-sunny-bouquet-image,
  .tiny-plants-image,
  .wildflower-image {
    display: none;
  }
  
  /* Fix Themes Section Divider */
  #Themes {
    position: relative;
    padding-top: 0;
    margin-top: 0;
  }
  
  #Themes .section-dividers {
    margin-top: -8%;
    position: relative;
    z-index: 1;
  }
  
  #Themes h2 {
    margin-top: 20px;
    margin-bottom: 30px;
  }
  
  /* Theme Bricks */
  .theme-bricks {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
    margin-top: 0;
  }
  
  .theme-brick-wrapper {
    margin-top: 30px;
  }
  
  [class^="theme-brick-"] h4 {
    font-size: 40px;
  }
  
  [class^="theme-brick-"] {
    min-height: 180px;
    max-height: 180px;
  }
  
  /* Hide theme brick images on mobile */
  [class^="icons-theme-"],
  [class^="ideas-theme-"],
  [class^="star-wars-"],
  [class^="harry-potter-theme-"],
  [class^="technic-theme-"],
  [class^="disney-theme-"],
  [class^="gaming-theme-"],
  [class^="city-theme-"],
  [class^="ninjago-theme-"],
  [class^="super-hero-theme-"],
  [class^="friends-theme-"],
  [class^="duplo-theme-"] {
    opacity: 0;
  }
  
  /* Insiders Two - FIXED FORM */
  #insiders-two .section-dividers {
    margin-top: -10%;
  }
  
  #insiders-two-grid {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 30px;
  }
  
  .lego-insider-promotion {
    max-width: 100%;
    width: 100%;
  }
  
  #lego-insider-form {
    max-width: 100%;
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
  }
  
  #lego-insider-form h2 {
    font-size: 1.5rem;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }
  
  .form-group {
    width: 100%;
    box-sizing: border-box;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="birthday"] {
    width: 100%;
    padding: 0.75rem;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  button[type="submit"] {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Learn More */
  .learn-more-grid {
    grid-template-columns: 1fr;
  }
  
  .learn-card {
    min-height: 350px;
  }
  
  .learn-card:nth-child(3) {
    grid-column: 1;
  }
  
  .learn-card h2 {
    font-size: 36px;
  }
  
  .learn-card img {
    width: 300px;
  }
  
  /* Footer */
  .footer-top {
    margin: 2rem;
  }
  
  .footer-bricks {
    grid-template-columns: 1fr;
    margin: 2rem;
    gap: 30px;
  }
  
  .gift-card-promo {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
  
  .gift-card-promo h3 {
    font-size: 2rem;
  }
  
  .gift-card-btn {
    font-size: 1.5rem;
  }
  
  .brick-studs {
    justify-content: space-around;
  }
  
  .brick-stud {
    width: 60px;
  }
}

/* Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
  /* Typography */
  h1 {
    font-size: 3.5rem;
    padding: 0.5rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-top: -2rem;
    margin-bottom: 2rem;
  }
  
  #holiday h2,
  #popular h2 {
    font-size: 2.5rem;
  }
  
  #botanicals h2 {
    font-size: 2rem;
  }
  
  #Themes h2 {
    font-size: 2.5rem;
  }
  
  /* Navigation */
  .header-top {
    padding: 10px 15px 15px;
  }
  
  .play-zone-btn {
    font-size: 14px;
    padding: 8px 15px;
  }
  
  .join-insiders {
    font-size: 14px;
  }
  
  .nav-content {
    padding: 15px 10px;
  }
  
  .logo img {
    height: 45px;
  }
  
  .search-input {
    font-size: 14px;
    padding: 10px 15px;
  }
  
  .nav-links a {
    font-size: 16px;
  }
  
  .icon-link svg {
    width: 28px;
    height: 28px;
  }
  
  /* Hero */
  .hero-background {
    width: 300px;
    height: 300px;
  }
  
  /* Buttons */
  .holiday-button,
  .theme-button {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
  
  /* Cards - Always expanded on mobile */
  .card {
    width: 100%;
    max-width: 320px;
    height: 420px !important;
  }
  
  .card .product-image {
    height: 180px !important;
    padding-top: 1.5rem !important;
  }
  
  .product-specs p {
    font-size: 0.85rem;
    padding: 3px 6px;
  }
  
  .card h3:not(.new-label h3) {
    font-size: 1rem;
  }
  
  .card h5 {
    font-size: 0.9rem;
  }
  
  .add-to-bag {
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
  }
  
  .card-grid {
    gap: 25px;
    padding: 15px;
  }
  
  /* LEGO Insiders */
  .lego-insiders-image,
  .lego-insiders-second-image {
    width: 100%;
    max-width: 320px;
  }
  
  .lego-insiders-card {
    max-width: 100%;
    padding: 1.5rem;
  }
  
  .lego-insiders-logo img {
    max-width: 250px;
  }
  
  .insiders-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-create,
  .btn-learn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  /* Tables */
  caption {
    font-size: 1.3rem;
  }
  
  thead th {
    font-size: 0.75rem;
    padding: 6px;
  }
  
  td {
    font-size: 0.7rem;
    padding: 6px;
  }
  
  /* Video */
  iframe {
    height: 220px;
  }
  
  #video-header h3 {
    font-size: 1.3rem;
  }
  
  /* Botanicals */
  .botanicals-info {
    font-size: 1.1rem;
    width: 95%;
  }
  
  .botanicals-view-all {
    padding: 15px 40px;
    font-size: 1.2rem;
  }
  
  /* Themes */
  #Themes .section-dividers {
    margin-top: -10%;
  }
  
  [class^="theme-brick-"] h4 {
    font-size: 32px;
  }
  
  [class^="theme-brick-"] {
    min-height: 160px;
    max-height: 160px;
    padding: 25px 20px;
  }
  
  /* Insiders Form - FIXED */
  #insiders-two .section-dividers {
    margin-top: -12%;
  }
  
  #insiders-two-grid {
    padding: 30px 15px;
  }
  
  #lego-insider-form {
    padding: 25px 15px;
    width: 100%;
    box-sizing: border-box;
  }
  
  #lego-insider-form h2 {
    font-size: 1.3rem;
    padding: 15px 10px;
    width: 100%;
    box-sizing: border-box;
  }
  
  label {
    font-size: 0.9rem;
  }
  
  .form-group {
    width: 100%;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="birthday"] {
    width: 100%;
    padding: 0.6rem;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  button[type="submit"] {
    padding: 0.7rem 1.2rem;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0 0 0;
    box-sizing: border-box;
  }
  
  /* Learn More */
  #learn-more {
    padding: 40px 15px;
  }
  
  #learn-more h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .learn-card {
    padding: 30px 20px;
    min-height: 320px;
  }
  
  .learn-card h2 {
    font-size: 32px;
  }
  
  .learn-card p {
    font-size: 15px;
  }
  
  .learn-card img {
    width: 250px;
  }
  
  /* Footer */
  .footer-top,
  .footer-bricks {
    margin: 1.5rem;
  }
  
  .gift-card-promo {
    padding: 25px;
  }
  
  .gift-card-promo h3 {
    font-size: 1.8rem;
  }
  
  .gift-card-btn {
    font-size: 1.3rem;
    padding: 10px 20px;
  }
  
  .gift-card-icon {
    width: 120px;
  }
  
  .footer-brick h4 {
    font-size: 1.8rem;
  }
  
  .footer-legal p {
    font-size: 0.75rem;
  }
}

/* Extra Small Devices (max-width: 375px) */
@media (max-width: 375px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  #holiday h2,
  #popular h2,
  #Themes h2 {
    font-size: 2rem;
  }
  
  .card {
    max-width: 280px;
    height: 400px !important;
  }
  
  .card .product-image {
    height: 160px !important;
  }
  
  .learn-card img {
    width: 220px;
  }
  
  .footer-brick h4 {
    font-size: 1.5rem;
  }
  
  #lego-insider-form {
    padding: 20px 12px;
  }
  
  #lego-insider-form h2 {
    font-size: 1.2rem;
    padding: 12px 8px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="birthday"] {
    padding: 0.5rem;
    font-size: 13px;
  }
  
  button[type="submit"] {
    padding: 0.6rem 1rem;
    font-size: 13px;
  }
}










