/** Shopify CDN: Minification failed

Line 410:0 Expected "}" to go with "{"

**/


/* GRAINARA PREMIUM FOOTER -UI/UX PRO MAX v3 (GRID EDITION) */

/* 1. FORCE DARK BACKGROUND EVERYWHERE */
.m-footer,
.m-footer--middle,
.m-footer--bottom,
.m-footer__content,
.m-footer--block-content,
div[class*="m-footer"] {
  background-color: #231f1e !important; /* Deep Minimalist Brown */
  color: #f3e9db !important; /* Champagne */
}

/* 2. REMOVE DEFAULT PADDING/MARGINS to tighten the Grid */
.m-footer--middle {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
  border-top: 1px solid rgba(243, 233, 219, 0.15);
  border-bottom: 1px solid rgba(243, 233, 219, 0.15);
}

/* 3. VERTICAL GRID LINES (Desktop) */
@media (min-width: 1024px) {
  .m-footer--block {
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    /* Create the vertical line */
    border-right: 1px solid rgba(243, 233, 219, 0.15);
  }
  
  /* Remove border from last item */
  .m-footer--block:last-child {
    border-right: none;
  }
  
  /* Give first item no left padding to align with edge if needed, 
     or keep it for 'air'. Let's keep it consistent. */
}

/* 4. TYPOGRAPHY - EDITORIAL STYLE */
.m-footer--block-title {
  color: #f3e9db !important;
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25em !important;
  font-weight: 700 !important;
  margin-bottom: 2.5rem !important;
  opacity: 0.8;
}

.m-footer--block-content p, 
.m-footer a, 
.m-footer li a {
  color: #f3e9db !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 2 !important; /* Relaxed leading */
  text-decoration: none !important;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.m-footer a:hover {
  opacity: 1 !important;
  color: #fff !important;
  font-weight: 500 !important;
}

/* 5. BRANDING SPECIFICS */
.m-footer--block-custom_text p:first-child {
  font-family: var(--font-heading) !important;
  font-size: 2rem !important;
  line-height: 1.2 !important;
  margin-bottom: 2rem !important;
  opacity: 1 !important;
  letter-spacing: -0.02em !important;
}

/* Address Block */
.m-footer--block-custom_text p:nth-child(2) {
  margin-top: 3rem !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6 !important;
}

/* 6. NEWSLETTER - GHOST INPUT */
.m-newsletter-form .m-input {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(243, 233, 219, 0.3) !important;
  border-radius: 0 !important;
  color: #f3e9db !important;
  padding: 1rem 0 !important;
  font-size: 1rem !important;
}
.m-newsletter-form .m-input::placeholder {
  color: rgba(243, 233, 219, 0.3) !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.m-newsletter-form button.m-button {
  background: transparent !important;
  border: none !important;
  color: #f3e9db !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  font-weight: 700;
  position: absolute;
  right: 0;
  bottom: 0.8rem;
  padding: 0 !important;
  min-height: 0 !important;
  width: auto !important;
}

/* 7. BOTTOM BAR & SOCIAL */
.m-footer--bottom {
  border: none !important; /* Removed separate border since Grid covers it */
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.m-footer__copyright {
  color: #f3e9db !important;
  opacity: 0.4;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.m-social-link {
  color: #f3e9db !important;
  opacity: 0.8;
}

/* --- UI IMPROVEMENTS (Dec 30) --- */

/* 1. Hero Section Spacing */
.m-section.sf-home__slideshow,
.sf-home__slideshow {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Also ensure header margin is reset just in case */
body.template-index .m-header {
    margin-bottom: 0 !important;
}

/* 2. Product Name Font (Home Page / Cards) */
.m-product-card__name {
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em; 
    line-height: 1.4 !important;
    text-transform: none !important; /* Remove uppercase */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Allow 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}
@media screen and (max-width: 767px) {
    .m-product-card__name {
        font-size: 14px !important;
    }
}

/* 3. News Item Font */
.m-article-card__title {
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    line-height: 1.4 !important;
}
@media screen and (min-width: 640px) {
    .m-article-card__title {
        font-size: 18px !important;
    }
}

/* 4. SOLD OUT VARIANT UI/UX IMPROVEMENT (Final Polish: Clipped Ribbon 'SOLD') */

/* CONTAINER - Reset overflow so we don't interfere */
.m-product-option--node__soldout,
.m-product-option--node__unavailable {
    overflow: visible !important;
}

/* LABEL (The visible button) - The Reference Frame */
.m-product-option--node__soldout .m-product-option--node__label,
.m-product-option--node__unavailable .m-product-option--node__label {
    position: relative !important;
    overflow: hidden !important; /* CLIP RIBBON TO BORDER RADIUS */
    opacity: 0.9 !important;
    color: #a0a0a0 !important;
    background-color: #fafafa !important;
    border: 1px solid #ddd !important;
    cursor: not-allowed !important;
    z-index: 10;
}

/* 1. Red Dashed Diagonal Strike */
.m-product-option--node__soldout .m-product-option--node__label::before,
.m-product-option--node__unavailable .m-product-option--node__label::before {
    content: "" !important;
    position: absolute !important;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #dc2626, #dc2626 4px, transparent 4px, transparent 8px) !important;
    transform: translate(-50%, -50%) rotate(-45deg);
    pointer-events: none;
    display: block !important;
    z-index: 1;
}

/* 2. The CORNER RIBBON (Inside Label, Clipped) */
.m-product-option--node__soldout .m-product-option--node__label::after,
.m-product-option--node__unavailable .m-product-option--node__label::after {
    content: "SOLD" !important;
    position: absolute !important;
    top: 4px;
    right: -12px;
    width: 40px;
    transform: rotate(45deg);
    
    background-color: #dc2626 !important;
    color: #fff !important;
    font-size: 7px !important;
    font-weight: 800 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
    z-index: 2;
    pointer-events: none;
    letter-spacing: 0.5px;
}

/* Clean up container pseudo-elements */
.m-product-option--node__soldout::after,
.m-product-option--node__unavailable::after {
    content: none !important;
    display: none !important;
}

/* Hover state */
.m-product-option--node__soldout:hover .m-product-option--node__label,
.m-product-option--node__unavailable:hover .m-product-option--node__label {
    opacity: 1 !important;
    border-color: #dc2626 !important;
}

/* 5. HOVER ZOOM (Desktop Inner Zoom) */
@media (min-width: 768px) {
  .m-product-media {
    position: relative; /* Ensure z-index works */
    overflow: hidden !important; /* Ensure image doesn't spill out */
    cursor: zoom-in; /* Indicate zoomable */
    z-index: 10; /* Ensure it sits above background/other low-level elements */
  }
  
  .m-product-media img {
    transition: transform 0.1s linear; /* Linear is more responsive for tracking */
    will-change: transform;
    transform-origin: center center;
    /* Ensure image captures events if needed, but container catches them */
  }

  /* Make sure the zoom icon doesn't block the mouse events */
  .m-product-media--zoom-icon {
    pointer-events: none !important;
    opacity: 0; /* Hide by default on hover to clean up view */
    transition: opacity 0.2s;
  }
  
/* 6. PHOTOSWIPE CUSTOM THUMBNAILS (Universal) */
.pswp__custom-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 9999;
    padding: 10px 0;
    background: transparent;
    touch-action: pan-x;
    overflow-x: auto;
    pointer-events: auto !important;
}

.pswp__thumbnail-item {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.pswp__thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pswp__thumbnail-item:hover,
.pswp__thumbnail-item.active {
    opacity: 1;
    border-color: #fff;
    transform: none;
}

/* 7. PHOTOSWIPE CONTROLS (Universal) */
.pswp__button--m-close,
.pswp__button--m-arrowNext,
.pswp__button--m-arrowPrev {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    z-index: 10000;
    transition: all 0.3s ease;
    
    /* Global Visibility Force */
    opacity: 1 !important;
    visibility: visible !important;
}

.pswp__button--m-close:hover,
.pswp__button--m-arrowNext:hover,
.pswp__button--m-arrowPrev:hover {
    background: rgba(255, 255, 255, 1) !important;
    color: #000 !important;
}

/* Positioning */
.pswp__button--m-close {
    top: 20px !important;
    right: 20px !important;
}

.pswp__button--m-arrowPrev {
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.pswp__button--m-arrowNext {
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* 4. SAFEGUARD: Ensure Main Image is Visible */
.pswp__img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* MOBILE SIZING TWEAKS (No Hiding) */
@media screen and (max-width: 767px) {
    .pswp__button--m-close,
    .pswp__button--m-arrowNext,
    .pswp__button--m-arrowPrev {
        width: 36px !important;
        height: 36px !important;
        background: rgba(255, 255, 255, 0.8) !important; /* Higher contrast on mobile */
        color: #000 !important;
    }
    
    .pswp__button--m-arrowPrev { left: 10px !important; }
    .pswp__button--m-arrowNext { right: 10px !important; }
    .pswp__button--m-close { top: 15px !important; right: 15px !important; }
    
    .pswp__thumbnail-item {
        width: 50px;
        height: 50px;
    }
}
