
/* === Grid Homepage Custom Styles === */

#rockel-index {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  padding: 20px 2rem 2rem 2rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

#rockel-index .container {
  max-width: 960px;
  width: 100%;
}

#rockel-index .grid-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#rockel-index .grid-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

#rockel-index .half-col {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}

#rockel-index .large-box {
  flex: 1;
  background-color: #004080;
  color: #fff;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#rockel-index .slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#rockel-index .slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

#rockel-index .slideshow img.active {
  opacity: 1;
}

#rockel-index .overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

#rockel-index .overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

#rockel-index .overlay h3 {
  font-size: 1.2rem;
  font-weight: normal;
}

#rockel-index .small-box {
  background-color: #e6f2ff;
  color: #003366;
  padding: 1rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: center;
  aspect-ratio: 1 / 1;
}

#rockel-index .rect-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

#rockel-index .rect-box {
  background-color: #cce6ff;
  padding: 1.5rem;
  text-align: center;
  font-weight: bold;
  color: #002244;
}

#rockel-index .banner-section {
  width: 100%;
  margin-bottom: 2rem;
}

#rockel-index .banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* === Decker.shop Box Styling === */
#rockel-index .decker-box {
  background-color: #5c9bd6;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  position: relative;
  transition: box-shadow 0.3s ease;
}

#rockel-index .decker-box:hover {
  box-shadow: 0 0 20px rgba(92, 155, 214, 0.6);
}

#rockel-index .decker-content {
  text-align: center;
  padding: 1rem;
}

#rockel-index .decker-content img {
  max-width: 180px;
  margin: 0 auto 1rem;
  display: block;
}

#rockel-index .decker-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#rockel-index .decker-content .cta {
  font-weight: bold;
  margin-top: 1rem;
}

#rockel-index .decker-content .link {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Removable NEW badge */
#rockel-index .new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff3c00;
  color: white;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  cursor: pointer;
  z-index: 3;
}

#rockel-index #shipping-dates {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f7f9fa;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#rockel-index #shipping-dates h2,
#rockel-index #shipping-dates h3 {
  text-align: center;
  color: #004080;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  #rockel-index .grid-row {
    flex-direction: column;
  }

  #rockel-index .large-box,
  #rockel-index .small-box {
    aspect-ratio: unset;
    height: auto;
  }

  #rockel-index .half-col {
    grid-template-columns: repeat(2, 1fr);
  }

  #rockel-index .rect-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #rockel-index .half-col {
    grid-template-columns: 1fr;
  }
}


/* === Dates section === */

#compare {
  padding: 40px 0 40px 0;
  
}

#compare h3 {
  text-align: center;

  font-size: 24px;
  font-weight: 700;

  margin: 0 0 20px 0;
}

/* Move content into center without disturbing backgrounds */
.row {
  margin: 0 auto 0 auto;
  width: 960px;
}

/* Move content into center without disturbing backgrounds */
.row {
  margin: 0 auto 0 auto;
  width: 960px;
}

.button2{
  
  
  padding: 11px 0 11px 0;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  background: #1EB53A;
  
  
  
  margin-bottom: 0;
}

.button2:hover{
  background: #0072C6;
}

#shipping-dates {
  background: #ffffff;
  border: 1px solid #dce2e6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

#shipping-dates h3 {
  font-size: 1.75rem;
  color: #004080;
  margin-bottom: 0.5rem;
}

#shipping-dates h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

#shipping-dates table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

#shipping-dates table th,
#shipping-dates table td {
  padding: 12px 15px;
  border: 1px solid #dce2e6;
}

#shipping-dates table th {
  background-color: #004080;
  color: white;
  font-weight: 700;
}

#shipping-dates table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.rockel-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #004080;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#rockel-index #shipping-dates {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

#rockel-index #shipping-dates h3 {
  font-size: 24px;
  font-weight: 700;
  color: #004080;
  margin-bottom: 0.25rem;
}

#rockel-index #shipping-dates h4 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;
}

#rockel-index #shipping-dates .button2 {
  margin-top: 1rem;
}

/* Optional: tighten table cell styles */
#rockel-index #shipping-dates table {
  margin-top: 1rem;
  font-size: 16px;
  width: 100%;
}

#rockel-index #shipping-dates th,
#rockel-index #shipping-dates td {
  padding: 10px;
  border: 1px solid #709f2d;
  text-align: center;
}

#rockel-index #shipping-dates thead th.green {
  background: #1EB53A;
  
  color: white;
}

#rockel-index #shipping-dates thead th.blue {
  background:  #0072C6;
  
  color: white;
}


.rockel-button:hover {
  background-color: #0066cc;
}

@media screen and (max-width: 640px) {
  #rockel-index #shipping-dates table,
  #rockel-index #shipping-dates thead,
  #rockel-index #shipping-dates tbody,
  #rockel-index #shipping-dates th,
  #rockel-index #shipping-dates td,
  #rockel-index #shipping-dates tr {
    display: block;
    width: 100%;
  }

  #rockel-index #shipping-dates thead {
    display: none;
  }

  #rockel-index #shipping-dates tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    background: #f9f9f9;
  }

  #rockel-index #shipping-dates td {
    text-align: left;
    padding: 10px;
    border: none;
    position: relative;
    font-size: 14px;
  }

  #rockel-index #shipping-dates td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #004080;
  }
}
