/* =========================================================
   PRODUCT TITLE STYLING
   Reduce product title size on desktop and mobile
========================================================= */

.single-product .product_title {
    font-size: 36px !important;
    line-height: 1.2;
}

/* Mobile title size */
@media (max-width: 768px) {
    .single-product .product_title {
        font-size: 28px !important;
    }
}


/* =========================================================
   SINGLE PRODUCT PAGE LAYOUT
   Place product image and summary side by side
========================================================= */

.single-product div.product {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 50px;
}

/* Product image section */
.single-product div.product .images {
    flex: 1;
    min-width: 300px;
}

/* Product summary / text section */
.single-product div.product .summary {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

/* Stack layout on mobile */
@media (max-width: 768px) {
    .single-product div.product {
        flex-direction: column;
    }
}


/* =========================================================
   HIDE PRODUCT META
   Hide SKU, categories, and tags under product
========================================================= */

.single-product .product_meta {
    display: none;
}


/* =========================================================
   FULL WIDTH DESCRIPTION & RELATED PRODUCTS
   Make tabs and related products section full width
========================================================= */

.single-product div.product .woocommerce-tabs,
.single-product .related.products {
    max-width: 100%;
    width: 100%;
}


/* =========================================================
   RELATED PRODUCTS GRID
   Center align and organize related products
========================================================= */

.related.products ul.products {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Center align related products title */
.related.products > h2 {
    text-align: center;
    width: 100%;
}


/* =========================================================
   EXTRA PRODUCT OPTIONS PLUGIN STYLING
   Match plugin dropdown style with website design
========================================================= */

/* Remove default gray table styling */
table.thwepo-extra-options td,
table.thwepo-extra-options th,
table.thwepo-extra-options tr {
    background: transparent !important;
    border: none !important;
}

/* Main table spacing */
table.thwepo-extra-options {
    width: 100%;
    margin: 25px 0;
}

/* Label styling */
table.thwepo-extra-options label {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

/* Dropdown styling */
table.thwepo-extra-options select {
    width: 100%;
    max-width: 380px;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
}


/* =========================================================
   HIDE JETPACK RELATED POSTS
   Remove duplicate related posts section from Jetpack
========================================================= */

#jp-relatedposts {
    display: none !important;
}

@media (max-width: 768px){

.site-header {
    padding-top: 15px;
    padding-bottom: 15px;
}

.site-branding img {
    max-width: 85px;
}

.site-title {
    font-size: 32px;
    line-height: 1.1;
}

.social-menu {
    display: none;
}

.wc-block-mini-cart__amount {
    display: none;
}
}


@media (max-width: 768px){

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-branding .custom-logo {
    max-width: 80px;
    height: auto;
}

.site-title {
    font-size: 28px;
    line-height: 1.1;
    margin: 0;
}

.site-description {
    display: none;
}

}


@media (max-width: 768px){

/* ========================================
   Logo + Site Title
======================================== */

.site-branding{
    display:flex;
    align-items:center;
    gap:10px;
}

.site-branding .custom-logo{
    max-width:75px;
    height:auto;
}

.site-title{
    font-size:25px;
    line-height:1.15;
    margin:0;
}


/* ========================================
   Header Row Layout
======================================== */

.menu-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:15px;
}


/* ========================================
   Mobile Menu Button
======================================== */

.main-navigation{
    width:auto !important;
    z-index:2;
}

/* Prevent hidden mobile menu from affecting layout */
.main-navigation .menu-primary-container{
    display:none;
}

/* Show menu when opened */
.main-navigation.toggled .menu-primary-container{
    display:block;
}

.menu-toggle{
    display:flex;
    align-items:center;
    gap:8px;

    padding:8px 12px;

    font-size:14px;
    width:auto;
    min-width:auto;
}

.menu-toggle svg{
    width:20px;
    height:20px;
    margin:0;
}


/* ========================================
   Social Icons Centered
======================================== */

.jetpack-social-navigation{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    width:max-content;
}

.jetpack-social-navigation .menu{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:0;
}

.jetpack-social-navigation svg{
    width:20px;
    height:20px;
}


/* ========================================
   Cart Button
======================================== */

.site-header-cart{
    margin-left:auto;
    z-index:2;
}

.site-header-cart li{
    list-style:none;
    margin:0;
}

.site-header-cart .cart-contents{
    display:flex;
    align-items:center;
    justify-content:center;

    width:52px;
    height:35px;

    padding:0;
}

/* Hide cart text */
.site-header-cart .amount,
.site-header-cart .count{
    display:none;
}

/* Disable mini cart dropdown on mobile */
.site-header-cart .widget_shopping_cart{
    display:none !important;
}

.site-header-cart svg{
    width:20px;
    height:20px;
}

}

/* WooCommerce Success Notice */

.woocommerce-message {
    position: fixed;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1100px;

    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-left: 5px solid #6ba539 !important;

    border-radius: 12px;
    padding: 20px 24px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    font-size: 17px;
    color: #222;

    animation: cartSlideDown 0.35s ease;
}

/* Hide default WooCommerce icon */
.woocommerce-message::before {
    display: none;
}

/* Buttons container */
.woocommerce-message .button {
    background: #111 !important;
    color: #fff !important;

    border-radius: 6px;
    padding: 11px 18px;

    font-size: 14px;
    font-weight: 600;

    text-transform: uppercase;

    transition: 0.25s ease;

    margin-left: 12px;
}

/* Hover */
.woocommerce-message .button:hover {
    background: #333 !important;
}

/* Animation */
@keyframes cartSlideDown {

    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {

    .woocommerce-message {

        top: 120px;

        width: calc(100% - 20px);

        padding: 16px;

        font-size: 15px;

        flex-direction: column;

        align-items: flex-start;
    }

    .woocommerce-message .button {

        width: 100%;

        margin-left: 0;

        text-align: center;
    }
}

/* Continue Shopping button */

.continue-shopping {
    background: #6ba539 !important;
    color: #fff !important;
}

.continue-shopping:hover {
    background: #5a8f2f !important;
}

.woocommerce-message .button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 190px;

    height: 52px;

    white-space: nowrap;

    border-radius: 8px;

    font-weight: 600;

    letter-spacing: 0.3px;
}


/* Equal height WooCommerce product cards */

.woocommerce ul.products li.product {

    display: flex;
    flex-direction: column;
}

/* Product title spacing */

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {

    min-height: 60px;
}

/* Push button section downward */

.woocommerce ul.products li.product .price {

    margin-bottom: 18px;
}

/* Fix full width Add To Cart buttons */

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {

    width: fit-content !important;

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    padding: 12px 22px;

    margin-left: 0 !important;

    flex: unset !important;
}

/* MOBILE SHOP LAYOUT FIX */

@media (max-width: 768px) {

    /* Remove huge top spacing */

    .woocommerce-products-header,
    .page-header,
    .site-main {

        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Product card */

    .woocommerce ul.products li.product {

        text-align: left !important;
    }

    /* Add to cart button */

    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product a.button {

        width: fit-content !important;

        display: inline-flex !important;

        padding: 12px 24px !important;

        margin: 0 !important;

        text-align: center !important;
    }

    /* Remove forced full width */

    .woocommerce a.button {

        min-width: unset !important;
    }
}

@media (max-width: 768px) {

    /* Less top white space */

    .woocommerce-products-header,
    .page-header,
    .site-main,
    .site-content {

        margin-top: -20px !important;
        padding-top: 0 !important;
    }

    /* Move mobile button slightly right */

    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product a.button {

        margin-left: 34px !important;

        

        display: inline-block !important;
    }
}



@media (max-width: 768px) {

    /* Hide View Cart */

a.added_to_cart {

    display: none !important;
}
}

@media (max-width: 768px) {

    .jetpack-social-navigation {
        display: none !important;
    }

}


.mobile-social-link {
    display: none;
}


@media (max-width: 768px) {

    .mobile-social-link {
        display: block;
    }

    .jetpack-social-navigation {
        display: none !important;
    }
 .main-navigation .menu > li:nth-last-child(-n+3) {
        border-top: 1px solid #ddd;
        padding-top: 8px;
        margin-top: 8px;
    }

    .main-navigation .menu > li:nth-last-child(-n+3) a {
        font-size: 18px;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {

    /* wrapper */
    .menu-wrapper {
        position: relative;
    }

  
    .main-navigation.toggled .menu-primary-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 280px;
        z-index: 99999;
    }

    
    .main-navigation.toggled ul.menu {
        background: #dcdcdc;
        margin: 0;
    }

   
    .mobile-social-link a {
        font-size: 16px !important;
        font-weight: 500 !important;
        opacity: 0.75;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

   
    .mobile-social-link {
        border-top: 1px solid rgba(0,0,0,0.08);
    }

  
    .main-navigation ul.sub-menu {
        background: #f5f5f5 !important;
        padding-left: 15px !important;
    }

    .main-navigation ul.sub-menu a {
        color: #555 !important;
        font-size: 16px !important;
        font-weight: 500 !important;
    }

}

/* submenu font color */

@media (max-width: 768px) {
    .main-navigation ul.sub-menu li a,
    .main-navigation ul.sub-menu li a:visited,
    .main-navigation ul.sub-menu li a:hover {
        color: #fff !important;
        opacity: 1 !important;
    }
}

.woocommerce-checkout .wc-block-components-product-details,
.wp-block-woocommerce-checkout .wc-block-components-product-metadata {
    display: none !important;
}

/* Hide product metadata/description in checkout */
.woocommerce-checkout .wc-block-components-product-metadata {
    display: none !important;
}


/* variation box */
.woocommerce div.product form.cart .variations {
    background: #fff !important;
}

/* label */
.woocommerce div.product form.cart .variations td.label,
.woocommerce div.product form.cart .variations th.label {
    width: 170px !important;
    white-space: nowrap !important;
    background: #fff !important;
    padding-right: 10px !important;
    vertical-align: middle !important;
    position: relative;
    top: -13px !important;   /* Glass Colors  */
}

/* value cell */
.woocommerce div.product form.cart .variations td.value {
    background: #fff !important;
    padding-left: 0 !important;
    vertical-align: middle !important;
}

/* select */
.woocommerce div.product form.cart .variations select {
    margin: 5px !important;
}

.widget-area{
	padding:0;
}
.footer-policy-links {
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
}

.footer-policy-links a {
    margin: 0 2px;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-policy-links {
        white-space: normal !important;
        line-height: 1.6;
    }
}

.page .entry-header {
    display: none;
}

.page-content,
.entry-content,
.entry-summary,
.entry-footer,
.post-navigation,
.posts-navigation,
.comments-wrapper,
.respond-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 92%;
    width: 1100px;
}