/*
 Theme Name:     NIN
 Theme URI:      https://ninofragrance.com/
 Description:    Nino Fragrance Child Theme 
 Author:         Frazil
 Author URI:     https://kreativkombinat.de/
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Fonts */

@font-face {
    font-display: swap;
	font-family: 'TildaSansLight';
	src: url('fonts/TildaSans-Light.eot');
	src:
	     url('fonts/TildaSans-Light.eot?#iefix') format('embedded-opentype'),
	     url('fonts/TildaSans-Light.woff2') format('woff2'),
	     url('fonts/TildaSans-Light.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-display: swap;
	font-family: 'TildaSansMedium';
	src: url('fonts/TildaSans-Medium.eot');
	src:
	     url('fonts/TildaSans-Medium.eot?#iefix') format('embedded-opentype'),
	     url('fonts/TildaSans-Medium.woff2') format('woff2'),
	     url('fonts/TildaSans-Medium.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-display: swap;
	font-family: 'TildaSansRegular';
	src: url('fonts/TildaSans-Regular.eot');
	src:
	     url('fonts/TildaSans-Regular.eot?#iefix') format('embedded-opentype'),
	     url('fonts/TildaSans-Regular.woff2') format('woff2'),
	     url('fonts/TildaSans-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-display: swap;
	font-family: 'TildaSansSemibold';
	src: url('fonts/TildaSans-Semibold.eot');
	src:
	     url('fonts/TildaSans-Semibold.eot?#iefix') format('embedded-opentype'),
	     url('fonts/TildaSans-Semibold.woff2') format('woff2'),
	     url('fonts/TildaSans-Semibold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-display: swap;
	font-family: 'TildaSansBold';
	src: url('fonts/TildaSans-Bold.eot');
	src:
	     url('fonts/TildaSans-Bold.eot?#iefix') format('embedded-opentype'),
	     url('fonts/TildaSans-Bold.woff2') format('woff2'),
	     url('fonts/TildaSans-Bold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-display: swap;
	font-family: 'TildaSansExtraBold';
	src: url('fonts/TildaSans-ExtraBold.eot');
	src:
	     url('fonts/TildaSans-ExtraBold.eot?#iefix') format('embedded-opentype'),
	     url('fonts/TildaSans-ExtraBold.woff2') format('woff2'),
	     url('fonts/TildaSans-ExtraBold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-display: swap;
	font-family: 'TildaSansBlack';
	src: url('fonts/TildaSans-Black.eot');
	src:
	     url('fonts/TildaSans-Black.eot?#iefix') format('embedded-opentype'),
	     url('fonts/TildaSans-Black.woff2') format('woff2'),
	     url('fonts/TildaSans-Black.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

/* libre-baskerville-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/libre-baskerville-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/libre-baskerville-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/libre-baskerville-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
    font-family: 'Libre Baskerville';
    background-color: #620e0b;
    font-size: 16px !important;
    color: #000 !important;
    line-height: normal !important;
    letter-spacing: .5px;
}

/* Farben */
.app-primary {
    color: #620e0b;
}

#main-content a {
    color: #620e0b;
    cursor: pointer !important;
}

#main-content {
    margin-top: 0 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    line-height: normal !important;
    font-weight: 700;
    color: #000;
}
h1, h2 {
    font-size: 25px;
    font-weight: 500 !important;
}

@media (min-width: 1080px) {
    h1, h2 {
        font-size: 64px !important;
    }
}

/* Sections */
.et_pb_section {
    background-color: #fff;
}
.app-section-full {
    width: 100% !important;
}
.app-row-full {
    width: 100%;
}
.app-row-full .et_pb_column {
    margin: 0 !important;
    width: 100% !important;
}
@media (min-width: 1080px) {
    .app-row-full {
        width: 100% !important;
        max-width: 100% !important;
    }
    .app-row-full .et_pb_column {
        margin: 0 !important;
        width: 50% !important;
    }
}
.app-column {
    padding: 2rem !important;
}
@media (min-width: 800px) {
    .app-column {
        padding: 4rem !important;
    }
}
@media (min-width: 1200px) {
    .app-column {
        padding: 2% 5% !important;
    }
    .app-column .et_pb_divider {
        margin-bottom: 1rem !important;
    }
}
.et_pb_row {
    width: 900%;
    max-width: 90%;
}
@media (min-width: 1080px) {
    .et_pb_row {
        width: 60%;
        max-width: 60%;
    }
}
@media (min-width: 1200px) {
    .app-row {
        max-width: 90% !important;
        width: 90% !important;
        border: 1px solid #efefef !important;
        padding: 1rem !important;
    }
    .app-row-80 {
        max-width: 80% !important;
        width: 80% !important;
    }
}

/* Buttons */
.et_pb_button {
    border-radius: 25px !important;
    font-size: 17px !important;
}
.et_pb_button::after {
    font-size: 19px !important;
    margin-top: 7px !important;
}

/* Header */
.logged-in #global-header-section {
    margin-top: 2rem !important;
}
@media (max-width: 1080px) {
    .et_pb_row_0_tb_header .et_pb_column_1_3 {
        width: 70% !important;
        margin-bottom: 0 !important;
    }
    .et_pb_row_0_tb_header .et_pb_column_2_3 {
        width: 30% !important;
        margin-bottom: 0 !important;
    }
}
.et_pb_row_0_tb_header .et_pb_column {
    margin-bottom: 0 !important;
}
.et_pb_fullwidth_section .et_pb_title_container,
.et_pb_fullwidth_section .et_pb_title_featured_container {
    width: 80%;
    max-width: 80%;
    margin: auto;
    display: block;
    padding: 0 !important;
}
@media (min-width: 800px) {
    .et_pb_fullwidth_section .et_pb_title_container,
    .et_pb_fullwidth_section .et_pb_title_featured_container {
        width: 90%;
        max-width: 90%;
        margin: auto;
        display: block;
        padding: 0 !important;
    }
}
@media (min-width: 1080px) {
    .et_pb_fullwidth_section .et_pb_title_container,
    .et_pb_fullwidth_section .et_pb_title_featured_container {
        width: 80%;
        max-width: 80%;
        margin: auto;
        display: block;
        padding: 0 !important;
    }
}

/* Content */

.et_pb_fullwidth_section .et_pb_title_featured_container {
    width: 100%;
    max-width: 100%;
    margin: auto;
    display: block;
}

/* Heading */

h1.entry-title {
    color: #fff !important;
    font-weight: 700;
    font-size: 2rem;
}
@media (min-width: 1080px) {
    h1.entry-title {
        font-size: 40px;
    }
}

.et_pb_text_inner {
    line-height: 1.8rem !important;
}


/* Forms Extras */
.input {
    border-bottom: 2px solid #777c66;
}

/* Referenzen */
.dtq-flipbox {
    /*border: 0 !important;*/
    border: 1px solid red;
    
}

.dtq-flipbox-content {
    display: block !important;
}

.dtq-flipbox-back-card {
    padding: 0 !important;
}
.dtq-flipbox-desc-back {
    font-size: 14px !important;
    margin-bottom: 2rem !important;
}

/* Trenner */
.app-trenner {
    width: 100%;
}
.app-trenner__container {
    /*max-width: 1200px;*/
    margin: 0 auto 2rem 0 !important;
    padding: 0 15px;
}
.app-trenner__col {
    width: 100%;
}
.app-trenner__linewrapper {
    display: flex;
    align-items: center;
    opacity: 0.7;
    width: 100%;
}
.app-trenner__opacity_left {
    flex: 1;
    height: 2px;
    background: linear-gradient(to left, #3b0404, rgba(59, 4, 4, 0));
}
.app-trenner__line {
    width: 120px;
    height: 2px;
    background: #3b0404;
}
.app-trenner__opacity_right {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #3b0404, rgba(59, 4, 4, 0));
}

/* Pop-Up */
#et-boc .area-outer-wrap[data-da-type="popup"] {
    width: 100% !important;
    padding: 0 !important;
    height: 100vh !important;
}

/* Custom Close Button */
.app-close {
    font-size: small !important;
    color: #777c66 !important;
    text-transform: uppercase !important;
}
#et-boc .area-outer-wrap .da-close {
    font-size: 50px !important;
    font-family: 'Montserrat' !important;
    font-weight: 100 !important;
    color: #000 !important;
    padding: 1rem !important;
}

/* Products */
.flipbox {
  position: relative;
  width: 100%;          /* nimmt die gesamte Breite */
  height: 100%;         /* passt sich der Containerhöhe an */
  aspect-ratio: 1 / 1;  /* bleibt quadratisch */
  overflow: hidden;
  cursor: pointer;
}

.flipbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.flipbox-front,
.flipbox-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease;
}

.flipbox-front img,
.flipbox-back img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* sorgt für korrektes Zuschneiden */
}

.flipbox-back {
  opacity: 0;
}

/* Hover oder per Klick */
.flipbox.hover .flipbox-back {
  opacity: 1;
}

.flipbox.hover .flipbox-front {
  opacity: 0;
}

/* Desktop Hover zusätzlich */
.flipbox:hover .flipbox-back {
  opacity: 1;
}

.flipbox:hover .flipbox-front {
  opacity: 0;
}

.app-product-titel {
    padding-top: 1rem;
    font-family: 'Libre Baskerville';
}

.app-product-code {
    font-size: 85% !important;
    font-family: 'Libre Baskerville';
    line-height: 1.5rem !important;
}

.app-product-subtitel {
    font-family: 'Libre Baskerville';
    font-size: 70% !important;
    line-height: 1.4rem !important;
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.app-product-description p {
    font-size: 80% !important;
}

.app-product-description strong {
    font-family: 'Libre Baskerville';
    font-weight: 700;
}

/* Container: Flexbox */
.app-row-80 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2rem; /* Abstand zwischen Spalten */
  box-sizing: border-box;
}

/* Standard: mobile Ansicht <480px → 1 Spalte */
.app-row-80 .et_pb_column {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* Ab 480px: 3 Spalten */
@media (min-width: 480px) {
  .app-row-80 .et_pb_column {
    flex: 0 0 calc(33.333% - 1.333rem); /* 2rem Gap → 1.333rem abziehen */
    max-width: calc(33.333% - 1.333rem);
  }
}