/* Good Shine static theme — replaces OceanWP (minimal header, centre menu, 4-column footer)
   Values taken from the site's OceanWP customizer settings in the WordPress database. */
:root {
  --gs-blue: #00468c;      /* ocean_footer_background */
  --gs-btn: #295b8c;       /* Elementor button colour */
  --gs-btn-hover: #15426c; /* Elementor button hover */
  --gs-ink: #090a03;       /* ocean_menu_link_color_hover */
  --gs-text: #4a4a4a;
  --gs-head: #333;
  --gs-wa: #25d366;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--gs-text);
  font-family: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px; line-height: 1.8; overflow-x: hidden; overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 { font-weight: 600; margin: 0 0 20px; color: var(--gs-head); line-height: 1.4; }
p { margin: 0 0 20px; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: #333; text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--gs-ink); }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 1200px; max-width: 90%; margin: 0 auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: #000; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gs-btn); outline-offset: 2px; }

/* Form controls (OceanWP defaults) */
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], textarea, select {
  display: inline-block; min-height: 40px; width: 100%; font: inherit; font-size: 14px; line-height: 1.8;
  padding: 6px 12px; background: transparent; color: #333; border: 1px solid #ddd; border-radius: 3px;
  transition: all .3s ease; -webkit-appearance: none;
}
input:focus, textarea:focus { border-color: #bbb; outline: 0; }
textarea { min-height: 150px; line-height: 1.5; resize: vertical; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 100; background: #fff; border-bottom: 1px solid #f1f1f1; }
.header-inner { display: flex; align-items: center; gap: 30px; padding: 15px 0; }
.site-logo img { display: block; width: 286px; max-width: 100%; height: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav .menu { display: flex; flex-wrap: wrap; }
.main-nav .menu a {
  display: block; padding: 0 15px; line-height: 74px; font-size: 13px; font-weight: 600;
  letter-spacing: .6px; color: #555; position: relative;
}
.main-nav .menu a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 22px; height: 2px;
  background: var(--gs-blue); transform: scaleX(0); transition: transform .3s ease;
}
.main-nav .menu a:hover { color: var(--gs-ink); }
.main-nav .menu a:hover::after, .main-nav .menu a.current::after { transform: scaleX(1); }
.main-nav .menu a.current { color: var(--gs-blue); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #333; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { background: #f8f8f8; border-top: 1px solid #eee; }
.mobile-nav a { display: block; padding: 12px 5%; font-size: 13px; font-weight: 600; letter-spacing: .6px; color: #555; border-bottom: 1px solid #eee; }
.mobile-nav a.current { color: var(--gs-blue); }

/* ---------- Content helpers ---------- */
.site-main { display: block; }
.gs-img-custom img { object-fit: cover; }

/* Marquee ticker (replaces the obsolete <marquee> element) */
.gs-marquee { overflow: hidden; white-space: nowrap; color: #fff; padding-top: 5px; }
.gs-marquee__track { display: inline-flex; animation: gs-marquee 45s linear infinite; }
.gs-marquee__track > span { padding-right: 4em; }
.gs-marquee:hover .gs-marquee__track { animation-play-state: paused; }
@keyframes gs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Animated (rotating / typing) headline */
.gs-headline .elementor-headline-dynamic-wrapper { display: inline-block; min-width: 1ch; color: var(--dynamic-text-color, #1090dd); }
.elementor-336 .elementor-headline-dynamic-text { color: #1090dd; }
.gs-rotate .elementor-headline-dynamic-text::after {
  content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 3px; vertical-align: -0.1em;
  background: currentColor; animation: gs-caret .8s steps(1) infinite;
}
@keyframes gs-caret { 50% { opacity: 0; } }

/* Flip box: keyboard + touch support */
.elementor-flip-box:focus-within .elementor-flip-box__back,
.elementor-flip-box.is-flipped .elementor-flip-box__back { transform: none; }
.elementor-flip-box.is-flipped .elementor-flip-box__front { transform: rotateX(180deg); }

/* Form status message */
.gs-form-msg { margin-top: 12px; padding: 10px 14px; border-radius: 4px; background: #e8f5e9; color: #1b5e20; font-size: 14px; }
.elementor-field-group .elementor-field-textual.is-invalid { border-color: #d32f2f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gs-blue); color: #fff; }
.footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 30px 10px; }
.footer-col { font-size: 13px; }
.site-footer .widget-title, .site-footer h5.wp-block-heading {
  color: #fff; font-size: 13px; font-weight: 400; line-height: 1; letter-spacing: 1px; text-transform: uppercase;
  margin: 0 0 20px; padding-left: 15px; border-left: 3px solid #fff;
}
.site-footer h5.wp-block-heading { font-weight: 400; }
.footer-menu li { border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-menu a, .site-footer a { color: #fff; }
.footer-menu a { display: block; padding: 6px 0; }
.site-footer a:hover { color: #cfe3f7; }
.footer-contact { margin: 0; line-height: 1.9; }
.newsletter-text { margin-bottom: 12px; }
.newsletter-form { display: flex; }
.newsletter-form input { border-color: rgba(255,255,255,.5); color: #fff; border-radius: 3px 0 0 3px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.75); }
.newsletter-form button {
  flex: none; padding: 0 20px; border: 0; border-radius: 0 3px 3px 0; cursor: pointer;
  background: #fff; color: #0a0a0a; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; font-size: 12px;
}
.newsletter-form button:hover { background: #e9eef4; }
.newsletter-msg { margin: 10px 0 0; }
.footer-bottom { background: #1b1b1b; color: #929292; font-size: 12px; text-align: center; padding: 15px 0; line-height: 1.8; }

/* ---------- Floating buttons ---------- */
.gs-whatsapp {
  position: fixed; right: 15px; bottom: 15px; z-index: 99; display: flex; align-items: center; flex-direction: row-reverse; gap: 10px;
}
.gs-whatsapp svg { box-sizing: content-box; width: 26px; height: 26px; padding: 12px; border-radius: 50%; background: var(--gs-wa); box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: transform .3s; }
.gs-whatsapp:hover svg { transform: scale(1.08); }
.gs-whatsapp__cta { background: var(--gs-wa); color: #fff; font-size: 15px; padding: 4px 12px; border-radius: 10px; opacity: 0; transform: translateX(10px); transition: all .3s; pointer-events: none; }
.gs-whatsapp:hover .gs-whatsapp__cta, .gs-whatsapp:focus .gs-whatsapp__cta { opacity: 1; transform: none; }
.gs-whatsapp:hover { color: #fff; }
.scroll-top {
  position: fixed; left: 15px; bottom: 15px; z-index: 98; width: 40px; height: 40px; border: 0; border-radius: 3px;
  background: rgba(0,0,0,.4); color: #fff; font-size: 18px; cursor: pointer; transition: background .3s;
}
.scroll-top:hover { background: rgba(0,0,0,.7); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-logo img { width: 293px; max-height: 81px; object-fit: contain; object-position: left; }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 959px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 767px) {
  .site-logo img { width: 141px; max-height: 76px; }
  .header-inner { padding: 10px 0; }
  .footer-widgets { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .elementor-invisible { visibility: visible !important; }
}

/* The WordPress text block carried empty Bootstrap markup offset by a -93px margin; that markup was removed, so reset the offset. */
body .elementor-336 .elementor-element.elementor-element-f6f44ff > .elementor-widget-container,
body .elementor-16 .elementor-element.elementor-element-3aa4577 > .elementor-widget-container { margin-bottom: 0; }

/* Product page: the CALL NOW row was pulled up by -7% and overlapped the FMCG image; keep it below. */
body .elementor-31 .elementor-element.elementor-element-37f1387 { margin-top: 0; }
