/*
Theme Name: Storefront Child Premium
Template: storefront
Version: 1.0
*/

/* ===== GLOBAL TEXT ===== */
body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fb;
    color: #fff; /* text white */
}

a {
    color: #fff; /* text white */
    text-decoration: none;
}

a:hover {
    color: #fff; /* hover white */
}

/* ================= PREMIUM HEADER OVERRIDE ================= */

header.premium-header {
    background: rgba(2,6,23,0.92) !important;
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

header.premium-header .container {
    max-width: 1280px;
    margin: auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
header.premium-header .logo a {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px;
}

/* NAV */
header.premium-header .main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

header.premium-header .main-nav a {
    color: #cbd5e1 !important;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
}

/* underline animation */
header.premium-header .main-nav a:after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,#6d5dfc,#00e5ff);
    transition: 0.3s;
}

header.premium-header .main-nav a:hover {
    color: #ffffff !important;
}

header.premium-header .main-nav a:hover:after {
    width: 100%;
}

/* CART */
header.premium-header .header-cart {
    background: linear-gradient(135deg,#6d5dfc,#00e5ff);
    padding: 10px 18px;
    border-radius: 40px;
    font-weight: 700;
}

header.premium-header .header-cart a {
    color: #ffffff !important;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* CART COUNT */
header.premium-header .header-cart span {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {
    header.premium-header .main-nav {
        display: none;
    }
}

/* ===== HERO ===== */
.hero {
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

/* ===== FOOTER ===== */
.premium-footer {
    background: #111;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 40px;
}

.footer-grid h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-grid p,
.footer-grid li {
    color: #fff;
}

.footer-grid a {
    color: #fff;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #fff;
}

/* ===== SHOP PAGE ===== */
.shop-container {
    max-width: 1280px;
    margin: auto;
    padding: 40px 20px;
    color: #fff;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.products li.product {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.products li.product img {
    border-radius: 12px;
}

.woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0;
    color: #fff;
}

.price {
    font-size: 17px;
    color: #fff;
    font-weight: bold;
}

.button {
    background: #111;
    color: #fff;
    border-radius: 30px;
    padding: 10px 18px;
    margin-top: 10px;
}

/* ===== SINGLE PRODUCT ===== */
.single-product-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    color: #fff;
}

.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-summary h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffff;
}

.product-summary .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.product-summary p,
.product-summary li {
    color: #fff;
}

.product-summary form.cart {
    margin-top: 25px;
}

.product-summary button.single_add_to_cart_button {
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 16px;
}

.product-tabs {
    margin-top: 60px;
    color: #fff;
}

/* ===== CHECKOUT ===== */
.checkout-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
    color: #fff;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.checkout-right {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    color: #fff;
}

.checkout-wrapper label,
.checkout-wrapper p {
    color: #fff;
}

.checkout-wrapper input,
.checkout-wrapper textarea,
.checkout-wrapper select {
    color: #fff;
}

.checkout-wrapper button {
    background: #111;
    color: #fff;
    padding: 14px;
    border-radius: 30px;
    font-size: 16px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    .single-product-grid {
        grid-template-columns: 1fr;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= PREMIUM COLOR SYSTEM ================= */
:root {
    --primary: #6d5dfc;
    --secondary: #00e5ff;
    --dark: #0f1225;
    --dark-soft: #171a36;
    --light: #f5f6ff;
    --text-light: #cfd2ff;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6d5dfc, #00e5ff);
}

/* ================= GLOBAL ================= */
body {
    background: var(--dark);
    color: var(--text-light);
}

.container {
    max-width: 1250px;
    margin: auto;
    padding: 0 20px;
}

.section-title {
    font-size: 34px;
    margin-bottom: 40px;
    text-align: center;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= HERO ================= */
.premium-hero {
    background: radial-gradient(circle at top, #1b1f4a, #0b0d1e);
    padding: 120px 0;
    text-align: center;
}

.premium-hero h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 15px;
}

.premium-hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--gradient);
    padding: 14px 34px;
    border-radius: 40px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,229,255,.35);
}

/* ================= SECTIONS ================= */
.home-section {
    padding: 90px 0;
}

.alt-bg {
    background: var(--dark-soft);
}

/* ================= FEATURES ================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
}

.feature-box {
    background: rgba(255,255,255,.05);
    border-radius: 18px;
    padding: 35px;
    backdrop-filter: blur(12px);
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.feature-box h3 {
    color: var(--white);
    margin-bottom: 10px;
}

/* ================= PRODUCTS ================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 30px;
}

.products li.product {
    background: rgba(255,255,255,.04);
    border-radius: 20px;
    padding: 18px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,.08);
}

.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
}

.woocommerce-loop-product__title {
    color: var(--white);
    font-size: 17px;
}

.price {
    color: var(--secondary);
    font-weight: 700;
}

.products .button {
    background: var(--gradient);
    border-radius: 30px;
    color: #fff;
    margin-top: 10px;
}

/* ================= WHY US ================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us h2 {
    color: var(--white);
    font-size: 36px;
}

.why-us li {
    margin-bottom: 10px;
}

/* ================= TESTIMONIALS ================= */
.testimonial-box {
    background: rgba(255,255,255,.05);
    border-radius: 20px;
    padding: 30px;
    font-style: italic;
}

.testimonial-box strong {
    display: block;
    margin-top: 15px;
    color: var(--secondary);
}

/* ================= CTA ================= */
.cta {
    background: var(--gradient);
    padding: 90px 0;
    text-align: center;
}

.cta h2 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 25px;
}

.cta .btn-primary {
    background: #fff;
    color: #000;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .premium-hero h1 {
        font-size: 36px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}


    /* ================= SINGLE PRODUCT PREMIUM UI ================= */

/* ===== CONTAINER ===== */
.single-product-container {
    max-width: 1250px;
    margin: auto;
    padding: 50px 20px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

/* ===== GRID ===== */
.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media(max-width:1024px) {
    .single-product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== PRODUCT IMAGES ===== */
.product-images {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.product-images img {
    max-width: 100%;
    border-radius: 15px;
    transition: transform 0.3s;
}

.product-images img:hover {
    transform: scale(1.05);
}

/* ===== PRODUCT SUMMARY ===== */
.product-summary h1.product-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--white);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.product-rating span {
    color: var(--text-light);
    font-size: 14px;
}

.product-summary .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.product-summary .woocommerce-product-details__short-description {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
}

/* ===== HIGHLIGHTS ===== */
.product-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.product-highlights li {
    background: rgba(255,255,255,0.05);
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    transition: 0.3s;
}

.product-highlights li:hover {
    background: rgba(255,255,255,0.1);
}

/* ===== ADD TO CART ===== */
.single_add_to_cart_button {
    background: var(--gradient);
    color: var(--white);
    font-size: 18px;
    padding: 16px 32px;
    border-radius: 50px;
    transition: 0.3s;
    width: 100%;
    text-align: center;
}

.single_add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,229,255,0.35);
}

/* ===== TRUST BOX ===== */
.trust-box {
    margin-top: 25px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 18px;
}

.trust-box p {
    margin: 5px 0;
    color: var(--text-light);
    font-size: 14px;
}

/* ===== PRODUCT INFO STRIP ===== */
.product-info-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 50px 0 30px;
}

.product-info-strip div {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.product-info-strip strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
    font-size: 14px;
}

.product-info-strip span {
    color: var(--secondary);
    font-weight: 600;
}

/* ===== PRODUCT TABS ===== */
.product-tabs {
    margin-top: 50px;
}

.woocommerce-tabs {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 18px;
}

.woocommerce-tabs h2 {
    font-size: 22px;
    color: var(--white);
}

/* ===== RELATED PRODUCTS ===== */
.related-products-section {
    margin-top: 80px;
}

.related-products-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 25px;
}

.related-products ul.products li.product {
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.related-products ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ===== MOBILE RESPONSIVE ===== */
@media(max-width:768px) {
    .single-product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-info-strip {
        grid-template-columns: 1fr 1fr;
    }

    .single_add_to_cart_button {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* ===== PREMIUM GRADIENT BUTTONS ===== */
.btn-gradient {
    background: var(--gradient);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,229,255,0.35);
}

/* ================= PREMIUM HEADING SYSTEM ================= */

:root {
    --h1-size: clamp(34px, 4vw, 52px);
    --h2-size: clamp(28px, 3.2vw, 40px);
    --h3-size: clamp(22px, 2.6vw, 32px);
    --h4-size: clamp(18px, 2vw, 24px);
    --h5-size: 16px;
    --h6-size: 14px;

    --heading-line: 1.25;
    --heading-spacing: -0.02em;
}

/* ===== GLOBAL HEADINGS ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    line-height: var(--heading-line);
    letter-spacing: var(--heading-spacing);
    margin: 0 0 18px 0;
}

/* ===== INDIVIDUAL SCALE ===== */
h1 {
    font-size: var(--h1-size);
    font-weight: 800;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 700;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 600;
}

h4 {
    font-size: var(--h4-size);
    font-weight: 600;
}

h5 {
    font-size: var(--h5-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

h6 {
    font-size: var(--h6-size);
    font-weight: 500;
    opacity: 0.85;
}

/* ===== HEADING + TEXT COMBO ===== */
h1 + p,
h2 + p,
h3 + p {
    margin-top: -8px;
    color: var(--text-light);
    font-size: 17px;
}

/* ===== CENTERED HEADINGS (HERO / SECTIONS) ===== */
.section-title,
.hero h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* ===== CARD / BOX HEADINGS ===== */
.card h3,
.feature-box h3,
.product-summary h1 {
    margin-bottom: 12px;
}

/* ===== MOBILE FINE TUNING ===== */
@media(max-width:768px){
    h1 { margin-bottom: 16px; }
    h2 { margin-bottom: 14px; }
    h3 { margin-bottom: 12px; }
}

}


/* ===== GLOBAL ===== */
.woocommerce *,
.woocommerce-checkout *,
.woocommerce-cart * {
    box-sizing: border-box;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ===== CART PAGE ===== */
.woocommerce-cart .woocommerce {
    background:#020617;
    padding:40px;
    border-radius:24px;
}

.woocommerce-cart table.shop_table {
    background:#0f172a;
    border-radius:20px;
    overflow:hidden;
    border:none;
}

.woocommerce-cart table th {
    background:#020617;
    color:#94a3b8;
    padding:18px;
    font-weight:600;
}

.woocommerce-cart table td {
    padding:20px;
    color:#fff;
    border-top:1px solid #1e293b;
}

.woocommerce-cart .product-name a {
    color:#fff;
    font-weight:600;
}

.woocommerce-cart .quantity input {
    background:#020617;
    border:1px solid #1e293b;
    color:#fff;
    border-radius:12px;
    padding:8px;
}

/* totals */
.woocommerce-cart .cart_totals {
    background:#0f172a;
    padding:30px;
    border-radius:20px;
    margin-top:30px;
}

.woocommerce-cart .checkout-button {
    background:#c9a24d;
    color:#020617;
    padding:18px;
    border-radius:14px;
    font-weight:800;
    font-size:16px;
}


/* ===== CHECKOUT GRID ===== */
.woocommerce-checkout {
    background:#020617;
    padding:40px 0;
}

.woocommerce-checkout .woocommerce {
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:32px;
}

.woocommerce-checkout form.checkout {
    background:#0f172a;
    padding:40px;
    border-radius:24px;
}

.woocommerce-checkout h3 {
    color:#c9a24d;
    margin-bottom:20px;
    font-size:20px;
}


.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    background:#020617;
    border:1px solid #1e293b;
    color:#fff;
    border-radius:14px;
    padding:14px;
    font-size:14px;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    border-color:#c9a24d;
    outline:none;
}


/* ===== ORDER REVIEW ===== */
.woocommerce-checkout #order_review {
    background:#0f172a;
    padding:35px;
    border-radius:24px;
    position:sticky;
    top:20px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color:#fff;
    padding:14px 0;
    border-bottom:1px solid #1e293b;
}

.woocommerce-checkout-review-order-table tfoot th {
    color:#94a3b8;
}


/* ===== PAYMENT METHODS ===== */
#payment {
    background:#020617;
    padding:25px;
    border-radius:20px;
}

#payment ul.payment_methods li {
    background:#0f172a;
    padding:18px;
    border-radius:16px;
    margin-bottom:12px;
    border:1px solid #1e293b;
}

#payment label {
    color:#fff;
    font-weight:600;
}

.payment_box {
    background:#020617 !important;
    border-radius:12px;
    color:#94a3b8;
}


/* ===== PLACE ORDER ===== */
#place_order {
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:#020617;
    padding:20px;
    font-size:18px;
    font-weight:900;
    border-radius:18px;
    letter-spacing:.5px;
    margin-top:20px;
}

@media(max-width:768px){

.woocommerce-checkout .woocommerce{
    grid-template-columns:1fr;
}

.woocommerce-checkout form.checkout,
#order_review{
    padding:25px;
}

#place_order{
    font-size:16px;
    padding:16px;
}

}

