/*
Theme Name: Westeros Digital Shop
Theme URI: https://example.com/westeros
Author: Your Name
Author URI: https://example.com
Description: A colorful, modern HTML template for a digital content sales site, designed for WordPress and Elementor conversion.
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: westeros
Tags: e-commerce, digital-downloads, one-column, two-columns, right-sidebar
*/

/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    /* Colors */
    --color-primary: #00BCD4;
    /* Cyan Blue */
    --color-primary-dark: #0097a7;
    --color-secondary: #2C3E50;
    /* Dark Blue Gray */
    --color-accent-pink: #E91E63;
    --color-accent-orange: #FF9800;
    --color-accent-green: #4CAF50;
    --color-accent-purple: #9C27B0;

    --color-text: #333333;
    --color-text-light: #757575;
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F5;
    --color-border: #E0E0E0;

    /* Fonts */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Poppins', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px;
    --border-radius: 8px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* =========================================
   2. Utilities & Components
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-gray {
    background-color: var(--color-light-gray);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn--secondary:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-text-light);
    color: var(--color-text-light);
}

.btn--outline:hover {
    background-color: var(--color-text-light);
    color: white;
}

.btn--full {
    width: 100%;
    border-radius: 8px;
    text-align: center;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* Badges */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    z-index: 2;
}

.badge--sale {
    background-color: var(--color-accent-pink);
}

.badge--new {
    background-color: var(--color-primary);
}

/* Animation Utilities */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Section Headers */
.section-badge {
    color: var(--color-primary);
    font-weight: bold;
    font-family: var(--font-en);
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto 50px;
    border-radius: 2px;
}

/* Origenic Title Widget */
.origenic-title-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.origenic-section-title {
    margin: 0;
    padding-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.origenic-title-line {
    /* Base styles matching theme defaults */
    height: 4px;
    background-color: var(--color-primary);
    display: inline-block;
    border-radius: 99px;
    margin-top: 5px;
    margin-bottom: 10px;
    /* Reduced specific margin */
}

/* Breadcrumb (Global) */
.breadcrumb-area {
    padding: 18px 0;
    background-color: #f8f8f8;
    border-bottom: 2px solid var(--color-primary);
}

.ec-breadcrumb {
    font-size: 14px;
    color: var(--color-text-light);
    font-family: var(--font-en);
}

.ec-breadcrumb a {
    color: var(--color-secondary);
    font-weight: 500;
}

.ec-breadcrumb a:hover {
    color: var(--color-primary);
}

.ec-breadcrumb .delimiter {
    margin: 0 8px;
    color: #ccc;
}

/* =========================================
   3. Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header__logo {
    flex-shrink: 0;
    margin-right: 20px;
}

.header__logo a {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__logo i {
    color: var(--color-primary);
}

/* Reset Layout: Button Alignment */
.header__menu {
    display: flex;
    gap: 25px;
    margin-left: auto;
}

.header__menu a {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-secondary);
    position: relative;
    white-space: nowrap;
}

.header__menu a:hover,
.header__menu a.active {
    color: var(--color-primary);
}

.header__menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.header__menu a:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 25px;
    flex-shrink: 0;
}

.header__icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--color-secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Clean up any potential inherited styles */
    padding: 0;
    margin: 0;
    line-height: 1;
}

.header__icon-btn:hover,
.header__icon-btn.active {
    background-color: var(--color-light-gray);
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--color-accent-pink);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.header__toggle {
    display: none;
}

/* =========================================
   4. Hero Section
   ========================================= */
.hero {
    padding-top: 100px;
    /* Header height + space */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #E0F7FA 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
}

.hero__subtitle {
    color: var(--color-primary);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero__title {
    font-size: 56px;
    color: var(--color-secondary);
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero__title span {
    color: var(--color-primary);
}

.hero__desc {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 45px;
    max-width: 500px;
}

.hero__content .btn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.hero__image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0 var(--color-primary), 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero__image:hover img {
    transform: rotate(0);
}

/* Hero Image Fixed Size Mode (4:3) - 画像をトリミング */
.hero__image--fixed {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    box-shadow: 20px 20px 0 var(--color-primary), 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    transform: rotate(2deg) !important;
    transition: var(--transition) !important;
}

/* ホバーでコンテナ（影含む）の回転をリセット */
.hero__image--fixed:hover {
    transform: rotate(0deg) !important;
}

/* imgの回転・影をリセット（コンテナで管理するため） */
.hero__image--fixed img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: transform 0.5s !important;
}

/* ホバーで画像を少し拡大 */
.hero__image--fixed:hover img {
    transform: scale(1.05) !important;
}

/* Elementor用画像スタイル上書き（--fixedでないもの = オリジナルモード） */
.elementor .hero__image:not(.hero__image--fixed) img,
.origenic-hero-widget .hero__image:not(.hero__image--fixed) img {
    border-radius: 12px !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: 20px 20px 0 var(--color-primary), 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    transform: rotate(2deg) !important;
    transition: var(--transition) !important;
}

.elementor .hero__image:not(.hero__image--fixed):hover img,
.origenic-hero-widget .hero__image:not(.hero__image--fixed):hover img {
    transform: rotate(0deg) !important;
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* =========================================
   5. Promo Banners
   ========================================= */
.promos {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.promos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.promo-card {
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 200px;
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.promo-card--blue {
    background: linear-gradient(45deg, #2196F3, #64B5F6);
}

.promo-card--pink {
    background: linear-gradient(45deg, #E91E63, #F48FB1);
}

.promo-card--orange {
    background: linear-gradient(45deg, #FF9800, #FFB74D);
}

.promo-card__content {
    color: white;
    z-index: 2;
}

.promo-card__content h3 {
    font-size: 32px;
    color: white;
    margin-bottom: 5px;
}

.promo-card__content p {
    font-family: var(--font-en);
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-link {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    border-bottom: 2px solid white;
    padding-bottom: 3px;
}

.promo-card__img {
    position: absolute !important;
    right: -20px !important;
    bottom: -20px !important;
    width: 160px !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transform: rotate(-15deg) !important;
    transition: var(--transition) !important;
}

.promo-card:hover .promo-card__img {
    transform: rotate(0) scale(1.1) !important;
}

/* =========================================
   6. Products
   ========================================= */
.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-card__thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #fafafa;
}

.product-card__thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-card__thumb img {
    transform: scale(1.1);
}

.product-card__actions {
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card__actions button,
.product-card__actions a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--color-secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-card__actions button:hover,
.product-card__actions a:hover {
    background: var(--color-primary);
    color: white;
}

.overlay-out-of-stock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(44, 62, 80, 0.8);
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 3;
    white-space: nowrap;
}

.product-card__info {
    padding: 20px;
}

/* Category Name (Unified with Blog style) */
.category-name-small {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-en);
}

.product-card__rating {
    color: #FFC107;
    font-size: 12px;
    margin-bottom: 8px;
}

.product-card__title {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: var(--font-jp);
}

.product-card__desc {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-card__price {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    font-family: var(--font-en);
    font-weight: bold;
}

.product-card__price .old {
    color: var(--color-text-light);
    text-decoration: line-through;
    font-size: 14px;
}

.product-card__price .new {
    color: var(--color-primary);
    font-size: 18px;
}

/* =========================================
   7. Features (Why Choose Us) - Classes Renamed to avoid Conflict
   ========================================= */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.feature-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    color: white;
}

/* Renamed from .icon-blue, etc. to prevent conflict with blog metadata */
.feature-icon--blue {
    background: var(--color-primary);
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
}

.feature-icon--pink {
    background: var(--color-accent-pink);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}

.feature-icon--orange {
    background: var(--color-accent-orange);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

.feature-icon--green {
    background: var(--color-accent-green);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.feature-icon--purple {
    background: var(--color-accent-purple);
    box-shadow: 0 10px 20px rgba(156, 39, 176, 0.3);
}

.feature-icon--teal {
    background: #009688;
    box-shadow: 0 10px 20px rgba(0, 150, 136, 0.3);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* =========================================
   8. Blog Post Card (Unified Design for Top & Archive)
   ========================================= */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.blog-post-card {
    background: white;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.blog-post__thumb {
    height: 200px !important;
    overflow: hidden !important;
    position: relative;
    background-color: #fafafa;
    border-radius: 12px 12px 0 0 !important;
}

.blog-post__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s;
    display: block !important;
    border-radius: 12px 12px 0 0 !important;
}

.blog-post-card:hover .blog-post__thumb img {
    transform: scale(1.1);
}

.blog-post__body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post__meta-top {
    font-size: 11px;
    font-family: var(--font-en);
    margin-bottom: 10px;
}

.blog-post__meta-top .cat {
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 5px;
}

.blog-post__meta-top .date {
    color: var(--color-primary);
}

.blog-post__title {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post__title a {
    color: var(--color-secondary);
    transition: color 0.3s;
}

.blog-post__title a:hover {
    color: var(--color-primary);
}

.blog-post__excerpt {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-post__meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-light-gray);
    padding-top: 15px;
    font-size: 12px;
}

.meta-stats {
    display: flex;
    gap: 15px;
    font-weight: 600;
    color: var(--color-text-light);
    /* Clean text color, no background */
}

.meta-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 12px;
}

.read-more:hover {
    text-decoration: underline;
}

/* =========================================
   9. Billboard / FAQ
   ========================================= */
.billboard__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.billboard__title {
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

.billboard__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

.accordion__item {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.accordion__header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion__header i {
    transition: transform 0.3s;
}

.accordion__header.active {
    color: var(--color-primary);
}

.accordion__header.active i {
    transform: rotate(180deg);
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion__content p {
    padding-bottom: 15px;
    color: var(--color-text-light);
    font-size: 14px;
}

.billboard__image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.billboard__image-wrapper img {
    width: 100%;
}

.billboard__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.billboard__overlay h4 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* =========================================
   10. Brands & Footer
   ========================================= */
.brands__wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.5;
    filter: grayscale(100%);
}

.brands__wrapper i {
    transition: var(--transition);
}

.brands__wrapper:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.footer {
    background-color: var(--color-secondary);
    color: white;
    padding-top: 80px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__grid--3col {
    grid-template-columns: 1.5fr 1fr 1.5fr;
}

.footer__logo {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__desc {
    color: #95a5a6;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer__contact {
    color: #95a5a6;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer__contact i {
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.footer__contact a {
    color: #95a5a6;
}

.footer__contact a:hover {
    color: var(--color-primary);
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__socials a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.footer__socials a:hover {
    background: var(--color-primary);
}

.footer__title {
    color: white;
    font-size: 16px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: #95a5a6;
    font-size: 14px;
}

.footer__links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer__products li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer__products img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.footer__products div {
    display: flex;
    flex-direction: column;
}

.footer__products a {
    color: white;
    font-size: 14px;
    margin-bottom: 4px;
}

.footer__products span {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: bold;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #95a5a6;
    font-size: 12px;
}

/* =========================================
   11. Modal
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal__content {
    background-color: white;
    width: 90%;
    max-width: 900px;
    border-radius: var(--border-radius);
    position: relative;
    animation: modalSlideUp 0.4s ease-out;
    overflow: hidden;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    z-index: 10;
    transition: var(--transition);
}

.modal__close:hover {
    color: var(--color-accent-pink);
    transform: rotate(90deg);
}

.modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal__image {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.modal__image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.modal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: var(--transition);
    z-index: 2;
}

.modal__arrow:hover {
    background: var(--color-primary);
    color: white;
}

.modal__arrow--prev {
    left: 10px;
}

.modal__arrow--next {
    right: 10px;
}

.modal__info {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal__info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal__description {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal__actions {
    margin-bottom: 20px;
}

.modal__meta {
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
    font-size: 13px;
    color: var(--color-text-light);
}

.modal__meta p {
    margin-bottom: 5px;
}

/* =========================================
   12. Media Queries (Responsiveness)
   ========================================= */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero__title {
        font-size: 42px;
    }

    .promos__grid,
    .products__grid,
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .modal__image {
        height: 250px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
    }

    .header__nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        transition: 0.3s;
        padding: 20px;
        overflow-y: auto;
    }

    .header__nav.active {
        left: 0;
    }

    .header__menu {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
    }

    .header__menu li {
        border-bottom: 1px solid var(--color-light-gray);
    }

    .header__menu a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

    .header__toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: var(--color-secondary);
        cursor: pointer;
    }

    .hero {
        padding-top: 100px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__desc {
        margin: 0 auto 30px;
    }

    .hero__image {
        margin-top: 30px;
    }

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

    .promo-card {
        height: 160px;
    }

    /* Force single column on mobile for products/blog/features */
    .products__grid,
    .features__grid,
    .blog__grid {
        grid-template-columns: 1fr;
    }

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

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal__content {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal__info {
        padding: 20px;
    }
}

/* =========================================
   Elementor Editor Adjustments
   ========================================= */
.elementor-editor-active header,
.elementor-editor-active .site-header {
    z-index: 99 !important;
    position: relative !important;
}

.elementor-editor-active .header-sticky {
    position: relative !important;
}

/* Header Logo */
.site-logo {
    max-width: 100%;
    height: auto;
    display: block;
}