/*
Theme Name: Plastics Espelt
Theme URI: https://plasticsespelt.com
Author: Kiwop
Author URI: https://kiwop.com
Description: Tema personalizado para Plastics Espelt - Fabricantes de copas y vasos de plástico premium con apariencia de cristal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plastics-espelt
Tags: custom-menu, custom-logo, featured-images, full-width-template, one-column, two-columns, translation-ready
*/

/* ==========================================================================
   CSS Variables - Design Tokens
   ========================================================================== */

:root {
    --font-size: 16px;
    --background: #ffffff;
    --foreground: #1a1a2e;
    --card: #ffffff;
    --card-foreground: #1a1a2e;
    --popover: #ffffff;
    --popover-foreground: #1a1a2e;

    /* Colores corporativos Plastics Espelt */
    --primary: #E91E63;
    --primary-foreground: #ffffff;
    --primary-hover: #C2185B;

    --secondary: #f4f4f5;
    --secondary-foreground: #030213;
    --muted: #ececf0;
    --muted-foreground: #717182;
    --accent: #e9ebef;
    --accent-foreground: #030213;
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --input: transparent;
    --input-background: #f3f3f5;
    --ring: #9ca3af;
    --radius: 0.625rem;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    font-size: var(--font-size);
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

/* Alignment */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1em;
}

.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: none;
}

/* Screen Reader Text */
.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;
    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: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    padding: 0.5em 0;
}

/* ==========================================================================
   Custom Logo Responsive Styles
   ========================================================================== */

.custom-logo-link {
    display: flex;
    align-items: center;
    height: 80px; /* h-20 */
    flex-shrink: 0;
}

.custom-logo {
    display: block;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .custom-logo {
        max-height: 40px;
    }
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
}

/* ==========================================================================
   The main Tailwind CSS will be imported via assets/dist/theme.css
   ========================================================================== */
footer a{
    color: rgb(156 163 175);
    font-size: .875rem;
    line-height: 1.25rem;
}
footer a:hover{
    color: var(--primary);
}
footer li::marker{
    display: none;
}
.scale-icons svg{
        transform: scale(1.7);
}