
/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

#top-header {
    background: #003886;
    padding: 10px 0;
    color: #fff;
    text-align: center;
}

.header-button a {
    background: #003886;
    color: #fff;
    display: inline-block;
    padding: 6px 25px;
    border-radius: 30px;
    margin: 15px 0;
}

.header-button a:hover {
    background-color: #004cff;
}


/* Bootstrap 5 Customizations */

.navbar-brand .site-title,
.navbar-brand .site-description {
    color: inherit;
}

.navbar-brand .site-title a {
    color: inherit;
    text-decoration: none;
}

.navbar-brand .site-title a:hover {
    color: #004cff;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: #003886;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #004cff;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar-nav .dropdown-item {
    color: #003886;
    padding: 0.5rem 1rem;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #004cff;
}


/* Ensure navigation links are clickable */

.navbar-nav .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #003886;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #004cff;
    text-decoration: none;
}

.navbar-nav .nav-link:active {
    color: #004cff;
}


/* Fix for non-clickable menu items */

.navbar-nav li {
    list-style: none;
}

.navbar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

#masthead {
    position: relative;
    z-index: 10;
    border-bottom: solid 1px #003886;
}

.site-branding {
    padding: 20px 0;
}

.site-branding-logo,
.site-branding-text {
    display: inline-block;
    vertical-align: middle;
}

.site-branding-logo img {
    max-height: 36px;
    width: auto;
}

.custom-logo {
    width: 150px!important;
}
/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/

@media screen and (min-width: 567px) {
    .columns-2,
    .columns-3,
    .columns-4,
    .columns-5 {
        display: flex;
        flex-wrap: wrap;
    }
    .columns-2 article,
    .columns-3 article,
    .columns-4 article,
    .columns-5 article {
        width: 50%;
        float: left;
    }
    .columns-2 article:nth-child(2n+1),
    .columns-3 article:nth-child(2n+1),
    .columns-4 article:nth-child(2n+1),
    .columns-5 article:nth-child(2n+1) {
        clear: left;
    }
    .primary-menu-label {
        display: inline-block;
        vertical-align: middle;
    }
    .error-404.not-found input.search-field {
        min-width: 450px;
    }
}


/* Bootstrap 5 Responsive Utilities */

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #dee2e6;
    }
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f8f9fa;
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: #f8f9fa;
        border: 0;
        box-shadow: none;
    }
}


/* Mobile First Responsive Design */

@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .blog-post-item {
        padding: 1rem;
    }
    .single-page-wrapper .entry-content,
    #secondary .widget {
        padding: 1rem;
    }
    .navbar-brand .site-title {
        font-size: 1.5rem;
    }
    .navbar-brand .site-description {
        font-size: 0.875rem;
    }
}

@media screen and (min-width: 767px) {
    .columns-3 article,
    .columns-5 article {
        width: 33.33%;
    }
    .columns-3 article:nth-child(2n+1),
    .columns-5 article:nth-child(2n+1) {
        clear: none;
    }
    .columns-3 article:nth-child(3n+1),
    .columns-5 article:nth-child(3n+1) {
        clear: left;
    }
    .blog-archive .has-post-thumbnail .blog-post-item {
        position: relative;
        display: table;
        width: 100%;
    }
    .blog-archive .has-post-thumbnail .blog-post-item .featured-image {
        width: 40%;
        display: table-cell;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }
    .blog-archive .has-post-thumbnail .blog-post-item .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .blog-archive .has-post-thumbnail .blog-post-item .entry-container {
        width: 60%;
        display: table-cell;
        float: right;
        text-align: left;
        padding: 20px;
    }
    .single-post-wrap .blog-post-item .entry-title {
        font-size: 28px;
    }
    .widget_latest_posts .widget-header {
        margin-bottom: 70px;
    }
    .single .blog-post-item .entry-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .single .entry-footer span.cat-links {
        margin-bottom: 0;
    }
    #footer-widgets .widget-column {
        text-align: left;
        margin-bottom: 0;
        width: 33.33%;
        float: left;
    }
    #footer-widgets .widget-title:after {
        left: 0;
        transform: none;
    }
}

@media screen and (min-width: 992px) {
    .columns-4 article {
        width: 25%;
    }
    .columns-4 article:nth-child(2n+1) {
        clear: none;
    }
    .columns-4 article:nth-child(4n+1) {
        clear: left;
    }
}

@media screen and (min-width: 1024px) {
    .columns-5 article {
        width: 20%;
    }
    .columns-5 article:nth-child(3n+1) {
        clear: none;
    }
    .columns-5 article:nth-child(5n+1) {
        clear: left;
    }
    .navigation-menu .search-form {
        position: relative;
        top: 1px;
        right: 0;
    }
    .navigation-menu .search-form .search-submit {
        top: 0;
    }
    .menu-sticky #masthead {
        position: sticky;
        top: 0;
    }
    .menu-sticky.customize-support #masthead {
        top: 32px;
    }
    .navigation-menu ul,
    .navigation-menu .nav-menu ul {
        display: block;
    }
    .navigation-menu li a svg,
    .nav-menu>li,
    .navigation-menu li {
        display: inline-block;
    }
    .navigation-menu a {
        padding: 8px 16px;
    }
    .nav-menu ul.sub-menu,
    .nav-menu ul.children {
        background-color: #111;
    }
    .navigation-menu ul ul {
        padding-left: 0;
    }
    .navigation-menu ul ul ul {
        -webkit-transform: translateX(-20px) translateZ(0);
        -moz-transform: translateX(-20px) translateZ(0);
        transform: translateX(-20px) translateZ(0);
        -webkit-transition: -webkit-transform .05s .3s, opacity .3s ease-out;
        transition: transform .05s .3s, opacity .3s ease-out;
    }
    .navigation-menu ul ul li:hover>ul,
    .navigation-menu ul ul li.focus>ul {
        -webkit-transform: translateX(0) translateZ(0);
        -moz-transform: translateX(0) translateZ(0);
        transform: translateX(0) translateZ(0);
        -webkit-transition: -webkit-transform .3s ease-out, opacity .3s ease;
        transition: transform .3s ease-out, opacity .3s ease;
    }
    .navigation-menu ul ul svg {
        position: absolute;
        top: 50%;
        right: 10px;
        -webkit-transform: translateY(-50%) rotate(-90deg);
        -moz-transform: translateY(-50%) rotate(-90deg);
        -ms-transform: translateY(-50%) rotate(-90deg);
        -o-transform: translateY(-50%) rotate(-90deg);
        transform: translateY(-50%) rotate(-90deg);
    }
    .navigation-menu ul ul li:last-child>a {
        border-bottom: none;
    }
    .navigation-menu .nav-menu>li>a,
    .navigation-menu .nav-menu>ul>li>a {
        padding: 10px 15px;
        line-height: 40px;
        border-bottom: none;
    }
    .navigation-menu a {
        border-bottom: none;
    }
    .navigation-menu ul ul a {
        border-bottom: 1px solid #666;
    }
    .navigation-menu .nav-menu>li:hover>a:after,
    .navigation-menu .nav-menu>li.focus>a:after {
        opacity: 1;
    }
    .navigation-menu li.current-menu-item>a,
    .navigation-menu .nav-menu>li:hover>a,
    .navigation-menu .nav-menu>li.focus>a,
    .navigation-menu .nav-menu>li>a:hover,
    .navigation-menu .nav-menu>li>a:focus {
        color: #004cff;
    }
    .navigation-menu ul ul {
        float: left;
        position: absolute;
        top: 100%;
        left: -999em;
        z-index: 10;
        -webkit-transition: opacity 0.2s ease-out;
        -moz-transition: opacity 0.2s ease-out;
        -ms-transition: opacity 0.2s ease-out;
        -o-transition: opacity 0.2s ease-out;
        transition: opacity 0.2s ease-out;
    }
    .navigation-menu .nav-menu ul.sub-menu,
    .navigation-menu .nav-menu ul.children {
        box-shadow: 0 10px 25px rgb(0 0 0 / 15%);
    }
    .navigation-menu .nav-menu li:hover ul,
    .navigation-menu .nav-menu li.focus ul {
        display: block !important;
    }
    .navigation-menu ul ul ul {
        left: -999em;
        top: 0;
    }
    .navigation-menu ul ul li:hover>ul,
    .navigation-menu ul ul li.focus>ul {
        left: 100%;
    }
    .navigation-menu ul ul a {
        width: 256px;
        padding: 8px 30px 8px 15px;
        color: #fff;
    }
    .navigation-menu ul li:hover>ul,
    .navigation-menu ul li.focus>ul {
        right: auto;
        left: 0;
    }
    .nav-menu button.dropdown-toggle,
    .menu-toggle {
        display: none;
    }
    #masthead .nav-menu,
    #masthead .nav-menu>ul {
        border-top: none;
        display: block !important;
        text-align: center;
        padding: 0;
    }
    #masthead .nav-menu ul.sub-menu {
        text-align: left;
        border-top: 2px solid #004cff;
    }
    .custom-header .page-title {
        font-size: 32px;
    }
    .has-sidebar #primary {
        width: 70%;
        float: left;
        padding-right: 30px;
        margin-bottom: 0;
    }
    .has-sidebar #secondary {
        width: 30%;
        float: left;
        position: sticky;
        top: 30px;
    }
    .has-sidebar.right-sidebar #primary {
        float: left;
        padding-right: 20px;
    }
    .has-sidebar.right-sidebar #secondary {
        float: right;
    }
    .has-sidebar.left-sidebar #primary {
        float: right;
        padding-right: 0;
        padding-left: 20px;
    }
    .has-sidebar.left-sidebar #secondary {
        float: left;
    }
}

@media screen and (max-width: 1200px) {
    .image-wrap img {
        width: 215px;
        height: 550px;
    }
}

@media screen and (max-width: 992px) {
    .image-wrap {
        display: block;
    }
    .social-wrap {
        position: static;
        width: 100%;
    }
    .homepage-temp {
        text-align: center;
    }
    .image-wrap img {
        width: 300px;
        height: 550px;
    }
}


/*--------------------------------------------------------------
# Section Header
--------------------------------------------------------------*/

.section-header {
    margin-bottom: 30px;
}

.section-header .section-title {
    font-size: 20px;
    font-weight: 600;
}

.post-thumbnail-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
 
/*!sc*/
.btn-hero-primary {
    -webkit-transition-property: color,background-color,opacity;
    transition-property: color,background-color,opacity;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    box-sizing: border-box;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: auto;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    -webkit-text-decoration: none;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    margin: 0;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    color: #FFFFFF;
    background-color: #003886;
    border: none;
    overflow: hidden;
}
.btn-hero-primary i {
    color: #ffc779;
}
/*!sc*/
@media (hover: hover) {
    .btn-hero-primary:hover:not([disabled]) {
        background-color:#001e49;
            color: #FFFFFF;

    }
}

/*!sc*/
.btn-hero-primary:focus {
    background-color: #001e49;
        color: #FFFFFF;

}

/*!sc*/
.btn-hero-primary:active:enabled {
    background-color: #001e49;
        color: #FFFFFF;

}
.hero-primary-text {     line-height: 2;
    font-size: 16px;}
.hero-primary-icon {
    padding-top:4px;
}
/*!sc*/
.btn-hero-primary:disabled {
    cursor: not-allowed;
    opacity: 0.54;
}
  /*!sc*/
.icon-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.25rem;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*!sc*/
.icon-container svg {
    -webkit-transition-property: fill;
    transition-property: fill;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    fill: #657373;
    width: 100%;
    height: 100%;
}
.card .card-footer, .card .card-header {
    border: 0 !important
}

/* Pets Section - Light & Dark Mode Support */
.pets-section-card {
    background: #00394F !important;
}

.pets-section-title {
    color: #ffffff !important;
}

.pets-section-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
}

.pet-card-link {
    background: #ffffff;
    border-color: #e4e6ef !important;
}
.woocommerce-breadcrumb {
    display: none!important;
    visibility: hidden;
}
.pet-card-link:hover {
    background: #f5f8fa;
}

.pet-card-label {
    color: #181C32;
}

/* Dark Mode Support */
[data-bs-theme="dark"] .pets-section-card {
    background: transparent !important;
}

[data-bs-theme="dark"] .pets-section-title {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .pets-section-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
}

[data-bs-theme="dark"] .pet-card-link {
    background: #00394F;
    border-color: #00394F !important;
}

[data-bs-theme="dark"] .pet-card-link:hover {
    background: #004a66;
}

[data-bs-theme="dark"] .pet-card-label {
    color: #ffffff;
}

[data-bs-theme="dark"] .badge-light-primary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/*--------------------------------------------------------------
## WooCommerce Password Toggle Buttons
--------------------------------------------------------------*/

/* Password input wrapper positioning */
.woocommerce-form .password-input {
    position: relative;
}

/* Password show/hide button styling */
.show-password-input {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.show-password-input:hover {
    opacity: 0.7;
}

.show-password-input:focus {
    outline: none;
    box-shadow: none;
}

/* Ensure password input has proper padding for the button */
.password-input input[type="password"],
.password-input input[type="text"] {
    padding-right: 3rem !important;
}

/* Icon styling */
.show-password-input i {
    pointer-events: none;
}

/* Active state - when password is visible */
.show-password-input.display-password {
    color: var(--bs-primary);
}

/* Dark mode support */
[data-bs-theme="dark"] .show-password-input {
    color: #ffffff;
}

[data-bs-theme="dark"] .show-password-input.display-password {
    color: var(--bs-primary);
}

/*--------------------------------------------------------------
## WooCommerce Password Strength Indicator
--------------------------------------------------------------*/

.woocommerce-password-strength,
#password_strength {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.475rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

/* Remove default WooCommerce styling */
.woocommerce-password-strength.short,
.woocommerce-password-strength.bad,
.woocommerce-password-strength.good,
.woocommerce-password-strength.strong {
    background: transparent !important;
    border: none !important;
}

/* Metronic badge colors applied via JavaScript */
.woocommerce-password-strength i,
#password_strength i {
    vertical-align: middle;
    margin-right: 0.25rem;
}

/* Ensure proper spacing in forms */
.woocommerce-form .woocommerce-password-strength,
.woocommerce-form #password_strength {
    display: block;
    margin-top: 0.5rem;
}

/* Animation for strength changes */
.woocommerce-password-strength,
#password_strength {
    transition: all 0.3s ease;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .woocommerce-password-strength,
[data-bs-theme="dark"] #password_strength {
    color: #ffffff;
}
#store-products-grid .min-h-175px { 
    min-height: 180px !important;
    width: 180px;
}

/*--------------------------------------------------------------
## WooCommerce Product Gallery - Mobile Responsive
--------------------------------------------------------------*/

/* Main gallery container */
.woocommerce-product-gallery {
    position: relative;
    margin-bottom: 0;
}

/* Gallery figure - remove default margin */
.woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
}

/* Main product image */
.woocommerce-product-gallery__image {
    margin: 0 0 1rem 0;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.625rem;
}

/* Gallery thumbnails */
.flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    flex: 0 0 auto;
    margin: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.475rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.flex-control-thumbs li:hover {
    border-color: var(--bs-primary);
    opacity: 0.8;
}

.flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile optimizations (phones) */
@media (max-width: 575px) {
    .woocommerce-product-gallery__image {
        margin: 0 0 0.75rem 0;
    }
    
    .woocommerce-product-gallery__image img {
        border-radius: 0.475rem;
    }
    
    .flex-control-thumbs {
        gap: 0.375rem;
        justify-content: flex-start;
    }
    
    .flex-control-thumbs li {
        width: calc(25% - 0.3rem);
        max-width: 70px;
        height: 70px;
    }
    
    /* Stack gallery vertically on very small screens */
    .woocommerce-product-gallery {
        width: 100%;
    }
}

/* Tablet optimizations */
@media (min-width: 576px) and (max-width: 991px) {
    .flex-control-thumbs li {
        width: calc(20% - 0.5rem);
        max-width: 90px;
        height: 90px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .flex-control-thumbs li {
        width: calc(16.666% - 0.5rem);
        max-width: 100px;
        height: 100px;
    }
}

/* Product sale flash badge */
.onsale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: var(--bs-danger);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.475rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 575px) {
    .onsale {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
}

/* Touch-friendly gallery controls */
@media (hover: none) and (pointer: coarse) {
    .flex-control-thumbs li {
        min-height: 60px;
        min-width: 60px;
    }
    
    .woocommerce-product-gallery__trigger {
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Ensure images don't overflow their containers */
.woocommerce-product-gallery img {
    max-width: 100%;
    height: auto;
}

/* Lightbox/zoom trigger positioning */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.475rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

@media (max-width: 575px) {
    .woocommerce-product-gallery__trigger {
        top: 0.5rem;
        right: 0.5rem;
    }
}