/**
Theme Name: Stroneo! Child
Author: Two Colours
Author URI: https://two-colours.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stroneo-child
Template: astra
*/

/*Default w sidebar koszyku  */
/* Ukryj duży placeholder/miniaturę w podsumowaniu produktu */
.xoo-wsc-body .xoo-wsc-sum-col .xoo-wsc-sm-left .ast-product-thumbnail {
    display: none !important;
}

/* Mała miniatura po lewej */
.xoo-wsc-body .xoo-wsc-img-col > a > img {
    width: 90px;
    height: 90px;
    object-fit: contain !important;
    object-position: center;
}

/* =========================================
   KP — WooCommerce Thank You / Order Received
   Dotyczy tylko strony po zakupie
   ========================================= */

body.woocommerce-order-received {
    background: #2d52c4;
}

/* główna karta */
body.woocommerce-order-received .woocommerce {
    width: min(860px, calc(100% - 32px));
    margin: 56px auto 80px;
    padding: 42px 44px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(10, 35, 110, .16);
    color: #263750;
}

/* hero */
body.woocommerce-order-received .kp-thankyou-hero {
    max-width: 680px;
    margin-bottom: 30px;
}

body.woocommerce-order-received .kp-thankyou-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #e8ab00;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

body.woocommerce-order-received .kp-thankyou-kicker::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: #ffc900;
}

body.woocommerce-order-received .kp-thankyou-hero h1 {
    margin: 0 0 14px;
    color: #173b94;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 700;
}

body.woocommerce-order-received .kp-thankyou-hero p {
    margin: 0;
    color: #657083;
    font-size: 15px;
    line-height: 1.6;
}

/* komunikat pod hero */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-left: 3px solid #ffc900;
    background: #f5f7fc;
    color: #173b94;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================
   Podsumowanie: 3 kolumny + płatność na dole
   ========================================= */

body.woocommerce-order-received .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 30px !important;
    padding: 0 !important;
    background: #f8f9fc;
    border: 1px solid #e2e7f2;
    border-radius: 12px;
    overflow: hidden;
    list-style: none;
}

body.woocommerce-order-received .woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border: 0 !important;
    border-right: 1px solid #e2e7f2 !important;
    color: #69758b;
    font-size: 13px;
    line-height: 1.4;
    text-transform: none !important;
    min-width: 0;
}

body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3) {
    border-right: 0 !important;
}

body.woocommerce-order-received .woocommerce-order-overview li:nth-child(4) {
    grid-column: 1 / -1;
    border-right: 0 !important;
    border-top: 1px solid #e2e7f2 !important;
}

body.woocommerce-order-received .woocommerce-order-overview strong {
    display: block;
    margin-top: 6px;
    color: #173b94;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    text-transform: none;
}

/* nagłówki sekcji */
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
    margin: 28px 0 14px;
    color: #173b94;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}

/* tabela zamówienia */
body.woocommerce-order-received table.shop_table {
    width: 100%;
    margin: 0 0 24px !important;
    border: 1px solid #e2e7f2 !important;
    border-radius: 10px;
    border-collapse: separate !important;
    border-spacing: 0;
    overflow: hidden;
    background: #fff;
}

body.woocommerce-order-received table.shop_table th {
    background: #f5f7fc;
    color: #173b94;
    font-size: 13px;
    font-weight: 700;
}

body.woocommerce-order-received table.shop_table td {
    color: #263750;
    font-size: 13px;
}

body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td {
    padding: 12px 14px !important;
    border-color: #e2e7f2 !important;
    line-height: 1.45;
}

/* adres */
body.woocommerce-order-received .woocommerce-customer-details {
    margin-top: 28px;
}

body.woocommerce-order-received .woocommerce-customer-details address {
    padding: 18px !important;
    border: 1px solid #e2e7f2 !important;
    border-radius: 10px !important;
    background: #f8f9fc;
    color: #263750;
    font-size: 14px;
    line-height: 1.6;
}

/* linki */
body.woocommerce-order-received a {
    color: #2456c7;
    font-weight: 600;
}

/* przyciski */
body.woocommerce-order-received .woocommerce a.button,
body.woocommerce-order-received .woocommerce-button,
body.woocommerce-order-received .wc-backward {
    padding: 11px 18px !important;
    border-radius: 5px !important;
    background: #ffc900 !important;
    color: #173b94 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* =========================================
   Tickera
   ========================================= */

body.woocommerce-order-received .tc_tickets_table,
body.woocommerce-order-received table.tc_tickets_table,
body.woocommerce-order-received .event_tickets,
body.woocommerce-order-received .tickets_table {
    width: 100%;
    font-size: 13px;
}

body.woocommerce-order-received .tc_tickets_table th,
body.woocommerce-order-received .tc_tickets_table td,
body.woocommerce-order-received .event_tickets th,
body.woocommerce-order-received .event_tickets td,
body.woocommerce-order-received .tickets_table th,
body.woocommerce-order-received .tickets_table td {
    padding: 10px 12px !important;
    vertical-align: top;
}

/* jeśli Tickera wyrzuca h2 "Tickets" */
body.woocommerce-order-received .tc_tickets_table h2,
body.woocommerce-order-received .event_tickets h2,
body.woocommerce-order-received .tickets_table h2 {
    color: #173b94;
    font-size: 21px;
    line-height: 1.25;
    margin: 28px 0 14px;
}

/* usuń niepotrzebny stary tytuł strony checkout */
body.woocommerce-order-received .entry-title {
    display: none;
}

/* =========================================
   Tablet / mobile
   ========================================= */

@media (max-width: 800px) {
    body.woocommerce-order-received .woocommerce {
        width: calc(100% - 24px);
        margin: 28px auto 50px;
        padding: 28px 22px;
    }

    body.woocommerce-order-received .kp-thankyou-hero h1 {
        font-size: 29px;
    }

    body.woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
    }

    body.woocommerce-order-received .woocommerce-order-overview li:nth-child(2) {
        border-right: 0 !important;
    }

    body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3) {
        border-top: 1px solid #e2e7f2 !important;
        border-right: 1px solid #e2e7f2 !important;
    }

    body.woocommerce-order-received .woocommerce-order-overview li:nth-child(4) {
        grid-column: auto;
        border-top: 1px solid #e2e7f2 !important;
    }
}

@media (max-width: 520px) {
    body.woocommerce-order-received .woocommerce {
        padding: 24px 16px;
    }

    body.woocommerce-order-received .kp-thankyou-hero h1 {
        font-size: 26px;
    }

    body.woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    body.woocommerce-order-received .woocommerce-order-overview li {
        border-right: 0 !important;
        border-bottom: 1px solid #e2e7f2 !important;
    }

    body.woocommerce-order-received .woocommerce-order-overview li:nth-child(3),
    body.woocommerce-order-received .woocommerce-order-overview li:nth-child(4) {
        border-top: 0 !important;
        border-right: 0 !important;
    }

    body.woocommerce-order-received .woocommerce-order-overview li:last-child {
        border-bottom: 0 !important;
    }

    body.woocommerce-order-received table.shop_table th,
    body.woocommerce-order-received table.shop_table td {
        padding: 10px !important;
        font-size: 12px;
    }
}

body.woocommerce-order-received
.woocommerce-order-overview li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border: 0 !important;
    border-right: 1px solid #e2e7f2 !important;
    min-width: 0;
    position: static !important;
}

body.woocommerce-order-received
.woocommerce-order-overview li::before,
body.woocommerce-order-received
.woocommerce-order-overview li::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-order-received .woocommerce-order-overview::before,
body.woocommerce-order-received .woocommerce-order-overview::after {
  content: none !important;
  display: none !important;
}

