/* =============================================
   CUSTOM STYLES FOR ALLNATURALS.SHOP
   ============================================= */

/* Quantity field centering */
#edit-quantity-0-value,
.field--name-quantity .form-item__label {
    text-align: center;
    display: block;
}

/* Center navigation menubar on larger screens */
@media (min-width: 48rem) {
    #page-wrapper .region-inner.region-left .navigation__menubar {
        justify-content: center !important;
    }
}

/* Center price and variation fields in views */
.views-field-price__number,
.views-field-view-commerce-product-variation {
    text-align: center;
}

/* =============================================
   MAIN NAVIGATION MENU - TOP MENU ONLY
   ============================================= */

/* Base styles for menu buttons */
#primary-menu .nav__menu-item > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    margin: 0;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #e07a9f, #d15f8a);
    border-radius: 0;
    box-shadow: 0 3px 10px rgba(224, 122, 159, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
   
    /* Force equal height on all items */
    min-height: 56px;
    line-height: 1.25;
    box-sizing: border-box;
}

/* Hover: Soft pinkish-white background + dark text */
#primary-menu .nav__menu-item > a:hover {
    background: linear-gradient(135deg, #f8e1eb, #f5d0e0);
    color: #2c2c2c;
    box-shadow: 0 6px 18px rgba(209, 95, 138, 0.25);
    transform: none;
}

/* Active / Current page - Fixed: Nice dark pink background with white text */
#primary-menu .nav__menu-item > a.is-active {
    background: linear-gradient(135deg, #c14a7b, #b03a6d);   /* Darker pink */
    box-shadow: 0 4px 14px rgba(193, 74, 123, 0.45);
    color: #ffffff !important;                               /* White text */
    transform: none;
}

/* Remove spacing around the main menu - but gentler on mobile */
#primary-menu nav,
#primary-menu ul,
#primary-menu li.nav__menu-item {
    margin: 0 !important;
    gap: 0 !important;
}

/* Main menu container */
#primary-menu ul {
    justify-content: center;
    flex-wrap: wrap;
    background: #f8f8f8;
    padding: 6px 0;
}

/* On mobile: restore some breathing room so the menu can collapse properly */
@media (max-width: 991px) {
    #primary-menu ul {
        padding: 10px 0 !important;
    }
   
    #primary-menu .nav__menu-item > a {
        padding: 14px 20px;
    }
}

/* Subtle shine effect on hover */
#primary-menu .nav__menu-item > a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
}

#primary-menu .nav__menu-item > a:hover::before {
    left: 150%;
}

.page-wrapper ul.tabs.secondary li a:hover, .page-wrapper ul.tabs.primary li a:hover {
    color: #fff !important;
}

.block-field-blockcommerce-productcandleoverall-rating
{
    text-align: center;
}

/* Beautiful Rating Block - Overall Rating */
.block-field-blockcommerce-productcandleoverall-rating {
    width: 150px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fde8ea, #f8d7df);
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(224, 122, 159, 0.25);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

/* Subtle shine effect */
.block-field-blockcommerce-productcandleoverall-rating::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
    transition: 0.7s;
    pointer-events: none;
}

.block-field-blockcommerce-productcandleoverall-rating:hover::before {
    left: 120%;
}

/* Hover lift effect */
.block-field-blockcommerce-productcandleoverall-rating:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(224, 122, 159, 0.35);
}

/* Style the Stars */
.block-field-blockcommerce-productcandleoverall-rating .fivestar,
.block-field-blockcommerce-productcandleoverall-rating .star-rating,
.block-field-blockcommerce-productcandleoverall-rating .rateit {
    font-size: 2.1rem !important;     /* Nice big stars */
    letter-spacing: 4px;
    margin-bottom: 8px;
}

/* Rating text below stars */
.block-field-blockcommerce-productcandleoverall-rating .field__item {
    font-size: 1.05rem;
    color: #c14a7b;
    font-weight: 600;
    margin-top: 6px;
}

#block-solo-subtheme-primary-admin-actions .action-links-item
{
    margin-right: 10px;
}

/* Desktop only - 50% width for login/register/password pages */
@media (min-width: 768px) {
    .path-user-login .solo-block,
    .path-user-register .solo-block,
    .path-user-password .solo-block,
    .commerce-product-review-form{
        display: block;
        width: 50%;
        margin: 0 auto;
    }
}

.comment {
    margin-block-end: var(--solo-px24);
    display: block;
    flex-direction: unset;
}

.block-views-blockreviews-block-1 .block__title
{
    text-align: center;
}

.views-field-published-as
{
    margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .vvjs-item {
    width: 50%;
    margin: 0 auto;
  }
}

.page-wrapper a:not(.nav__menu-link, .button, .site-name-link, .site-logo, h1 a, h2 a, h3 a) 
{
    color: var(--r-lk, #677aa4);
}

.path-view-reviews .views-row,
.path-view-product-review-page .views-row
{
    border: 2px solid #576d92;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.text-format-wrapper > .element-container-wrapper {
    display: none;
}

.layout__region--content,
#block-solo-subtheme-prevnextlinks{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.block-extra-field-blockcommerce-productcandleprevnext-previous a,
.block-extra-field-blockcommerce-productcandleprevnext-next a{
  width: 8%;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    min-width: 110px;
    text-align: center;
    padding: 4px 8px;
    min-width: 150px;
    display: inline-block;
}
.block-extra-field-blockcommerce-productcandleprevnext-previous a:hover,
.block-extra-field-blockcommerce-productcandleprevnext-next a:hover{
    background-color: #efefef!important;
    border-color: #bbb!important;
}



.block-extra-field-blockcommerce-productcandleprevnext-previous{
  text-align: left;
}

.block-extra-field-blockcommerce-productcandleprevnext-next{
  text-align: right;
}


/* Disable Product Gallery zoom / magnifier */
.product-gallery .main-image,
.product-gallery img.zoom,
.product-gallery .magnifier,
.product-gallery [data-zoom],
.product-gallery .zoom-container {
  transform: scale(1) !important;
  cursor: default !important;
  pointer-events: none !important; /* stops hover zoom */
}

.product-gallery .main-image img {
  transition: none !important;
}

.product-gallery .zoom-container,
.product-gallery .magnifier,
.product-gallery img[style*="cursor: zoom-in"] {
  pointer-events: none !important;
}

.product-title,
.views-field-commerce-add-to-cart-link
{
    text-align: center;
}

/* Beautiful Shiny Add to Cart Button – Pink/Purple/Peach/Mustard Theme */
.views-field-commerce-add-to-cart-link a,
.views-field-commerce-add-to-cart-link .button,
.views-field-commerce-add-to-cart-link input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 0.9em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffffff;
  background: linear-gradient(135deg, #6B3A7E, #E05A8C, #FF9F7A); /* Deep Purple → Pink → Peach */
  border: none;
  border-radius: 25px;
  box-shadow: 0 8px 5px rgba(107, 58, 126, 0.4);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  min-width: 190px;
  white-space: nowrap;
}

/* Shiny light sweep effect */
.views-field-commerce-add-to-cart-link a::before,
.views-field-commerce-add-to-cart-link .button::before,
.views-field-commerce-add-to-cart-link input[type="submit"]::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 60%;
  height: 300%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.85),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

/* Hover magic */
.views-field-commerce-add-to-cart-link a:hover,
.views-field-commerce-add-to-cart-link .button:hover,
.views-field-commerce-add-to-cart-link input[type="submit"]:hover {
  transform: translateY(-5px) scale(1);
  box-shadow: 0 18px 35px rgba(224, 90, 140, 0.5);
  background: linear-gradient(135deg, #E05A8C, #FF9F7A, #F5C04A); /* Pink → Peach → Mustard accent */
  color: #000;
}

/* Trigger shiny sweep */
.views-field-commerce-add-to-cart-link a:hover::before,
.views-field-commerce-add-to-cart-link .button:hover::before,
.views-field-commerce-add-to-cart-link input[type="submit"]:hover::before {
  left: 180%;
}

/* Subtle idle pulse for extra life */
.views-field-commerce-add-to-cart-link a {
  animation: gentlePulse 3s infinite ease-in-out;
}

@keyframes gentlePulse {
  0%, 100% { box-shadow: 0 8px 25px rgba(107, 58, 126, 0.4); }
  50% { box-shadow: 0 10px 30px rgba(224, 90, 140, 0.45); }
}

/* Optional cart icon animation */
.views-field-commerce-add-to-cart-link a i,
.views-field-commerce-add-to-cart-link .button i {
  transition: transform 0.35s ease;
}

.views-field-commerce-add-to-cart-link a:hover i,
.views-field-commerce-add-to-cart-link .button:hover i {
  transform: scale(1.25) rotate(15deg);
}

/* Gentle image hover scale for product listings */
.view-products .views-field-field-images img {
  transition: transform 0.35s ease;
  will-change: transform;
}

/* Slight, natural enlargement on hover */
.view-products .views-field-field-images img:hover {
  transform: scale(1.08);   /* 8% bigger - nice and subtle */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);   /* Optional soft shadow for depth */
}

.field--name-overall-rating a
{
    font-size: 1.8em;
}

.view-content .pager
{
    display: none;
}

/* Make the blog image float right in teaser view - classic blog style */
.node--type-blog-post.node--view-mode-teaser .field--name-field-blog-images,
.node--type-blog.node--view-mode-teaser .field--name-field-blog-images {

  float: right;                  /* Floats the entire image field to the right */
  margin: 0 0 1.5rem 2rem;       /* Top: 0, Right: 0, Bottom: 1.5rem (space below), Left: 2rem (space on left of image) */
  max-width: 45%;                /* Prevents the image from being too wide on smaller screens */
}

.node--type-blog-post.node--view-mode-teaser .field--name-field-blog-images img,
.node--type-blog.node--view-mode-teaser .field--name-field-blog-images img {
  display: block;
  width: 100%;
  height: auto;
}