/* This is the CSS document */

/* CSS reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* ----------TOP HEADER---------- */

#top-header {
    background-color: black;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 100%;
}

#shippingText {
    background-color: #000;
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#shippingBtn {
    all: unset;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#fade-container {
    /*Den del med skriften der fader ind og ud*/
    position: relative;
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

/*Alt det der omhandler dropdown menuen for shipping*/

#shipping-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    padding: 15px;
    z-index: 1;
    width: 100%;
}

#shipping-content-text {
    color: white;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    font-size: 13px;
}

.underlined-text {
    color: white;
    text-decoration: underline;
}

#signUp-btn {
    all: unset;
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    background-color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 20px;
    margin-top: 10px;
}

#shipping-content.show {
    display: block;
}

#closeBtn {
    all: unset;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 40px;
    z-index: 1001;
}

/* ----------BOT HEADER MOBILE---------- */

.bot-header-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.bot-header-icons>img {
    width: 32px;
}

#patagonia-logo-mobile {
    display: flex;
    width: 136px;
    height: 56px;
    min-width: 120px;
    max-width: 136px;
}

#patagonia-logo-mobile>img {
    width: 136px;
    min-width: 120px;
}

#bot-header-mobile {
    display: flex;
    height: 56px;
    padding: 0px 16px;
    justify-content: space-between;
}

/* ----------BOT HEADER DESKTOP---------- */

#bot-header-inner {
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: 0 auto;
}

#bot-header-desktop {
    display: none;
    padding: 20px 0;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    flex: 1;
}

#bot-menu-desktop {
    display: flex;
    flex-direction: row;
    gap: 24px;

    /* Style text */
    font-size: 16px;
    font-weight: 400;
}

#patagonia-logo-desktop {
    display: flex;
    width: 136px;
    min-width: 120px;
    max-width: 136px;

    position: absolute;
    left: calc(50% - 68px);

}

#patagonia-logo-desktop>img {
    width: 136px;
    min-width: 120px;
}

#bot-header-icons-desktop {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

#bot-header-icons-desktop>img {
    width: 32px;
}


/* ----------PRODUCT SECTION - IMAGES & NAV---------- */
#product-section {
    display: flex;
    flex-direction: column;
    padding-bottom: 120px;
}

#product-visual-and-nav {
    display: flex;
    flex-direction: column;
}

#product-information {
    display: flex;
    flex-direction: column;
}


#product-photos>figure {
    position: relative;
    display: none;
    margin: 0;
}

#product-photos>figure:first-child {
    width: 100%;
    display: block;
}

.product-photo {
    width: 100%;
}

.product-photo-floating {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.product-photo-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 16px;
}

.product-photo-descriptions {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 16px;
}

.product-photo-description {
    display: flex;
    justify-content: center;
    background-color: #FFF;
    border-radius: 12px;
    padding: 4px 12px;
}

.product-photo-description>p {
    font-size: 12px;
    font-weight: 700;
}

/* ----------PATH BACK TO 'BUTTON-DOWN SHIRTS'---------- */

#arrow-backwards-path {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 16px;
    padding-right: 16px;
}

#arrow-backwards-path>p {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


/* ----------HEADLINE, REVIEW & PRICE---------- */

#headline-review-price {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 16px;
    padding-right: 16px;
}

#product-headline {
    font-size: 20px;
}

#star-review {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

#stars {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

#stars>img {
    width: 14px;
}

#underline-review {
    text-decoration: underline;
    text-decoration-thickness: 2.5px;

    /* style for text */
    font-size: 12px;
    font-weight: 700;
}

#pricetag {
    /* Style for text */
    font-size: 18px;
    font-weight: 900;
}



/*----------COLOR PICKER----------*/

#color-picker {
    display: flex;
    flex-direction: column;
    padding: 15px 16px 0 16px;
    gap: 10px;
}

#color-picker-text {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

#color-picker-bold-text {
    font-size: 14px;
    font-weight: 700;
}

#color-picker-regular-text {
    font-size: 14px;
    font-weight: 400;
}

#color-dots {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.dot {
    position: relative;
    height: 32px;
    width: 32px;
    border-radius: 50%;
}

.dot.active::before {
    /* Styling */
    border: 2px solid #000;
    border-radius: 50%;
    width: 110%;
    height: 110%;

    /* Says that it should display as a normal element */
    content: "";
    display: block;

    /* Placement */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#dot-cascade-pine-needle-green {
    background-color: #212121;
}

#dot-shelter-brown {
    background-color: #7B5427;
}

#dot-tidepool-blue {
    background-color: #8B9096;
}

#dot-oxide-red {
    background-color: #650517;
}

#dot-ww-pine-needle-green {
    background-color: #434237;
}


/* ----------SIZING PICKER---------- */

#sizing-picker {
    padding: 15px 16px 15px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#sizing-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#size-text {
    font-size: 14px;
    font-weight: 700;
}

#size-guide-text {
    font-size: 14px;
    text-decoration-line: underline;
}

#sizing-buttons-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.size-button {
    display: flex;
    width: 102px;
    height: 56px;
    justify-content: center;
    align-items: center;
    /* Makes the border appear on the inside */
    box-sizing: border-box;

    border-radius: 8px;
    background: #F5F5F5;
}

.sizing-button-text {
    font-size: 16px;
    font-weight: 700;
}

.size-button.active {
    border: 2px solid #000;
}



/* ----------FAVORITE BUTTON & ADD-TO-BAG BUTTON---------- */
#favorite-bag-buttons {
    display: flex;
    flex-direction: row;
    padding: 0 16px 0 16px;
    gap: 10px;
}

#heart-button {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #000;
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;
}

#add-to-bag-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 48px;
    background: #FA4616;

    /* Allows button to grow and shrink */
    flex: 1;

    /* Style for text */
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    border: none;
}


/* ----------FOOTER---------- */

footer {
    background-color: #000;
}

#footer-inner {
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: 0 auto;
}

#footer-elements {
    font-family: 'Nunito', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h3-footer {
    font-size: 20px;
    padding: 30px 0;
}

/* ----------FOOTER - GET HELP SECTION---------- */
#get-help-container {
    width: 100%;
    padding: 60px 0;
}

#get-help-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.get-help-button {
    background-color: #000;
    border: 3px solid #fff;
    border-radius: 48px;
    padding: 8px 25px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

/* ----------FOOTER - INFORMATION SECTION---------- */
#info-container {
    width: 100%;
    padding: 60px 0;
}

#info-sections {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

#info-box1 li,
#info-box2 li {
    padding-bottom: 20px;
    padding-right: 20px;
}

#info-box1 ul li a,
#info-box2 ul li a {
    color: #fff;
    text-decoration: none;
    list-style: none;
    font-weight: 300;
}

#info-box1 ul,
#info-box2 ul {
    list-style-type: none;
}

#footer-copy {
    padding-bottom: 30px;
}

/* pop up styling */

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 15px;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

.popup-content h2 {
    font-weight: 800;
    font-size: 40px;
    margin: 10px;
}

.close {
    color: #000;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#popup-product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#popup-product-image {
    max-width: 300px;
    padding: 20px;
    height: auto;
}

#popup-product-text {
    text-align: center;
}

#popup-product-name {
    font-size: 22px;
    font-weight: bold;
}

#popup-product-color {
    font-size: 16px;
}

#popup-product-price {
    font-weight: bold;
    padding-bottom: 20px;
}

#checkout {
    background-color: #000;
    color: #FFF;
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    font-size: 18px;
    padding: 15px 20px;
    border-radius: 50px;
}

/* cart count styling  */

#cart-container {
    position: relative;
    display: inline-block;
    margin-right: 16px;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #FA4616;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

.shoppingbag-button {
    border: none;
    background-color: transparent;
}

/* Changed opacity of icon when hovering */
.shoppingbag-button:hover {
    opacity: 0.5;
}

/* Shopping Bag */
.shopping-bag-content {
    display: none;
    position: absolute;
    top: 50px;
    right: -10px;
    width: 200px;
    height: 200px;
    background-color: #000;
    z-index: 100;
    border-radius: 10px;
    color: white;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.shopping-bag-content.show {
    display: flex;
}