/*
 Theme Name:   Top Store Child
 Theme URI:    https://iprodlog.com
 Description:  Child theme for Top Store — iprodlog.com customizations
 Author:       iprodlog
 Author URI:   https://iprodlog.com
 Template:     top-store
 Version:      1.0.0
 Text Domain:  top-store-child
*/

/*
 * All custom CSS goes below this line.
 * This file is loaded after the parent theme — your styles always win.
 */

/* ============================================================
   IPRODLOG — Warm Ember Theme
   ============================================================ */

/* --- Body & Page Background --- */
body {
    background: linear-gradient(160deg, #fff7ed 0%, #fffbf5 50%, #ffffff 100%);
    background-attachment: fixed;
}

/* --- Header --- */
.site-header,
#masthead {
    background: linear-gradient(90deg, #111827 0%, #1f2937 60%, #111827 100%) !important;
    box-shadow: 0 2px 20px rgba(249, 115, 22, 0.15);
}

/* --- Top bar above header --- */
.top-header-bar,
.above-header {
    background: #0a0f1a !important;
}

/* --- Navigation links in header --- */
.site-header a,
#masthead a,
.main-navigation a {
    color: #f3f4f6 !important;
}
.main-navigation a:hover,
.site-header a:hover {
    color: #f97316 !important;
}

/* --- Product Cards --- */
ul.products li.product,
.product-inner {
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07) !important;
    border: 1px solid rgba(249, 115, 22, 0.12) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}
ul.products li.product:hover,
.product-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(249, 115, 22, 0.16) !important;
}

/* --- Buttons --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
a.button,
button.button {
    background: linear-gradient(90deg, #f97316, #ea580c) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 12px rgba(249, 115, 22, 0.30) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button:hover,
a.button:hover,
button.button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* --- Footer --- */
.site-footer,
#colophon {
    background: linear-gradient(160deg, #111827 0%, #1f2937 100%) !important;
    color: #d1d5db !important;
}
.site-footer a,
#colophon a {
    color: #fb923c !important;
}
.site-footer a:hover,
#colophon a:hover {
    color: #f97316 !important;
}

/* --- Widget titles in footer --- */
.site-footer .widget-title,
#colophon .widget-title {
    color: #ffffff !important;
    border-bottom: 2px solid #f97316;
    padding-bottom: 6px;
}

/* --- Sidebar / Widgets --- */
.widget,
.sidebar .widget {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(249, 115, 22, 0.12) !important;
    padding: 18px !important;
}

/* --- Sale badge --- */
.onsale {
    background: linear-gradient(135deg, #f97316, #dc2626) !important;
    border-radius: 6px !important;
}

/* --- Price color --- */
.woocommerce-Price-amount,
.price {
    color: #ea580c !important;
}

/* --- Category Toggle --- */
.toggle-cat-wrap,
.toggle-cat-wrap .cat-toggle {
    background: #111827 !important;
    color: #ffffff !important;
}
.toggle-cat-wrap .toggle-title {
    color: #ffffff !important;
}
.toggle-cat-wrap .cat-top,
.toggle-cat-wrap .cat-bot {
    background: #ffffff !important;
}
.toggle-cat-wrap .toggle-icon {
    border-color: #ffffff transparent transparent transparent !important;
}

/* --- Shipping Banner --- */
.simple-banner {
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 48px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid #f97316;
    position: relative;
    z-index: 9999;
    text-align: center;
}
.simple-banner-text span {
    color: #f3f4f6;
}
.simple-banner-button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #f3f4f6;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.7;
}
.simple-banner-button:hover {
    opacity: 1;
    color: #f97316 !important;
    background: none !important;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
}

/* --- Hide site title text (logo image is used instead) --- */
.site-title {
    display: none !important;
}

/* ============================================================ */
