/*
    Rex - Clean & Minimal Portfolio HTML5 Template
    Version: 1.0.2
    Author: Mountain-Themes
    Author URL: https://themeforest.net/user/mountain-themes
    Rex © 2025. Design & Coded by Mountain-Themes.
    
    TABLE OF CONTENTS
    ---------------------------
     1. General
     2. Header
     3. Portfolio
     4. Blog
     5. Footer
     6. Shop
     7. Elements
     8. Responsive CSS
*/


/* ================================= */
/* :::::::::: 1. General ::::::::::: */
/* ================================= */

/* Same vertical wash on every page; stretches with document height (background-size 100% 100%). */
:root {
  --rnr-accent: #2f74b5;
  --rnr-site-gradient: linear-gradient(
    180deg,
    #f4f6fa 0%,
    #eef2f7 5%,
    #e6edf6 9%,
    #dde7f2 13%,
    #d2dfea 17%,
    #c0d0e3 22%,
    #a8bdd4 28%,
    #88a8c9 34%,
    #5c8ab8 42%,
    #3d7ab5 50%,
    #2f74b5 58%,
    #2a6ba8 64%,
    #245d96 68%,
    #1e5082 72%,
    #1a4674 76%,
    #153c66 80%,
    #0f2744 85%,
    #0c2139 88%,
    #0b1f36 91%,
    #071525 94%,
    #030a12 97%,
    #000000 100%
  );
}

html {
  min-height: 100%;
}

html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100%;
    height: auto;
    line-height: 25px;
    font-weight: 300;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
    color: #000;
    font-size: 14px;
}

body {
  min-height: 100dvh;
  background-color: #030a12;
  background-image: var(--rnr-site-gradient);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
}

a {
	text-decoration: none !important;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

a:hover {
	  text-decoration: none !important;
	  -webkit-transition: all 0.3s ease-in-out;
	  -moz-transition: all 0.3s ease-in-out;
	  -ms-transition: all 0.3s ease-in-out;
	  -o-transition: all 0.3s ease-in-out;
	  transition: all 0.3s ease-in-out;
}

.text-loader {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    display: block!important;
}

.page-loader {
    background: #fff;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 99999;
}

.page-loader .right {
    float: left;
    color: #000;
    width: 50%;
    text-align: right;
}

.page-loader .left {
    float: left;
    color: #000;
    width: 50%;
    text-align: right;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    margin-top: 40px;
}

.page-loader h1,
.page-loader h4,
.page-loader .randoms--h1,
.page-loader .randoms--h4 {
    -webkit-transition: opacity .25s;
    -moz-transition: opacity .25s;
    -o-transition: opacity .25s;
    -ms-transition: opacity .25s;
    transition: opacity .25s;
}

.page-loader h1,
.page-loader .randoms--h1 {
    font-size: 3vw;
    font-weight: 500;
    font-family: "Roboto", Verdana, Tahoma;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-loader h4,
.page-loader .randoms--h4 {
    font-weight: 500;
    font-size: 2vw;
    color: #000;
    font-family: "Roboto", Verdana, Tahoma;
}

.page-loader h4:first-child,
.page-loader .randoms--h4:first-child {
    margin-bottom: -1.7vw;
}

.page-loader h4:last-child,
.page-loader .randoms--h4:last-child {
    margin-top: -1.1vw;
}

::-webkit-input-placeholder {
    color: #8e8e8e;
}

:-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

::-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #8e8e8e;
}

#wrapper {
    padding: 80px 0;
    background-color: transparent;
    background-image: none;
}

.rex-padding-right {
    padding-right: 5%;
}

.rex-padding-left {
    padding-left: 5%;
}

a,
a:hover {
    color: #000;
}

iframe {
  border: none;
  width: 100%;
}

/* ================================= */
/* ::::::::::: 2. Header ::::::::::: */
/* ================================= */

header {
    height: 70px;
    z-index: 999;
    width: 100%;
    margin-top: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header .col-md-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header .logo {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 2.3em;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    padding-top: 0;
    display: flex;
    align-items: center;
    max-width: 400px;
}

header .logo img {
    max-width: 400px;
    height: auto;
    width: auto;
}

header .logo a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

header.sticky {
  margin-top: 0;
  background: #fff;
  padding: 23px;
  height: 95px;
}

nav {
    float: none;
    height: 50px;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    align-items: center;
    margin-right: 0;
}

.icon-mobile {
    display: none;
}

.slicknav_menu {
    display: none;
}

#rex_menu,
#rex_menu ul,
#rex_menu li,
#rex_menu a {
  border: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

#rex_menu {
  height: 37px;
  display: block;
  padding: 0;
  margin: 0;
  width: auto;
  }

#rex_menu > ul > li > ul > li a:hover {
 color: #fff;
 background: rgba(255, 255, 255, 0.10);
}

#rex_menu > ul > li.active > ul > li a {
  color: #fff!important;
}


#rex_menu > ul {
  list-style: inside none;
  padding: 0;
  margin: 0;
}

#rex_menu > ul > li {
  list-style: inside none;
  float: left;
  display: block;
  padding: 0;
  margin: 12px 5px 12px 5px;
  position: relative;
}

#rex_menu > ul > li > a {
  outline: none;
  display: block;
  position: relative;
  margin: 0;
  z-index: 999;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 1px;
  font-size: 18px;
  color: #000;
  padding: 13px 13px 11px 14px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#rex_menu > ul > li.active > a {
  font-weight: 300;
}

#rex_menu ul li.has-sub:hover > ul
 {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateY(-0%);
  -moz-transform: translateY(-0%);
  -ms-transform: translateY(-0%);
  -o-transform: translateY(-0%);
  transform: translateY(-0%);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s, -webkit-transform 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s, -moz-transform 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s, transform 0.3s 0s;
}

#rex_menu ul li > ul
 {
  visibility: hidden;
  opacity: 0;
  width: auto;
  position: absolute;
  top: 36px;
  background: #000000;
  z-index: 999;
  -webkit-transform: translateY(10%);
  -moz-transform: translateY(10%);
  -ms-transform: translateY(10%);
  -o-transform: translateY(10%);
  transform: translateY(10%);
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s, -webkit-transform 0.3s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s, -moz-transform 0.3s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s, transform 0.3s 0s;
}

#rex_menu ul li > ul {
  width: 200px;
}

#rex_menu ul li > ul li {
  display: block;
  list-style: inside none;
  padding: 0;
  margin: 0;
  position: relative;
}

#rex_menu ul li ul ul {
    left: 200px;
    top: 0;
}


#rex_menu ul li > ul li:last-child {
  border-bottom: 0;
}

#rex_menu ul li > ul li a {
      font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
  outline: none;
  display: block;
  position: relative;
  margin: 0;
  line-height: 15px;
  padding: 16px 20px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

/* rex effect menu */

#rex_menu > ul > li::before,
#rex_menu > ul > li::after,
#rex_menu > ul > li a::before,
#rex_menu > ul > li a::after {
  content: '';
  position: absolute;
  background: #000;
  -webkit-transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
}

#rex_menu > ul > li > ul > li::before,
#rex_menu > ul > li > ul > li::after,
#rex_menu > ul > li > ul > li a::before,
#rex_menu > ul > li > ul > li a::after
 {
  display: none
}


#rex_menu > ul > li::before,
#rex_menu > ul > li::after {
  top: 0;
  width: 2px;
  height: 100%;
  -webkit-transform: scale3d(1, 0, 1);
  transform: scale3d(1, 0, 1);
}

#rex_menu > ul > li::before {
  left: 0;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}

#rex_menu > ul > li::after {
  right: 0;
  -webkit-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
}

#rex_menu > ul > li a::before,
#rex_menu > ul > li a::after {
  left: 0;
  width: 100%;
  height: 2px;
  -webkit-transform: scale3d(0, 1, 1);
  transform: scale3d(0, 1, 1);
}

#rex_menu > ul > li a::before {
  top: 0;
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
}

#rex_menu > ul > li a::after {
  bottom: 0;
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
}

#rex_menu > ul > li:hover::before,
#rex_menu > ul > li:hover::after, 
#rex_menu > ul > li a:hover::before,
#rex_menu > ul > li a:hover::after {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

#rex_menu > ul > li.has-sub:hover a::after, 
#rex_menu > ul > li.has-sub:hover a::before {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

#rex_menu > ul > li.active a::after, 
#rex_menu > ul > li.active a::before,
#rex_menu > ul > li.active::after, 
#rex_menu > ul > li.active::before
 {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}


#rex_menu > ul > li a::after, #rex_menu > ul > li a::before {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

#rex_menu > ul > li a:hover::before {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

#rex_menu > ul > li a:hover::after {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

/* Header Layout Fixes */
header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding-bottom: 0 !important;
}

header .row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 40px !important;
}

header .col-md-12 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 40px !important;
}

header .logo {
    padding-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    max-width: 300px !important;
    flex-shrink: 0 !important;
}

header .logo img {
    max-width: 300px !important;
    max-height: 60px !important;
    height: auto !important;
    width: auto !important;
}

header .logo a {
    display: flex !important;
    align-items: center !important;
}

nav {
    float: none !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    flex-shrink: 0 !important;
}

#rex_menu {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

#rex_menu > ul {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

#rex_menu > ul > li > a {
    font-size: 18px !important;
}

/* Responsive adjustments */
@media only screen and (max-width: 1036px) {
    header .logo {
        max-width: 250px !important;
    }
    header .logo img {
        max-width: 250px !important;
        max-height: 50px !important;
    }
    #rex_menu > ul > li > a {
        font-size: 16px !important;
    }
}

/* RNR Stone — dark blue header, light navigation */
header {
    background: linear-gradient(180deg, #2f74b5 0%, #0f2744 52%, #0b1f36 100%);
    margin-top: 0 !important;
    /* No light border / inset line — avoids a hairline seam above the hero */
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    border-bottom: none;
}

/* Hero in #wrapper: remove top padding so negative slider margin does not reveal body (hairline gap) */
#wrapper:has(> .rev_slider_wrapper:first-child) {
    padding-top: 0;
    background-color: transparent;
}

/* Same seam fix when using the simplified .hero-slideshow section */
#wrapper:has(> .hero-slideshow:first-child) {
    padding-top: 0;
    background-color: transparent;
}

@media (min-width: 1037px) {
    .slicknav_menu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        position: absolute !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Kill 1px light seams at slide tops (RS / img block layout) */
.rev_slider_wrapper.fullscreen-container {
    background-color: #000 !important;
}

.rev_slider ul,
.rev_slider ul > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

.rev_slider img.rev-slidebg {
    display: block !important;
    vertical-align: top;
    border: 0 !important;
    outline: 0 !important;
    margin: 0 !important;
}

/* Fullscreen hero: RS can letterbox the slide image (light “mat” around the photo on wide viewports).
   fullScreenAutoWidth + AlignForce in JS fixes most cases; these rules backfill gaps and enforce cover. */
#rev_slider_7_1_wrapper #rev_slider_7_1,
#rev_slider_7_1_wrapper #rev_slider_7_1 ul,
#rev_slider_7_1_wrapper #rev_slider_7_1 ul > li,
#rev_slider_7_1_wrapper #rev_slider_7_1 .slotholder,
#rev_slider_7_1_wrapper #rev_slider_7_1 .slotswrapper {
    background-color: #050505 !important;
}

#rev_slider_7_1_wrapper #rev_slider_7_1 ul > li {
    overflow: hidden !important;
}

#rev_slider_7_1_wrapper #rev_slider_7_1 img.rev-slidebg {
    object-fit: cover !important;
    object-position: center center !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
}

header .logo {
    color: rgba(236, 242, 252, 0.96);
}

header .logo a {
    color: rgba(236, 242, 252, 0.96);
}

header .logo a:hover {
    opacity: 0.92;
}

#rex_menu > ul > li > a {
    color: rgba(232, 240, 252, 0.92) !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
}

#rex_menu > ul > li > a:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px;
}

#rex_menu > ul > li.has-sub:hover > a {
    color: #ffffff !important;
}

#rex_menu > ul > li.active > a {
    color: #ffffff !important;
    font-weight: 500 !important;
}

#rex_menu > ul > li::before,
#rex_menu > ul > li::after,
#rex_menu > ul > li a::before,
#rex_menu > ul > li a::after {
    background: rgba(186, 210, 245, 0.75) !important;
}

#rex_menu ul li > ul {
    background: #0a1a2e !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

#rex_menu > ul > li > ul > li a:hover,
#rex_menu > ul > li > ul > li a:focus-visible {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

#rex_menu > ul > li > ul > li a:focus-visible {
    outline: 2px solid rgba(186, 210, 245, 0.85);
    outline-offset: 2px;
}

header.sticky {
    background: linear-gradient(180deg, #2f74b5 0%, #0f2744 52%, #0b1f36 100%) !important;
    border-bottom: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Default SlickNav button look (desktop hides .slicknav_menu via media query below) */
.slicknav_btn {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px;
}

.slicknav_menu .slicknav_menutxt {
    color: rgba(255, 255, 255, 0.95) !important;
}

.slicknav_menu .slicknav_icon-bar {
    background-color: #ffffff !important;
}

.slicknav_nav ul {
    background: #0a1a2e !important;
}

/* Match desktop #rex_menu: top-level vs nested submenu hover (background + smooth transition). */
.slicknav_nav a,
.slicknav_nav .slicknav_row {
    -webkit-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    border-radius: 4px;
}

.slicknav_nav > ul > li > a,
.slicknav_nav > ul > li > .slicknav_row {
    color: rgba(232, 240, 252, 0.92) !important;
}

.slicknav_nav > ul > li > a:hover,
.slicknav_nav > ul > li > .slicknav_row:hover,
.slicknav_nav > ul > li > a:focus-visible,
.slicknav_nav > ul > li > .slicknav_row:focus-visible {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    outline: 2px solid rgba(186, 210, 245, 0.85);
    outline-offset: 2px;
}

/* Nested items (e.g. Collections → Brindle): same as desktop flyout rows */
.slicknav_nav ul ul a,
.slicknav_nav ul ul .slicknav_row {
    color: rgba(232, 240, 252, 0.92) !important;
}

.slicknav_nav ul ul a:hover,
.slicknav_nav ul ul .slicknav_row:hover,
.slicknav_nav ul ul a:focus-visible,
.slicknav_nav ul ul .slicknav_row:focus-visible {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    outline: 2px solid rgba(186, 210, 245, 0.85);
    outline-offset: 2px;
}

.slicknav_nav li.slicknav_open > .slicknav_row {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.slicknav_nav a:active,
.slicknav_nav .slicknav_row:active {
    background-color: rgba(255, 255, 255, 0.14) !important;
}

/* ================================= */
/* :::::::: 3. Portfolio ::::::::::: */
/* ================================= */

.portfolioFilter {
   margin-bottom: 40px;
   position: relative;
}

.portfolioFilter .cbp-filter-item {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0px 10px 0 10px;
    padding: 0 10px 0 10px;
    display: inline;
    cursor: pointer;
}



.portfolioFilter .cbp-filter-item:before {
    content: " ";
  border-left: 1px solid #000;
  height: 70%;
  position: absolute;
  margin-left: -8px;
  margin-top: 4px;
  opacity: 0.0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}


.portfolioFilter .cbp-filter-item:hover:before {
  content: " ";
  border-left: 1px solid #000;
  height: 70%;
  position: absolute;
  margin-left: -8px;
  margin-top: 4px;
  opacity: 1.0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.portfolioFilter .cbp-filter-item-active:before {
    content: " ";
  border-left: 1px solid #000;
  height: 70%;
  position: absolute;
  margin-left: -8px;
  margin-top: 4px;
  opacity: 1.0;
}

.portfolioFilter .cbp-filter-item:after {
  content: " ";
  position: absolute;
  border-left: 1px solid #000;
  height: 70%;
  position: absolute;
  margin-top: 4px;
  margin-left: 6px;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}


.portfolioFilter .cbp-filter-item-active:after {
    content: " ";
    border-left: 1px solid #000;
    height: 70%;
    position: absolute;
    margin-top: 4px;
    margin-left: 6px;
    opacity: 1.0;
}


.portfolioFilter .cbp-filter-item:hover:after {
    content: " ";
  position: absolute;
  border-left: 1px solid #000;
  height: 70%;
  position: absolute;
  margin-top: 4px;
  margin-left: 6px;
  opacity: 1.0;
}

/* style */

.cbp-item-off {
    z-index: -1;
    pointer-events: none;
    visibility: hidden;
    opacity: 0!important;
    transition-duration: 0s!important;
    transition-delay: 0s!important;
}

/* classic  */

.cbp.classicAnim .cbp-item {
    overflow: hidden;
    cursor: pointer;
}

.cbp.classicAnim .cbp-item img {
max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}


.cbp.classicAnim .cbp-item:hover img {
  transform: scale(1.1);
}

.cbp.classicAnim .cbp-item:hover .caption-box {
  background: rgba(255, 255, 255, 0.90);
}

.cbp.classicAnim .cbp-item .caption-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: right;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}



.cbp.classicAnim .cbp-item .caption-box p {
    bottom: 30px;
    line-height: 1.5;
    font-weight: 400;
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
}



.cbp.classicAnim .cbp-item .caption-box h2, .cbp.classicAnim .cbp-item .caption-box p {
    position: absolute;
    right: 30px;
    left: 30px;
    padding: 4px 0;
    color: #000;
    font-weight: 400;
    line-height: 25px;
}

.cbp.classicAnim .cbp-item .caption-box h2::after, .cbp.classicAnim .cbp-item .caption-box p {
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

.cbp.classicAnim .cbp-item .caption-box h2::after {
  position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    content: '';
    -webkit-transform: translate3d(0,40px,0);
    transform: translate3d(0,40px,0);
}

.cbp.classicAnim .cbp-item .caption-box h2 {
      top: 60px;
      -webkit-transform: translate3d(0,100%,0);
      transform: translate3d(0,100%,0);
      -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
      transition: opacity 0.35s, transform 0.35s;
      opacity: 0;
      font-size: 1.2em;
}

.cbp.classicAnim .cbp-item:hover h2 {
   -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  opacity: 1;
}

.cbp.classicAnim .cbp-item:hover h2::after,
.cbp.classicAnim .cbp-item:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* creative */

.cbp.creativeAnim .cbp-item .image-box {
      position: relative;
      overflow: hidden;
}

.cbp.creativeAnim .cbp-item:hover img {
      transform: scale(1.5);
}


.cbp.creativeAnim .cbp-item  img {
      max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

.cbp.creativeAnim .cbp-item .caption-box {
  position: absolute;
  padding: 25px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.cbp.creativeAnim .cbp-item:hover .caption-box {
      background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.cbp.creativeAnim .cbp-item .caption-box .caption-center-box {
  border: 1px solid #000;
    transform: scale(0.9);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.cbp.creativeAnim .cbp-item .caption-box:hover .caption-center-box  {
      transform: scale(1.0);
}

.cbp.creativeAnim .cbp-item .caption-box .caption-center-box {
        display: table;
    height: 100%;
    width: 100%;
}

.cbp.creativeAnim .cbp-item .caption-box .caption-body {
     display: table;
    height: 100%;
    width: 100%;
    text-align: center;
}

.cbp.creativeAnim .cbp-item .caption-box h2 {
  font-size: 1.2em;
    font-weight: 400;
    color: #000000;
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

.cbp.creativeAnim .cbp-item .caption-box p {
  padding-top: 50px;
    text-align: center;
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    color: #000;
    padding: 10px;
}

/* alternative */

.cbp.alternativeAnim .cbp-item h2 {
      font-size: 1.2em;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 5px;
    margin-top: 15px;
}

.cbp.alternativeAnim .cbp-item p {
      font-style: italic;
}

/* minimal */

.cbp.minimalAnim .cbp-item .image-box {
      position: relative;
      overflow: hidden;
}



.cbp.minimalAnim .cbp-item  img {
      max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

.cbp.minimalAnim .cbp-item .caption-box {
  position: absolute;
  padding: 25px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.cbp.minimalAnim .cbp-item:hover .caption-box {
      background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.cbp.minimalnim .cbp-item .caption-box .caption-center-box {
  border: 1px solid #000;
    transform: scale(0.9);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.cbp.minimalAnim .cbp-item .caption-box:hover .caption-center-box  {
      transform: scale(1.0);
}

.cbp.minimalAnim .cbp-item .caption-box .caption-center-box {
        display: table;
    height: 100%;
    width: 100%;
}

.cbp.minimalAnim .cbp-item .caption-box .caption-body {
     display: table;
    height: 100%;
    width: 100%;
    text-align: center;
}

.cbp.minimalAnim .cbp-item .caption-box h2 {
  font-size: 1.2em;
    font-weight: 400;
    color: #000000;
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

.cbp.minimalAnim .cbp-item .caption-box p {
  padding-top: 50px;
    text-align: center;
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    color: #000;
    padding: 10px;
}


/* single projects */

.portfolio-single-nav {
    margin-top: 55px;
    display: inline-block;
    width: 100%;
    margin-bottom: 40px;
}

.single-project h4.title-project {
    margin-top: 0;
    font-size: 18px;
}

.single-navigation .prev-button {
    float: left;
    padding-bottom: 10px;
}

.single-navigation .next-button {
    float: right;
}

.single-navigation .prev-button a, .single-navigation .next-button a {
    color: #000000;
    border: 1px solid #000000;
    font-size: 11px;
    background: transparent;
    border-radius: 0;
    margin-top: 5px;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.05em;
    font-weight: 400;
    line-height: 1;
    padding: 15px 22px 15px 22px;
    -webkit-transition: all 0.3s ease-in-out !important;
    -moz-transition: all 0.3s ease-in-out !important;
    -ms-transition: all 0.3s ease-in-out !important;
    -o-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}

.single-navigation .prev-button a:hover, .single-navigation .next-button a:hover {
   background: #000000;
   color: #fff;
}

.single-navigation .prev-button a i {
    padding-right: 5px;
    font-weight: 700;
}

.single-navigation .next-button a i {
    padding-left: 5px;
    font-weight: 700;
}

.gallery-projects {
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.gallery-projects .overlay-box {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallery-projects .overlay-box > a {
    display: block;
    position: relative;
}

.gallery-projects .overlay-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.gallery-projects .overlay-box .overlay {
    display: table;
    height: 100%;
    width: 100%;
}

.gallery-projects i {
    font-size: 23px;
    color: #000;
    display: table-cell;
    vertical-align: middle;
}

.gallery-projects img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.gallery-projects .overlay-box:hover .overlay-wrap {
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.project-details {
    margin-top: 50px;
    margin-bottom: 50px;
}

.project-details h4 {
    display: block;
    padding-bottom: 10px;
}

.project-details h4 {
    margin-top: 18px;
    font-size: 18px;
    padding-bottom: 10px;
}

.project-details h5 {
    margin-top: 18px;
    font-size: 15px;
}

.project-details .share-icons {
    display: inline-block;
    vertical-align: middle;
    padding: 0;
}

.project-details .share-icons span {
    margin-right: -10px;
}

.project-details .share-icons li {
    list-style: none;
    display: inline-block;
}

.project-details p {
    font-size: 14px;
}

.project-details .share-icons li a {
    color: #000000;
    font-size: 15px;
    display: block;
    margin-right: 18px;
    position: relative;
    background-color: transparent;
}

.project-details .share-icons li i {
    color: rgb(33, 31, 31);
      -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
}

.project-details .share-icons li i:hover {
   color: rgba(0, 0, 0, 0.44);
}

.nav-portfolio {
    margin-top: 60px!important;
}


/* ================================= */
/* ::::::::::: 4. Blog ::::::::::::: */
/* ================================= */


/* type link */

.entry-header .post-intro {
  margin-bottom: 27px;
}

.entry-header .type-link {
    text-align: center;
    height: 200px;
    background-size: cover;
    background-position: center center;
}

.entry-header .type-link.img-none {
    background: rgb(0, 0, 0);
}

.entry-header .type-link a {
    width: 100%;
    height: 100%;
    display: block;
    padding: 70px 28px;
    text-decoration: none;
    color: #fff;
    word-break: break-all;
}

.entry-header .type-link a:before {
    content: '\f0c1';
    font-style: normal;
    font-size: 21px;
    text-align: center;
    color: #fff;
    margin-bottom: 14px;
    display: block;
    font-family: "Font Awesome 6 Pro";
    font-weight: 700;
}


/* type quote */

.entry-header .type-quote {
    text-align: center;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.entry-header .type-quote.img-none {
    background: rgb(0, 0, 0);
}

.entry-header .type-quote a {
    text-decoration: none;
    color: #fff;
}

.entry-header .type-quote blockquote:before {
    content: '\f10d';
    font-style: normal;
    font-size: 21px;
    text-align: center;
    color: #fff;
    margin-bottom: 14px;
    display: block;
    font-family: "Font Awesome 6 Pro";
    font-weight: 700;
}

.entry-header .type-quote blockquote {
    border: none;
    padding: 70px 28px;
}

.entry-header .type-quote blockquote p {
    font-style: italic;
    font-size: 16px;
    margin-bottom: 5px;
}

.entry-header .type-quote blockquote cite {
    font-weight: 300;
}


/* type status */

.entry-header .type-status {
    text-align: center;
    background-size: cover;
    background-position: center center;
    color: #fff;
}

.entry-header .type-status .twitter-tweet {
    text-align: center;
    margin: 0 auto!important;
}

.entry-header .type-status {
    border: none;
    text-align: center;
    padding: 70px 28px;
}


/* type video and audio */

.type-video .wp-video {
    width: 100%!important;
}

.type-video iframe,
.type-audio iframe {
    width: 100%!important;
    height: 450px;
}

.entry-header .type-audio.image-audio {
    text-align: center;
    padding: 25em 0 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: #fff;
}

.entry-header .type-audio h2 {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    color: #fff;
}


/* type gallery */

.post ul.gallery-projects {
    text-align: left;
}

.post ul.gallery-projects {
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 27px;
}

.post ul.gallery-projects li {
    list-style: none;
    float: left;
    width: 33.33%;
    height: 25%;
}

.post .gallery-projects img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.post .flexslider ul li div {
    height: 450px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    background-repeat: no-repeat;
}

.post .flex-caption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    margin-bottom: 0;
    color: #ffffff;
    padding: 10px;
    text-align: center;
}

.post .entry-header img.flex-resize {
    opacity: 0;
    visibility: hidden;
    height: 50px;
}

.post .flex-direction-nav a {
    background: #ffffff;
    text-align: center !important;
}

.post .flex-direction-nav a i {
    font-size: 18px;
    line-height: 40px;
    color: #000000;
}

.post .flexslider:hover .flex-direction-nav .flex-next {
    right: 0;
}

.post .flexslider:hover .flex-direction-nav .flex-prev {
    left: 0;
}

.gallery-post {
    overflow: hidden;
}

.single-post .post {
  padding-bottom: 0!important;
}

.post {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 50px!important;
    display: flex;
}

.blog-no-border .post {
    border: none;
    margin-bottom: 2.5%;
    padding-bottom: 0;
}

.blog-column-two {
    float: left;
}

.blogContainer .gutter-sizer,
.shopContainer .gutter-sizer {
    width: 3%;
}

.blogContainer .blog-column-one {
    width: 100%;
    margin-bottom: 50px;
    padding-bottom: 50px!important;
}

.blogContainer .blog-column-one:last-child {
  margin-bottom: 0px;
}

.blogContainer .blog-column-two {
    width: 48.5%;
}

.blogContainer .blog-column-three {
    width: 31.333%;
}

.entry-title a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
}

h2.entry-title {
    font-size: 1.6em;
}

.post-intro img {
    height: auto;
    margin-bottom: 27px;
    text-align: left;
    max-width: 100%;
    display: block;
}

.post-button {
    margin-top: 30px;
}

.post-button a {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid #000;
  padding: 13px 22px 12px 22px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.load-more {
    margin-top: 90px;
}

.post-button a:hover, .load-more a:hover {
  background: #000;
  color: #fff!important;
}


.cbp-l-loadMore-stop {
    cursor: default;
    opacity: 0.3;
}

.cbp-l-loadMore-loading i {
    margin-right: 5px;
}

.load-more a span {
    opacity: 1.0;
    -webkit-transition: opacity .25s;
    -moz-transition: opacity .25s;
    -o-transition: opacity .25s;
    -ms-transition: opacity .25s;
    transition: opacity .25s;
}

.cbp-l-loadMore-stop .cbp-l-loadMore-noMoreLoading, .cbp-l-loadMore-loading {
  display: inline-block;
}

.cbp-l-loadMore-loading {
  pointer-events: none;
}

a.cbp-l-loadMore-link:hover {
  text-decoration: none;
}

.cbp-l-loadMore-link {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  display: inline-block;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid #000;
  padding: 7px 22px 6px 22px!important;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a.cbp-l-loadMore-stop {
  cursor: not-allowed;
}

a.cbp-l-loadMore-stop:hover {
  background: none;
  color: #000!important;
}

.post-details {
    width: 100%;
    display: inline-block;
}

.post-details div {
    float: left;
    color: #000000;
    margin-top: 10px;
    margin-right: 20px;
}

.post-details div i {
    color: #000000;
    padding-right: 5px;
}

.post-details div a {
    text-decoration: none;
    color: #000;
}

.post-info {
    color: #000000;
    margin-top: 7px;
}

.post-info img {
    max-width: 100%;
    height: auto;
}

.pagination {
    display: inline-block;
    margin-top: 80px;
    text-align: center;
    width: 100%;
}

.page-numbers {
    text-align: center;
}

.page-numbers li {
    float: left;
    margin: 5px;
    list-style: none;
}

.post-navigation {
  margin-top: 47px;
}

.pagination a,
.pagination span {
    border: 1px solid #000000;
    text-decoration: none;
    display: inline-block;
    width: 33px;
    height: 33px;
    margin: 1px;
    font-size: 13px;
    padding-top: 3px;
    color: #000000;
    -webkit-transition: all 0.3s ease-in-out !important;
    -moz-transition: all 0.3s ease-in-out !important;
    -ms-transition: all 0.3s ease-in-out !important;
    -o-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}

.pagination span.current {
    background: #0a0a0a;
    color: #fff;
    font-weight: 400;
}
.pagination a:hover {
    background: #000000;
    color: #fff;
}
.post-navigation .prev-button {
    float: left;
    padding-bottom: 10px;
}

.post-navigation .next-button {
    float: right;
    padding-bottom: 60px;
}

.post-navigation .prev-button a,
.post-navigation .next-button a {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid #000;
  padding: 13px 22px 12px 22px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.post-navigation .prev-button a i {
    padding-right: 5px;
    font-weight: 700;
}

.post-navigation .next-button a i {
    padding-left: 5px;
    font-weight: 700;
}

.post-navigation .prev-button a:hover, .post-navigation .next-button a:hover {
   background: #000000;
   color: #fff;
}

.footer-single {
    color: #000000;
    width: 100%;
    margin-top: 50px;
}

.footer-single a {
    text-decoration: none;
    color: #000000;
}

.footer-single a[rel=tag] {
    margin-bottom: 23px;
    display: inline-block;
}

.post-categories {
    margin-bottom: 15px;
    width: 50%;
    float: left;
}

.post-tags {
    float: left;
    width: 100%;
}

#comments h3.comment-reply-title,
#comments h3.comments-title {
    text-align: left;
    font-weight: 400;
    font-size: 1.2em;
    margin-top: 100px;
    display: block;
}

#comments h3 a {
    font-weight: 400;
    font-size: 10px;
    color: #000000;
}

#comments h3.comment-reply-title {
    margin-bottom: 20px;
    margin-top: 70px;
}

#comments .form-submit {
    display: inline-block;
}

.form-comment {
    margin-bottom: 20px;
}

.border-comment {
    border-bottom: 1px solid #f1f1f1;
    padding: 50px 0;
}

#comments {
    padding-top: 20px;
}

#comments .comment {
    list-style: none;
}

ol.comment-list,
ul.comments,
li.comment {
    padding: 0;
    margin: 0;
}

.no-comments {
    font-weight: 400;
    margin: 40px 0 0;
    text-align: center;
}

#comments .child-comment {
    padding-left: 7%;
}

.comment .avatar-author img {
    float: left;
    overflow: hidden;
    margin-right: 20px;
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.comment .name-author {
    text-align: left;
    font-weight: 400;
}

.comment .name-author a {
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.comment .date-comment {
    text-align: left;
    font-size: 13px;
}

.comment .reply {
      margin-left: 80px;
}

.comment .date-comment a {
    color: #000000;
}

.comment .header-comment a {
    color: #000000;
    text-decoration: none;
}

.comment .body-comment {
    text-align: left;
    word-spacing: 1px;
    margin-top: 16px;
    color: #000000;
    margin-left: 80px;
    margin-bottom: 7px;
}

.comment .reply a {
    margin-top: 16px;
    display: inline-block;
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1px;
    background: rgba(61, 74, 110, 0);
    padding: 2px 12px 2px 12px;
    border: 1px solid #000000;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.comment .reply a:hover {
    color: #fff;
    background: #000000;
    border: 1px solid #000000;
}

#comments input[type='text'],
#comments input[type='email'] {
    width: 100%;
    background: transparent;
    border: 1px solid #f1f1f1;
    height: 40px;
    padding: 15px 15px 15px 15px;
    margin-bottom: 17px;
    outline: none;
    font-weight: 300;
    font-size: 13px;
}

#comments .navigation {
    background: none;
    width: auto;
    text-align: center;
    height: auto;
    position: relative;
    left: 0;
    top: -5px;
}

.comment-navigation .nav-links {
    margin-top: 60px;
    margin-bottom: -50px;
}

#comments .navigation a {
    color: #000000;
    font-size: 13px;
}

#comments textarea {
    width: 100%;
    background: transparent;
    padding: 15px 15px 15px 15px;
    border: 1px solid #f1f1f1;
    outline: none;
    color: #000000;
    resize: vertical;
    font-weight: 300;
    font-size: 13px;
    margin-bottom: 12px;
}

#comments input[type='submit'],
#comments button.submit[type='submit'] {
    outline: none;
    color: #000000;
    border: 1px solid #000000;
    font-size: 11px;
    background: transparent;
    border-radius: 0;
    float: left;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
    line-height: 1;
    padding: 15px 22px 15px 22px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#comments input[type="submit"]:hover,
#comments button.submit[type="submit"]:hover {
    background: #000000;
    color: #fff;
}

#comments::-webkit-input-placeholder {
    color: #000000;
}

#comments:-moz-placeholder {
    color: #000000;
    opacity: 1;
}

#comments::-moz-placeholder {
    color: #000000;
    opacity: 1;
}

#comments:-ms-input-placeholder {
    color: #000000;
}


/* minimal style */

.blog-minimal .entry-title {
    margin-top: 0;
}

.blog-minimal .col-md-5 {
    padding-right: 30px;
}

.blog-minimal {
    display: flex;
}


/* creative style */

.blog-creative-no-border .post {
    border-bottom: none;
    padding-bottom: 0!important;
}

.blog-creative .work-box {
    background-position: center center;
    background-size: cover;
    height: 0;
    width: 100%;
    padding-top: 66.64%;
    background-repeat: no-repeat;
}

.blog-creative .entry-header {
    overflow: hidden;
    position: relative;
}

.blog-creative img {
    height: auto;
    max-width: 100%;
    display: block;
}

.blog-creative .creative-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.blog-creative .blog-creative-item {
    height: 101%;
    width: 101%;
    display: table;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.blog-creative .blog-creative-item .item-info {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.blog-creative .blog-creative-item .item-info span {
    display: inline-block;
    font-weight: 600;
    width: 100%;
    text-transform: uppercase;
    color: #000000;
    font-size: 14px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.blog-creative .blog-creative-item .item-info em {
    font-style: normal;
    font-weight: 300;
    display: inline-block;
    padding: 5px;
    color: black;
    margin-top: 5px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.blog-creative .blog-creative-item .item-info em a {
    color: #000;
    text-decoration: none;
}

.blog-creative:hover .blog-creative-item {
    opacity: 1;
    background: rgba(255, 255, 255, .9);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.blog-creative:hover .item-info em,
.blog-creative:hover .item-info span {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.footer-single .share-icons {
    float: left;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
}

.footer-single .share-icons span {
    margin-right: -10px;
}

.footer-single .share-icons li {
    list-style: none;
    display: inline-block;
}

.footer-single .share-icons li a {
    color: #000000;
    font-size: 15px;
    display: block;
    margin-right: 18px;
    position: relative;
    background-color: transparent;
}

.footer-single .share-icons li i {
    color: rgb(33, 31, 31);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.footer-single .share-icons a:hover i {
   color: rgba(0, 0, 0, 0.44);
}


.sidebar .sidebar-title {
    padding: 10px 0 10px 0;
    font-size: 1.2em;
    font-weight: 400;
}

.sidebar ul li a:hover, #sidebar .widget li:hover, footer ul li a:hover, footer .widget li:hover {
    color: #afafaf;
}

.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar a {
    text-decoration: none;
        -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.sidebar .sidebar-box {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.sidebar .search input[type=search]:focus {
    outline: 0;
    box-shadow: none;
}

.sidebar .search button {
   border-top: 1px solid #000000;
   border-right: 1px solid #000000;
   border-bottom: 1px solid #000000;
   border-left: none;
   padding-right: 11px;
   background: none;
   font-size: 14px;
   height: 34px;
   border-radius: 0;
   color: #000000;
   -webkit-transition: all 0.3s ease-in-out !important;
   -moz-transition: all 0.3s ease-in-out !important;
   -ms-transition: all 0.3s ease-in-out !important;
   -o-transition: all 0.3s ease-in-out !important;
   transition: all 0.3s ease-in-out !important;
}

.sidebar .search .form-inline {
    display: block;
}

.sidebar .search .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.sidebar .search .input-group-btn {
    width: 1% !important;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    white-space: nowrap;
}

.sidebar .search button:focus {
    outline: none;
}

.sidebar .search input[type=search] {
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-bottom: 1px solid #000000;
    border-right: none;
    color: #000;
    padding-left: 12px;
    font-size: 13px;
    padding-right: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    width: 100%;
    height: 34px;
}


.search-widget input[type=search]::-webkit-input-placeholder { /* WebKit browsers */
    color: #8e8e8e;
}

.search-widget input[type=search]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #8e8e8e;
    opacity:  1;
}

.search-widget input[type=search]::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #8e8e8e;
    opacity:  1;
}

.search-widget input[type=search]:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #8e8e8e;
}


/* ================================= */
/* :::::::::: 5. Footer :::::::::::: */
/* ================================= */

footer {
    padding: 80px;
    width: 100%;
    overflow: hidden;
    color: #000;
    background: #FAFBFF;
    text-align: center;
}

footer .social-icons li {
    float: left;
    list-style: none;
}

footer .social-icons ul {
    margin: 0;
    padding: 0;
}

footer .social-icons li a {
  color: #000000;
  font-size: 15px;
  display: block;
  margin: 12px;
  position: relative;
  background-color: transparent;
}

footer .social-icons a:hover i {
    color: rgba(0, 0, 0, 0.44);
}

footer .social-icons li i {
    color: rgb(33, 31, 31);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

footer .social-icons {
    display: inline-block;
    margin-bottom: -5px;
}

footer .social-icons ul {
    margin: 0;
    padding: 0;
}

footer .copyright {
font-size: 13px;
    float: right;
    width: 100%;
}

footer a {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: #000;
}

footer a:hover {
    color: rgba(0, 0, 0, 0.51);
}


/* ================================= */
/* :::::::::: 6. Shop :::::::::::::: */
/* ================================= */

.cart-container {
    position: relative;
    float: right;
    margin-left: 25px;
    margin-top: 14px;
}

.icon-cart {
    cursor: pointer;
}

.icon-cart i {
    font-size: 24px;
}

.icon-cart span {
    position: absolute;
    right: -15px;
    top: -6px;
    font-size: 12px;
    line-height: 18px;
    display: block;
    text-align: center;
    background: #000;
    color: #fff;
    width: 19px;
    font-weight: 400;
    height: 19px;
    word-wrap: break-word;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

.cart-widget {
    visibility: hidden;
    opacity: 0!important;
    min-width: 280px;
    position: absolute;
    top: 33px;
    right: 0;
    color: #fff;
    padding: 20px;
    background: #000000;
    z-index: 999;
    -webkit-transform: translateY(10%);
    -moz-transform: translateY(10%);
    -ms-transform: translateY(10%);
    -o-transform: translateY(10%);
    transform: translateY(10%);
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s, -webkit-transform 0.3s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s, -moz-transform 0.3s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s, transform 0.3s 0s;
}

.cart-widget.widget-visible {
    visibility: visible;
    opacity: 1!important;
    -webkit-transform: translateY(-0%);
    -moz-transform: translateY(-0%);
    -ms-transform: translateY(-0%);
    -o-transform: translateY(-0%);
    transform: translateY(-0%);
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s, -webkit-transform 0.3s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s, -moz-transform 0.3s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s, transform 0.3s 0s;
}

.cart-widget .mini-cart__total {
    margin-bottom: 10px;
}

.cart-widget ul.cart_list li,
.cart-widget ul.product_list_widget li {
    padding-top: 0!important;
    padding-left: 0px!important;
    padding-bottom: 15px!important;
    list-style: none;
}

.cart-widget li:after,
.cart-widget li:before {
    content: "";
    display: table;
    clear: both;
}

.cart-widget img {
    width: 75px;
    height: auto;
    float: right;
}

.cart-widget strong,
.cart-widget b {
    font-weight: 400;
}

.cart-widget .total span {
    float: right;
}

.cart-widget a {
    text-decoration: none;
}

.cart-widget ul {
    padding: 0;
    margin: 0;
}

.cart-widget .quantity {
    display: block;
    color: #fff!important;
}

.widget .quantity {
    color: #000;
    padding-top: 5px;
    display: block;
}

.cart-widget ul.cart_list li.empty {
    padding: 0!important;
}

.cart-widget ul.cart_list li a,
.cart-widget ul.product_list_widget li a {
    color: #fff!important;
    font-weight: 400;
    text-decoration: none;
    width: auto;
    display: block;
}

.cart-widget a.remove {
    font-size: 16px;
    text-align: center;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: none!important;
}

.cart-widget a.remove:hover {
    background: #fff!important;
    color: #000!important;
}

.cart-widget .widget_shopping_cart .total,
.cart-widget.widget_shopping_cart .total {
    border-top: none;
    padding: 0 0 3px 0!important;
}

.cart-widget .widget_shopping_cart .total strong,
.cart-widget.widget_shopping_cart .total strong {
    font-weight: 400;
}

.cart-widget .widget_shopping_cart .total span,
.cart-widget.widget_shopping_cart .total span {
    float: right;
}

.cart-widget .buttons a {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    background: rgb(0, 0, 0);
    outline: none;
    border: none;
}

.cart-widget .buttons {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 13px;
    padding-bottom: 2px;
    margin: 0 0 -7px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 20px;
}

.shop-products.columns-3 .product {
    width: 31.35%;
    float: left;
    margin: 0 0 2.992em 0;
}

.shop-ordering {
    float: right;
}

.shop-ordering select {
    outline: none;
    padding: 10px;
    border-radius: 0;
    border-color: #f5f5f5;
    vertical-align: top;
}

.shop-result-count {
    float: left;
}

.shop-second-image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.shop-second-image img {
    width: 100%;
}

.product-images:hover .shop-second-image {
    opacity: 1;
}

.shop-products {
    margin: 70px 0;
    padding: 0;
    list-style: none outside;
    clear: both;
}

.shop-first-image img {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.shop-first-image:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.shop-first-image .onsale {
    background-color: #000;
    border-radius: 0;
    font-weight: 300;
    color: #fff;
    min-width: 5.0em;
    min-height: 1.0em;
    padding: 0;
    line-height: 30px;
    font-size: 13px;
    z-index: 999;
    right: 0;
    top: 0;
    position: absolute;
    text-align: center;
}

.product-images {
    overflow: hidden;
    display: block;
    position: relative;
}

.shop-products li {
    list-style: none;
}
.shop-products .product {
    width: 22.05%;
    float: left;
    margin: 0 0 2.992em 0;
    padding-bottom: 20px;
}
.shop-products a {
    text-decoration: none;
}

.shop-product-title {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    margin-top: 17px;
    margin-bottom: 8px;
}

.shop-products .shop-price,
.sidebar-product-list {
    font-weight: 400;
    color: #000;
    font-size: 14px;
}

.shop-products .shop-button-box {
    margin-top: 25px;
}

.shop-products .button-product {
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid #000;
  padding: 11px 18px 11px 18px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.shop-products .button-product:before {
    content: "\f07a";
    margin-right: 7px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 700;
}

.shop-products .button-product:hover {
    background: #000;
  color: #fff!important;
}

@font-face {
    font-family: 'star';
    src: url('../fonts/star.eot');
    src: url('../fonts/star.eot?#iefix') format('embedded-opentype'), url('../fonts/star.woff') format('woff'), url('../fonts/star.ttf') format('truetype'), url('../fonts/star.svg#star') format('svg');
    font-weight: normal;
    font-style: normal;
}

.shop-products .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    width: 5.4em;
    font-family: star;
    font-size: 12px;
    margin-bottom: 10px;
    margin-top: 12px;
}

.sidebar-product-list .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    width: 5.4em;
    font-family: star;
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.product-single-info .star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    width: 5.4em;
    font-family: star;
    font-size: 1em;
    margin-bottom: 5px;
    margin-top: 20px;
}

.sidebar-product-list li {
    margin-bottom: 15px;
}

.shop-products .star-rating span,
.sidebar-product-list .star-rating span,
.product-single-info .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1em;
    color: #000;
}

.shop-products .star-rating span::before,
.sidebar-product-list .star-rating span::before,
.product-single-info .star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0;
}

.shop-products .star-rating::before,
.sidebar-product-list .star-rating::before,
.product-single-info .star-rating::before {
    content: '\73\73\73\73\73';
    color: #000000;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.shop-products.shopContainer {
    margin: 70px 0;
    padding: 0;
    list-style: none outside;
    clear: both;
}

.product-related-products .shopContainer {
    margin: 25px 0;
    padding: 0;
    list-style: none outside;
    clear: both;
}

.sidebar-product-list {
    margin-top: 15px!important;
}

.sidebar-product-list img {
    max-width: 100%;
    height: auto;
    width: 75px;
    float: right;
    margin-left: 4px;
}

.product-single-image {
    float: left;
    width: 48%;
}

.product-single-image img {
    max-width: 100%;
}

.product-single-info {
    float: right;
    width: 48%;
    clear: none;
}

.product-single-box {
    clear: both;
    padding-top: 50px;
}

.product-single-box h2 {
    font-size: 14px;
    margin-bottom: 20px;
}

.product-single-info .shop-price {
    margin-top: 18px;
    display: block;
    margin-bottom: 9px;
    font-size: 16px!important;
    font-weight: 400;
}

.product-single-title {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 15px;
}

.product-single-info input[type=number]::-webkit-inner-spin-button,
.product-single-info input[type=number]::-webkit-outer-spin-button {
    margin: 0;
    height: 37px;
}

.product-single-info .button-product {
  color: #000;
  text-decoration: none;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 1px;
  border: 1px solid #000;
  height: 44px;
  padding: 0 17px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: none;
}

.product-single-info .button-product:hover {
    background: #000;
  color: #fff!important;
}

.product-related-products {
    margin-top: 80px;
}

.shop-qty {
	display: -ms-inline-flexbox;
	display: inline-flex;
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
	height: 44px;
}

.shop-qty .qty {
	width: 50px;
	text-align: center;
	border-left: none;
	border-right: none;
	border: 1px solid #000000;
	font-weight: 300;
	border-radius: 0;
	outline: none;
	line-height: 1;
}

.shop-qty .qty::-webkit-inner-spin-button,
.shop-qty .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
}

.shop-qty button.minus {
	background: none;
	border: 1px solid #000;
	border-right: 0;
	font-size: 20px;
	transition: all 0.4s;
	width: 30px;
	font-weight: 300;
	outline: none;
	line-height: 1;
}

.shop-qty button.plus {
	background: none;
	border: 1px solid #000;
	border-left: 0;
	transition: all 0.4s;
	width: 30px;
	font-weight: 300;
	outline: none;
	line-height: 1;
}

.shop-qty button.minus:hover,
.shop-qty button.plus:hover {
	background-color: #000;
	color: #fff;
}

/* =============================== */
/* ::::::::: 7. Elements ::::::::: */
/* =============================== */




/* Google map */

.google-map-minimal #zoom-in,
.google-map-minimal #zoom-out,
.google-map-minimal .gm-style-iw-a {
    display: none;
}

#zoom-in,
#zoom-out {
    height: 32px;
    width: 32px;
    cursor: pointer;
    position: relative;
    z-index: 9999;
    margin-left: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    background-repeat: no-repeat;
    background-size: 32px 64px;
    background-image: url("../images/icon-controller.svg");
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#zoom-in {
    background-position: 50% 0;
    margin-top: 40px;
    margin-bottom: 1px;
}

#zoom-out {
    background-position: 50% -32px;
}

#google-container {
    width: 100%;
    height: 450px;
}

#google-container .contact-info-box {
    padding-left: 15px;
}

#google-container .contact-info-box ul {
    list-style: none;
    line-height: 25px;
    padding: 0px;
    text-align: left;
    position: relative;
    margin-bottom: 0;
}

#google-container .contact-info-box h3 {
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 20px;
    font-size: 13px;
}

#google-container .contact-info-box ul li {
    margin-top: 0px;
    font-weight: 400;
    color: #000;
    font-size: 13px;
}

#google-container .contact-info-box ul li i {
    margin-right: 15px;
    color: #000;
    margin-bottom: 15px;
}

#google-container.contact-info-box ul a {
    max-width: 100%;
    color: #000;
}

#google-container .contact-info-box ul a:hover {
    text-decoration: none;
}

#zoom-in:hover,
#zoom-out:hover {
    background-color: #000000;
}




/* team */

.team img {
    width: 100%;
}

.team h2 {
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 20px;
}

.team p {
    text-align: left;
    word-spacing: 1px;
    line-height: 25px;
    font-size: 15px;
    margin-bottom: 15px;
}

.team span {
    font-weight: 500;
    font-size: 13px;
    display: block;
    text-align: right;
    margin-top: -5px;
}

.team .social-icons li {
    list-style: none;
    float: left;
    margin: -6px 20px 15px 0;
}

.team .social-icons li i {
    text-align: center;
    line-height: 35px;
    list-style: none;
    font-size: 16px;
    border-bottom: none;
    float: left;
}

.team .social-icons {
    margin-left: -40px;
    position: relative;
    z-index: 999;
}


/* skillbar */

.skills {
    padding-top: 35px;
}

.skillbar-title {
    position:absolute;
    top: -23px;
    left:0;
    font-weight: 400!important;
    color: #000000;
    -webkit-border-top-left-radius:3px;
    -webkit-border-bottom-left-radius:4px;
    -moz-border-radius-topleft:3px;
    -moz-border-radius-bottomleft:3px;
    border-top-left-radius:3px;
    border-bottom-left-radius:3px;
}

.skillbar-title span {
    display:block;
    height: 30px;
    line-height: 10px;
    -webkit-border-top-left-radius:3px;
    -webkit-border-bottom-left-radius:3px;
    -moz-border-radius-topleft:3px;
    -moz-border-radius-bottomleft:3px;
    border-top-left-radius:3px;
    border-bottom-left-radius:3px;
}

.skill-bar-percent {
    position:absolute;
    right: 0;
    top: -33px;
    line-height: 30px;
    color: #000000;
    font-weight: 400!important;
}

.skillbar-bar {
  width: 0px;
  height: 1px;
  background: rgb(10, 5, 5);
}

.skillbar {
    position:relative;
    display:block;
    width:100%;
    height: 1px;
    border-bottom: 1px solid #eaeaea;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -ms-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-transition-property: width, background-color;
    -moz-transition-property: width, background-color;
    -ms-transition-property: width, background-color;
    -o-transition-property: width, background-color;
    transition-property: width, background-color;
}




/* experience & hobbies */

.experience-box .icon i, .hobbies-box .icon i {
    max-width: 100%;
    position: relative;
    margin: 0 auto;
    display:block;
    font-size: 25px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    border-bottom: none;
    color: #000;
}

.experience-box span {
    font-weight: 400;
    font-size: 14px;
}

.experience-box, .hobbies-box {
  text-align: center;
}

h3.title-section {
    font-weight: 400;
    font-size: 1.9em;
    margin-top: 120px;
}

h3.title-section span {
    font-weight: 400;
    font-size: 1.0em;
}

h3.title-section:after {
    content: " ";
    border: solid 1px #000000;
    display: block;
    width: 30px;
    margin: 15px auto;
}

.experience-box h4:after {
    content: '//';
    height: 10px;
    line-height: 8px;
    border: solid 1px #000;
    display: block;
    width: 27px;
    margin: 15px auto;
    font-size: 10px;
}

.experience-box h4, .hobbies-box h4 {
    font-size: 14px;
    padding-top: 0;
    font-weight: 400;
    margin-top: 15px;
}



/* partners */

.partners {
    text-align: center;
}

.photo-about img {
  max-width:  100%;
}


/* Contact form */

.contact-form p {
    margin-bottom: 10px;
}

.contact-form  input[type='text'], .contact-form  input[type='email'] {
  background: transparent;
  height: 40px;
  width: 100%;
  margin-bottom: 5px;
  border: 1px solid #EDEDED;
  font-size: 13px;
  padding: 5px 15px 5px 15px;
  outline: none;
      font-weight: 300;
  -webkit-transition: all 0.3s!important;
  -moz-transition: all 0.3s!important;
  transition: all 0.3s!important;
}

.contact-form textarea {
    width: 100%;
    background: transparent;
    font-size: 13px;
    padding: 15px;
    height: 150px;
    border: 1px solid #EDEDED;
    outline: none;
    resize: none;
    font-weight: 300;
    -webkit-transition: all 0.3s!important;
    -moz-transition: all 0.3s!important;
    transition: all 0.3s!important;
}

.contact-form .contact-button {
  color: #000;
  outline: none;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  margin-top: 5px;
  line-height: 16px;
  background: none;
  font-weight: 400;
  letter-spacing: 1px;
  border: 1px solid #000;
  padding: 14px 22px 12px 22px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.contact-form .contact-button:hover {
    color: #fff;
    background-color: #000;
}

.contact-form {
    background: #FFF;
    width: 100%;
    z-index: 999;
    border-radius: 3px;
}

.contact-form .error {
    color: red;
    font-size: 13px;
}


.contact-form input[type='text'].error,
.contact-form input[type='email'].error,
.contact-form textarea.error  {
    border: 1px solid rgba(243, 0, 0, 0.2);
}

.contact-form::-webkit-input-placeholder {
    color: #8e8e8e;
}

.contact-form:-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

.contact-form::-moz-placeholder {
    color: #8e8e8e;
    opacity: 1;
}

.contact-form:-ms-input-placeholder {
    color: #8e8e8e;
}

.contact-form .message {
    text-align: left;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
    display: none;
    background-color: transparent;
  }
  
  .contact-form .message.success {
      border: 1px solid #84e11f;
      padding: 8px 12px 8px 12px;
  }
  
  .contact-form .message.danger {
      border: 1px solid #cc0404;
      padding: 8px 12px 8px 12px;
  }
  
  .contact-form .message.success i {
      color: #84e11f;
      padding-right: 5px;
  }
  
  .contact-form .message.danger i {
      color: #cc0404;
      padding-right: 5px;
  }

/* ================================ */
/* :::::: About Section Styles ::::::: */

.space,
.space-top {
  padding-top: 100px;
}

.space,
.space-bottom {
  padding-bottom: 100px;
}

.space#about-sec {
  background: #f8f9fa;
}

.img-box1 {
  position: relative;
  z-index: 2;
  padding-bottom: 78px;
}

.img-box1 .img1 {
  display: inline-block;
  position: relative;
  z-index: 2;
}

.img-box1 .img1 img {
  width: 100%;
}

.img-box1 .img1:before {
  content: '';
  background-color: #f0f0f0;
  position: absolute;
  bottom: -40px;
  left: -40px;
  height: 100%;
  width: 100%;
  -webkit-animation: jumpAni 7s linear infinite;
  animation: jumpAni 7s linear infinite;
  z-index: -1;
}

.img-box1 .img2 {
  position: absolute;
  bottom: 0px;
  right: 0;
  z-index: 3;
}

.img-box1 .img2 img {
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.img-box1 .ripple-shape {
  --border-color: #8B7355;
  --circle-size: 54px;
  --opacity-original: 1;
  --opacity-animate: 0;
  --duration: 10s;
  position: absolute;
  bottom: calc(var(--circle-size) * -0.5);
  left: calc(var(--circle-size) * -0.5);
  z-index: 3;
}

.img-box1 .year-counter {
  position: absolute;
  top: 0;
  right: 40px;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  background-color: #ffffff;
  z-index: 4;
  max-height: 208px;
}

.year-counter {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.year-counter_number {
  font-size: 64px;
  font-weight: 700;
  color: #8B7355;
  -webkit-writing-mode: horizontal-tb;
  -ms-writing-mode: lr-tb;
  writing-mode: horizontal-tb;
  line-height: 46px;
}

.year-counter_title {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  display: block;
}

.year-counter_text {
  font-size: 18px;
  font-weight: 600;
  color: #8B7355;
}

.ripple-shape {
  --circle-size: 54px;
  height: var(--circle-size);
  width: var(--circle-size);
}

.ripple-1,
.ripple-2,
.ripple-3,
.ripple-4,
.ripple-5,
.ripple-6 {
  --duration: 6s;
  height: var(--circle-size);
  width: var(--circle-size);
  position: absolute;
  inset: 0;
  background-color: transparent;
  border: 1px solid #8B7355;
  border-radius: 50%;
  -webkit-animation: rippleShape var(--duration) linear infinite;
  animation: rippleShape var(--duration) linear infinite;
}

.ripple-1 {
  -webkit-animation-delay: 0;
  animation-delay: 0;
}

.ripple-2 {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.ripple-3 {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.ripple-4 {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.ripple-5 {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

.ripple-6 {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

@-webkit-keyframes rippleShape {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(4);
    transform: scale(4);
  }
}

@keyframes rippleShape {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(4);
    transform: scale(4);
  }
}

@-webkit-keyframes jumpAni {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes jumpAni {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.title-area {
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.sec-title {
  margin-bottom: 20px;
  margin-top: -0.24em;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 2.5em;
  color: #333;
  line-height: 1.2;
}

.sub-title {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #8B7355;
  margin-bottom: 30px;
  text-transform: capitalize;
  line-height: 24px;
  margin-top: -0.34em;
}

.sub-title:has(img) {
  margin-top: 0;
}

.sub-title img {
  margin: -5px 8px 0 0;
}

.checklist.style2 ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.checklist.style2 li {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  border: 1px solid #e0e0e0;
  gap: 10px;
  padding: 23px;
  display: flex;
  align-items: center;
}

.checklist.style2 li:not(:last-child) {
  margin-bottom: 0 !important;
}

.checklist.style2 li > i {
  font-size: 24px;
  color: #8B7355;
}

.themeholy-btn {
  position: relative;
  z-index: 2;
  overflow: hidden;
  vertical-align: middle;
  display: inline-block;
  border: none;
  text-transform: uppercase;
  text-align: center;
  background-color: #8B7355;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 21px 30px;
  min-width: 166px;
  border-radius: 0;
  text-decoration: none;
}

.themeholy-btn:before, .themeholy-btn:after {
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #6b5a42;
  z-index: -1;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-radius: 0;
}

.themeholy-btn:before {
  -webkit-transform: scale(0) rotate(-45deg);
  -ms-transform: scale(0) rotate(-45deg);
  transform: scale(0) rotate(-45deg);
}

.themeholy-btn:after {
  -webkit-transform: scale(0) rotate(45deg);
  -ms-transform: scale(0) rotate(45deg);
  transform: scale(0) rotate(45deg);
}

.themeholy-btn:hover, .themeholy-btn.active {
  color: #ffffff;
  box-shadow: none;
}

.themeholy-btn:hover::before, .themeholy-btn:hover:after, .themeholy-btn.active::before, .themeholy-btn.active:after {
  border-radius: 0;
  -webkit-transform: scale(1) rotate(0);
  -ms-transform: scale(1) rotate(0);
  transform: scale(1) rotate(0);
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-n2 {
  margin-top: -10px;
}

/* Large devices */
@media (max-width: 1199px) {
  .img-box1 .img1 {
    display: block;
    width: 70%;
  }
  .img-box1 .img1 img {
    max-height: 500px;
    object-fit: cover;
  }
  .img-box1 .year-counter {
    right: 90px;
    top: 40px;
  }
}

/* Medium devices */
@media (max-width: 991px) {
  .img-box1 {
    margin-bottom: 50px;
  }
  .img-box1 .year-counter {
    right: 60px;
    position: relative;
    top: auto;
    right: auto;
    margin-top: 30px;
    display: inline-block;
  }
  .checklist.style2 ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .checklist.style2 li {
    padding: 17px;
  }
}

/* Small devices */
@media (max-width: 767px) {
  .img-box1 .year-counter {
    top: 0;
    right: 30px;
  }
  .space {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .sec-title {
    font-size: 2em;
  }
  .checklist.style2 ul {
    grid-template-columns: repeat(1, 1fr);
  }
  .checklist.style2 li {
    padding: 20px;
  }
}

/* Extra small devices */
@media (max-width: 575px) {
  .checklist.style2 ul {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 340px) {
  .checklist.style2 ul {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* :::::: 8. Responsive CSS ::::::: */
/* ================================ */

@media only screen and (max-width: 1478px) {
    #rex_menu ul li ul ul {
      left: -100%!important;
      right: auto;
    }

    #rex_menu ul li ul {
        right: 0;
    }
}

@media only screen and (max-width: 1036px) {
  .page-loader h1,
  .page-loader .randoms--h1 {
    font-size: 4vw;
  }
  .page-loader h4,
  .page-loader .randoms--h4 {
    font-size: 2.5vw;
  }
    .shopContainer.columns-3 .product {
        width: 50%;
    }
    /* Beat header layout `nav { display: flex !important; }` so only one menu shows */
    header nav {
        display: none !important;
    }
    /*
     * Logo visually centered in the bar, menu button on the right:
     * 1fr | auto (logo) | 1fr — equal side tracks so the logo sits on the viewport midline.
     */
    header .col-md-12 {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        justify-content: stretch !important;
        gap: 0 !important;
        flex-wrap: unset !important;
    }
    header .logo {
        grid-column: 2 !important;
        justify-self: center !important;
        font-size: 1.8em;
        max-width: 300px;
    }
    .slicknav_menu {
        grid-column: 3 !important;
        justify-self: end !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        position: relative !important;
        float: none !important;
        z-index: 100050 !important;
    }
    /* Undo plugin absolute corner placement so the control stays in the flex row */
    .slicknav_menu .slicknav_btn {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        float: none !important;
        width: auto !important;
        min-height: 44px;
        padding: 8px 14px !important;
        background: transparent !important;
        background-color: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.9) !important;
    }
    .slicknav_menu .slicknav_menutxt {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    /* Open panel: tuck under the toggle, right-aligned, not a full-width strip between header and hero */
    .slicknav_menu .slicknav_nav ul:first-child {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        left: auto !important;
        right: 0 !important;
        width: min(100vw - 32px, 320px) !important;
        max-height: min(70vh, 480px) !important;
        overflow-y: auto !important;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45) !important;
    }
    .cart-container {
        display: none;
    }
    .load-more,
    .cbp-l-loadMore-link {
        width: 100%;
    }
    header .logo img {
        max-width: 300px;
    }
    .post {
        margin-bottom: 60px;
    }
    .blogContainer .post {
        width: 100%;
    }
    .sidebar-product-list img {
        float: right;
    }
}

@media only screen and (max-width: 768px) {

      .sidebar-product-list img {
        float: right;
    }

  .blog-minimal {
    display: block;
}

.blog-minimal .col-md-5 {
    padding-right: 0;
}
.blog-minimal .col-md-7 {
    padding-left: 0;
    padding-right: 0;
}
.page-loader h4:first-child,
.page-loader .randoms--h4:first-child {
    margin-bottom: -3.8vw;
}

.page-loader h4:last-child,
.page-loader .randoms--h4:last-child {
    margin-top: -2.2vw;
}
    .blogContainer .blog-column-two,
    .blogContainer .blog-column-three {
        width: 100%;
    }
    .partners {
        width: 100%;
        margin-bottom: 90px;
    }
    #sidebar {
        margin-top: 100px;
    }

    .photo-about img {
    margin-bottom: 45px;
}

}

@media only screen and (max-width: 667px) {

.page-loader h1,
.page-loader .randoms--h1 {
  font-size: 6vw;
}

.page-loader h4,
.page-loader .randoms--h4 {
  font-size: 4vw;
}
    #comments .child-comment {
        padding: 0;
    }
    .portfolioFilter a {
        width: 100%;
        display: inline-block;
    }
    .portfolioFilter {
        width: 100%;
        overflow: hidden;
    }
    .portfolioFilter a.current:before,
    .portfolioFilter a:before {
        content: "";
        height: 17px;
        background: #000;
    }
    .portfolioFilter a:hover:before,
    .portfolioFilter a:hover:after {
        height: 17px;
    }
    .portfolioFilter a.current:after,
    .portfolioFilter a:after {
        content: "";
        height: 17px;
        background: #000;
    }
    .nivo-lightbox-next,
    .nivo-lightbox-prev {
        bottom: 0;
        margin-right: 5px;
        margin-left: 5px;
    }

    .portfolioFilter .cbp-filter-item {
      width: 100%;
      display: inline-block;
      margin-bottom: 14px;
    }

    .portfolioFilter {
     width: 100%;
     overflow: hidden;
    }

    .portfolioFilter .cbp-filter-item:before, .portfolioFilter .cbp-filter-item:before {
      content: "";
      height: 17px;
      background: #000;
    }

    .portfolioFilter .cbp-filter-item:hover:before, .portfolioFilter .cbp-filter-item:hover:after {
      height: 17px;
    }

    .portfolioFilter .cbp-filter-item:after, .portfolioFilter .cbp-filter-item:after  {
      content: "";
      height: 17px;
      background: #000;
    }



}

@media only screen and (max-width: 540px) {
    .shopContainer.columns-3 .product {
        width: 100%;
    }
    .cart-widget {
        right: -90px;
    }
    .parallax .info h2 {
        font-size: 2.3em;
    }
  
    .format-gallery ul.gallery-projects li {
        width: 100%;
    }
    .single-navigation .next-button,
    .single-navigation .prev-button,
    .post-navigation .next-button,
    .post-navigation .prev-button {
        float: none;
        padding-bottom: 20px;
    }

    .post-navigation .prev-button a, .post-navigation .next-button a {
      display: block;
      padding: 7px 22px 6px 22px;
    }
    .single-navigation .next-button,
    .post-navigation .next-button {
        padding-bottom: 20px;
    }
    .single-navigation,
    .post-navigation {
        text-align: center;
    }



.page-loader h1,
.page-loader .randoms--h1 {
  font-size: 8vw;
}

.page-loader h4,
.page-loader .randoms--h4 {
  font-size: 5vw;
}

.product-single-info, .product-single-image {
  width: 100%;
}
.product-single-image {
  margin-bottom: 50px;
}

footer .social-icons {
    float: none;
    display: inline-block;
    text-align: center;
}
.shop-ordering select {
    margin-bottom: 30px;
}


}

@media only screen and (max-width: 320px) {
    .cart-widget {
        right: -118px;
    }

    .page-loader h4:first-child,
    .page-loader .randoms--h4:first-child {
    margin-bottom: -5.8vw;
}

.page-loader h4:last-child,
.page-loader .randoms--h4:last-child {
    margin-top: -2.2vw;
}


}

.parallax {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 100%;
  right: 0;
  left: 0;
  height: 730px;
  margin-bottom: 80px;
  margin-top: -185px;
}

.parallax:before {
  content: '';
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}

.parallax .info {
  position: absolute;
  top: 44%;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px 0 40px;
}

.parallax .info h2 {
  font-weight: 300;
  font-size: 3.1em;
  color: #000;
  letter-spacing: 0.40em;
  text-transform: uppercase;
}

.parallax .info h2 span:last-child {
  font-weight: 400;
}

.parallax .info h2:before {
  content: '';
  border: solid 2px #000000;
  display: block;
  width: 35px;
  margin: 20px auto;
}

.parallax .info h2:after {
  content: '';
  border: solid 2px #000000;
  display: block;
  width: 35px;
  margin: 20px auto;
}

nav {
    float: none;
    height: 50px;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    align-items: center;
    margin-right: 0;
}

/* ===== RNR Stone: home page (moved from index.html inline styles) ===== */

/* RNR Stone — styles used only on index.html (formerly inline in the page). */

/* Hero Section Styles */
.hero-slideshow {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #050505;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  animation: fadeInUp 1.2s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared typography with stone gallery (DM Sans + Cormorant) */
.pre-gallery-block-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 40px;
}

.pre-gallery-eyebrow {
  margin: 0 0 10px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1e4f80;
  opacity: 0.92;
}

.pre-gallery-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #0f2744;
}

/* Features â€” glass-forward cards; section bg transparent (wrapper gradient) */
.features-section {
  --feat-accent: #2f74b5;
  --feat-navy: #0f2744;
  padding: 56px 0 64px;
  background: transparent;
}

.features-section .row > [class*="col-"] {
  display: flex;
}

.feature-box {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 38px 28px 34px;
  min-height: 280px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  border: 1px solid rgba(15, 39, 68, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 0 rgba(15, 39, 68, 0.04),
    0 20px 48px rgba(15, 39, 68, 0.09);
  transition:
    transform 0.45s cubic-bezier(0.42, 0.78, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.42, 0.78, 0.32, 1),
    border-color 0.35s ease;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(120px, 42%);
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--feat-accent), transparent);
  pointer-events: none;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 116, 181, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 0 rgba(47, 116, 181, 0.15),
    0 28px 56px rgba(15, 39, 68, 0.12);
}

.feature-box .icon {
  font-size: 2.35em;
  color: var(--feat-accent);
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px rgba(47, 116, 181, 0.35));
}

.feature-box h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  margin-bottom: 14px;
  color: var(--feat-navy);
  letter-spacing: 0.02em;
}

.feature-box p {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.98rem;
  color: rgba(15, 39, 68, 0.72);
  line-height: 1.65;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* Products â€” wrapper carries gradient; tiles are glass over it */
.products-section {
  --prod-accent: #2f74b5;
  --prod-title-plate-bg: rgba(11, 31, 54, 0.48);
  --prod-title-plate-border: rgba(255, 255, 255, 0.14);
  padding: 72px 0 88px;
  background: transparent;
}

.products-section .pre-gallery-block-header {
  text-align: center;
  max-width: none;
  width: fit-content;
  margin: 0 auto 44px;
  padding: 11px 28px 13px;
  background: var(--prod-title-plate-bg);
  border-radius: 14px;
  border: 1px solid var(--prod-title-plate-border);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 20px 48px rgba(11, 31, 54, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.products-section .pre-gallery-title {
  color: #f4f1ea;
  text-shadow: 0 2px 24px rgba(11, 31, 54, 0.35);
}

/*
  Large screens: 3 tiles row 1 + 2 centered row 2 (6-column grid).
  Photo square = full tile width above nameplate (~304px at 1008px grid) â€” square art ~800Ã—800px WebP.
*/
.products-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 561px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1008px;
    margin-left: auto;
    margin-right: auto;
  }

  .products-grid > div:nth-child(1) {
    grid-column: 1 / span 2;
  }

  .products-grid > div:nth-child(2) {
    grid-column: 3 / span 2;
  }

  .products-grid > div:nth-child(3) {
    grid-column: 5 / span 2;
  }

  .products-grid > div:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .products-grid > div:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.product-link-card {
  --prod-tilt-rx: 0deg;
  --prod-tilt-ry: 0deg;
  --prod-img-x: 0px;
  --prod-img-y: 0px;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    rgba(255, 255, 255, 0.06) 52%,
    rgba(15, 39, 68, 0.15) 100%
  );
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  transform: perspective(880px) rotateX(var(--prod-tilt-rx)) rotateY(var(--prod-tilt-ry));
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(15, 39, 68, 0.08),
    0 10px 28px rgba(11, 31, 54, 0.2),
    0 26px 52px rgba(11, 31, 54, 0.26);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  /* transform omitted from transition â€” pointer tilt tracks like gallery */
  transition: box-shadow 0.45s cubic-bezier(0.42, 0.78, 0.32, 1), border-color 0.35s ease;
}

.product-link-card:hover {
  transform: perspective(880px) rotateX(var(--prod-tilt-rx)) rotateY(var(--prod-tilt-ry)) translateY(-7px);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(15, 39, 68, 0.06),
    0 16px 36px rgba(11, 31, 54, 0.22),
    0 36px 64px rgba(11, 31, 54, 0.32),
    0 0 0 1px rgba(47, 116, 181, 0.28);
}

.product-link-card:focus-visible {
  outline: 2px solid var(--prod-accent);
  outline-offset: 3px;
}

.product-link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(47, 116, 181, 0.55), transparent);
  pointer-events: none;
  opacity: 0.85;
}

.product-link-card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent 0%, var(--prod-accent) 50%, transparent 100%);
}

.product-link-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
}

.product-link-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(10px, 3.5vw, 16px);
  display: block;
  box-sizing: border-box;
  transform: translate3d(var(--prod-img-x, 0px), var(--prod-img-y, 0px), 0) scale(1.06);
  transform-origin: center center;
  will-change: transform;
}

/* Veracruz: same layout as other tiles; soft shadow on the img only. */
.product-link-card img[src*="veracruz-product-cover-photo"] {
  -webkit-filter: drop-shadow(8px 9px 14px rgba(0, 0, 0, 0.28)) drop-shadow(5px 6px 22px rgba(0, 0, 0, 0.14));
  filter: drop-shadow(8px 9px 14px rgba(0, 0, 0, 0.28)) drop-shadow(5px 6px 22px rgba(0, 0, 0, 0.14));
  will-change: transform, filter;
}

.product-link-card h3 {
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin: 0;
  padding: 16px 16px 18px 20px;
  color: #f4f1ea;
  text-align: center;
  letter-spacing: 0.03em;
  background: var(--prod-title-plate-bg);
  border-top: 2px solid rgba(47, 116, 181, 0.5);
  border-radius: 0 0 13px 13px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.product-link-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(
    180deg,
    var(--prod-accent) 0%,
    rgba(47, 116, 181, 0.45) 100%
  );
  box-shadow: 0 0 12px rgba(47, 116, 181, 0.35);
}

/* --- Stone gallery: symmetric accordion (large center, tapered wings) --- */
.gallery-showcase {
  --acc-text: #e4dfd6;
  --acc-gold: #c8a96a;
  --acc-muted: #5a5448;
  --acc-ease: cubic-bezier(0.42, 0.78, 0.32, 1);
  --acc-dur: 0.52s;
  --acc-filter-dur: 0.2s;
  --acc-img-dur: 0.58s;
  --acc-img-ease: cubic-bezier(0.42, 0.12, 0.2, 1);
  background: transparent;
  color: var(--acc-text);
  padding: 72px 0 80px;
  overflow-x: visible;
  overflow-y: visible;
}

body.collection-page .collection-kinetic-gallery {
  background: transparent;
  color: #e8e4dc;
  padding-top: 42px;
  /* Let 1.5× hover scale / tilt extend past the grid without clipping */
  overflow: visible;
}

body.collection-page .collection-kinetic-gallery .gallery-showcase__eyebrow {
  color: rgba(163, 205, 255, 0.88);
}

body.collection-page .collection-kinetic-gallery .gallery-showcase__title {
  color: rgba(248, 245, 238, 0.96);
}

body.collection-page .gallery-kinetic-bleed {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  position: relative;
  z-index: 2;
  /* overflow-x:hidden + overflow-y:visible forces overflow-y:auto and clips hover */
  overflow: visible;
  padding: 8px clamp(18px, 3.6vw, 40px);
  padding-bottom: clamp(96px, 14vh, 180px);
}

body.collection-page .collection-kinetic-gallery .gallery-showcase__below {
  position: relative;
  z-index: 1;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ── Lightcase image viewer: no inline px sizes from JS; CSS owns everything ─────────────────── */

html.lightcase-open,
html.lightcase-open body {
  overflow: hidden !important;
}

html[data-lc-type='image'] #lightcase-case {
  /* Override JS negative-margin centering with transform */
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  margin: 0 !important;
  -webkit-transform: translate(-50%, -50%) !important;
          transform: translate(-50%, -50%) !important;
  /* Size: auto so the case wraps the image; capped to viewport */
  width: auto !important;
  max-width: min(92vw, 1400px) !important;
  max-height: 92vh !important;
  max-height: 92dvh !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html[data-lc-type='image'] #lightcase-content {
  width: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

html[data-lc-type='image'] #lightcase-content .lightcase-contentInner {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  background: transparent !important;
  display: block !important;
  box-sizing: border-box !important;
}

html[data-lc-type='image'] #lightcase-content .lightcase-contentInner > img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  /* hard viewport caps — these always win over any natural image size */
  max-width: min(92vw, 1400px) !important;
  max-height: calc(88vh - 4.5rem) !important;
  max-height: calc(88dvh - 4.5rem) !important;
  object-fit: contain !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

html[data-lc-type='image'] #lightcase-info {
  box-sizing: border-box !important;
  max-width: 100% !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

html[data-lc-type='image'] #lightcase-info #lightcase-caption {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

/* Collection page: dark backdrop + caption pill */
html[data-lc-type='image'] body.collection-page #lightcase-content {
  background: transparent !important;
}

html[data-lc-type='image'] body.collection-page #lightcase-info #lightcase-caption {
  background: rgba(6, 8, 12, 0.82) !important;
  color: #f4f2ec !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75) !important;
}

.gallery-showcase .container {
  max-width: none;
  width: min(100%, 1320px);
  padding-left: clamp(18px, 3.6vw, 40px);
  padding-right: clamp(18px, 3.6vw, 40px);
}

.gallery-showcase__header {
  margin-bottom: 28px;
  max-width: 52rem;
}

.gallery-showcase__eyebrow {
  margin: 0 0 10px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

.gallery-showcase__eyebrowMain {
  display: block;
}

.gallery-showcase__eyebrowSub {
  display: block;
  margin-top: 0.34rem;
  margin-left: clamp(10px, 2.6vw, 28px);
  font-style: italic;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-showcase__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--acc-text);
}

/* Full-bleed row so outer wings can peek past the viewport */
.gallery-acc-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: visible;
  overflow-y: visible;
  padding: 6px 0 18px;
}

.gallery-acc-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  min-height: 480px;
  height: clamp(420px, 52vw, 560px);
  padding: 0 clamp(10px, 1.8vw, 24px);
}

.gallery-acc-panel {
  --tilt-rx: 0deg;
  --tilt-ry: 0deg;
  --bg-x: 0px;
  --bg-y: 0px;
  position: relative;
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  overflow: hidden;
  background: #0c0c0b;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  min-width: 0;
  transform-style: preserve-3d;
  /* transform omitted â€” pointer tilt must track the mouse without 0.8s smoothing */
  transition:
    flex-grow var(--acc-dur) var(--acc-ease),
    flex-shrink var(--acc-dur) var(--acc-ease),
    flex-basis var(--acc-dur) var(--acc-ease),
    height var(--acc-dur) var(--acc-ease),
    filter var(--acc-filter-dur) ease-out,
    box-shadow var(--acc-dur) var(--acc-ease);
}

.gallery-acc-panel:focus-visible {
  outline: 2px solid var(--acc-gold);
  outline-offset: 2px;
  z-index: 5;
}

/* Two stacked cover layers â€” crossfade on slide change (avoids hard cuts) */
.gallery-acc-bgs {
  position: absolute;
  inset: -3%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.gallery-acc-bgs .gallery-acc-panel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #141210;
  opacity: 0;
  transition: opacity var(--acc-img-dur) var(--acc-img-ease);
  transform: translate3d(var(--bg-x, 0px), var(--bg-y, 0px), 0) scale(1.08);
  transform-origin: center center;
  will-change: opacity, transform;
}

.gallery-acc-bgs .gallery-acc-panel__bg.is-visible {
  opacity: 1;
}

/* Inactive wings: desaturated / dark; height tapers toward outer edges */
.gallery-acc-panel--wing {
  flex-shrink: 1;
  align-self: center;
  --acc-zoom: 1;
  filter: saturate(0.6) brightness(0.7);
  transform: perspective(920px) rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg))
    scale(var(--acc-zoom));
  transform-origin: center center;
}

.gallery-acc-panel--wing:hover {
  --acc-zoom: 1.045;
  filter: saturate(0.72) brightness(0.78);
}

/* Taper from center outward â€” inner wing larger, outer smallest */
.gallery-acc-panel--wing.gallery-acc-left-t4,
.gallery-acc-panel--wing.gallery-acc-right-t4 {
  flex: 0.42 1 0%;
  min-width: 12px;
  height: 50%;
}

.gallery-acc-panel--wing.gallery-acc-left-t3,
.gallery-acc-panel--wing.gallery-acc-right-t3 {
  flex: 0.58 1 0%;
  min-width: 14px;
  height: 64%;
}

.gallery-acc-panel--wing.gallery-acc-left-t2,
.gallery-acc-panel--wing.gallery-acc-right-t2 {
  flex: 0.78 1 0%;
  min-width: 16px;
  height: 78%;
}

.gallery-acc-panel--wing.gallery-acc-left-t1,
.gallery-acc-panel--wing.gallery-acc-right-t1 {
  flex: 1.05 1 0%;
  min-width: 18px;
  height: 92%;
}

.gallery-acc-panel--center {
  flex: 4.5 1 0%;
  align-self: stretch;
  min-width: min(38vw, 400px);
  max-width: 52vw;
  height: auto;
  --acc-zoom: 1.03;
  filter: saturate(0.9) brightness(0.85);
  transform: perspective(920px) rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg))
    scale(var(--acc-zoom));
  transform-origin: center center;
  z-index: 2;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 22px 56px rgba(0, 0, 0, 0.55);
}

.gallery-acc-panel--center:hover {
  --acc-zoom: 1.055;
}

/* Vertical index on slim wings */
.gallery-acc-panel__index {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 169, 106, 0.38);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  pointer-events: none;
}

.gallery-acc-panel__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 8, 7, 0.72) 0%, transparent 52%);
}

.gallery-acc-panel__meta {
  position: absolute;
  left: clamp(16px, 2.6vw, 32px);
  right: clamp(16px, 2.8vw, 36px);
  bottom: clamp(22px, 4vw, 34px);
  z-index: 4;
  pointer-events: none;
}

.gallery-acc-panel__cat,
.gallery-acc-panel__title,
.gallery-acc-panel__origin {
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.34s var(--acc-ease), transform 0.34s var(--acc-ease);
}

.gallery-acc-panel__cat {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 200;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acc-gold);
}

.gallery-acc-panel__title {
  margin: 8px 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  line-height: 1.05;
  color: var(--acc-text);
}

.gallery-acc-panel__origin {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 200;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: rgba(228, 223, 214, 0.72);
  text-transform: uppercase;
}

/* Staggered reveal when center activates (toggle class in JS) */
.gallery-acc-panel--center.gallery-acc-panel--reveal .gallery-acc-panel__cat {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

.gallery-acc-panel--center.gallery-acc-panel--reveal .gallery-acc-panel__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.gallery-acc-panel--center.gallery-acc-panel--reveal .gallery-acc-panel__origin {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

.gallery-showcase__below {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: 20px;
}

.gallery-acc-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gallery-acc-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gallery-acc-nav__btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.gallery-acc-nav__btn:active {
  transform: translateY(0);
}

.gallery-acc-nav__btn:focus-visible {
  outline: 2px solid var(--acc-gold);
  outline-offset: 3px;
}

.gallery-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #8ec8ff;
  transition: color 0.25s ease;
}

.gallery-cta:hover,
.gallery-cta:focus-visible {
  color: #e8f6ff;
}

.gallery-cta::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: #4a9fe8;
  transform-origin: left center;
  transition:
    transform 0.45s var(--acc-ease),
    background-color 0.25s ease;
}

.gallery-cta:hover::after,
.gallery-cta:focus-visible::after {
  transform: scaleX(1.45);
  background: #b8e4ff;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-acc-panel {
    transition-duration: 0.01ms !important;
  }

  .gallery-acc-bgs .gallery-acc-panel__bg {
    transition-duration: 0.01ms !important;
  }

  .gallery-acc-bgs {
    inset: 0;
  }

  .gallery-acc-bgs .gallery-acc-panel__bg {
    transform: none;
    will-change: auto;
  }

  /* Keep tilt-capable transform so JS --tilt-* still applies; do not override to scale-only */
  .gallery-acc-panel--wing {
    transform: perspective(920px) rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg))
      scale(var(--acc-zoom));
  }

  .gallery-acc-panel--center {
    transform: perspective(920px) rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg))
      scale(var(--acc-zoom));
  }

  .gallery-acc-panel--center .gallery-acc-panel__cat,
  .gallery-acc-panel--center .gallery-acc-panel__title,
  .gallery-acc-panel--center .gallery-acc-panel__origin {
    transition-duration: 0.01ms !important;
  }

  .gallery-acc-panel--center .gallery-acc-panel__cat,
  .gallery-acc-panel--center .gallery-acc-panel__title,
  .gallery-acc-panel--center .gallery-acc-panel__origin {
    opacity: 1;
    transform: none;
  }
}

/* Blend gallery into footer with no hard separator */
#wrapper {
  margin-bottom: 0;
  padding-bottom: 0;
}

footer {
  --footer-gold: #c8a96a;
  --footer-text: #e4dfd6;
  margin-top: 0;
  background: transparent;
  color: #fff;
  padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4.5vw, 48px);
}

/* Reserved: remove class to show social links again */
footer .social-icons.footer-social--reserved {
  display: none;
}

footer .footer-contact {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3.5vw, 34px) clamp(20px, 4vw, 36px);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(200, 169, 106, 0.22);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

footer .footer-contact__label {
  margin: 0 0 18px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 18px rgba(47, 116, 181, 0.35);
}

footer .footer-contact__label::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--footer-gold), transparent);
  opacity: 0.85;
}

footer .footer-contact__lines {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

footer .footer-contact__sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--footer-gold);
  opacity: 0.55;
  box-shadow: 0 0 10px rgba(200, 169, 106, 0.45);
}

footer .footer-contact__link {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  letter-spacing: 0.04em;
  color: var(--footer-text);
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    text-shadow 0.25s ease;
}

footer .footer-contact__link:hover,
footer .footer-contact__link:focus-visible {
  color: #fff;
  border-bottom-color: rgba(200, 169, 106, 0.65);
  text-shadow: 0 0 24px rgba(200, 169, 106, 0.35);
  outline: none;
}

footer .footer-contact__link:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(200, 169, 106, 0.5);
}

@media (max-width: 520px) {
  footer .footer-contact__sep {
    display: none;
  }

  footer .footer-contact__lines {
    flex-direction: column;
    gap: 6px;
  }
}

footer .social-icons li a,
footer .social-icons li i,
footer .copyright {
  color: #fff;
}

footer .copyright {
  float: none;
  width: 100%;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

footer .copyright a {
  color: rgba(200, 169, 106, 0.92);
  text-decoration: none;
}

footer .copyright a:hover,
footer .copyright a:focus-visible {
  color: #c8a96a;
  text-decoration: underline;
}

footer .social-icons a:hover i {
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2em;
  }
  
  .hero-content p {
    font-size: 1.1em;
  }
  
  .feature-box {
    min-height: 0;
    padding: 28px 20px 26px;
  }
  
  .products-section .pre-gallery-title {
    font-size: clamp(1.75rem, 6vw, 2.35rem);
  }
}

@media (max-width: 560px) {

  .gallery-showcase {
    padding-top: 72px;
    padding-bottom: 70px;
  }

  .gallery-showcase__below {
    flex-direction: column;
    text-align: center;
  }

  .gallery-acc-bleed {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-acc-row {
    width: max-content;
    min-width: 100%;
    height: min(360px, 52vh);
    min-height: 280px;
    padding: 0 12px 10px;
  }

  .gallery-acc-panel--center {
    min-width: min(72vw, 320px);
    max-width: none;
  }
}

/* Header logo and hero backgrounds (previously inline on index.html) */
header .logo img {
  max-height: 150px;
}

.hero-slide--quarry {
  background-image: url("../images/rock-quarry.webp");
}

.hero-slide--cutting {
  background-image: url("../images/machine-cutting-stone.webp");
}

.hero-slide--hauling {
  background-image: url("../images/truck-hauling-stone.webp");
}

/* ================================= */
/* ::::::: Error 404 page :::::: */
/* ================================= */

.page-404 {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: #e4dfd6;
}

.page-404__top {
  flex-shrink: 0;
  background: linear-gradient(180deg, #2f74b5 0%, #0f2744 52%, #0b1f36 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  padding: 18px 0;
}

.page-404__top .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.page-404__top .logo img {
  max-height: 56px;
  width: auto;
  display: block;
}

.page-404__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-404__nav a {
  color: rgba(232, 240, 252, 0.92);
  text-decoration: none;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-404__nav a:hover,
.page-404__nav a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(200, 169, 106, 0.55);
  outline: none;
}

.page-404__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 88px) 20px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.page-404__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.page-404__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  text-align: center;
  padding: clamp(36px, 6vw, 52px) clamp(28px, 5vw, 44px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.page-404__eyebrow {
  margin: 0 0 12px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c8a96a;
}

.page-404__code {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4.5rem, 14vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.page-404__title {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.55rem, 3.8vw, 2.1rem);
  line-height: 1.15;
  color: #f4f1ea;
}

.page-404__text {
  margin: 0 0 28px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(228, 223, 214, 0.78);
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.page-404__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0b1f36;
  background: linear-gradient(180deg, #f4f6fa 0%, #dde7f2 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-404__btn:hover,
.page-404__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  color: #071525;
  outline: none;
}

.page-404__btn--ghost {
  color: rgba(232, 240, 252, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.page-404__btn--ghost:hover,
.page-404__btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.page-404__foot {
  flex-shrink: 0;
  padding: 20px;
  text-align: center;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.38);
  background: transparent;
}

.page-404__foot a {
  color: rgba(200, 169, 106, 0.85);
  text-decoration: none;
}

.page-404__foot a:hover {
  color: #c8a96a;
}

/* --- Collection product pages (brindle, driftwood, palisades, pearl, veracruz) --- */
/* Site background: same global body gradient as index; shell is layout-only. */
html.collection-page {
  height: 100%;
}

body.collection-page {
  min-height: 100%;
  /* Same --rnr-site-gradient as global body; do not override background here. */
}

body.collection-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body.collection-page > header,
body.collection-page > .collection-hero.parallax {
  flex-shrink: 0;
}

body.collection-page .collection-page-gradient-shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: clamp(28px, 4vw, 48px);
  background-color: transparent;
  background-image: none;
}

body.collection-page #wrapper {
  background-color: transparent !important;
  background-image: none !important;
}

body.collection-page .collection-page-gradient-shell #wrapper {
  flex: 1 0 auto;
  overflow: visible;
  /* Default #wrapper padding-top: 80px reads as an empty band on short pages; keep rhythm without the slab */
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

/* Footer sits inside shell: let the shell gradient show through (same idea as pre-footer blend) */
body.collection-page footer {
  flex-shrink: 0;
  margin-top: 0;
  background: transparent !important;
}

/*
 * Collection / About hero (background-image + cover):
 * Banner is full viewport width and about 360–500px tall. Use a wide landscape master so cover can crop
 * top/bottom without side gaps — e.g. 2400×900 to 2560×1000px (about 2.4:1–2.8:1), minimum ~1920×800;
 * WebP or optimized JPEG, sRGB. Keep important detail in the center third for the title overlay.
 */
/* Shorter hero; title block vertically centered so space above ≈ space below */
body.collection-page .collection-hero.parallax {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(360px, 40vh, 500px) !important;
  min-height: 360px;
  max-height: 500px;
  /* Base .parallax uses margin-top: -185px to tuck under the old theme header — RNR header is opaque; reset so the hero is not hidden */
  margin-top: 0 !important;
  /* Margin here exposed body’s #fff — spacing moved to .collection-page-gradient-shell padding-top */
  margin-bottom: 0;
  /* Full-bleed strip (100% can sit inset vs the viewport when ancestors use transforms / subpixel layout) */
  width: 100vw;
  max-width: none;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  overflow: hidden;
  /* Behind transparent hero art (e.g. WebP with alpha): black, not brand blue */
  background-color: #000000;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center center;
}

body.collection-page .collection-hero.parallax .info {
  position: relative;
  z-index: 2;
  top: auto;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 40px);
}

body.collection-page .collection-hero.parallax:before {
  /* ~50% lighter scrim than before so stone color reads through */
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

body.collection-page .collection-hero.parallax .info h2 {
  color: #000000;
  text-shadow: none;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
  /* Responsive sizing and tracking compression before stronger downscale */
  font-size: clamp(2.1rem, 5.2vw, 4.25rem);
  line-height: 1.05;
  /* Used when textillate splits into chars */
  --hero-char-gap: 0.38em;
}

/*
 * Textillate splits the title into .charN spans. Parent letter-spacing plus per-char boxes
 * stacks spacing and can blow past the hero width — overflow:hidden then clips letters.
 * Reset tracking on the h2 once chars exist; space glyphs with margin on each char.
 */
body.collection-page .collection-hero.parallax .info h2.is-char-split {
  letter-spacing: 0;
}

body.collection-page .collection-hero.parallax .info h2 [class^="char"] {
  margin-right: var(--hero-char-gap);
}

body.collection-page .collection-hero.parallax .info h2 [class^="char"]:last-child {
  margin-right: 0;
}

/* Shrink spacing first, then reduce title size if still needed. */
@media (max-width: 1100px) {
  body.collection-page .collection-hero.parallax .info h2 {
    --hero-char-gap: clamp(0.19em, 4vw - 2.2em, 0.38em);
  }
}

@media (max-width: 700px) {
  body.collection-page .collection-hero.parallax .info h2 {
    font-size: clamp(1.45rem, 7.6vw, 2.7rem);
  }
}

body.collection-page .collection-hero.parallax .info h2:before,
body.collection-page .collection-hero.parallax .info h2:after {
  border-color: #000000;
}

/* About hero only: new art + light title / rules */
body.collection-page .about-page-hero.parallax:before {
  background: rgba(11, 31, 54, 0.38);
}

body.collection-page .about-page-hero.parallax .info h2 {
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(11, 31, 54, 0.55);
}

body.collection-page .about-page-hero.parallax .info h2:before,
body.collection-page .about-page-hero.parallax .info h2:after {
  border-color: #ffffff;
}

/* Contact hero: stronger light scrim so title stays legible on busier photography */
body.collection-page .contact-page-hero.parallax:before {
  background: rgba(255, 255, 255, 0.62);
}

body.collection-page .contact-page-hero.parallax .info h2:before,
body.collection-page .contact-page-hero.parallax .info h2:after {
  border-color: #000000;
}

/* Contact page — two-column block, no section panel; sits on site gradient */
body.collection-page .contact-showcase {
  padding: clamp(56px, 10vh, 120px) 0 clamp(64px, 12vh, 140px);
  background: transparent;
}

body.collection-page .contact-showcase__container {
  max-width: none;
  width: min(100%, 1200px);
  padding-left: clamp(18px, 3.6vw, 40px);
  padding-right: clamp(18px, 3.6vw, 40px);
}

body.collection-page .contact-showcase__grid {
  --contact-media-radius: 16px;
}

body.collection-page .contact-showcase__mediaFrame {
  position: relative;
  border-radius: var(--contact-media-radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 12px 40px rgba(11, 31, 54, 0.12);
}

body.collection-page .contact-showcase__mediaFrame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 70% 75% at 50% 45%,
    transparent 35%,
    rgba(4, 10, 20, 0.18) 100%
  );
}

body.collection-page .contact-showcase__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  body.collection-page .contact-showcase__mediaFrame {
    aspect-ratio: 4 / 5;
    max-height: 62vh;
  }

  body.collection-page .contact-showcase__img {
    position: absolute;
    inset: 0;
  }
}

@media (min-width: 992px) {
  body.collection-page .contact-showcase__mediaFrame {
    min-height: min(78vh, 760px);
    height: 100%;
  }

  body.collection-page .contact-showcase__img {
    position: absolute;
    inset: 0;
  }
}

body.collection-page .contact-showcase__formColumn {
  max-width: 32rem;
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 991.98px) {
  body.collection-page .contact-showcase__formColumn {
    margin-left: 0;
    max-width: none;
  }
}

body.collection-page .contact-showcase__formHeading {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

body.collection-page .contact-showcase__formLead {
  margin: 0 0 24px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

body.collection-page .contact-showcase__alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #7f1d1d;
  background: rgba(254, 242, 242, 0.92);
  border: 1px solid rgba(185, 28, 28, 0.35);
}

body.collection-page .contact-showcase__field {
  margin-bottom: 18px;
}

body.collection-page .contact-showcase__label {
  display: block;
  margin-bottom: 6px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

body.collection-page .contact-showcase__input,
body.collection-page .contact-showcase__textarea {
  display: block;
  width: 100%;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.92rem;
  color: #ffffff;
  background: var(--rnr-accent);
  border: 1px solid rgba(30, 80, 130, 0.65);
  border-radius: 10px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

body.collection-page .contact-showcase__input::placeholder,
body.collection-page .contact-showcase__textarea::placeholder {
  color: #b8d4f0;
  opacity: 1;
}

body.collection-page .contact-showcase__input {
  padding: 12px 14px;
  min-height: 48px;
}

body.collection-page .contact-showcase__textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 140px;
}

body.collection-page .contact-showcase__input:hover,
body.collection-page .contact-showcase__textarea:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: #3a7eb8;
}

body.collection-page .contact-showcase__input:focus,
body.collection-page .contact-showcase__textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.15);
  background: var(--rnr-accent);
}

body.collection-page .contact-showcase__submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 15px 22px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rnr-accent);
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease,
    color 0.2s ease;
}

body.collection-page .contact-showcase__submit:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.92);
  color: #256cad;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

body.collection-page .contact-showcase__submit:active:not(:disabled) {
  transform: translateY(1px);
}

body.collection-page .contact-showcase__submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

body.collection-page .contact-showcase__success {
  max-width: 32rem;
  margin-left: auto;
  padding: clamp(24px, 4vw, 36px) 0;
}

@media (max-width: 991.98px) {
  body.collection-page .contact-showcase__success {
    margin-left: 0;
  }
}

body.collection-page .contact-showcase__successText {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

/* Per-letter fade only (no slide); timing pairs with mt_texteffect for .collection-hero */
body.collection-page .collection-hero.parallax .info h2 .animated {
  animation-duration: 0.75s !important;
  animation-timing-function: ease-out;
}

/* About page: main copy band (shell + #wrapper handle vertical rhythm) */
body.collection-page .about-page-content {
  padding-top: 0;
  padding-bottom: 48px;
}

/* About — two columns: left image stacks above the text card (z-index); frosted fill covers full panel */
body.collection-page .about-page-story.row {
  position: relative;
}

body.collection-page .about-page-story__mediaCol {
  position: relative;
  z-index: 3;
}

@media (min-width: 768px) {
  body.collection-page .about-page-story__mediaCol {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 0;
    margin-right: clamp(-40px, -6vw, -12px);
  }
}

body.collection-page .about-page-story__media {
  position: relative;
  z-index: 3;
}

body.collection-page .about-page-story__media img,
body.collection-page .about-page-story__mediaCol .photo-about img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 10px 24px rgba(11, 31, 54, 0.18));
}

@media (max-width: 767px) {
  body.collection-page .about-page-story__mediaCol {
    justify-content: flex-start;
  }

  body.collection-page .about-page-story__media img,
  body.collection-page .about-page-story__mediaCol .photo-about img {
    object-position: center top;
  }
}

body.collection-page .about-page-story__textCol {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* Frosted panel: full-bleed fill on ::before so copy sits above it; no clip-path (white behind all text) */
body.collection-page .about-page-story__panel {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  padding-block: clamp(18px, 2.6vw, 28px);
  padding-inline: clamp(16px, 2.4vw, 26px);
  background: transparent;
  border: none;
  box-shadow: none;
  color: #0f2744;
}

body.collection-page .about-page-story__panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(248, 252, 255, 0.9) 45%,
    rgba(236, 244, 252, 0.88) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 0 rgba(15, 39, 68, 0.06),
    0 18px 40px rgba(15, 39, 68, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

body.collection-page .about-page-story__panel > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  body.collection-page .about-page-story.row.align-items-start {
    align-items: stretch;
  }
}

body.collection-page .about-page-story__panel p {
  color: rgba(15, 39, 68, 0.92);
}

body.collection-page .about-page-story__panel a {
  color: #1e5f9a;
  font-weight: 500;
}

body.collection-page .about-page-story__panel a:hover {
  color: #0f2744;
  text-decoration: underline !important;
}

body.collection-page .about-page-story__eyebrow {
  margin: 0 0 10px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: #2f74b5;
  opacity: 0.95;
}

body.collection-page .about-page-story__title {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: #0a1f36;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.collection-page .about-page-story__ledeEnd {
  margin-bottom: 28px;
}

/* About — 3D feature chips */
body.collection-page .about-feature-card {
  --af-depth: rgba(11, 31, 54, 0.22);
  position: relative;
  padding: 22px 14px 20px;
  border-radius: 14px;
  transform-style: preserve-3d;
  transform: perspective(880px) rotateX(4deg) translateY(0);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(245, 249, 253, 0.78) 55%,
    rgba(228, 236, 246, 0.82) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.9),
    inset 0 -10px 20px rgba(47, 116, 181, 0.06),
    0 3px 0 rgba(15, 39, 68, 0.08),
    0 14px 28px var(--af-depth);
  transition:
    transform 0.35s cubic-bezier(0.42, 0.78, 0.32, 1),
    box-shadow 0.35s cubic-bezier(0.42, 0.78, 0.32, 1),
    border-color 0.25s ease;
}

body.collection-page .about-feature-card::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45) 0%,
    transparent 42%,
    rgba(47, 116, 181, 0.06) 100%
  );
  pointer-events: none;
  z-index: 0;
}

body.collection-page .about-feature-card > * {
  position: relative;
  z-index: 1;
}

body.collection-page .about-feature-card__icon {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #2f74b5;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.8));
}

body.collection-page .about-feature-card__title {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0f2744;
}

body.collection-page .about-feature-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(15, 39, 68, 0.88);
}

body.collection-page .about-feature-card:hover {
  transform: perspective(880px) rotateX(0deg) translateY(-6px) rotateY(-2deg);
  border-color: rgba(47, 116, 181, 0.35);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.95),
    inset 0 -6px 14px rgba(47, 116, 181, 0.08),
    0 4px 0 rgba(47, 116, 181, 0.12),
    0 22px 44px rgba(11, 31, 54, 0.2);
}

/* Screen-reader-only filter hook for cubeportfolio (visible UI is in HTML comment in page source) */
body.collection-page .collection-page-filter-placeholder {
  margin-bottom: 0 !important;
}

/*
 * Collection grid: Cube caption can set inline transform on img — tilt + parallax live on
 * .collection-tilt-layer; JS sets transform with !important (see mt_collectionGridTilt).
 */
body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item {
  overflow: visible;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item .image-box {
  position: relative;
  overflow: hidden;
  display: block;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item .collection-tilt-layer {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-transform: none !important;
  transform: none !important;
  object-fit: contain;
  object-position: center center;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item:hover img {
  -webkit-transform: none !important;
  transform: none !important;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item .caption-box {
  background: transparent;
  transition: background 0.32s ease;
  overflow: visible;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item .caption-box .caption-center-box,
body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item .caption-box .caption-body {
  overflow: visible;
  max-height: none;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item:hover .caption-box {
  background: linear-gradient(to top, rgba(8, 8, 7, 0.35) 0%, transparent 58%);
  padding-bottom: 20px;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item:hover .caption-box h2,
body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item:hover .caption-box p {
  left: auto;
  right: 22px;
  width: auto;
  max-width: min(92%, 22rem);
  display: block;
  text-align: right;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(5, 15, 28, 0.35);
  /* ~25–50% transparent plates (alpha ~0.28–0.45) */
  background: linear-gradient(
    155deg,
    rgba(47, 116, 181, 0.4) 0%,
    rgba(30, 79, 128, 0.34) 48%,
    rgba(15, 39, 68, 0.3) 100%
  );
  padding: 6px 12px;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(11, 31, 54, 0.18);
  overflow: visible;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item:hover .caption-box p {
  bottom: 22px;
  max-height: none;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item:hover .caption-box h2 {
  z-index: 2;
  padding-bottom: 10px;
}

body.collection-page #grid-classic.cbp.classicAnim.collection-grid .cbp-item:hover .caption-box h2::after {
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(47, 116, 181, 0.45) 22%,
    rgba(120, 170, 220, 0.42) 50%,
    rgba(47, 116, 181, 0.45) 78%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 1 !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
  z-index: 3;
}

/* ----- Index: materials / story / stats / zoom (moved from index.html) ----- */
.text-reveal {
  clip-path: inset(0 100% 0 0);
}

.materials-horizontal-section {
  padding: 80px 0 40px;
  background: #f5f5f2;
  overflow: hidden;
}

.materials-horizontal-wrap {
  width: min(1200px, 92vw);
  margin: 30px auto 0;
  overflow: hidden;
}

.materials-horizontal-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.material-panel {
  width: min(82vw, 420px);
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.1);
}

.material-panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.material-panel__content {
  padding: 20px;
}

.material-panel__content h3 {
  margin: 0 0 8px;
}

.story-scrolly {
  padding: 90px 0;
  background: #0f1315;
  color: #f6f8f9;
}

.story-scrolly__inner {
  width: min(1220px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
  gap: 36px;
}

.story-scrolly__sticky {
  position: sticky;
  top: 110px;
  align-self: start;
}

.story-scrolly__images {
  display: grid;
  gap: 26px;
}

.story-image {
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.stats-section {
  padding: 90px 0;
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background: #f6f7f8;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.stat-card__value {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.zoom-reveal-section {
  padding: 20px 0 90px;
  background: #ffffff;
}

.zoom-reveal-media {
  width: min(1220px, 92vw);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  transform-origin: center center;
}

.zoom-reveal-media img {
  width: 100%;
  min-height: 420px;
  max-height: 68vh;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .story-scrolly__inner {
    grid-template-columns: 1fr;
  }

  .story-scrolly__sticky {
    position: relative;
    top: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .material-panel {
    min-height: 470px;
  }
}
