/*!
Theme Name: Barcelunettes
Theme URI: https://thebig.co
Author: Big Dot
Author URI: https://thebig.co
Description: barcelunettes
Version: 1.9.3
Text Domain: barcelunettes

--------------------------------------------------------------*/
        :root {
            --boxed: 1400px;
            --boxedW: 1800px;
            /* Main container maximum width */
            --cPri600: #2499a3;
            --cPri600a: rgba(36,153,163,0.79);
            --cPri900: #0b1f39;
            --cSec600: #656666;
            --cTir600: blue;
            --fontPri: "Roboto Condensed", sans-serif;
            --fontSec: "sofia-pro-soft", sans-serif;



        }

        * {
            box-sizing: border-box;

        }

        /* Core */

html{
    font-size: 20px;
    line-height: 1.4;
}   

        body {
       
            font-family: var(--fontPri);
            color: var(--cSec600);
            background-color: #f5f5f5;
     
        }

        .cPri600{
            color: var(--cPri600);
        }
        .cSec600{
            color: var(--cSec600);
        }
        .cTir600{
            color: var(--cTir600);
        }

        .bgPri600{
            background-color: var(--cPri600);
        }
        .bgSec600{
            background-color: var(--cSec600);
        }
        .bgTir600{
            background-color: var(--cTir600);
        }


        /* Typography */

        h1, h2, h3{
            text-transform: uppercase;
            letter-spacing: 0.12rem;
        }

        h1 {
            font-size: 2rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        h3 {
            font-size: 1.6rem;
        }

        h4 {
            font-size: 1.4rem;
        }

        h5 {
            font-size: 1.2rem;
        }

        h6 {
            font-size: 1rem;
        }

        p {
            font-size: 1rem;
        }

        a{
            color: inherit;
        }

        small {
            font-size: .7rem;
        }
        
        .center{
            text-align: center;
        }

        .white{
            color: white;
        }

        .upper{
            text-transform: uppercase;
        }

        .fontPri{
            font-family: var(--fontPri);
        }
        .fontSec{
            font-family: var(--fontSec);
        }

        .h1L {
            font-family: var(--fontPri);
            font-size: 2.25rem; /* 36pt */
            font-weight: 200; /* Light */
            letter-spacing: .3rem; /* VA 120 */
        }

        .h1B {
            font-family: var(--fontPri);
            font-size: 2rem; /* 36pt */
            font-weight: 600; /* Bold */
            letter-spacing: 0.185rem; /* VA 120 */
        }

        .h2R {
            font-family: var(--fontPri);
            font-size: 1rem; /* 18pt */
            font-weight: 400; /* Regular */
            letter-spacing: 0.08rem; /* VA 90 */
        }

        .h2B {
            font-family: var(--fontPri);
            font-size: 1.125rem; /* 18pt */
            font-weight: 700; /* Bold */
            letter-spacing: 0.056rem; /* VA 90 */
        }

        .h3R, .h3R p {
            font-family: var(--fontPri);
            font-size: 0.85rem; /* 15pt */
            font-weight: 400; /* Regular */
            letter-spacing: 0.056rem; /* VA 90 */
        }

        .h3B {
            font-family: var(--fontPri);
            font-size: 0.9375rem; /* 15pt */
            font-weight: 700; /* Bold */
            letter-spacing: 0.056rem; /* VA 90 */
        }

        .s3R {
            font-family: var(--fontSec);
            font-size: .9rem; /* 18pt */
            font-weight: 400; /* Regular */
            letter-spacing: 0.15rem; /* VA 30 */
        }

        .h4R {
            font-family: var(--fontPri);
            font-size: 0.75rem; /* 12pt */
            font-weight: 400; /* Regular */
            letter-spacing: 0.075rem; /* VA 120 */
        }

        section a{
            color: inherit;
            text-decoration: none;
            border-bottom: 2px dotted

        }


/* Navbar */


.menu-container {
    width: 100%;
    max-width: var(--maxWidth);
    min-height: 250px;
    margin: 0 auto;
    background-color: var(--cPri600);
    font-family: var(--fontPri);
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 300px;
    text-transform: uppercase;
    font-size: 16px;
    color: white;
    letter-spacing: 2px;
    padding-bottom: 1rem;
}
.menu-container a{
    color: inherit;
}


.menu-container::after, .menu > ul > li > ul::after{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='125.7' height='12.4'%3E%3Cpath d='M0 0v3.1c31.4 0 31.4 9.3 62.9 9.3s31.4-9.3 62.8-9.3V0H0Z' style='fill:%232499a3'/%3E%3C/svg%3E");
    position: absolute;
    bottom: -16px;
    left: 0;
    display: block;
    width: 100%;
    height:16px;
    clear: both;
    pointer-events: none;
    background-repeat: repeat-x;


}
.menu > ul > li > ul::after{
    opacity: .8;
}

.menu2 > ul{
    justify-content: flex-end !important;
}

.menuIcons{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
    height: 70px;
    margin-right: 4rem;
}
.menuIcons a{
    color: white;
    font-size: 1.2rem;
}

#navLogo{
    width: 350px;
    position: absolute;
    left: calc(50% - 175px);
    height: auto;
    top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu {
display: flex;
justify-content: center;
align-items: flex-end;
}



.menu-mobile {
    display: none;
    padding: 20px;
}


.menu-mobile:after {
    content: "";
    font-size: 2.5rem;
    padding: 0;
    float: right;
    position: absolute;
    top: 35px;
    right: 25px;
    width: 25px;
    height: 25px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='a' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 257.33 257.33'%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill:%23f5f5f5;stroke-width:0px;%7D%3C/style%3E%3C/defs%3E%3Crect class='b' width='257.33' height='36.03' rx='8.15' ry='8.15'/%3E%3Crect class='b' y='110.65' width='257.33' height='36.03' rx='8.15' ry='8.15'/%3E%3Crect class='b' y='221.31' width='257.33' height='36.03' rx='8.15' ry='8.15'/%3E%3C/svg%3E");
    -webkit-transform: translateY(-25%);
    -ms-transform: translateY(-25%);
    transform: translateY(-25%);
}

a.menu-mobile.menuToggle:after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200.69 200.69'%3E%3Cpath d='m125.82 100.34 72.48-72.48a8.148 8.148 0 0 0 0-11.52L184.35 2.39a8.148 8.148 0 0 0-11.52 0l-72.48 72.48L27.86 2.39a8.148 8.148 0 0 0-11.52 0L2.39 16.34a8.148 8.148 0 0 0 0 11.52l72.48 72.48-72.48 72.48a8.148 8.148 0 0 0 0 11.52l13.95 13.95a8.148 8.148 0 0 0 11.52 0l72.48-72.48 72.48 72.48a8.148 8.148 0 0 0 11.52 0l13.95-13.95a8.148 8.148 0 0 0 0-11.52l-72.48-72.48Z' fill='%23f5f5f5'/%3E%3C/svg%3E");
}

.menu-dropdown-icon:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 358.02 200.68'%3E%3Cpath d='M355.63 16.34 341.68 2.39a8.148 8.148 0 0 0-11.52 0L179.01 153.54 27.86 2.39a8.148 8.148 0 0 0-11.52 0L2.39 16.34a8.148 8.148 0 0 0 0 11.52L172.83 198.3c1.7 1.7 3.96 2.48 6.19 2.37 2.22.11 4.49-.67 6.19-2.37L355.63 27.86a8.148 8.148 0 0 0 0-11.52Z' fill='%23f5f5f5'/%3E%3C/svg%3E");
    width: 20px;
    height: 17px;
    background-size: contain;
    background-repeat: no-repeat;
position: absolute;
right: 20px;
top: 23px;
    display: none;
    cursor: pointer;
    float: right;

}



.menu > ul {
    margin: 0 auto;
    width: 100%;
    list-style: none;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu > ul:before,
.menu > ul:after {
    content: "";
    display: table;
}

.menu > ul:after {
    clear: both;
}

.menu > ul > li {
    float: left;

    padding: 0;
    margin: 0;
}

.menu > ul > li a {
    text-decoration: none;
    padding: 1em 1.5em;
    display: block;
    text-align: center;
    font-size: .7rem;
}

.menu > ul > li a:hover{
    transform: scale(1.05);
}


.menu > ul > li > ul {
    display: none;
    width: 100%;
    background-color: var(--cPri600a);
    padding: 50px;
    position: absolute;
    z-index: 0;
    left: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

.menu > ul > li > ul:before,
.menu > ul > li > ul:after {
    content: "";
    display: table;
}

.menu > ul > li > ul:after {
    clear: both;
}

.menu > ul > li > ul > li {
    margin: 0;
    padding-bottom: 0;
    list-style: none;
    width: 25%;
    background: none;
    text-align: center;
    float: left;
}

.menu > ul > li > ul > li a {
    padding: 2px 0;
    width: 100%;
    display: block;
    font-weight: 600;
}

.menu > ul > li > ul > li > ul {
    display: block;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
    box-sizing: border-box;
}

.menu > ul > li > ul > li > ul:before,
.menu > ul > li > ul > li > ul:after {
    content: "";
    display: table;
}

.menu > ul > li > ul > li > ul:after {
    clear: both;
}

.menu > ul > li > ul > li > ul > li {
    float: left;
    width: 100%;
    padding: 2px 0;
    margin: 0;
    font-size: .8em;
}

.menu > ul > li > ul > li > ul > li a {
    border: 0;
    font-weight: 300;
}

.menu > ul > li > ul.normal-sub {
    width: 300px;
    left: auto;
    padding: 10px 20px;
}

.menu > ul > li > ul.normal-sub > li {
    width: 100%;
}

.menu > ul > li > ul.normal-sub > li a {
    border: 0;
    padding: 1em 0;
}



/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

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

#navLogo{
top: 35px;
position: absolute;
height: auto;


}

.menu > ul > li a:hover{
    transform: scale(1);
}
.menu1 ul.show-on-mobile{
    padding-top: 180px;
}

    .menu-container {
        width: 100%;
        grid-template-columns: auto;
    }
    .menu-mobile {
        display: block;
        position:absolute;
        right: 0;
        top: 0;
    }

    .menu2 .menu-mobile{
        display: none;
    }
        
    .menu-dropdown-icon:before {
        display: block;
        position: relative;
    }
    .menu > ul {
        display: none;
    }
    .menu > ul > li {
        width: 100%;
        float: none;
        display: block;
    }
    .menu > ul > li a {
        padding: 1.5em;
        width: 100%;
        display: block;
    }
    .menu > ul > li > ul {
        position: relative;
        padding: 20px;
    }
    .menu > ul > li > ul.normal-sub {
        width: 100%;
    }
    .menu > ul > li > ul > li {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    .menu > ul > li > ul > li:first-child {
        margin: 0;
    }
    .menu > ul > li > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > ul > li > ul > li {
        float: none;
    }
    .menu .show-on-mobile {
        display: block;
    }

    .menuIcons{
        position: absolute;
        top: 1rem;
    left: 1rem;
    }
}





/* Home */

.homeBanner{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 6rem;
    height: 80vh;
}
.homeBanner::after{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74.56 6'%3E%3Cpath d='M74.56 0C55.92 0 55.92 6 37.28 6S18.64 0 0 0h74.56Z' fill='%23f5f5f5'/%3E%3C/svg%3E");
    position: absolute;
    bottom: 0px;
    left: 0;
    display: block;
    width: 100%;
    height: 12px;
    clear: both;
    pointer-events: none;
    transform: rotate(180deg);
}

.homeBanner span:last-child{
    margin-top: 1rem;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: .8s;
    opacity: 0;
}

.homeBanner span:nth-child(2){
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
    animation-delay: .5s;

}



@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#particles-js{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hpFeat {
    display: grid;
    grid-template-rows: auto auto;
    gap: .5rem;
    height: 100%;
    padding: 2rem;
    border: 3px solid transparent;
    background-color: #ebebeb;
}

.hpFeat:hover{
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.hpFeatTitle {
    margin-top: 0;
    margin-bottom: 0;
}

.hpFeatDesc {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1.5rem;
    height: 100%;
}

.hpFeatDesc p {
    margin-top: 0;
    margin-bottom: 0;
}

.hpFeat img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 1rem 0;
}

.hpFeatCta {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .hpFeat {
        margin-bottom: 3rem;
    }
}


        /* Layout - Widths */
        article img, article iframe, .page-content img, .c1 img, .c2 img, .c3 img, .c4 img, .c5 img, .c6 img{
            max-width: 100%;
            height: auto;
        }


        .boxed {
            max-width: var(--boxed);
        }

        #boxed{
            max-width: var(--boxedW);
            margin: auto;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
        }

        main a{
            color: inherit;
            text-decoration: none;
            border-bottom: 2px solid;
        }

        /* Layout - Grids */

        .cc{
            container-type: inline-size;   
        }

        .grid {
            display: grid;
            width: 100%;
        }
        
        .rel{
            position: relative;
        }
        
        .abs{
            position: absolute;
        }

        .c1 {
            grid-template-columns: auto;
        }


        .c2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .c3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .c4 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        .c5 {
            grid-template-columns: repeat(5, minmax(0, 1fr));
        }

        .c6 {
            grid-template-columns: repeat(6, minmax(0, 1fr));
        }
        
        .c1t2t{
            grid-template-columns: 1fr 2fr;
        }        
        .c2t1t{
            grid-template-columns: 2fr 1fr;
        }


        .g50 {
            gap: .5rem;
        }

        .g100 {
            gap: 1rem;
        }

        .g150 {
            gap: 1.5rem;
        }

        .g200 {
            gap: 2rem;
        }

        .g250 {
            gap: 2.5rem;
        }

        .g300 {
            gap: 3rem;
        }

        .g350 {
            gap: 3.5rem;
        }

        .g400 {
            gap: 4rem;
        }


        /* Layout - Flex */

        .fx {
            display: flex;
            flex-direction: column;
        }

        .fxR {
            display: flex;
            flex-direction: column;
        }

        .fxCen {
            justify-content: center;
            align-items: center;
        }


        .fxCenV {
            justify-content: center;

        }

        .fxCenH {
            align-items: center

        }


        /* Layout - Padding & Margin */

        .p50 {
            padding: .5rem;
        }

        .p100 {
            padding: 1rem;
        }

        .p150 {
            padding: 1.5rem;
        }

        .p200 {
            padding: 2rem;
        }

        .p250 {
            padding: 2.5rem;
        }

        .p300 {
            padding: 3rem;
        }

        .p350 {
            padding: 3.5rem;
        }

        .p400 {
            padding: 4rem;
        }
        .p600 {
            padding: 6rem;
        }

        .pV100 {
            padding-top: 1rem;
            padding-bottom: 1rem;
        }

        .pV200 {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }

        .pV300 {
            padding-top: 3rem;
            padding-bottom: 3rem;
        }

        .pV400 {
            padding-top: 4rem;
            padding-bottom: 4rem;
        }
        .pV500 {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }   
        .pV600 {
            padding-top: 6rem;
            padding-bottom: 6rem;
        }

        .pH100 {
            padding-left: 1rem;
            padding-right: 1rem;
        }

        .pH200 {
            padding-left: 2rem;
            padding-right: 2rem;
        }

        .pH300 {
            padding-left: 3rem;
            padding-right: 3rem;
        }

        .pH400 {
            padding-left: 4rem;
            padding-right: 4rem;
        }


        .ma {
            margin: auto;
        }

        .m50 {
            margin: .5rem;
        }

        .m100 {
            margin: 1rem;
        }

        .m150 {
            margin: 1.5rem;
        }

        .m200 {
            margin: 2rem;
        }

        .m250 {
            margin: 2.5rem;
        }

        .m300 {
            margin: 3rem;
        }

        .m350 {
            margin: 3.5rem;
        }

        .m400 {
            margin: 4rem;
        }
        
               .mV100 {
            margin-top: 1rem;
            margin-bottom: 1rem;
        }

        .mV200 {
            margin-top: 2rem;
            margin-bottom: 2rem;
        }

        .mV300 {
            margin-top: 3rem;
            margin-bottom: 3rem;
        }

        .mV400 {
            margin-top: 4rem;
            margin-bottom: 4rem;
        }

        .mH100 {
            margin-left: 1rem;
            margin-right: 1rem;
        }

        .mH200 {
            margin-left: 2rem;
            margin-right: 2rem;
        }

        .mH300 {
            margin-left: 3rem;
            margin-right: 3rem;
        }

        .mH400 {
            margin-left: 4rem;
            margin-right: 4rem;
        }

        * .fx :first-child,
        * .tile :first-child {
            margin-top: 0;
        }

        * .fx :last-child,
        * .tile :last-child {
            margin-bottom: 0;
        }
        .tile{
            background-color: blue;
            
        }

@media screen and (max-width: 1200px){
    .productCategoryBoxes .c3{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px){
    .c2t1t, .c2t1t, .c2, .c3, .productCategoryBoxes .c3{
        grid-template-columns: auto;
    }

    .g400{
        gap: 2rem;
    }
    .p400{
        padding: 2rem;
    }

 
}
@media screen and (max-width: 600px){
    .hpFeat{
        padding: 1rem;
    }

    .hpFeatTitle{
        font-size: 1.5rem;
    }

    /* Adjust featured optician tiles for mobile */
    .featuredOpticians .hpFeat {
        grid-template-rows: 180px minmax(3rem, auto) 1fr auto;
    }

    .featuredOpticians .hpFeat .hpFeatImg.square {
        height: 180px;
    }

    .featuredOpticians .featOptTitle {
        min-height: 3rem;
        font-size: 1.3rem;
    }
}
        @container (max-width: 900px){
            .c5, .c6{ 
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @container (max-width: 800px){
            .c3, .c4, .c5{ 
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @container (max-width: 700px){
            .c6{ 
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @container (max-width: 800px){
            .c2, .c3, .c4, .c5{ 
                grid-template-columns: auto;
            }
        }
        @container (max-width: 460px){
            .c6{ 
                grid-template-columns: auto;
            }
        }
      
        
        /* Colours */
        
        .white{
            color: white;
        }
        .bgWhite{
            background-color: white;
        }
        
        
        .cPri{
            color: var(--cPri600);
        }       
        .cSec{
            color: var(--cSec600);
        }     
        .cTir{
            color: var(--cTir600);
        }
        
        .bgPri{
            background-color: var(--cPri600);
        }
        .bgSec{
            background-color: var(--cSec600);
        }
        .bgTir{
            background-color: var(--cTir600);
        }
        .bgGrad{
          background: var(--grad);
        }
        
        /* Borders */
        
        .bW1{
            border-width: 1px;
        }       
        .bW2{
            border-width: 2px;
        }      
        .bW3{
            border-width: 3px;
        }
        
        .bS{
            border-style: solid;
        }
        .bD{
            border-style: dotted;
        }
        .bU{
            border-top: none;
            border-right: none;
            border-left: none;
        }
   
        .bPri{
            border-color: var(--cPri600);
        }      
        .bSec{
            border-color: var(--cSec600);
        }       
        .bTir{
            border-color: var(--cTir600);
        }
        
        
        
    
        
        /* CTAs */
        
        .aCta{
            position: relative;
            text-decoration: none;
            padding: .5rem 1.2rem;
            display: block;
            min-width: 200px;
            max-width: fit-content;
            text-align: center;
            font-size: 1rem;
            overflow: hidden; 
            border: 1px solid var(--cSec600);
        }

        .aCta.bgPriH:hover{
            background-color: var(--cPri600);
        } 
        .aCta.bgSecH:hover{
            background-color: var(--cSec600);
            color: white;
        } 
        .aCta.bgTirH:hover{
            background-color: var(--cTir600);
        } 
.ctaFullWidth{
    width: 100%;
    max-width: 100%;
}

.ctaFullWidth, .ctaNormal{
    margin: 2rem auto;
    border: none;
}




/* Footer */

footer{
    background-color: var(--cPri600);
    min-height: 500px;
    position: relative;
    color: white;
}

footer a{
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
}



footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
        text-transform: none;

}

footer::before{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='125.7' height='12.4'%3E%3Cpath d='M0 0v3.1c31.4 0 31.4 9.3 62.9 9.3s31.4-9.3 62.8-9.3V0H0Z' style='fill:%232499a3'/%3E%3C/svg%3E");
    position: absolute;
    top: -16px;
    left: 0;
    display: block;
    width: 100%;
    height:16px;
    clear: both;
    pointer-events: none;
    background-repeat: repeat-x;
    transform: rotate(180deg);

}

/* Footer Navigation */
.footerNav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footerNav ul li a {
    display: inline-block;
    border-bottom: none;
    letter-spacing: 0.12rem;
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.footerNav.smallLinks ul li a{
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.footerNav ul li a:hover {
    transform: translateX(10px);

}

.footerLogo {
    max-width: 200px;
    margin-bottom: 2rem;
}

.footerSocial {
    display: flex;
    gap: 1.5rem;
}

.footerSocial a {
    font-size: 1.5rem;
    border-bottom: none;
}

.footerSocial a:hover {
    color: var(--cSec600);
}

.footerBottom {
    margin-top: 2rem;
}
footer h4{
    font-family: var(--fontPri);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}


.footerBottom p{
color: white;
font-size: 0.8rem;
text-align: center;
}

/* Footer Features */
.footerFeat {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.footerFeat:hover {
    transform: translateY(-5px);
}

.footerFeat .icon {
    font-size: 3rem;
    color: var(--cPri600);
    margin-bottom: 1rem;
}

.footerFeat .icon i {
    transition: transform 0.3s ease;
}

.footerFeat:hover .icon i {
    transform: scale(1.1);
}

.footerFeat span:nth-child(2) {
    margin-bottom: 0.5rem;
}

.footerFeat span:last-child {
    color: var(--cSec600);
}

@media (max-width: 992px) {
    .grid.c4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid.c4 {
        grid-template-columns: 1fr;
    }
}


.woo-variation-product-gallery{
    width: 62% !important;
}

/* Photo Gallery Styles */
.photoGallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 2rem 0;
}

.galleryItem {
    position: relative;
    overflow: hidden;

}

.galleryItem a, .galleryItem a:hover{
    border: none;
}

.galleryLink {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.galleryLink:hover {
    transform: translateY(-4px);
}

.galleryImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galleryLink:hover .galleryImage {
    transform: scale(1.05);
}

.galleryCaption {
    margin-top: 0.5rem;
    text-align: center;
    color: #666;
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: white;
    background-color: var(--cPri600);
    font-size: inherit;
    cursor: pointer;
    height: 30px;
    width: 30px;
    justify-content: center;
    display: flex
;
    align-items: center;
    padding: 0.5rem;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: background-color 0.3s ease;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -60px;
}


.lightbox-next {
    right: -60px;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    max-width: 80%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .photoGallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding: 2rem;
    }
    
    .lightbox-nav {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox-caption {
        bottom: 10px;
        font-size: 0.9rem;
    }
}


.summary.entry-summary{
    width: 38% !important;
}


.woocommerce div.product .woocommerce-tabs ul.tabs li{
background-color: transparent !important;
border-radius: 0 !important;
margin-right: 10px !important;
font-family: var(--fontPri) !important;
font-size: 1rem !important;
text-transform: uppercase !important;


}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after{
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover{
    background-color: #e5e5e5 !important;
   
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active{
    background-color: white !important;
    border-bottom: 1px solid #cfc8d8 !important;
    color: var(--cSec600) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    font-weight: 400 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
    font-weight: 600 !important;

}

div#tab-description{
    font-family: var(--fontPri) ;
    padding: 1rem;
}




/* Flexible Content */

.featuredHeader{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
}

.fHeaderSmall{
    height: 10vh;
}

.fHeaderMedium{
    height: 20vh;
}

.fHeaderLarge{
    height: 30vh;
}

.fHeaderXLarge{
    height: 40vh;
}

.featuredHeader h1{
  
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    z-index: 1;
    font-family: var(--fontPri);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.featOptTitle{
font-size: 1.5rem;
}

.featureHeaderTop, .titleDivider{
    width: 100%;
    height: auto;
    background-color: var(--cPri600);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--fontPri);
    letter-spacing: 0.12rem;
  
}

.titleDivider{
    margin: 2rem 0;
}

.featuredOpticians .hpFeat{
    padding: 1rem;
}

.featuredOpticians .aCta{
    margin-top: 2rem;
}

.featOptTitle a{
    border-bottom: none;
    font-size: 1.2rem;
}
h2.h1B.upper.featOptTitle{
    line-height: 1;
}

/* Square thumbnail styles */
.hpFeatImg.square {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}
img.hpFeatImg.square.wp-post-image{
    margin: 0;
}

/* Featured Optician Styles */
.featuredOpticians .hpFeat.featured-optician {
    background: #C9E6E8;
    transition: all 0.3s ease;
}

.featuredOpticians .hpFeat.featured-optician:hover {
    background: #B8DDE0;
    transform: translateY(-2px);
}

/* Super Featured Optician Styles */
.featuredOpticians .hpFeat.super-featured-optician {
    background: #5CB3B9;
    transition: all 0.3s ease;
}

.featuredOpticians .hpFeat.super-featured-optician:hover {
    background: #4DA5AB;
    transform: translateY(-2px);
}

/* Text colour adjustments for super featured opticians */
.featuredOpticians .hpFeat.super-featured-optician .featOptTitle,
.featuredOpticians .hpFeat.super-featured-optician .featOptTitle a {
    color: white;
}

.featuredOpticians .hpFeat.super-featured-optician .hpFeatDesc {
    color: #f0f9ff;
}

/* Enhanced styling for featured optician titles */
.featuredOpticians .hpFeat.featured-optician .featOptTitle,
.featuredOpticians .hpFeat.featured-optician .featOptTitle a {
    color: #2599A2;
    font-weight: 700;
}

/* Enhanced tile alignment system for featured opticians
   Uses CSS Grid to ensure all elements align perfectly across tiles */
.featuredOpticians {
    align-items: stretch;
    display: grid;
}

.featuredOpticians .hpFeat {
    display: grid;
    grid-template-rows: 200px minmax(3.5rem, auto) 1fr auto;
    gap: 1rem;
    height: 100%;
}

/* Ensure images are consistently sized */
.featuredOpticians .hpFeat .hpFeatImg.square {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

/* Title area with consistent minimum height */
.featuredOpticians .featOptTitle {
    margin: 0;
    display: flex;
    align-items: flex-start;
    min-height: 3.5rem;
    line-height: 1.2;
}

.featuredOpticians .featOptTitle a {
    display: block;
    width: 100%;
}

/* Description area that expands to fill available space */
.featuredOpticians .hpFeatDesc {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.featuredOpticians .hpFeatDesc p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.featuredOpticians .hpFeatDesc p:last-child {
    margin-bottom: 0;
}

/* CTA button always aligned to bottom */
.featuredOpticians .hpFeatCta {
    align-self: end;
    margin-top: 0;
}

/* Product Category Boxes: maintain existing structure */
.productCategoryBoxes .grid {
    align-items: stretch;
}

.productCategoryBoxes .hpFeat {
    display: grid;
    grid-template-rows: auto 1fr auto auto;
}

.productCategoryBoxes .hpFeatTitle,
.productCategoryBoxes .hpFeatDesc {
    margin: 0;
}

.productCategoryBoxes .hpFeatCta {
    align-self: end;
}

/* Clickable tile styling for product category boxes */
.productCategoryBoxes .hpFeat.clickable-tile {
    text-decoration: none;
    color: inherit;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.productCategoryBoxes .hpFeat.clickable-tile:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.productCategoryBoxes .hpFeat.clickable-tile:focus {
    outline: 2px solid var(--cPri600);
    outline-offset: 2px;
}

/* Ensure CTA button styling is maintained when it's a span */
.productCategoryBoxes .hpFeat.clickable-tile .hpFeatCta {
    pointer-events: auto;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

/* Button-specific hover effect */
.productCategoryBoxes .hpFeat.clickable-tile .hpFeatCta:hover {
    background-color: var(--cSec600);
    color: white;
    transform: scale(1.02);
}

/* Override any link styling that might interfere */
.productCategoryBoxes .hpFeat.clickable-tile * {
    color: inherit;
}