/*
	Theme Name: Coastal Water
	Theme URI: https://coastalwater.com
	Description: Coastal Water is a lightweight and minimalist WordPress theme, crafted specifically for water filter businesses.
	Author: HappyDevs
	Author URI: https://happydevs.net/
	Version: 1.0.0
	Stable tag: 1.0.0
	Requires at least: 6.0
	Tested up to: 6.7
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: coastal-water
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/**
 * Loading first in the style.scss & classic-editor.scss
 */
/**
* Document basic styling
* Inspired by Normalize.css, HTML5 Boilerplate & Bootstrap Reboot Projects under MIT License
 */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
 */

html {
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: #255a87;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0.5rem;
  margin-block-end: 1rem;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.3;
  color: #114488;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.75rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-block-start: 0;
  margin-block-end: 1rem;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: none;
  border-top: 1px solid #ccddee;
}

pre {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1em;
  background: #eef3f8;
  padding: 1rem;
  border-radius: 5px;
}

a {
  background-color: transparent;
  text-decoration: underline;
  color: #225785;
}
a:hover, a:active {
  color: #004466;
}
a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
}

abbr[title] {
  border-block-end: none;
  text-decoration: underline dotted;
}

b, strong {
  font-weight: 700;
}

code, kbd, samp {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95em;
  background: #eef;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

small {
  font-size: 85%;
}

sub, sup {
  font-size: 70%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub { bottom: -0.3em; }
sup { top: -0.5em; }

img {
  border-style: none;
  max-width: 100%;
  height: auto;
}

details { display: block; }
summary { display: list-item; }
figcaption {
  font-size: 14px;
  color: #666;
  font-style: italic;
  line-height: 1.4;
}

template,
[hidden] {
  display: none;
}

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  blockquote,
  pre {
    border: 1px solid #bbb;
    page-break-inside: avoid;
  }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3 { page-break-after: avoid; }
}

label {
  display: inline-block;
  line-height: 1.2;
  vertical-align: middle;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

input[type=text],
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=url],
select,
textarea {
  width: 100%;
  border: 1px solid #bbb;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  transition: border-color 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #225785;
  outline: none;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button, [type=submit], [type=button] {
  display: inline-block;
  font-weight: 500;
  color: #225785;
  text-align: center;
  white-space: nowrap;
  background-color: transparent;
  border: 2px solid #225785;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  border-radius: 5px;
  transition: all 0.3s;
}
button:hover,
[type=submit]:hover,
[type=button]:hover {
  color: #fff;
  background-color: #225785;
  text-decoration: none;
}

button:disabled,
[type=submit]:disabled,
[type=button]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

fieldset {
  padding: 0.5em 1em 0.75em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
  resize: vertical;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

select {
  display: block;
}

table {
  background-color: transparent;
  width: 100%;
  font-size: 0.95em;
  margin-block-end: 1rem;
  border-spacing: 0;
  border-collapse: collapse;
}
table th,
table td {
  padding: 12px;
  vertical-align: top;
  border: 1px solid #ccc;
}
table th {
  background: #eef3f8;
  font-weight: 600;
}
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: #f4f9fc;
}
table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: #d9efff;
}
table tbody + tbody {
  border-block-start: 2px solid #ccc;
}

@media (max-width: 767px) {
  table table {
    font-size: 0.85em;
  }
  table table th,
  table table td {
    padding: 8px;
    line-height: 1.4;
  }
}

dl, dt, dd, ol, ul, li {
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
  background: transparent;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  text-align: center;
  background: #F0F6FC;
  padding-bottom: 20px;
  border-radius: 3px;
}

.button {
  background-color: #225785 !important;
  color: #fff !important;
}

.woocommerce ul.products li.product .onsale {
  top: 6px;
  left: 0;
  right: auto;
  border-radius: 0;
  line-height: 1;
  min-width: 0;
  min-height: 0;
  padding: 7px 10px;
  background-color: #1f8ae7;
}
