/**
 * Custom CSS Starline - Stile Landing Page applicato al tema
 * File: themes/classic/assets/css/custom.css
 */

/* === GENERAL === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #1a1a1a;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

p {
    line-height: 1.7;
    color: #666666;
}

/* === HEADER === */
#header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
}

.header-top {
    background: #ffffff;
}

#_desktop_logo img,
#_mobile_logo img {
    max-height: 50px;
}

/* === NAVIGATION === */
#_desktop_top_menu .top-menu a {
    color: #1a1a1a;
    font-weight: 400;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}

#_desktop_top_menu .top-menu a:hover {
    color: #333333;
}

/* === BUTTONS === */
.btn,
.btn-primary {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
    border-radius: 2px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn:hover,
.btn-primary:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #d4d4d4;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #1a1a1a;
}

/* === FORMS === */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #1a1a1a;
    outline: none;
    box-shadow: none;
}

label {
    color: #1a1a1a;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 6px;
}

/* === PRODUCT CARDS === */
.product-miniature {
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    transition: box-shadow 0.2s ease;
}

.product-miniature:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-color: #d4d4d4;
}

.product-title a {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 14px;
}

.product-price {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 16px;
}

.regular-price {
    color: #999999;
    text-decoration: line-through;
    font-size: 14px;
}

/* === CART === */
.cart-grid-body,
.cart-grid-right {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    padding: 20px;
}

/* === CHECKOUT === */
.checkout-step {
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    background: #ffffff;
}

.checkout-step.-current {
    border-color: #1a1a1a;
}

/* === FOOTER === */
#footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    color: #666666;
}

.footer-container {
    padding: 40px 0 20px;
}

#footer h3,
#footer h4 {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#footer a {
    color: #666666;
    font-size: 13px;
}

#footer a:hover {
    color: #1a1a1a;
}

/* === BREADCRUMB === */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
}

.breadcrumb-item {
    font-size: 13px;
    color: #666666;
}

.breadcrumb-item a {
    color: #1a1a1a;
}

/* === ALERTS === */
.alert {
    border-radius: 2px;
    border-width: 1px;
}

.alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.alert-danger,
.alert-error {
    background: #fff5f5;
    border-color: #ffdddd;
    color: #c33;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* === TABLES === */
table {
    border-color: #e5e5e5;
}

thead {
    background: #f5f5f5;
    color: #1a1a1a;
    font-weight: 500;
}

tbody tr:hover {
    background: #fafafa;
}

/* === PAGINATION === */
.pagination .page-link {
    color: #1a1a1a;
    border-color: #d4d4d4;
    border-radius: 2px;
    margin: 0 2px;
}

.pagination .page-link:hover {
    background: #f5f5f5;
    border-color: #1a1a1a;
}

.pagination .page-item.active .page-link {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

/* === MODAL === */
.modal-content {
    border-radius: 2px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    background: #f5f5f5;
}

.modal-footer {
    border-top: 1px solid #e5e5e5;
}

#_desktop_currency_selector{
    display: none !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f5f5f5;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }



        .logo {
            max-width: 180px;
            height: auto;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            padding: 60px 20px;
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            gap: 80px;
        }

        /* Sezione Descrittiva */
        .description-section {
            padding: 40px;
        }

        .description-section h1 {
            font-size: 42px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 20px;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        .description-section p {
            font-size: 18px;
            color: #666666;
            line-height: 1.7;
            margin-bottom: 30px;
            font-weight: 300;
        }

        .features-list {
            list-style: none;
            margin: 30px 0;
        }

        .features-list li {
            padding: 12px 0;
            color: #333333;
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .features-list li:before {
            content: "✓";
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background: #1a1a1a;
            color: white;
            border-radius: 50%;
            font-size: 12px;
            font-weight: bold;
            flex-shrink: 0;
        }

        .cosmetic-image {
            margin-top: 40px;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .cosmetic-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Login Container */
        .login-container {
            background: #ffffff;
            border-radius: 2px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
            padding: 50px 40px;
            position: relative;
        }

        /* Background Pattern (opzionale) */
        .main-content:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(230, 230, 230, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(230, 230, 230, 0.3) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        .description-section,
        .login-container {
            position: relative;
            z-index: 1;
        }

        .login-header {
            text-align: center;
            margin-bottom: 35px;
        }

        .login-header h2 {
            font-size: 24px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 8px;
            letter-spacing: -0.02em;
        }

        .login-header p {
            font-size: 14px;
            color: #666666;
            font-weight: 300;
        }

        /* Form */
        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 6px;
            color: #1a1a1a;
            font-weight: 400;
            font-size: 13px;
        }

        input[type="email"],
        input[type="password"] {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            font-size: 14px;
            font-family: inherit;
            transition: border-color 0.2s ease;
            background: #ffffff;
            color: #1a1a1a;
        }

        input[type="email"]:focus,
        input[type="password"]:focus {
            outline: none;
            border-color: #1a1a1a;
        }

        input[type="email"]::placeholder,
        input[type="password"]::placeholder {
            color: #999999;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
            font-size: 13px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            color: #666666;
        }

        .remember-me input[type="checkbox"] {
            margin-right: 6px;
        }

        .forgot-password {
            color: #1a1a1a;
            text-decoration: none;
            font-weight: 400;
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            background: #1a1a1a;
            color: #ffffff;
            border: none;
            border-radius: 2px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-submit:hover {
            background: #333333;
        }

        .btn-submit:active {
            background: #000000;
        }

        /* Error Message */
        .error-message {
            background: #fff5f5;
            border: 1px solid #ffdddd;
            color: #c33;
            padding: 12px;
            border-radius: 2px;
            margin-bottom: 20px;
            font-size: 13px;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        /* Footer */
        .footer {
            background: #ffffff;
            padding: 25px 0;
            border-top: 1px solid #e5e5e5;
            margin-top: auto;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: center;
        }

        .footer-info {
            color: #666666;
            font-size: 12px;
            line-height: 1.6;
        }

        .footer-info p {
            margin: 4px 0;
        }

        .footer-info strong {
            color: #1a1a1a;
            font-weight: 500;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
                gap: 40px;
                padding: 40px 20px;
            }

            .description-section {
                padding: 20px;
                text-align: center;
            }

            .description-section h1 {
                font-size: 32px;
            }

            .cosmetic-image {
                max-width: 500px;
                margin: 40px auto 0;
            }

            .login-container {
                max-width: 500px;
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .login-container {
                padding: 40px 30px;
            }

            .description-section h1 {
                font-size: 28px;
            }

            .description-section p {
                font-size: 16px;
            }
        }
        
        .block-category, #search_filters_brands, #subcategories{
            display:none !important;
        }
        
        :root{
  --brand-primary: #275988;
}

/* Link e testi */
a, a:hover, a:focus { color: #275988; }

/* Bottoni principali */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #275988 !important;
  border-color: #275988 !important;
}

/* Elementi tipici del classic */
.custom-radio input[type="radio"]:checked + span,
.custom-checkbox input[type="checkbox"]:checked + span,
.dropdown-item.active,
.pagination .current a,
.page-item.active .page-link{
  background-color: #275988 !important;
  border-color: #275988 !important;
}

/* Focus / outline (accessibilità) */
*:focus{
  outline-color: #275988 !important;
}

#header .header-nav .cart-preview.active, .bootstrap-touchspin .group-span-filestyle .btn-touchspin, .group-span-filestyle .bootstrap-touchspin .btn-touchspin, .group-span-filestyle .btn-default{
    background: #275988 !important;
}

#header .top-menu a[data-depth="0"]:hover, a:hover{
    color: #275988 !important;
}

#custom-text{
    padding: 0px !important;
    background: transparent !important;
}

/* ===== CATEGORIE HOME ===== */

/* Wrapper immagine con overflow hidden per lo zoom */
.category-image-wrap {
  overflow: hidden;
}

/* Zoom sull'immagine al hover */
.category-image-wrap img {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
}

.category-link:hover .category-image-wrap img {
  transform: scale(1.08);
}

/* Nome categoria: nero, grassetto, spazio sopra */
.category-name {
  display: block;
  margin-top: 14px;
  color: #000000;
  font-weight: 700;
}

/* Rimuove decorazione link sull'ancora che wrappa tutto */
.category-link {
  text-decoration: none;
}

.category-link:hover .category-name {
  text-decoration: none;
}

/* ===== FOOTER CUSTOM ===== */

.footer-custom {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Titoli colonne */
.footer-custom .footer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #333;
}

/* Lista link */
.footer-custom .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-custom .footer-list li {
  line-height: 1.6;
  margin-bottom: 8px;
  font-size: 13px;
  color: #555;
}

.footer-custom .footer-list a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-custom .footer-list a:hover {
  color: #000;
  text-decoration: underline;
}

/* Indirizzo e email con icona */
.footer-custom .footer-address,
.footer-custom .footer-email {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-custom .footer-address .material-icons,
.footer-custom .footer-email .material-icons {
  font-size: 16px;
  margin-top: 2px;
  color: #555;
  flex-shrink: 0;
}

/* Separatore tra colonne su desktop */
.footer-custom .footer-col {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Responsive: spazio tra colonne su mobile */
@media (max-width: 767px) {
  .footer-custom .footer-col {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .footer-custom .footer-col:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}

.product-miniature{
    border:none !important;
}
.product-miniature:hover{
    box-shadow: none !important;
}

.pagination a:not(.previous):not(.next){
    background-color: #fff !important;
    color: #275988 !important;
}

.total-products{
    visibility:hidden !important;
}

#mycards-link{
display:none !important;
}

@media screen and (min-width:1100px){
.container{
            width: 90% !important;
}
}

  .categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin: 0 -10px;
  }
  .category-item {
    width: 20%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
  }
  .category-item .img-responsive {
    width: 100%;
    height: auto;
  }
  @media (max-width: 767px) {
    .category-item {
      width: 100%;
    }
  }