/*
Theme Name:   Storefront Child – LoL GO Shop
Theme URI:    https://woocommerce.com/products/storefront/
Description:  Child theme of Storefront, tailored for the LoL GO shop. Uses the LoL GO brand blue colour palette.
Author:       lol_shop
Template:     storefront
Version:      1.1.0
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  storefront-child
*/

/* ---------------------------------------------------------------
   LoL GO brand colour palette  (primary blue taken from lolgo.svg)
   --------------------------------------------------------------- */
:root {
	--glider-sky-dark:    #006bbf;
	--glider-sky-mid:     #0090ff;
	--glider-sky-light:   #66c2ff;
	--glider-horizon:     #e6f5ff;
	--glider-white:       #ffffff;
	--glider-text:        #444444;
}

/* ---------------------------------------------------------------
   Subtle background – aviation-themed with clouds and flight paths
   --------------------------------------------------------------- */
body {
	background-image: url('images/lolshop_clouds_subtle.svg');
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	min-height: 100vh;
	opacity: 0.85;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('images/lolshop_clouds_subtle.svg');
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 0.5;
	z-index: -1;
}

body {
	background: none;
	min-height: 100vh;
}

/* ---------------------------------------------------------------
   Header – LoL GO brand blue background
   --------------------------------------------------------------- */
.site-header {
	background: linear-gradient(
		135deg,
		var(--glider-sky-dark)  0%,
		var(--glider-sky-mid)  55%,
		var(--glider-sky-light) 100%
	) !important;
}

/* Header text / links – white on the blue background */
.site-header .site-title a,
.site-header .site-description,
.site-header .storefront-handheld-footer-bar a,
.main-navigation ul li a {
	color: var(--glider-white) !important;
}

/* ---------------------------------------------------------------
    Navigation Menu – aerospace font sizing and prominence
    --------------------------------------------------------------- */
.main-navigation ul li a {
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Mobile nav – maintain readability */
@media (max-width: 768px) {
	.main-navigation ul li a {
		font-size: 1.1rem;
	}
}

/* ---------------------------------------------------------------
   Site logo area – LoL GO SVG logo, responsive sizing
   --------------------------------------------------------------- */
.site-branding .glider-logo {
	display:     flex;
	align-items: center;
	gap:         0.6rem;
	text-decoration: none;
	color:       var(--glider-white);
}

.site-branding .glider-logo .lol-logo-img {
	width:     210px;
	max-width: 40vw;
	height:    auto;
}

.site-branding .glider-logo .glider-site-name {
	font-size:   1.5rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.1;
	color:       var(--glider-white);
}

/* ---------------------------------------------------------------
   Primary buttons – sky blue to match header
   --------------------------------------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
button[type="submit"] {
	background-color: var(--glider-sky-mid)  !important;
	border-color:     var(--glider-sky-dark) !important;
	color:            var(--glider-white)    !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background-color: var(--glider-sky-dark) !important;
}

/* ---------------------------------------------------------------
   Product cards – very subtle sky tint on hover
   --------------------------------------------------------------- */
.woocommerce ul.products li.product:hover {
	box-shadow: 0 4px 18px rgba(74, 144, 217, 0.18);
	transition: box-shadow 0.25s ease;
}

/* ---------------------------------------------------------------
   Page title bar – light horizon colour
   --------------------------------------------------------------- */
.storefront-breadcrumb {
	background-color: var(--glider-horizon);
}

.woocommerce-products-header {
	background-color: transparent !important;
}

/* ---------------------------------------------------------------
    Flights-description placeholder – shown below the product grid
    on the main shop page
    --------------------------------------------------------------- */
.lol-flights-description {
	border-top: 2px solid var(--glider-sky-light);
	margin-top: 3rem;
	padding: 2.5rem 1rem;
	text-align: center;
	background: linear-gradient(180deg, var(--glider-horizon) 0%, var(--glider-white) 100%);
	position: relative;
	overflow: hidden;
}

.lol-flights-description__inner {
	max-width: 760px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

/* Glider hero image – responsive, rounded, with subtle shadow */
.lol-flights-description__image {
	display: block;
	width: 100%;
	max-width: 720px;
	height: auto;
	border-radius: 12px;
	margin-bottom: 1.75rem;
	box-shadow: 0 8px 24px rgba(0, 107, 191, 0.15);
	object-fit: cover;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image hover lift effect */
.lol-flights-description__image:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 107, 191, 0.22);
}

.lol-flights-description__title {
	color: var(--glider-sky-dark);
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1rem;
	margin-top: 0;
	letter-spacing: -0.01em;
}

.lol-flights-description__text {
	color: var(--glider-text);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0;
}

/* ---------------------------------------------------------------
   Empty-cart product grid – constrain width so the 2 cards sit
   close together instead of spanning the full page container
   --------------------------------------------------------------- */
.wp-block-woocommerce-empty-cart-block .wc-block-grid {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------------------------------------------------------------
    Typography – Exo 2 (aviation-inspired geometric font)
    --------------------------------------------------------------- */
body,
button,
input,
select,
textarea {
	font-family: "Exo 2", "Source Sans Pro", sans-serif !important;
}

.site-branding .glider-logo .glider-site-name {
	font-family: "Exo 2", "Source Sans Pro", sans-serif !important;
}

/* ---------------------------------------------------------------
   Footer – gliding organization identity styling
   --------------------------------------------------------------- */
.site-info .lol-credit-org {
	color: var(--glider-sky-dark);
	font-weight: 600;
}

/* ---------------------------------------------------------------
    Vibe & typography polish – Exo 2 refinements
    --------------------------------------------------------------- */

/* Product cards – base: border-radius + transition for lift */
.woocommerce ul.products li.product {
    border-radius: 8px;
    border: 1px solid #eee;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* Product cards – hover: lift effect (extend existing hover rule) */
.woocommerce ul.products li.product:hover {
    transform: translateY(-2px);
}

/* Product images – rounded top corners */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    border-radius: 8px 8px 0 0;
}

/* Buttons – rounded corners with Exo 2 prominence */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
button[type="submit"] {
    border-radius: 6px !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Body text – subtle letter-spacing */
body {
    letter-spacing: 0.01em;
}

/* Headings – Exo 2 geometric precision */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.01em;
    font-weight: 700;
}

.entry-title {
    letter-spacing: -0.02em;
}

/* Content Area Links */
.entry-content a {
    color: var(--glider-sky-dark);
    text-decoration-color: var(--glider-sky-light);
}

/* Breadcrumb – refined typography */
.storefront-breadcrumb {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

/* Rank Math Breadcrumbs */
.rank-math-breadcrumb {
	font-size: 0.875rem;
	padding: 1rem 0;
	color: var(--glider-text);
}

.rank-math-breadcrumb a {
	color: var(--glider-sky-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

.rank-math-breadcrumb a:hover {
	color: var(--glider-sky-mid);
	text-decoration: underline;
}

.rank-math-breadcrumb .separator {
	margin: 0 0.5rem;
	color: var(--glider-sky-light);
}




/* ---------------------------------------------------------------
   Regulamin (Terms & Conditions) – improved readability
   Scoped entirely to .page-id-97 to avoid leaking to other pages.
   --------------------------------------------------------------- */

/* Content area: comfortable reading width */
.page-id-97 .entry-content {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* Paragraphs: generous spacing and line-height */
.page-id-97 .entry-content p {
    line-height: 1.75;
    margin-bottom: 1.5em;
    font-size: 1.05rem;
    color: var(--glider-text);
    border-left: 3px solid var(--glider-horizon);
    padding-left: 1rem;
}

/* Section headings (§ N) */
.page-id-97 .entry-content .regulamin-section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--glider-sky-dark);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--glider-sky-light);
}

/* Title paragraph (first p with REGULAMIN) — featured */
.page-id-97 .entry-content p:first-child {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Mobile: relax max-width and reduce font sizes */
@media (max-width: 600px) {
    .page-id-97 .entry-content {
        max-width: 100%;
    }
    .page-id-97 .entry-content p {
        font-size: 0.95rem;
    }
    }

/* ---------------------------------------------------------------
   Product loop – short description excerpt below the price
   --------------------------------------------------------------- */
.woocommerce ul.products li.product .woocommerce-product-details__short-description {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--glider-text);
    margin: 0.5rem 0 0.75rem;
    opacity: 0.85;
}

.woocommerce ul.products li.product .woocommerce-product-details__short-description + a.button,
.woocommerce ul.products li.product .woocommerce-product-details__short-description ~ a.button {
    margin-top: 0.75rem;
}

    /* Product images – fill card width, preserve aspect ratio */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block;
}
