/*
Theme Name:  Custom Theme
Theme URI: 
Author: Socail Pie
Author URI: https://socialpie.io/
Text Domain: socail-pie-theme
Description:  Custom Theme Theme is a modernized take on an ever-popular WordPress layout ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail.  Custom Theme will make your WordPress look beautiful everywhere.
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
*/

*{
    padding:0;
    margin:0;
    box-sizing:border-box;
}
:root{
    --body-bg: #131313;
    --primary-color:#7CC4F8;
    --primary-color-light: #1B1B1B;
    --color-yellow:#FFB300;
    --text-color1 : #85397C;
}
body{
  font-family: "DM Sans", sans-serif;
}
.text-primary{
    color:var(--primary-color) !important;
}
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px;
        width:90%;
        padding: 0;
}
p,li{
    font-size:17px;
}
a{
   color: var(--saatva-purple);
}
a:hover{
    color: var(--saatva-purple);
}
.site-logo a {
    display: inline-block;
}
.site-logo a img {
    width: 200px;
    height: auto;
}
.header-menu a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition:0.4s all;
    color: var(--text-color1);
    border-bottom: 1px solid;
    padding-bottom: 5px;
}
.header-menu .current_page_item a {
    color: var(--saatva-purple);
}
.header-menu ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 26px;
}
.bg-light-dark{
    background-color:var(--primary-color-light);
}
.footer-menu a{
    text-decoration:none;
    text-transform:uppercase;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color1);
}
.page-section-title h1 {
    font-size: 6.225rem;
}
.has-styled-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
}
.has-styled-title h2 span,.theme_text {color: var(--primary-color);}

.page-section-image {
    width: 300px;
    margin-left: auto;
}
.page-section-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.mobile-menu ul li a {
    text-decoration: none;
    padding: 11px 12px;
    display: block;
    background: #ffffff;
    border-radius: 5px;
}
.mobile-menu ul {
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.footer_menu li.current_page_item a {
    color: var(--text-color1);
}
.header_menu_wrap li .sub-menu > li > .sub-menu {
    right: -291px;
    top: 0;
}
.header_menu_wrap li {
    font-size: 16px;
}
ul.sub-menu {
    position: absolute;
    background: #000;
    top: 30px;
    list-style: none;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s all;
    z-index: 999;
    max-width: 400px;
    min-width: 320px;
}
.header_menu_wrap li {
    position: relative;
}
ul.sub-menu li a {
    padding: 10px 17px;
    display: block;
    transition: 0.1s all;
}
ul.sub-menu li a:hover {background-color: var(--primary-color);color: #fff;}
.header_menu_wrap ul li:hover > ul {
    visibility: visible;
    opacity: 1;
}
.mobile-menu ul li i {
    position: absolute;
    right: 4px;
    top: 4px;
    background: var(--primary-color);
    z-index: 99;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 5px;
}
.mobile-menu ul li {
    position: relative;
    margin-bottom:10px;
}
.boxes .wp-block-column {
    height: 270px;
    box-shadow: 1px 0px 8px -4px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.pros-list ul {
    list-style: none;
    padding-left: 20px;
}

.pros-list ul li {
    position: relative;
    margin-bottom: 12px;
}

.pros-list ul li:before {
    position: absolute;
    left: -26px;
    top: 5px;
    font-family: "Font Awesome 6 Free";
    content: "\f00c";
    font-weight: 900;
    color: #fff;
    background: #FFD24B;
    border-radius: 100px;
    width: 15px;
    height: 15px;
    font-size: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cons-list ul li:before {
    background: #D9D9D9;
    content: "\f00d";
}
.top-mattress .wp-element-button {
    background: unset;
    padding: 0;
    color: #222;
    text-decoration: underline;
}
.footer_logo img {
    width: 200px;
}
a.btn.custom-btn {
    background: var(--text-color1);
    color: #fff;
}

/* Color Palette */
:root {
  --saatva-purple: #83407e;
  --saatva-gold: #ffcf56;
  --brand-purple: #6a42c9;
  --brand-green: #2ecc71;
}

/* Modal Styling */
.bg-purple {
  background-color: var(--saatva-purple);
}

.text-purple {
  color: var(--saatva-purple);
}

/* The Gold Button */
.btn-gold {
  background-color: var(--saatva-gold);
  border: none;
  border-radius: 8px;
  color: #444;
  transition: transform 0.2s;
}

.btn-gold:hover {
  background-color: #f7c340;
  transform: scale(1.02);
}

/* Badge at the top */
.badge-tag {
  background-color: var(--saatva-purple);
  color: white;
  padding: 7px 25px;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 4px;
  margin-bottom: 0px !important;
}

/* Custom Close Button Position */
.custom-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
  opacity: 0.8;
}

.logo-circle img {
    width: 82px;
}
.store-links a {
    color: #222;
    text-decoration: underline !important;
}
.image-wrapper img {margin-top: -72px;}
.store-card-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Header Ribbon Styling */
.store-header-ribbon {
    background: #85397c;
    position: relative;
    height: 35px;
}

/* Creating the diagonal cuts for "OUTSTANDING" */
.status-label {
    position: relative;
    padding: 0 40px;
}

.status-label::before, .status-label::after {
    content: "";
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
}

.status-label::before { left: 10px; }
.status-label::after { right: 10px; }

/* Rank Circle */
.rank-circle {
    width: 45px;
    height: 45px;
    border: 2px solid var(--brand-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand-purple);
}

/* Claim Offer Button */
.btn-claim-offer {
    background-color: var(--brand-green);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: none;
    font-size: 1.1rem;
}

.btn-claim-offer:hover {
    background-color: #27ae60;
    color: white;
    transform: translateY(-2px);
}
a {
    color: var(--saatva-purple);
}
/* Footer offer text */
.offer-highlight {
    color: #e91e63;
    font-size: 0.95rem;
}

.store-main-logo {
    max-height: 60px;
    width: auto;
}
.card.mattress-sidebar {
    position: sticky;
    top: 20px;
}
.mobile_logo a {
    display: inline-block;
    background: #fff;
    padding: 10px;
    border-radius: 14px;
}


/* New Design css */
/* Typography and Colors */
.text-dark-blue { color: #1a2b49; }
.text-purple { color: var(--text-color1); }
.badge-featured {
    position: absolute;
    top: 25px;
    left: 25px;
    background-color: #f1c40f;
    color: var(--text-color1);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
}

.meta-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #90A1B9;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.blog-excerpt {
    line-height: 1.8;
    font-size: 1.1rem;
}

.read-article-link {
    color: var(--text-color1);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.read-article-link:hover {
    color: #1a2b49;
    border-bottom: 1px solid #1a2b49;
}

h2.text-dark-blue {
    font-size: 2rem;
    letter-spacing: -0.5px;
}

.latest-blogs h3 {
    transition: color 0.3s ease;
    line-height: 1.4;
}

.latest-blogs h3:hover {
    color: var(--text-color1);
}

.latest-blogs p {
    line-height: 1.6;
}

.latest-blogs img {
    object-fit: cover;
    aspect-ratio: 16 / 10; 
}

.border-secondary {
    border-color: #6c757d !important;
}
footer.site-footer {
    background: #FFD24B;
}
header {
    border-bottom: 1px solid #D9D9D9;
}







/* Mobile Adjustments */
@media (max-width: 768px) {
    .status-label, .visitor-count {
        display: none; /* Hide extra info on small mobile to save space */
    }
    .rank-circle {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    .btn-claim-offer {
        padding: 8px 15px;
        font-size: 0.9rem;
        width: 100%;
        margin-top: 20px;
    }
        .star-rating {
        text-align: start;
    }
    .modal-body .row {
    flex-direction: column-reverse;
  }
}

@media (min-width: 1450px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1400px;
        margin:0 auto !important;
    }
}

@media screen and (max-width: 767px) {
.top-offer-content h1 {
    font-size: 1.5rem;
    line-height: 1.4;
}
footer.site-footer p {
    /* text-align: center; */
    font-size: 13px !important;
    letter-spacing: 2px;
}
ul.sub-menu {
    position: unset;
    background: unset;
    padding: 18px 0px 10px 32px;
    visibility: unset;
    opacity: unset;
    display: none;
    transition: unset;
}
 ul.sub-menu li:not(:last-of-type) {
    margin-bottom: 10px;
 }
 .best-for-boxes img {
    width: 60px;
    margin: 0 auto;
    display: table;
    margin-bottom: 19px;
}
ul.wp-block-list {
    list-style-position: inside;
}
.sidebar-wrap > .wp-block-spacer {
    height: 0px !important;
}

.sidebar-wrap {
    margin-bottom: 2rem !important;
}
.hero-media-text img {
    width: 110px;
    margin-bottom: 12px;
}
.hero-media-text .wp-block-media-text__content {
    padding: 0px !important;
}
.hero-left-column {
    padding-bottom: 0px !important;
}
.hero-media-text .wp-block-media-text__content p {
    margin-bottom: 0px;
}
.hero-section {
    border-radius: 0px !important;
}
}