/* =========================
   1. PAGE LOAD + GLOBAL
========================= */
body {
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

img {
  border-radius: 6px;
}

input[type="number"] {
  width: 70px !important;
}


/* =========================
   2. HEADER TEXT OVERRIDE
========================= */
.welcome_message.header1_item {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  visibility: hidden;
  position: relative;
  white-space: nowrap;
}

.welcome_message.header1_item::before {
  content: "📞 0800 887 0297   ✉️ info@revivestudios.co.uk";
  visibility: visible;
  position: absolute;
  inset: 0 0 auto 0;
}


/* =========================
   3. OVERLAY / IMAGE POPUP
========================= */
.details_overlay {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

.details_overlay_image {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}


/* =========================
   4. FLEXSLIDER NAV
========================= */
.flexslider .flex-direction-nav .flex-prev,
.flexslider .flex-direction-nav .flex-next {
  opacity: 0.8;
  color: #fff;
  text-shadow: 0 0 10px #520052;
}

.flexslider .flex-direction-nav .flex-prev {
  left: 5px;
}

.flexslider .flex-direction-nav .flex-next {
  right: 5px;
}


/* =========================
   5. BUTTONS - BASE
========================= */
.btn,
.button1,
.button2,
.button3,
.button5 {
  display: inline-block;
  color: #fff;
  border: none;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Button colors */
.button1,
.button5 {
  background-color: #520050;
}

.button2 {
  background-color: #00b67a;
}

.button3 {
  background-color: #960004;
}

/* Pill styling */
.button1,
.button2,
.button3 {
  padding: 12px 20px;
  border-radius: 40px;
}

.button5 {
  padding: 4px 15px;
  border-radius: 40px;
}

/* Hover */
.button1:hover,
.button2:hover,
.button3:hover,
.button5:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Active */
.button1:active,
.button2:active,
.button3:active,
.button5:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}


/* =========================
   6. BUTTON INNER TEXT
========================= */
.button1 .large-text,
.button3 .large-text,
.button5 .large-text {
  display: block;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.1;
}

.button1 .small-text,
.button3 .small-text,
.button5 .small-text {
  display: block;
  font-size: 0.8em;
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.1;
}

.main-text {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
}

.sub-text {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
  opacity: 0.9;
}


/* =========================
   7. FLOATING BUTTON
========================= */
.floating-button-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

.floating-button-container .button1 {
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-button-container .button1:hover {
  transform: translateY(-3px);
}


/* =========================
   8. FOOTER
========================= */
footer {
  margin-top: 0 !important;
  display: flow-root;
}

.footer_top {
  padding-top: 0 !important;
}

.footer_copyright {
  visibility: hidden;
  position: relative;
}

.footer_copyright::after {
  content: "2000-2026 Revive Studios ✉️ info@revivestudios.co.uk";
  white-space: pre;
  visibility: visible;
  position: absolute;
  left: 0;
}


/* =========================
   9. HIDE ELEMENTS
========================= */
#product_promtoions_container,
.featured_blog,
.browse_count,
.featured_blog_title,
.details_top,
.footer_copyright a,
#featured,
#recent_products,
#popular_products,
.details_info_condition,
.blog_published,
.offers_title,
.browse_sort,
.browse_subcategories_title,
.featured_title,
.new_title,
.details_info_bulk,
.details_description_title,
div#trustpilot-gtm-floating-wrapper {
  display: none !important;
}


/* =========================
   10. HEADER BACKGROUND
========================= */
.header2 {
  background: #dadada
    url("https://cdn.freewebstore.com/origin/13244/6_millions_scans_30000_customers_25_years_expertise_v2_200925_1758393075237.png")
    no-repeat;
  background-size: 280px;
  background-position: calc(50% + 300px) center;
  margin: 0 auto;
}


/* =========================
   11. DESKTOP HOVERS
========================= */
@media (min-width: 768px) {
  #categories a,
  .right_item a {
    display: inline-block;
    transform-origin: center;
    transition: transform 0.2s ease, font-weight 0.2s ease;
  }

  #categories a:hover,
  .right_item a:hover {
    transform: scale(1.1);
    font-weight: bold;
  }
}


/* =========================
   12. MOBILE
========================= */
@media (max-width: 768px) {
  .mobile-hide {
    display: none;
  }

  .header2 {
    background-image: none;
  }
}

#ctl27_panel_form .contact_notify_name,
#ctl27_panel_form .contact_notify_email,
#ctl27_panel_form .contact_notify_telephone,
#ctl27_panel_form .contact_notify_message {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 18px;
  border: 1px solid #e3ddea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(39, 22, 63, 0.05);
  color: #2d2438;
  font-size: 16px;
  line-height: 1.4;
  transition: all 0.25s ease;
  outline: none;
}

#ctl27_panel_form .contact_notify_message {
  min-height: 180px;
  resize: vertical;
}

#ctl27_panel_form .contact_notify_name:focus,
#ctl27_panel_form .contact_notify_email:focus,
#ctl27_panel_form .contact_notify_telephone:focus,
#ctl27_panel_form .contact_notify_message:focus {
  border-color: #8a4aa1;
  box-shadow: 0 0 0 4px rgba(138, 74, 161, 0.10), 0 8px 24px rgba(39, 22, 63, 0.08);
}