/* Drupal wrappers must not break the original layout. */
.region,
.block,
.layout-container {
  margin: 0;
  padding: 0;
}
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}
.visually-hidden.focusable:focus {
  position: static !important;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
}
.casdagli-tabs {
  float: left;
  width: 100%;
  background: #1d1d1d;
  padding: 0 20px;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  position: relative;
  z-index: 20;
}
.casdagli-tabs ul.tabs,
.casdagli-tabs .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}
.casdagli-tabs .tabs li {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.casdagli-tabs .tabs a,
.casdagli-tabs .tabs a:visited {
  display: inline-block;
  padding: 8px 16px;
  background: #333;
  color: #fff;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 4px 4px 0 0;
}
.casdagli-tabs .tabs a:hover,
.casdagli-tabs .tabs li.is-active a,
.casdagli-tabs .tabs a.is-active {
  background: #0074bd;
  color: #fff;
  text-decoration: none;
}
.casdagli-messages {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}
.menu-wrap .menu,
.mobile-menu-wrap .menu {
  list-style: none;
}
.menu-wrap .menu .menu {
  visibility: hidden;
  opacity: 0;
}
.menu-wrap li.menu-item--expanded:hover > .menu,
.menu-wrap li:hover > .menu {
  visibility: visible;
  opacity: 1;
  display: block !important;
}
.menu-wrap ul ul li a {
  line-height: 1.45;
  display: block;
}
.menu-item--active-trail > a {
  color: #84754e;
}

/* Logo sits in the middle: two links left, two right. */
.menu-wrap > ul.menu {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.menu-wrap > ul > li.header-logo {
  display: block !important;
  width: 170px !important;
  min-width: 170px !important;
  flex: 0 0 170px;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: top;
  overflow: visible;
}
.menu-wrap > ul > li.header-logo > a {
  display: block !important;
  width: 170px !important;
  height: 170px !important;
  line-height: 0 !important;
  overflow: hidden;
  text-indent: -999px;
  left: 0;
}
@media (max-width: 1400px) {
  .menu-wrap > ul > li.header-logo {
    width: 120px !important;
    min-width: 120px !important;
    flex-basis: 120px;
  }
  .menu-wrap > ul > li.header-logo > a {
    width: 120px !important;
    height: 120px !important;
  }
}
body.path-admin,
body.path-user {
  background: #fff;
  color: #222;
}
body.path-admin a,
body.path-user a {
  color: inherit;
}

.contextual,
.contextual a,
.contextual a:visited,
.contextual a:hover {
  color: #333;
  text-decoration: none;
  text-transform: none;
  font-family: sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}

.casdagli-contact-page {
  float: left;
  width: 100%;
}
.casdagli-contact-page .contacts-content {
  float: left;
  width: 100%;
  clear: both;
}

.casdagli-page,
.cigar-line-page,
.single-casdagli_cigars {
  float: left;
  width: 100%;
}
.casdagli-page .heritage-content,
.cigar-line-page .cigars-line-content,
.single-casdagli_cigars .single-product-content {
  float: left;
  width: 100%;
  clear: both;
}

.heritage-content ul {
  margin: 0 0 24px 1.4em;
  padding: 0;
}
.heritage-content li {
  margin: 0 0 8px;
}
.heritage-content .brand-values {
  color: #f4cf7e;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.2em;
  margin: 30px 0 0;
}
.heritage-content .family-motto {
  color: #f4cf7e;
  font-size: 1.4em;
  letter-spacing: 2px;
  text-align: center;
  margin: 10px 0 24px;
}
.heritage-two-col {
  column-gap: 40px;
}
.heritage-content h2 {
  color: #f4cf7e;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.3em;
  letter-spacing: 1px;
  margin: 0 0 16px;
}

.single-casdagli_cigars .cigar-cta {
  float: none;
  width: 100%;
  text-align: left;
  padding: 28px 0 0;
  clear: both;
}
.related-products-single h2 {
  color: #f4cf7e;
  font-weight: 100;
  padding: 10px 20px 0;
}

.casdagli-news-page .single-line-title {
  padding: 20px 24px 16px;
  box-sizing: border-box;
}
.casdagli-news-page .single-line-title h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}
.casdagli-news-page .page-content {
  float: left;
  width: 100%;
  clear: both;
  padding-top: 48px;
  padding-bottom: 50px;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .casdagli-news-page .single-line-title {
    padding: 16px 20px 10px;
  }
  .casdagli-news-page .single-line-title h1 {
    font-size: 1.3em;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .casdagli-news-page .page-content {
    padding-top: 28px;
    padding-bottom: 30px;
  }
}

.line-cigars-wrap-cigar img {
  max-width: 100px;
  height: auto;
}
.single-casdagli_cigars .line-cigars-wrap-cigar img {
  max-width: 40px;
  height: auto;
}
.line-cigars-wrap > a {
  display: block;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.single-casdagli_cigars .cigar-content-inner {
  overflow: hidden;
}
.single-casdagli_cigars .cigar-image {
  float: left;
  width: 100px;
  margin: 0 30px 0 0;
}
.single-casdagli_cigars .cigar-image img {
  width: 100px;
  height: auto;
  display: block;
}
.single-casdagli_cigars .cigar-description {
  float: left;
  width: calc(100% - 140px);
  margin: 0;
}
.single-casdagli_cigars .cigar-description .field,
.single-casdagli_cigars .cigar-description .field__item {
  margin: 0;
  padding: 0;
}
.single-casdagli_cigars .single-line-title h2 {
  text-transform: none;
}
.single-casdagli_cigars .single-line-title a,
.single-casdagli_cigars .single-line-title a:visited {
  color: inherit;
  text-decoration: none;
}
.single-casdagli_cigars .single-line-title a:hover {
  color: #f4cf7e;
}
.single-casdagli_cigars .cigar-description h2,
.single-casdagli_cigars .cigar-description .cigar-content-title {
  text-transform: uppercase;
  font-weight: 100;
  font-size: 1.2em;
  color: #f4cf7e;
  margin: 30px 0 10px;
}
.single-casdagli_cigars .cigar-description p {
  margin: 0 0 8px;
}

.contacts-two-col-1 .form-item,
.wpcf7 .form-item {
  margin: 0;
  padding: 0;
}
.contacts-two-col-1 .form-actions,
.wpcf7 .form-actions {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  background: #fff;
  color: #333;
  box-sizing: border-box;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #767676;
}

.wpcf7 .captcha,
.wpcf7 .form-item-captcha-response,
.contacts-two-col-1 .captcha {
  margin: 18px 0 12px;
  padding: 0;
  border: 0;
  color: #fff;
  min-width: 304px;
  overflow: visible;
}
.wpcf7 .captcha .fieldset-legend,
.wpcf7 .captcha legend,
.wpcf7 .captcha label,
.wpcf7 .captcha-description,
.wpcf7 .captcha__description,
.wpcf7 details.captcha > summary {
  color: #f4cf7e;
  font-weight: 400;
}
.wpcf7 .captcha__title {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}
.wpcf7 .g-recaptcha {
  margin: 4px 0 10px;
  min-height: 78px;
}
.wpcf7 .captcha input[type="text"] {
  max-width: 240px;
}

/* Drupal toolbar and contextual links stay usable on the storefront. */
#toolbar-administration,
#toolbar-administration a,
#toolbar-administration a:visited,
#toolbar-administration a:hover {
  text-transform: none;
  letter-spacing: 0;
  font-style: normal;
  text-decoration: none;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
#toolbar-administration {
  z-index: 1600;
}
.contextual-region .contextual {
  z-index: 50;
}
.footer-social > div,
.footer-disclaimer.contextual-region,
.homepage-featured-area.contextual-region,
.homepage-banner {
  position: relative;
}
.footer-social > div {
  float: left;
  width: 100%;
}

body.casdagli-user-account {
  background: #073d25;
}
body.casdagli-user-account .casdagli-tabs {
  display: none;
}
.casdagli-user-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #073d25;
  padding: 40px 16px 60px;
  box-sizing: border-box;
}
.casdagli-user-header {
  margin: 0 0 32px;
  text-align: center;
}
.casdagli-user-header img {
  height: 88px;
  width: auto;
}
.casdagli-user-card {
  width: 100%;
  max-width: 420px;
  background: #0a4a2e;
  border: 1px solid #84754e;
  padding: 36px 32px 28px;
  box-sizing: border-box;
}
.casdagli-user-card h1 {
  color: #f4cf7e;
  text-align: center;
  font-size: 1.6em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.casdagli-user-form .form-item {
  margin: 0 0 18px;
  padding: 0;
  float: none;
  width: 100%;
}
.casdagli-user-form label {
  display: block;
  color: #f4cf7e;
  margin: 0 0 8px;
  font-size: 0.95em;
}
.casdagli-user-form input[type="text"],
.casdagli-user-form input[type="password"],
.casdagli-user-form input[type="email"] {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 12px 14px;
  margin: 0;
  border: 0;
  font-size: 1em;
  font-family: inherit;
  color: #222;
  background: #fff;
}
.casdagli-user-form .form-actions {
  margin: 8px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.casdagli-user-form .form-submit,
.casdagli-user-form input[type="submit"] {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.casdagli-user-forgot {
  margin: 20px 0 0;
  text-align: center;
}
.casdagli-user-forgot a,
.casdagli-user-back a {
  color: #f4cf7e;
  text-decoration: none;
}
.casdagli-user-forgot a:hover,
.casdagli-user-back a:hover {
  text-decoration: underline;
}
.casdagli-user-back {
  margin: 28px 0 0;
  text-align: center;
}
.casdagli-user-card .messages,
.casdagli-user-card [data-drupal-messages] {
  margin: 0 0 18px;
}

body.page-user-profile .casdagli-tabs {
  display: none;
}
.casdagli-profile {
  float: left;
  width: 100%;
  padding: 50px 0 80px;
  min-height: 40vh;
  box-sizing: border-box;
}
.casdagli-profile-card {
  max-width: 560px;
  margin: 0 auto;
  background: #0a4a2e;
  border: 1px solid #84754e;
  padding: 36px 32px 32px;
  box-sizing: border-box;
}
.casdagli-profile-kicker {
  margin: 0 0 8px;
  color: #84754e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8em;
  text-align: center;
}
.casdagli-profile-card h1 {
  color: #f4cf7e;
  text-align: center;
  font-size: 1.8em;
  font-weight: 400;
  margin: 0 0 28px;
}
.casdagli-profile-meta {
  margin: 0 0 28px;
  color: #fff;
}
.casdagli-profile-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(132, 117, 78, 0.4);
}
.casdagli-profile-meta dt {
  color: #f4cf7e;
  font-weight: 400;
}
.casdagli-profile-meta dd {
  margin: 0;
  text-align: right;
}
.casdagli-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.casdagli-profile-actions .button {
  margin: 0;
}
