/*
Theme Name: Codexup Store
Theme URI: https://codexup.com/themes/codexup-store
Author: Codexup
Author URI: https://codexup.com
Description: Codexup Store is a premium, modern, and high-performance WordPress starter theme built for digital product stores, theme shops, and creative portfolios. Fully compatible with Elementor Page Builder and WooCommerce, it provides a clean, lightweight foundation with semantic HTML5 markup, full block editor support, and developer-friendly hooks for rapid customization.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codexup-store
Tags: e-commerce, portfolio, custom-menu, featured-images, full-width-template, theme-options, translation-ready, block-styles, wide-blocks, footer-widgets
WC requires at least: 6.0
WC tested up to: 9.0

Codexup Store is distributed under the terms of the GNU GPL v2 or later.
*/

/* =========================================
   Reset & Base
========================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1d2327;
	background-color: #ffffff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
	color: #1d4ed8;
}

ul,
ol {
	margin: 0 0 1.5em;
	padding-left: 1.5em;
}

p {
	margin: 0 0 1.5em;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* =========================================
   Layout Container
========================================= */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.site-content {
	flex: 1 0 auto;
	padding: 40px 0;
}

/* =========================================
   Header
========================================= */
.site-header {
	border-bottom: 1px solid #e5e7eb;
	padding: 18px 0;
	background-color: #ffffff;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.site-branding .site-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.site-branding .site-title a {
	color: #1d2327;
}

.site-branding .site-description {
	margin: 4px 0 0;
	font-size: 13px;
	color: #6b7280;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	color: #1d2327;
	font-weight: 500;
	font-size: 15px;
}

.main-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 8px 0;
	min-width: 180px;
	flex-direction: column;
	gap: 0;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	z-index: 50;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: flex;
}

.main-navigation .sub-menu li {
	width: 100%;
}

.main-navigation .sub-menu a {
	display: block;
	padding: 8px 16px;
}

.menu-toggle {
	display: none;
}

/* =========================================
   Entry / Content
========================================= */
.entry-header {
	margin-bottom: 24px;
}

.entry-title {
	font-size: 32px;
	line-height: 1.25;
	margin: 0 0 12px;
}

.entry-title a {
	color: #1d2327;
}

.entry-meta {
	font-size: 14px;
	color: #6b7280;
}

.entry-meta a {
	color: #6b7280;
}

.entry-content {
	font-size: 17px;
}

.entry-content > * {
	max-width: 100%;
}

.entry-footer {
	margin-top: 24px;
	font-size: 14px;
	color: #6b7280;
}

.post-thumbnail {
	margin-bottom: 24px;
	border-radius: 8px;
	overflow: hidden;
}

article.post,
article.page {
	margin-bottom: 48px;
}

/* =========================================
   Elementor Full-Width Page Template
========================================= */
.codexup-elementor-page .site-content {
	padding: 0;
}

.codexup-elementor-page .entry-content {
	max-width: 100%;
}

/* =========================================
   Footer
========================================= */
.site-footer {
	border-top: 1px solid #e5e7eb;
	padding: 30px 0;
	background-color: #f9fafb;
	margin-top: auto;
}

.site-footer .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.site-info {
	font-size: 14px;
	color: #6b7280;
}

.site-info a {
	color: #6b7280;
	font-weight: 600;
}

/* =========================================
   Forms & Buttons (WooCommerce friendly)
========================================= */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	background-color: #1d2327;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 10px 22px;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
	background-color: #2563eb;
	color: #ffffff;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 15px;
	font-family: inherit;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 767px) {
	.main-navigation ul {
		gap: 14px;
	}

	.entry-title {
		font-size: 26px;
	}
}
