/* Uray Template Header Styles */
.header {
    background: #fff;
    position: relative;
    z-index: 999;
}

/* Search Header */
.search-header {
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.search-header.active {
    display: flex;
}
.search-header form {
    position: relative;
    width: 600px;
    max-width: 90%;
}
.search-header input {
    width: 100%;
    padding: 20px;
    font-size: 24px;
    border: none;
    background: #fff;
    border-radius: 50px;
}
.search-header .close-search {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #999;
}

/* Header Desktop */
.header-desktop {
    padding: 20px 0;
}
.header-menu-desktop {
    align-items: center;
}

/* Logo */
.logo {
    padding: 20px 0;
}
.logo a {
    display: block;
}

/* Menu */
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}
.menu ul li {
    position: relative;
}
.menu ul li a {
    color: #222;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 10px 0;
    display: block;
    transition: all 0.3s;
}
.menu ul li a:hover,
.menu ul li a.menu-active {
    color: #ffa6a8;
}

/* Dropdown Menu */
.menu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    display: block;
    flex-direction: column;
    gap: 0;
}
.menu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.menu ul li ul li {
    width: 100%;
}
.menu ul li ul li a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: normal;
}
.menu ul li ul li a:hover {
    background: #f5f5f5;
    color: #ffa6a8;
}

/* Header Right */
.header-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}
.header-right ul li {
    position: relative;
}
.header-right ul li a {
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}
.number-cart {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ffa6a8;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Widget Shopping Cart */
.widget_shopping_cart {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 360px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 20px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}
.widget_shopping_cart.active {
    /* Ensure visibility when toggled via JS, overriding base theme */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important; /* base style.css sets display:none; override for click toggle */
}

/* Mini Cart Content (matches screenshot look) */
.widget_shopping_cart .shopping-item { width: 100%; box-shadow: none; position: static; padding: 0; }
.widget_shopping_cart .dropdown-cart-header { display: none !important; }
.widget_shopping_cart .shopping-list { margin: 0; padding: 0; }
.widget_shopping_cart .shopping-list li {
    display: flex;
     /* image left, content right */
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    width: 100%;
}
.widget_shopping_cart .shopping-list .cart-img { 
    width: 80px;
    height: 80px;
    border: 1px solid #ededed; 
    overflow: hidden; 
}
.widget_shopping_cart .shopping-list .cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.widget_shopping_cart .shopping-list .item-header { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.widget_shopping_cart .shopping-list h4 { margin: 0; font-size: 14px; line-height: 1.4; }
.widget_shopping_cart .shopping-list h4 a { color: #333; font-weight: 600; text-decoration: none; }
.widget_shopping_cart .shopping-list h4 a:hover { color: var(--primary-color); }
.widget_shopping_cart .shopping-list .quantity { 
    margin: 4px 0 0; 
    font-size: 12px; 
    color: #777; 
    line-height: 1.6; 
}

/* Override base theme absolute positioning that created two columns */
.widget_shopping_cart .widget_shopping_cart_content ul li .product-title {
    margin-left: 0 !important;
}
.widget_shopping_cart .widget_shopping_cart_content ul li .woocommerce-Price-amount,
.widget_shopping_cart .widget_shopping_cart_content ul li .quantity {
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: block;
    margin-top: 6px;
}
.widget_shopping_cart .shopping-list li .remove { 
    position: absolute !important; 
    right: 0 !important; 
    top: 8px !important; 
    width: 18px; 
    height: 18px; 
    line-height: 18px; 
    text-align: center; 
    font-size: 12px; 
    color: #999; 
    border: none; 
    background: transparent; 
}
.widget_shopping_cart .shopping-list li .remove:hover { color: #333; }

.widget_shopping_cart .shopping-item .total { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 16px 0; 
    margin-top: 6px; 
    border-top: 1px solid #eee; 
}
.widget_shopping_cart .shopping-item .total span { font-size: 14px; color: #333; text-transform: none; }
.widget_shopping_cart .shopping-item .total .total-amount { font-weight: 600; }

.widget_shopping_cart .shopping-item .bottom { text-align: left; }
.widget_shopping_cart .shopping-item .bottom .btn { 
    width: 100%; 
    background: #fff !important; 
    color: #333 !important; 
    border: 1px solid #ddd !important; 
    padding: 12px 16px; 
    font-size: 13px; 
    font-weight: 600; 
    letter-spacing: .2px; 
}
.widget_shopping_cart .shopping-item .bottom .btn:hover { background: #f8f8f8; color: #111; }

/* Inline price with title */
.widget_shopping_cart .item-content { flex: 1; }
.widget_shopping_cart .item-header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.widget_shopping_cart .item-price { font-weight: 600; color: #333; }
.widget_shopping_cart .item-attrs { display:block; margin-top: 4px; color:#888; }

/* Ensure list items use full width and no centered margin */
.widget_shopping_cart .widget_shopping_cart_content ul li { 
    width: 100% !important; 
    margin: 0 !important; 
}

/* Position remove icon to the right, vertically centered per item */
.widget_shopping_cart .shopping-list li .remove { 
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

/* Introduce Sidebar */
.introduce {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: all 0.3s;
    overflow-y: auto;
}
.introduce.active {
    right: 0;
}
.content-introduce {
    padding: 40px;
}
.content-introduce h3 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}
.content-introduce > p {
    color: #999;
    margin-bottom: 30px;
}
.img-controduce {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}
.img-controduce img {
    width: 100%;
    height: auto;
}
.content-introduce h4 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    color: #222;
    margin: 30px 0 10px 0;
}
.content-introduce form {
    position: relative;
    margin-bottom: 30px;
}
.content-introduce input {
    width: 100%;
    padding: 10px 50px 10px 15px;
    border: 1px solid #ddd;
}
.content-introduce .bt {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: #ffa6a8;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.content-introduce .bt:hover {
    background: #ff8a8d;
}
.icon-introduce {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
.icon-introduce a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    transition: all 0.3s;
}
.icon-introduce a:hover {
    background: #ffa6a8;
    color: #fff;
}
.close-introduce {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
}

/* Header Mobile */
.header-mobile {
    display: none;
    padding: 15px 0;
}
.menu-mobile {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: all 0.3s;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
}
.menu-mobile.active {
    left: 0;
}
.menu-mobile ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}
.menu-mobile ul li {
    border-bottom: 1px solid #f5f5f5;
}
.menu-mobile ul li a {
    display: block;
    padding: 15px 0;
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
}
.menu-mobile .drop-menu {
    display: none;
    padding-left: 20px;
}
.menu-mobile .drop-link {
    float: right;
    cursor: pointer;
    transition: all 0.3s;
}
.menu-mobile .drop-link.active {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: block;
    }
}

@media (min-width: 992px) {
    .header-desktop {
        display: block;
    }
    .header-mobile {
        display: none;
    }
}

/* Footer Uray Template */
.footer-uray {
    background: #fff;
    padding: 80px 0 0 0;
    border-top: 1px solid #f0f0f0;
}
.footer-content {
    padding-bottom: 60px;
}
.footer-widget {
    margin-bottom: 30px;
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-tagline {
    font-size: 14px;
    color: #999;
    margin: 0;
}
.footer-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 20px 0;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 35px;
    height: 35px;
    background: #f5f5f5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: #ffa6a8;
    color: #fff;
}
.footer-title {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 25px;
    text-transform: capitalize;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
}
.footer-links li i {
    color: #ffa6a8;
    margin-right: 10px;
    margin-top: 2px;
    font-size: 12px;
}
.footer-links li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-links li a:hover {
    color: #ffa6a8;
    padding-left: 5px;
}
.newsletter-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}
.newsletter-input {
    position: relative;
    display: flex;
}
.newsletter-input input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}
.newsletter-input input:focus {
    outline: none;
    border-color: #ffa6a8;
}
.newsletter-input button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffa6a8;
    border: none;
    width: 40px;
    height: 35px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.newsletter-input button:hover {
    background: #ff8a8d;
}
.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding: 30px 0;
    text-align: center;
}
.copyright-text {
    color: #999;
    font-size: 14px;
    margin: 0;
}
@media (max-width: 991px) {
    .footer-uray {
        padding: 50px 0 0 0;
    }
    .footer-content {
        padding-bottom: 30px;
    }
    .footer-widget {
        margin-bottom: 40px;
    }
}
ul.shopping-list {
    display: block !important;
}